@membranehq/sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +32 -0
- package/dist/bundle.d.ts +2543 -0
- package/dist/bundle.js +26089 -0
- package/dist/bundle.js.map +1 -0
- package/dist/dts/__mocks__/axios.d.ts +4 -0
- package/dist/dts/_helper.d.ts +7 -0
- package/dist/dts/_helper.test.d.ts +1 -0
- package/dist/dts/accessors.d.ts +85 -0
- package/dist/dts/accessors.test.d.ts +1 -0
- package/dist/dts/actions/accessors.d.ts +49 -0
- package/dist/dts/actions/action-types.d.ts +26 -0
- package/dist/dts/actions/index.d.ts +3 -0
- package/dist/dts/actions/types.d.ts +95 -0
- package/dist/dts/alerts/index.d.ts +1 -0
- package/dist/dts/alerts/types.d.ts +24 -0
- package/dist/dts/api-client.d.ts +32 -0
- package/dist/dts/api-client.test.d.ts +1 -0
- package/dist/dts/app-data-schemas/accessors.d.ts +18 -0
- package/dist/dts/app-data-schemas/api.d.ts +33 -0
- package/dist/dts/app-data-schemas/index.d.ts +23 -0
- package/dist/dts/app-events/accessors.d.ts +20 -0
- package/dist/dts/app-events/api.d.ts +44 -0
- package/dist/dts/app-events/index.d.ts +42 -0
- package/dist/dts/apps/index.d.ts +1 -0
- package/dist/dts/apps/types.d.ts +18 -0
- package/dist/dts/auth/accessors.d.ts +10 -0
- package/dist/dts/auth/index.d.ts +7 -0
- package/dist/dts/client.d.ts +70 -0
- package/dist/dts/connections/accessors.d.ts +88 -0
- package/dist/dts/connections/api.d.ts +27 -0
- package/dist/dts/connections/create-or-update-connection.d.ts +14 -0
- package/dist/dts/connections/index.d.ts +3 -0
- package/dist/dts/connections/types.d.ts +52 -0
- package/dist/dts/connector-copilot/index.d.ts +1 -0
- package/dist/dts/connector-copilot/types.d.ts +160 -0
- package/dist/dts/connectors/auth.d.ts +171 -0
- package/dist/dts/connectors/constants.d.ts +5 -0
- package/dist/dts/connectors/data-locations/base.d.ts +10 -0
- package/dist/dts/connectors/data-locations/collections/events/implementation-types/connector-event.d.ts +14 -0
- package/dist/dts/connectors/data-locations/collections/events/implementation-types/custom-pull.d.ts +14 -0
- package/dist/dts/connectors/data-locations/collections/events/implementation-types/full-scan.d.ts +7 -0
- package/dist/dts/connectors/data-locations/collections/events/implementation-types/pull-latest-records.d.ts +17 -0
- package/dist/dts/connectors/data-locations/collections/events/implementation-types/webhook.d.ts +18 -0
- package/dist/dts/connectors/data-locations/collections/events/index.d.ts +50 -0
- package/dist/dts/connectors/data-locations/collections/events/methods.d.ts +15 -0
- package/dist/dts/connectors/data-locations/collections/index.d.ts +70 -0
- package/dist/dts/connectors/data-locations/collections/methods/base.d.ts +24 -0
- package/dist/dts/connectors/data-locations/collections/methods/create.d.ts +7 -0
- package/dist/dts/connectors/data-locations/collections/methods/delete.d.ts +2 -0
- package/dist/dts/connectors/data-locations/collections/methods/find-by-id.d.ts +2 -0
- package/dist/dts/connectors/data-locations/collections/methods/find.d.ts +6 -0
- package/dist/dts/connectors/data-locations/collections/methods/list.d.ts +5 -0
- package/dist/dts/connectors/data-locations/collections/methods/match.d.ts +5 -0
- package/dist/dts/connectors/data-locations/collections/methods/search.d.ts +2 -0
- package/dist/dts/connectors/data-locations/collections/methods/update.d.ts +6 -0
- package/dist/dts/connectors/data-locations/directories/index.d.ts +17 -0
- package/dist/dts/connectors/data-locations/directories/methods/base.d.ts +18 -0
- package/dist/dts/connectors/data-locations/directories/methods/list.d.ts +2 -0
- package/dist/dts/connectors/data-locations/index.d.ts +6 -0
- package/dist/dts/connectors/data-locations/methods.d.ts +6 -0
- package/dist/dts/connectors/data-locations/types.d.ts +258 -0
- package/dist/dts/connectors/data-locations/utils.d.ts +17 -0
- package/dist/dts/connectors/data-locations/utils.test.d.ts +1 -0
- package/dist/dts/connectors/data-records.d.ts +7 -0
- package/dist/dts/connectors/events/index.d.ts +1 -0
- package/dist/dts/connectors/events/types.d.ts +36 -0
- package/dist/dts/connectors/global-webhooks/index.d.ts +1 -0
- package/dist/dts/connectors/global-webhooks/types.d.ts +33 -0
- package/dist/dts/connectors/graphql-api.d.ts +17 -0
- package/dist/dts/connectors/index.d.ts +13 -0
- package/dist/dts/connectors/methods.d.ts +44 -0
- package/dist/dts/connectors/openapi.d.ts +11 -0
- package/dist/dts/connectors/operations/handlers.d.ts +9 -0
- package/dist/dts/connectors/operations/index.d.ts +2 -0
- package/dist/dts/connectors/operations/types.d.ts +26 -0
- package/dist/dts/connectors/rest-api.d.ts +67 -0
- package/dist/dts/connectors/types.d.ts +75 -0
- package/dist/dts/connectors/udm.d.ts +14 -0
- package/dist/dts/data-builder/formula-processors.d.ts +13 -0
- package/dist/dts/data-builder/formula-processors.test.d.ts +1 -0
- package/dist/dts/data-builder/formula-types.d.ts +4 -0
- package/dist/dts/data-builder/formulas/and.d.ts +9 -0
- package/dist/dts/data-builder/formulas/and.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/base.d.ts +47 -0
- package/dist/dts/data-builder/formulas/case.d.ts +18 -0
- package/dist/dts/data-builder/formulas/case.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/concat.d.ts +19 -0
- package/dist/dts/data-builder/formulas/concat.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/copy.d.ts +10 -0
- package/dist/dts/data-builder/formulas/copy.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/dataSchemaRef.d.ts +22 -0
- package/dist/dts/data-builder/formulas/dataSchemaRef.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/domainFromEmail.d.ts +10 -0
- package/dist/dts/data-builder/formulas/domainFromEmail.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/eval.d.ts +28 -0
- package/dist/dts/data-builder/formulas/eval.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/extractDate.d.ts +11 -0
- package/dist/dts/data-builder/formulas/extractDate.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/extractTime.d.ts +11 -0
- package/dist/dts/data-builder/formulas/extractTime.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/findAppRecordId.d.ts +17 -0
- package/dist/dts/data-builder/formulas/findAppRecordId.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/findExternalRecordId.d.ts +17 -0
- package/dist/dts/data-builder/formulas/findExternalRecordId.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/first-name.d.ts +10 -0
- package/dist/dts/data-builder/formulas/first-name.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/firstNotEmpty.d.ts +7 -0
- package/dist/dts/data-builder/formulas/firstNotEmpty.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/formula.d.ts +8 -0
- package/dist/dts/data-builder/formulas/formula.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/index.d.ts +26 -0
- package/dist/dts/data-builder/formulas/index.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/iterate.d.ts +19 -0
- package/dist/dts/data-builder/formulas/iterate.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/jsonata.d.ts +8 -0
- package/dist/dts/data-builder/formulas/jsonata.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/last-name.d.ts +11 -0
- package/dist/dts/data-builder/formulas/last-name.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/lookup.d.ts +12 -0
- package/dist/dts/data-builder/formulas/lookup.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/map.d.ts +17 -0
- package/dist/dts/data-builder/formulas/map.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/mergeObjects.d.ts +12 -0
- package/dist/dts/data-builder/formulas/mergeObjects.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/or.d.ts +9 -0
- package/dist/dts/data-builder/formulas/or.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/plain.d.ts +8 -0
- package/dist/dts/data-builder/formulas/plain.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/record.d.ts +11 -0
- package/dist/dts/data-builder/formulas/record.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/tpl.d.ts +15 -0
- package/dist/dts/data-builder/formulas/tpl.test.d.ts +1 -0
- package/dist/dts/data-builder/formulas/types.d.ts +27 -0
- package/dist/dts/data-builder/formulas/var.d.ts +11 -0
- package/dist/dts/data-builder/formulas/var.test.d.ts +1 -0
- package/dist/dts/data-builder/index.d.ts +9 -0
- package/dist/dts/data-builder/index.test.d.ts +1 -0
- package/dist/dts/data-builder/locators.d.ts +44 -0
- package/dist/dts/data-builder/locators.test.d.ts +1 -0
- package/dist/dts/data-collections/index.d.ts +1 -0
- package/dist/dts/data-collections/types.d.ts +24 -0
- package/dist/dts/data-filter/index.d.ts +13 -0
- package/dist/dts/data-filter/index.test.d.ts +1 -0
- package/dist/dts/data-filter/operators.d.ts +13 -0
- package/dist/dts/data-filter/operators.test.d.ts +1 -0
- package/dist/dts/data-form/data-field.d.ts +7 -0
- package/dist/dts/data-form/index.d.ts +21 -0
- package/dist/dts/data-links/accessors.d.ts +20 -0
- package/dist/dts/data-links/api.d.ts +56 -0
- package/dist/dts/data-links/index.d.ts +36 -0
- package/dist/dts/data-schema/create.d.ts +2 -0
- package/dist/dts/data-schema/create.test.d.ts +1 -0
- package/dist/dts/data-schema/data-field.d.ts +14 -0
- package/dist/dts/data-schema/index.d.ts +5 -0
- package/dist/dts/data-schema/merge.d.ts +10 -0
- package/dist/dts/data-schema/merge.test.d.ts +1 -0
- package/dist/dts/data-schema/types.d.ts +35 -0
- package/dist/dts/data-schema/utils.d.ts +47 -0
- package/dist/dts/data-schema/utils.test.d.ts +1 -0
- package/dist/dts/data-sources/accessors.d.ts +64 -0
- package/dist/dts/data-sources/api.d.ts +90 -0
- package/dist/dts/data-sources/constants.d.ts +4 -0
- package/dist/dts/data-sources/index.d.ts +4 -0
- package/dist/dts/data-sources/types.d.ts +63 -0
- package/dist/dts/date-time/index.d.ts +1 -0
- package/dist/dts/date-time/parse.d.ts +1 -0
- package/dist/dts/date-time/parse.test.d.ts +1 -0
- package/dist/dts/datetime.d.ts +1 -0
- package/dist/dts/entity-repository.d.ts +24 -0
- package/dist/dts/errors/error-doc-enum.d.ts +7 -0
- package/dist/dts/errors/index.d.ts +105 -0
- package/dist/dts/external-events/accessors.d.ts +19 -0
- package/dist/dts/external-events/api.d.ts +22 -0
- package/dist/dts/external-events/index.d.ts +8 -0
- package/dist/dts/external-events/types.d.ts +157 -0
- package/dist/dts/field-mappings/accessors.d.ts +54 -0
- package/dist/dts/field-mappings/api.d.ts +58 -0
- package/dist/dts/field-mappings/index.d.ts +66 -0
- package/dist/dts/field-mappings/merge/is-object.test.d.ts +1 -0
- package/dist/dts/field-mappings/merge/merge-with-formulas.d.ts +2 -0
- package/dist/dts/field-mappings/merge/merge-with-formulas.test.d.ts +1 -0
- package/dist/dts/field-mappings/types.d.ts +12 -0
- package/dist/dts/flow-runs/accessors.d.ts +33 -0
- package/dist/dts/flow-runs/flow-node-runs.d.ts +42 -0
- package/dist/dts/flow-runs/index.d.ts +78 -0
- package/dist/dts/flows/accessors.d.ts +75 -0
- package/dist/dts/flows/api.d.ts +54 -0
- package/dist/dts/flows/index.d.ts +6 -0
- package/dist/dts/flows/nodes/api-request-to-external-app.d.ts +3 -0
- package/dist/dts/flows/nodes/api-request-to-your-app.d.ts +3 -0
- package/dist/dts/flows/nodes/api-trigger.d.ts +3 -0
- package/dist/dts/flows/nodes/app-event-trigger.d.ts +3 -0
- package/dist/dts/flows/nodes/base.d.ts +17 -0
- package/dist/dts/flows/nodes/connector-event-trigger.d.ts +3 -0
- package/dist/dts/flows/nodes/create-data-link.d.ts +3 -0
- package/dist/dts/flows/nodes/create-data-record.d.ts +3 -0
- package/dist/dts/flows/nodes/custom-http-request.d.ts +3 -0
- package/dist/dts/flows/nodes/data-record-created-trigger.d.ts +3 -0
- package/dist/dts/flows/nodes/data-record-deleted-trigger.d.ts +3 -0
- package/dist/dts/flows/nodes/data-record-updated-trigger.d.ts +3 -0
- package/dist/dts/flows/nodes/delete-data-link.d.ts +3 -0
- package/dist/dts/flows/nodes/delete-data-record.d.ts +3 -0
- package/dist/dts/flows/nodes/filter.d.ts +3 -0
- package/dist/dts/flows/nodes/find-data-link.d.ts +3 -0
- package/dist/dts/flows/nodes/find-data-record-by-id.d.ts +3 -0
- package/dist/dts/flows/nodes/find-data-records.d.ts +3 -0
- package/dist/dts/flows/nodes/find-or-create-data-record.d.ts +3 -0
- package/dist/dts/flows/nodes/for-each-v2.d.ts +3 -0
- package/dist/dts/flows/nodes/for-each.d.ts +3 -0
- package/dist/dts/flows/nodes/index.d.ts +37 -0
- package/dist/dts/flows/nodes/integration-specific-operation.d.ts +3 -0
- package/dist/dts/flows/nodes/list-data-records.d.ts +3 -0
- package/dist/dts/flows/nodes/lookup-data-record.d.ts +3 -0
- package/dist/dts/flows/nodes/run-action.d.ts +3 -0
- package/dist/dts/flows/nodes/run-javascript.d.ts +3 -0
- package/dist/dts/flows/nodes/schedule-trigger.d.ts +3 -0
- package/dist/dts/flows/nodes/search-data-records.d.ts +3 -0
- package/dist/dts/flows/nodes/transform-data.d.ts +3 -0
- package/dist/dts/flows/nodes/update-data-record.d.ts +3 -0
- package/dist/dts/flows/schemas.d.ts +240 -0
- package/dist/dts/flows/types.d.ts +77 -0
- package/dist/dts/flows/utils.d.ts +16 -0
- package/dist/dts/flows/utils.test.d.ts +1 -0
- package/dist/dts/http-requests.d.ts +37 -0
- package/dist/dts/iframe.d.ts +11 -0
- package/dist/dts/index.d.ts +41 -0
- package/dist/dts/index.umd.d.ts +2 -0
- package/dist/dts/integration-elements/common.d.ts +3 -0
- package/dist/dts/integration-elements/connection-level-element.accessor.d.ts +29 -0
- package/dist/dts/integration-elements/index.d.ts +74 -0
- package/dist/dts/integration-elements/integration-level-element.accessor.d.ts +25 -0
- package/dist/dts/integrations/accessors.d.ts +58 -0
- package/dist/dts/integrations/api.d.ts +23 -0
- package/dist/dts/integrations/index.d.ts +3 -0
- package/dist/dts/integrations/types.d.ts +38 -0
- package/dist/dts/jwt.d.ts +1 -0
- package/dist/dts/jwt.test.d.ts +1 -0
- package/dist/dts/logging/index.d.ts +8 -0
- package/dist/dts/logging/index.test.d.ts +1 -0
- package/dist/dts/logging/types.d.ts +13 -0
- package/dist/dts/orgs/index.d.ts +1 -0
- package/dist/dts/orgs/types.d.ts +59 -0
- package/dist/dts/scenarios/accessors.d.ts +9 -0
- package/dist/dts/scenarios/index.d.ts +2 -0
- package/dist/dts/scenarios/types.d.ts +145 -0
- package/dist/dts/screens/accessors.d.ts +9 -0
- package/dist/dts/screens/index.d.ts +2 -0
- package/dist/dts/screens/types.d.ts +37 -0
- package/dist/dts/udm/activities.d.ts +143 -0
- package/dist/dts/udm/activities.test.d.ts +1 -0
- package/dist/dts/udm/base.d.ts +62 -0
- package/dist/dts/udm/bills.d.ts +3 -0
- package/dist/dts/udm/campaign-members.d.ts +3 -0
- package/dist/dts/udm/campaigns.d.ts +3 -0
- package/dist/dts/udm/companies.d.ts +3 -0
- package/dist/dts/udm/contact-lists.d.ts +3 -0
- package/dist/dts/udm/contacts.d.ts +3 -0
- package/dist/dts/udm/credit-notes.d.ts +3 -0
- package/dist/dts/udm/customers.d.ts +3 -0
- package/dist/dts/udm/deal-products.d.ts +3 -0
- package/dist/dts/udm/deal-stages.d.ts +3 -0
- package/dist/dts/udm/deals.d.ts +3 -0
- package/dist/dts/udm/documents.d.ts +59 -0
- package/dist/dts/udm/drive-items.d.ts +78 -0
- package/dist/dts/udm/drives.d.ts +46 -0
- package/dist/dts/udm/eeocs.d.ts +3 -0
- package/dist/dts/udm/emails.d.ts +115 -0
- package/dist/dts/udm/employees.d.ts +3 -0
- package/dist/dts/udm/files.d.ts +73 -0
- package/dist/dts/udm/folders.d.ts +66 -0
- package/dist/dts/udm/index.d.ts +53 -0
- package/dist/dts/udm/invoices.d.ts +3 -0
- package/dist/dts/udm/job-applications.d.ts +3 -0
- package/dist/dts/udm/job-candidates.d.ts +3 -0
- package/dist/dts/udm/job-interviews.d.ts +3 -0
- package/dist/dts/udm/job-offers.d.ts +3 -0
- package/dist/dts/udm/jobs.d.ts +3 -0
- package/dist/dts/udm/journal-entries.d.ts +3 -0
- package/dist/dts/udm/leads.d.ts +3 -0
- package/dist/dts/udm/ledger-accounts.d.ts +3 -0
- package/dist/dts/udm/meetings.d.ts +98 -0
- package/dist/dts/udm/messages.d.ts +51 -0
- package/dist/dts/udm/notes.d.ts +61 -0
- package/dist/dts/udm/orders.d.ts +3 -0
- package/dist/dts/udm/payments.d.ts +3 -0
- package/dist/dts/udm/payrolls.d.ts +3 -0
- package/dist/dts/udm/products.d.ts +3 -0
- package/dist/dts/udm/projects.d.ts +3 -0
- package/dist/dts/udm/suppliers.d.ts +3 -0
- package/dist/dts/udm/tasks.d.ts +104 -0
- package/dist/dts/udm/tax-rates.d.ts +3 -0
- package/dist/dts/udm/timeoff-balances.d.ts +3 -0
- package/dist/dts/udm/timeoff-requests.d.ts +3 -0
- package/dist/dts/udm/users.d.ts +3 -0
- package/dist/dts/usage/index.d.ts +1 -0
- package/dist/dts/usage/types.d.ts +33 -0
- package/dist/dts/users/accessors.d.ts +10 -0
- package/dist/dts/users/api.d.ts +23 -0
- package/dist/dts/users/index.d.ts +13 -0
- package/dist/dts/variables.d.ts +27 -0
- package/dist/dts/webhooks/index.d.ts +1 -0
- package/dist/dts/webhooks/types.d.ts +11 -0
- package/dist/dts/workspace-elements/index.d.ts +1 -0
- package/dist/dts/workspace-elements/types.d.ts +77 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +27 -0
- package/dist/dts/workspace-updates/index.d.ts +1 -0
- package/dist/dts/workspace-updates/types.d.ts +6 -0
- package/dist/dts/workspaces/api.d.ts +5 -0
- package/dist/dts/workspaces/constants.d.ts +4 -0
- package/dist/dts/workspaces/index.d.ts +3 -0
- package/dist/dts/workspaces/types.d.ts +175 -0
- package/dist/index.d.ts +5022 -0
- package/dist/index.js +11815 -0
- package/dist/index.js.map +1 -0
- package/dist/index.module.d.mts +5022 -0
- package/dist/index.module.mjs +11551 -0
- package/dist/index.module.mjs.map +1 -0
- package/package.json +96 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { UnifiedDataModel } from './base';
|
|
2
|
+
export declare const FIELDS_SCHEMA: {
|
|
3
|
+
type: string;
|
|
4
|
+
properties: {
|
|
5
|
+
id: {
|
|
6
|
+
type: string;
|
|
7
|
+
readOnly: boolean;
|
|
8
|
+
};
|
|
9
|
+
subject: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
content: {
|
|
13
|
+
type: string;
|
|
14
|
+
};
|
|
15
|
+
status: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
type: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
priority: {
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
ownerId: {
|
|
25
|
+
type: string;
|
|
26
|
+
referenceUdm: string;
|
|
27
|
+
};
|
|
28
|
+
assigneeId: {
|
|
29
|
+
type: string;
|
|
30
|
+
referenceUdm: string;
|
|
31
|
+
};
|
|
32
|
+
followerIds: {
|
|
33
|
+
type: string;
|
|
34
|
+
items: {
|
|
35
|
+
type: string;
|
|
36
|
+
referenceUdm: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
parentTaskId: {
|
|
40
|
+
type: string;
|
|
41
|
+
referenceUdm: string;
|
|
42
|
+
};
|
|
43
|
+
projectId: {
|
|
44
|
+
type: string;
|
|
45
|
+
referenceUdm: string;
|
|
46
|
+
};
|
|
47
|
+
tags: {
|
|
48
|
+
type: string;
|
|
49
|
+
items: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
contactId: {
|
|
54
|
+
type: string;
|
|
55
|
+
referenceUdm: string;
|
|
56
|
+
};
|
|
57
|
+
leadId: {
|
|
58
|
+
type: string;
|
|
59
|
+
referenceUdm: string;
|
|
60
|
+
};
|
|
61
|
+
companyId: {
|
|
62
|
+
type: string;
|
|
63
|
+
referenceUdm: string;
|
|
64
|
+
};
|
|
65
|
+
dealId: {
|
|
66
|
+
type: string;
|
|
67
|
+
referenceUdm: string;
|
|
68
|
+
};
|
|
69
|
+
dueTime: {
|
|
70
|
+
type: string;
|
|
71
|
+
format: string;
|
|
72
|
+
};
|
|
73
|
+
startTime: {
|
|
74
|
+
type: string;
|
|
75
|
+
format: string;
|
|
76
|
+
};
|
|
77
|
+
endTime: {
|
|
78
|
+
type: string;
|
|
79
|
+
format: string;
|
|
80
|
+
};
|
|
81
|
+
createdTime: {
|
|
82
|
+
type: string;
|
|
83
|
+
format: string;
|
|
84
|
+
readOnly: boolean;
|
|
85
|
+
};
|
|
86
|
+
createdBy: {
|
|
87
|
+
type: string;
|
|
88
|
+
referenceUdm: string;
|
|
89
|
+
readOnly: boolean;
|
|
90
|
+
};
|
|
91
|
+
updatedTime: {
|
|
92
|
+
type: string;
|
|
93
|
+
format: string;
|
|
94
|
+
readOnly: boolean;
|
|
95
|
+
};
|
|
96
|
+
updatedBy: {
|
|
97
|
+
type: string;
|
|
98
|
+
referenceUdm: string;
|
|
99
|
+
readOnly: boolean;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
declare const udm: UnifiedDataModel;
|
|
104
|
+
export default udm;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare enum UsageType {
|
|
2
|
+
FLOW_RUNS_DURATION = "flow-runs-duration",
|
|
3
|
+
FLOW_RUNS_NUMBER = "flow-runs-number",
|
|
4
|
+
FLOW_RUNS_LOG_SIZE = "flow-runs-log-size",
|
|
5
|
+
API_LOGS_NUMBER = "api-logs-number",
|
|
6
|
+
API_LOGS_SIZE = "api-logs-size",
|
|
7
|
+
WEBHOOK_LOGS_NUMBER = "webhook-logs-number",
|
|
8
|
+
WEBHOOK_LOGS_SIZE = "webhook-logs-size",
|
|
9
|
+
EVENT_LOGS_NUMBER = "event-logs-number",
|
|
10
|
+
EVENT_LOGS_SIZE = "event-logs-size",
|
|
11
|
+
EVENT_LOGS_DURATION = "event-logs-duration",
|
|
12
|
+
EXTERNAL_EVENTS_PULL_DURATION = "external-events-pull-duration",
|
|
13
|
+
EXTERNAL_EVENT_PULL_NUMBER = "external-event-pull-number",
|
|
14
|
+
EXTERNAL_EVENT_PULL_LOG_SIZE = "external-event-pull-log-size",
|
|
15
|
+
APP_EVENTS_NUMBER = "app-events-number",
|
|
16
|
+
APP_EVENTS_SIZE = "app-events-size",
|
|
17
|
+
FILES_UPLOAD_NUMBER = "files-upload-number",
|
|
18
|
+
FILES_UPLOAD_SIZE = "files-upload-size",
|
|
19
|
+
CUSTOM_CODE_RUNTIME_DURATION = "custom-code-runtime-duration"
|
|
20
|
+
}
|
|
21
|
+
export interface UsageWithCredits {
|
|
22
|
+
key: UsageType;
|
|
23
|
+
value: number;
|
|
24
|
+
credits: number;
|
|
25
|
+
}
|
|
26
|
+
export interface UsageEntry {
|
|
27
|
+
workspaceId: string;
|
|
28
|
+
customerId?: string;
|
|
29
|
+
connectionId?: string;
|
|
30
|
+
key: UsageType;
|
|
31
|
+
time: string;
|
|
32
|
+
value: number;
|
|
33
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateCustomerRequest, CustomerSelector, FindCustomersQuery, UpdateCustomerRequest } from './api';
|
|
2
|
+
import { ElementListAccessor, ElementAccessor } from '../accessors';
|
|
3
|
+
import { IntegrationAppApiClient } from '../api-client';
|
|
4
|
+
import { Customer } from './index';
|
|
5
|
+
export declare class CustomersAccessor extends ElementListAccessor<Customer, FindCustomersQuery, CreateCustomerRequest> {
|
|
6
|
+
constructor(client: IntegrationAppApiClient);
|
|
7
|
+
}
|
|
8
|
+
export declare class CustomerAccessor extends ElementAccessor<Customer, UpdateCustomerRequest, CustomerSelector> {
|
|
9
|
+
constructor(client: IntegrationAppApiClient, selector: CustomerSelector | string);
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PaginationQuery, SearchQuery } from '../entity-repository';
|
|
2
|
+
export type CreateCustomerRequest = {
|
|
3
|
+
name?: string;
|
|
4
|
+
internalId: string;
|
|
5
|
+
fields?: any;
|
|
6
|
+
credentials?: any;
|
|
7
|
+
};
|
|
8
|
+
export type UpdateCustomerRequest = {
|
|
9
|
+
name?: string;
|
|
10
|
+
internalId?: string;
|
|
11
|
+
fields?: any;
|
|
12
|
+
credentials?: any;
|
|
13
|
+
};
|
|
14
|
+
export type FindCustomersQuery = PaginationQuery & SearchQuery & {
|
|
15
|
+
isTest?: boolean;
|
|
16
|
+
};
|
|
17
|
+
export type CustomerSelector = {
|
|
18
|
+
id: string;
|
|
19
|
+
};
|
|
20
|
+
export type CreateUserRequest = CreateCustomerRequest;
|
|
21
|
+
export type UpdateUserRequest = UpdateCustomerRequest;
|
|
22
|
+
export type FindUsersQuery = FindCustomersQuery;
|
|
23
|
+
export type UserSelector = CustomerSelector;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './accessors';
|
|
2
|
+
export * from './api';
|
|
3
|
+
export type Customer = {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
internalId: string;
|
|
7
|
+
fields?: Record<string, any>;
|
|
8
|
+
credentials?: any;
|
|
9
|
+
lastActiveAt?: string;
|
|
10
|
+
isTest?: boolean;
|
|
11
|
+
isBillable?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export type User = Customer;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DataSchema } from './data-schema';
|
|
2
|
+
import { FlowInstance } from './flows';
|
|
3
|
+
export declare function getNodeInputSchema(flow: FlowInstance, nodeKey: string): any;
|
|
4
|
+
export declare function getFlowNodeConfigTimeVariablesSchema({ parametersSchema, userSchema, }: {
|
|
5
|
+
parametersSchema: DataSchema;
|
|
6
|
+
userSchema: DataSchema;
|
|
7
|
+
}): DataSchema;
|
|
8
|
+
export declare function getActionRunTimeVariablesSchema({ inputSchema, userSchema }: {
|
|
9
|
+
inputSchema: any;
|
|
10
|
+
userSchema: any;
|
|
11
|
+
}): DataSchema;
|
|
12
|
+
export declare function getActionInstanceVariableSchema(): {
|
|
13
|
+
type: string;
|
|
14
|
+
properties: {
|
|
15
|
+
id: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
instanceKey: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare function getFlowNodeRunTimeVariablesSchema({ parametersSchema, inputSchema, userSchema, }: {
|
|
24
|
+
parametersSchema: DataSchema;
|
|
25
|
+
inputSchema: DataSchema;
|
|
26
|
+
userSchema: DataSchema;
|
|
27
|
+
}): DataSchema;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum WebhookTypeEnum {
|
|
2
|
+
USER_INVITED_TO_ORG = "user-invited-to-org",
|
|
3
|
+
ORG_ACCESS_REQUESTED = "org-access-requested",
|
|
4
|
+
ORG_CREATED = "org-created"
|
|
5
|
+
}
|
|
6
|
+
export type WebhookType = WebhookTypeEnum.USER_INVITED_TO_ORG | WebhookTypeEnum.ORG_ACCESS_REQUESTED | WebhookTypeEnum.ORG_CREATED;
|
|
7
|
+
export interface Webhook {
|
|
8
|
+
type: WebhookType;
|
|
9
|
+
url: string;
|
|
10
|
+
secret?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ErrorData } from '../errors';
|
|
2
|
+
export interface ConfigurationStateResult {
|
|
3
|
+
state: ConfigurationState;
|
|
4
|
+
message?: string;
|
|
5
|
+
errors?: ErrorData[];
|
|
6
|
+
}
|
|
7
|
+
export declare enum ConfigurationState {
|
|
8
|
+
CONFIGURED = "CONFIGURED",
|
|
9
|
+
NOT_CONFIGURED = "NOT_CONFIGURED"
|
|
10
|
+
}
|
|
11
|
+
export declare enum WorkspaceElementType {
|
|
12
|
+
Customer = "customer",
|
|
13
|
+
Connector = "connector",
|
|
14
|
+
Integration = "integration",
|
|
15
|
+
Flow = "flow",
|
|
16
|
+
FlowInstance = "flow-instance",
|
|
17
|
+
FlowRun = "flow-run",
|
|
18
|
+
Action = "action",
|
|
19
|
+
Scenario = "scenario",
|
|
20
|
+
ActionInstance = "action-instance",
|
|
21
|
+
Connection = "connection",
|
|
22
|
+
FieldMapping = "field-mapping",
|
|
23
|
+
FieldMappingInstance = "field-mapping-instance",
|
|
24
|
+
DataSource = "data-source",
|
|
25
|
+
DataSourceInstance = "data-source-instance",
|
|
26
|
+
DataLinkTable = "data-link-table",
|
|
27
|
+
DataLinkTableInstance = "data-link-table-instance",
|
|
28
|
+
AppEventType = "app-event-type",
|
|
29
|
+
AppEventSubscription = "app-event-subscription",
|
|
30
|
+
AppDataSchema = "app-data-schema",
|
|
31
|
+
AppDataSchemaInstance = "app-data-schema-instance",
|
|
32
|
+
ExternalEventSubscription = "external-event-subscription",
|
|
33
|
+
ExternalEventLogRecord = "external-event-log-record",
|
|
34
|
+
ExternalEventPull = "external-event-pull",
|
|
35
|
+
DataCollection = "data-collection",
|
|
36
|
+
Screen = "screen",
|
|
37
|
+
ActionRunLogRecord = "action-run-log-record"
|
|
38
|
+
}
|
|
39
|
+
export declare enum WorkspaceEventType {
|
|
40
|
+
ConnectionCreated = "connection.created",
|
|
41
|
+
ConnectionDeleted = "connection.deleted",
|
|
42
|
+
ConnectionDisconnected = "connection.disconnected",
|
|
43
|
+
ConnectionReconnected = "connection.reconnected",
|
|
44
|
+
FlowRunQueued = "flowRun.queued",
|
|
45
|
+
FlowRunStarted = "flowRun.started",
|
|
46
|
+
FlowRunCompleted = "flowRun.completed",
|
|
47
|
+
FlowRunFailed = "flowRun.failed",
|
|
48
|
+
FlowRunStopped = "flowRun.stopped"
|
|
49
|
+
}
|
|
50
|
+
export declare enum WorkspaceElementState {
|
|
51
|
+
CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
|
|
52
|
+
SETUP_FAILED = "SETUP_FAILED",
|
|
53
|
+
READY = "READY"
|
|
54
|
+
}
|
|
55
|
+
export declare enum WorkspaceElementDependencyType {
|
|
56
|
+
Configuration = "CONFIGURATION",
|
|
57
|
+
Parent = "PARENT"
|
|
58
|
+
}
|
|
59
|
+
export interface WorkspaceElementCalculateStateResult {
|
|
60
|
+
state: WorkspaceElementState;
|
|
61
|
+
errors?: ErrorData[];
|
|
62
|
+
}
|
|
63
|
+
export interface WorkspaceElement {
|
|
64
|
+
id: string;
|
|
65
|
+
name: string;
|
|
66
|
+
key: string;
|
|
67
|
+
state?: WorkspaceElementState;
|
|
68
|
+
errors?: ErrorData[];
|
|
69
|
+
}
|
|
70
|
+
export interface WorkspaceElementReference {
|
|
71
|
+
type: WorkspaceElementType;
|
|
72
|
+
id: string;
|
|
73
|
+
}
|
|
74
|
+
export interface WorkspaceElementDependency extends WorkspaceElementReference {
|
|
75
|
+
dependencyType: WorkspaceElementDependencyType;
|
|
76
|
+
data?: unknown;
|
|
77
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { CreateActionRequest } from '../actions';
|
|
3
|
+
import { CreateAppDataSchemaRequest } from '../app-data-schemas';
|
|
4
|
+
import { CreateAppEventTypeRequest } from '../app-events';
|
|
5
|
+
import { CreateDataLinkTableRequest } from '../data-links';
|
|
6
|
+
import { CreateDataSourceRequest } from '../data-sources';
|
|
7
|
+
import { CreateFieldMappingRequest } from '../field-mappings';
|
|
8
|
+
import { CreateFlowRequest } from '../flows';
|
|
9
|
+
import { WorkspaceElementType } from '../workspace-elements';
|
|
10
|
+
export interface WorkspaceElementSpec {
|
|
11
|
+
type: WorkspaceElementType;
|
|
12
|
+
apiPath: string;
|
|
13
|
+
name: string;
|
|
14
|
+
namePlural: string;
|
|
15
|
+
createSchema?: z.ZodObject<any>;
|
|
16
|
+
updateSchema?: z.ZodObject<any>;
|
|
17
|
+
}
|
|
18
|
+
export interface WorkspaceElements {
|
|
19
|
+
flows?: Record<string, CreateFlowRequest>;
|
|
20
|
+
actions?: Record<string, CreateActionRequest>;
|
|
21
|
+
fieldMappings?: Record<string, CreateFieldMappingRequest>;
|
|
22
|
+
dataSources?: Record<string, CreateDataSourceRequest>;
|
|
23
|
+
dataLinkTables?: Record<string, CreateDataLinkTableRequest>;
|
|
24
|
+
appEventTypes?: Record<string, CreateAppEventTypeRequest>;
|
|
25
|
+
appDataSchemas?: Record<string, CreateAppDataSchemaRequest>;
|
|
26
|
+
}
|
|
27
|
+
export declare const WorkspaceElementSpecs: Record<WorkspaceElementType, WorkspaceElementSpec>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { ConnectorAuth, RestApiClientOptions } from '../connectors';
|
|
2
|
+
import { DataSchema } from '../data-schema';
|
|
3
|
+
import { User } from '../users';
|
|
4
|
+
export declare enum WorkspaceOnboardingStep {
|
|
5
|
+
AddConnectors = "add-connectors",
|
|
6
|
+
ConnectYourApp = "connect-your-app",
|
|
7
|
+
BuildIntegrations = "build-integrations",
|
|
8
|
+
Completed = "completed"
|
|
9
|
+
}
|
|
10
|
+
export interface Workspace {
|
|
11
|
+
id: string;
|
|
12
|
+
key: string;
|
|
13
|
+
secret: string;
|
|
14
|
+
name: string;
|
|
15
|
+
orgId: string;
|
|
16
|
+
engineAccessToken?: string;
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
updatedAt: Date;
|
|
19
|
+
onboardingStep?: WorkspaceOnboardingStep;
|
|
20
|
+
isGettingStartedCompleted?: boolean;
|
|
21
|
+
trialEndDate?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface EngineWorkspaceSettings {
|
|
24
|
+
enableApiLogs?: boolean;
|
|
25
|
+
enableWebhookLogs?: boolean;
|
|
26
|
+
enableActionRunLogs?: boolean;
|
|
27
|
+
disableSecretKeyAuth?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface EngineWorkspace {
|
|
30
|
+
id: string;
|
|
31
|
+
key: string;
|
|
32
|
+
logoUri?: string;
|
|
33
|
+
webhookUri?: string;
|
|
34
|
+
publicKey?: string;
|
|
35
|
+
publicKeys?: {
|
|
36
|
+
name?: string;
|
|
37
|
+
publicKey: string;
|
|
38
|
+
}[];
|
|
39
|
+
enabledWebhookEvents?: string[];
|
|
40
|
+
userFieldsSchema?: DataSchema;
|
|
41
|
+
auth?: ConnectorAuth;
|
|
42
|
+
credentialsSchema?: DataSchema;
|
|
43
|
+
apiClient?: RestApiClientOptions;
|
|
44
|
+
apiBaseUri?: string;
|
|
45
|
+
apiRequestHeaders: Record<string, any>;
|
|
46
|
+
apiRequestQuery: Record<string, any>;
|
|
47
|
+
isOnPrem?: boolean;
|
|
48
|
+
connectorBaseUri?: string;
|
|
49
|
+
limits: WorkspaceLimits;
|
|
50
|
+
settings?: EngineWorkspaceSettings;
|
|
51
|
+
type?: WorkspaceType;
|
|
52
|
+
}
|
|
53
|
+
export interface WorkspaceUser {
|
|
54
|
+
id: string;
|
|
55
|
+
workspaceId: string;
|
|
56
|
+
testCustomerId: string;
|
|
57
|
+
userId: string;
|
|
58
|
+
user: User;
|
|
59
|
+
role: string;
|
|
60
|
+
}
|
|
61
|
+
export interface UserWorkspaceSettings {
|
|
62
|
+
id: string;
|
|
63
|
+
userId: string;
|
|
64
|
+
workspaceId: string;
|
|
65
|
+
testCustomerId: string;
|
|
66
|
+
}
|
|
67
|
+
export declare enum WorkspaceNotificationType {
|
|
68
|
+
WorkspaceUpdate = "workspace-update",
|
|
69
|
+
CopilotActivity = "copilot-activity"
|
|
70
|
+
}
|
|
71
|
+
export interface WorkspaceNotification<DataType = unknown> {
|
|
72
|
+
type: WorkspaceNotificationType;
|
|
73
|
+
workspaceId: string;
|
|
74
|
+
data: DataType;
|
|
75
|
+
}
|
|
76
|
+
export interface CopilotActivityNotificationData {
|
|
77
|
+
scopes: string[];
|
|
78
|
+
}
|
|
79
|
+
export declare const enum ParallelExecutionLimits {
|
|
80
|
+
ParallelEventPulls = "parallelEventPulls",
|
|
81
|
+
ParallelIncrementalEventPullsPerConnection = "parallelIncrementalEventPullsPerConnection",
|
|
82
|
+
ParallelFullSyncEventPullsPerConnection = "parallelFullSyncEventPullsPerConnection",
|
|
83
|
+
ParallelFlowRuns = "parallelFlowRuns",
|
|
84
|
+
ParallelFlowRunsPerConnection = "parallelFlowRunsPerConnection",
|
|
85
|
+
ParallelApiRequests = "parallelApiRequests",
|
|
86
|
+
ParallelBackgroundJobs = "parallelBackgroundJobs",
|
|
87
|
+
ParallelEventLogs = "parallelEventLogs",
|
|
88
|
+
ParallelEventLogsPerConnection = "parallelEventLogsPerConnection",
|
|
89
|
+
ParallelWriteDatabaseRequests = "parallelWriteDatabaseRequests"
|
|
90
|
+
}
|
|
91
|
+
export declare const enum RateLimits {
|
|
92
|
+
fileUploadsMbPerHour = "fileUploadsMbPerHour",
|
|
93
|
+
ApiRequestsPerSecond = "apiRequestsPerSecond",
|
|
94
|
+
ApiRequestsPerHour = "apiRequestsPerHour",
|
|
95
|
+
WebhookRequestsPerSecond = "webhookRequestsPerSecond",
|
|
96
|
+
WebhookRequestsPerHour = "webhookRequestsPerHour",
|
|
97
|
+
WorkspaceElementCreationsPerSecond = "workspaceElementCreationsPerSecond",
|
|
98
|
+
WorkspaceElementCreationsPerHour = "workspaceElementCreationsPerHour",
|
|
99
|
+
ExternalEventsPerCustomerPerDay = "externalEventsPerCustomerPerDay",
|
|
100
|
+
CreateDatabaseRequestsPerSecond = "createDatabaseRequestsPerSecond"
|
|
101
|
+
}
|
|
102
|
+
export declare const enum WorkspaceSizeLimits {
|
|
103
|
+
TotalNumberOfCustomers = "totalNumberOfCustomers",
|
|
104
|
+
TotalNumberOfConnections = "totalNumberOfConnections",
|
|
105
|
+
TotalNumberOfWorkspaceElements = "totalNumberOfWorkspaceElements"
|
|
106
|
+
}
|
|
107
|
+
export declare const enum CustomerLimits {
|
|
108
|
+
ParallelApiRequestsPerCustomer = "parallelApiRequestsPerCustomer",
|
|
109
|
+
ParallelBackgroundJobsPerCustomer = "parallelBackgroundJobsPerCustomer",
|
|
110
|
+
ApiRequestsPerCustomerPerSecond = "apiRequestsPerCustomerPerSecond",
|
|
111
|
+
ApiRequestsPerCustomerPerHour = "apiRequestsPerCustomerPerHour",
|
|
112
|
+
WebhookRequestsPerCustomerPerSecond = "webhookRequestsPerCustomerPerSecond",
|
|
113
|
+
WebhookRequestsPerCustomerPerHour = "webhookRequestsPerCustomerPerHour",
|
|
114
|
+
ParallelWriteDatabaseRequestsPerCustomer = "parallelWriteDatabaseRequestsPerCustomer",
|
|
115
|
+
CreateDatabaseRequestsPerCustomerPerSecond = "createDatabaseRequestsPerCustomerPerSecond",
|
|
116
|
+
UpdateDatabaseRequestsPerCustomerPerSecond = "updateDatabaseRequestsPerCustomerPerSecond"
|
|
117
|
+
}
|
|
118
|
+
export declare const enum LimitUnits {
|
|
119
|
+
Number = "number",
|
|
120
|
+
Msec = "msec",
|
|
121
|
+
Mb = "Mb"
|
|
122
|
+
}
|
|
123
|
+
export interface WorkspaceLimit {
|
|
124
|
+
value?: number;
|
|
125
|
+
defaultValue?: number;
|
|
126
|
+
unit: LimitUnits;
|
|
127
|
+
}
|
|
128
|
+
export interface WorkspaceLimits {
|
|
129
|
+
[ParallelExecutionLimits.ParallelEventPulls]?: WorkspaceLimit;
|
|
130
|
+
[ParallelExecutionLimits.ParallelIncrementalEventPullsPerConnection]?: WorkspaceLimit;
|
|
131
|
+
[ParallelExecutionLimits.ParallelFullSyncEventPullsPerConnection]?: WorkspaceLimit;
|
|
132
|
+
[ParallelExecutionLimits.ParallelFlowRuns]?: WorkspaceLimit;
|
|
133
|
+
[ParallelExecutionLimits.ParallelFlowRunsPerConnection]?: WorkspaceLimit;
|
|
134
|
+
[ParallelExecutionLimits.ParallelApiRequests]?: WorkspaceLimit;
|
|
135
|
+
[ParallelExecutionLimits.ParallelBackgroundJobs]?: WorkspaceLimit;
|
|
136
|
+
[ParallelExecutionLimits.ParallelEventLogs]?: WorkspaceLimit;
|
|
137
|
+
[ParallelExecutionLimits.ParallelEventLogsPerConnection]?: WorkspaceLimit;
|
|
138
|
+
[ParallelExecutionLimits.ParallelWriteDatabaseRequests]?: WorkspaceLimit;
|
|
139
|
+
[RateLimits.fileUploadsMbPerHour]?: WorkspaceLimit;
|
|
140
|
+
[RateLimits.ApiRequestsPerSecond]?: WorkspaceLimit;
|
|
141
|
+
[RateLimits.ApiRequestsPerHour]?: WorkspaceLimit;
|
|
142
|
+
[RateLimits.WebhookRequestsPerSecond]?: WorkspaceLimit;
|
|
143
|
+
[RateLimits.WebhookRequestsPerHour]?: WorkspaceLimit;
|
|
144
|
+
[RateLimits.WorkspaceElementCreationsPerSecond]?: WorkspaceLimit;
|
|
145
|
+
[RateLimits.WorkspaceElementCreationsPerHour]?: WorkspaceLimit;
|
|
146
|
+
[RateLimits.ExternalEventsPerCustomerPerDay]?: WorkspaceLimit;
|
|
147
|
+
[RateLimits.CreateDatabaseRequestsPerSecond]?: WorkspaceLimit;
|
|
148
|
+
[WorkspaceSizeLimits.TotalNumberOfCustomers]?: WorkspaceLimit;
|
|
149
|
+
[WorkspaceSizeLimits.TotalNumberOfConnections]?: WorkspaceLimit;
|
|
150
|
+
[WorkspaceSizeLimits.TotalNumberOfWorkspaceElements]?: WorkspaceLimit;
|
|
151
|
+
[CustomerLimits.ParallelApiRequestsPerCustomer]?: WorkspaceLimit;
|
|
152
|
+
[CustomerLimits.ParallelBackgroundJobsPerCustomer]?: WorkspaceLimit;
|
|
153
|
+
[CustomerLimits.ApiRequestsPerCustomerPerSecond]?: WorkspaceLimit;
|
|
154
|
+
[CustomerLimits.ApiRequestsPerCustomerPerHour]?: WorkspaceLimit;
|
|
155
|
+
[CustomerLimits.WebhookRequestsPerCustomerPerSecond]?: WorkspaceLimit;
|
|
156
|
+
[CustomerLimits.WebhookRequestsPerCustomerPerHour]?: WorkspaceLimit;
|
|
157
|
+
[CustomerLimits.ParallelWriteDatabaseRequestsPerCustomer]?: WorkspaceLimit;
|
|
158
|
+
[CustomerLimits.CreateDatabaseRequestsPerCustomerPerSecond]?: WorkspaceLimit;
|
|
159
|
+
[CustomerLimits.UpdateDatabaseRequestsPerCustomerPerSecond]?: WorkspaceLimit;
|
|
160
|
+
}
|
|
161
|
+
export interface EngineWorkspaceWithOrgData {
|
|
162
|
+
id: string;
|
|
163
|
+
key: string;
|
|
164
|
+
limits: WorkspaceLimits;
|
|
165
|
+
workspaceId: string;
|
|
166
|
+
workspaceName: string;
|
|
167
|
+
orgId: string;
|
|
168
|
+
orgName: string;
|
|
169
|
+
type?: WorkspaceType;
|
|
170
|
+
isTrial: string;
|
|
171
|
+
}
|
|
172
|
+
export declare enum WorkspaceType {
|
|
173
|
+
PRODUCTION = "production",
|
|
174
|
+
DEVELOPMENT = "development"
|
|
175
|
+
}
|