@integration-app/react 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- package/{dist/contexts → contexts}/integration-app-context.d.ts +0 -0
- package/{dist/contexts → contexts}/integration-app-context.js +0 -0
- package/{dist/contexts → contexts}/integration-app-context.js.map +0 -0
- package/{dist/index.d.ts → index.d.ts} +0 -0
- package/{dist/index.js → index.js} +0 -0
- package/{dist/index.js.map → index.js.map} +0 -0
- package/{dist/integrations → integrations}/index.d.ts +0 -0
- package/{dist/integrations → integrations}/index.js +0 -0
- package/{dist/integrations → integrations}/index.js.map +0 -0
- package/{dist/node_modules/scheduler → node_modules/@compwright/namecase}/LICENSE +8 -3
- package/node_modules/@compwright/namecase/README.md +49 -0
- package/node_modules/@compwright/namecase/bin/namecase +28 -0
- package/node_modules/@compwright/namecase/dist/namecase.min.js +4 -0
- package/node_modules/@compwright/namecase/dist/namecase.min.js.map +1 -0
- package/node_modules/@compwright/namecase/package.json +46 -0
- package/node_modules/@compwright/namecase/src/index.js +146 -0
- package/node_modules/@integration-app/sdk/accessors.d.ts +56 -0
- package/node_modules/@integration-app/sdk/accessors.js +104 -0
- package/node_modules/@integration-app/sdk/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-collections/accessors.d.ts +16 -0
- package/node_modules/@integration-app/sdk/app-data-collections/accessors.js +38 -0
- package/node_modules/@integration-app/sdk/app-data-collections/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-collections/api.d.ts +18 -0
- package/node_modules/@integration-app/sdk/app-data-collections/api.js +3 -0
- package/node_modules/@integration-app/sdk/app-data-collections/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-collections/index.d.ts +26 -0
- package/node_modules/@integration-app/sdk/app-data-collections/index.js +3 -0
- package/node_modules/@integration-app/sdk/app-data-collections/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/accessors.d.ts +16 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/accessors.js +38 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/api.d.ts +18 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/api.js +3 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/index.d.ts +21 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/index.js +3 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-events/accessors.d.ts +16 -0
- package/node_modules/@integration-app/sdk/app-events/accessors.js +38 -0
- package/node_modules/@integration-app/sdk/app-events/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-events/api.d.ts +18 -0
- package/node_modules/@integration-app/sdk/app-events/api.js +3 -0
- package/node_modules/@integration-app/sdk/app-events/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-events/index.d.ts +46 -0
- package/node_modules/@integration-app/sdk/app-events/index.js +3 -0
- package/node_modules/@integration-app/sdk/app-events/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/auth/accessors.d.ts +7 -0
- package/node_modules/@integration-app/sdk/auth/accessors.js +13 -0
- package/node_modules/@integration-app/sdk/auth/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/auth/index.d.ts +6 -0
- package/node_modules/@integration-app/sdk/auth/index.js +3 -0
- package/node_modules/@integration-app/sdk/auth/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/bundle-index.d.ts +1 -0
- package/node_modules/@integration-app/sdk/bundle-index.js +5 -0
- package/node_modules/@integration-app/sdk/bundle-index.js.map +1 -0
- package/node_modules/@integration-app/sdk/bundle.js +30163 -0
- package/node_modules/@integration-app/sdk/bundle.js.map +1 -0
- package/node_modules/@integration-app/sdk/client.d.ts +108 -0
- package/node_modules/@integration-app/sdk/client.js +248 -0
- package/node_modules/@integration-app/sdk/client.js.map +1 -0
- package/node_modules/@integration-app/sdk/connections/accessors.d.ts +13 -0
- package/node_modules/@integration-app/sdk/connections/accessors.js +39 -0
- package/node_modules/@integration-app/sdk/connections/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/connections/api.d.ts +20 -0
- package/node_modules/@integration-app/sdk/connections/api.js +17 -0
- package/node_modules/@integration-app/sdk/connections/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/connections/index.d.ts +39 -0
- package/node_modules/@integration-app/sdk/connections/index.js +13 -0
- package/node_modules/@integration-app/sdk/connections/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/connector-api/index.d.ts +2 -0
- package/node_modules/@integration-app/sdk/connector-api/index.js +9 -0
- package/node_modules/@integration-app/sdk/connector-api/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/context.d.ts +9 -0
- package/node_modules/@integration-app/sdk/data-builder/context.js +32 -0
- package/node_modules/@integration-app/sdk/data-builder/context.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.d.ts +9 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.js +59 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.d.ts +14 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.js +45 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.d.ts +18 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.js +36 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.js +22 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.d.ts +11 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.js +31 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.d.ts +11 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.js +31 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.d.ts +17 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.js +24 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.d.ts +17 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.js +24 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.js +25 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.d.ts +28 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.js +177 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.d.ts +15 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.js +41 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.js +25 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.d.ts +20 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.js +24 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.d.ts +17 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.js +34 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/plain.d.ts +7 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/plain.js +20 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/plain.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/record.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/record.js +23 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/record.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.d.ts +12 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.js +22 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.d.ts +15 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.js +31 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/var.d.ts +8 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/var.js +21 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/var.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/index.d.ts +2 -0
- package/node_modules/@integration-app/sdk/data-builder/index.js +17 -0
- package/node_modules/@integration-app/sdk/data-builder/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/locators.d.ts +56 -0
- package/node_modules/@integration-app/sdk/data-builder/locators.js +560 -0
- package/node_modules/@integration-app/sdk/data-builder/locators.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-collections.d.ts +36 -0
- package/node_modules/@integration-app/sdk/data-collections.js +16 -0
- package/node_modules/@integration-app/sdk/data-collections.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-filter/index.d.ts +12 -0
- package/node_modules/@integration-app/sdk/data-filter/index.js +104 -0
- package/node_modules/@integration-app/sdk/data-filter/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-filter/operators.d.ts +13 -0
- package/node_modules/@integration-app/sdk/data-filter/operators.js +140 -0
- package/node_modules/@integration-app/sdk/data-filter/operators.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-links/accessors.d.ts +20 -0
- package/node_modules/@integration-app/sdk/data-links/accessors.js +65 -0
- package/node_modules/@integration-app/sdk/data-links/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-links/api.d.ts +49 -0
- package/node_modules/@integration-app/sdk/data-links/api.js +3 -0
- package/node_modules/@integration-app/sdk/data-links/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-links/index.d.ts +35 -0
- package/node_modules/@integration-app/sdk/data-links/index.js +10 -0
- package/node_modules/@integration-app/sdk/data-links/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-locations/accessors.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-locations/accessors.js +22 -0
- package/node_modules/@integration-app/sdk/data-locations/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-locations/api.d.ts +4 -0
- package/node_modules/@integration-app/sdk/data-locations/api.js +3 -0
- package/node_modules/@integration-app/sdk/data-locations/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-locations/index.d.ts +138 -0
- package/node_modules/@integration-app/sdk/data-locations/index.js +17 -0
- package/node_modules/@integration-app/sdk/data-locations/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-schema/index.d.ts +49 -0
- package/node_modules/@integration-app/sdk/data-schema/index.js +88 -0
- package/node_modules/@integration-app/sdk/data-schema/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-sources/accessors.d.ts +29 -0
- package/node_modules/@integration-app/sdk/data-sources/accessors.js +71 -0
- package/node_modules/@integration-app/sdk/data-sources/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-sources/api.d.ts +37 -0
- package/node_modules/@integration-app/sdk/data-sources/api.js +3 -0
- package/node_modules/@integration-app/sdk/data-sources/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-sources/index.d.ts +55 -0
- package/node_modules/@integration-app/sdk/data-sources/index.js +3 -0
- package/node_modules/@integration-app/sdk/data-sources/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/datetime.d.ts +1 -0
- package/node_modules/@integration-app/sdk/datetime.js +15 -0
- package/node_modules/@integration-app/sdk/datetime.js.map +1 -0
- package/node_modules/@integration-app/sdk/entity-repository.d.ts +11 -0
- package/node_modules/@integration-app/sdk/entity-repository.js +10 -0
- package/node_modules/@integration-app/sdk/entity-repository.js.map +1 -0
- package/node_modules/@integration-app/sdk/errors.d.ts +64 -0
- package/node_modules/@integration-app/sdk/errors.js +141 -0
- package/node_modules/@integration-app/sdk/errors.js.map +1 -0
- package/node_modules/@integration-app/sdk/field-mappings/accessors.d.ts +25 -0
- package/node_modules/@integration-app/sdk/field-mappings/accessors.js +60 -0
- package/node_modules/@integration-app/sdk/field-mappings/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/field-mappings/api.d.ts +34 -0
- package/node_modules/@integration-app/sdk/field-mappings/api.js +3 -0
- package/node_modules/@integration-app/sdk/field-mappings/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/field-mappings/index.d.ts +90 -0
- package/node_modules/@integration-app/sdk/field-mappings/index.js +195 -0
- package/node_modules/@integration-app/sdk/field-mappings/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.d.ts +30 -0
- package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.js +11 -0
- package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.js.map +1 -0
- package/node_modules/@integration-app/sdk/flow-runs/index.d.ts +59 -0
- package/node_modules/@integration-app/sdk/flow-runs/index.js +44 -0
- package/node_modules/@integration-app/sdk/flow-runs/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/accessors.d.ts +37 -0
- package/node_modules/@integration-app/sdk/flows/accessors.js +167 -0
- package/node_modules/@integration-app/sdk/flows/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/api.d.ts +55 -0
- package/node_modules/@integration-app/sdk/flows/api.js +8 -0
- package/node_modules/@integration-app/sdk/flows/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/index.d.ts +84 -0
- package/node_modules/@integration-app/sdk/flows/index.js +26 -0
- package/node_modules/@integration-app/sdk/flows/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/filter.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/filter.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/filter.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/http-request.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/http-request.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/http-request.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/index.d.ts +28 -0
- package/node_modules/@integration-app/sdk/flows/nodes/index.js +50 -0
- package/node_modules/@integration-app/sdk/flows/nodes/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/transform-data.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/transform-data.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/transform-data.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/utils.d.ts +10 -0
- package/node_modules/@integration-app/sdk/flows/utils.js +72 -0
- package/node_modules/@integration-app/sdk/flows/utils.js.map +1 -0
- package/node_modules/@integration-app/sdk/http-requests.d.ts +37 -0
- package/node_modules/@integration-app/sdk/http-requests.js +33 -0
- package/node_modules/@integration-app/sdk/http-requests.js.map +1 -0
- package/node_modules/@integration-app/sdk/iframe.d.ts +9 -0
- package/node_modules/@integration-app/sdk/iframe.js +112 -0
- package/node_modules/@integration-app/sdk/iframe.js.map +1 -0
- package/node_modules/@integration-app/sdk/index.d.ts +4 -0
- package/node_modules/@integration-app/sdk/index.js +8 -0
- package/node_modules/@integration-app/sdk/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/integration-elements/index.d.ts +22 -0
- package/node_modules/@integration-app/sdk/integration-elements/index.js +15 -0
- package/node_modules/@integration-app/sdk/integration-elements/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/integrations/accessors.d.ts +17 -0
- package/node_modules/@integration-app/sdk/integrations/accessors.js +36 -0
- package/node_modules/@integration-app/sdk/integrations/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/integrations/api.d.ts +10 -0
- package/node_modules/@integration-app/sdk/integrations/api.js +3 -0
- package/node_modules/@integration-app/sdk/integrations/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/integrations/index.d.ts +27 -0
- package/node_modules/@integration-app/sdk/integrations/index.js +16 -0
- package/node_modules/@integration-app/sdk/integrations/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/json-schema/index.d.ts +32 -0
- package/node_modules/@integration-app/sdk/json-schema/index.js +207 -0
- package/node_modules/@integration-app/sdk/json-schema/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.d.ts +7 -0
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.js +232 -0
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.js.map +1 -0
- package/node_modules/@integration-app/sdk/jwt.d.ts +1 -0
- package/node_modules/@integration-app/sdk/jwt.js +37 -0
- package/node_modules/@integration-app/sdk/jwt.js.map +1 -0
- package/node_modules/@integration-app/sdk/package.json +63 -0
- package/node_modules/@integration-app/sdk/rollup.config.js +23 -0
- package/node_modules/@integration-app/sdk/src/accessors.ts +150 -0
- package/node_modules/@integration-app/sdk/src/app-data-collections/accessors.ts +69 -0
- package/node_modules/@integration-app/sdk/src/app-data-collections/api.ts +31 -0
- package/node_modules/@integration-app/sdk/src/app-data-collections/index.ts +46 -0
- package/node_modules/@integration-app/sdk/src/app-data-schemas/accessors.ts +69 -0
- package/node_modules/@integration-app/sdk/src/app-data-schemas/api.ts +28 -0
- package/node_modules/@integration-app/sdk/src/app-data-schemas/index.ts +35 -0
- package/node_modules/@integration-app/sdk/src/app-events/accessors.ts +69 -0
- package/node_modules/@integration-app/sdk/src/app-events/api.ts +28 -0
- package/node_modules/@integration-app/sdk/src/app-events/index.ts +75 -0
- package/node_modules/@integration-app/sdk/src/auth/accessors.ts +10 -0
- package/node_modules/@integration-app/sdk/src/auth/index.ts +7 -0
- package/node_modules/@integration-app/sdk/src/bundle-index.ts +6 -0
- package/node_modules/@integration-app/sdk/src/client.ts +417 -0
- package/node_modules/@integration-app/sdk/src/connections/accessors.ts +58 -0
- package/node_modules/@integration-app/sdk/src/connections/api.ts +28 -0
- package/node_modules/@integration-app/sdk/src/connections/index.ts +70 -0
- package/node_modules/@integration-app/sdk/src/connector-api/index.ts +44 -0
- package/node_modules/@integration-app/sdk/src/data-builder/context.ts +40 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/base.test.ts +26 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/base.ts +95 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.test.ts +158 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.ts +53 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/concat.test.ts +117 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/concat.ts +49 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/copy.test.ts +70 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/copy.ts +20 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractDate.test.ts +49 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractDate.ts +28 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractTime.test.ts +49 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractTime.ts +28 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findAppRecordId.test.ts +30 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findAppRecordId.ts +30 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findExternalRecordId.test.ts +30 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findExternalRecordId.ts +30 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/first-name.ts +21 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/index.test.ts +83 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/index.ts +190 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/iterate.test.ts +154 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/iterate.ts +46 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/last-name.ts +21 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/lookup.test.ts +20 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/lookup.ts +33 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/map.test.ts +125 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/map.ts +42 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/plain.ts +17 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/record.ts +20 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/schemaOption.ts +26 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/tpl.test.ts +51 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/tpl.ts +33 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/var.ts +19 -0
- package/node_modules/@integration-app/sdk/src/data-builder/index.test.ts +372 -0
- package/node_modules/@integration-app/sdk/src/data-builder/index.ts +16 -0
- package/node_modules/@integration-app/sdk/src/data-builder/locators.test.ts +1045 -0
- package/node_modules/@integration-app/sdk/src/data-builder/locators.ts +702 -0
- package/node_modules/@integration-app/sdk/src/data-collections.ts +74 -0
- package/node_modules/@integration-app/sdk/src/data-filter/index.test.ts +48 -0
- package/node_modules/@integration-app/sdk/src/data-filter/index.ts +127 -0
- package/node_modules/@integration-app/sdk/src/data-filter/operators.test.ts +694 -0
- package/node_modules/@integration-app/sdk/src/data-filter/operators.ts +163 -0
- package/node_modules/@integration-app/sdk/src/data-links/accessors.ts +108 -0
- package/node_modules/@integration-app/sdk/src/data-links/api.ts +75 -0
- package/node_modules/@integration-app/sdk/src/data-links/index.ts +55 -0
- package/node_modules/@integration-app/sdk/src/data-locations/accessors.ts +24 -0
- package/node_modules/@integration-app/sdk/src/data-locations/api.ts +5 -0
- package/node_modules/@integration-app/sdk/src/data-locations/index.ts +209 -0
- package/node_modules/@integration-app/sdk/src/data-schema/index.test.ts +90 -0
- package/node_modules/@integration-app/sdk/src/data-schema/index.ts +185 -0
- package/node_modules/@integration-app/sdk/src/data-sources/accessors.ts +133 -0
- package/node_modules/@integration-app/sdk/src/data-sources/api.ts +59 -0
- package/node_modules/@integration-app/sdk/src/data-sources/index.ts +103 -0
- package/node_modules/@integration-app/sdk/src/datetime.ts +16 -0
- package/node_modules/@integration-app/sdk/src/entity-repository.ts +12 -0
- package/node_modules/@integration-app/sdk/src/errors.ts +154 -0
- package/node_modules/@integration-app/sdk/src/field-mappings/accessors.ts +100 -0
- package/node_modules/@integration-app/sdk/src/field-mappings/api.ts +61 -0
- package/node_modules/@integration-app/sdk/src/field-mappings/index.ts +341 -0
- package/node_modules/@integration-app/sdk/src/flow-runs/flow-node-runs.ts +53 -0
- package/node_modules/@integration-app/sdk/src/flow-runs/index.ts +102 -0
- package/node_modules/@integration-app/sdk/src/flows/accessors.ts +246 -0
- package/node_modules/@integration-app/sdk/src/flows/api.ts +71 -0
- package/node_modules/@integration-app/sdk/src/flows/index.ts +233 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/api-trigger.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/app-event-trigger.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/create-data-link.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/create-data-record.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-created-trigger.ts +8 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-deleted-trigger.ts +8 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-updated-trigger.ts +8 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/delete-data-record.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/filter.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-link.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-record-by-id.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-records.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/http-request.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/index.ts +60 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/list-data-records.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/schedule-trigger.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/transform-data.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/update-data-record.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/utils.test.ts +63 -0
- package/node_modules/@integration-app/sdk/src/flows/utils.ts +110 -0
- package/node_modules/@integration-app/sdk/src/http-requests.ts +41 -0
- package/node_modules/@integration-app/sdk/src/iframe.ts +142 -0
- package/node_modules/@integration-app/sdk/src/index.ts +5 -0
- package/node_modules/@integration-app/sdk/src/integration-elements/index.ts +24 -0
- package/node_modules/@integration-app/sdk/src/integrations/accessors.ts +42 -0
- package/node_modules/@integration-app/sdk/src/integrations/api.ts +13 -0
- package/node_modules/@integration-app/sdk/src/integrations/index.ts +50 -0
- package/node_modules/@integration-app/sdk/src/json-schema/__snapshots__/schema-builder.test.ts.snap +167 -0
- package/node_modules/@integration-app/sdk/src/json-schema/index.ts +251 -0
- package/node_modules/@integration-app/sdk/src/json-schema/json-schema.test.ts +246 -0
- package/node_modules/@integration-app/sdk/src/json-schema/schema-builder.test.ts +396 -0
- package/node_modules/@integration-app/sdk/src/json-schema/schema-builder.ts +258 -0
- package/node_modules/@integration-app/sdk/src/jwt.test.ts +11 -0
- package/node_modules/@integration-app/sdk/src/jwt.ts +40 -0
- package/node_modules/@integration-app/sdk/src/udm/activities.test.ts +43 -0
- package/node_modules/@integration-app/sdk/src/udm/activities.ts +83 -0
- package/node_modules/@integration-app/sdk/src/udm/base.ts +88 -0
- package/node_modules/@integration-app/sdk/src/udm/campaigns.ts +72 -0
- package/node_modules/@integration-app/sdk/src/udm/companies.ts +80 -0
- package/node_modules/@integration-app/sdk/src/udm/contacts.test.ts +147 -0
- package/node_modules/@integration-app/sdk/src/udm/contacts.ts +106 -0
- package/node_modules/@integration-app/sdk/src/udm/deals.ts +90 -0
- package/node_modules/@integration-app/sdk/src/udm/index.ts +28 -0
- package/node_modules/@integration-app/sdk/src/udm/leads.ts +113 -0
- package/node_modules/@integration-app/sdk/src/udm/users.ts +92 -0
- package/node_modules/@integration-app/sdk/src/users/accessors.ts +28 -0
- package/node_modules/@integration-app/sdk/src/users/api.ts +8 -0
- package/node_modules/@integration-app/sdk/src/users/index.ts +5 -0
- package/node_modules/@integration-app/sdk/src/variables.ts +33 -0
- package/node_modules/@integration-app/sdk/src/workspaces/index.ts +5 -0
- package/node_modules/@integration-app/sdk/tsconfig.build.json +10 -0
- package/node_modules/@integration-app/sdk/tsconfig.json +19 -0
- package/node_modules/@integration-app/sdk/udm/activities.d.ts +30 -0
- package/node_modules/@integration-app/sdk/udm/activities.js +70 -0
- package/node_modules/@integration-app/sdk/udm/activities.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/base.d.ts +27 -0
- package/node_modules/@integration-app/sdk/udm/base.js +62 -0
- package/node_modules/@integration-app/sdk/udm/base.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/campaigns.d.ts +25 -0
- package/node_modules/@integration-app/sdk/udm/campaigns.js +66 -0
- package/node_modules/@integration-app/sdk/udm/campaigns.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/companies.d.ts +42 -0
- package/node_modules/@integration-app/sdk/udm/companies.js +69 -0
- package/node_modules/@integration-app/sdk/udm/companies.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/contacts.d.ts +49 -0
- package/node_modules/@integration-app/sdk/udm/contacts.js +94 -0
- package/node_modules/@integration-app/sdk/udm/contacts.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/deals.d.ts +26 -0
- package/node_modules/@integration-app/sdk/udm/deals.js +84 -0
- package/node_modules/@integration-app/sdk/udm/deals.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/index.d.ts +11 -0
- package/node_modules/@integration-app/sdk/udm/index.js +31 -0
- package/node_modules/@integration-app/sdk/udm/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/leads.d.ts +52 -0
- package/node_modules/@integration-app/sdk/udm/leads.js +101 -0
- package/node_modules/@integration-app/sdk/udm/leads.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/users.d.ts +31 -0
- package/node_modules/@integration-app/sdk/udm/users.js +81 -0
- package/node_modules/@integration-app/sdk/udm/users.js.map +1 -0
- package/node_modules/@integration-app/sdk/users/accessors.d.ts +10 -0
- package/node_modules/@integration-app/sdk/users/accessors.js +21 -0
- package/node_modules/@integration-app/sdk/users/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/users/api.d.ts +6 -0
- package/node_modules/@integration-app/sdk/users/api.js +3 -0
- package/node_modules/@integration-app/sdk/users/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/users/index.d.ts +5 -0
- package/node_modules/@integration-app/sdk/users/index.js +3 -0
- package/node_modules/@integration-app/sdk/users/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/variables.d.ts +3 -0
- package/node_modules/@integration-app/sdk/variables.js +30 -0
- package/node_modules/@integration-app/sdk/variables.js.map +1 -0
- package/node_modules/@integration-app/sdk/workspaces/index.d.ts +5 -0
- package/node_modules/@integration-app/sdk/workspaces/index.js +3 -0
- package/node_modules/@integration-app/sdk/workspaces/index.js.map +1 -0
- package/node_modules/@sinclair/typebox/package.json +40 -0
- package/node_modules/@sinclair/typebox/readme.md +740 -0
- package/node_modules/@sinclair/typebox/typebox.d.ts +351 -0
- package/node_modules/@sinclair/typebox/typebox.js +345 -0
- package/node_modules/@types/node/README.md +16 -0
- package/node_modules/@types/node/assert.d.ts +128 -0
- package/node_modules/@types/node/async_hooks.d.ts +229 -0
- package/node_modules/@types/node/buffer.d.ts +89 -0
- package/node_modules/@types/node/child_process.d.ts +514 -0
- package/node_modules/@types/node/cluster.d.ts +265 -0
- package/node_modules/@types/node/console.d.ts +142 -0
- package/node_modules/@types/node/constants.d.ts +18 -0
- package/node_modules/@types/node/crypto.d.ts +1283 -0
- package/node_modules/@types/node/dgram.d.ts +144 -0
- package/node_modules/@types/node/dns.d.ts +387 -0
- package/node_modules/@types/node/domain.d.ts +27 -0
- package/node_modules/@types/node/events.d.ts +82 -0
- package/node_modules/@types/node/fs/promises.d.ts +572 -0
- package/node_modules/@types/node/fs.d.ts +2281 -0
- package/node_modules/@types/node/globals.d.ts +747 -0
- package/node_modules/@types/node/globals.global.d.ts +1 -0
- package/node_modules/@types/node/http.d.ts +580 -0
- package/node_modules/@types/node/http2.d.ts +962 -0
- package/node_modules/@types/node/https.d.ts +271 -0
- package/node_modules/@types/node/index.d.ts +98 -0
- package/node_modules/@types/node/inspector.d.ts +3051 -0
- package/node_modules/@types/node/module.d.ts +56 -0
- package/node_modules/@types/node/net.d.ts +308 -0
- package/node_modules/@types/node/os.d.ts +243 -0
- package/node_modules/@types/node/package.json +232 -0
- package/node_modules/@types/node/path.d.ts +168 -0
- package/node_modules/@types/node/perf_hooks.d.ts +274 -0
- package/node_modules/@types/node/process.d.ts +413 -0
- package/node_modules/@types/node/punycode.d.ts +78 -0
- package/node_modules/@types/node/querystring.d.ts +31 -0
- package/node_modules/@types/node/readline.d.ts +174 -0
- package/node_modules/@types/node/repl.d.ts +398 -0
- package/node_modules/@types/node/stream.d.ts +359 -0
- package/node_modules/@types/node/string_decoder.d.ts +10 -0
- package/node_modules/@types/node/timers.d.ts +19 -0
- package/node_modules/@types/node/tls.d.ts +784 -0
- package/node_modules/@types/node/trace_events.d.ts +64 -0
- package/node_modules/@types/node/ts4.8/assert.d.ts +128 -0
- package/node_modules/@types/node/ts4.8/async_hooks.d.ts +229 -0
- package/node_modules/@types/node/ts4.8/buffer.d.ts +89 -0
- package/node_modules/@types/node/ts4.8/child_process.d.ts +514 -0
- package/node_modules/@types/node/ts4.8/cluster.d.ts +265 -0
- package/node_modules/@types/node/ts4.8/console.d.ts +142 -0
- package/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
- package/node_modules/@types/node/ts4.8/crypto.d.ts +1283 -0
- package/node_modules/@types/node/ts4.8/dgram.d.ts +144 -0
- package/node_modules/@types/node/ts4.8/dns.d.ts +387 -0
- package/node_modules/@types/node/ts4.8/domain.d.ts +27 -0
- package/node_modules/@types/node/ts4.8/events.d.ts +82 -0
- package/node_modules/@types/node/ts4.8/fs/promises.d.ts +572 -0
- package/node_modules/@types/node/ts4.8/fs.d.ts +2281 -0
- package/node_modules/@types/node/ts4.8/globals.d.ts +746 -0
- package/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
- package/node_modules/@types/node/ts4.8/http.d.ts +580 -0
- package/node_modules/@types/node/ts4.8/http2.d.ts +962 -0
- package/node_modules/@types/node/ts4.8/https.d.ts +271 -0
- package/node_modules/@types/node/ts4.8/index.d.ts +53 -0
- package/node_modules/@types/node/ts4.8/inspector.d.ts +3051 -0
- package/node_modules/@types/node/ts4.8/module.d.ts +56 -0
- package/node_modules/@types/node/ts4.8/net.d.ts +308 -0
- package/node_modules/@types/node/ts4.8/os.d.ts +243 -0
- package/node_modules/@types/node/ts4.8/path.d.ts +168 -0
- package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +274 -0
- package/node_modules/@types/node/ts4.8/process.d.ts +413 -0
- package/node_modules/@types/node/ts4.8/punycode.d.ts +78 -0
- package/node_modules/@types/node/ts4.8/querystring.d.ts +31 -0
- package/node_modules/@types/node/ts4.8/readline.d.ts +174 -0
- package/node_modules/@types/node/ts4.8/repl.d.ts +398 -0
- package/node_modules/@types/node/ts4.8/stream.d.ts +359 -0
- package/node_modules/@types/node/ts4.8/string_decoder.d.ts +10 -0
- package/node_modules/@types/node/ts4.8/timers.d.ts +19 -0
- package/node_modules/@types/node/ts4.8/tls.d.ts +784 -0
- package/node_modules/@types/node/ts4.8/trace_events.d.ts +64 -0
- package/node_modules/@types/node/ts4.8/tty.d.ts +69 -0
- package/node_modules/@types/node/ts4.8/url.d.ts +149 -0
- package/node_modules/@types/node/ts4.8/util.d.ts +216 -0
- package/node_modules/@types/node/ts4.8/v8.d.ts +190 -0
- package/node_modules/@types/node/ts4.8/vm.d.ts +155 -0
- package/node_modules/@types/node/ts4.8/wasi.d.ts +89 -0
- package/node_modules/@types/node/ts4.8/worker_threads.d.ts +241 -0
- package/node_modules/@types/node/ts4.8/zlib.d.ts +364 -0
- package/node_modules/@types/node/tty.d.ts +69 -0
- package/node_modules/@types/node/url.d.ts +149 -0
- package/node_modules/@types/node/util.d.ts +216 -0
- package/node_modules/@types/node/v8.d.ts +190 -0
- package/node_modules/@types/node/vm.d.ts +155 -0
- package/node_modules/@types/node/wasi.d.ts +89 -0
- package/node_modules/@types/node/worker_threads.d.ts +241 -0
- package/node_modules/@types/node/zlib.d.ts +364 -0
- package/package.json +14 -38
- package/dist/node_modules/.package-lock.json +0 -111
- package/dist/node_modules/js-tokens/CHANGELOG.md +0 -151
- package/dist/node_modules/js-tokens/LICENSE +0 -21
- package/dist/node_modules/js-tokens/README.md +0 -240
- package/dist/node_modules/js-tokens/index.js +0 -23
- package/dist/node_modules/js-tokens/package.json +0 -30
- package/dist/node_modules/loose-envify/LICENSE +0 -21
- package/dist/node_modules/loose-envify/README.md +0 -45
- package/dist/node_modules/loose-envify/cli.js +0 -16
- package/dist/node_modules/loose-envify/custom.js +0 -4
- package/dist/node_modules/loose-envify/index.js +0 -3
- package/dist/node_modules/loose-envify/loose-envify.js +0 -36
- package/dist/node_modules/loose-envify/package.json +0 -36
- package/dist/node_modules/loose-envify/replace.js +0 -65
- package/dist/node_modules/object-assign/index.js +0 -90
- package/dist/node_modules/object-assign/license +0 -21
- package/dist/node_modules/object-assign/package.json +0 -42
- package/dist/node_modules/object-assign/readme.md +0 -61
- package/dist/node_modules/scheduler/README.md +0 -9
- package/dist/node_modules/scheduler/build-info.json +0 -8
- package/dist/node_modules/scheduler/cjs/scheduler-tracing.development.js +0 -347
- package/dist/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +0 -9
- package/dist/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +0 -16
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +0 -665
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +0 -19
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +0 -206
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +0 -13
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +0 -646
- package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +0 -20
- package/dist/node_modules/scheduler/index.js +0 -7
- package/dist/node_modules/scheduler/package.json +0 -40
- package/dist/node_modules/scheduler/tracing-profiling.js +0 -7
- package/dist/node_modules/scheduler/tracing.js +0 -7
- package/dist/node_modules/scheduler/umd/scheduler-tracing.development.js +0 -80
- package/dist/node_modules/scheduler/umd/scheduler-tracing.production.min.js +0 -80
- package/dist/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +0 -80
- package/dist/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +0 -664
- package/dist/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +0 -18
- package/dist/node_modules/scheduler/umd/scheduler.development.js +0 -152
- package/dist/node_modules/scheduler/umd/scheduler.production.min.js +0 -146
- package/dist/node_modules/scheduler/umd/scheduler.profiling.min.js +0 -146
- package/dist/node_modules/scheduler/unstable_mock.js +0 -7
- package/dist/node_modules/scheduler/unstable_post_task.js +0 -7
- package/dist/package.json +0 -26
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const _1 = require(".");
|
4
|
+
exports.default = new _1.FlowNodeSpec({
|
5
|
+
name: 'Delete Data Record',
|
6
|
+
description: 'Delete a new data record from a collection using its id',
|
7
|
+
});
|
8
|
+
//# sourceMappingURL=delete-data-record.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"delete-data-record.js","sourceRoot":"","sources":["../../src/flows/nodes/delete-data-record.ts"],"names":[],"mappings":";;AAAA,wBAAgC;AAEhC,kBAAe,IAAI,eAAY,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,yDAAyD;CACvE,CAAC,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const _1 = require(".");
|
4
|
+
exports.default = new _1.FlowNodeSpec({
|
5
|
+
name: 'Filter',
|
6
|
+
description: 'Filter records that go forward through the flow',
|
7
|
+
});
|
8
|
+
//# sourceMappingURL=filter.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"filter.js","sourceRoot":"","sources":["../../src/flows/nodes/filter.ts"],"names":[],"mappings":";;AAAA,wBAAgC;AAEhC,kBAAe,IAAI,eAAY,CAAC;IAC9B,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,iDAAiD;CAC/D,CAAC,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const _1 = require(".");
|
4
|
+
exports.default = new _1.FlowNodeSpec({
|
5
|
+
name: 'Find Data Link',
|
6
|
+
description: 'Find a link between records in your app and external app',
|
7
|
+
});
|
8
|
+
//# sourceMappingURL=find-data-link.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"find-data-link.js","sourceRoot":"","sources":["../../src/flows/nodes/find-data-link.ts"],"names":[],"mappings":";;AAAA,wBAAgC;AAEhC,kBAAe,IAAI,eAAY,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,0DAA0D;CACxE,CAAC,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const _1 = require(".");
|
4
|
+
exports.default = new _1.FlowNodeSpec({
|
5
|
+
name: 'Find Data Record By Id',
|
6
|
+
description: 'Find a single data record by id',
|
7
|
+
});
|
8
|
+
//# sourceMappingURL=find-data-record-by-id.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"find-data-record-by-id.js","sourceRoot":"","sources":["../../src/flows/nodes/find-data-record-by-id.ts"],"names":[],"mappings":";;AAAA,wBAAgC;AAEhC,kBAAe,IAAI,eAAY,CAAC;IAC9B,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE,iCAAiC;CAC/C,CAAC,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const _1 = require(".");
|
4
|
+
exports.default = new _1.FlowNodeSpec({
|
5
|
+
name: 'Find Data Records',
|
6
|
+
description: 'Find records in a data collection by their field values',
|
7
|
+
});
|
8
|
+
//# sourceMappingURL=find-data-records.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"find-data-records.js","sourceRoot":"","sources":["../../src/flows/nodes/find-data-records.ts"],"names":[],"mappings":";;AAAA,wBAAgC;AAEhC,kBAAe,IAAI,eAAY,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,yDAAyD;CACvE,CAAC,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const _1 = require(".");
|
4
|
+
exports.default = new _1.FlowNodeSpec({
|
5
|
+
name: 'Http Request',
|
6
|
+
description: 'Send an arbitrary HTTP/S request',
|
7
|
+
});
|
8
|
+
//# sourceMappingURL=http-request.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"http-request.js","sourceRoot":"","sources":["../../src/flows/nodes/http-request.ts"],"names":[],"mappings":";;AAAA,wBAAgC;AAEhC,kBAAe,IAAI,eAAY,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,kCAAkC;CAChD,CAAC,CAAA"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
export declare enum FlowNodeType {
|
2
|
+
ApiTrigger = "api-trigger",
|
3
|
+
ScheduleTrigger = "schedule-trigger",
|
4
|
+
AppEventTrigger = "app-event-trigger",
|
5
|
+
DataRecordCreatedTrigger = "data-record-created-trigger",
|
6
|
+
DataRecordUpdatedTrigger = "data-record-updated-trigger",
|
7
|
+
DataRecordDeletedTrigger = "data-record-deleted-trigger",
|
8
|
+
TransformData = "transform-data",
|
9
|
+
ListDataRecords = "list-data-records",
|
10
|
+
FindDataRecords = "find-data-records",
|
11
|
+
FindDataRecordById = "find-data-record-by-id",
|
12
|
+
CreateDataRecord = "create-data-record",
|
13
|
+
UpdateDataRecord = "update-data-record",
|
14
|
+
DeleteDataRecord = "delete-data-record",
|
15
|
+
HttpRequest = "http-request",
|
16
|
+
Filter = "filter",
|
17
|
+
CreateDataLink = "create-data-link",
|
18
|
+
FindDataLink = "find-data-link"
|
19
|
+
}
|
20
|
+
export interface FlowNodeSpec {
|
21
|
+
name: string;
|
22
|
+
description: string;
|
23
|
+
isTrigger?: boolean;
|
24
|
+
}
|
25
|
+
export declare class FlowNodeSpec implements FlowNodeSpec {
|
26
|
+
constructor(args: FlowNodeSpec);
|
27
|
+
}
|
28
|
+
export declare const FLOW_NODE_SPECS: Record<FlowNodeType, FlowNodeSpec>;
|
@@ -0,0 +1,50 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FLOW_NODE_SPECS = exports.FlowNodeSpec = exports.FlowNodeType = void 0;
|
4
|
+
var FlowNodeType;
|
5
|
+
(function (FlowNodeType) {
|
6
|
+
FlowNodeType["ApiTrigger"] = "api-trigger";
|
7
|
+
FlowNodeType["ScheduleTrigger"] = "schedule-trigger";
|
8
|
+
FlowNodeType["AppEventTrigger"] = "app-event-trigger";
|
9
|
+
FlowNodeType["DataRecordCreatedTrigger"] = "data-record-created-trigger";
|
10
|
+
FlowNodeType["DataRecordUpdatedTrigger"] = "data-record-updated-trigger";
|
11
|
+
FlowNodeType["DataRecordDeletedTrigger"] = "data-record-deleted-trigger";
|
12
|
+
FlowNodeType["TransformData"] = "transform-data";
|
13
|
+
FlowNodeType["ListDataRecords"] = "list-data-records";
|
14
|
+
FlowNodeType["FindDataRecords"] = "find-data-records";
|
15
|
+
FlowNodeType["FindDataRecordById"] = "find-data-record-by-id";
|
16
|
+
FlowNodeType["CreateDataRecord"] = "create-data-record";
|
17
|
+
FlowNodeType["UpdateDataRecord"] = "update-data-record";
|
18
|
+
FlowNodeType["DeleteDataRecord"] = "delete-data-record";
|
19
|
+
FlowNodeType["HttpRequest"] = "http-request";
|
20
|
+
FlowNodeType["Filter"] = "filter";
|
21
|
+
FlowNodeType["CreateDataLink"] = "create-data-link";
|
22
|
+
FlowNodeType["FindDataLink"] = "find-data-link";
|
23
|
+
})(FlowNodeType = exports.FlowNodeType || (exports.FlowNodeType = {}));
|
24
|
+
class FlowNodeSpec {
|
25
|
+
constructor(args) {
|
26
|
+
Object.assign(this, args);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
exports.FlowNodeSpec = FlowNodeSpec;
|
30
|
+
exports.FLOW_NODE_SPECS = {
|
31
|
+
[FlowNodeType.ApiTrigger]: require('./api-trigger').default,
|
32
|
+
[FlowNodeType.ScheduleTrigger]: require('./schedule-trigger').default,
|
33
|
+
[FlowNodeType.AppEventTrigger]: require('./app-event-trigger').default,
|
34
|
+
[FlowNodeType.DataRecordCreatedTrigger]: require('./data-record-created-trigger').default,
|
35
|
+
[FlowNodeType.DataRecordUpdatedTrigger]: require('./data-record-updated-trigger').default,
|
36
|
+
[FlowNodeType.DataRecordDeletedTrigger]: require('./data-record-deleted-trigger').default,
|
37
|
+
[FlowNodeType.ListDataRecords]: require('./list-data-records').default,
|
38
|
+
[FlowNodeType.FindDataRecords]: require('./find-data-records').default,
|
39
|
+
[FlowNodeType.FindDataRecordById]: require('./find-data-record-by-id')
|
40
|
+
.default,
|
41
|
+
[FlowNodeType.CreateDataRecord]: require('./create-data-record').default,
|
42
|
+
[FlowNodeType.UpdateDataRecord]: require('./update-data-record').default,
|
43
|
+
[FlowNodeType.DeleteDataRecord]: require('./delete-data-record').default,
|
44
|
+
[FlowNodeType.TransformData]: require('./transform-data').default,
|
45
|
+
[FlowNodeType.Filter]: require('./filter').default,
|
46
|
+
[FlowNodeType.HttpRequest]: require('./http-request').default,
|
47
|
+
[FlowNodeType.CreateDataLink]: require('./create-data-link').default,
|
48
|
+
[FlowNodeType.FindDataLink]: require('./find-data-link').default,
|
49
|
+
};
|
50
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/flows/nodes/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAmBX;AAnBD,WAAY,YAAY;IACtB,0CAA0B,CAAA;IAC1B,oDAAoC,CAAA;IACpC,qDAAqC,CAAA;IACrC,wEAAwD,CAAA;IACxD,wEAAwD,CAAA;IACxD,wEAAwD,CAAA;IAExD,gDAAgC,CAAA;IAChC,qDAAqC,CAAA;IACrC,qDAAqC,CAAA;IACrC,6DAA6C,CAAA;IAC7C,uDAAuC,CAAA;IACvC,uDAAuC,CAAA;IACvC,uDAAuC,CAAA;IACvC,4CAA4B,CAAA;IAC5B,iCAAiB,CAAA;IACjB,mDAAmC,CAAA;IACnC,+CAA+B,CAAA;AACjC,CAAC,EAnBW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAmBvB;AAQD,MAAa,YAAY;IACvB,YAAY,IAAkB;QAC5B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;IAC3B,CAAC;CACF;AAJD,oCAIC;AAEY,QAAA,eAAe,GAAuC;IACjE,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC,OAAO;IAC3D,CAAC,YAAY,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAAO;IACrE,CAAC,YAAY,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC,OAAO;IACtE,CAAC,YAAY,CAAC,wBAAwB,CAAC,EACrC,OAAO,CAAC,+BAA+B,CAAC,CAAC,OAAO;IAClD,CAAC,YAAY,CAAC,wBAAwB,CAAC,EACrC,OAAO,CAAC,+BAA+B,CAAC,CAAC,OAAO;IAClD,CAAC,YAAY,CAAC,wBAAwB,CAAC,EACrC,OAAO,CAAC,+BAA+B,CAAC,CAAC,OAAO;IAElD,CAAC,YAAY,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC,OAAO;IACtE,CAAC,YAAY,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC,OAAO;IACtE,CAAC,YAAY,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAC,0BAA0B,CAAC;SACnE,OAAO;IACV,CAAC,YAAY,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC,sBAAsB,CAAC,CAAC,OAAO;IACxE,CAAC,YAAY,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC,sBAAsB,CAAC,CAAC,OAAO;IACxE,CAAC,YAAY,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC,sBAAsB,CAAC,CAAC,OAAO;IAExE,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC,OAAO;IACjE,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO;IAElD,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC,OAAO;IAE7D,CAAC,YAAY,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAAO;IACpE,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC,OAAO;CACjE,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const _1 = require(".");
|
4
|
+
exports.default = new _1.FlowNodeSpec({
|
5
|
+
name: 'List Data Records',
|
6
|
+
description: 'List all records from a data collection with an optional filter',
|
7
|
+
});
|
8
|
+
//# sourceMappingURL=list-data-records.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"list-data-records.js","sourceRoot":"","sources":["../../src/flows/nodes/list-data-records.ts"],"names":[],"mappings":";;AAAA,wBAAgC;AAEhC,kBAAe,IAAI,eAAY,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,WAAW,EACT,iEAAiE;CACpE,CAAC,CAAA"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const _1 = require(".");
|
4
|
+
exports.default = new _1.FlowNodeSpec({
|
5
|
+
name: 'Schedule Trigger',
|
6
|
+
description: 'Run flow on schedule',
|
7
|
+
isTrigger: true,
|
8
|
+
});
|
9
|
+
//# sourceMappingURL=schedule-trigger.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schedule-trigger.js","sourceRoot":"","sources":["../../src/flows/nodes/schedule-trigger.ts"],"names":[],"mappings":";;AAAA,wBAAgC;AAEhC,kBAAe,IAAI,eAAY,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE,sBAAsB;IACnC,SAAS,EAAE,IAAI;CAChB,CAAC,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const _1 = require(".");
|
4
|
+
exports.default = new _1.FlowNodeSpec({
|
5
|
+
name: 'Transform Data',
|
6
|
+
description: 'Create a data structure of any shape by combining and transforming inputs',
|
7
|
+
});
|
8
|
+
//# sourceMappingURL=transform-data.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"transform-data.js","sourceRoot":"","sources":["../../src/flows/nodes/transform-data.ts"],"names":[],"mappings":";;AAAA,wBAAgC;AAEhC,kBAAe,IAAI,eAAY,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,WAAW,EACT,2EAA2E;CAC9E,CAAC,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const _1 = require(".");
|
4
|
+
exports.default = new _1.FlowNodeSpec({
|
5
|
+
name: 'Update Data Record',
|
6
|
+
description: 'Update a new data record in a collection using its id',
|
7
|
+
});
|
8
|
+
//# sourceMappingURL=update-data-record.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"update-data-record.js","sourceRoot":"","sources":["../../src/flows/nodes/update-data-record.ts"],"names":[],"mappings":";;AAAA,wBAAgC;AAEhC,kBAAe,IAAI,eAAY,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,uDAAuD;CACrE,CAAC,CAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { Flow, FlowInstance, FlowNode } from '.';
|
2
|
+
import { FlowNodeSpec } from './nodes';
|
3
|
+
export declare function getFlowNode(flow: Flow | FlowInstance, nodeKey: string): FlowNode;
|
4
|
+
export declare function getFlowNodeSpec(node: FlowNode): FlowNodeSpec;
|
5
|
+
export declare function getRootNodeKeys(flow: Flow | FlowInstance): string[];
|
6
|
+
export declare function getChildNodeKeys(flow: Flow | FlowInstance, nodeKey: string): string[];
|
7
|
+
export declare function getDownstreamNodeKeys(flow: Flow | FlowInstance, nodeKey: string): string[];
|
8
|
+
export declare function getParentNodeKeys(flow: Flow | FlowInstance, nodeKey: string): string[];
|
9
|
+
export declare function getUpstreamNodeKeys(flow: Flow, nodeKey: string): string[];
|
10
|
+
export declare function getOrderedNodeKeys(flow: Flow | FlowInstance): string[];
|
@@ -0,0 +1,72 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getOrderedNodeKeys = exports.getUpstreamNodeKeys = exports.getParentNodeKeys = exports.getDownstreamNodeKeys = exports.getChildNodeKeys = exports.getRootNodeKeys = exports.getFlowNodeSpec = exports.getFlowNode = void 0;
|
4
|
+
const nodes_1 = require("./nodes");
|
5
|
+
function getFlowNode(flow, nodeKey) {
|
6
|
+
var _a;
|
7
|
+
return (_a = flow.nodes) === null || _a === void 0 ? void 0 : _a[nodeKey];
|
8
|
+
}
|
9
|
+
exports.getFlowNode = getFlowNode;
|
10
|
+
function getFlowNodeSpec(node) {
|
11
|
+
if (!node) {
|
12
|
+
throw new Error(`getFlowNodeSpec called without a node`);
|
13
|
+
}
|
14
|
+
const spec = nodes_1.FLOW_NODE_SPECS[node.type];
|
15
|
+
if (!spec) {
|
16
|
+
throw new Error(`Unknow flow node type: ${node.type}`);
|
17
|
+
}
|
18
|
+
return spec;
|
19
|
+
}
|
20
|
+
exports.getFlowNodeSpec = getFlowNodeSpec;
|
21
|
+
function getRootNodeKeys(flow) {
|
22
|
+
var _a, _b;
|
23
|
+
const allNodeKeys = Object.keys((_a = flow.nodes) !== null && _a !== void 0 ? _a : {});
|
24
|
+
const allLinkKeys = Object.values((_b = flow.nodes) !== null && _b !== void 0 ? _b : {})
|
25
|
+
.flatMap((n) => { var _a, _b; return (_b = (_a = n.links) === null || _a === void 0 ? void 0 : _a.map((l) => l.key)) !== null && _b !== void 0 ? _b : []; })
|
26
|
+
.filter(Boolean);
|
27
|
+
return allNodeKeys.filter((k) => !allLinkKeys.includes(k));
|
28
|
+
}
|
29
|
+
exports.getRootNodeKeys = getRootNodeKeys;
|
30
|
+
function getChildNodeKeys(flow, nodeKey) {
|
31
|
+
const node = getFlowNode(flow, nodeKey);
|
32
|
+
const nodeLinks = (node === null || node === void 0 ? void 0 : node.links) || [];
|
33
|
+
return nodeLinks.map((nodeLink) => nodeLink.key).filter(Boolean);
|
34
|
+
}
|
35
|
+
exports.getChildNodeKeys = getChildNodeKeys;
|
36
|
+
function getDownstreamNodeKeys(flow, nodeKey) {
|
37
|
+
const linkedKeys = getChildNodeKeys(flow, nodeKey);
|
38
|
+
return linkedKeys.concat(linkedKeys.map((k) => getChildNodeKeys(flow, k)).flat());
|
39
|
+
}
|
40
|
+
exports.getDownstreamNodeKeys = getDownstreamNodeKeys;
|
41
|
+
function getParentNodeKeys(flow, nodeKey) {
|
42
|
+
return Object.keys(flow.nodes || {}).filter((key) => {
|
43
|
+
var _a;
|
44
|
+
const node = getFlowNode(flow, key);
|
45
|
+
return (_a = node === null || node === void 0 ? void 0 : node.links) === null || _a === void 0 ? void 0 : _a.some((link) => link.key === nodeKey);
|
46
|
+
});
|
47
|
+
}
|
48
|
+
exports.getParentNodeKeys = getParentNodeKeys;
|
49
|
+
function getUpstreamNodeKeys(flow, nodeKey) {
|
50
|
+
const parentKeys = getParentNodeKeys(flow, nodeKey);
|
51
|
+
return parentKeys.concat(parentKeys.map((n) => getUpstreamNodeKeys(flow, n)).flat());
|
52
|
+
}
|
53
|
+
exports.getUpstreamNodeKeys = getUpstreamNodeKeys;
|
54
|
+
function getOrderedNodeKeys(flow) {
|
55
|
+
const rootNodeKeys = getRootNodeKeys(flow);
|
56
|
+
const orderedNodeKeys = rootNodeKeys;
|
57
|
+
let hasMore = true;
|
58
|
+
while (hasMore) {
|
59
|
+
hasMore = false;
|
60
|
+
for (const nodeKey of orderedNodeKeys) {
|
61
|
+
for (const childNodeKey of getChildNodeKeys(flow, nodeKey)) {
|
62
|
+
if (!orderedNodeKeys.includes(childNodeKey)) {
|
63
|
+
orderedNodeKeys.push(childNodeKey);
|
64
|
+
hasMore = true;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
return orderedNodeKeys;
|
70
|
+
}
|
71
|
+
exports.getOrderedNodeKeys = getOrderedNodeKeys;
|
72
|
+
//# sourceMappingURL=utils.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/flows/utils.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
export declare enum HttpRequestMethod {
|
2
|
+
GET = "GET",
|
3
|
+
POST = "POST",
|
4
|
+
PATCH = "PATCH",
|
5
|
+
PUT = "PUT",
|
6
|
+
DELETE = "DELETE"
|
7
|
+
}
|
8
|
+
export interface HttpRequestSpec {
|
9
|
+
method?: HttpRequestMethod;
|
10
|
+
uri: string;
|
11
|
+
headers?: Record<string, string>;
|
12
|
+
query?: Record<string, string>;
|
13
|
+
body?: any;
|
14
|
+
}
|
15
|
+
export declare const HTTP_REQUEST_SCHEMA: {
|
16
|
+
type: string;
|
17
|
+
properties: {
|
18
|
+
uri: {
|
19
|
+
type: string;
|
20
|
+
};
|
21
|
+
method: {
|
22
|
+
type: string;
|
23
|
+
enum: string[];
|
24
|
+
};
|
25
|
+
body: {};
|
26
|
+
query: {
|
27
|
+
type: string;
|
28
|
+
section: boolean;
|
29
|
+
additionalProperties: boolean;
|
30
|
+
};
|
31
|
+
headers: {
|
32
|
+
type: string;
|
33
|
+
section: boolean;
|
34
|
+
additionalProperties: boolean;
|
35
|
+
};
|
36
|
+
};
|
37
|
+
};
|
@@ -0,0 +1,33 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.HTTP_REQUEST_SCHEMA = exports.HttpRequestMethod = void 0;
|
4
|
+
var HttpRequestMethod;
|
5
|
+
(function (HttpRequestMethod) {
|
6
|
+
HttpRequestMethod["GET"] = "GET";
|
7
|
+
HttpRequestMethod["POST"] = "POST";
|
8
|
+
HttpRequestMethod["PATCH"] = "PATCH";
|
9
|
+
HttpRequestMethod["PUT"] = "PUT";
|
10
|
+
HttpRequestMethod["DELETE"] = "DELETE";
|
11
|
+
})(HttpRequestMethod = exports.HttpRequestMethod || (exports.HttpRequestMethod = {}));
|
12
|
+
exports.HTTP_REQUEST_SCHEMA = {
|
13
|
+
type: 'object',
|
14
|
+
properties: {
|
15
|
+
uri: { type: 'string' },
|
16
|
+
method: {
|
17
|
+
type: 'string',
|
18
|
+
enum: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE'],
|
19
|
+
},
|
20
|
+
body: {},
|
21
|
+
query: {
|
22
|
+
type: 'object',
|
23
|
+
section: true,
|
24
|
+
additionalProperties: true,
|
25
|
+
},
|
26
|
+
headers: {
|
27
|
+
type: 'object',
|
28
|
+
section: true,
|
29
|
+
additionalProperties: true,
|
30
|
+
},
|
31
|
+
},
|
32
|
+
};
|
33
|
+
//# sourceMappingURL=http-requests.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"http-requests.js","sourceRoot":"","sources":["src/http-requests.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,gCAAW,CAAA;IACX,kCAAa,CAAA;IACb,oCAAe,CAAA;IACf,gCAAW,CAAA;IACX,sCAAiB,CAAA;AACnB,CAAC,EANW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAM5B;AAcY,QAAA,mBAAmB,GAAG;IACjC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACvB,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,CAAC;SAChD;QACD,IAAI,EAAE,EAAE;QACR,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,IAAI;YACb,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,IAAI;YACb,oBAAoB,EAAE,IAAI;SAC3B;KACF;CACF,CAAA"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare const POPUP_ELEMENT_ID = "__integration-app-popup";
|
2
|
+
export interface OpenConfigurationOptions {
|
3
|
+
onClose?: () => void;
|
4
|
+
}
|
5
|
+
export interface OpenIframeOptions extends OpenConfigurationOptions {
|
6
|
+
[key: string]: (...args: any[]) => void;
|
7
|
+
}
|
8
|
+
export declare function openIframe(uri: string, callbacks?: OpenIframeOptions): Promise<void>;
|
9
|
+
export declare function init(): void;
|
@@ -0,0 +1,112 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.init = exports.openIframe = exports.POPUP_ELEMENT_ID = void 0;
|
4
|
+
const penpal_1 = require("penpal");
|
5
|
+
const insert_css_1 = require("insert-css");
|
6
|
+
exports.POPUP_ELEMENT_ID = '__integration-app-popup';
|
7
|
+
const CONTAINER_ELEMENT_ID = '__integration-app-container';
|
8
|
+
const BODY_CLASS = '__integration-app-open';
|
9
|
+
let initialized = false;
|
10
|
+
let handshakeTimeout = null;
|
11
|
+
const HANDSHAKE_TIMEOUT_MS = 10000;
|
12
|
+
async function openIframe(uri, callbacks = {}) {
|
13
|
+
if (!initialized) {
|
14
|
+
initialized = true;
|
15
|
+
await init();
|
16
|
+
}
|
17
|
+
close();
|
18
|
+
return new Promise((resolve) => {
|
19
|
+
function complete(callback) {
|
20
|
+
close(callback);
|
21
|
+
resolve();
|
22
|
+
}
|
23
|
+
handshakeTimeout = setTimeout(() => {
|
24
|
+
console.error('It takes too long for Integration UI to load. Something must be wrong.');
|
25
|
+
complete(callbacks.onClose);
|
26
|
+
}, HANDSHAKE_TIMEOUT_MS);
|
27
|
+
function handshake() {
|
28
|
+
clearHandshakeTimeout();
|
29
|
+
}
|
30
|
+
function doOpen() {
|
31
|
+
const iframe = document.createElement('iframe');
|
32
|
+
iframe.src = uri;
|
33
|
+
iframe.id = exports.POPUP_ELEMENT_ID;
|
34
|
+
const container = document.getElementById(CONTAINER_ELEMENT_ID);
|
35
|
+
if (container) {
|
36
|
+
document.body.classList.add(BODY_CLASS);
|
37
|
+
container.appendChild(iframe);
|
38
|
+
container.style.display = 'block';
|
39
|
+
(0, penpal_1.connectToChild)({
|
40
|
+
iframe,
|
41
|
+
methods: {
|
42
|
+
...callbacks,
|
43
|
+
close: () => complete(callbacks.onClose),
|
44
|
+
handshake,
|
45
|
+
},
|
46
|
+
});
|
47
|
+
}
|
48
|
+
else {
|
49
|
+
throw Error('Integration.app container element not found. Was it manually removed?');
|
50
|
+
}
|
51
|
+
}
|
52
|
+
if (document.readyState === 'complete' ||
|
53
|
+
document.readyState === 'interactive') {
|
54
|
+
doOpen();
|
55
|
+
}
|
56
|
+
else {
|
57
|
+
document.addEventListener('DOMContentLoaded', () => {
|
58
|
+
doOpen();
|
59
|
+
});
|
60
|
+
}
|
61
|
+
});
|
62
|
+
}
|
63
|
+
exports.openIframe = openIframe;
|
64
|
+
function close(callback) {
|
65
|
+
document.body.classList.remove(BODY_CLASS);
|
66
|
+
const container = document.getElementById(CONTAINER_ELEMENT_ID);
|
67
|
+
if (container) {
|
68
|
+
container.style.display = 'none';
|
69
|
+
if (container.firstChild) {
|
70
|
+
container.removeChild(container.firstChild);
|
71
|
+
}
|
72
|
+
if (callback) {
|
73
|
+
callback();
|
74
|
+
}
|
75
|
+
}
|
76
|
+
clearHandshakeTimeout();
|
77
|
+
}
|
78
|
+
function init() {
|
79
|
+
const CONTAINER_ELEMENT_CLASS = '__integration-app-container';
|
80
|
+
(0, insert_css_1.insertCss)(`
|
81
|
+
.${CONTAINER_ELEMENT_CLASS} {
|
82
|
+
position: fixed;
|
83
|
+
top: 0;
|
84
|
+
bottom: 0;
|
85
|
+
right: 0;
|
86
|
+
left: 0;
|
87
|
+
z-index: 2147483647;
|
88
|
+
display: none;
|
89
|
+
}
|
90
|
+
.${CONTAINER_ELEMENT_CLASS} iframe {
|
91
|
+
position: absolute;
|
92
|
+
width: 100%;
|
93
|
+
height: 100%;
|
94
|
+
border-width: 0;
|
95
|
+
}
|
96
|
+
body.${BODY_CLASS} {
|
97
|
+
overflow: hidden;
|
98
|
+
}
|
99
|
+
`);
|
100
|
+
const container = document.createElement('div');
|
101
|
+
container.id = CONTAINER_ELEMENT_ID;
|
102
|
+
container.setAttribute('class', CONTAINER_ELEMENT_CLASS);
|
103
|
+
document.body.appendChild(container);
|
104
|
+
}
|
105
|
+
exports.init = init;
|
106
|
+
function clearHandshakeTimeout() {
|
107
|
+
if (handshakeTimeout) {
|
108
|
+
clearTimeout(handshakeTimeout);
|
109
|
+
handshakeTimeout = null;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
//# sourceMappingURL=iframe.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"iframe.js","sourceRoot":"","sources":["src/iframe.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IntegrationAppClient = void 0;
|
4
|
+
const client_1 = require("./client");
|
5
|
+
var client_2 = require("./client");
|
6
|
+
Object.defineProperty(exports, "IntegrationAppClient", { enumerable: true, get: function () { return client_2.IntegrationAppClient; } });
|
7
|
+
exports.default = new client_1.IntegrationAppClient({});
|
8
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";;;AAAA,qCAA+C;AAC/C,mCAA+C;AAAtC,8GAAA,oBAAoB,OAAA;AAG7B,kBAAe,IAAI,6BAAoB,CAAC,EAAE,CAAC,CAAA"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
export declare enum IntegrationElementType {
|
2
|
+
APP_DATA_SCHEMA = "app-data-schema",
|
3
|
+
APP_EVENT_TYPE = "app-event-type",
|
4
|
+
APP_DATA_COLLECTION = "app-data-collection",
|
5
|
+
DATA_SOURCE = "data-source",
|
6
|
+
SCHEMA = "schema",
|
7
|
+
FIELD_MAPPING = "field-mapping",
|
8
|
+
FLOW = "flow",
|
9
|
+
INTEGRATION = "integration"
|
10
|
+
}
|
11
|
+
export interface IntegrationElement {
|
12
|
+
type: IntegrationElementType;
|
13
|
+
key?: string;
|
14
|
+
id?: string;
|
15
|
+
config?: any;
|
16
|
+
}
|
17
|
+
export interface IntegrationElementInstance {
|
18
|
+
type: IntegrationElementType;
|
19
|
+
id?: string;
|
20
|
+
instanceId?: string;
|
21
|
+
config?: any;
|
22
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IntegrationElementType = void 0;
|
4
|
+
var IntegrationElementType;
|
5
|
+
(function (IntegrationElementType) {
|
6
|
+
IntegrationElementType["APP_DATA_SCHEMA"] = "app-data-schema";
|
7
|
+
IntegrationElementType["APP_EVENT_TYPE"] = "app-event-type";
|
8
|
+
IntegrationElementType["APP_DATA_COLLECTION"] = "app-data-collection";
|
9
|
+
IntegrationElementType["DATA_SOURCE"] = "data-source";
|
10
|
+
IntegrationElementType["SCHEMA"] = "schema";
|
11
|
+
IntegrationElementType["FIELD_MAPPING"] = "field-mapping";
|
12
|
+
IntegrationElementType["FLOW"] = "flow";
|
13
|
+
IntegrationElementType["INTEGRATION"] = "integration";
|
14
|
+
})(IntegrationElementType = exports.IntegrationElementType || (exports.IntegrationElementType = {}));
|
15
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/integration-elements/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBASX;AATD,WAAY,sBAAsB;IAChC,6DAAmC,CAAA;IACnC,2DAAiC,CAAA;IACjC,qEAA2C,CAAA;IAC3C,qDAA2B,CAAA;IAC3B,2CAAiB,CAAA;IACjB,yDAA+B,CAAA;IAC/B,uCAAa,CAAA;IACb,qDAA2B,CAAA;AAC7B,CAAC,EATW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QASjC"}
|