@integration-app/react 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/contexts/integration-app-context.d.ts +9 -0
- package/contexts/integration-app-context.js +17 -0
- package/contexts/integration-app-context.js.map +1 -0
- package/index.d.ts +2 -0
- package/index.js +3 -0
- package/index.js.map +1 -0
- package/integrations/index.d.ts +6 -0
- package/integrations/index.js +21 -0
- package/integrations/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/.DS_Store +0 -0
- package/node_modules/@integration-app/sdk/.gitignore +11 -0
- package/node_modules/@integration-app/sdk/.npmignore +0 -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/app-data-collections.d.ts +23 -0
- package/node_modules/@integration-app/sdk/app-data-collections/app-data-collections.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/app-data-schemas.d.ts +20 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/app-data-schemas.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/app-events.d.ts +44 -0
- package/node_modules/@integration-app/sdk/app-events/app-events.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 +30021 -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/connection-client.d.ts +12 -0
- package/node_modules/@integration-app/sdk/connection-client.js +31 -0
- package/node_modules/@integration-app/sdk/connection-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/connections.d.ts +46 -0
- package/node_modules/@integration-app/sdk/connections/connections.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/connector-api.d.ts +157 -0
- package/node_modules/@integration-app/sdk/connector-api/connector-api.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/findExternalRecordId.d.ts +0 -0
- package/node_modules/@integration-app/sdk/data-builder/findExternalRecordId.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/first-name.test.d.ts +0 -0
- package/node_modules/@integration-app/sdk/data-builder/first-name.test.js +2 -0
- package/node_modules/@integration-app/sdk/data-builder/first-name.test.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/anyOfOption.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/anyOfOption.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/base.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.test.js +26 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.test.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.d.ts +18 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.js +61 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.test.js +246 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.test.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/concat.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.test.js +85 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.test.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/copy.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.test.js +64 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.test.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/extractDate.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.test.js +44 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.test.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/extractTime.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.test.js +44 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.test.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/findAppRecordId.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.test.js +26 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.test.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/findExternalRecordId.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.test.js +26 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.test.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/first-name.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.test.js +14 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.test.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/index.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.test.js +63 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.test.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/iterate.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.test.js +112 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.test.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/lookup.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.test.js +18 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.test.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/map.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.test.js +114 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.test.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/tpl.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.test.js +49 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.test.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/types.d.ts +0 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/types.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/index.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/index.test.js +295 -0
- package/node_modules/@integration-app/sdk/data-builder/index.test.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-builder/locators.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-builder/locators.test.js +775 -0
- package/node_modules/@integration-app/sdk/data-builder/locators.test.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/conditions.d.ts +0 -0
- package/node_modules/@integration-app/sdk/data-filter/conditions.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-filter/data-filter.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-filter/data-filter.test.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/index.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-filter/index.test.js +43 -0
- package/node_modules/@integration-app/sdk/data-filter/index.test.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-filter/operators.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-filter/operators.test.js +490 -0
- package/node_modules/@integration-app/sdk/data-filter/operators.test.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/data-links.d.ts +58 -0
- package/node_modules/@integration-app/sdk/data-links/data-links.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-schema/index.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/data-schema/index.test.js +86 -0
- package/node_modules/@integration-app/sdk/data-schema/index.test.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/data-sources.d.ts +41 -0
- package/node_modules/@integration-app/sdk/data-sources/data-sources.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/endpoints/endpoint-spec.d.ts +30 -0
- package/node_modules/@integration-app/sdk/endpoints/endpoint-spec.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/field-mappings.d.ts +29 -0
- package/node_modules/@integration-app/sdk/field-mappings/field-mappings.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/flow-runs.d.ts +51 -0
- package/node_modules/@integration-app/sdk/flow-runs/flow-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/flows.d.ts +156 -0
- package/node_modules/@integration-app/sdk/flows/flows.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-delete-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-delete-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/nodes.d.ts +25 -0
- package/node_modules/@integration-app/sdk/flows/nodes/nodes.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/flows/utils.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/flows/utils.test.js +62 -0
- package/node_modules/@integration-app/sdk/flows/utils.test.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/integration-elements/integration-elements.d.ts +21 -0
- package/node_modules/@integration-app/sdk/integration-elements/integration-elements.js.map +1 -0
- package/node_modules/@integration-app/sdk/integrations/accessors.d.ts +23 -0
- package/node_modules/@integration-app/sdk/integrations/accessors.js +122 -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/integrations/integrations.d.ts +48 -0
- package/node_modules/@integration-app/sdk/integrations/integrations.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/json-schema.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/json-schema/json-schema.test.js +194 -0
- package/node_modules/@integration-app/sdk/json-schema/json-schema.test.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/json-schema/schema-builder.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.test.js +352 -0
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.test.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/jwt.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/jwt.test.js +9 -0
- package/node_modules/@integration-app/sdk/jwt.test.js.map +1 -0
- package/node_modules/@integration-app/sdk/package-lock.json +3834 -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 +260 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.ts +77 -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 +162 -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/activities.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/udm/activities.test.js +40 -0
- package/node_modules/@integration-app/sdk/udm/activities.test.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/campaign-members.d.ts +45 -0
- package/node_modules/@integration-app/sdk/udm/campaign-members.js +99 -0
- package/node_modules/@integration-app/sdk/udm/campaign-members.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/contacts.test.d.ts +1 -0
- package/node_modules/@integration-app/sdk/udm/contacts.test.js +136 -0
- package/node_modules/@integration-app/sdk/udm/contacts.test.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/crm-activities.d.ts +17 -0
- package/node_modules/@integration-app/sdk/udm/crm-activities.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/crm-activity.d.ts +11 -0
- package/node_modules/@integration-app/sdk/udm/crm-activity.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/crm-companies.d.ts +14 -0
- package/node_modules/@integration-app/sdk/udm/crm-companies.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/crm-contact.d.ts +10 -0
- package/node_modules/@integration-app/sdk/udm/crm-contact.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/crm-contacts.d.ts +16 -0
- package/node_modules/@integration-app/sdk/udm/crm-contacts.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/crm-deals.d.ts +15 -0
- package/node_modules/@integration-app/sdk/udm/crm-deals.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/crm-leads.d.ts +16 -0
- package/node_modules/@integration-app/sdk/udm/crm-leads.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/members.d.ts +45 -0
- package/node_modules/@integration-app/sdk/udm/members.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/users/users.d.ts +5 -0
- package/node_modules/@integration-app/sdk/users/users.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/package.json +26 -0
@@ -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: 'Data Record Deleted Trigger',
|
6
|
+
description: 'Launch flow when a data record is deleted in a remote data collection',
|
7
|
+
isTrigger: true,
|
8
|
+
});
|
9
|
+
//# sourceMappingURL=data-record-deleted-trigger.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"data-record-deleted-trigger.js","sourceRoot":"","sources":["../../src/flows/nodes/data-record-deleted-trigger.ts"],"names":[],"mappings":";;AAAA,wBAAgC;AAEhC,kBAAe,IAAI,eAAY,CAAC;IAC9B,IAAI,EAAE,6BAA6B;IACnC,WAAW,EACT,uEAAuE;IACzE,SAAS,EAAE,IAAI;CAChB,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: 'Data Record Updated Trigger',
|
6
|
+
description: 'Launch flow when a data record is updated in a remote data collection',
|
7
|
+
isTrigger: true,
|
8
|
+
});
|
9
|
+
//# sourceMappingURL=data-record-updated-trigger.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"data-record-updated-trigger.js","sourceRoot":"","sources":["../../src/flows/nodes/data-record-updated-trigger.ts"],"names":[],"mappings":";;AAAA,wBAAgC;AAEhC,kBAAe,IAAI,eAAY,CAAC;IAC9B,IAAI,EAAE,6BAA6B;IACnC,WAAW,EACT,uEAAuE;IACzE,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: '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,25 @@
|
|
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 const FLOW_NODE_SPECS: Record<FlowNodeType, FlowNodeSpec>;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"nodes.js","sourceRoot":"","sources":["../../src/flows/nodes/nodes.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;AAQY,QAAA,eAAe,GAAuC;IACjE,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE;QACzB,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,qBAAqB;QAClC,SAAS,EAAE,IAAI;KAChB;IACD,CAAC,YAAY,CAAC,eAAe,CAAC,EAAE;QAC9B,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,sBAAsB;QACnC,SAAS,EAAE,IAAI;KAChB;IACD,CAAC,YAAY,CAAC,eAAe,CAAC,EAAE;QAC9B,IAAI,EAAE,mBAAmB;QACzB,WAAW,EAAE,oDAAoD;QACjE,SAAS,EAAE,IAAI;KAChB;IAED,CAAC,YAAY,CAAC,wBAAwB,CAAC,EAAE;QACvC,IAAI,EAAE,6BAA6B;QACnC,WAAW,EACT,uEAAuE;QACzE,SAAS,EAAE,IAAI;KAChB;IACD,CAAC,YAAY,CAAC,wBAAwB,CAAC,EAAE;QACvC,IAAI,EAAE,6BAA6B;QACnC,WAAW,EACT,uEAAuE;QACzE,SAAS,EAAE,IAAI;KAChB;IACD,CAAC,YAAY,CAAC,wBAAwB,CAAC,EAAE;QACvC,IAAI,EAAE,6BAA6B;QACnC,WAAW,EACT,uEAAuE;QACzE,SAAS,EAAE,IAAI;KAChB;IACD,CAAC,YAAY,CAAC,eAAe,CAAC,EAAE;QAC9B,IAAI,EAAE,mBAAmB;QACzB,WAAW,EACT,iEAAiE;KACpE;IACD,CAAC,YAAY,CAAC,eAAe,CAAC,EAAE;QAC9B,IAAI,EAAE,mBAAmB;QACzB,WAAW,EAAE,yDAAyD;KACvE;IACD,CAAC,YAAY,CAAC,kBAAkB,CAAC,EAAE;QACjC,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,iCAAiC;KAC/C;IACD,CAAC,YAAY,CAAC,gBAAgB,CAAC,EAAE;QAC/B,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,0CAA0C;KACxD;IACD,CAAC,YAAY,CAAC,gBAAgB,CAAC,EAAE;QAC/B,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,uDAAuD;KACrE;IACD,CAAC,YAAY,CAAC,gBAAgB,CAAC,EAAE;QAC/B,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,yDAAyD;KACvE;IACD,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE;QAC5B,IAAI,EAAE,gBAAgB;QACtB,WAAW,EACT,2EAA2E;KAC9E;IACD,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE;QAC1B,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE,kCAAkC;KAChD;IACD,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE;QACrB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,iDAAiD;KAC/D;IACD,CAAC,YAAY,CAAC,cAAc,CAAC,EAAE;QAC7B,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,gDAAgD;KAC9D;IACD,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE;QAC3B,IAAI,EAAE,gBAAgB;QACtB,WAAW,EAAE,0DAA0D;KACxE;CACF,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 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,62 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const utils_1 = require("./utils");
|
4
|
+
describe('flows/utils', () => {
|
5
|
+
it('should return nodes in order layer by layer', () => {
|
6
|
+
const flow = {
|
7
|
+
nodes: {
|
8
|
+
'root-1': {
|
9
|
+
links: [
|
10
|
+
{
|
11
|
+
key: 'child-level-1-1',
|
12
|
+
},
|
13
|
+
{
|
14
|
+
key: 'child-level-1-2',
|
15
|
+
},
|
16
|
+
],
|
17
|
+
},
|
18
|
+
'root-2': {
|
19
|
+
links: [
|
20
|
+
{
|
21
|
+
key: 'child-level-1-2',
|
22
|
+
},
|
23
|
+
{
|
24
|
+
key: 'child-level-1-3',
|
25
|
+
},
|
26
|
+
],
|
27
|
+
},
|
28
|
+
'child-level-1-1': {
|
29
|
+
links: [
|
30
|
+
{
|
31
|
+
key: 'child-level-2-1',
|
32
|
+
},
|
33
|
+
],
|
34
|
+
},
|
35
|
+
'child-level-1-2': {},
|
36
|
+
'child-level-1-3': {
|
37
|
+
links: [
|
38
|
+
{
|
39
|
+
key: 'child-level-2-1',
|
40
|
+
},
|
41
|
+
{
|
42
|
+
key: 'child-level-2-2',
|
43
|
+
},
|
44
|
+
],
|
45
|
+
},
|
46
|
+
'child-level-2-1': {},
|
47
|
+
'child-level-2-2': {},
|
48
|
+
},
|
49
|
+
};
|
50
|
+
const keysInOrder = [
|
51
|
+
'root-1',
|
52
|
+
'root-2',
|
53
|
+
'child-level-1-1',
|
54
|
+
'child-level-1-2',
|
55
|
+
'child-level-1-3',
|
56
|
+
'child-level-2-1',
|
57
|
+
'child-level-2-2',
|
58
|
+
];
|
59
|
+
expect((0, utils_1.getOrderedNodeKeys)(flow)).toEqual(keysInOrder);
|
60
|
+
});
|
61
|
+
});
|
62
|
+
//# sourceMappingURL=utils.test.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"utils.test.js","sourceRoot":"","sources":["../src/flows/utils.test.ts"],"names":[],"mappings":";;AACA,mCAA4C;AAE5C,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;QACrD,MAAM,IAAI,GAAG;YACX,KAAK,EAAE;gBACL,QAAQ,EAAE;oBACR,KAAK,EAAE;wBACL;4BACE,GAAG,EAAE,iBAAiB;yBACvB;wBACD;4BACE,GAAG,EAAE,iBAAiB;yBACvB;qBACF;iBACF;gBACD,QAAQ,EAAE;oBACR,KAAK,EAAE;wBACL;4BACE,GAAG,EAAE,iBAAiB;yBACvB;wBACD;4BACE,GAAG,EAAE,iBAAiB;yBACvB;qBACF;iBACF;gBACD,iBAAiB,EAAE;oBACjB,KAAK,EAAE;wBACL;4BACE,GAAG,EAAE,iBAAiB;yBACvB;qBACF;iBACF;gBACD,iBAAiB,EAAE,EAAE;gBACrB,iBAAiB,EAAE;oBACjB,KAAK,EAAE;wBACL;4BACE,GAAG,EAAE,iBAAiB;yBACvB;wBACD;4BACE,GAAG,EAAE,iBAAiB;yBACvB;qBACF;iBACF;gBACD,iBAAiB,EAAE,EAAE;gBACrB,iBAAiB,EAAE,EAAE;aACtB;SACF,CAAA;QAED,MAAM,WAAW,GAAG;YAClB,QAAQ;YACR,QAAQ;YACR,iBAAiB;YACjB,iBAAiB;YACjB,iBAAiB;YACjB,iBAAiB;YACjB,iBAAiB;SAClB,CAAA;QAED,MAAM,CAAC,IAAA,0BAAkB,EAAC,IAAmB,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;IACtE,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -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;
|