@membranehq/sdk 0.9.2 → 0.9.4
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 +27 -6
- package/dist/dts/agent/session.d.ts +2 -2
- package/dist/dts/apps/types.d.ts +2 -373
- package/dist/dts/auth/index.d.ts +2 -2
- package/dist/dts/errors/index.d.ts +1 -0
- package/dist/dts/orgs/types.d.ts +13 -0
- package/dist/dts/sse/workspace-elements.d.ts +9 -4
- package/dist/dts/webhooks/types.d.ts +3 -2
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +24 -7
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +20 -0
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +28 -0
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +17 -1
- package/dist/dts/workspace-elements/index.d.ts +0 -1
- package/dist/dts/{workspace-elements → workspaces}/compare.d.ts +4 -2
- package/dist/dts/workspaces/compare.test.d.ts +1 -0
- package/dist/dts/workspaces/index.d.ts +1 -0
- package/dist/dts/workspaces/types.d.ts +432 -63
- package/dist/index.browser.d.mts +1378 -1272
- package/dist/index.browser.d.ts +1378 -1272
- package/dist/index.browser.js +1190 -1109
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +225 -155
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +1378 -1272
- package/dist/index.node.d.ts +1378 -1272
- package/dist/index.node.js +1195 -1114
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +225 -155
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
- /package/dist/dts/{workspace-elements/compare.test.d.ts → backward-compat.test.d.ts} +0 -0
package/dist/index.node.d.mts
CHANGED
|
@@ -106,6 +106,7 @@ declare class CustomCodeError extends MembraneError {
|
|
|
106
106
|
declare class InsufficientCreditsError extends MembraneError {
|
|
107
107
|
constructor(arg: ErrorConstructorArg);
|
|
108
108
|
}
|
|
109
|
+
declare const IntegrationAppError: typeof MembraneError;
|
|
109
110
|
|
|
110
111
|
interface ConfigurationStateResult {
|
|
111
112
|
state: ConfigurationState;
|
|
@@ -3652,6 +3653,22 @@ declare enum DataLinkDirection {
|
|
|
3652
3653
|
EXPORT = "export",
|
|
3653
3654
|
BOTH = "both"
|
|
3654
3655
|
}
|
|
3656
|
+
declare const DataLinkTableEditableProperties: z.ZodObject<{
|
|
3657
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
3658
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3659
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3660
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3661
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3662
|
+
}, z.core.$strip>;
|
|
3663
|
+
type DataLinkTableEditableProperties = z.infer<typeof DataLinkTableEditableProperties>;
|
|
3664
|
+
declare const DataLinkTableExportProperties: z.ZodObject<{
|
|
3665
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
3666
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3667
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3668
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3669
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3670
|
+
}, z.core.$strip>;
|
|
3671
|
+
type DataLinkTableExportProperties = z.infer<typeof DataLinkTableExportProperties>;
|
|
3655
3672
|
declare const BaseDataLinkTable: z.ZodObject<{
|
|
3656
3673
|
id: z.ZodString;
|
|
3657
3674
|
uuid: z.ZodOptional<z.ZodString>;
|
|
@@ -3664,8 +3681,8 @@ declare const BaseDataLinkTable: z.ZodObject<{
|
|
|
3664
3681
|
revision: z.ZodOptional<z.ZodString>;
|
|
3665
3682
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3666
3683
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3667
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
3668
3684
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
3685
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
3669
3686
|
}, z.core.$strip>;
|
|
3670
3687
|
type BaseDataLinkTable = z.infer<typeof BaseDataLinkTable>;
|
|
3671
3688
|
|
|
@@ -3717,6 +3734,7 @@ declare const BaseAppEventType: z.ZodObject<{
|
|
|
3717
3734
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
3718
3735
|
revision: z.ZodString;
|
|
3719
3736
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
3737
|
+
webhookKey: z.ZodString;
|
|
3720
3738
|
subscribeRequest: z.ZodOptional<z.ZodObject<{
|
|
3721
3739
|
method: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodEnum<typeof HttpRequestMethod>>>;
|
|
3722
3740
|
uri: z.ZodAny;
|
|
@@ -3731,6 +3749,33 @@ declare const BaseAppEventType: z.ZodObject<{
|
|
|
3731
3749
|
userIdFormula: z.ZodOptional<z.ZodAny>;
|
|
3732
3750
|
}, z.core.$strip>;
|
|
3733
3751
|
type BaseAppEventType = z.infer<typeof BaseAppEventType>;
|
|
3752
|
+
declare const AppEventTypeEditableProperties: z.ZodObject<{
|
|
3753
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
3754
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3755
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3756
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3757
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3758
|
+
schema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
3759
|
+
example: z.ZodOptional<z.ZodAny>;
|
|
3760
|
+
tenantIdFormula: z.ZodOptional<z.ZodAny>;
|
|
3761
|
+
userIdFormula: z.ZodOptional<z.ZodAny>;
|
|
3762
|
+
subscribeRequest: z.ZodOptional<z.ZodObject<{
|
|
3763
|
+
method: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodEnum<typeof HttpRequestMethod>>>;
|
|
3764
|
+
uri: z.ZodAny;
|
|
3765
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3766
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3767
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
3768
|
+
}, z.core.$strip>>;
|
|
3769
|
+
}, z.core.$strip>;
|
|
3770
|
+
type AppEventTypeEditableProperties = z.infer<typeof AppEventTypeEditableProperties>;
|
|
3771
|
+
declare const AppEventTypeExportProperties: z.ZodObject<{
|
|
3772
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
3773
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3774
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3775
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3776
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3777
|
+
}, z.core.$strip>;
|
|
3778
|
+
type AppEventTypeExportProperties = z.infer<typeof AppEventTypeExportProperties>;
|
|
3734
3779
|
|
|
3735
3780
|
declare const BaseAppEventSubscription: z.ZodObject<{
|
|
3736
3781
|
id: z.ZodString;
|
|
@@ -3781,6 +3826,26 @@ declare const BaseAppDataSchema: z.ZodObject<{
|
|
|
3781
3826
|
revision: z.ZodOptional<z.ZodString>;
|
|
3782
3827
|
}, z.core.$strip>;
|
|
3783
3828
|
type BaseAppDataSchema = z.infer<typeof BaseAppDataSchema>;
|
|
3829
|
+
declare const AppDataSchemaEditableProperties: z.ZodObject<{
|
|
3830
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
3831
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3832
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3833
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3834
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3835
|
+
schema: z.ZodAny;
|
|
3836
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3837
|
+
}, z.core.$strip>;
|
|
3838
|
+
type AppDataSchemaEditableProperties = z.infer<typeof AppDataSchemaEditableProperties>;
|
|
3839
|
+
declare const AppDataSchemaExportProperties: z.ZodObject<{
|
|
3840
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
3841
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3842
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3843
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3844
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3845
|
+
schema: z.ZodAny;
|
|
3846
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3847
|
+
}, z.core.$strip>;
|
|
3848
|
+
type AppDataSchemaExportProperties = z.infer<typeof AppDataSchemaExportProperties>;
|
|
3784
3849
|
|
|
3785
3850
|
declare const BaseAppDataSchemaInstance: z.ZodObject<{
|
|
3786
3851
|
id: z.ZodString;
|
|
@@ -7089,8 +7154,8 @@ declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
7089
7154
|
revision: z.ZodOptional<z.ZodString>;
|
|
7090
7155
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
7091
7156
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
7092
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
7093
7157
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
7158
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
7094
7159
|
}, z.core.$strip>>;
|
|
7095
7160
|
connection: z.ZodOptional<z.ZodObject<{
|
|
7096
7161
|
id: z.ZodString;
|
|
@@ -7250,6 +7315,7 @@ declare const AppEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
7250
7315
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
7251
7316
|
revision: z.ZodString;
|
|
7252
7317
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
7318
|
+
webhookKey: z.ZodString;
|
|
7253
7319
|
subscribeRequest: z.ZodOptional<z.ZodObject<{
|
|
7254
7320
|
method: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodEnum<typeof HttpRequestMethod>>>;
|
|
7255
7321
|
uri: z.ZodAny;
|
|
@@ -8286,10 +8352,29 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
8286
8352
|
type ActionRunLogRecordApiResponse = z.infer<typeof ActionRunLogRecordApiResponse>;
|
|
8287
8353
|
type ActionRunLogRecord = ActionRunLogRecordApiResponse;
|
|
8288
8354
|
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
8292
|
-
|
|
8355
|
+
declare const FindDataLinkTablesQuery: z.ZodObject<{
|
|
8356
|
+
search: z.ZodOptional<z.ZodString>;
|
|
8357
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8358
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
8359
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
8360
|
+
}, z.core.$strip>;
|
|
8361
|
+
type FindDataLinkTablesQuery = z.infer<typeof FindDataLinkTablesQuery>;
|
|
8362
|
+
declare const CreateDataLinkTableRequest: z.ZodObject<{
|
|
8363
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
8364
|
+
key: z.ZodOptional<z.ZodString>;
|
|
8365
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8366
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8367
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8368
|
+
}, z.core.$strip>;
|
|
8369
|
+
type CreateDataLinkTableRequest = z.infer<typeof CreateDataLinkTableRequest>;
|
|
8370
|
+
declare const UpdateDataLinkTableRequest: z.ZodObject<{
|
|
8371
|
+
uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8372
|
+
key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8373
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8374
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8375
|
+
meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
8376
|
+
}, z.core.$strip>;
|
|
8377
|
+
type UpdateDataLinkTableRequest = z.infer<typeof UpdateDataLinkTableRequest>;
|
|
8293
8378
|
declare const DataLinkTableApiResponse: z.ZodObject<{
|
|
8294
8379
|
id: z.ZodString;
|
|
8295
8380
|
uuid: z.ZodOptional<z.ZodString>;
|
|
@@ -8302,8 +8387,8 @@ declare const DataLinkTableApiResponse: z.ZodObject<{
|
|
|
8302
8387
|
revision: z.ZodOptional<z.ZodString>;
|
|
8303
8388
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
8304
8389
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
8305
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
8306
8390
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
8391
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
8307
8392
|
}, z.core.$strip>;
|
|
8308
8393
|
type DataLinkTableApiResponse = z.infer<typeof DataLinkTableApiResponse>;
|
|
8309
8394
|
type DataLinkTable = DataLinkTableApiResponse;
|
|
@@ -8346,6 +8431,7 @@ declare const AppEventTypeApiResponse: z.ZodObject<{
|
|
|
8346
8431
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
8347
8432
|
revision: z.ZodString;
|
|
8348
8433
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
8434
|
+
webhookKey: z.ZodString;
|
|
8349
8435
|
subscribeRequest: z.ZodOptional<z.ZodObject<{
|
|
8350
8436
|
method: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodEnum<typeof HttpRequestMethod>>>;
|
|
8351
8437
|
uri: z.ZodAny;
|
|
@@ -8703,6 +8789,7 @@ declare const AppEventLogRecordApiResponse: z.ZodObject<{
|
|
|
8703
8789
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
8704
8790
|
revision: z.ZodString;
|
|
8705
8791
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
8792
|
+
webhookKey: z.ZodString;
|
|
8706
8793
|
subscribeRequest: z.ZodOptional<z.ZodObject<{
|
|
8707
8794
|
method: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodEnum<typeof HttpRequestMethod>>>;
|
|
8708
8795
|
uri: z.ZodAny;
|
|
@@ -8771,22 +8858,6 @@ declare function getParentNodeKeys(flow: Flow | FlowInstance, nodeKey: string):
|
|
|
8771
8858
|
declare function getUpstreamNodeKeys(flow: Flow | FlowInstance, nodeKey: string): string[];
|
|
8772
8859
|
declare function hasCycles(nodes?: Record<string, FlowNode>): boolean;
|
|
8773
8860
|
|
|
8774
|
-
declare enum WorkspaceElementChangeType {
|
|
8775
|
-
CREATE = "create",
|
|
8776
|
-
UPDATE = "update",
|
|
8777
|
-
DELETE = "delete"
|
|
8778
|
-
}
|
|
8779
|
-
interface WorkspaceElementChange {
|
|
8780
|
-
type: WorkspaceElementChangeType;
|
|
8781
|
-
uuid: string;
|
|
8782
|
-
}
|
|
8783
|
-
interface WorkspaceExportComparison {
|
|
8784
|
-
[WorkspaceElementChangeType.CREATE]: Set<string>;
|
|
8785
|
-
[WorkspaceElementChangeType.UPDATE]: Set<string>;
|
|
8786
|
-
[WorkspaceElementChangeType.DELETE]: Set<string>;
|
|
8787
|
-
}
|
|
8788
|
-
declare function compareWorkspaceExports(primaryExport: Partial<Record<WorkspaceElementType, any[]>>, targetExport: Partial<Record<WorkspaceElementType, any[]>>): WorkspaceExportComparison;
|
|
8789
|
-
|
|
8790
8861
|
interface WorkspaceElementSpec {
|
|
8791
8862
|
type: WorkspaceElementType;
|
|
8792
8863
|
apiPath: string;
|
|
@@ -8829,468 +8900,21 @@ interface IWorkspaceUpdate {
|
|
|
8829
8900
|
apiRequestQuery: Record<string, any>;
|
|
8830
8901
|
}
|
|
8831
8902
|
|
|
8832
|
-
|
|
8833
|
-
|
|
8834
|
-
|
|
8835
|
-
appUri: string;
|
|
8836
|
-
canIntegrate: boolean;
|
|
8837
|
-
categories: string[];
|
|
8838
|
-
defaultConnectorId: string;
|
|
8839
|
-
key: string;
|
|
8840
|
-
logoUri: string;
|
|
8841
|
-
name: string;
|
|
8842
|
-
popularity: number;
|
|
8843
|
-
uuid: string;
|
|
8844
|
-
knowledgeBaseUuid?: string;
|
|
8845
|
-
hasFreeTestAccount?: boolean;
|
|
8846
|
-
freeTestAccountGuide?: string;
|
|
8847
|
-
isPublic?: boolean;
|
|
8848
|
-
isReadOnly: boolean;
|
|
8849
|
-
}
|
|
8850
|
-
interface AppCategory {
|
|
8851
|
-
count: number;
|
|
8852
|
-
category: string;
|
|
8903
|
+
declare enum WorkspaceType {
|
|
8904
|
+
PRODUCTION = "production",
|
|
8905
|
+
DEVELOPMENT = "development"
|
|
8853
8906
|
}
|
|
8854
|
-
declare const WorkspaceLimitsSchema: z.ZodObject<{
|
|
8855
|
-
parallelEventPulls: z.ZodOptional<z.ZodObject<{
|
|
8856
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8857
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8858
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8859
|
-
}, z.core.$strip>>;
|
|
8860
|
-
parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
8861
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8862
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8863
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8864
|
-
}, z.core.$strip>>;
|
|
8865
|
-
parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
8866
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8867
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8868
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8869
|
-
}, z.core.$strip>>;
|
|
8870
|
-
parallelFlowRuns: z.ZodOptional<z.ZodObject<{
|
|
8871
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8872
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8873
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8874
|
-
}, z.core.$strip>>;
|
|
8875
|
-
parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
8876
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8877
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8878
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8879
|
-
}, z.core.$strip>>;
|
|
8880
|
-
parallelApiRequests: z.ZodOptional<z.ZodObject<{
|
|
8881
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8882
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8883
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8884
|
-
}, z.core.$strip>>;
|
|
8885
|
-
parallelSseRequests: z.ZodOptional<z.ZodObject<{
|
|
8886
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8887
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8888
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8889
|
-
}, z.core.$strip>>;
|
|
8890
|
-
parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
|
|
8891
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8892
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8893
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8894
|
-
}, z.core.$strip>>;
|
|
8895
|
-
parallelEventLogs: z.ZodOptional<z.ZodObject<{
|
|
8896
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8897
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8898
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8899
|
-
}, z.core.$strip>>;
|
|
8900
|
-
parallelEventLogsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
8901
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8902
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8903
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8904
|
-
}, z.core.$strip>>;
|
|
8905
|
-
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
8906
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8907
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8908
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8909
|
-
}, z.core.$strip>>;
|
|
8910
|
-
fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
|
|
8911
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8912
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8913
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8914
|
-
}, z.core.$strip>>;
|
|
8915
|
-
apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
8916
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8917
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8918
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8919
|
-
}, z.core.$strip>>;
|
|
8920
|
-
apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
|
|
8921
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8922
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8923
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8924
|
-
}, z.core.$strip>>;
|
|
8925
|
-
webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
8926
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8927
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8928
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8929
|
-
}, z.core.$strip>>;
|
|
8930
|
-
webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
|
|
8931
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8932
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8933
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8934
|
-
}, z.core.$strip>>;
|
|
8935
|
-
workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
8936
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8937
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8938
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8939
|
-
}, z.core.$strip>>;
|
|
8940
|
-
workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
|
|
8941
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8942
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8943
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8944
|
-
}, z.core.$strip>>;
|
|
8945
|
-
createDatabaseRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
8946
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8947
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8948
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8949
|
-
}, z.core.$strip>>;
|
|
8950
|
-
totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
|
|
8951
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8952
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8953
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8954
|
-
}, z.core.$strip>>;
|
|
8955
|
-
totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
|
|
8956
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8957
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8958
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8959
|
-
}, z.core.$strip>>;
|
|
8960
|
-
totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
|
|
8961
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8962
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8963
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8964
|
-
}, z.core.$strip>>;
|
|
8965
|
-
parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
8966
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8967
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8968
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8969
|
-
}, z.core.$strip>>;
|
|
8970
|
-
parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
8971
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8972
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8973
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8974
|
-
}, z.core.$strip>>;
|
|
8975
|
-
apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
8976
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8977
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8978
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8979
|
-
}, z.core.$strip>>;
|
|
8980
|
-
apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
|
|
8981
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8982
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8983
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8984
|
-
}, z.core.$strip>>;
|
|
8985
|
-
webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
8986
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8987
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8988
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8989
|
-
}, z.core.$strip>>;
|
|
8990
|
-
webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
|
|
8991
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8992
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8993
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8994
|
-
}, z.core.$strip>>;
|
|
8995
|
-
externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
|
|
8996
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
8997
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
8998
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
8999
|
-
}, z.core.$strip>>;
|
|
9000
|
-
createDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
9001
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9002
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9003
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9004
|
-
}, z.core.$strip>>;
|
|
9005
|
-
updateDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
9006
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9007
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9008
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9009
|
-
}, z.core.$strip>>;
|
|
9010
|
-
parallelWriteDatabaseRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
9011
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9012
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9013
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9014
|
-
}, z.core.$strip>>;
|
|
9015
|
-
}, z.core.$strip>;
|
|
9016
|
-
declare const EngineWorkspaceSettingsSchema: z.ZodObject<{
|
|
9017
|
-
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
|
9018
|
-
enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
|
|
9019
|
-
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
9020
|
-
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
9021
|
-
}, z.core.$strip>;
|
|
9022
|
-
declare const AppPublicKey: z.ZodObject<{
|
|
9023
|
-
name: z.ZodString;
|
|
9024
|
-
publicKey: z.ZodString;
|
|
9025
|
-
}, z.core.$strip>;
|
|
9026
|
-
declare const AppSchema: z.ZodObject<{
|
|
9027
|
-
id: z.ZodString;
|
|
9028
|
-
key: z.ZodString;
|
|
9029
|
-
logoUri: z.ZodOptional<z.ZodString>;
|
|
9030
|
-
userFieldsSchema: z.ZodOptional<z.ZodAny>;
|
|
9031
|
-
apiBaseUri: z.ZodOptional<z.ZodString>;
|
|
9032
|
-
webhookUri: z.ZodOptional<z.ZodString>;
|
|
9033
|
-
publicKey: z.ZodOptional<z.ZodString>;
|
|
9034
|
-
publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9035
|
-
name: z.ZodString;
|
|
9036
|
-
publicKey: z.ZodString;
|
|
9037
|
-
}, z.core.$strip>>>;
|
|
9038
|
-
enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9039
|
-
auth: z.ZodOptional<z.ZodAny>;
|
|
9040
|
-
credentialsSchema: z.ZodOptional<z.ZodAny>;
|
|
9041
|
-
apiClient: z.ZodOptional<z.ZodAny>;
|
|
9042
|
-
apiRequestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9043
|
-
apiRequestQuery: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9044
|
-
isOnPrem: z.ZodOptional<z.ZodBoolean>;
|
|
9045
|
-
connectorBaseUri: z.ZodOptional<z.ZodString>;
|
|
9046
|
-
connectorRevision: z.ZodOptional<z.ZodString>;
|
|
9047
|
-
featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9048
|
-
limits: z.ZodOptional<z.ZodObject<{
|
|
9049
|
-
parallelEventPulls: z.ZodOptional<z.ZodObject<{
|
|
9050
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9051
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9052
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9053
|
-
}, z.core.$strip>>;
|
|
9054
|
-
parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
9055
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9056
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9057
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9058
|
-
}, z.core.$strip>>;
|
|
9059
|
-
parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
9060
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9061
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9062
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9063
|
-
}, z.core.$strip>>;
|
|
9064
|
-
parallelFlowRuns: z.ZodOptional<z.ZodObject<{
|
|
9065
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9066
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9067
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9068
|
-
}, z.core.$strip>>;
|
|
9069
|
-
parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
9070
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9071
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9072
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9073
|
-
}, z.core.$strip>>;
|
|
9074
|
-
parallelApiRequests: z.ZodOptional<z.ZodObject<{
|
|
9075
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9076
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9077
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9078
|
-
}, z.core.$strip>>;
|
|
9079
|
-
parallelSseRequests: z.ZodOptional<z.ZodObject<{
|
|
9080
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9081
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9082
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9083
|
-
}, z.core.$strip>>;
|
|
9084
|
-
parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
|
|
9085
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9086
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9087
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9088
|
-
}, z.core.$strip>>;
|
|
9089
|
-
parallelEventLogs: z.ZodOptional<z.ZodObject<{
|
|
9090
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9091
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9092
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9093
|
-
}, z.core.$strip>>;
|
|
9094
|
-
parallelEventLogsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
9095
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9096
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9097
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9098
|
-
}, z.core.$strip>>;
|
|
9099
|
-
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
9100
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9101
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9102
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9103
|
-
}, z.core.$strip>>;
|
|
9104
|
-
fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
|
|
9105
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9106
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9107
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9108
|
-
}, z.core.$strip>>;
|
|
9109
|
-
apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
9110
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9111
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9112
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9113
|
-
}, z.core.$strip>>;
|
|
9114
|
-
apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
|
|
9115
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9116
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9117
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9118
|
-
}, z.core.$strip>>;
|
|
9119
|
-
webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
9120
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9121
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9122
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9123
|
-
}, z.core.$strip>>;
|
|
9124
|
-
webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
|
|
9125
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9126
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9127
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9128
|
-
}, z.core.$strip>>;
|
|
9129
|
-
workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
9130
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9131
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9132
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9133
|
-
}, z.core.$strip>>;
|
|
9134
|
-
workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
|
|
9135
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9136
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9137
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9138
|
-
}, z.core.$strip>>;
|
|
9139
|
-
createDatabaseRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
9140
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9141
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9142
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9143
|
-
}, z.core.$strip>>;
|
|
9144
|
-
totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
|
|
9145
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9146
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9147
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9148
|
-
}, z.core.$strip>>;
|
|
9149
|
-
totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
|
|
9150
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9151
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9152
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9153
|
-
}, z.core.$strip>>;
|
|
9154
|
-
totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
|
|
9155
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9156
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9157
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9158
|
-
}, z.core.$strip>>;
|
|
9159
|
-
parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
9160
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9161
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9162
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9163
|
-
}, z.core.$strip>>;
|
|
9164
|
-
parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
9165
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9166
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9167
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9168
|
-
}, z.core.$strip>>;
|
|
9169
|
-
apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
9170
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9171
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9172
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9173
|
-
}, z.core.$strip>>;
|
|
9174
|
-
apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
|
|
9175
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9176
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9177
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9178
|
-
}, z.core.$strip>>;
|
|
9179
|
-
webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
9180
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9181
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9182
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9183
|
-
}, z.core.$strip>>;
|
|
9184
|
-
webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
|
|
9185
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9186
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9187
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9188
|
-
}, z.core.$strip>>;
|
|
9189
|
-
externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
|
|
9190
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9191
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9192
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9193
|
-
}, z.core.$strip>>;
|
|
9194
|
-
createDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
9195
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9196
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9197
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9198
|
-
}, z.core.$strip>>;
|
|
9199
|
-
updateDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
9200
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9201
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9202
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9203
|
-
}, z.core.$strip>>;
|
|
9204
|
-
parallelWriteDatabaseRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
9205
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
9206
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
9207
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
9208
|
-
}, z.core.$strip>>;
|
|
9209
|
-
}, z.core.$strip>>;
|
|
9210
|
-
settings: z.ZodOptional<z.ZodObject<{
|
|
9211
|
-
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
|
9212
|
-
enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
|
|
9213
|
-
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
9214
|
-
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
9215
|
-
}, z.core.$strip>>;
|
|
9216
|
-
type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
|
|
9217
|
-
jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9218
|
-
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
9219
|
-
isThrottled: z.ZodOptional<z.ZodBoolean>;
|
|
9220
|
-
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
9221
|
-
isBackgroundJobsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
9222
|
-
}, z.core.$strip>;
|
|
9223
|
-
|
|
9224
8907
|
declare enum WorkspaceOnboardingStep {
|
|
9225
8908
|
AddConnectors = "add-connectors",
|
|
9226
8909
|
ConnectYourApp = "first-connection",
|
|
9227
8910
|
BuildIntegrations = "build-integrations",
|
|
9228
8911
|
Completed = "completed"
|
|
9229
8912
|
}
|
|
9230
|
-
interface Workspace {
|
|
9231
|
-
id: string;
|
|
9232
|
-
key: string;
|
|
9233
|
-
secret: string;
|
|
9234
|
-
name: string;
|
|
9235
|
-
orgId: string;
|
|
9236
|
-
engineAccessToken?: string;
|
|
9237
|
-
createdAt: Date;
|
|
9238
|
-
updatedAt: Date;
|
|
9239
|
-
onboardingStep?: WorkspaceOnboardingStep;
|
|
9240
|
-
trialEndDate?: string;
|
|
9241
|
-
}
|
|
9242
|
-
type EngineWorkspaceSettings = z$1.Infer<typeof EngineWorkspaceSettingsSchema>;
|
|
9243
|
-
interface EngineWorkspace {
|
|
9244
|
-
id: string;
|
|
9245
|
-
key: string;
|
|
9246
|
-
logoUri?: string;
|
|
9247
|
-
webhookUri?: string;
|
|
9248
|
-
publicKey?: string;
|
|
9249
|
-
publicKeys?: {
|
|
9250
|
-
name?: string;
|
|
9251
|
-
publicKey: string;
|
|
9252
|
-
}[];
|
|
9253
|
-
enabledWebhookEvents?: string[];
|
|
9254
|
-
userFieldsSchema?: DataSchema;
|
|
9255
|
-
auth?: ConnectorAuth;
|
|
9256
|
-
credentialsSchema?: DataSchema;
|
|
9257
|
-
apiClient?: RestApiClientOptions;
|
|
9258
|
-
apiBaseUri?: string;
|
|
9259
|
-
apiRequestHeaders: Record<string, any>;
|
|
9260
|
-
apiRequestQuery: Record<string, any>;
|
|
9261
|
-
isOnPrem?: boolean;
|
|
9262
|
-
connectorBaseUri?: string;
|
|
9263
|
-
limits: WorkspaceLimits;
|
|
9264
|
-
settings?: EngineWorkspaceSettings;
|
|
9265
|
-
type?: WorkspaceType;
|
|
9266
|
-
jwksUri?: string | null;
|
|
9267
|
-
}
|
|
9268
|
-
interface WorkspaceUser {
|
|
9269
|
-
id: string;
|
|
9270
|
-
workspaceId: string;
|
|
9271
|
-
testCustomerId: string;
|
|
9272
|
-
userId: string;
|
|
9273
|
-
role: string;
|
|
9274
|
-
}
|
|
9275
|
-
interface UserWorkspaceSettings {
|
|
9276
|
-
id: string;
|
|
9277
|
-
userId: string;
|
|
9278
|
-
workspaceId: string;
|
|
9279
|
-
testCustomerId: string;
|
|
9280
|
-
}
|
|
9281
8913
|
declare enum WorkspaceNotificationType {
|
|
9282
8914
|
WorkspaceUpdate = "workspace-update",
|
|
9283
8915
|
CopilotActivity = "copilot-activity",
|
|
9284
8916
|
LocalClientUpdate = "local-client-update"
|
|
9285
8917
|
}
|
|
9286
|
-
interface WorkspaceNotification<DataType = unknown> {
|
|
9287
|
-
type: WorkspaceNotificationType;
|
|
9288
|
-
workspaceId: string;
|
|
9289
|
-
data: DataType;
|
|
9290
|
-
}
|
|
9291
|
-
interface CopilotActivityNotificationData {
|
|
9292
|
-
scopes: string[];
|
|
9293
|
-
}
|
|
9294
8918
|
declare const enum ParallelExecutionLimits {
|
|
9295
8919
|
ParallelEventPulls = "parallelEventPulls",
|
|
9296
8920
|
ParallelIncrementalEventPullsPerConnection = "parallelIncrementalEventPullsPerConnection",
|
|
@@ -9349,13 +8973,436 @@ interface EngineWorkspaceWithOrgData {
|
|
|
9349
8973
|
type?: WorkspaceType;
|
|
9350
8974
|
isTrial: string;
|
|
9351
8975
|
}
|
|
9352
|
-
declare
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
8976
|
+
declare const WorkspaceLimitsSchema: z$1.ZodObject<{
|
|
8977
|
+
parallelEventPulls: z$1.ZodOptional<z$1.ZodObject<{
|
|
8978
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8979
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8980
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
8981
|
+
}, z$1.core.$strip>>;
|
|
8982
|
+
parallelIncrementalEventPullsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
|
|
8983
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8984
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8985
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
8986
|
+
}, z$1.core.$strip>>;
|
|
8987
|
+
parallelFullSyncEventPullsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
|
|
8988
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8989
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8990
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
8991
|
+
}, z$1.core.$strip>>;
|
|
8992
|
+
parallelFlowRuns: z$1.ZodOptional<z$1.ZodObject<{
|
|
8993
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8994
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8995
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
8996
|
+
}, z$1.core.$strip>>;
|
|
8997
|
+
parallelFlowRunsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
|
|
8998
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
8999
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9000
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9001
|
+
}, z$1.core.$strip>>;
|
|
9002
|
+
parallelApiRequests: z$1.ZodOptional<z$1.ZodObject<{
|
|
9003
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9004
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9005
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9006
|
+
}, z$1.core.$strip>>;
|
|
9007
|
+
parallelSseRequests: z$1.ZodOptional<z$1.ZodObject<{
|
|
9008
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9009
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9010
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9011
|
+
}, z$1.core.$strip>>;
|
|
9012
|
+
parallelBackgroundJobs: z$1.ZodOptional<z$1.ZodObject<{
|
|
9013
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9014
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9015
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9016
|
+
}, z$1.core.$strip>>;
|
|
9017
|
+
parallelEventLogs: z$1.ZodOptional<z$1.ZodObject<{
|
|
9018
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9019
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9020
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9021
|
+
}, z$1.core.$strip>>;
|
|
9022
|
+
parallelEventLogsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
|
|
9023
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9024
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9025
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9026
|
+
}, z$1.core.$strip>>;
|
|
9027
|
+
ParallelWriteDatabaseRequests: z$1.ZodOptional<z$1.ZodObject<{
|
|
9028
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9029
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9030
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9031
|
+
}, z$1.core.$strip>>;
|
|
9032
|
+
fileUploadsMbPerHour: z$1.ZodOptional<z$1.ZodObject<{
|
|
9033
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9034
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9035
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9036
|
+
}, z$1.core.$strip>>;
|
|
9037
|
+
apiRequestsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9038
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9039
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9040
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9041
|
+
}, z$1.core.$strip>>;
|
|
9042
|
+
apiRequestsPerHour: z$1.ZodOptional<z$1.ZodObject<{
|
|
9043
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9044
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9045
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9046
|
+
}, z$1.core.$strip>>;
|
|
9047
|
+
webhookRequestsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9048
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9049
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9050
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9051
|
+
}, z$1.core.$strip>>;
|
|
9052
|
+
webhookRequestsPerHour: z$1.ZodOptional<z$1.ZodObject<{
|
|
9053
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9054
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9055
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9056
|
+
}, z$1.core.$strip>>;
|
|
9057
|
+
workspaceElementCreationsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9058
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9059
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9060
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9061
|
+
}, z$1.core.$strip>>;
|
|
9062
|
+
workspaceElementCreationsPerHour: z$1.ZodOptional<z$1.ZodObject<{
|
|
9063
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9064
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9065
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9066
|
+
}, z$1.core.$strip>>;
|
|
9067
|
+
createDatabaseRequestsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9068
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9069
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9070
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9071
|
+
}, z$1.core.$strip>>;
|
|
9072
|
+
totalNumberOfCustomers: z$1.ZodOptional<z$1.ZodObject<{
|
|
9073
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9074
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9075
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9076
|
+
}, z$1.core.$strip>>;
|
|
9077
|
+
totalNumberOfConnections: z$1.ZodOptional<z$1.ZodObject<{
|
|
9078
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9079
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9080
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9081
|
+
}, z$1.core.$strip>>;
|
|
9082
|
+
totalNumberOfWorkspaceElements: z$1.ZodOptional<z$1.ZodObject<{
|
|
9083
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9084
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9085
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9086
|
+
}, z$1.core.$strip>>;
|
|
9087
|
+
parallelApiRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
|
|
9088
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9089
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9090
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9091
|
+
}, z$1.core.$strip>>;
|
|
9092
|
+
parallelBackgroundJobsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
|
|
9093
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9094
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9095
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9096
|
+
}, z$1.core.$strip>>;
|
|
9097
|
+
apiRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9098
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9099
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9100
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9101
|
+
}, z$1.core.$strip>>;
|
|
9102
|
+
apiRequestsPerCustomerPerHour: z$1.ZodOptional<z$1.ZodObject<{
|
|
9103
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9104
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9105
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9106
|
+
}, z$1.core.$strip>>;
|
|
9107
|
+
webhookRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9108
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9109
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9110
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9111
|
+
}, z$1.core.$strip>>;
|
|
9112
|
+
webhookRequestsPerCustomerPerHour: z$1.ZodOptional<z$1.ZodObject<{
|
|
9113
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9114
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9115
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9116
|
+
}, z$1.core.$strip>>;
|
|
9117
|
+
externalEventsPerCustomerPerDay: z$1.ZodOptional<z$1.ZodObject<{
|
|
9118
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9119
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9120
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9121
|
+
}, z$1.core.$strip>>;
|
|
9122
|
+
createDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9123
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9124
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9125
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9126
|
+
}, z$1.core.$strip>>;
|
|
9127
|
+
updateDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9128
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9129
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9130
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9131
|
+
}, z$1.core.$strip>>;
|
|
9132
|
+
parallelWriteDatabaseRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
|
|
9133
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9134
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9135
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9136
|
+
}, z$1.core.$strip>>;
|
|
9137
|
+
}, z$1.core.$strip>;
|
|
9138
|
+
interface WorkspaceExport {
|
|
9139
|
+
[WorkspaceElementType.AppDataSchema]: AppDataSchemaExportProperties[];
|
|
9140
|
+
[WorkspaceElementType.AppEventType]: AppEventTypeExportProperties[];
|
|
9141
|
+
[WorkspaceElementType.DataLinkTable]: DataLinkTableExportProperties[];
|
|
9142
|
+
[WorkspaceElementType.Integration]: IntegrationExportProperties[];
|
|
9143
|
+
[WorkspaceElementType.DataSource]: DataSourceExportProperties[];
|
|
9144
|
+
[WorkspaceElementType.FieldMapping]: FieldMappingExportProperties[];
|
|
9145
|
+
[WorkspaceElementType.Action]: ActionExportProperties[];
|
|
9146
|
+
[WorkspaceElementType.Flow]: FlowExportProperties[];
|
|
9147
|
+
[WorkspaceElementType.Package]: PackageExportProperties[];
|
|
9148
|
+
}
|
|
9149
|
+
declare const EngineWorkspaceSettingsSchema: z$1.ZodObject<{
|
|
9150
|
+
enableApiLogs: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9151
|
+
enableWebhookLogs: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9152
|
+
enableActionRunLogs: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9153
|
+
disableSecretKeyAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9154
|
+
}, z$1.core.$strip>;
|
|
9155
|
+
declare const WorkspacePublicKey: z$1.ZodObject<{
|
|
9156
|
+
name: z$1.ZodString;
|
|
9157
|
+
publicKey: z$1.ZodString;
|
|
9158
|
+
}, z$1.core.$strip>;
|
|
9159
|
+
declare const AppSchema: z$1.ZodObject<{
|
|
9160
|
+
id: z$1.ZodString;
|
|
9161
|
+
key: z$1.ZodString;
|
|
9162
|
+
logoUri: z$1.ZodOptional<z$1.ZodString>;
|
|
9163
|
+
userFieldsSchema: z$1.ZodOptional<z$1.ZodAny>;
|
|
9164
|
+
apiBaseUri: z$1.ZodOptional<z$1.ZodString>;
|
|
9165
|
+
webhookUri: z$1.ZodOptional<z$1.ZodString>;
|
|
9166
|
+
publicKey: z$1.ZodOptional<z$1.ZodString>;
|
|
9167
|
+
publicKeys: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
9168
|
+
name: z$1.ZodString;
|
|
9169
|
+
publicKey: z$1.ZodString;
|
|
9170
|
+
}, z$1.core.$strip>>>;
|
|
9171
|
+
enabledWebhookEvents: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
9172
|
+
auth: z$1.ZodOptional<z$1.ZodAny>;
|
|
9173
|
+
credentialsSchema: z$1.ZodOptional<z$1.ZodAny>;
|
|
9174
|
+
apiClient: z$1.ZodOptional<z$1.ZodAny>;
|
|
9175
|
+
apiRequestHeaders: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
|
|
9176
|
+
apiRequestQuery: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
|
|
9177
|
+
isOnPrem: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9178
|
+
connectorBaseUri: z$1.ZodOptional<z$1.ZodString>;
|
|
9179
|
+
connectorRevision: z$1.ZodOptional<z$1.ZodString>;
|
|
9180
|
+
featureFlags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
9181
|
+
limits: z$1.ZodOptional<z$1.ZodObject<{
|
|
9182
|
+
parallelEventPulls: z$1.ZodOptional<z$1.ZodObject<{
|
|
9183
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9184
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9185
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9186
|
+
}, z$1.core.$strip>>;
|
|
9187
|
+
parallelIncrementalEventPullsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
|
|
9188
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9189
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9190
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9191
|
+
}, z$1.core.$strip>>;
|
|
9192
|
+
parallelFullSyncEventPullsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
|
|
9193
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9194
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9195
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9196
|
+
}, z$1.core.$strip>>;
|
|
9197
|
+
parallelFlowRuns: z$1.ZodOptional<z$1.ZodObject<{
|
|
9198
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9199
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9200
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9201
|
+
}, z$1.core.$strip>>;
|
|
9202
|
+
parallelFlowRunsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
|
|
9203
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9204
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9205
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9206
|
+
}, z$1.core.$strip>>;
|
|
9207
|
+
parallelApiRequests: z$1.ZodOptional<z$1.ZodObject<{
|
|
9208
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9209
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9210
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9211
|
+
}, z$1.core.$strip>>;
|
|
9212
|
+
parallelSseRequests: z$1.ZodOptional<z$1.ZodObject<{
|
|
9213
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9214
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9215
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9216
|
+
}, z$1.core.$strip>>;
|
|
9217
|
+
parallelBackgroundJobs: z$1.ZodOptional<z$1.ZodObject<{
|
|
9218
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9219
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9220
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9221
|
+
}, z$1.core.$strip>>;
|
|
9222
|
+
parallelEventLogs: z$1.ZodOptional<z$1.ZodObject<{
|
|
9223
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9224
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9225
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9226
|
+
}, z$1.core.$strip>>;
|
|
9227
|
+
parallelEventLogsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
|
|
9228
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9229
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9230
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9231
|
+
}, z$1.core.$strip>>;
|
|
9232
|
+
ParallelWriteDatabaseRequests: z$1.ZodOptional<z$1.ZodObject<{
|
|
9233
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9234
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9235
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9236
|
+
}, z$1.core.$strip>>;
|
|
9237
|
+
fileUploadsMbPerHour: z$1.ZodOptional<z$1.ZodObject<{
|
|
9238
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9239
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9240
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9241
|
+
}, z$1.core.$strip>>;
|
|
9242
|
+
apiRequestsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9243
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9244
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9245
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9246
|
+
}, z$1.core.$strip>>;
|
|
9247
|
+
apiRequestsPerHour: z$1.ZodOptional<z$1.ZodObject<{
|
|
9248
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9249
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9250
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9251
|
+
}, z$1.core.$strip>>;
|
|
9252
|
+
webhookRequestsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9253
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9254
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9255
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9256
|
+
}, z$1.core.$strip>>;
|
|
9257
|
+
webhookRequestsPerHour: z$1.ZodOptional<z$1.ZodObject<{
|
|
9258
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9259
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9260
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9261
|
+
}, z$1.core.$strip>>;
|
|
9262
|
+
workspaceElementCreationsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9263
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9264
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9265
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9266
|
+
}, z$1.core.$strip>>;
|
|
9267
|
+
workspaceElementCreationsPerHour: z$1.ZodOptional<z$1.ZodObject<{
|
|
9268
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9269
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9270
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9271
|
+
}, z$1.core.$strip>>;
|
|
9272
|
+
createDatabaseRequestsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9273
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9274
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9275
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9276
|
+
}, z$1.core.$strip>>;
|
|
9277
|
+
totalNumberOfCustomers: z$1.ZodOptional<z$1.ZodObject<{
|
|
9278
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9279
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9280
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9281
|
+
}, z$1.core.$strip>>;
|
|
9282
|
+
totalNumberOfConnections: z$1.ZodOptional<z$1.ZodObject<{
|
|
9283
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9284
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9285
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9286
|
+
}, z$1.core.$strip>>;
|
|
9287
|
+
totalNumberOfWorkspaceElements: z$1.ZodOptional<z$1.ZodObject<{
|
|
9288
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9289
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9290
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9291
|
+
}, z$1.core.$strip>>;
|
|
9292
|
+
parallelApiRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
|
|
9293
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9294
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9295
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9296
|
+
}, z$1.core.$strip>>;
|
|
9297
|
+
parallelBackgroundJobsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
|
|
9298
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9299
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9300
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9301
|
+
}, z$1.core.$strip>>;
|
|
9302
|
+
apiRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9303
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9304
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9305
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9306
|
+
}, z$1.core.$strip>>;
|
|
9307
|
+
apiRequestsPerCustomerPerHour: z$1.ZodOptional<z$1.ZodObject<{
|
|
9308
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9309
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9310
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9311
|
+
}, z$1.core.$strip>>;
|
|
9312
|
+
webhookRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9313
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9314
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9315
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9316
|
+
}, z$1.core.$strip>>;
|
|
9317
|
+
webhookRequestsPerCustomerPerHour: z$1.ZodOptional<z$1.ZodObject<{
|
|
9318
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9319
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9320
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9321
|
+
}, z$1.core.$strip>>;
|
|
9322
|
+
externalEventsPerCustomerPerDay: z$1.ZodOptional<z$1.ZodObject<{
|
|
9323
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9324
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9325
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9326
|
+
}, z$1.core.$strip>>;
|
|
9327
|
+
createDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9328
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9329
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9330
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9331
|
+
}, z$1.core.$strip>>;
|
|
9332
|
+
updateDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
9333
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9334
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9335
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9336
|
+
}, z$1.core.$strip>>;
|
|
9337
|
+
parallelWriteDatabaseRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
|
|
9338
|
+
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9339
|
+
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
9340
|
+
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
9341
|
+
}, z$1.core.$strip>>;
|
|
9342
|
+
}, z$1.core.$strip>>;
|
|
9343
|
+
settings: z$1.ZodOptional<z$1.ZodObject<{
|
|
9344
|
+
enableApiLogs: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9345
|
+
enableWebhookLogs: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9346
|
+
enableActionRunLogs: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9347
|
+
disableSecretKeyAuth: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9348
|
+
}, z$1.core.$strip>>;
|
|
9349
|
+
type: z$1.ZodOptional<z$1.ZodEnum<typeof WorkspaceType>>;
|
|
9350
|
+
jwksUri: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
9351
|
+
isTrial: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9352
|
+
isThrottled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9353
|
+
isDisabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9354
|
+
isBackgroundJobsDisabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
9355
|
+
}, z$1.core.$strip>;
|
|
9356
|
+
type EngineWorkspaceSettings = z$1.Infer<typeof EngineWorkspaceSettingsSchema>;
|
|
9357
|
+
interface EngineWorkspace {
|
|
9358
|
+
id: string;
|
|
9359
|
+
key: string;
|
|
9360
|
+
logoUri?: string;
|
|
9361
|
+
webhookUri?: string;
|
|
9362
|
+
publicKey?: string;
|
|
9363
|
+
publicKeys?: {
|
|
9364
|
+
name?: string;
|
|
9365
|
+
publicKey: string;
|
|
9366
|
+
}[];
|
|
9367
|
+
enabledWebhookEvents?: string[];
|
|
9368
|
+
userFieldsSchema?: DataSchema;
|
|
9369
|
+
auth?: ConnectorAuth;
|
|
9370
|
+
credentialsSchema?: DataSchema;
|
|
9371
|
+
apiClient?: RestApiClientOptions;
|
|
9372
|
+
apiBaseUri?: string;
|
|
9373
|
+
apiRequestHeaders: Record<string, any>;
|
|
9374
|
+
apiRequestQuery: Record<string, any>;
|
|
9375
|
+
isOnPrem?: boolean;
|
|
9376
|
+
connectorBaseUri?: string;
|
|
9377
|
+
limits: WorkspaceLimits;
|
|
9378
|
+
settings?: EngineWorkspaceSettings;
|
|
9379
|
+
type?: WorkspaceType;
|
|
9380
|
+
jwksUri?: string | null;
|
|
9381
|
+
}
|
|
9382
|
+
interface WorkspaceUser {
|
|
9383
|
+
id: string;
|
|
9384
|
+
workspaceId: string;
|
|
9385
|
+
testCustomerId: string;
|
|
9386
|
+
userId: string;
|
|
9387
|
+
role: string;
|
|
9388
|
+
}
|
|
9389
|
+
interface UserWorkspaceSettings {
|
|
9390
|
+
id: string;
|
|
9391
|
+
userId: string;
|
|
9392
|
+
workspaceId: string;
|
|
9393
|
+
testCustomerId: string;
|
|
9394
|
+
}
|
|
9395
|
+
interface WorkspaceNotification<DataType = unknown> {
|
|
9396
|
+
type: WorkspaceNotificationType;
|
|
9397
|
+
workspaceId: string;
|
|
9398
|
+
data: DataType;
|
|
9399
|
+
}
|
|
9400
|
+
interface CopilotActivityNotificationData {
|
|
9401
|
+
scopes: string[];
|
|
9402
|
+
}
|
|
9403
|
+
|
|
9404
|
+
declare const PARALLEL_EXECUTION_LIMITS: string[];
|
|
9405
|
+
declare const RATE_LIMITS: string[];
|
|
9359
9406
|
declare const WORKSPACE_SIZE_LIMITS: string[];
|
|
9360
9407
|
declare const EDITABLE_LIMITS: string[];
|
|
9361
9408
|
|
|
@@ -9382,801 +9429,103 @@ declare const OrgWorkspaceUser: z.ZodObject<{
|
|
|
9382
9429
|
role: z.ZodString;
|
|
9383
9430
|
}, z.core.$strip>;
|
|
9384
9431
|
|
|
9385
|
-
declare
|
|
9386
|
-
|
|
9387
|
-
|
|
9388
|
-
|
|
9389
|
-
patch(data: Partial<{
|
|
9390
|
-
credentials: any;
|
|
9391
|
-
}>): Promise<Customer>;
|
|
9432
|
+
declare enum WorkspaceElementChangeType {
|
|
9433
|
+
CREATE = "create",
|
|
9434
|
+
UPDATE = "update",
|
|
9435
|
+
DELETE = "delete"
|
|
9392
9436
|
}
|
|
9393
|
-
|
|
9394
|
-
|
|
9395
|
-
|
|
9396
|
-
workspace: Workspace;
|
|
9437
|
+
interface WorkspaceElementChange {
|
|
9438
|
+
type: WorkspaceElementChangeType;
|
|
9439
|
+
uuid: string;
|
|
9397
9440
|
}
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
-
TPL = "tpl",
|
|
9403
|
-
RECORD = "record",
|
|
9404
|
-
LOOKUP = "lookup",
|
|
9405
|
-
PLAIN = "plain",
|
|
9406
|
-
MAP = "map",
|
|
9407
|
-
CONCAT = "concat",
|
|
9408
|
-
FIRST_NAME = "firstName",
|
|
9409
|
-
LAST_NAME = "lastName",
|
|
9410
|
-
ITERATE = "iterate",
|
|
9411
|
-
CASE = "case",
|
|
9412
|
-
EXTRACT_DATE = "extractDate",
|
|
9413
|
-
EXTRACT_TIME = "extractTime",
|
|
9414
|
-
FIND_EXTERNAL_RECORD_ID = "findExternalRecordId",
|
|
9415
|
-
FIND_APP_RECORD_ID = "findAppRecordId",
|
|
9416
|
-
EVAL = "eval",
|
|
9417
|
-
AND = "and",
|
|
9418
|
-
OR = "or",
|
|
9419
|
-
MERGE_OBJECTS = "mergeObjects",
|
|
9420
|
-
FIRST_NOT_EMPTY = "firstNotEmpty",
|
|
9421
|
-
DOMAIN_FROM_EMAIL = "domainFromEmail",
|
|
9422
|
-
FORMULA = "formula",
|
|
9423
|
-
JSONATA = "jsonata",
|
|
9424
|
-
DATA_SCHEMA_REF = "dataSchemaRef"
|
|
9441
|
+
interface WorkspaceExportComparison {
|
|
9442
|
+
[WorkspaceElementChangeType.CREATE]: Set<string>;
|
|
9443
|
+
[WorkspaceElementChangeType.UPDATE]: Set<string>;
|
|
9444
|
+
[WorkspaceElementChangeType.DELETE]: Set<string>;
|
|
9425
9445
|
}
|
|
9446
|
+
declare function compareWorkspaceExports(baseExport: Partial<WorkspaceExport>, targetExport: Partial<WorkspaceExport>): WorkspaceExportComparison;
|
|
9447
|
+
declare function getElementSelector(type: WorkspaceElementType, key: string, integrationIdentifier?: string): string;
|
|
9426
9448
|
|
|
9427
|
-
|
|
9428
|
-
|
|
9429
|
-
|
|
9430
|
-
|
|
9431
|
-
|
|
9432
|
-
};
|
|
9449
|
+
declare enum OrgLimitsType {
|
|
9450
|
+
NUMBER_OF_WORKSPACES = "numberOfWorkspaces",
|
|
9451
|
+
TODAY_USAGE = "todayUsage",
|
|
9452
|
+
LAST_THIRTY_DAY_USAGE = "lastThirtyDayUsage",
|
|
9453
|
+
MEMBRANE_EXPERT_CREDITS_CAP = "membraneExpertCreditsCapPerMonth"
|
|
9433
9454
|
}
|
|
9434
|
-
interface
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
|
|
9438
|
-
|
|
9439
|
-
|
|
9455
|
+
interface Org {
|
|
9456
|
+
id: string;
|
|
9457
|
+
key: string;
|
|
9458
|
+
secret?: string;
|
|
9459
|
+
name: string;
|
|
9460
|
+
createdAt: Date;
|
|
9461
|
+
updatedAt: Date;
|
|
9462
|
+
trialEndDate?: string;
|
|
9463
|
+
lastTrialExtensionDate?: string;
|
|
9464
|
+
limits?: OrgLimits;
|
|
9465
|
+
lastThirtyDayUsagePercent?: number;
|
|
9466
|
+
todayUsagePercent?: number;
|
|
9467
|
+
featureFlags?: string[];
|
|
9468
|
+
freeAiMonthlyCredits?: number;
|
|
9469
|
+
paidAiCredits?: number;
|
|
9470
|
+
autoChargeEnabled?: boolean;
|
|
9471
|
+
autoChargeThreshold?: number;
|
|
9472
|
+
autoChargePurchaseAmount?: number;
|
|
9473
|
+
autoChargeMonthlyLimit?: number;
|
|
9440
9474
|
}
|
|
9441
|
-
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
getDataCollection?: (key: string, parameters?: Record<string, unknown>) => Promise<DataCollectionSpec>;
|
|
9445
|
-
getInternalDataSchema?: (key: string) => Promise<DataSchema>;
|
|
9446
|
-
resolveImportDataLink?: (options: {
|
|
9447
|
-
dataLinkTableKey: string;
|
|
9448
|
-
recordId: string;
|
|
9449
|
-
}) => Promise<string | undefined>;
|
|
9450
|
-
resolveExportDataLink?: (options: {
|
|
9451
|
-
dataLinkTableKey: string;
|
|
9452
|
-
recordId: string;
|
|
9453
|
-
}) => Promise<string | undefined>;
|
|
9454
|
-
resolveLookup?: ({ lookup, schema, fullValue, }: {
|
|
9455
|
-
lookup: LookupValue;
|
|
9456
|
-
schema: DataSchema | undefined;
|
|
9457
|
-
fullValue: unknown;
|
|
9458
|
-
}) => Promise<string | undefined>;
|
|
9459
|
-
fullValue?: unknown;
|
|
9475
|
+
declare enum OrgUserRole {
|
|
9476
|
+
Admin = "admin",
|
|
9477
|
+
Member = "member"
|
|
9460
9478
|
}
|
|
9461
|
-
declare
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
constructor(type: DataBuilderFormulaType, args: ArgsType);
|
|
9465
|
-
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
9466
|
-
abstract getSchema(variablesSchema: any): any;
|
|
9467
|
-
toObject(): any;
|
|
9468
|
-
toString(_variablesSchema?: any): string;
|
|
9469
|
-
getVariableLocators(): string[];
|
|
9470
|
-
transformVars(transformations: any): any;
|
|
9471
|
-
abstract getValue(variables: any): any;
|
|
9479
|
+
declare enum OrgUserStatus {
|
|
9480
|
+
Invited = "invited",
|
|
9481
|
+
Active = "active"
|
|
9472
9482
|
}
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
declare let hasFormulas$1: (value: any) => boolean;
|
|
9477
|
-
declare function injectFormulaCatalog(getFormulaFn: any, isFormulaFn: any, hasFormulasFn: any): void;
|
|
9478
|
-
|
|
9479
|
-
declare function buildData(value: any, variables?: any): any;
|
|
9480
|
-
declare function buildValue(value: any, variables: any): any;
|
|
9481
|
-
declare function __resolveValue<T = unknown>(value: unknown, params: ResolveFormulaParams): Promise<T>;
|
|
9482
|
-
declare function transformVars(value: any, transformations: Record<string, any>): any;
|
|
9483
|
-
declare function valueToString(value: any, variablesSchema: any): string;
|
|
9484
|
-
declare function resolveFormulas<T = unknown>(value: any, params: ResolveFormulaParams): Promise<T>;
|
|
9485
|
-
declare function processCopy(data: any): any;
|
|
9486
|
-
declare function getVariableLocators(data: any): string[];
|
|
9487
|
-
declare function removeNonExistentVars(value: any, schema: DataSchema): any;
|
|
9488
|
-
declare function transformVariablesWith(data: any, transformFunction: (locator: string) => string): any;
|
|
9489
|
-
|
|
9490
|
-
interface DataFilterOperator {
|
|
9491
|
-
type: string;
|
|
9483
|
+
interface PlatformUser {
|
|
9484
|
+
id: string;
|
|
9485
|
+
email: string;
|
|
9492
9486
|
name: string;
|
|
9493
|
-
|
|
9494
|
-
}
|
|
9495
|
-
|
|
9496
|
-
declare function makeObjectPropertyLocator(objectLocator: string | undefined, propertyName: string): string;
|
|
9497
|
-
declare enum DataLocatorStepType {
|
|
9498
|
-
OBJECT_PROPERTY = "object_property",
|
|
9499
|
-
ARRAY_ITEM = "array_item"
|
|
9487
|
+
trialRequested: boolean;
|
|
9500
9488
|
}
|
|
9501
|
-
|
|
9502
|
-
|
|
9489
|
+
interface OrgUser {
|
|
9490
|
+
id: string;
|
|
9491
|
+
orgId: string;
|
|
9492
|
+
userId: string;
|
|
9493
|
+
role: OrgUserRole;
|
|
9494
|
+
status: OrgUserStatus;
|
|
9495
|
+
workspaces: string[];
|
|
9496
|
+
user: PlatformUser;
|
|
9503
9497
|
}
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9498
|
+
interface OrgWorkspace {
|
|
9499
|
+
id: string;
|
|
9500
|
+
key: string;
|
|
9501
|
+
name: string;
|
|
9502
|
+
orgId: string;
|
|
9503
|
+
logoUri?: string;
|
|
9504
|
+
secret: string;
|
|
9505
|
+
createdAt: Date;
|
|
9506
|
+
updatedAt: Date;
|
|
9507
|
+
archivedAt?: Date;
|
|
9508
|
+
engineAccessToken?: string;
|
|
9509
|
+
trialEndDate?: string;
|
|
9510
|
+
featureFlags?: string[];
|
|
9507
9511
|
}
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9512
|
+
interface OrgLimits {
|
|
9513
|
+
[OrgLimitsType.NUMBER_OF_WORKSPACES]?: number;
|
|
9514
|
+
[OrgLimitsType.TODAY_USAGE]?: number;
|
|
9515
|
+
[OrgLimitsType.LAST_THIRTY_DAY_USAGE]?: number;
|
|
9516
|
+
[OrgLimitsType.MEMBRANE_EXPERT_CREDITS_CAP]?: number | null;
|
|
9511
9517
|
}
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
declare function excludeFieldsFromValue(value: any, fields: string[]): any;
|
|
9524
|
-
declare function setSchemaAtLocator(schema: any, locator: DataLocator, schemaAtLocator: any): any;
|
|
9525
|
-
declare function extractFieldLocator(locator: string): string;
|
|
9526
|
-
declare function makeSchemaForLocator(locator: DataLocator, locatorSchema: any): any;
|
|
9527
|
-
declare function getNameForLocator(schema: any, locator: DataLocator): string | null | undefined;
|
|
9528
|
-
declare function getNameComponentsForLocator(schema: any, locator: DataLocator): string[] | undefined;
|
|
9529
|
-
declare function getFullNameForLocator(schema: any, locator: DataLocator): string | undefined;
|
|
9530
|
-
declare function getIconUriForLocator(schema: any, locator: DataLocator): string;
|
|
9531
|
-
declare function getLocatorsFromData(data: any, parentLocator?: string): any;
|
|
9532
|
-
declare const getFullTitleForLocator: typeof getFullNameForLocator;
|
|
9533
|
-
declare function isValidLocator(locator: DataLocator): boolean;
|
|
9534
|
-
declare function locatorToSteps(sourceLocator: DataLocator): DataLocatorStep[];
|
|
9535
|
-
declare function locatorToString(locator: DataLocator): string;
|
|
9536
|
-
declare function stepsToLocator(steps: DataLocatorStep[]): string;
|
|
9537
|
-
declare function createObjectFromLocators(locators?: string[], placeholderValue?: string): {};
|
|
9538
|
-
declare function getFormulaLocators(formulaType: string, data: any): string[];
|
|
9539
|
-
|
|
9540
|
-
declare function backwardCompatibleFilterMatch(filter: any, variables: any): any;
|
|
9541
|
-
declare function doesMatchFilter(data: any, filter: DataFilter): boolean;
|
|
9542
|
-
declare class DataFilterCondition {
|
|
9543
|
-
field: string;
|
|
9544
|
-
operator: string;
|
|
9545
|
-
value?: any | undefined;
|
|
9546
|
-
constructor(field: string, operator: string, value?: any | undefined);
|
|
9547
|
-
}
|
|
9548
|
-
type DataFilter = DataFilterCondition[];
|
|
9549
|
-
declare function getOperatorsBySchema(schema: any): DataFilterOperator[];
|
|
9550
|
-
declare function getFilterFieldValuesByLocator(data: any, locator: DataLocator): any[];
|
|
9551
|
-
|
|
9552
|
-
declare class And extends DataBuilderFormulaBase {
|
|
9553
|
-
constructor(args: any[]);
|
|
9554
|
-
getValue(variables: any): boolean | undefined;
|
|
9555
|
-
resolveValue(params: ResolveFormulaParams): Promise<boolean | undefined>;
|
|
9556
|
-
getSchema(): {
|
|
9557
|
-
type: string;
|
|
9558
|
-
};
|
|
9559
|
-
}
|
|
9560
|
-
|
|
9561
|
-
interface CaseFormulaValueItem {
|
|
9562
|
-
filter?: any;
|
|
9563
|
-
value?: any;
|
|
9564
|
-
}
|
|
9565
|
-
type CaseFormulaValue = {
|
|
9566
|
-
cases: CaseFormulaValueItem[];
|
|
9567
|
-
default?: any;
|
|
9568
|
-
};
|
|
9569
|
-
declare class DataBuilderFormulaCase extends DataBuilderFormulaBase {
|
|
9570
|
-
value: CaseFormulaValue;
|
|
9571
|
-
constructor(value: CaseFormulaValueItem[] | CaseFormulaValue);
|
|
9572
|
-
getValue(variables: any): any;
|
|
9573
|
-
resolveValue(params: ResolveFormulaParams): Promise<unknown>;
|
|
9574
|
-
getSchema(variablesSchema: any): any;
|
|
9575
|
-
isValueValid(): boolean;
|
|
9576
|
-
transformVars(transformations: any): any;
|
|
9577
|
-
}
|
|
9578
|
-
|
|
9579
|
-
type AnyValue = any;
|
|
9580
|
-
type ConcatFormulaOptions = {
|
|
9581
|
-
delimiter?: AnyValue;
|
|
9582
|
-
values?: AnyValue[];
|
|
9583
|
-
};
|
|
9584
|
-
declare class DataBuilderFormulaConcat extends DataBuilderFormulaBase {
|
|
9585
|
-
options: ConcatFormulaOptions | null;
|
|
9586
|
-
delimiter: AnyValue;
|
|
9587
|
-
values: AnyValue[];
|
|
9588
|
-
constructor(options: ConcatFormulaOptions | null);
|
|
9589
|
-
getValue(variables: any): string | undefined;
|
|
9590
|
-
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
9591
|
-
getSchema(): {
|
|
9592
|
-
type: string;
|
|
9593
|
-
};
|
|
9594
|
-
toString(variablesSchema: any): string;
|
|
9595
|
-
}
|
|
9596
|
-
|
|
9597
|
-
declare class DataBuilderFormulaCopy extends DataBuilderFormulaBase {
|
|
9598
|
-
locator: string;
|
|
9599
|
-
constructor(locator: string);
|
|
9600
|
-
getValue(variables: any): {
|
|
9601
|
-
$copy: any;
|
|
9602
|
-
};
|
|
9603
|
-
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
9604
|
-
getSchema(): null;
|
|
9605
|
-
}
|
|
9606
|
-
|
|
9607
|
-
interface DataSchemaRegArgsDataCollection {
|
|
9608
|
-
type: 'data-collection';
|
|
9609
|
-
key: unknown;
|
|
9610
|
-
parameters?: unknown;
|
|
9611
|
-
}
|
|
9612
|
-
interface DataSchemaRegArgsInternalDataSchema {
|
|
9613
|
-
type: 'internal-data-schema';
|
|
9614
|
-
key: unknown;
|
|
9615
|
-
}
|
|
9616
|
-
type DataSchemaRefArgs = DataSchemaRegArgsDataCollection | DataSchemaRegArgsInternalDataSchema;
|
|
9617
|
-
declare class DataSchemaRef extends DataBuilderFormulaBase<DataSchemaRefArgs> {
|
|
9618
|
-
value: any;
|
|
9619
|
-
constructor(value: any);
|
|
9620
|
-
getValue(): undefined;
|
|
9621
|
-
resolveValue(params: ResolveFormulaParams): Promise<DataSchema | undefined>;
|
|
9622
|
-
resolveDataCollection(args: DataSchemaRegArgsDataCollection, params: ResolveFormulaParams): Promise<DataSchema | undefined>;
|
|
9623
|
-
resolveInternalDataSchema(args: DataSchemaRegArgsInternalDataSchema, params: ResolveFormulaParams): Promise<DataSchema | undefined>;
|
|
9624
|
-
getSchema(): {
|
|
9625
|
-
type: string;
|
|
9626
|
-
};
|
|
9627
|
-
}
|
|
9628
|
-
|
|
9629
|
-
declare class DomainFromEmail extends DataBuilderFormulaBase {
|
|
9630
|
-
value: any;
|
|
9631
|
-
constructor(value: any);
|
|
9632
|
-
getValue(variables: any): string | undefined;
|
|
9633
|
-
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
9634
|
-
getSchema(): {
|
|
9635
|
-
type: string;
|
|
9636
|
-
};
|
|
9637
|
-
}
|
|
9638
|
-
|
|
9639
|
-
interface EvalOperator {
|
|
9640
|
-
key: string;
|
|
9641
|
-
name: string;
|
|
9642
|
-
operandSchema: any;
|
|
9643
|
-
hasOperand: boolean;
|
|
9644
|
-
}
|
|
9645
|
-
declare class Eval extends DataBuilderFormulaBase {
|
|
9646
|
-
value: any;
|
|
9647
|
-
operatorKey: string;
|
|
9648
|
-
operand: any;
|
|
9649
|
-
constructor(args: any, formulaValue: any);
|
|
9650
|
-
getAvailableOperators(variablesSchema: DataSchema): EvalOperator[];
|
|
9651
|
-
getOperator(variablesSchema: any): EvalOperator;
|
|
9652
|
-
getValue(variables: any): boolean;
|
|
9653
|
-
resolveValue(params: ResolveFormulaParams): Promise<boolean>;
|
|
9654
|
-
getSchema(): {
|
|
9655
|
-
type: string;
|
|
9656
|
-
};
|
|
9657
|
-
toObject(): {
|
|
9658
|
-
$eval: any;
|
|
9659
|
-
};
|
|
9660
|
-
transformVars(transformations: any): {
|
|
9661
|
-
[x: string]: any;
|
|
9662
|
-
$eval: any;
|
|
9663
|
-
} | undefined;
|
|
9664
|
-
}
|
|
9665
|
-
|
|
9666
|
-
declare class DataBuilderFormulaExtractDate extends DataBuilderFormulaBase {
|
|
9667
|
-
value: any;
|
|
9668
|
-
constructor(value: any);
|
|
9669
|
-
getValue(variables: any): string | undefined;
|
|
9670
|
-
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
9671
|
-
getSchema(): {
|
|
9672
|
-
type: string;
|
|
9673
|
-
format: string;
|
|
9674
|
-
};
|
|
9675
|
-
}
|
|
9676
|
-
|
|
9677
|
-
declare class DataBuilderFormulaExtractTime extends DataBuilderFormulaBase {
|
|
9678
|
-
value: any;
|
|
9679
|
-
constructor(value: any);
|
|
9680
|
-
getValue(variables: any): string;
|
|
9681
|
-
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
9682
|
-
getSchema(): {
|
|
9683
|
-
type: string;
|
|
9684
|
-
format: string;
|
|
9685
|
-
};
|
|
9686
|
-
}
|
|
9687
|
-
|
|
9688
|
-
interface FindAppRecordIdArgs {
|
|
9689
|
-
dataLinkTable: DataLinkTableConfig;
|
|
9690
|
-
recordId: string;
|
|
9691
|
-
}
|
|
9692
|
-
declare class DataBuilderFormulaFindAppRecordId extends DataBuilderFormulaBase {
|
|
9693
|
-
args: FindAppRecordIdArgs;
|
|
9694
|
-
constructor(args: FindAppRecordIdArgs);
|
|
9695
|
-
getValue(variables: any): {
|
|
9696
|
-
$findAppRecordId: any;
|
|
9697
|
-
};
|
|
9698
|
-
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
9699
|
-
getSchema(): {
|
|
9700
|
-
type: string;
|
|
9701
|
-
};
|
|
9702
|
-
}
|
|
9703
|
-
|
|
9704
|
-
interface FindExternalRecordIdArgs {
|
|
9705
|
-
dataLinkTable: DataLinkTableConfig;
|
|
9706
|
-
recordId: string;
|
|
9707
|
-
}
|
|
9708
|
-
declare class DataBuilderFormulaFindExternalRecordId extends DataBuilderFormulaBase {
|
|
9709
|
-
args: FindExternalRecordIdArgs;
|
|
9710
|
-
constructor(args: FindExternalRecordIdArgs);
|
|
9711
|
-
getValue(variables: any): {
|
|
9712
|
-
$findExternalRecordId: any;
|
|
9713
|
-
};
|
|
9714
|
-
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
9715
|
-
getSchema(): {
|
|
9716
|
-
type: string;
|
|
9717
|
-
};
|
|
9718
|
-
}
|
|
9719
|
-
|
|
9720
|
-
declare class DataBuilderFormulaFirstName extends DataBuilderFormulaBase {
|
|
9721
|
-
value: any;
|
|
9722
|
-
constructor(value: any);
|
|
9723
|
-
getValue(variables: any): any;
|
|
9724
|
-
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
9725
|
-
getSchema(): {
|
|
9726
|
-
type: string;
|
|
9727
|
-
};
|
|
9728
|
-
}
|
|
9729
|
-
|
|
9730
|
-
declare class FirstNotEmpty extends DataBuilderFormulaBase {
|
|
9731
|
-
constructor(args: any[]);
|
|
9732
|
-
getValue(variables: any): any;
|
|
9733
|
-
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
9734
|
-
getSchema(variablesSchema: any): any;
|
|
9735
|
-
}
|
|
9736
|
-
|
|
9737
|
-
declare class FormulaFormula extends DataBuilderFormulaBase {
|
|
9738
|
-
constructor(args: any);
|
|
9739
|
-
getValue(variables: any): any;
|
|
9740
|
-
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
9741
|
-
getSchema(): undefined;
|
|
9742
|
-
transformVars(transformations: any): any;
|
|
9743
|
-
}
|
|
9744
|
-
|
|
9745
|
-
interface IterateArguments {
|
|
9746
|
-
source: any;
|
|
9747
|
-
item?: any;
|
|
9748
|
-
}
|
|
9749
|
-
declare class DataBuilderFormulaIterate extends DataBuilderFormulaBase {
|
|
9750
|
-
args: IterateArguments;
|
|
9751
|
-
source: any;
|
|
9752
|
-
item: any;
|
|
9753
|
-
constructor(args: IterateArguments);
|
|
9754
|
-
getValue(variables: any): never[] | undefined;
|
|
9755
|
-
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
9756
|
-
getSchema(variablesSchema: any): {
|
|
9757
|
-
type: string;
|
|
9758
|
-
items: any;
|
|
9759
|
-
};
|
|
9760
|
-
getVariableLocators(): string[];
|
|
9761
|
-
transformVars(transformations: any): any;
|
|
9762
|
-
}
|
|
9763
|
-
|
|
9764
|
-
declare class JsonataFormula extends DataBuilderFormulaBase {
|
|
9765
|
-
expression: any;
|
|
9766
|
-
constructor(expression: any);
|
|
9767
|
-
getValue(variables: any): any;
|
|
9768
|
-
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
9769
|
-
getSchema(): any;
|
|
9770
|
-
}
|
|
9771
|
-
|
|
9772
|
-
declare class DataBuilderFormulaLastName extends DataBuilderFormulaBase {
|
|
9773
|
-
value: any;
|
|
9774
|
-
constructor(value: any);
|
|
9775
|
-
getValue(variables: any): any;
|
|
9776
|
-
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
9777
|
-
getSchema(): {
|
|
9778
|
-
type: string;
|
|
9779
|
-
};
|
|
9780
|
-
toString(variablesSchema: any): string;
|
|
9781
|
-
}
|
|
9782
|
-
|
|
9783
|
-
declare class DataBuilderFormulaLookup extends DataBuilderFormulaBase {
|
|
9784
|
-
value: LookupValue;
|
|
9785
|
-
constructor(value: LookupValue);
|
|
9786
|
-
getValue(variables: any): {
|
|
9787
|
-
$lookup: any;
|
|
9788
|
-
};
|
|
9789
|
-
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
9790
|
-
getSchema(): {
|
|
9791
|
-
type: string;
|
|
9792
|
-
};
|
|
9793
|
-
}
|
|
9794
|
-
|
|
9795
|
-
interface MappingItem {
|
|
9796
|
-
from: any;
|
|
9797
|
-
to?: any;
|
|
9798
|
-
}
|
|
9799
|
-
interface MapFormulaValue {
|
|
9800
|
-
value: any;
|
|
9801
|
-
mapping: MappingItem[];
|
|
9802
|
-
default?: any;
|
|
9803
|
-
}
|
|
9804
|
-
declare class DataBuilderFormulaMap extends DataBuilderFormulaBase {
|
|
9805
|
-
args: MapFormulaValue;
|
|
9806
|
-
constructor(args: MapFormulaValue);
|
|
9807
|
-
getValue(variables: any): any;
|
|
9808
|
-
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
9809
|
-
getSchema(variablesSchema: any): any;
|
|
9810
|
-
}
|
|
9811
|
-
|
|
9812
|
-
declare class MergeObjects extends DataBuilderFormulaBase {
|
|
9813
|
-
constructor(args: any[]);
|
|
9814
|
-
getValue(variables: any): {} | undefined;
|
|
9815
|
-
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
9816
|
-
getSchema(variablesSchema: any): {
|
|
9817
|
-
type: string;
|
|
9818
|
-
properties: {};
|
|
9819
|
-
} | {
|
|
9820
|
-
type: string;
|
|
9821
|
-
};
|
|
9822
|
-
}
|
|
9823
|
-
|
|
9824
|
-
declare class Or extends DataBuilderFormulaBase {
|
|
9825
|
-
constructor(args: any[]);
|
|
9826
|
-
getValue(variables: any): boolean | undefined;
|
|
9827
|
-
resolveValue(params: ResolveFormulaParams): Promise<boolean | undefined>;
|
|
9828
|
-
getSchema(): {
|
|
9829
|
-
type: string;
|
|
9830
|
-
};
|
|
9831
|
-
}
|
|
9832
|
-
|
|
9833
|
-
declare class DataBuilderFormulaPlain extends DataBuilderFormulaBase {
|
|
9834
|
-
value: any;
|
|
9835
|
-
constructor(value: any);
|
|
9836
|
-
getValue(): any;
|
|
9837
|
-
resolveValue(_params: ResolveFormulaParams): Promise<any>;
|
|
9838
|
-
getSchema(): any;
|
|
9839
|
-
}
|
|
9840
|
-
|
|
9841
|
-
declare class DataBuilderFormulaRecord extends DataBuilderFormulaBase {
|
|
9842
|
-
record: DataRecord;
|
|
9843
|
-
constructor(record: DataRecord);
|
|
9844
|
-
getValue(): string;
|
|
9845
|
-
resolveValue(_params: ResolveFormulaParams): Promise<string | undefined>;
|
|
9846
|
-
getSchema(): {
|
|
9847
|
-
type: string;
|
|
9848
|
-
};
|
|
9849
|
-
}
|
|
9850
|
-
|
|
9851
|
-
type TplFormulaArgs = {
|
|
9852
|
-
template: string;
|
|
9853
|
-
values: Record<string, any>;
|
|
9854
|
-
};
|
|
9855
|
-
declare class DataBuilderFormulaTpl extends DataBuilderFormulaBase {
|
|
9856
|
-
args: TplFormulaArgs;
|
|
9857
|
-
constructor(args: TplFormulaArgs);
|
|
9858
|
-
getValue(variables: any): string;
|
|
9859
|
-
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
9860
|
-
getSchema(): {
|
|
9861
|
-
type: string;
|
|
9862
|
-
};
|
|
9863
|
-
}
|
|
9864
|
-
|
|
9865
|
-
declare class DataBuilderFormulaVar extends DataBuilderFormulaBase {
|
|
9866
|
-
locator: string;
|
|
9867
|
-
constructor(locator: string);
|
|
9868
|
-
getValue(variables: any): any;
|
|
9869
|
-
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
9870
|
-
getSchema(variablesSchema: any): any;
|
|
9871
|
-
toString(variablesSchema: any): string;
|
|
9872
|
-
getVariableLocators(): string[];
|
|
9873
|
-
transformVars(transformations: any): any;
|
|
9874
|
-
}
|
|
9875
|
-
|
|
9876
|
-
declare const Formula: {
|
|
9877
|
-
Var: typeof DataBuilderFormulaVar;
|
|
9878
|
-
Record: typeof DataBuilderFormulaRecord;
|
|
9879
|
-
Tpl: typeof DataBuilderFormulaTpl;
|
|
9880
|
-
Lookup: typeof DataBuilderFormulaLookup;
|
|
9881
|
-
Plain: typeof DataBuilderFormulaPlain;
|
|
9882
|
-
Map: typeof DataBuilderFormulaMap;
|
|
9883
|
-
And: typeof And;
|
|
9884
|
-
Or: typeof Or;
|
|
9885
|
-
MergeObjects: typeof MergeObjects;
|
|
9886
|
-
FirstNotEmpty: typeof FirstNotEmpty;
|
|
9887
|
-
DomainFromEmail: typeof DomainFromEmail;
|
|
9888
|
-
Formula: typeof FormulaFormula;
|
|
9889
|
-
Base: typeof DataBuilderFormulaBase;
|
|
9890
|
-
Case: typeof DataBuilderFormulaCase;
|
|
9891
|
-
Concat: typeof DataBuilderFormulaConcat;
|
|
9892
|
-
Copy: typeof DataBuilderFormulaCopy;
|
|
9893
|
-
Eval: typeof Eval;
|
|
9894
|
-
ExtractDate: typeof DataBuilderFormulaExtractDate;
|
|
9895
|
-
ExtractTime: typeof DataBuilderFormulaExtractTime;
|
|
9896
|
-
FindAppRecordId: typeof DataBuilderFormulaFindAppRecordId;
|
|
9897
|
-
FindExternalRecordId: typeof DataBuilderFormulaFindExternalRecordId;
|
|
9898
|
-
FirstName: typeof DataBuilderFormulaFirstName;
|
|
9899
|
-
LastName: typeof DataBuilderFormulaLastName;
|
|
9900
|
-
Iterate: typeof DataBuilderFormulaIterate;
|
|
9901
|
-
Jsonata: typeof JsonataFormula;
|
|
9902
|
-
DataSchemaRef: typeof DataSchemaRef;
|
|
9903
|
-
};
|
|
9904
|
-
type Formula = {
|
|
9905
|
-
Var: DataBuilderFormulaVar;
|
|
9906
|
-
Record: DataBuilderFormulaRecord;
|
|
9907
|
-
Tpl: DataBuilderFormulaTpl;
|
|
9908
|
-
Lookup: DataBuilderFormulaLookup;
|
|
9909
|
-
Plain: DataBuilderFormulaPlain;
|
|
9910
|
-
Map: DataBuilderFormulaMap;
|
|
9911
|
-
And: And;
|
|
9912
|
-
Or: Or;
|
|
9913
|
-
MergeObjects: MergeObjects;
|
|
9914
|
-
FirstNotEmpty: FirstNotEmpty;
|
|
9915
|
-
DomainFromEmail: DomainFromEmail;
|
|
9916
|
-
Formula: FormulaFormula;
|
|
9917
|
-
Base: DataBuilderFormulaBase;
|
|
9918
|
-
Case: DataBuilderFormulaCase;
|
|
9919
|
-
Concat: DataBuilderFormulaConcat;
|
|
9920
|
-
Copy: DataBuilderFormulaCopy;
|
|
9921
|
-
Eval: Eval;
|
|
9922
|
-
ExtractDate: DataBuilderFormulaExtractDate;
|
|
9923
|
-
ExtractTime: DataBuilderFormulaExtractTime;
|
|
9924
|
-
FindAppRecordId: DataBuilderFormulaFindAppRecordId;
|
|
9925
|
-
FindExternalRecordId: DataBuilderFormulaFindExternalRecordId;
|
|
9926
|
-
FirstName: DataBuilderFormulaFirstName;
|
|
9927
|
-
LastName: DataBuilderFormulaLastName;
|
|
9928
|
-
Iterate: DataBuilderFormulaIterate;
|
|
9929
|
-
Jsonata: JsonataFormula;
|
|
9930
|
-
DataSchemaRef: DataSchemaRef;
|
|
9931
|
-
};
|
|
9932
|
-
declare function isFormula(value: any): boolean;
|
|
9933
|
-
declare function hasFormulas(value: any): any;
|
|
9934
|
-
declare function getFormula(value: any): DataBuilderFormulaBase | undefined;
|
|
9935
|
-
|
|
9936
|
-
declare function getErrorFromData(data: any): any;
|
|
9937
|
-
declare function extractMembraneErrorData(error: any): ErrorData;
|
|
9938
|
-
|
|
9939
|
-
interface DataField {
|
|
9940
|
-
name: string;
|
|
9941
|
-
locator: string;
|
|
9942
|
-
schema: DataSchema;
|
|
9943
|
-
value: any;
|
|
9944
|
-
}
|
|
9945
|
-
|
|
9946
|
-
interface DataFormArgs {
|
|
9947
|
-
schema: DataSchema;
|
|
9948
|
-
value: any;
|
|
9949
|
-
variablesSchema?: DataSchema;
|
|
9950
|
-
}
|
|
9951
|
-
interface FieldValueOption {
|
|
9952
|
-
name: string;
|
|
9953
|
-
value: any;
|
|
9954
|
-
selected?: boolean;
|
|
9955
|
-
}
|
|
9956
|
-
interface DataForm extends DataFormArgs {
|
|
9957
|
-
}
|
|
9958
|
-
declare class DataForm {
|
|
9959
|
-
constructor(args: DataFormArgs);
|
|
9960
|
-
getFields(): DataField[];
|
|
9961
|
-
getFieldValueOptions(field: DataField): FieldValueOption[];
|
|
9962
|
-
setFieldValue(field: DataField, value: any): any;
|
|
9963
|
-
private makeDataField;
|
|
9964
|
-
}
|
|
9965
|
-
|
|
9966
|
-
declare function updateImpliedSchema({ schema, value, variablesSchema, }: {
|
|
9967
|
-
schema: DataSchema | undefined;
|
|
9968
|
-
value: any;
|
|
9969
|
-
variablesSchema?: DataSchema;
|
|
9970
|
-
}): DataSchema | undefined;
|
|
9971
|
-
declare function updateImpliedSchema({ schema, value, variablesSchema, }: {
|
|
9972
|
-
schema: DataSchema;
|
|
9973
|
-
value: any;
|
|
9974
|
-
variablesSchema?: DataSchema | undefined;
|
|
9975
|
-
}): DataSchema;
|
|
9976
|
-
declare function schemaHasProperties(schema?: DataSchema): boolean;
|
|
9977
|
-
declare function nonEmptyObjectProperties(properties: Record<string, DataSchema | undefined | null>): Record<string, DataSchema>;
|
|
9978
|
-
declare function schemaTypeFromValue(value: any): "object" | "boolean" | "number" | "string" | "array" | undefined;
|
|
9979
|
-
declare function buildDataSchema(value: any, variablesSchema?: any): any;
|
|
9980
|
-
declare function getSchemaFromValue(value: any, variablesSchema: any, ignoreFormulas?: boolean): any;
|
|
9981
|
-
interface ValueToSchemaOptions {
|
|
9982
|
-
addDefaults?: boolean;
|
|
9983
|
-
skipUnknownFields?: boolean;
|
|
9984
|
-
skipReadOnlyFields?: boolean;
|
|
9985
|
-
normalizeValues?: boolean;
|
|
9986
|
-
valueHasFormulas?: boolean;
|
|
9987
|
-
}
|
|
9988
|
-
declare function valueToSchema(value: any, schema: DataSchema | undefined, options?: ValueToSchemaOptions, field?: string): any;
|
|
9989
|
-
declare function schemaIsScalar(schema: DataSchema): boolean;
|
|
9990
|
-
declare function schemaHasFixedValues(schema: DataSchema): boolean;
|
|
9991
|
-
declare function schemaAllowsCustomValue(schema: DataSchema): boolean | undefined;
|
|
9992
|
-
declare function schemaIsNumber(schema: DataSchema): boolean;
|
|
9993
|
-
declare function schemaWithTitle(schema: DataSchema, title: string): DataSchema;
|
|
9994
|
-
declare function schemaWithTitle(schema: DataSchema | undefined, title: string): DataSchema | undefined;
|
|
9995
|
-
declare function pickFieldsFromSchema(schema: DataSchema | undefined, fields: string[] | undefined): any;
|
|
9996
|
-
declare function excludeReadOnlyFieldsFromSchema(schema?: DataSchema): DataSchema | undefined;
|
|
9997
|
-
declare function excludeWriteOnlyFieldsFromSchema(schema?: DataSchema): DataSchema | undefined;
|
|
9998
|
-
declare function excludeFieldsFromSchema(schema: DataSchema | undefined, fields: string[] | undefined): any;
|
|
9999
|
-
declare function getRequiredFieldsFromSchema(schema: DataSchema): string[];
|
|
10000
|
-
declare function addRequiredFieldsToSchema(schema: DataSchema | undefined, fields: string[] | undefined): any;
|
|
10001
|
-
declare function removeRequiredFieldsFromSchema(schema: DataSchema): any;
|
|
10002
|
-
declare function getMissingRequiredFields(schema: DataSchema | undefined, value: any): string[];
|
|
10003
|
-
declare function populateSchemaTitles(schema: DataSchema | undefined): DataSchema | undefined;
|
|
10004
|
-
declare function populateSchemaTitles(schema: DataSchema): DataSchema;
|
|
10005
|
-
declare function generateExampleFromSchema(schema: DataSchema | undefined): any;
|
|
10006
|
-
declare function isSchemaEmpty(schema: DataSchema): boolean;
|
|
10007
|
-
declare function compressDataSchema(schema: DataSchema): DataSchema;
|
|
10008
|
-
declare function walkSchema(schema: DataSchema | undefined, callback: (schema: DataSchema, locator: string) => DataSchema | undefined, locator?: string): DataSchema | undefined;
|
|
10009
|
-
|
|
10010
|
-
declare function parseDate(value: any): Date | undefined;
|
|
10011
|
-
|
|
10012
|
-
declare function isBusinessDay(date: Date): boolean;
|
|
10013
|
-
declare function getBusinessDaysBetween(startDate: Date, endDate: Date): Set<string>;
|
|
10014
|
-
|
|
10015
|
-
declare enum LogRecordType {
|
|
10016
|
-
MSG = "message",
|
|
10017
|
-
TEXT = "text",
|
|
10018
|
-
ERR = "error",
|
|
10019
|
-
DATA = "data",
|
|
10020
|
-
COMP = "compare",
|
|
10021
|
-
API = "api-request"
|
|
10022
|
-
}
|
|
10023
|
-
interface LogRecord {
|
|
10024
|
-
type?: LogRecordType;
|
|
10025
|
-
msg?: string;
|
|
10026
|
-
data?: any;
|
|
10027
|
-
}
|
|
10028
|
-
|
|
10029
|
-
type WithExecutionLogs<T extends Record<string, any>> = T & {
|
|
10030
|
-
logs?: any[];
|
|
10031
|
-
};
|
|
10032
|
-
declare function isStream(obj: any): boolean;
|
|
10033
|
-
declare function streamToString(stream: Readable): Promise<string>;
|
|
10034
|
-
declare function truncateData(data: any, depth?: number): any;
|
|
10035
|
-
|
|
10036
|
-
declare enum UsageType {
|
|
10037
|
-
FLOW_RUNS_DURATION = "flow-runs-duration",
|
|
10038
|
-
FLOW_RUNS_NUMBER = "flow-runs-number",
|
|
10039
|
-
FLOW_RUNS_LOG_SIZE = "flow-runs-log-size",
|
|
10040
|
-
API_LOGS_NUMBER = "api-logs-number",
|
|
10041
|
-
API_LOGS_SIZE = "api-logs-size",
|
|
10042
|
-
WEBHOOK_LOGS_NUMBER = "webhook-logs-number",
|
|
10043
|
-
WEBHOOK_LOGS_SIZE = "webhook-logs-size",
|
|
10044
|
-
EVENT_LOGS_NUMBER = "event-logs-number",
|
|
10045
|
-
EVENT_LOGS_SIZE = "event-logs-size",
|
|
10046
|
-
EVENT_LOGS_DURATION = "event-logs-duration",
|
|
10047
|
-
EXTERNAL_EVENTS_PULL_DURATION = "external-events-pull-duration",
|
|
10048
|
-
EXTERNAL_EVENT_PULL_NUMBER = "external-event-pull-number",
|
|
10049
|
-
EXTERNAL_EVENT_PULL_LOG_SIZE = "external-event-pull-log-size",
|
|
10050
|
-
APP_EVENTS_NUMBER = "app-events-number",
|
|
10051
|
-
APP_EVENTS_SIZE = "app-events-size",
|
|
10052
|
-
FILES_UPLOAD_NUMBER = "files-upload-number",
|
|
10053
|
-
FILES_UPLOAD_SIZE = "files-upload-size",
|
|
10054
|
-
CUSTOM_CODE_RUNTIME_DURATION = "custom-code-runtime-duration",
|
|
10055
|
-
MEMBRANE_AGENT = "membrane-agent"
|
|
10056
|
-
}
|
|
10057
|
-
interface UsageWithCredits {
|
|
10058
|
-
key: UsageType;
|
|
10059
|
-
value: number;
|
|
10060
|
-
credits: number;
|
|
10061
|
-
}
|
|
10062
|
-
interface UsageEntry {
|
|
10063
|
-
workspaceId?: string;
|
|
10064
|
-
orgId?: string;
|
|
10065
|
-
customerId?: string;
|
|
10066
|
-
connectionId?: string;
|
|
10067
|
-
key: UsageType;
|
|
10068
|
-
time: string;
|
|
10069
|
-
value: number;
|
|
10070
|
-
}
|
|
10071
|
-
|
|
10072
|
-
declare function getNodeInputSchema(flow: FlowInstance, nodeKey: string): any;
|
|
10073
|
-
declare function getFlowNodeConfigTimeVariablesSchema({ parametersSchema, userSchema, }: {
|
|
10074
|
-
parametersSchema: DataSchema;
|
|
10075
|
-
userSchema: DataSchema;
|
|
10076
|
-
}): DataSchema;
|
|
10077
|
-
declare function getActionRunTimeVariablesSchema({ inputSchema, userSchema }: {
|
|
10078
|
-
inputSchema: any;
|
|
10079
|
-
userSchema: any;
|
|
10080
|
-
}): DataSchema;
|
|
10081
|
-
declare function getActionInstanceVariableSchema(): {
|
|
10082
|
-
type: string;
|
|
10083
|
-
properties: {
|
|
10084
|
-
id: {
|
|
10085
|
-
type: string;
|
|
10086
|
-
};
|
|
10087
|
-
instanceKey: {
|
|
10088
|
-
type: string;
|
|
10089
|
-
};
|
|
10090
|
-
};
|
|
10091
|
-
};
|
|
10092
|
-
declare function getFlowNodeRunTimeVariablesSchema({ parametersSchema, inputSchema, userSchema, }: {
|
|
10093
|
-
parametersSchema: DataSchema;
|
|
10094
|
-
inputSchema: DataSchema;
|
|
10095
|
-
userSchema: DataSchema;
|
|
10096
|
-
}): DataSchema;
|
|
10097
|
-
|
|
10098
|
-
interface WorkspaceUpdate {
|
|
10099
|
-
id: string;
|
|
10100
|
-
path: string;
|
|
10101
|
-
before?: unknown;
|
|
10102
|
-
after?: unknown;
|
|
10103
|
-
}
|
|
10104
|
-
|
|
10105
|
-
declare enum OrgLimitsType {
|
|
10106
|
-
NUMBER_OF_WORKSPACES = "numberOfWorkspaces",
|
|
10107
|
-
TODAY_USAGE = "todayUsage",
|
|
10108
|
-
LAST_THIRTY_DAY_USAGE = "lastThirtyDayUsage",
|
|
10109
|
-
MEMBRANE_EXPERT_CREDITS_CAP = "membraneExpertCreditsCapPerMonth"
|
|
10110
|
-
}
|
|
10111
|
-
interface Org {
|
|
10112
|
-
id: string;
|
|
10113
|
-
key: string;
|
|
10114
|
-
secret?: string;
|
|
10115
|
-
name: string;
|
|
10116
|
-
createdAt: Date;
|
|
10117
|
-
updatedAt: Date;
|
|
10118
|
-
trialEndDate?: string;
|
|
10119
|
-
lastTrialExtensionDate?: string;
|
|
10120
|
-
limits?: OrgLimits;
|
|
10121
|
-
lastThirtyDayUsagePercent?: number;
|
|
10122
|
-
todayUsagePercent?: number;
|
|
10123
|
-
featureFlags?: string[];
|
|
10124
|
-
freeAiMonthlyCredits?: number;
|
|
10125
|
-
paidAiCredits?: number;
|
|
10126
|
-
}
|
|
10127
|
-
declare enum OrgUserRole {
|
|
10128
|
-
Admin = "admin",
|
|
10129
|
-
Member = "member"
|
|
10130
|
-
}
|
|
10131
|
-
declare enum OrgUserStatus {
|
|
10132
|
-
Invited = "invited",
|
|
10133
|
-
Active = "active"
|
|
10134
|
-
}
|
|
10135
|
-
interface PlatformUser {
|
|
10136
|
-
id: string;
|
|
10137
|
-
email: string;
|
|
10138
|
-
name: string;
|
|
10139
|
-
trialRequested: boolean;
|
|
10140
|
-
}
|
|
10141
|
-
interface OrgUser {
|
|
10142
|
-
id: string;
|
|
10143
|
-
orgId: string;
|
|
10144
|
-
userId: string;
|
|
10145
|
-
role: OrgUserRole;
|
|
10146
|
-
status: OrgUserStatus;
|
|
10147
|
-
workspaces: string[];
|
|
10148
|
-
user: PlatformUser;
|
|
10149
|
-
}
|
|
10150
|
-
interface OrgWorkspace {
|
|
10151
|
-
id: string;
|
|
10152
|
-
key: string;
|
|
10153
|
-
name: string;
|
|
10154
|
-
orgId: string;
|
|
10155
|
-
logoUri?: string;
|
|
10156
|
-
secret: string;
|
|
10157
|
-
createdAt: Date;
|
|
10158
|
-
updatedAt: Date;
|
|
10159
|
-
archivedAt?: Date;
|
|
10160
|
-
trialEndDate?: string;
|
|
10161
|
-
featureFlags?: string[];
|
|
10162
|
-
}
|
|
10163
|
-
interface OrgLimits {
|
|
10164
|
-
[OrgLimitsType.NUMBER_OF_WORKSPACES]?: number;
|
|
10165
|
-
[OrgLimitsType.TODAY_USAGE]?: number;
|
|
10166
|
-
[OrgLimitsType.LAST_THIRTY_DAY_USAGE]?: number;
|
|
10167
|
-
[OrgLimitsType.MEMBRANE_EXPERT_CREDITS_CAP]?: number | null;
|
|
10168
|
-
}
|
|
10169
|
-
declare const OrgLimits: z.ZodOptional<z.ZodObject<{
|
|
10170
|
-
numberOfWorkspaces: z.ZodOptional<z.ZodNumber>;
|
|
10171
|
-
todayUsage: z.ZodOptional<z.ZodNumber>;
|
|
10172
|
-
lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
|
|
10173
|
-
membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
|
|
10174
|
-
membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10175
|
-
}, z.core.$strip>>;
|
|
10176
|
-
interface MembraneAgentKey {
|
|
10177
|
-
key: string;
|
|
10178
|
-
activityDate: Date;
|
|
10179
|
-
hash: string;
|
|
9518
|
+
declare const OrgLimits: z.ZodOptional<z.ZodObject<{
|
|
9519
|
+
numberOfWorkspaces: z.ZodOptional<z.ZodNumber>;
|
|
9520
|
+
todayUsage: z.ZodOptional<z.ZodNumber>;
|
|
9521
|
+
lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
|
|
9522
|
+
membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
|
|
9523
|
+
membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9524
|
+
}, z.core.$strip>>;
|
|
9525
|
+
interface MembraneAgentKey {
|
|
9526
|
+
key: string;
|
|
9527
|
+
activityDate: Date;
|
|
9528
|
+
hash: string;
|
|
10180
9529
|
}
|
|
10181
9530
|
declare const MembraneAgentKey: z.ZodOptional<z.ZodObject<{
|
|
10182
9531
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -10205,6 +9554,10 @@ declare const OrgSchema: z.ZodObject<{
|
|
|
10205
9554
|
freeAiMonthlyCredits: z.ZodOptional<z.ZodNumber>;
|
|
10206
9555
|
paidAiCredits: z.ZodOptional<z.ZodNumber>;
|
|
10207
9556
|
stripeCustomerId: z.ZodOptional<z.ZodString>;
|
|
9557
|
+
autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
9558
|
+
autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
|
|
9559
|
+
autoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
|
|
9560
|
+
autoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
|
|
10208
9561
|
}, z.core.$strip>;
|
|
10209
9562
|
declare const AccountResponse: z.ZodObject<{
|
|
10210
9563
|
user: z.ZodOptional<z.ZodObject<{
|
|
@@ -10505,12 +9858,759 @@ declare const AccountResponse: z.ZodObject<{
|
|
|
10505
9858
|
freeAiMonthlyCredits: z.ZodOptional<z.ZodNumber>;
|
|
10506
9859
|
paidAiCredits: z.ZodOptional<z.ZodNumber>;
|
|
10507
9860
|
stripeCustomerId: z.ZodOptional<z.ZodString>;
|
|
9861
|
+
autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
9862
|
+
autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
|
|
9863
|
+
autoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
|
|
9864
|
+
autoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
|
|
10508
9865
|
}, z.core.$strip>>>;
|
|
10509
9866
|
permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10510
9867
|
message: z.ZodOptional<z.ZodString>;
|
|
10511
9868
|
error: z.ZodOptional<z.ZodString>;
|
|
10512
9869
|
}, z.core.$strip>;
|
|
10513
9870
|
|
|
9871
|
+
declare class SelfAccessor {
|
|
9872
|
+
private client;
|
|
9873
|
+
constructor(client: MembraneApiClient);
|
|
9874
|
+
get(): Promise<Customer>;
|
|
9875
|
+
patch(data: Partial<{
|
|
9876
|
+
credentials: any;
|
|
9877
|
+
}>): Promise<Customer>;
|
|
9878
|
+
}
|
|
9879
|
+
|
|
9880
|
+
interface Self {
|
|
9881
|
+
user: User;
|
|
9882
|
+
workspace: OrgWorkspace;
|
|
9883
|
+
}
|
|
9884
|
+
|
|
9885
|
+
declare enum DataBuilderFormulaType {
|
|
9886
|
+
VAR = "var",
|
|
9887
|
+
COPY = "copy",
|
|
9888
|
+
TPL = "tpl",
|
|
9889
|
+
RECORD = "record",
|
|
9890
|
+
LOOKUP = "lookup",
|
|
9891
|
+
PLAIN = "plain",
|
|
9892
|
+
MAP = "map",
|
|
9893
|
+
CONCAT = "concat",
|
|
9894
|
+
FIRST_NAME = "firstName",
|
|
9895
|
+
LAST_NAME = "lastName",
|
|
9896
|
+
ITERATE = "iterate",
|
|
9897
|
+
CASE = "case",
|
|
9898
|
+
EXTRACT_DATE = "extractDate",
|
|
9899
|
+
EXTRACT_TIME = "extractTime",
|
|
9900
|
+
FIND_EXTERNAL_RECORD_ID = "findExternalRecordId",
|
|
9901
|
+
FIND_APP_RECORD_ID = "findAppRecordId",
|
|
9902
|
+
EVAL = "eval",
|
|
9903
|
+
AND = "and",
|
|
9904
|
+
OR = "or",
|
|
9905
|
+
MERGE_OBJECTS = "mergeObjects",
|
|
9906
|
+
FIRST_NOT_EMPTY = "firstNotEmpty",
|
|
9907
|
+
DOMAIN_FROM_EMAIL = "domainFromEmail",
|
|
9908
|
+
FORMULA = "formula",
|
|
9909
|
+
JSONATA = "jsonata",
|
|
9910
|
+
DATA_SCHEMA_REF = "dataSchemaRef"
|
|
9911
|
+
}
|
|
9912
|
+
|
|
9913
|
+
interface LookupValue {
|
|
9914
|
+
query: Record<string, any>;
|
|
9915
|
+
createIfNotFound?: boolean;
|
|
9916
|
+
create?: {
|
|
9917
|
+
fields: any;
|
|
9918
|
+
};
|
|
9919
|
+
}
|
|
9920
|
+
interface DataBuilderFormula {
|
|
9921
|
+
resolveValue(params: ResolveFormulaParams): Promise<unknown>;
|
|
9922
|
+
getValue(variables: any): any;
|
|
9923
|
+
getSchema(variablesSchema: any): any;
|
|
9924
|
+
toObject(): any;
|
|
9925
|
+
toString(variablesSchema?: any): string;
|
|
9926
|
+
}
|
|
9927
|
+
interface ResolveFormulaParams {
|
|
9928
|
+
variables?: unknown;
|
|
9929
|
+
schema?: DataSchema | undefined;
|
|
9930
|
+
getDataCollection?: (key: string, parameters?: Record<string, unknown>) => Promise<DataCollectionSpec>;
|
|
9931
|
+
getInternalDataSchema?: (key: string) => Promise<DataSchema>;
|
|
9932
|
+
resolveImportDataLink?: (options: {
|
|
9933
|
+
dataLinkTableKey: string;
|
|
9934
|
+
recordId: string;
|
|
9935
|
+
}) => Promise<string | undefined>;
|
|
9936
|
+
resolveExportDataLink?: (options: {
|
|
9937
|
+
dataLinkTableKey: string;
|
|
9938
|
+
recordId: string;
|
|
9939
|
+
}) => Promise<string | undefined>;
|
|
9940
|
+
resolveLookup?: ({ lookup, schema, fullValue, }: {
|
|
9941
|
+
lookup: LookupValue;
|
|
9942
|
+
schema: DataSchema | undefined;
|
|
9943
|
+
fullValue: unknown;
|
|
9944
|
+
}) => Promise<string | undefined>;
|
|
9945
|
+
fullValue?: unknown;
|
|
9946
|
+
}
|
|
9947
|
+
declare abstract class DataBuilderFormulaBase<ArgsType = any> implements DataBuilderFormula {
|
|
9948
|
+
type: DataBuilderFormulaType;
|
|
9949
|
+
args: ArgsType;
|
|
9950
|
+
constructor(type: DataBuilderFormulaType, args: ArgsType);
|
|
9951
|
+
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
9952
|
+
abstract getSchema(variablesSchema: any): any;
|
|
9953
|
+
toObject(): any;
|
|
9954
|
+
toString(_variablesSchema?: any): string;
|
|
9955
|
+
getVariableLocators(): string[];
|
|
9956
|
+
transformVars(transformations: any): any;
|
|
9957
|
+
abstract getValue(variables: any): any;
|
|
9958
|
+
}
|
|
9959
|
+
|
|
9960
|
+
declare let getFormula$1: (value: any) => DataBuilderFormulaBase | undefined;
|
|
9961
|
+
declare let isFormula$1: (value: any) => boolean;
|
|
9962
|
+
declare let hasFormulas$1: (value: any) => boolean;
|
|
9963
|
+
declare function injectFormulaCatalog(getFormulaFn: any, isFormulaFn: any, hasFormulasFn: any): void;
|
|
9964
|
+
|
|
9965
|
+
declare function buildData(value: any, variables?: any): any;
|
|
9966
|
+
declare function buildValue(value: any, variables: any): any;
|
|
9967
|
+
declare function __resolveValue<T = unknown>(value: unknown, params: ResolveFormulaParams): Promise<T>;
|
|
9968
|
+
declare function transformVars(value: any, transformations: Record<string, any>): any;
|
|
9969
|
+
declare function valueToString(value: any, variablesSchema: any): string;
|
|
9970
|
+
declare function resolveFormulas<T = unknown>(value: any, params: ResolveFormulaParams): Promise<T>;
|
|
9971
|
+
declare function processCopy(data: any): any;
|
|
9972
|
+
declare function getVariableLocators(data: any): string[];
|
|
9973
|
+
declare function removeNonExistentVars(value: any, schema: DataSchema): any;
|
|
9974
|
+
declare function transformVariablesWith(data: any, transformFunction: (locator: string) => string): any;
|
|
9975
|
+
|
|
9976
|
+
interface DataFilterOperator {
|
|
9977
|
+
type: string;
|
|
9978
|
+
name: string;
|
|
9979
|
+
operandSchema: any;
|
|
9980
|
+
}
|
|
9981
|
+
|
|
9982
|
+
declare function makeObjectPropertyLocator(objectLocator: string | undefined, propertyName: string): string;
|
|
9983
|
+
declare enum DataLocatorStepType {
|
|
9984
|
+
OBJECT_PROPERTY = "object_property",
|
|
9985
|
+
ARRAY_ITEM = "array_item"
|
|
9986
|
+
}
|
|
9987
|
+
declare class DataLocatorStep {
|
|
9988
|
+
type: DataLocatorStepType;
|
|
9989
|
+
}
|
|
9990
|
+
declare class DataLocatorStepObjectProperty extends DataLocatorStep {
|
|
9991
|
+
propertyName: string;
|
|
9992
|
+
constructor(propertyName: string);
|
|
9993
|
+
}
|
|
9994
|
+
declare class DataLocatorStepArrayItem extends DataLocatorStep {
|
|
9995
|
+
index: number;
|
|
9996
|
+
constructor(index: number);
|
|
9997
|
+
}
|
|
9998
|
+
type DataLocator = DataLocatorStep[] | string;
|
|
9999
|
+
declare class InvalidLocatorError extends Error {
|
|
10000
|
+
}
|
|
10001
|
+
declare function locatorToField(locator: string): string;
|
|
10002
|
+
declare function getLocatorsFromSchema(schema?: DataSchema, rootLocator?: string): string[];
|
|
10003
|
+
declare function getSchemaByLocator(schema: any, locator: DataLocator): any;
|
|
10004
|
+
declare function getValueByLocator(variables: any, locator: DataLocator): any;
|
|
10005
|
+
declare function findValueLocators(data: any, value: any): string[];
|
|
10006
|
+
declare function getValueAtLocator(data: any, locator: DataLocator): any;
|
|
10007
|
+
declare function setValueAtLocator(obj: any, locator: string, value: any): any;
|
|
10008
|
+
declare function pickFieldsFromValue(value: any, fields: string[]): any;
|
|
10009
|
+
declare function excludeFieldsFromValue(value: any, fields: string[]): any;
|
|
10010
|
+
declare function setSchemaAtLocator(schema: any, locator: DataLocator, schemaAtLocator: any): any;
|
|
10011
|
+
declare function extractFieldLocator(locator: string): string;
|
|
10012
|
+
declare function makeSchemaForLocator(locator: DataLocator, locatorSchema: any): any;
|
|
10013
|
+
declare function getNameForLocator(schema: any, locator: DataLocator): string | null | undefined;
|
|
10014
|
+
declare function getNameComponentsForLocator(schema: any, locator: DataLocator): string[] | undefined;
|
|
10015
|
+
declare function getFullNameForLocator(schema: any, locator: DataLocator): string | undefined;
|
|
10016
|
+
declare function getIconUriForLocator(schema: any, locator: DataLocator): string;
|
|
10017
|
+
declare function getLocatorsFromData(data: any, parentLocator?: string): any;
|
|
10018
|
+
declare const getFullTitleForLocator: typeof getFullNameForLocator;
|
|
10019
|
+
declare function isValidLocator(locator: DataLocator): boolean;
|
|
10020
|
+
declare function locatorToSteps(sourceLocator: DataLocator): DataLocatorStep[];
|
|
10021
|
+
declare function locatorToString(locator: DataLocator): string;
|
|
10022
|
+
declare function stepsToLocator(steps: DataLocatorStep[]): string;
|
|
10023
|
+
declare function createObjectFromLocators(locators?: string[], placeholderValue?: string): {};
|
|
10024
|
+
declare function getFormulaLocators(formulaType: string, data: any): string[];
|
|
10025
|
+
|
|
10026
|
+
declare function backwardCompatibleFilterMatch(filter: any, variables: any): any;
|
|
10027
|
+
declare function doesMatchFilter(data: any, filter: DataFilter): boolean;
|
|
10028
|
+
declare class DataFilterCondition {
|
|
10029
|
+
field: string;
|
|
10030
|
+
operator: string;
|
|
10031
|
+
value?: any | undefined;
|
|
10032
|
+
constructor(field: string, operator: string, value?: any | undefined);
|
|
10033
|
+
}
|
|
10034
|
+
type DataFilter = DataFilterCondition[];
|
|
10035
|
+
declare function getOperatorsBySchema(schema: any): DataFilterOperator[];
|
|
10036
|
+
declare function getFilterFieldValuesByLocator(data: any, locator: DataLocator): any[];
|
|
10037
|
+
|
|
10038
|
+
declare class And extends DataBuilderFormulaBase {
|
|
10039
|
+
constructor(args: any[]);
|
|
10040
|
+
getValue(variables: any): boolean | undefined;
|
|
10041
|
+
resolveValue(params: ResolveFormulaParams): Promise<boolean | undefined>;
|
|
10042
|
+
getSchema(): {
|
|
10043
|
+
type: string;
|
|
10044
|
+
};
|
|
10045
|
+
}
|
|
10046
|
+
|
|
10047
|
+
interface CaseFormulaValueItem {
|
|
10048
|
+
filter?: any;
|
|
10049
|
+
value?: any;
|
|
10050
|
+
}
|
|
10051
|
+
type CaseFormulaValue = {
|
|
10052
|
+
cases: CaseFormulaValueItem[];
|
|
10053
|
+
default?: any;
|
|
10054
|
+
};
|
|
10055
|
+
declare class DataBuilderFormulaCase extends DataBuilderFormulaBase {
|
|
10056
|
+
value: CaseFormulaValue;
|
|
10057
|
+
constructor(value: CaseFormulaValueItem[] | CaseFormulaValue);
|
|
10058
|
+
getValue(variables: any): any;
|
|
10059
|
+
resolveValue(params: ResolveFormulaParams): Promise<unknown>;
|
|
10060
|
+
getSchema(variablesSchema: any): any;
|
|
10061
|
+
isValueValid(): boolean;
|
|
10062
|
+
transformVars(transformations: any): any;
|
|
10063
|
+
}
|
|
10064
|
+
|
|
10065
|
+
type AnyValue = any;
|
|
10066
|
+
type ConcatFormulaOptions = {
|
|
10067
|
+
delimiter?: AnyValue;
|
|
10068
|
+
values?: AnyValue[];
|
|
10069
|
+
};
|
|
10070
|
+
declare class DataBuilderFormulaConcat extends DataBuilderFormulaBase {
|
|
10071
|
+
options: ConcatFormulaOptions | null;
|
|
10072
|
+
delimiter: AnyValue;
|
|
10073
|
+
values: AnyValue[];
|
|
10074
|
+
constructor(options: ConcatFormulaOptions | null);
|
|
10075
|
+
getValue(variables: any): string | undefined;
|
|
10076
|
+
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
10077
|
+
getSchema(): {
|
|
10078
|
+
type: string;
|
|
10079
|
+
};
|
|
10080
|
+
toString(variablesSchema: any): string;
|
|
10081
|
+
}
|
|
10082
|
+
|
|
10083
|
+
declare class DataBuilderFormulaCopy extends DataBuilderFormulaBase {
|
|
10084
|
+
locator: string;
|
|
10085
|
+
constructor(locator: string);
|
|
10086
|
+
getValue(variables: any): {
|
|
10087
|
+
$copy: any;
|
|
10088
|
+
};
|
|
10089
|
+
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
10090
|
+
getSchema(): null;
|
|
10091
|
+
}
|
|
10092
|
+
|
|
10093
|
+
interface DataSchemaRegArgsDataCollection {
|
|
10094
|
+
type: 'data-collection';
|
|
10095
|
+
key: unknown;
|
|
10096
|
+
parameters?: unknown;
|
|
10097
|
+
}
|
|
10098
|
+
interface DataSchemaRegArgsInternalDataSchema {
|
|
10099
|
+
type: 'internal-data-schema';
|
|
10100
|
+
key: unknown;
|
|
10101
|
+
}
|
|
10102
|
+
type DataSchemaRefArgs = DataSchemaRegArgsDataCollection | DataSchemaRegArgsInternalDataSchema;
|
|
10103
|
+
declare class DataSchemaRef extends DataBuilderFormulaBase<DataSchemaRefArgs> {
|
|
10104
|
+
value: any;
|
|
10105
|
+
constructor(value: any);
|
|
10106
|
+
getValue(): undefined;
|
|
10107
|
+
resolveValue(params: ResolveFormulaParams): Promise<DataSchema | undefined>;
|
|
10108
|
+
resolveDataCollection(args: DataSchemaRegArgsDataCollection, params: ResolveFormulaParams): Promise<DataSchema | undefined>;
|
|
10109
|
+
resolveInternalDataSchema(args: DataSchemaRegArgsInternalDataSchema, params: ResolveFormulaParams): Promise<DataSchema | undefined>;
|
|
10110
|
+
getSchema(): {
|
|
10111
|
+
type: string;
|
|
10112
|
+
};
|
|
10113
|
+
}
|
|
10114
|
+
|
|
10115
|
+
declare class DomainFromEmail extends DataBuilderFormulaBase {
|
|
10116
|
+
value: any;
|
|
10117
|
+
constructor(value: any);
|
|
10118
|
+
getValue(variables: any): string | undefined;
|
|
10119
|
+
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
10120
|
+
getSchema(): {
|
|
10121
|
+
type: string;
|
|
10122
|
+
};
|
|
10123
|
+
}
|
|
10124
|
+
|
|
10125
|
+
interface EvalOperator {
|
|
10126
|
+
key: string;
|
|
10127
|
+
name: string;
|
|
10128
|
+
operandSchema: any;
|
|
10129
|
+
hasOperand: boolean;
|
|
10130
|
+
}
|
|
10131
|
+
declare class Eval extends DataBuilderFormulaBase {
|
|
10132
|
+
value: any;
|
|
10133
|
+
operatorKey: string;
|
|
10134
|
+
operand: any;
|
|
10135
|
+
constructor(args: any, formulaValue: any);
|
|
10136
|
+
getAvailableOperators(variablesSchema: DataSchema): EvalOperator[];
|
|
10137
|
+
getOperator(variablesSchema: any): EvalOperator;
|
|
10138
|
+
getValue(variables: any): boolean;
|
|
10139
|
+
resolveValue(params: ResolveFormulaParams): Promise<boolean>;
|
|
10140
|
+
getSchema(): {
|
|
10141
|
+
type: string;
|
|
10142
|
+
};
|
|
10143
|
+
toObject(): {
|
|
10144
|
+
$eval: any;
|
|
10145
|
+
};
|
|
10146
|
+
transformVars(transformations: any): {
|
|
10147
|
+
[x: string]: any;
|
|
10148
|
+
$eval: any;
|
|
10149
|
+
} | undefined;
|
|
10150
|
+
}
|
|
10151
|
+
|
|
10152
|
+
declare class DataBuilderFormulaExtractDate extends DataBuilderFormulaBase {
|
|
10153
|
+
value: any;
|
|
10154
|
+
constructor(value: any);
|
|
10155
|
+
getValue(variables: any): string | undefined;
|
|
10156
|
+
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
10157
|
+
getSchema(): {
|
|
10158
|
+
type: string;
|
|
10159
|
+
format: string;
|
|
10160
|
+
};
|
|
10161
|
+
}
|
|
10162
|
+
|
|
10163
|
+
declare class DataBuilderFormulaExtractTime extends DataBuilderFormulaBase {
|
|
10164
|
+
value: any;
|
|
10165
|
+
constructor(value: any);
|
|
10166
|
+
getValue(variables: any): string;
|
|
10167
|
+
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
10168
|
+
getSchema(): {
|
|
10169
|
+
type: string;
|
|
10170
|
+
format: string;
|
|
10171
|
+
};
|
|
10172
|
+
}
|
|
10173
|
+
|
|
10174
|
+
interface FindAppRecordIdArgs {
|
|
10175
|
+
dataLinkTable: DataLinkTableConfig;
|
|
10176
|
+
recordId: string;
|
|
10177
|
+
}
|
|
10178
|
+
declare class DataBuilderFormulaFindAppRecordId extends DataBuilderFormulaBase {
|
|
10179
|
+
args: FindAppRecordIdArgs;
|
|
10180
|
+
constructor(args: FindAppRecordIdArgs);
|
|
10181
|
+
getValue(variables: any): {
|
|
10182
|
+
$findAppRecordId: any;
|
|
10183
|
+
};
|
|
10184
|
+
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
10185
|
+
getSchema(): {
|
|
10186
|
+
type: string;
|
|
10187
|
+
};
|
|
10188
|
+
}
|
|
10189
|
+
|
|
10190
|
+
interface FindExternalRecordIdArgs {
|
|
10191
|
+
dataLinkTable: DataLinkTableConfig;
|
|
10192
|
+
recordId: string;
|
|
10193
|
+
}
|
|
10194
|
+
declare class DataBuilderFormulaFindExternalRecordId extends DataBuilderFormulaBase {
|
|
10195
|
+
args: FindExternalRecordIdArgs;
|
|
10196
|
+
constructor(args: FindExternalRecordIdArgs);
|
|
10197
|
+
getValue(variables: any): {
|
|
10198
|
+
$findExternalRecordId: any;
|
|
10199
|
+
};
|
|
10200
|
+
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
10201
|
+
getSchema(): {
|
|
10202
|
+
type: string;
|
|
10203
|
+
};
|
|
10204
|
+
}
|
|
10205
|
+
|
|
10206
|
+
declare class DataBuilderFormulaFirstName extends DataBuilderFormulaBase {
|
|
10207
|
+
value: any;
|
|
10208
|
+
constructor(value: any);
|
|
10209
|
+
getValue(variables: any): any;
|
|
10210
|
+
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
10211
|
+
getSchema(): {
|
|
10212
|
+
type: string;
|
|
10213
|
+
};
|
|
10214
|
+
}
|
|
10215
|
+
|
|
10216
|
+
declare class FirstNotEmpty extends DataBuilderFormulaBase {
|
|
10217
|
+
constructor(args: any[]);
|
|
10218
|
+
getValue(variables: any): any;
|
|
10219
|
+
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
10220
|
+
getSchema(variablesSchema: any): any;
|
|
10221
|
+
}
|
|
10222
|
+
|
|
10223
|
+
declare class FormulaFormula extends DataBuilderFormulaBase {
|
|
10224
|
+
constructor(args: any);
|
|
10225
|
+
getValue(variables: any): any;
|
|
10226
|
+
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
10227
|
+
getSchema(): undefined;
|
|
10228
|
+
transformVars(transformations: any): any;
|
|
10229
|
+
}
|
|
10230
|
+
|
|
10231
|
+
interface IterateArguments {
|
|
10232
|
+
source: any;
|
|
10233
|
+
item?: any;
|
|
10234
|
+
}
|
|
10235
|
+
declare class DataBuilderFormulaIterate extends DataBuilderFormulaBase {
|
|
10236
|
+
args: IterateArguments;
|
|
10237
|
+
source: any;
|
|
10238
|
+
item: any;
|
|
10239
|
+
constructor(args: IterateArguments);
|
|
10240
|
+
getValue(variables: any): never[] | undefined;
|
|
10241
|
+
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
10242
|
+
getSchema(variablesSchema: any): {
|
|
10243
|
+
type: string;
|
|
10244
|
+
items: any;
|
|
10245
|
+
};
|
|
10246
|
+
getVariableLocators(): string[];
|
|
10247
|
+
transformVars(transformations: any): any;
|
|
10248
|
+
}
|
|
10249
|
+
|
|
10250
|
+
declare class JsonataFormula extends DataBuilderFormulaBase {
|
|
10251
|
+
expression: any;
|
|
10252
|
+
constructor(expression: any);
|
|
10253
|
+
getValue(variables: any): any;
|
|
10254
|
+
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
10255
|
+
getSchema(): any;
|
|
10256
|
+
}
|
|
10257
|
+
|
|
10258
|
+
declare class DataBuilderFormulaLastName extends DataBuilderFormulaBase {
|
|
10259
|
+
value: any;
|
|
10260
|
+
constructor(value: any);
|
|
10261
|
+
getValue(variables: any): any;
|
|
10262
|
+
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
10263
|
+
getSchema(): {
|
|
10264
|
+
type: string;
|
|
10265
|
+
};
|
|
10266
|
+
toString(variablesSchema: any): string;
|
|
10267
|
+
}
|
|
10268
|
+
|
|
10269
|
+
declare class DataBuilderFormulaLookup extends DataBuilderFormulaBase {
|
|
10270
|
+
value: LookupValue;
|
|
10271
|
+
constructor(value: LookupValue);
|
|
10272
|
+
getValue(variables: any): {
|
|
10273
|
+
$lookup: any;
|
|
10274
|
+
};
|
|
10275
|
+
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
10276
|
+
getSchema(): {
|
|
10277
|
+
type: string;
|
|
10278
|
+
};
|
|
10279
|
+
}
|
|
10280
|
+
|
|
10281
|
+
interface MappingItem {
|
|
10282
|
+
from: any;
|
|
10283
|
+
to?: any;
|
|
10284
|
+
}
|
|
10285
|
+
interface MapFormulaValue {
|
|
10286
|
+
value: any;
|
|
10287
|
+
mapping: MappingItem[];
|
|
10288
|
+
default?: any;
|
|
10289
|
+
}
|
|
10290
|
+
declare class DataBuilderFormulaMap extends DataBuilderFormulaBase {
|
|
10291
|
+
args: MapFormulaValue;
|
|
10292
|
+
constructor(args: MapFormulaValue);
|
|
10293
|
+
getValue(variables: any): any;
|
|
10294
|
+
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
10295
|
+
getSchema(variablesSchema: any): any;
|
|
10296
|
+
}
|
|
10297
|
+
|
|
10298
|
+
declare class MergeObjects extends DataBuilderFormulaBase {
|
|
10299
|
+
constructor(args: any[]);
|
|
10300
|
+
getValue(variables: any): {} | undefined;
|
|
10301
|
+
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
10302
|
+
getSchema(variablesSchema: any): {
|
|
10303
|
+
type: string;
|
|
10304
|
+
properties: {};
|
|
10305
|
+
} | {
|
|
10306
|
+
type: string;
|
|
10307
|
+
};
|
|
10308
|
+
}
|
|
10309
|
+
|
|
10310
|
+
declare class Or extends DataBuilderFormulaBase {
|
|
10311
|
+
constructor(args: any[]);
|
|
10312
|
+
getValue(variables: any): boolean | undefined;
|
|
10313
|
+
resolveValue(params: ResolveFormulaParams): Promise<boolean | undefined>;
|
|
10314
|
+
getSchema(): {
|
|
10315
|
+
type: string;
|
|
10316
|
+
};
|
|
10317
|
+
}
|
|
10318
|
+
|
|
10319
|
+
declare class DataBuilderFormulaPlain extends DataBuilderFormulaBase {
|
|
10320
|
+
value: any;
|
|
10321
|
+
constructor(value: any);
|
|
10322
|
+
getValue(): any;
|
|
10323
|
+
resolveValue(_params: ResolveFormulaParams): Promise<any>;
|
|
10324
|
+
getSchema(): any;
|
|
10325
|
+
}
|
|
10326
|
+
|
|
10327
|
+
declare class DataBuilderFormulaRecord extends DataBuilderFormulaBase {
|
|
10328
|
+
record: DataRecord;
|
|
10329
|
+
constructor(record: DataRecord);
|
|
10330
|
+
getValue(): string;
|
|
10331
|
+
resolveValue(_params: ResolveFormulaParams): Promise<string | undefined>;
|
|
10332
|
+
getSchema(): {
|
|
10333
|
+
type: string;
|
|
10334
|
+
};
|
|
10335
|
+
}
|
|
10336
|
+
|
|
10337
|
+
type TplFormulaArgs = {
|
|
10338
|
+
template: string;
|
|
10339
|
+
values: Record<string, any>;
|
|
10340
|
+
};
|
|
10341
|
+
declare class DataBuilderFormulaTpl extends DataBuilderFormulaBase {
|
|
10342
|
+
args: TplFormulaArgs;
|
|
10343
|
+
constructor(args: TplFormulaArgs);
|
|
10344
|
+
getValue(variables: any): string;
|
|
10345
|
+
resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
|
|
10346
|
+
getSchema(): {
|
|
10347
|
+
type: string;
|
|
10348
|
+
};
|
|
10349
|
+
}
|
|
10350
|
+
|
|
10351
|
+
declare class DataBuilderFormulaVar extends DataBuilderFormulaBase {
|
|
10352
|
+
locator: string;
|
|
10353
|
+
constructor(locator: string);
|
|
10354
|
+
getValue(variables: any): any;
|
|
10355
|
+
resolveValue(params: ResolveFormulaParams): Promise<any>;
|
|
10356
|
+
getSchema(variablesSchema: any): any;
|
|
10357
|
+
toString(variablesSchema: any): string;
|
|
10358
|
+
getVariableLocators(): string[];
|
|
10359
|
+
transformVars(transformations: any): any;
|
|
10360
|
+
}
|
|
10361
|
+
|
|
10362
|
+
declare const Formula: {
|
|
10363
|
+
Var: typeof DataBuilderFormulaVar;
|
|
10364
|
+
Record: typeof DataBuilderFormulaRecord;
|
|
10365
|
+
Tpl: typeof DataBuilderFormulaTpl;
|
|
10366
|
+
Lookup: typeof DataBuilderFormulaLookup;
|
|
10367
|
+
Plain: typeof DataBuilderFormulaPlain;
|
|
10368
|
+
Map: typeof DataBuilderFormulaMap;
|
|
10369
|
+
And: typeof And;
|
|
10370
|
+
Or: typeof Or;
|
|
10371
|
+
MergeObjects: typeof MergeObjects;
|
|
10372
|
+
FirstNotEmpty: typeof FirstNotEmpty;
|
|
10373
|
+
DomainFromEmail: typeof DomainFromEmail;
|
|
10374
|
+
Formula: typeof FormulaFormula;
|
|
10375
|
+
Base: typeof DataBuilderFormulaBase;
|
|
10376
|
+
Case: typeof DataBuilderFormulaCase;
|
|
10377
|
+
Concat: typeof DataBuilderFormulaConcat;
|
|
10378
|
+
Copy: typeof DataBuilderFormulaCopy;
|
|
10379
|
+
Eval: typeof Eval;
|
|
10380
|
+
ExtractDate: typeof DataBuilderFormulaExtractDate;
|
|
10381
|
+
ExtractTime: typeof DataBuilderFormulaExtractTime;
|
|
10382
|
+
FindAppRecordId: typeof DataBuilderFormulaFindAppRecordId;
|
|
10383
|
+
FindExternalRecordId: typeof DataBuilderFormulaFindExternalRecordId;
|
|
10384
|
+
FirstName: typeof DataBuilderFormulaFirstName;
|
|
10385
|
+
LastName: typeof DataBuilderFormulaLastName;
|
|
10386
|
+
Iterate: typeof DataBuilderFormulaIterate;
|
|
10387
|
+
Jsonata: typeof JsonataFormula;
|
|
10388
|
+
DataSchemaRef: typeof DataSchemaRef;
|
|
10389
|
+
};
|
|
10390
|
+
type Formula = {
|
|
10391
|
+
Var: DataBuilderFormulaVar;
|
|
10392
|
+
Record: DataBuilderFormulaRecord;
|
|
10393
|
+
Tpl: DataBuilderFormulaTpl;
|
|
10394
|
+
Lookup: DataBuilderFormulaLookup;
|
|
10395
|
+
Plain: DataBuilderFormulaPlain;
|
|
10396
|
+
Map: DataBuilderFormulaMap;
|
|
10397
|
+
And: And;
|
|
10398
|
+
Or: Or;
|
|
10399
|
+
MergeObjects: MergeObjects;
|
|
10400
|
+
FirstNotEmpty: FirstNotEmpty;
|
|
10401
|
+
DomainFromEmail: DomainFromEmail;
|
|
10402
|
+
Formula: FormulaFormula;
|
|
10403
|
+
Base: DataBuilderFormulaBase;
|
|
10404
|
+
Case: DataBuilderFormulaCase;
|
|
10405
|
+
Concat: DataBuilderFormulaConcat;
|
|
10406
|
+
Copy: DataBuilderFormulaCopy;
|
|
10407
|
+
Eval: Eval;
|
|
10408
|
+
ExtractDate: DataBuilderFormulaExtractDate;
|
|
10409
|
+
ExtractTime: DataBuilderFormulaExtractTime;
|
|
10410
|
+
FindAppRecordId: DataBuilderFormulaFindAppRecordId;
|
|
10411
|
+
FindExternalRecordId: DataBuilderFormulaFindExternalRecordId;
|
|
10412
|
+
FirstName: DataBuilderFormulaFirstName;
|
|
10413
|
+
LastName: DataBuilderFormulaLastName;
|
|
10414
|
+
Iterate: DataBuilderFormulaIterate;
|
|
10415
|
+
Jsonata: JsonataFormula;
|
|
10416
|
+
DataSchemaRef: DataSchemaRef;
|
|
10417
|
+
};
|
|
10418
|
+
declare function isFormula(value: any): boolean;
|
|
10419
|
+
declare function hasFormulas(value: any): any;
|
|
10420
|
+
declare function getFormula(value: any): DataBuilderFormulaBase | undefined;
|
|
10421
|
+
|
|
10422
|
+
declare function getErrorFromData(data: any): any;
|
|
10423
|
+
declare function extractMembraneErrorData(error: any): ErrorData;
|
|
10424
|
+
|
|
10425
|
+
interface DataField {
|
|
10426
|
+
name: string;
|
|
10427
|
+
locator: string;
|
|
10428
|
+
schema: DataSchema;
|
|
10429
|
+
value: any;
|
|
10430
|
+
}
|
|
10431
|
+
|
|
10432
|
+
interface DataFormArgs {
|
|
10433
|
+
schema: DataSchema;
|
|
10434
|
+
value: any;
|
|
10435
|
+
variablesSchema?: DataSchema;
|
|
10436
|
+
}
|
|
10437
|
+
interface FieldValueOption {
|
|
10438
|
+
name: string;
|
|
10439
|
+
value: any;
|
|
10440
|
+
selected?: boolean;
|
|
10441
|
+
}
|
|
10442
|
+
interface DataForm extends DataFormArgs {
|
|
10443
|
+
}
|
|
10444
|
+
declare class DataForm {
|
|
10445
|
+
constructor(args: DataFormArgs);
|
|
10446
|
+
getFields(): DataField[];
|
|
10447
|
+
getFieldValueOptions(field: DataField): FieldValueOption[];
|
|
10448
|
+
setFieldValue(field: DataField, value: any): any;
|
|
10449
|
+
private makeDataField;
|
|
10450
|
+
}
|
|
10451
|
+
|
|
10452
|
+
declare function updateImpliedSchema({ schema, value, variablesSchema, }: {
|
|
10453
|
+
schema: DataSchema | undefined;
|
|
10454
|
+
value: any;
|
|
10455
|
+
variablesSchema?: DataSchema;
|
|
10456
|
+
}): DataSchema | undefined;
|
|
10457
|
+
declare function updateImpliedSchema({ schema, value, variablesSchema, }: {
|
|
10458
|
+
schema: DataSchema;
|
|
10459
|
+
value: any;
|
|
10460
|
+
variablesSchema?: DataSchema | undefined;
|
|
10461
|
+
}): DataSchema;
|
|
10462
|
+
declare function schemaHasProperties(schema?: DataSchema): boolean;
|
|
10463
|
+
declare function nonEmptyObjectProperties(properties: Record<string, DataSchema | undefined | null>): Record<string, DataSchema>;
|
|
10464
|
+
declare function schemaTypeFromValue(value: any): "object" | "boolean" | "number" | "string" | "array" | undefined;
|
|
10465
|
+
declare function buildDataSchema(value: any, variablesSchema?: any): any;
|
|
10466
|
+
declare function getSchemaFromValue(value: any, variablesSchema: any, ignoreFormulas?: boolean): any;
|
|
10467
|
+
interface ValueToSchemaOptions {
|
|
10468
|
+
addDefaults?: boolean;
|
|
10469
|
+
skipUnknownFields?: boolean;
|
|
10470
|
+
skipReadOnlyFields?: boolean;
|
|
10471
|
+
normalizeValues?: boolean;
|
|
10472
|
+
valueHasFormulas?: boolean;
|
|
10473
|
+
}
|
|
10474
|
+
declare function valueToSchema(value: any, schema: DataSchema | undefined, options?: ValueToSchemaOptions, field?: string): any;
|
|
10475
|
+
declare function schemaIsScalar(schema: DataSchema): boolean;
|
|
10476
|
+
declare function schemaHasFixedValues(schema: DataSchema): boolean;
|
|
10477
|
+
declare function schemaAllowsCustomValue(schema: DataSchema): boolean | undefined;
|
|
10478
|
+
declare function schemaIsNumber(schema: DataSchema): boolean;
|
|
10479
|
+
declare function schemaWithTitle(schema: DataSchema, title: string): DataSchema;
|
|
10480
|
+
declare function schemaWithTitle(schema: DataSchema | undefined, title: string): DataSchema | undefined;
|
|
10481
|
+
declare function pickFieldsFromSchema(schema: DataSchema | undefined, fields: string[] | undefined): any;
|
|
10482
|
+
declare function excludeReadOnlyFieldsFromSchema(schema?: DataSchema): DataSchema | undefined;
|
|
10483
|
+
declare function excludeWriteOnlyFieldsFromSchema(schema?: DataSchema): DataSchema | undefined;
|
|
10484
|
+
declare function excludeFieldsFromSchema(schema: DataSchema | undefined, fields: string[] | undefined): any;
|
|
10485
|
+
declare function getRequiredFieldsFromSchema(schema: DataSchema): string[];
|
|
10486
|
+
declare function addRequiredFieldsToSchema(schema: DataSchema | undefined, fields: string[] | undefined): any;
|
|
10487
|
+
declare function removeRequiredFieldsFromSchema(schema: DataSchema): any;
|
|
10488
|
+
declare function getMissingRequiredFields(schema: DataSchema | undefined, value: any): string[];
|
|
10489
|
+
declare function populateSchemaTitles(schema: DataSchema | undefined): DataSchema | undefined;
|
|
10490
|
+
declare function populateSchemaTitles(schema: DataSchema): DataSchema;
|
|
10491
|
+
declare function generateExampleFromSchema(schema: DataSchema | undefined): any;
|
|
10492
|
+
declare function isSchemaEmpty(schema: DataSchema): boolean;
|
|
10493
|
+
declare function compressDataSchema(schema: DataSchema): DataSchema;
|
|
10494
|
+
declare function walkSchema(schema: DataSchema | undefined, callback: (schema: DataSchema, locator: string) => DataSchema | undefined, locator?: string): DataSchema | undefined;
|
|
10495
|
+
|
|
10496
|
+
declare function parseDate(value: any): Date | undefined;
|
|
10497
|
+
|
|
10498
|
+
declare function isBusinessDay(date: Date): boolean;
|
|
10499
|
+
declare function getBusinessDaysBetween(startDate: Date, endDate: Date): Set<string>;
|
|
10500
|
+
|
|
10501
|
+
declare enum LogRecordType {
|
|
10502
|
+
MSG = "message",
|
|
10503
|
+
TEXT = "text",
|
|
10504
|
+
ERR = "error",
|
|
10505
|
+
DATA = "data",
|
|
10506
|
+
COMP = "compare",
|
|
10507
|
+
API = "api-request"
|
|
10508
|
+
}
|
|
10509
|
+
interface LogRecord {
|
|
10510
|
+
type?: LogRecordType;
|
|
10511
|
+
msg?: string;
|
|
10512
|
+
data?: any;
|
|
10513
|
+
}
|
|
10514
|
+
|
|
10515
|
+
type WithExecutionLogs<T extends Record<string, any>> = T & {
|
|
10516
|
+
logs?: any[];
|
|
10517
|
+
};
|
|
10518
|
+
declare function isStream(obj: any): boolean;
|
|
10519
|
+
declare function streamToString(stream: Readable): Promise<string>;
|
|
10520
|
+
declare function truncateData(data: any, depth?: number): any;
|
|
10521
|
+
|
|
10522
|
+
declare enum UsageType {
|
|
10523
|
+
FLOW_RUNS_DURATION = "flow-runs-duration",
|
|
10524
|
+
FLOW_RUNS_NUMBER = "flow-runs-number",
|
|
10525
|
+
FLOW_RUNS_LOG_SIZE = "flow-runs-log-size",
|
|
10526
|
+
API_LOGS_NUMBER = "api-logs-number",
|
|
10527
|
+
API_LOGS_SIZE = "api-logs-size",
|
|
10528
|
+
WEBHOOK_LOGS_NUMBER = "webhook-logs-number",
|
|
10529
|
+
WEBHOOK_LOGS_SIZE = "webhook-logs-size",
|
|
10530
|
+
EVENT_LOGS_NUMBER = "event-logs-number",
|
|
10531
|
+
EVENT_LOGS_SIZE = "event-logs-size",
|
|
10532
|
+
EVENT_LOGS_DURATION = "event-logs-duration",
|
|
10533
|
+
EXTERNAL_EVENTS_PULL_DURATION = "external-events-pull-duration",
|
|
10534
|
+
EXTERNAL_EVENT_PULL_NUMBER = "external-event-pull-number",
|
|
10535
|
+
EXTERNAL_EVENT_PULL_LOG_SIZE = "external-event-pull-log-size",
|
|
10536
|
+
APP_EVENTS_NUMBER = "app-events-number",
|
|
10537
|
+
APP_EVENTS_SIZE = "app-events-size",
|
|
10538
|
+
FILES_UPLOAD_NUMBER = "files-upload-number",
|
|
10539
|
+
FILES_UPLOAD_SIZE = "files-upload-size",
|
|
10540
|
+
CUSTOM_CODE_RUNTIME_DURATION = "custom-code-runtime-duration",
|
|
10541
|
+
MEMBRANE_AGENT = "membrane-agent"
|
|
10542
|
+
}
|
|
10543
|
+
interface UsageWithCredits {
|
|
10544
|
+
key: UsageType;
|
|
10545
|
+
value: number;
|
|
10546
|
+
credits: number;
|
|
10547
|
+
}
|
|
10548
|
+
interface UsageEntry {
|
|
10549
|
+
workspaceId?: string;
|
|
10550
|
+
orgId?: string;
|
|
10551
|
+
customerId?: string;
|
|
10552
|
+
connectionId?: string;
|
|
10553
|
+
key: UsageType;
|
|
10554
|
+
time: string;
|
|
10555
|
+
value: number;
|
|
10556
|
+
}
|
|
10557
|
+
|
|
10558
|
+
declare function getNodeInputSchema(flow: FlowInstance, nodeKey: string): any;
|
|
10559
|
+
declare function getFlowNodeConfigTimeVariablesSchema({ parametersSchema, userSchema, }: {
|
|
10560
|
+
parametersSchema: DataSchema;
|
|
10561
|
+
userSchema: DataSchema;
|
|
10562
|
+
}): DataSchema;
|
|
10563
|
+
declare function getActionRunTimeVariablesSchema({ inputSchema, userSchema }: {
|
|
10564
|
+
inputSchema: any;
|
|
10565
|
+
userSchema: any;
|
|
10566
|
+
}): DataSchema;
|
|
10567
|
+
declare function getActionInstanceVariableSchema(): {
|
|
10568
|
+
type: string;
|
|
10569
|
+
properties: {
|
|
10570
|
+
id: {
|
|
10571
|
+
type: string;
|
|
10572
|
+
};
|
|
10573
|
+
instanceKey: {
|
|
10574
|
+
type: string;
|
|
10575
|
+
};
|
|
10576
|
+
};
|
|
10577
|
+
};
|
|
10578
|
+
declare function getFlowNodeRunTimeVariablesSchema({ parametersSchema, inputSchema, userSchema, }: {
|
|
10579
|
+
parametersSchema: DataSchema;
|
|
10580
|
+
inputSchema: DataSchema;
|
|
10581
|
+
userSchema: DataSchema;
|
|
10582
|
+
}): DataSchema;
|
|
10583
|
+
|
|
10584
|
+
interface App {
|
|
10585
|
+
id: string;
|
|
10586
|
+
apiDocsUri: string;
|
|
10587
|
+
appUri: string;
|
|
10588
|
+
categories: string[];
|
|
10589
|
+
defaultConnectorId: string;
|
|
10590
|
+
key: string;
|
|
10591
|
+
logoUri: string;
|
|
10592
|
+
name: string;
|
|
10593
|
+
popularity: number;
|
|
10594
|
+
uuid: string;
|
|
10595
|
+
knowledgeBaseUuid?: string;
|
|
10596
|
+
hasFreeTestAccount?: boolean | null;
|
|
10597
|
+
freeTestAccountGuide?: string;
|
|
10598
|
+
readmeSlug?: string;
|
|
10599
|
+
isPublic?: boolean;
|
|
10600
|
+
isReadOnly: boolean;
|
|
10601
|
+
}
|
|
10602
|
+
interface AppCategory {
|
|
10603
|
+
count: number;
|
|
10604
|
+
category: string;
|
|
10605
|
+
}
|
|
10606
|
+
|
|
10607
|
+
interface WorkspaceUpdate {
|
|
10608
|
+
id: string;
|
|
10609
|
+
path: string;
|
|
10610
|
+
before?: unknown;
|
|
10611
|
+
after?: unknown;
|
|
10612
|
+
}
|
|
10613
|
+
|
|
10514
10614
|
declare const PlatformUserSchema: z.ZodObject<{
|
|
10515
10615
|
id: z.ZodString;
|
|
10516
10616
|
email: z.ZodString;
|
|
@@ -10541,9 +10641,10 @@ declare enum WebhookTypeEnum {
|
|
|
10541
10641
|
ORG_CREATED = "org-created",
|
|
10542
10642
|
TASK_CREATED = "task-created",
|
|
10543
10643
|
TASK_UPDATED = "task-updated",
|
|
10544
|
-
TASK_ACTIVITY_CREATED = "task-activity-created"
|
|
10644
|
+
TASK_ACTIVITY_CREATED = "task-activity-created",
|
|
10645
|
+
CONNECTOR_VERSION_PUBLISHED = "connector-version-published"
|
|
10545
10646
|
}
|
|
10546
|
-
type WebhookType = WebhookTypeEnum.USER_INVITED_TO_ORG | WebhookTypeEnum.ORG_ACCESS_REQUESTED | WebhookTypeEnum.ORG_CREATED | WebhookTypeEnum.TASK_CREATED | WebhookTypeEnum.TASK_UPDATED | WebhookTypeEnum.TASK_ACTIVITY_CREATED;
|
|
10647
|
+
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;
|
|
10547
10648
|
interface Webhook {
|
|
10548
10649
|
type: WebhookType;
|
|
10549
10650
|
url: string;
|
|
@@ -10579,14 +10680,19 @@ interface Alert {
|
|
|
10579
10680
|
}
|
|
10580
10681
|
|
|
10581
10682
|
declare enum WorkspaceSyncEventType {
|
|
10582
|
-
ElementUpdate = "element-update"
|
|
10683
|
+
ElementUpdate = "element-update",
|
|
10684
|
+
Connected = "connected"
|
|
10583
10685
|
}
|
|
10584
|
-
|
|
10585
|
-
type: WorkspaceSyncEventType;
|
|
10686
|
+
type WorkspaceSyncEvent = {
|
|
10687
|
+
type: WorkspaceSyncEventType.ElementUpdate;
|
|
10586
10688
|
elementType: WorkspaceElementType;
|
|
10587
10689
|
elementId: string;
|
|
10588
10690
|
data?: any;
|
|
10589
|
-
}
|
|
10691
|
+
} | {
|
|
10692
|
+
type: WorkspaceSyncEventType.Connected;
|
|
10693
|
+
message: string;
|
|
10694
|
+
timestamp?: string;
|
|
10695
|
+
};
|
|
10590
10696
|
declare enum ConnectorFileUpdateType {
|
|
10591
10697
|
ConnectorFileUpdated = "connector-file-updated",
|
|
10592
10698
|
ConnectorFileDeleted = "connector-file-deleted",
|
|
@@ -10837,8 +10943,8 @@ declare const AgentSession: z.ZodObject<{
|
|
|
10837
10943
|
}, z.core.$strip>;
|
|
10838
10944
|
type AgentSession = z.infer<typeof AgentSession>;
|
|
10839
10945
|
declare const CreateAgentSession: z.ZodObject<{
|
|
10840
|
-
workspaceElementType: z.ZodEnum<typeof WorkspaceElementType
|
|
10841
|
-
workspaceElementId: z.ZodString
|
|
10946
|
+
workspaceElementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
|
|
10947
|
+
workspaceElementId: z.ZodOptional<z.ZodString>;
|
|
10842
10948
|
prompt: z.ZodString;
|
|
10843
10949
|
testCustomerId: z.ZodOptional<z.ZodString>;
|
|
10844
10950
|
}, z.core.$strip>;
|
|
@@ -10935,5 +11041,5 @@ declare function getDefaultMembraneConfigLoader(): MembraneConfigLoader;
|
|
|
10935
11041
|
declare function loadMembraneConfig(cwd?: string, options?: LoadConfigOptions): PartialMembraneConfig;
|
|
10936
11042
|
declare function hasMembraneCredentials(cwd?: string): boolean;
|
|
10937
11043
|
|
|
10938
|
-
export { ACTIONS, AccessDeniedError, AccountResponse, ActionAccessor, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionExportProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionType, ActionsAccessor, AgentSession, AgentSessionInputSchema, AgentSessionStatus, AlertSeverity, AlertStatus, AlertType, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypesAccessor, AppPublicKey, AppSchema, AppliedToIntegrations, BackwardCompatibleDataSourceEditableProperties, BadRequestError, BadRequestErrorKey, BaseAction, BaseActionInstance, BaseActionRunLogRecord, BaseAppDataSchema, BaseAppDataSchemaInstance, BaseAppEventSubscription, BaseAppEventType, BaseConnection, BaseCustomer, BaseDataLinkTable, BaseDataLinkTableInstance, BaseDataSource, BaseDataSourceInstance, BaseExternalEvent, BaseExternalEventLogRecord, BaseExternalEventPull, BaseExternalEventSubscription, BaseFieldMapping, BaseFieldMappingInstance, BaseFlow, BaseFlowInstance, BaseFlowRun, BaseIntegration, BaseIntegrationLevelMembraneInterface, BaseIntegrationLevelMembraneInterfaceEditableProperties, BaseIntegrationLevelMembraneInterfaceExportProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BasePackage, BaseScreen, BaseWorkspaceElement, CONFIG_FILE_NAME, 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, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, ConnectionAccessor, ConnectionApiResponse, ConnectionApiResponseWithSecrets, ConnectionDataCollectionAccessor, ConnectionError, ConnectionErrorKey, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionMessagePayload, ConnectionOperationAccessor, ConnectionProxy, ConnectionRequest, ConnectionSelector, ConnectionSpec, ConnectionsAccessor, ConnectorAuthMethodTypes, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorFileUpdateType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CreateActionInstanceRequest, CreateActionRequest, CreateAgentSession, CreateConnectionRequest, CreateCustomerRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CreatePackageRequest, CustomCodeError, CustomerAccessor, CustomerApiResponse, CustomerLimits, CustomerSelector, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaType, 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, DataLinkTableInstanceAccessor, DataLinkTableInstanceApiResponse, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataRecordSchema, DataSchema, DataSourceAccessor, DataSourceApiResponse, DataSourceEditableProperties, DataSourceExportProperties, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DependencyError, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, EngineWorkspaceSettingsSchema, ErrorData, ErrorDataSchema, ErrorType, 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, FindActionsQuery, FindConnectionsQuery, FindConnectionsResponse, FindCustomersQuery, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationLevelMembraneInterfaceQuery, FindIntegrationsQuery, FindPackagesQuery, FlowAccessor, FlowApiResponse, FlowEditableProperties, FlowExportProperties, FlowInstanceAccessor, FlowInstanceApiResponse, FlowInstanceNode, FlowInstanceNodeState, FlowInstanceSetupError, FlowInstancesAccessor, FlowNode, FlowNodeLink, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeType, FlowRunAccessor, FlowRunApiResponse, FlowRunError, FlowRunLaunchedBy, FlowRunLaunchedByApi, FlowRunLaunchedByTrigger, FlowRunNode, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowsAccessor, Formula, FullPlatformUser, HTTP_REQUEST_SCHEMA, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhooksState, InsufficientCreditsError, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAuthOption, IntegrationAuthUi, IntegrationElementLevel, IntegrationElementType, IntegrationExportProperties, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationLevelMembraneInterfaceSelectorQuery, IntegrationsAccessor, InternalError, InvalidLocatorError, LimitUnits, ListActionInstancesForConnectionQuery, ListDataSourceInstancesForConnectionQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListFlowInstancesForConnectionQuery, LogRecordType, MEMBRANE_ELEMENT_CONFIG_FILE_NAME, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, MembraneAgentKey, axios as MembraneAxiosInstance, MembraneClient, MembraneConfigLoader, MembraneError, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OrgLimits, OrgLimitsType, OrgSchema, OrgUserRole, OrgUserStatus, OrgWorkspaceSchema, OrgWorkspaceUser, PARALLEL_EXECUTION_LIMITS, PackageAccessor, PackageApiResponse, PackageCalculatedProperties, PackageEditableProperties, PackageElement, PackageElementApi, PackageElementExport, PackageExportProperties, PackagesAccessor, PaginationQuery, PaginationResponse, ParallelExecutionLimits, PlatformUserSchema, RATE_LIMITS, RateLimitExceededError, RateLimits, ResetFlowInstanceOptions, RunActionRequest, RunFlowApiRequest, ScenarioAccessor, ScenarioTemplate, ScenarioTemplateCategory, ScenarioTemplateElements, ScenariosAccessor, ScreenAccessor, ScreenApiResponse, ScreenBlock, ScreenBlockType, ScreenType, ScreensAccessor, SearchQuery, SelfAccessor, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateActionInstanceRequest, UpdateActionRequest, UpdateConnectionRequest, UpdateCustomerRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateFieldMappingRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpdatePackageRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UsersAccessor, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementChangeType, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceLimitsSchema, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspaceSizeLimits, WorkspaceSyncEventType, WorkspaceType, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildValue, compareWorkspaceExports, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createOrUpdateConnection, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, extractFieldLocator, extractMembraneErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAllEventMethodFilePaths, getBusinessDaysBetween, getChildNodeKeys, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDefaultMembraneConfigLoader, getDownstreamNodeKeys, getErrorFromData, getEventMethodFileKey, 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, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas$1 as hasFormulas, hasFormulas as hasFormulas_internalDoNotUse, hasMembraneCredentials, injectFormulaCatalog, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isMembraneError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, loadMembraneConfig, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, membraneConfigSchema, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, parseMembraneElementPath, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema, zodBooleanCoercion };
|
|
10939
|
-
export type { Action, ActionInstance, ActionInstanceSelector, ActionRunLogRecord, ActionSelector, ActionSpec, AgentSessionInput, Alert, App, AppCategory, AppDataSchema, AppDataSchemaInstance, AppDataSchemaInstanceSelector, AppEvent, AppEventSubscription, AppEventSubscriptionCreateRequest, AppEventSubscriptionSelector, AppEventSubscriptionUpdateRequest, AppEventType, BaseConnector, BaseElementInstance, CaseFormulaValue, CaseFormulaValueItem, ConfigurationStateResult, Connection, ConnectionUiSpec, Connector, ConnectorApiType, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthMembraneToken, ConnectorAuthOAuth1, ConnectorAuthOAuth1Config, ConnectorAuthOAuth2, ConnectorAuthOAuth2Config, ConnectorAuthOAuthConfig, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthType, ConnectorDataCollection, ConnectorDataCollectionBase, ConnectorDataCollectionEvent, ConnectorDataCollectionEventCustomPull, ConnectorDataCollectionEventFullScan, ConnectorDataCollectionEventImplementationTypeKey, ConnectorDataCollectionEventPullLatestRecords, ConnectorDataCollectionEventType, ConnectorDataCollectionEventWebhook, ConnectorDataCollectionMethod, ConnectorEventGlobalWebhookGetEventSelectorResponse, ConnectorEventHandler, ConnectorEventListItem, ConnectorEventSpec, ConnectorGlobalWebhookHandleRequest, ConnectorGlobalWebhookHandleResponse, ConnectorGlobalWebhookHandler, ConnectorGlobalWebhookListItem, ConnectorGlobalWebhookSpec, ConnectorMethodImplementation, ConnectorMethodImplementationBase, ConnectorMethodImplementationGraphqlApiMapping, ConnectorMethodImplementationJavascript, ConnectorMethodImplementationMapping, ConnectorMethodImplementationNotSupported, ConnectorMethodImplementationOperationMapping, ConnectorMethodImplementationRestApiMapping, ConnectorOperationHandler, ConnectorOperationMethod, ConnectorSpec, ConnectorUdmCollectionMapping, ConnectorUdmListLitem, ConnectorUdmSpec, ConnectorUiSpec, CopilotActivityNotificationData, CreateAppDataSchemaInstanceRequest, CreateAppDataSchemaRequest, CreateAppEventSubscriptionRequest, CreateAppEventTypeRequest, CreateDataLinkRequest, CreateDataLinkTableInstanceRequest,
|
|
11044
|
+
export { ACTIONS, AccessDeniedError, AccountResponse, ActionAccessor, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionExportProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionType, ActionsAccessor, AgentSession, AgentSessionInputSchema, AgentSessionStatus, AlertSeverity, AlertStatus, AlertType, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaEditableProperties, AppDataSchemaExportProperties, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypeEditableProperties, AppEventTypeExportProperties, AppEventTypesAccessor, AppSchema, AppliedToIntegrations, BackwardCompatibleDataSourceEditableProperties, BadRequestError, BadRequestErrorKey, BaseAction, BaseActionInstance, BaseActionRunLogRecord, BaseAppDataSchema, BaseAppDataSchemaInstance, BaseAppEventSubscription, BaseAppEventType, BaseConnection, BaseCustomer, BaseDataLinkTable, BaseDataLinkTableInstance, BaseDataSource, BaseDataSourceInstance, BaseExternalEvent, BaseExternalEventLogRecord, BaseExternalEventPull, BaseExternalEventSubscription, BaseFieldMapping, BaseFieldMappingInstance, BaseFlow, BaseFlowInstance, BaseFlowRun, BaseIntegration, BaseIntegrationLevelMembraneInterface, BaseIntegrationLevelMembraneInterfaceEditableProperties, BaseIntegrationLevelMembraneInterfaceExportProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BasePackage, BaseScreen, BaseWorkspaceElement, CONFIG_FILE_NAME, 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, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, ConnectionAccessor, ConnectionApiResponse, ConnectionApiResponseWithSecrets, ConnectionDataCollectionAccessor, ConnectionError, ConnectionErrorKey, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionMessagePayload, ConnectionOperationAccessor, ConnectionProxy, ConnectionRequest, ConnectionSelector, ConnectionSpec, ConnectionsAccessor, ConnectorAuthMethodTypes, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorFileUpdateType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CreateActionInstanceRequest, CreateActionRequest, CreateAgentSession, CreateConnectionRequest, CreateCustomerRequest, CreateDataLinkTableRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CreatePackageRequest, CustomCodeError, CustomerAccessor, CustomerApiResponse, CustomerLimits, CustomerSelector, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaType, 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, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataRecordSchema, DataSchema, DataSourceAccessor, DataSourceApiResponse, DataSourceEditableProperties, DataSourceExportProperties, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DependencyError, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, EngineWorkspaceSettingsSchema, ErrorData, ErrorDataSchema, ErrorType, 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, FindActionsQuery, FindConnectionsQuery, FindConnectionsResponse, FindCustomersQuery, FindDataLinkTablesQuery, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationLevelMembraneInterfaceQuery, FindIntegrationsQuery, FindPackagesQuery, FlowAccessor, FlowApiResponse, FlowEditableProperties, FlowExportProperties, FlowInstanceAccessor, FlowInstanceApiResponse, FlowInstanceNode, FlowInstanceNodeState, FlowInstanceSetupError, FlowInstancesAccessor, FlowNode, FlowNodeLink, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeType, FlowRunAccessor, FlowRunApiResponse, FlowRunError, FlowRunLaunchedBy, FlowRunLaunchedByApi, FlowRunLaunchedByTrigger, FlowRunNode, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowsAccessor, Formula, FullPlatformUser, HTTP_REQUEST_SCHEMA, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhooksState, InsufficientCreditsError, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAppError, IntegrationAuthOption, IntegrationAuthUi, IntegrationElementLevel, IntegrationElementType, IntegrationExportProperties, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationLevelMembraneInterfaceSelectorQuery, IntegrationsAccessor, InternalError, InvalidLocatorError, LimitUnits, ListActionInstancesForConnectionQuery, ListDataSourceInstancesForConnectionQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListFlowInstancesForConnectionQuery, LogRecordType, MEMBRANE_ELEMENT_CONFIG_FILE_NAME, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, MembraneAgentKey, axios as MembraneAxiosInstance, MembraneClient, MembraneConfigLoader, MembraneError, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OrgLimits, OrgLimitsType, OrgSchema, OrgUserRole, OrgUserStatus, OrgWorkspaceSchema, OrgWorkspaceUser, PARALLEL_EXECUTION_LIMITS, PackageAccessor, PackageApiResponse, PackageCalculatedProperties, PackageEditableProperties, PackageElement, PackageElementApi, PackageElementExport, PackageExportProperties, PackagesAccessor, PaginationQuery, PaginationResponse, ParallelExecutionLimits, PlatformUserSchema, RATE_LIMITS, RateLimitExceededError, RateLimits, ResetFlowInstanceOptions, RunActionRequest, RunFlowApiRequest, ScenarioAccessor, ScenarioTemplate, ScenarioTemplateCategory, ScenarioTemplateElements, ScenariosAccessor, ScreenAccessor, ScreenApiResponse, ScreenBlock, ScreenBlockType, ScreenType, ScreensAccessor, SearchQuery, SelfAccessor, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateActionInstanceRequest, UpdateActionRequest, UpdateConnectionRequest, UpdateCustomerRequest, UpdateDataLinkTableRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateFieldMappingRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpdatePackageRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UsersAccessor, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementChangeType, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceLimitsSchema, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspacePublicKey, WorkspaceSizeLimits, WorkspaceSyncEventType, WorkspaceType, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildValue, compareWorkspaceExports, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createOrUpdateConnection, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, extractFieldLocator, extractMembraneErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAllEventMethodFilePaths, getBusinessDaysBetween, getChildNodeKeys, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDefaultMembraneConfigLoader, getDownstreamNodeKeys, getElementSelector, getErrorFromData, getEventMethodFileKey, 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, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas$1 as hasFormulas, hasFormulas as hasFormulas_internalDoNotUse, hasMembraneCredentials, injectFormulaCatalog, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isMembraneError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, loadMembraneConfig, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, membraneConfigSchema, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, parseMembraneElementPath, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema, zodBooleanCoercion };
|
|
11045
|
+
export type { Action, ActionInstance, ActionInstanceSelector, ActionRunLogRecord, ActionSelector, ActionSpec, AgentSessionInput, Alert, App, AppCategory, AppDataSchema, AppDataSchemaInstance, AppDataSchemaInstanceSelector, AppEvent, AppEventSubscription, AppEventSubscriptionCreateRequest, AppEventSubscriptionSelector, AppEventSubscriptionUpdateRequest, AppEventType, BaseConnector, BaseElementInstance, CaseFormulaValue, CaseFormulaValueItem, ConfigurationStateResult, Connection, ConnectionUiSpec, Connector, ConnectorApiType, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthMembraneToken, ConnectorAuthOAuth1, ConnectorAuthOAuth1Config, ConnectorAuthOAuth2, ConnectorAuthOAuth2Config, ConnectorAuthOAuthConfig, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthType, ConnectorDataCollection, ConnectorDataCollectionBase, ConnectorDataCollectionEvent, ConnectorDataCollectionEventCustomPull, ConnectorDataCollectionEventFullScan, ConnectorDataCollectionEventImplementationTypeKey, ConnectorDataCollectionEventPullLatestRecords, ConnectorDataCollectionEventType, ConnectorDataCollectionEventWebhook, ConnectorDataCollectionMethod, ConnectorEventGlobalWebhookGetEventSelectorResponse, ConnectorEventHandler, ConnectorEventListItem, ConnectorEventSpec, ConnectorGlobalWebhookHandleRequest, ConnectorGlobalWebhookHandleResponse, ConnectorGlobalWebhookHandler, ConnectorGlobalWebhookListItem, ConnectorGlobalWebhookSpec, ConnectorMethodImplementation, ConnectorMethodImplementationBase, ConnectorMethodImplementationGraphqlApiMapping, ConnectorMethodImplementationJavascript, ConnectorMethodImplementationMapping, ConnectorMethodImplementationNotSupported, ConnectorMethodImplementationOperationMapping, ConnectorMethodImplementationRestApiMapping, ConnectorOperationHandler, ConnectorOperationMethod, ConnectorSpec, ConnectorUdmCollectionMapping, ConnectorUdmListLitem, ConnectorUdmSpec, ConnectorUiSpec, CopilotActivityNotificationData, CreateAppDataSchemaInstanceRequest, CreateAppDataSchemaRequest, CreateAppEventSubscriptionRequest, CreateAppEventTypeRequest, CreateDataLinkRequest, CreateDataLinkTableInstanceRequest, CreateFieldMappingInstanceRequest, CreateFlowInstanceRequest, CreateScenarioTemplateRequest, CreateScreenRequest, CreateUserRequest, Customer, DataCollectionEvent, DataCollectionEventsRequest, DataCollectionEventsResponse, DataCollectionListItem, DataCollectionMixin, DataCollectionParseUnifiedFieldsRequest, DataCollectionParseUnifiedFieldsResponse, DataCollectionSubscribeRequest, DataCollectionSubscribeResponse, DataCollectionUnsubscribeRequest, DataCollectionUnsubscribeResponse, DataCollectionUpdateSubscriptionRequest, DataCollectionUpdateSubscriptionResponse, DataEventWebhookPayload, DataFilter, DataFormArgs, DataLinkInTableSelector, DataLinkSelector, DataLinkTable, DataLinkTableInstance, DataLinkTableInstanceSelector, DataLocationPointer, DataLocator, DataRecord, DataSource, DataSourceInstance, DataSourceInstanceSelector, DataSourceSelector, DeleteDataLinkRequest, DownstreamFlowNodeRun, ElementInstanceFields, ElementInstanceSelector, ElementTemplateFields, EngineWorkspace, EngineWorkspaceSettings, EngineWorkspaceWithOrgData, ErrorConstructorArg, EvalOperator, ExternalEventApiResponse, ExternalEventCustomPullCollectEventsRequest, ExternalEventCustomPullCollectEventsResponse, ExternalEventCustomPullSubscribeResponse, ExternalEventLogRecord, ExternalEventPull, ExternalEventSubscription, ExternalEventWebhookHandleRequest, ExternalEventWebhookHandleResponse, ExternalEventWebhookRefreshRequest, ExternalEventWebhookRefreshResponse, ExternalEventWebhookSubscribeRequest, ExternalEventWebhookSubscribeResponse, ExternalEventWebhookUnsubscribeRequest, FieldMapping, FieldMappingInstance, FieldMappingInstanceSelector, FieldMappingSelector, FieldValueOption, FindAppDataSchemaInstancesQuery, FindAppDataSchemasQuery, FindAppEventSubscriptionsQuery, FindAppEventTypesQuery, FindAppEventsQuery, FindDataLinkQuery, FindDataLinkTableInstancesQuery, FindDataLinksInTableQuery, FindDataLinksQuery, FindDataLinksResponse, FindDataSourceInstancesResponse, FindExternalEventLogsQuery, FindExternalEventPullsQuery, FindExternalEventSubscriptionsQuery, FindFieldMappingInstancesQuery, FindIntegrationsResponse, FindScenarioTemplatesQuery, FindScreensQuery, FindUsersQuery, Flow, FlowInstance, FlowInstanceSelector, FlowNodeHandlerRunResponse, FlowNodeRunOutput, FlowNodeRunOutputMetadata, FlowNodeRunOutputWithoutDownstreamRuns, FlowNodeRunParameters, FlowNodeRunRecord, FlowNodeRunRecordWithoutOutputsData, FlowNodeRunResult, FlowRun, FlowSelector, GraphQLApiMapping, GraphQLFieldMapping, GraphqlApiClientInput, HandyScenarioTemplateElementApi, IWorkspaceUpdate, Integration, IntegrationAuthOptionLegacy, IntegrationElement, IntegrationElementInstance, IntegrationElementInstanceDependency, IntegrationSpecificElementSelector, ListDataSourcesForIntegrationQuery, ListFieldMappingInstancesForConnectionQuery, ListFieldMappingsForIntegrationQuery, ListFlowsForIntegrationQuery, LoadConfigOptions, LogRecord, LookupValue, MapFormulaValue, MappingItem, MembraneConfig, OpenActionConfigurationOptions, OpenDataSourceConfigurationOptions, OpenFieldMappingInstanceConfigurationOptions, OpenFlowInstanceConfigurationOptions, OpenFlowInstanceEditorOptions, OpenFlowRunEditorOptions, OpenNewConnectionOptions, OpenapiMapping, OperationListItem, OperationMapping, OperationRunRequest, OperationRunResponse, OperationSpec, Org, OrgUser, OrgWorkspace, Package, PartialMembraneConfig, PatchSchemaOption, PlatformUser, PullLatestRecordsEventOutput, ResolveFormulaParams, RestApiClientConstructorOptions, RestApiClientInput, RestApiClientOptions, RestApiClientOutput, RestApiClientOverride, RestApiClientResponseHandler, RestApiMapping, RunFlowOptions, Scenario, ScenarioTemplateElementOverride, ScenarioTemplateElementsApi, ScenarioTemplateIntegration, ScenarioTemplateKeyCollision, Screen, ScreenBlockApi, ScreenSelector, Self, UnifiedDataModel, UpdateAppDataSchemaInstanceRequest, UpdateAppDataSchemaRequest, UpdateAppEventSubscriptionRequest, UpdateAppEventTypeRequest, UpdateDataLinkTableInstanceRequest, UpdateFieldMappingInstanceRequest, UpdateFlowInstanceRequest, UpdateScenarioTemplateRequest, UpdateScreenRequest, UpdateUserRequest, UpstreamFlowNodeRun, UsageEntry, UsageWithCredits, User, UserSelector, UserWorkspaceSettings, ValueToSchemaOptions, Webhook, WebhookType, WithExecutionLogs, WorkspaceElementCalculateStateResult, WorkspaceElementChange, WorkspaceElementDependency, WorkspaceElementReference, WorkspaceElementSpec, WorkspaceElements, WorkspaceExport, WorkspaceExportComparison, WorkspaceLimit, WorkspaceLimits, WorkspaceNotification, WorkspaceSyncEvent, WorkspaceUpdate, WorkspaceUser };
|