@membranehq/sdk 0.11.0 → 0.11.1
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 +199 -0
- package/dist/bundle.js +177 -48
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +7 -0
- package/dist/dts/accessors/integrations-accessors.d.ts +7 -0
- package/dist/dts/alerts/types.d.ts +18 -0
- package/dist/dts/index.browser.d.ts +1 -0
- package/dist/dts/orgs/types.d.ts +12 -0
- package/dist/dts/stats/index.d.ts +33 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +18 -0
- package/dist/dts/workspace-elements/api/actions-api.d.ts +34 -0
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +1 -0
- 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/connections-api.d.ts +21 -0
- package/dist/dts/workspace-elements/api/customers-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +8 -0
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +14 -0
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +4 -0
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +16 -0
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +14 -0
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +14 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +38 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +16 -0
- package/dist/dts/workspace-elements/api/packages-api.d.ts +10 -0
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +1 -0
- package/dist/dts/workspace-elements/base/actions/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/connections/types.d.ts +2 -0
- package/dist/dts/workspace-elements/base/customers/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/external-apps/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/flows/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/integrations/index.d.ts +28 -0
- package/dist/dts/workspace-elements/base/packages/index.d.ts +2 -0
- package/dist/dts/workspace-elements/filter-meta.d.ts +9 -0
- package/dist/dts/workspace-elements/index.d.ts +1 -0
- package/dist/dts/workspace-elements/types.d.ts +4 -0
- package/dist/dts/workspaces/types.d.ts +276 -34
- package/dist/index.browser.d.mts +651 -33
- package/dist/index.browser.d.ts +651 -33
- package/dist/index.browser.js +182 -12
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +172 -13
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +651 -33
- package/dist/index.node.d.ts +651 -33
- package/dist/index.node.js +182 -12
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +172 -13
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.browser.js
CHANGED
|
@@ -3519,6 +3519,7 @@ const BaseIntegrationLevelMembraneInterfaceEditableProperties = BaseMembraneInte
|
|
|
3519
3519
|
parentUuid: z.z.string().optional(),
|
|
3520
3520
|
connectionId: z.z.string().optional(),
|
|
3521
3521
|
instanceKey: z.z.string().optional(),
|
|
3522
|
+
isUniversal: z.z.boolean().optional(),
|
|
3522
3523
|
});
|
|
3523
3524
|
const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties = BaseMembraneInterfaceReadOnlyProperties.extend({
|
|
3524
3525
|
isCustomized: z.z.boolean().optional(),
|
|
@@ -3530,16 +3531,67 @@ const BaseIntegrationLevelMembraneInterfaceExportProperties = BaseMembraneInterf
|
|
|
3530
3531
|
});
|
|
3531
3532
|
const MembraneElementLayer = z.z.enum(['universal', 'integration', 'connection']);
|
|
3532
3533
|
const IntegrationLevelMembraneInterfaceSelectorQuery = z.z.object({
|
|
3533
|
-
layer: MembraneElementLayer.optional()
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3534
|
+
layer: MembraneElementLayer.optional().meta({
|
|
3535
|
+
filterTitle: 'Layer',
|
|
3536
|
+
}),
|
|
3537
|
+
integrationKey: z.z
|
|
3538
|
+
.string()
|
|
3539
|
+
.optional()
|
|
3540
|
+
.meta({
|
|
3541
|
+
hidden: true,
|
|
3542
|
+
}),
|
|
3543
|
+
integrationId: z.z
|
|
3544
|
+
.string()
|
|
3545
|
+
.optional()
|
|
3546
|
+
.meta({
|
|
3547
|
+
filterTitle: 'Integration',
|
|
3548
|
+
referenceElementType: exports.WorkspaceElementType.Integration,
|
|
3549
|
+
}),
|
|
3550
|
+
connectionId: z.z
|
|
3551
|
+
.string()
|
|
3552
|
+
.optional()
|
|
3553
|
+
.meta({
|
|
3554
|
+
filterTitle: 'Connection',
|
|
3555
|
+
referenceElementType: exports.WorkspaceElementType.Connection,
|
|
3556
|
+
}),
|
|
3557
|
+
instanceKey: z.z
|
|
3558
|
+
.string()
|
|
3559
|
+
.optional()
|
|
3560
|
+
.meta({
|
|
3561
|
+
filterTitle: 'Instance Key',
|
|
3562
|
+
}),
|
|
3538
3563
|
});
|
|
3539
3564
|
const FindIntegrationLevelMembraneInterfaceQuery = IntegrationLevelMembraneInterfaceSelectorQuery.extend(CommonListElementsQuery.shape).extend({
|
|
3540
|
-
parentId: z.z
|
|
3541
|
-
|
|
3542
|
-
|
|
3565
|
+
parentId: z.z
|
|
3566
|
+
.string()
|
|
3567
|
+
.optional()
|
|
3568
|
+
.meta({
|
|
3569
|
+
filterTitle: 'Parent',
|
|
3570
|
+
referenceElementType: 'self',
|
|
3571
|
+
}),
|
|
3572
|
+
universalParentId: z.z
|
|
3573
|
+
.string()
|
|
3574
|
+
.optional()
|
|
3575
|
+
.meta({
|
|
3576
|
+
filterTitle: 'Universal Parent',
|
|
3577
|
+
referenceElementType: 'self',
|
|
3578
|
+
}),
|
|
3579
|
+
tenantId: z.z
|
|
3580
|
+
.string()
|
|
3581
|
+
.optional()
|
|
3582
|
+
.meta({
|
|
3583
|
+
filterTitle: 'Customer',
|
|
3584
|
+
referenceElementType: exports.WorkspaceElementType.Customer,
|
|
3585
|
+
}),
|
|
3586
|
+
userId: z.z.string().optional().meta({
|
|
3587
|
+
hidden: true,
|
|
3588
|
+
}),
|
|
3589
|
+
isUniversal: zodBooleanCoercion()
|
|
3590
|
+
.optional()
|
|
3591
|
+
.meta({
|
|
3592
|
+
filterTitle: 'Is Universal',
|
|
3593
|
+
isFlag: true,
|
|
3594
|
+
}),
|
|
3543
3595
|
});
|
|
3544
3596
|
const BaseIntegrationLevelMembraneInterface = BaseMembraneInterface.merge(BaseIntegrationLevelMembraneInterfaceEditableProperties).merge(BaseIntegrationLevelMembraneInterfaceReadOnlyProperties);
|
|
3545
3597
|
const WorkspaceElementSearchQuery = z.z.object({
|
|
@@ -3782,6 +3834,8 @@ const BaseConnection = BaseWorkspaceElement.extend({
|
|
|
3782
3834
|
nextCredentialsRefreshAt: z.z.string().optional(),
|
|
3783
3835
|
nextRetryTimestamp: z.z.string().optional(),
|
|
3784
3836
|
retryAttempts: z.z.number().optional(),
|
|
3837
|
+
canTest: z.z.boolean().optional(),
|
|
3838
|
+
canRefreshCredentials: z.z.boolean().optional(),
|
|
3785
3839
|
archivedAt: z.z.string().optional(),
|
|
3786
3840
|
isDeactivated: z.z.boolean().optional(),
|
|
3787
3841
|
meta: z.z.record(z.z.string(), z.z.any()).optional(),
|
|
@@ -9476,6 +9530,11 @@ const FlowReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProp
|
|
|
9476
9530
|
});
|
|
9477
9531
|
const BaseFlow = BaseMembraneInterface.merge(FlowEditableProperties).merge(FlowReadOnlyProperties);
|
|
9478
9532
|
|
|
9533
|
+
const IntegrationOptionConfig = z.z.object({
|
|
9534
|
+
disabled: z.z.boolean().optional(),
|
|
9535
|
+
parameters: z.z.record(z.z.string(), z.z.any()).optional(),
|
|
9536
|
+
});
|
|
9537
|
+
const IntegrationOptions = z.z.record(z.z.string(), IntegrationOptionConfig);
|
|
9479
9538
|
const BaseIntegration = BaseMembraneInterface.extend({
|
|
9480
9539
|
logoUri: z.z.string(),
|
|
9481
9540
|
connectorId: z.z.string().optional(),
|
|
@@ -9497,6 +9556,7 @@ const BaseIntegration = BaseMembraneInterface.extend({
|
|
|
9497
9556
|
appUuid: z.z.string().optional(),
|
|
9498
9557
|
isDeactivated: z.z.boolean().optional(),
|
|
9499
9558
|
authType: z.z.enum(CONNECTOR_AUTH_TYPES).optional(),
|
|
9559
|
+
optionsConfig: IntegrationOptions.optional(),
|
|
9500
9560
|
});
|
|
9501
9561
|
const IntegrationEditableProperties = BaseMembraneInterfaceEditableProperties.extend({
|
|
9502
9562
|
logoUri: z.z.string().optional(),
|
|
@@ -9506,6 +9566,8 @@ const IntegrationEditableProperties = BaseMembraneInterfaceEditableProperties.ex
|
|
|
9506
9566
|
connectorVersion: z.z.string().optional(),
|
|
9507
9567
|
connectorId: z.z.string().optional(),
|
|
9508
9568
|
connectorUuid: z.z.string().optional(),
|
|
9569
|
+
parameters: z.z.record(z.z.string(), z.z.any()).optional(),
|
|
9570
|
+
optionsConfig: IntegrationOptions.optional(),
|
|
9509
9571
|
});
|
|
9510
9572
|
const IntegrationExportProperties = IntegrationEditableProperties.extend({
|
|
9511
9573
|
connectorUuid: z.z.string().optional(),
|
|
@@ -9589,6 +9651,7 @@ const BaseCustomer = z.z.object({
|
|
|
9589
9651
|
lastActiveAt: z.z.string().optional(),
|
|
9590
9652
|
isTest: z.z.boolean().optional(),
|
|
9591
9653
|
isBillable: z.z.boolean().optional(),
|
|
9654
|
+
isActive: z.z.boolean().optional(),
|
|
9592
9655
|
createdAt: z.z.string().optional(),
|
|
9593
9656
|
archivedAt: z.z.string().optional(),
|
|
9594
9657
|
});
|
|
@@ -9948,7 +10011,13 @@ const ActionApiResponse = BaseAction.extend({
|
|
|
9948
10011
|
dependencies: z.z.array(z.z.any()).optional(),
|
|
9949
10012
|
});
|
|
9950
10013
|
const FindActionsQuery = FindIntegrationLevelMembraneInterfaceQuery.extend({
|
|
9951
|
-
externalAppId: z.z
|
|
10014
|
+
externalAppId: z.z
|
|
10015
|
+
.string()
|
|
10016
|
+
.optional()
|
|
10017
|
+
.meta({
|
|
10018
|
+
filterTitle: 'External App',
|
|
10019
|
+
referenceElementType: exports.WorkspaceElementType.App,
|
|
10020
|
+
}),
|
|
9952
10021
|
});
|
|
9953
10022
|
const CreateActionRequest = ActionEditableProperties;
|
|
9954
10023
|
const UpdateActionRequest = CreateActionRequest.partial();
|
|
@@ -10686,6 +10755,14 @@ function setEditablePropertiesForWorkspaceElement(currentElement, newEditableFie
|
|
|
10686
10755
|
};
|
|
10687
10756
|
}
|
|
10688
10757
|
|
|
10758
|
+
const REFERENCE_ELEMENT_TYPE_SELF = 'self';
|
|
10759
|
+
function getFilterFieldMeta(meta) {
|
|
10760
|
+
if (meta && typeof meta === 'object' && !Array.isArray(meta)) {
|
|
10761
|
+
return meta;
|
|
10762
|
+
}
|
|
10763
|
+
return undefined;
|
|
10764
|
+
}
|
|
10765
|
+
|
|
10689
10766
|
const WorkspaceElementSpecs = {
|
|
10690
10767
|
[exports.WorkspaceElementType.Customer]: {
|
|
10691
10768
|
type: exports.WorkspaceElementType.Customer,
|
|
@@ -11257,6 +11334,27 @@ function getBusinessDaysBetween(startDate, endDate) {
|
|
|
11257
11334
|
return businessDays;
|
|
11258
11335
|
}
|
|
11259
11336
|
|
|
11337
|
+
const StatsFilterQuery = z.z.object({
|
|
11338
|
+
tenantId: z.z.string().optional(),
|
|
11339
|
+
integrationId: z.z.string().optional(),
|
|
11340
|
+
connectionId: z.z.string().optional(),
|
|
11341
|
+
});
|
|
11342
|
+
const ActivityStatsQuery = StatsFilterQuery.extend({
|
|
11343
|
+
startDatetime: z.z.string().datetime({ offset: true }),
|
|
11344
|
+
});
|
|
11345
|
+
const IntegrationLayerStatsQuery = StatsFilterQuery;
|
|
11346
|
+
const ActionRunsStatsQuery = z.z.object({
|
|
11347
|
+
actionId: z.z.string().optional(),
|
|
11348
|
+
actionInstanceId: z.z.string().optional(),
|
|
11349
|
+
startDatetime: z.z.string().datetime({ offset: true }),
|
|
11350
|
+
});
|
|
11351
|
+
const FlowRunsStatsQuery = z.z.object({
|
|
11352
|
+
flowId: z.z.string().optional(),
|
|
11353
|
+
flowInstanceId: z.z.string().optional(),
|
|
11354
|
+
universalFlowId: z.z.string().optional(),
|
|
11355
|
+
startDatetime: z.z.string().datetime({ offset: true }),
|
|
11356
|
+
});
|
|
11357
|
+
|
|
11260
11358
|
exports.IntegrationElementLevel = void 0;
|
|
11261
11359
|
(function (IntegrationElementLevel) {
|
|
11262
11360
|
IntegrationElementLevel["UNIVERSAL"] = "universal";
|
|
@@ -11427,6 +11525,10 @@ exports.AlertType = void 0;
|
|
|
11427
11525
|
AlertType["workspaceElementCreationsPerSecond"] = "workspaceElementCreationsPerSecond";
|
|
11428
11526
|
AlertType["workspaceElementCreationsPerHour"] = "workspaceElementCreationsPerHour";
|
|
11429
11527
|
AlertType["externalEventsPerCustomerPerDay"] = "externalEventsPerCustomerPerDay";
|
|
11528
|
+
AlertType["apiRequestsPerCustomerPerSecond"] = "apiRequestsPerCustomerPerSecond";
|
|
11529
|
+
AlertType["apiRequestsPerCustomerPerHour"] = "apiRequestsPerCustomerPerHour";
|
|
11530
|
+
AlertType["webhookRequestsPerCustomerPerSecond"] = "webhookRequestsPerCustomerPerSecond";
|
|
11531
|
+
AlertType["webhookRequestsPerCustomerPerHour"] = "webhookRequestsPerCustomerPerHour";
|
|
11430
11532
|
AlertType["totalUsagePerDay"] = "totalUsagePerDay";
|
|
11431
11533
|
AlertType["totalUsagePer30Days"] = "totalUsagePer30Days";
|
|
11432
11534
|
AlertType["testAlert"] = "testAlert";
|
|
@@ -11434,6 +11536,7 @@ exports.AlertType = void 0;
|
|
|
11434
11536
|
exports.AlertCategory = void 0;
|
|
11435
11537
|
(function (AlertCategory) {
|
|
11436
11538
|
AlertCategory["RATE_LIMIT"] = "rateLimit";
|
|
11539
|
+
AlertCategory["CUSTOMER_RATE_LIMIT"] = "customerRateLimit";
|
|
11437
11540
|
AlertCategory["USAGE"] = "usage";
|
|
11438
11541
|
AlertCategory["TEST"] = "test";
|
|
11439
11542
|
})(exports.AlertCategory || (exports.AlertCategory = {}));
|
|
@@ -11446,6 +11549,10 @@ const ALERT_TYPE_CATEGORIES = {
|
|
|
11446
11549
|
[exports.AlertType.workspaceElementCreationsPerSecond]: exports.AlertCategory.RATE_LIMIT,
|
|
11447
11550
|
[exports.AlertType.workspaceElementCreationsPerHour]: exports.AlertCategory.RATE_LIMIT,
|
|
11448
11551
|
[exports.AlertType.externalEventsPerCustomerPerDay]: exports.AlertCategory.RATE_LIMIT,
|
|
11552
|
+
[exports.AlertType.apiRequestsPerCustomerPerSecond]: exports.AlertCategory.CUSTOMER_RATE_LIMIT,
|
|
11553
|
+
[exports.AlertType.apiRequestsPerCustomerPerHour]: exports.AlertCategory.CUSTOMER_RATE_LIMIT,
|
|
11554
|
+
[exports.AlertType.webhookRequestsPerCustomerPerSecond]: exports.AlertCategory.CUSTOMER_RATE_LIMIT,
|
|
11555
|
+
[exports.AlertType.webhookRequestsPerCustomerPerHour]: exports.AlertCategory.CUSTOMER_RATE_LIMIT,
|
|
11449
11556
|
[exports.AlertType.totalUsagePerDay]: exports.AlertCategory.USAGE,
|
|
11450
11557
|
[exports.AlertType.totalUsagePer30Days]: exports.AlertCategory.USAGE,
|
|
11451
11558
|
[exports.AlertType.testAlert]: exports.AlertCategory.TEST,
|
|
@@ -11506,6 +11613,10 @@ function getAlertTypeDisplayName(alertType) {
|
|
|
11506
11613
|
[exports.AlertType.workspaceElementCreationsPerSecond]: 'Workspace Element Creations Per Second',
|
|
11507
11614
|
[exports.AlertType.workspaceElementCreationsPerHour]: 'Workspace Element Creations Per Hour',
|
|
11508
11615
|
[exports.AlertType.externalEventsPerCustomerPerDay]: 'External Events Per Customer Per Day',
|
|
11616
|
+
[exports.AlertType.apiRequestsPerCustomerPerSecond]: 'API Requests Per Customer Per Second',
|
|
11617
|
+
[exports.AlertType.apiRequestsPerCustomerPerHour]: 'API Requests Per Customer Per Hour',
|
|
11618
|
+
[exports.AlertType.webhookRequestsPerCustomerPerSecond]: 'Webhook Requests Per Customer Per Second',
|
|
11619
|
+
[exports.AlertType.webhookRequestsPerCustomerPerHour]: 'Webhook Requests Per Customer Per Hour',
|
|
11509
11620
|
[exports.AlertType.totalUsagePerDay]: 'Total Usage Per Day',
|
|
11510
11621
|
[exports.AlertType.totalUsagePer30Days]: 'Total Usage Per 30 Days',
|
|
11511
11622
|
[exports.AlertType.testAlert]: 'Test Alert',
|
|
@@ -11533,6 +11644,7 @@ function isDeliveryMethodEnabled(settings, method) {
|
|
|
11533
11644
|
function getAlertCategoryDisplayName(category) {
|
|
11534
11645
|
const names = {
|
|
11535
11646
|
[exports.AlertCategory.RATE_LIMIT]: 'Rate Limit Alerts',
|
|
11647
|
+
[exports.AlertCategory.CUSTOMER_RATE_LIMIT]: 'Customer Rate Limit Alerts',
|
|
11536
11648
|
[exports.AlertCategory.USAGE]: 'Usage Alerts',
|
|
11537
11649
|
[exports.AlertCategory.TEST]: 'Test',
|
|
11538
11650
|
};
|
|
@@ -11563,6 +11675,49 @@ exports.WorkspaceNotificationType = void 0;
|
|
|
11563
11675
|
WorkspaceNotificationType["CopilotActivity"] = "copilot-activity";
|
|
11564
11676
|
WorkspaceNotificationType["LocalClientUpdate"] = "local-client-update";
|
|
11565
11677
|
})(exports.WorkspaceNotificationType || (exports.WorkspaceNotificationType = {}));
|
|
11678
|
+
exports.ParallelExecutionLimits = void 0;
|
|
11679
|
+
(function (ParallelExecutionLimits) {
|
|
11680
|
+
ParallelExecutionLimits["ParallelEventPulls"] = "parallelEventPulls";
|
|
11681
|
+
ParallelExecutionLimits["ParallelIncrementalEventPullsPerConnection"] = "parallelIncrementalEventPullsPerConnection";
|
|
11682
|
+
ParallelExecutionLimits["ParallelFullSyncEventPullsPerConnection"] = "parallelFullSyncEventPullsPerConnection";
|
|
11683
|
+
ParallelExecutionLimits["ParallelFlowRuns"] = "parallelFlowRuns";
|
|
11684
|
+
ParallelExecutionLimits["ParallelFlowRunsPerConnection"] = "parallelFlowRunsPerConnection";
|
|
11685
|
+
ParallelExecutionLimits["ParallelApiRequests"] = "parallelApiRequests";
|
|
11686
|
+
ParallelExecutionLimits["ParallelSseRequests"] = "parallelSseRequests";
|
|
11687
|
+
ParallelExecutionLimits["ParallelBackgroundJobs"] = "parallelBackgroundJobs";
|
|
11688
|
+
ParallelExecutionLimits["ParallelEventLogs"] = "parallelEventLogs";
|
|
11689
|
+
ParallelExecutionLimits["ParallelEventLogsPerConnection"] = "parallelEventLogsPerConnection";
|
|
11690
|
+
ParallelExecutionLimits["ParallelPathfinderAgentSessions"] = "parallelPathfinderAgentSessions";
|
|
11691
|
+
ParallelExecutionLimits["ParallelInstantTasksActiveJobs"] = "parallelInstantTasksActiveJobs";
|
|
11692
|
+
})(exports.ParallelExecutionLimits || (exports.ParallelExecutionLimits = {}));
|
|
11693
|
+
exports.RateLimits = void 0;
|
|
11694
|
+
(function (RateLimits) {
|
|
11695
|
+
RateLimits["fileUploadsMbPerHour"] = "fileUploadsMbPerHour";
|
|
11696
|
+
RateLimits["ApiRequestsPerSecond"] = "apiRequestsPerSecond";
|
|
11697
|
+
RateLimits["ApiRequestsPerHour"] = "apiRequestsPerHour";
|
|
11698
|
+
RateLimits["WebhookRequestsPerSecond"] = "webhookRequestsPerSecond";
|
|
11699
|
+
RateLimits["WebhookRequestsPerHour"] = "webhookRequestsPerHour";
|
|
11700
|
+
RateLimits["WorkspaceElementCreationsPerSecond"] = "workspaceElementCreationsPerSecond";
|
|
11701
|
+
RateLimits["WorkspaceElementCreationsPerHour"] = "workspaceElementCreationsPerHour";
|
|
11702
|
+
RateLimits["ExternalEventsPerCustomerPerDay"] = "externalEventsPerCustomerPerDay";
|
|
11703
|
+
})(exports.RateLimits || (exports.RateLimits = {}));
|
|
11704
|
+
exports.WorkspaceSizeLimits = void 0;
|
|
11705
|
+
(function (WorkspaceSizeLimits) {
|
|
11706
|
+
WorkspaceSizeLimits["TotalNumberOfCustomers"] = "totalNumberOfCustomers";
|
|
11707
|
+
WorkspaceSizeLimits["TotalNumberOfConnections"] = "totalNumberOfConnections";
|
|
11708
|
+
WorkspaceSizeLimits["TotalNumberOfWorkspaceElements"] = "totalNumberOfWorkspaceElements";
|
|
11709
|
+
WorkspaceSizeLimits["InstantTasksQueueSize"] = "instantTasksQueueSize";
|
|
11710
|
+
WorkspaceSizeLimits["QueuedTasksQueueSize"] = "queuedTasksQueueSize";
|
|
11711
|
+
})(exports.WorkspaceSizeLimits || (exports.WorkspaceSizeLimits = {}));
|
|
11712
|
+
exports.CustomerLimits = void 0;
|
|
11713
|
+
(function (CustomerLimits) {
|
|
11714
|
+
CustomerLimits["ParallelApiRequestsPerCustomer"] = "parallelApiRequestsPerCustomer";
|
|
11715
|
+
CustomerLimits["ParallelBackgroundJobsPerCustomer"] = "parallelBackgroundJobsPerCustomer";
|
|
11716
|
+
CustomerLimits["ApiRequestsPerCustomerPerSecond"] = "apiRequestsPerCustomerPerSecond";
|
|
11717
|
+
CustomerLimits["ApiRequestsPerCustomerPerHour"] = "apiRequestsPerCustomerPerHour";
|
|
11718
|
+
CustomerLimits["WebhookRequestsPerCustomerPerSecond"] = "webhookRequestsPerCustomerPerSecond";
|
|
11719
|
+
CustomerLimits["WebhookRequestsPerCustomerPerHour"] = "webhookRequestsPerCustomerPerHour";
|
|
11720
|
+
})(exports.CustomerLimits || (exports.CustomerLimits = {}));
|
|
11566
11721
|
exports.LimitUnits = void 0;
|
|
11567
11722
|
(function (LimitUnits) {
|
|
11568
11723
|
LimitUnits["Number"] = "number";
|
|
@@ -11586,6 +11741,7 @@ const WorkspaceLimitsSchema = z.object({
|
|
|
11586
11741
|
parallelEventLogs: WorkspaceLimit.optional(),
|
|
11587
11742
|
parallelEventLogsPerConnection: WorkspaceLimit.optional(),
|
|
11588
11743
|
parallelInstantTasksActiveJobs: WorkspaceLimit.optional(),
|
|
11744
|
+
parallelPathfinderAgentSessions: WorkspaceLimit.optional(),
|
|
11589
11745
|
ParallelWriteDatabaseRequests: WorkspaceLimit.optional(),
|
|
11590
11746
|
fileUploadsMbPerHour: WorkspaceLimit.optional(),
|
|
11591
11747
|
apiRequestsPerSecond: WorkspaceLimit.optional(),
|
|
@@ -11611,18 +11767,19 @@ const WorkspaceLimitsSchema = z.object({
|
|
|
11611
11767
|
updateDatabaseRequestsPerCustomerPerSecond: WorkspaceLimit.optional(),
|
|
11612
11768
|
parallelWriteDatabaseRequestsPerCustomer: WorkspaceLimit.optional(),
|
|
11613
11769
|
});
|
|
11614
|
-
const
|
|
11770
|
+
const WorkspaceSettingsSchema = z.object({
|
|
11615
11771
|
enableApiLogs: z.boolean().optional(),
|
|
11616
11772
|
enableWebhookLogs: z.boolean().optional(),
|
|
11617
11773
|
enableActionRunLogs: z.boolean().optional(),
|
|
11618
11774
|
disableSecretKeyAuth: z.boolean().optional(),
|
|
11619
11775
|
useMembraneUniverse: z.boolean().optional(),
|
|
11620
11776
|
});
|
|
11777
|
+
const EngineWorkspaceSettingsSchema = WorkspaceSettingsSchema;
|
|
11621
11778
|
const WorkspacePublicKey = z.object({
|
|
11622
11779
|
name: z.string(),
|
|
11623
11780
|
publicKey: z.string(),
|
|
11624
11781
|
});
|
|
11625
|
-
const
|
|
11782
|
+
const Workspace = z.object({
|
|
11626
11783
|
id: z.string(),
|
|
11627
11784
|
key: z.string(),
|
|
11628
11785
|
logoUri: z.string().optional(),
|
|
@@ -11642,7 +11799,7 @@ const AppSchema = z.object({
|
|
|
11642
11799
|
connectorRevision: z.string().optional(),
|
|
11643
11800
|
featureFlags: z.array(z.string()).optional(),
|
|
11644
11801
|
limits: WorkspaceLimitsSchema.optional(),
|
|
11645
|
-
settings:
|
|
11802
|
+
settings: WorkspaceSettingsSchema.optional(),
|
|
11646
11803
|
alertDeliverySettings: AlertDeliverySettingsSchema.optional(),
|
|
11647
11804
|
type: z.nativeEnum(exports.WorkspaceType).optional(),
|
|
11648
11805
|
jwksUri: z.string().nullable().optional(),
|
|
@@ -11650,7 +11807,9 @@ const AppSchema = z.object({
|
|
|
11650
11807
|
isThrottled: z.boolean().optional(),
|
|
11651
11808
|
isDisabled: z.boolean().optional(),
|
|
11652
11809
|
isBackgroundJobsDisabled: z.boolean().optional(),
|
|
11810
|
+
lastExternalApiRequestDate: z.string().nullable().optional(),
|
|
11653
11811
|
});
|
|
11812
|
+
const AppSchema = Workspace;
|
|
11654
11813
|
|
|
11655
11814
|
const PARALLEL_EXECUTION_LIMITS = [
|
|
11656
11815
|
'parallelEventPulls',
|
|
@@ -14067,7 +14226,9 @@ exports.ActionInstancesAccessor = ActionInstancesAccessor;
|
|
|
14067
14226
|
exports.ActionRunError = ActionRunError;
|
|
14068
14227
|
exports.ActionRunLogRecordApiResponse = ActionRunLogRecordApiResponse;
|
|
14069
14228
|
exports.ActionRunResponse = ActionRunResponse;
|
|
14229
|
+
exports.ActionRunsStatsQuery = ActionRunsStatsQuery;
|
|
14070
14230
|
exports.ActionsAccessor = ActionsAccessor;
|
|
14231
|
+
exports.ActivityStatsQuery = ActivityStatsQuery;
|
|
14071
14232
|
exports.AgentSession = AgentSession;
|
|
14072
14233
|
exports.AgentSessionInputSchema = AgentSessionInputSchema;
|
|
14073
14234
|
exports.AlertDeliverySettingsSchema = AlertDeliverySettingsSchema;
|
|
@@ -14377,6 +14538,7 @@ exports.FlowRunLaunchedBy = FlowRunLaunchedBy;
|
|
|
14377
14538
|
exports.FlowRunLaunchedByApi = FlowRunLaunchedByApi;
|
|
14378
14539
|
exports.FlowRunNode = FlowRunNode;
|
|
14379
14540
|
exports.FlowRunsAccessor = FlowRunsAccessor;
|
|
14541
|
+
exports.FlowRunsStatsQuery = FlowRunsStatsQuery;
|
|
14380
14542
|
exports.FlowsAccessor = FlowsAccessor;
|
|
14381
14543
|
exports.Formula = Formula;
|
|
14382
14544
|
exports.FullPlatformUser = FullPlatformUser;
|
|
@@ -14400,6 +14562,7 @@ exports.IntegrationAuthOption = IntegrationAuthOption;
|
|
|
14400
14562
|
exports.IntegrationAuthUi = IntegrationAuthUi;
|
|
14401
14563
|
exports.IntegrationEditableProperties = IntegrationEditableProperties;
|
|
14402
14564
|
exports.IntegrationExportProperties = IntegrationExportProperties;
|
|
14565
|
+
exports.IntegrationLayerStatsQuery = IntegrationLayerStatsQuery;
|
|
14403
14566
|
exports.IntegrationLevelActionAccessor = IntegrationLevelActionAccessor;
|
|
14404
14567
|
exports.IntegrationLevelActionsListAccessor = IntegrationLevelActionsListAccessor;
|
|
14405
14568
|
exports.IntegrationLevelDataSourceAccessor = IntegrationLevelDataSourceAccessor;
|
|
@@ -14409,6 +14572,8 @@ exports.IntegrationLevelFieldMappingsListAccessor = IntegrationLevelFieldMapping
|
|
|
14409
14572
|
exports.IntegrationLevelFlowAccessor = IntegrationLevelFlowAccessor;
|
|
14410
14573
|
exports.IntegrationLevelFlowsListAccessor = IntegrationLevelFlowsListAccessor;
|
|
14411
14574
|
exports.IntegrationLevelMembraneInterfaceSelectorQuery = IntegrationLevelMembraneInterfaceSelectorQuery;
|
|
14575
|
+
exports.IntegrationOptionConfig = IntegrationOptionConfig;
|
|
14576
|
+
exports.IntegrationOptions = IntegrationOptions;
|
|
14412
14577
|
exports.IntegrationSpecificElementSelector = IntegrationSpecificElementSelector;
|
|
14413
14578
|
exports.IntegrationsAccessor = IntegrationsAccessor;
|
|
14414
14579
|
exports.InternalError = InternalError;
|
|
@@ -14465,6 +14630,7 @@ exports.PaginationResponse = PaginationResponse;
|
|
|
14465
14630
|
exports.PatchAgentSessionSchema = PatchAgentSessionSchema;
|
|
14466
14631
|
exports.PlatformUserSchema = PlatformUserSchema;
|
|
14467
14632
|
exports.RATE_LIMITS = RATE_LIMITS;
|
|
14633
|
+
exports.REFERENCE_ELEMENT_TYPE_SELF = REFERENCE_ELEMENT_TYPE_SELF;
|
|
14468
14634
|
exports.RateLimitExceededError = RateLimitExceededError;
|
|
14469
14635
|
exports.RequestMappingSchema = RequestMappingSchema;
|
|
14470
14636
|
exports.ResetFlowInstanceOptions = ResetFlowInstanceOptions;
|
|
@@ -14482,6 +14648,7 @@ exports.ScreenBlock = ScreenBlock;
|
|
|
14482
14648
|
exports.ScreensAccessor = ScreensAccessor;
|
|
14483
14649
|
exports.SearchQuery = SearchQuery;
|
|
14484
14650
|
exports.SelfAccessor = SelfAccessor;
|
|
14651
|
+
exports.StatsFilterQuery = StatsFilterQuery;
|
|
14485
14652
|
exports.UNIFIED_DATA_MODELS = UNIFIED_DATA_MODELS;
|
|
14486
14653
|
exports.UnitRunError = UnitRunError;
|
|
14487
14654
|
exports.UpdateActionInstanceRequest = UpdateActionInstanceRequest;
|
|
@@ -14500,11 +14667,13 @@ exports.UpstreamFlowNodeRunSchema = UpstreamFlowNodeRunSchema;
|
|
|
14500
14667
|
exports.UserAccessor = UserAccessor;
|
|
14501
14668
|
exports.UsersAccessor = UsersAccessor;
|
|
14502
14669
|
exports.WORKSPACE_SIZE_LIMITS = WORKSPACE_SIZE_LIMITS;
|
|
14670
|
+
exports.Workspace = Workspace;
|
|
14503
14671
|
exports.WorkspaceElementSearchQuery = WorkspaceElementSearchQuery;
|
|
14504
14672
|
exports.WorkspaceElementSearchResult = WorkspaceElementSearchResult;
|
|
14505
14673
|
exports.WorkspaceElementSpecs = WorkspaceElementSpecs;
|
|
14506
14674
|
exports.WorkspaceLimitsSchema = WorkspaceLimitsSchema;
|
|
14507
14675
|
exports.WorkspacePublicKey = WorkspacePublicKey;
|
|
14676
|
+
exports.WorkspaceSettingsSchema = WorkspaceSettingsSchema;
|
|
14508
14677
|
exports.WritableConnectorVersionData = WritableConnectorVersionData;
|
|
14509
14678
|
exports.WritablePackageVersionData = WritablePackageVersionData;
|
|
14510
14679
|
exports.WriteableConnectorFields = WriteableConnectorFields;
|
|
@@ -14557,6 +14726,7 @@ exports.getEffectiveConnectorOption = getEffectiveConnectorOption;
|
|
|
14557
14726
|
exports.getElementSelector = getElementSelector;
|
|
14558
14727
|
exports.getErrorFromData = getErrorFromData;
|
|
14559
14728
|
exports.getEventMethodFileKey = getEventMethodFileKey;
|
|
14729
|
+
exports.getFilterFieldMeta = getFilterFieldMeta;
|
|
14560
14730
|
exports.getFilterFieldValuesByLocator = getFilterFieldValuesByLocator;
|
|
14561
14731
|
exports.getFlowInstanceNodeDependency = getFlowInstanceNodeDependency;
|
|
14562
14732
|
exports.getFlowNode = getFlowNode;
|