@integration-app/react 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/{contexts → dist/contexts}/integration-app-context.d.ts +0 -0
- package/{contexts → dist/contexts}/integration-app-context.js +0 -0
- package/{contexts → dist/contexts}/integration-app-context.js.map +0 -0
- package/{index.d.ts → dist/index.d.ts} +0 -0
- package/{index.js → dist/index.js} +0 -0
- package/{index.js.map → dist/index.js.map} +0 -0
- package/{integrations → dist/integrations}/index.d.ts +0 -0
- package/{integrations → dist/integrations}/index.js +0 -0
- package/{integrations → dist/integrations}/index.js.map +0 -0
- package/dist/node_modules/.package-lock.json +111 -0
- package/dist/node_modules/js-tokens/CHANGELOG.md +151 -0
- package/dist/node_modules/js-tokens/LICENSE +21 -0
- package/dist/node_modules/js-tokens/README.md +240 -0
- package/dist/node_modules/js-tokens/index.js +23 -0
- package/dist/node_modules/js-tokens/package.json +30 -0
- package/dist/node_modules/loose-envify/LICENSE +21 -0
- package/dist/node_modules/loose-envify/README.md +45 -0
- package/dist/node_modules/loose-envify/cli.js +16 -0
- package/dist/node_modules/loose-envify/custom.js +4 -0
- package/dist/node_modules/loose-envify/index.js +3 -0
- package/dist/node_modules/loose-envify/loose-envify.js +36 -0
- package/dist/node_modules/loose-envify/package.json +36 -0
- package/dist/node_modules/loose-envify/replace.js +65 -0
- package/dist/node_modules/object-assign/index.js +90 -0
- package/dist/node_modules/object-assign/license +21 -0
- package/dist/node_modules/object-assign/package.json +42 -0
- package/dist/node_modules/object-assign/readme.md +61 -0
- package/dist/node_modules/scheduler/LICENSE +21 -0
- package/dist/node_modules/scheduler/README.md +9 -0
- package/dist/node_modules/scheduler/build-info.json +8 -0
- package/dist/node_modules/scheduler/cjs/scheduler-tracing.development.js +347 -0
- package/dist/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +9 -0
- package/dist/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +16 -0
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +665 -0
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +19 -0
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +206 -0
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +13 -0
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +646 -0
- package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +20 -0
- package/dist/node_modules/scheduler/index.js +7 -0
- package/dist/node_modules/scheduler/package.json +40 -0
- package/dist/node_modules/scheduler/tracing-profiling.js +7 -0
- package/dist/node_modules/scheduler/tracing.js +7 -0
- package/dist/node_modules/scheduler/umd/scheduler-tracing.development.js +80 -0
- package/dist/node_modules/scheduler/umd/scheduler-tracing.production.min.js +80 -0
- package/dist/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +80 -0
- package/dist/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +664 -0
- package/dist/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +18 -0
- package/dist/node_modules/scheduler/umd/scheduler.development.js +152 -0
- package/dist/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
- package/dist/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
- package/dist/node_modules/scheduler/unstable_mock.js +7 -0
- package/dist/node_modules/scheduler/unstable_post_task.js +7 -0
- package/dist/package.json +26 -0
- package/package.json +38 -17
- package/node_modules/@integration-app/sdk/.DS_Store +0 -0
- package/node_modules/@integration-app/sdk/.gitignore +0 -11
- package/node_modules/@integration-app/sdk/.npmignore +0 -0
- package/node_modules/@integration-app/sdk/accessors.d.ts +0 -56
- package/node_modules/@integration-app/sdk/accessors.js +0 -104
- package/node_modules/@integration-app/sdk/accessors.js.map +0 -1
- package/node_modules/@integration-app/sdk/app-data-collections/accessors.d.ts +0 -16
- package/node_modules/@integration-app/sdk/app-data-collections/accessors.js +0 -38
- package/node_modules/@integration-app/sdk/app-data-collections/accessors.js.map +0 -1
- package/node_modules/@integration-app/sdk/app-data-collections/api.d.ts +0 -18
- package/node_modules/@integration-app/sdk/app-data-collections/api.js +0 -3
- package/node_modules/@integration-app/sdk/app-data-collections/api.js.map +0 -1
- package/node_modules/@integration-app/sdk/app-data-collections/app-data-collections.d.ts +0 -23
- package/node_modules/@integration-app/sdk/app-data-collections/app-data-collections.js.map +0 -1
- package/node_modules/@integration-app/sdk/app-data-collections/index.d.ts +0 -26
- package/node_modules/@integration-app/sdk/app-data-collections/index.js +0 -3
- package/node_modules/@integration-app/sdk/app-data-collections/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/app-data-schemas/accessors.d.ts +0 -16
- package/node_modules/@integration-app/sdk/app-data-schemas/accessors.js +0 -38
- package/node_modules/@integration-app/sdk/app-data-schemas/accessors.js.map +0 -1
- package/node_modules/@integration-app/sdk/app-data-schemas/api.d.ts +0 -18
- package/node_modules/@integration-app/sdk/app-data-schemas/api.js +0 -3
- package/node_modules/@integration-app/sdk/app-data-schemas/api.js.map +0 -1
- package/node_modules/@integration-app/sdk/app-data-schemas/app-data-schemas.d.ts +0 -20
- package/node_modules/@integration-app/sdk/app-data-schemas/app-data-schemas.js.map +0 -1
- package/node_modules/@integration-app/sdk/app-data-schemas/index.d.ts +0 -21
- package/node_modules/@integration-app/sdk/app-data-schemas/index.js +0 -3
- package/node_modules/@integration-app/sdk/app-data-schemas/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/app-events/accessors.d.ts +0 -16
- package/node_modules/@integration-app/sdk/app-events/accessors.js +0 -38
- package/node_modules/@integration-app/sdk/app-events/accessors.js.map +0 -1
- package/node_modules/@integration-app/sdk/app-events/api.d.ts +0 -18
- package/node_modules/@integration-app/sdk/app-events/api.js +0 -3
- package/node_modules/@integration-app/sdk/app-events/api.js.map +0 -1
- package/node_modules/@integration-app/sdk/app-events/app-events.d.ts +0 -44
- package/node_modules/@integration-app/sdk/app-events/app-events.js.map +0 -1
- package/node_modules/@integration-app/sdk/app-events/index.d.ts +0 -46
- package/node_modules/@integration-app/sdk/app-events/index.js +0 -3
- package/node_modules/@integration-app/sdk/app-events/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/auth/accessors.d.ts +0 -7
- package/node_modules/@integration-app/sdk/auth/accessors.js +0 -13
- package/node_modules/@integration-app/sdk/auth/accessors.js.map +0 -1
- package/node_modules/@integration-app/sdk/auth/index.d.ts +0 -6
- package/node_modules/@integration-app/sdk/auth/index.js +0 -3
- package/node_modules/@integration-app/sdk/auth/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/bundle-index.d.ts +0 -1
- package/node_modules/@integration-app/sdk/bundle-index.js +0 -5
- package/node_modules/@integration-app/sdk/bundle-index.js.map +0 -1
- package/node_modules/@integration-app/sdk/bundle.js +0 -30021
- package/node_modules/@integration-app/sdk/bundle.js.map +0 -1
- package/node_modules/@integration-app/sdk/client.d.ts +0 -108
- package/node_modules/@integration-app/sdk/client.js +0 -248
- package/node_modules/@integration-app/sdk/client.js.map +0 -1
- package/node_modules/@integration-app/sdk/connection-client.d.ts +0 -12
- package/node_modules/@integration-app/sdk/connection-client.js +0 -31
- package/node_modules/@integration-app/sdk/connection-client.js.map +0 -1
- package/node_modules/@integration-app/sdk/connections/accessors.d.ts +0 -13
- package/node_modules/@integration-app/sdk/connections/accessors.js +0 -39
- package/node_modules/@integration-app/sdk/connections/accessors.js.map +0 -1
- package/node_modules/@integration-app/sdk/connections/api.d.ts +0 -20
- package/node_modules/@integration-app/sdk/connections/api.js +0 -17
- package/node_modules/@integration-app/sdk/connections/api.js.map +0 -1
- package/node_modules/@integration-app/sdk/connections/connections.d.ts +0 -46
- package/node_modules/@integration-app/sdk/connections/connections.js.map +0 -1
- package/node_modules/@integration-app/sdk/connections/index.d.ts +0 -39
- package/node_modules/@integration-app/sdk/connections/index.js +0 -13
- package/node_modules/@integration-app/sdk/connections/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/connector-api/connector-api.d.ts +0 -157
- package/node_modules/@integration-app/sdk/connector-api/connector-api.js.map +0 -1
- package/node_modules/@integration-app/sdk/connector-api/index.d.ts +0 -2
- package/node_modules/@integration-app/sdk/connector-api/index.js +0 -9
- package/node_modules/@integration-app/sdk/connector-api/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/context.d.ts +0 -9
- package/node_modules/@integration-app/sdk/data-builder/context.js +0 -32
- package/node_modules/@integration-app/sdk/data-builder/context.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/findExternalRecordId.d.ts +0 -0
- package/node_modules/@integration-app/sdk/data-builder/findExternalRecordId.js.map +0 -1
- 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 +0 -2
- package/node_modules/@integration-app/sdk/data-builder/first-name.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/anyOfOption.d.ts +0 -10
- package/node_modules/@integration-app/sdk/data-builder/formulas/anyOfOption.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.d.ts +0 -9
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.js +0 -59
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.test.js +0 -26
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.d.ts +0 -18
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.js +0 -61
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.test.js +0 -246
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.d.ts +0 -18
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.js +0 -36
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.test.js +0 -85
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.d.ts +0 -10
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.js +0 -22
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.test.js +0 -64
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.d.ts +0 -11
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.js +0 -31
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.test.js +0 -44
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.d.ts +0 -11
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.js +0 -31
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.test.js +0 -44
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.d.ts +0 -17
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.js +0 -24
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.test.js +0 -26
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.d.ts +0 -17
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.js +0 -24
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.test.js +0 -26
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.d.ts +0 -10
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.js +0 -25
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.test.js +0 -14
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.d.ts +0 -28
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.js +0 -177
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.test.js +0 -63
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.d.ts +0 -15
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.js +0 -41
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.test.js +0 -112
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.d.ts +0 -10
- package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.js +0 -25
- package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.d.ts +0 -20
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.js +0 -24
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.test.js +0 -18
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.d.ts +0 -17
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.js +0 -34
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.test.js +0 -114
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/plain.d.ts +0 -7
- package/node_modules/@integration-app/sdk/data-builder/formulas/plain.js +0 -20
- package/node_modules/@integration-app/sdk/data-builder/formulas/plain.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/record.d.ts +0 -10
- package/node_modules/@integration-app/sdk/data-builder/formulas/record.js +0 -23
- package/node_modules/@integration-app/sdk/data-builder/formulas/record.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.d.ts +0 -12
- package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.js +0 -22
- package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.d.ts +0 -15
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.js +0 -31
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.test.js +0 -49
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.test.js.map +0 -1
- 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 +0 -1
- package/node_modules/@integration-app/sdk/data-builder/formulas/var.d.ts +0 -8
- package/node_modules/@integration-app/sdk/data-builder/formulas/var.js +0 -21
- package/node_modules/@integration-app/sdk/data-builder/formulas/var.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/index.d.ts +0 -2
- package/node_modules/@integration-app/sdk/data-builder/index.js +0 -17
- package/node_modules/@integration-app/sdk/data-builder/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/index.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/index.test.js +0 -295
- package/node_modules/@integration-app/sdk/data-builder/index.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/locators.d.ts +0 -56
- package/node_modules/@integration-app/sdk/data-builder/locators.js +0 -560
- package/node_modules/@integration-app/sdk/data-builder/locators.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-builder/locators.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-builder/locators.test.js +0 -775
- package/node_modules/@integration-app/sdk/data-builder/locators.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-collections.d.ts +0 -36
- package/node_modules/@integration-app/sdk/data-collections.js +0 -16
- package/node_modules/@integration-app/sdk/data-collections.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-filter/conditions.d.ts +0 -0
- package/node_modules/@integration-app/sdk/data-filter/conditions.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-filter/data-filter.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-filter/data-filter.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-filter/index.d.ts +0 -12
- package/node_modules/@integration-app/sdk/data-filter/index.js +0 -104
- package/node_modules/@integration-app/sdk/data-filter/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-filter/index.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-filter/index.test.js +0 -43
- package/node_modules/@integration-app/sdk/data-filter/index.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-filter/operators.d.ts +0 -13
- package/node_modules/@integration-app/sdk/data-filter/operators.js +0 -140
- package/node_modules/@integration-app/sdk/data-filter/operators.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-filter/operators.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-filter/operators.test.js +0 -490
- package/node_modules/@integration-app/sdk/data-filter/operators.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-links/accessors.d.ts +0 -20
- package/node_modules/@integration-app/sdk/data-links/accessors.js +0 -65
- package/node_modules/@integration-app/sdk/data-links/accessors.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-links/api.d.ts +0 -49
- package/node_modules/@integration-app/sdk/data-links/api.js +0 -3
- package/node_modules/@integration-app/sdk/data-links/api.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-links/data-links.d.ts +0 -58
- package/node_modules/@integration-app/sdk/data-links/data-links.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-links/index.d.ts +0 -35
- package/node_modules/@integration-app/sdk/data-links/index.js +0 -10
- package/node_modules/@integration-app/sdk/data-links/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-locations/accessors.d.ts +0 -10
- package/node_modules/@integration-app/sdk/data-locations/accessors.js +0 -22
- package/node_modules/@integration-app/sdk/data-locations/accessors.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-locations/api.d.ts +0 -4
- package/node_modules/@integration-app/sdk/data-locations/api.js +0 -3
- package/node_modules/@integration-app/sdk/data-locations/api.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-locations/index.d.ts +0 -138
- package/node_modules/@integration-app/sdk/data-locations/index.js +0 -17
- package/node_modules/@integration-app/sdk/data-locations/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-schema/index.d.ts +0 -49
- package/node_modules/@integration-app/sdk/data-schema/index.js +0 -88
- package/node_modules/@integration-app/sdk/data-schema/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-schema/index.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/data-schema/index.test.js +0 -86
- package/node_modules/@integration-app/sdk/data-schema/index.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-sources/accessors.d.ts +0 -29
- package/node_modules/@integration-app/sdk/data-sources/accessors.js +0 -71
- package/node_modules/@integration-app/sdk/data-sources/accessors.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-sources/api.d.ts +0 -37
- package/node_modules/@integration-app/sdk/data-sources/api.js +0 -3
- package/node_modules/@integration-app/sdk/data-sources/api.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-sources/data-sources.d.ts +0 -41
- package/node_modules/@integration-app/sdk/data-sources/data-sources.js.map +0 -1
- package/node_modules/@integration-app/sdk/data-sources/index.d.ts +0 -55
- package/node_modules/@integration-app/sdk/data-sources/index.js +0 -3
- package/node_modules/@integration-app/sdk/data-sources/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/datetime.d.ts +0 -1
- package/node_modules/@integration-app/sdk/datetime.js +0 -15
- package/node_modules/@integration-app/sdk/datetime.js.map +0 -1
- package/node_modules/@integration-app/sdk/endpoints/endpoint-spec.d.ts +0 -30
- package/node_modules/@integration-app/sdk/endpoints/endpoint-spec.js.map +0 -1
- package/node_modules/@integration-app/sdk/entity-repository.d.ts +0 -11
- package/node_modules/@integration-app/sdk/entity-repository.js +0 -10
- package/node_modules/@integration-app/sdk/entity-repository.js.map +0 -1
- package/node_modules/@integration-app/sdk/errors.d.ts +0 -64
- package/node_modules/@integration-app/sdk/errors.js +0 -141
- package/node_modules/@integration-app/sdk/errors.js.map +0 -1
- package/node_modules/@integration-app/sdk/field-mappings/accessors.d.ts +0 -25
- package/node_modules/@integration-app/sdk/field-mappings/accessors.js +0 -60
- package/node_modules/@integration-app/sdk/field-mappings/accessors.js.map +0 -1
- package/node_modules/@integration-app/sdk/field-mappings/api.d.ts +0 -34
- package/node_modules/@integration-app/sdk/field-mappings/api.js +0 -3
- package/node_modules/@integration-app/sdk/field-mappings/api.js.map +0 -1
- package/node_modules/@integration-app/sdk/field-mappings/field-mappings.d.ts +0 -29
- package/node_modules/@integration-app/sdk/field-mappings/field-mappings.js.map +0 -1
- package/node_modules/@integration-app/sdk/field-mappings/index.d.ts +0 -90
- package/node_modules/@integration-app/sdk/field-mappings/index.js +0 -195
- package/node_modules/@integration-app/sdk/field-mappings/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.d.ts +0 -30
- package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.js +0 -11
- package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.js.map +0 -1
- package/node_modules/@integration-app/sdk/flow-runs/flow-runs.d.ts +0 -51
- package/node_modules/@integration-app/sdk/flow-runs/flow-runs.js.map +0 -1
- package/node_modules/@integration-app/sdk/flow-runs/index.d.ts +0 -59
- package/node_modules/@integration-app/sdk/flow-runs/index.js +0 -44
- package/node_modules/@integration-app/sdk/flow-runs/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/accessors.d.ts +0 -37
- package/node_modules/@integration-app/sdk/flows/accessors.js +0 -167
- package/node_modules/@integration-app/sdk/flows/accessors.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/api.d.ts +0 -55
- package/node_modules/@integration-app/sdk/flows/api.js +0 -8
- package/node_modules/@integration-app/sdk/flows/api.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/flows.d.ts +0 -156
- package/node_modules/@integration-app/sdk/flows/flows.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/index.d.ts +0 -84
- package/node_modules/@integration-app/sdk/flows/index.js +0 -26
- package/node_modules/@integration-app/sdk/flows/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.js +0 -9
- package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.js +0 -9
- package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.js +0 -8
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.js +0 -8
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.js +0 -9
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-delete-trigger.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-delete-trigger.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.js +0 -9
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.js +0 -9
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.js +0 -8
- package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/filter.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/filter.js +0 -8
- package/node_modules/@integration-app/sdk/flows/nodes/filter.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.js +0 -8
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.js +0 -8
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.js +0 -8
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/http-request.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/http-request.js +0 -8
- package/node_modules/@integration-app/sdk/flows/nodes/http-request.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/index.d.ts +0 -28
- package/node_modules/@integration-app/sdk/flows/nodes/index.js +0 -50
- package/node_modules/@integration-app/sdk/flows/nodes/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.js +0 -8
- package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/nodes.d.ts +0 -25
- package/node_modules/@integration-app/sdk/flows/nodes/nodes.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.js +0 -9
- package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/transform-data.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/transform-data.js +0 -8
- package/node_modules/@integration-app/sdk/flows/nodes/transform-data.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.d.ts +0 -3
- package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.js +0 -8
- package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/utils.d.ts +0 -10
- package/node_modules/@integration-app/sdk/flows/utils.js +0 -72
- package/node_modules/@integration-app/sdk/flows/utils.js.map +0 -1
- package/node_modules/@integration-app/sdk/flows/utils.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/flows/utils.test.js +0 -62
- package/node_modules/@integration-app/sdk/flows/utils.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/http-requests.d.ts +0 -37
- package/node_modules/@integration-app/sdk/http-requests.js +0 -33
- package/node_modules/@integration-app/sdk/http-requests.js.map +0 -1
- package/node_modules/@integration-app/sdk/iframe.d.ts +0 -9
- package/node_modules/@integration-app/sdk/iframe.js +0 -112
- package/node_modules/@integration-app/sdk/iframe.js.map +0 -1
- package/node_modules/@integration-app/sdk/index.d.ts +0 -4
- package/node_modules/@integration-app/sdk/index.js +0 -8
- package/node_modules/@integration-app/sdk/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/integration-elements/index.d.ts +0 -22
- package/node_modules/@integration-app/sdk/integration-elements/index.js +0 -15
- package/node_modules/@integration-app/sdk/integration-elements/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/integration-elements/integration-elements.d.ts +0 -21
- package/node_modules/@integration-app/sdk/integration-elements/integration-elements.js.map +0 -1
- package/node_modules/@integration-app/sdk/integrations/accessors.d.ts +0 -23
- package/node_modules/@integration-app/sdk/integrations/accessors.js +0 -122
- package/node_modules/@integration-app/sdk/integrations/accessors.js.map +0 -1
- package/node_modules/@integration-app/sdk/integrations/api.d.ts +0 -10
- package/node_modules/@integration-app/sdk/integrations/api.js +0 -3
- package/node_modules/@integration-app/sdk/integrations/api.js.map +0 -1
- package/node_modules/@integration-app/sdk/integrations/index.d.ts +0 -27
- package/node_modules/@integration-app/sdk/integrations/index.js +0 -16
- package/node_modules/@integration-app/sdk/integrations/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/integrations/integrations.d.ts +0 -48
- package/node_modules/@integration-app/sdk/integrations/integrations.js.map +0 -1
- package/node_modules/@integration-app/sdk/json-schema/index.d.ts +0 -32
- package/node_modules/@integration-app/sdk/json-schema/index.js +0 -207
- package/node_modules/@integration-app/sdk/json-schema/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/json-schema/json-schema.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/json-schema/json-schema.test.js +0 -194
- package/node_modules/@integration-app/sdk/json-schema/json-schema.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.d.ts +0 -7
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.js +0 -232
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.js.map +0 -1
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.test.js +0 -352
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/jwt.d.ts +0 -1
- package/node_modules/@integration-app/sdk/jwt.js +0 -37
- package/node_modules/@integration-app/sdk/jwt.js.map +0 -1
- package/node_modules/@integration-app/sdk/jwt.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/jwt.test.js +0 -9
- package/node_modules/@integration-app/sdk/jwt.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/package-lock.json +0 -3834
- package/node_modules/@integration-app/sdk/package.json +0 -63
- package/node_modules/@integration-app/sdk/rollup.config.js +0 -23
- package/node_modules/@integration-app/sdk/src/accessors.ts +0 -150
- package/node_modules/@integration-app/sdk/src/app-data-collections/accessors.ts +0 -69
- package/node_modules/@integration-app/sdk/src/app-data-collections/api.ts +0 -31
- package/node_modules/@integration-app/sdk/src/app-data-collections/index.ts +0 -46
- package/node_modules/@integration-app/sdk/src/app-data-schemas/accessors.ts +0 -69
- package/node_modules/@integration-app/sdk/src/app-data-schemas/api.ts +0 -28
- package/node_modules/@integration-app/sdk/src/app-data-schemas/index.ts +0 -35
- package/node_modules/@integration-app/sdk/src/app-events/accessors.ts +0 -69
- package/node_modules/@integration-app/sdk/src/app-events/api.ts +0 -28
- package/node_modules/@integration-app/sdk/src/app-events/index.ts +0 -75
- package/node_modules/@integration-app/sdk/src/auth/accessors.ts +0 -10
- package/node_modules/@integration-app/sdk/src/auth/index.ts +0 -7
- package/node_modules/@integration-app/sdk/src/bundle-index.ts +0 -6
- package/node_modules/@integration-app/sdk/src/client.ts +0 -417
- package/node_modules/@integration-app/sdk/src/connections/accessors.ts +0 -58
- package/node_modules/@integration-app/sdk/src/connections/api.ts +0 -28
- package/node_modules/@integration-app/sdk/src/connections/index.ts +0 -70
- package/node_modules/@integration-app/sdk/src/connector-api/index.ts +0 -44
- package/node_modules/@integration-app/sdk/src/data-builder/context.ts +0 -40
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/base.test.ts +0 -26
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/base.ts +0 -95
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.test.ts +0 -260
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.ts +0 -77
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/concat.test.ts +0 -117
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/concat.ts +0 -49
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/copy.test.ts +0 -70
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/copy.ts +0 -20
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractDate.test.ts +0 -49
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractDate.ts +0 -28
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractTime.test.ts +0 -49
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractTime.ts +0 -28
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findAppRecordId.test.ts +0 -30
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findAppRecordId.ts +0 -30
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findExternalRecordId.test.ts +0 -30
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findExternalRecordId.ts +0 -30
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/first-name.ts +0 -21
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/index.test.ts +0 -83
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/index.ts +0 -190
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/iterate.test.ts +0 -154
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/iterate.ts +0 -46
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/last-name.ts +0 -21
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/lookup.test.ts +0 -20
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/lookup.ts +0 -33
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/map.test.ts +0 -125
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/map.ts +0 -42
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/plain.ts +0 -17
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/record.ts +0 -20
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/schemaOption.ts +0 -26
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/tpl.test.ts +0 -51
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/tpl.ts +0 -33
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/var.ts +0 -19
- package/node_modules/@integration-app/sdk/src/data-builder/index.test.ts +0 -372
- package/node_modules/@integration-app/sdk/src/data-builder/index.ts +0 -16
- package/node_modules/@integration-app/sdk/src/data-builder/locators.test.ts +0 -1045
- package/node_modules/@integration-app/sdk/src/data-builder/locators.ts +0 -702
- package/node_modules/@integration-app/sdk/src/data-collections.ts +0 -74
- package/node_modules/@integration-app/sdk/src/data-filter/index.test.ts +0 -48
- package/node_modules/@integration-app/sdk/src/data-filter/index.ts +0 -127
- package/node_modules/@integration-app/sdk/src/data-filter/operators.test.ts +0 -694
- package/node_modules/@integration-app/sdk/src/data-filter/operators.ts +0 -163
- package/node_modules/@integration-app/sdk/src/data-links/accessors.ts +0 -108
- package/node_modules/@integration-app/sdk/src/data-links/api.ts +0 -75
- package/node_modules/@integration-app/sdk/src/data-links/index.ts +0 -55
- package/node_modules/@integration-app/sdk/src/data-locations/accessors.ts +0 -24
- package/node_modules/@integration-app/sdk/src/data-locations/api.ts +0 -5
- package/node_modules/@integration-app/sdk/src/data-locations/index.ts +0 -209
- package/node_modules/@integration-app/sdk/src/data-schema/index.test.ts +0 -90
- package/node_modules/@integration-app/sdk/src/data-schema/index.ts +0 -185
- package/node_modules/@integration-app/sdk/src/data-sources/accessors.ts +0 -133
- package/node_modules/@integration-app/sdk/src/data-sources/api.ts +0 -59
- package/node_modules/@integration-app/sdk/src/data-sources/index.ts +0 -103
- package/node_modules/@integration-app/sdk/src/datetime.ts +0 -16
- package/node_modules/@integration-app/sdk/src/entity-repository.ts +0 -12
- package/node_modules/@integration-app/sdk/src/errors.ts +0 -154
- package/node_modules/@integration-app/sdk/src/field-mappings/accessors.ts +0 -100
- package/node_modules/@integration-app/sdk/src/field-mappings/api.ts +0 -61
- package/node_modules/@integration-app/sdk/src/field-mappings/index.ts +0 -341
- package/node_modules/@integration-app/sdk/src/flow-runs/flow-node-runs.ts +0 -53
- package/node_modules/@integration-app/sdk/src/flow-runs/index.ts +0 -102
- package/node_modules/@integration-app/sdk/src/flows/accessors.ts +0 -246
- package/node_modules/@integration-app/sdk/src/flows/api.ts +0 -71
- package/node_modules/@integration-app/sdk/src/flows/index.ts +0 -233
- package/node_modules/@integration-app/sdk/src/flows/nodes/api-trigger.ts +0 -7
- package/node_modules/@integration-app/sdk/src/flows/nodes/app-event-trigger.ts +0 -7
- package/node_modules/@integration-app/sdk/src/flows/nodes/create-data-link.ts +0 -6
- package/node_modules/@integration-app/sdk/src/flows/nodes/create-data-record.ts +0 -6
- package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-created-trigger.ts +0 -8
- package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-deleted-trigger.ts +0 -8
- package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-updated-trigger.ts +0 -8
- package/node_modules/@integration-app/sdk/src/flows/nodes/delete-data-record.ts +0 -6
- package/node_modules/@integration-app/sdk/src/flows/nodes/filter.ts +0 -6
- package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-link.ts +0 -6
- package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-record-by-id.ts +0 -6
- package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-records.ts +0 -6
- package/node_modules/@integration-app/sdk/src/flows/nodes/http-request.ts +0 -6
- package/node_modules/@integration-app/sdk/src/flows/nodes/index.ts +0 -60
- package/node_modules/@integration-app/sdk/src/flows/nodes/list-data-records.ts +0 -7
- package/node_modules/@integration-app/sdk/src/flows/nodes/schedule-trigger.ts +0 -7
- package/node_modules/@integration-app/sdk/src/flows/nodes/transform-data.ts +0 -7
- package/node_modules/@integration-app/sdk/src/flows/nodes/update-data-record.ts +0 -6
- package/node_modules/@integration-app/sdk/src/flows/utils.test.ts +0 -63
- package/node_modules/@integration-app/sdk/src/flows/utils.ts +0 -110
- package/node_modules/@integration-app/sdk/src/http-requests.ts +0 -41
- package/node_modules/@integration-app/sdk/src/iframe.ts +0 -142
- package/node_modules/@integration-app/sdk/src/index.ts +0 -5
- package/node_modules/@integration-app/sdk/src/integration-elements/index.ts +0 -24
- package/node_modules/@integration-app/sdk/src/integrations/accessors.ts +0 -162
- package/node_modules/@integration-app/sdk/src/integrations/api.ts +0 -13
- package/node_modules/@integration-app/sdk/src/integrations/index.ts +0 -50
- package/node_modules/@integration-app/sdk/src/json-schema/__snapshots__/schema-builder.test.ts.snap +0 -167
- package/node_modules/@integration-app/sdk/src/json-schema/index.ts +0 -251
- package/node_modules/@integration-app/sdk/src/json-schema/json-schema.test.ts +0 -246
- package/node_modules/@integration-app/sdk/src/json-schema/schema-builder.test.ts +0 -396
- package/node_modules/@integration-app/sdk/src/json-schema/schema-builder.ts +0 -258
- package/node_modules/@integration-app/sdk/src/jwt.test.ts +0 -11
- package/node_modules/@integration-app/sdk/src/jwt.ts +0 -40
- package/node_modules/@integration-app/sdk/src/udm/activities.test.ts +0 -43
- package/node_modules/@integration-app/sdk/src/udm/activities.ts +0 -83
- package/node_modules/@integration-app/sdk/src/udm/base.ts +0 -88
- package/node_modules/@integration-app/sdk/src/udm/campaigns.ts +0 -72
- package/node_modules/@integration-app/sdk/src/udm/companies.ts +0 -80
- package/node_modules/@integration-app/sdk/src/udm/contacts.test.ts +0 -147
- package/node_modules/@integration-app/sdk/src/udm/contacts.ts +0 -106
- package/node_modules/@integration-app/sdk/src/udm/deals.ts +0 -90
- package/node_modules/@integration-app/sdk/src/udm/index.ts +0 -28
- package/node_modules/@integration-app/sdk/src/udm/leads.ts +0 -113
- package/node_modules/@integration-app/sdk/src/udm/users.ts +0 -92
- package/node_modules/@integration-app/sdk/src/users/accessors.ts +0 -28
- package/node_modules/@integration-app/sdk/src/users/api.ts +0 -8
- package/node_modules/@integration-app/sdk/src/users/index.ts +0 -5
- package/node_modules/@integration-app/sdk/src/variables.ts +0 -33
- package/node_modules/@integration-app/sdk/src/workspaces/index.ts +0 -5
- package/node_modules/@integration-app/sdk/tsconfig.build.json +0 -10
- package/node_modules/@integration-app/sdk/tsconfig.json +0 -19
- package/node_modules/@integration-app/sdk/udm/activities.d.ts +0 -30
- package/node_modules/@integration-app/sdk/udm/activities.js +0 -70
- package/node_modules/@integration-app/sdk/udm/activities.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/activities.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/udm/activities.test.js +0 -40
- package/node_modules/@integration-app/sdk/udm/activities.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/base.d.ts +0 -27
- package/node_modules/@integration-app/sdk/udm/base.js +0 -62
- package/node_modules/@integration-app/sdk/udm/base.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/campaign-members.d.ts +0 -45
- package/node_modules/@integration-app/sdk/udm/campaign-members.js +0 -99
- package/node_modules/@integration-app/sdk/udm/campaign-members.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/campaigns.d.ts +0 -25
- package/node_modules/@integration-app/sdk/udm/campaigns.js +0 -66
- package/node_modules/@integration-app/sdk/udm/campaigns.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/companies.d.ts +0 -42
- package/node_modules/@integration-app/sdk/udm/companies.js +0 -69
- package/node_modules/@integration-app/sdk/udm/companies.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/contacts.d.ts +0 -49
- package/node_modules/@integration-app/sdk/udm/contacts.js +0 -94
- package/node_modules/@integration-app/sdk/udm/contacts.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/contacts.test.d.ts +0 -1
- package/node_modules/@integration-app/sdk/udm/contacts.test.js +0 -136
- package/node_modules/@integration-app/sdk/udm/contacts.test.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/crm-activities.d.ts +0 -17
- package/node_modules/@integration-app/sdk/udm/crm-activities.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/crm-activity.d.ts +0 -11
- package/node_modules/@integration-app/sdk/udm/crm-activity.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/crm-companies.d.ts +0 -14
- package/node_modules/@integration-app/sdk/udm/crm-companies.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/crm-contact.d.ts +0 -10
- package/node_modules/@integration-app/sdk/udm/crm-contact.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/crm-contacts.d.ts +0 -16
- package/node_modules/@integration-app/sdk/udm/crm-contacts.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/crm-deals.d.ts +0 -15
- package/node_modules/@integration-app/sdk/udm/crm-deals.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/crm-leads.d.ts +0 -16
- package/node_modules/@integration-app/sdk/udm/crm-leads.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/deals.d.ts +0 -26
- package/node_modules/@integration-app/sdk/udm/deals.js +0 -84
- package/node_modules/@integration-app/sdk/udm/deals.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/index.d.ts +0 -11
- package/node_modules/@integration-app/sdk/udm/index.js +0 -31
- package/node_modules/@integration-app/sdk/udm/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/leads.d.ts +0 -52
- package/node_modules/@integration-app/sdk/udm/leads.js +0 -101
- package/node_modules/@integration-app/sdk/udm/leads.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/members.d.ts +0 -45
- package/node_modules/@integration-app/sdk/udm/members.js.map +0 -1
- package/node_modules/@integration-app/sdk/udm/users.d.ts +0 -31
- package/node_modules/@integration-app/sdk/udm/users.js +0 -81
- package/node_modules/@integration-app/sdk/udm/users.js.map +0 -1
- package/node_modules/@integration-app/sdk/users/accessors.d.ts +0 -10
- package/node_modules/@integration-app/sdk/users/accessors.js +0 -21
- package/node_modules/@integration-app/sdk/users/accessors.js.map +0 -1
- package/node_modules/@integration-app/sdk/users/api.d.ts +0 -6
- package/node_modules/@integration-app/sdk/users/api.js +0 -3
- package/node_modules/@integration-app/sdk/users/api.js.map +0 -1
- package/node_modules/@integration-app/sdk/users/index.d.ts +0 -5
- package/node_modules/@integration-app/sdk/users/index.js +0 -3
- package/node_modules/@integration-app/sdk/users/index.js.map +0 -1
- package/node_modules/@integration-app/sdk/users/users.d.ts +0 -5
- package/node_modules/@integration-app/sdk/users/users.js.map +0 -1
- package/node_modules/@integration-app/sdk/variables.d.ts +0 -3
- package/node_modules/@integration-app/sdk/variables.js +0 -30
- package/node_modules/@integration-app/sdk/variables.js.map +0 -1
- package/node_modules/@integration-app/sdk/workspaces/index.d.ts +0 -5
- package/node_modules/@integration-app/sdk/workspaces/index.js +0 -3
- package/node_modules/@integration-app/sdk/workspaces/index.js.map +0 -1
@@ -1,163 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
schemaAllowsCustomValue,
|
3
|
-
schemaIsNumber,
|
4
|
-
schemaIsScalar,
|
5
|
-
} from '../data-schema'
|
6
|
-
|
7
|
-
export const DEFAULT_CONDITION_TYPE_KEY = 'equals'
|
8
|
-
|
9
|
-
export interface DataFilterOperator {
|
10
|
-
type: string
|
11
|
-
name: string
|
12
|
-
operandSchema: any
|
13
|
-
}
|
14
|
-
|
15
|
-
export interface DataFilterOperatorSpec {
|
16
|
-
name: string
|
17
|
-
handler: (fieldValue: any, operand: any) => boolean
|
18
|
-
applicableToSchema: (schema: any) => boolean
|
19
|
-
getOperandSchema: (schema: any) => any
|
20
|
-
}
|
21
|
-
|
22
|
-
export const OPERATORS: Record<string, DataFilterOperatorSpec> = {
|
23
|
-
is: {
|
24
|
-
name: 'is',
|
25
|
-
handler: (value, operand) => value == operand,
|
26
|
-
applicableToSchema: (schema) =>
|
27
|
-
schemaIsScalar(schema) && schema.type !== 'boolean',
|
28
|
-
getOperandSchema: (schema) => schema,
|
29
|
-
},
|
30
|
-
is_not: {
|
31
|
-
name: 'is not',
|
32
|
-
handler: (value, operand) => value != operand,
|
33
|
-
applicableToSchema: (schema) =>
|
34
|
-
schemaIsScalar(schema) && schema.type !== 'boolean',
|
35
|
-
getOperandSchema: (schema) => schema,
|
36
|
-
},
|
37
|
-
is_one_of: {
|
38
|
-
name: 'is one of',
|
39
|
-
handler: (value, operand) =>
|
40
|
-
Array.isArray(operand) && operand.includes(value),
|
41
|
-
applicableToSchema: (schema) =>
|
42
|
-
schemaIsScalar(schema) && schema.type !== 'boolean',
|
43
|
-
getOperandSchema: (schema) => ({ type: 'array', items: schema }),
|
44
|
-
},
|
45
|
-
is_not_one_of: {
|
46
|
-
name: 'is not one of',
|
47
|
-
handler: (value, operand) =>
|
48
|
-
!Array.isArray(operand) || !operand.includes(value),
|
49
|
-
applicableToSchema: (schema) =>
|
50
|
-
schemaIsScalar(schema) && schema.type !== 'boolean',
|
51
|
-
getOperandSchema: (schema) => ({ type: 'array', items: schema }),
|
52
|
-
},
|
53
|
-
is_true: {
|
54
|
-
name: 'is true',
|
55
|
-
handler: (value) => !!value,
|
56
|
-
applicableToSchema: (schema) => schema.type === 'boolean',
|
57
|
-
getOperandSchema: () => null,
|
58
|
-
},
|
59
|
-
is_false: {
|
60
|
-
name: 'is false',
|
61
|
-
handler: (value) => value === false,
|
62
|
-
applicableToSchema: (schema) => schema.type === 'boolean',
|
63
|
-
getOperandSchema: () => null,
|
64
|
-
},
|
65
|
-
contains: {
|
66
|
-
name: 'contains',
|
67
|
-
handler: (value, operand) =>
|
68
|
-
value ? value.toString().includes(operand) : false,
|
69
|
-
applicableToSchema: (schema) =>
|
70
|
-
schema?.type === 'string' && schemaAllowsCustomValue(schema),
|
71
|
-
getOperandSchema: () => ({ type: 'string' }),
|
72
|
-
},
|
73
|
-
does_not_contain: {
|
74
|
-
name: 'does not contain',
|
75
|
-
handler: (value, operand) =>
|
76
|
-
value ? !value.toString().includes(operand) : false,
|
77
|
-
applicableToSchema: (schema) =>
|
78
|
-
schema?.type === 'string' && schemaAllowsCustomValue(schema),
|
79
|
-
getOperandSchema: () => ({ type: 'string' }),
|
80
|
-
},
|
81
|
-
array_includes: {
|
82
|
-
name: 'includes',
|
83
|
-
handler: (value, operand) =>
|
84
|
-
Array.isArray(value) && value.indexOf(operand) !== -1,
|
85
|
-
applicableToSchema: (schema) => schema?.type === 'array' && schema.items,
|
86
|
-
getOperandSchema: (schema) => schema.items,
|
87
|
-
},
|
88
|
-
array_does_not_include: {
|
89
|
-
name: 'does not include',
|
90
|
-
handler: (value, operand) =>
|
91
|
-
!Array.isArray(value) || value.indexOf(operand) === -1,
|
92
|
-
applicableToSchema: (schema) => schema?.type === 'array' && schema.items,
|
93
|
-
getOperandSchema: (schema) => schema.items,
|
94
|
-
},
|
95
|
-
less_than: {
|
96
|
-
name: 'less than',
|
97
|
-
handler: (value, operand) => {
|
98
|
-
return parseFloat(value) === NaN || parseFloat(operand) === NaN
|
99
|
-
? false
|
100
|
-
: parseFloat(value) < parseFloat(operand)
|
101
|
-
},
|
102
|
-
applicableToSchema: (schema) => schemaIsNumber(schema),
|
103
|
-
getOperandSchema: () => ({ type: 'number' }),
|
104
|
-
},
|
105
|
-
less_than_or_equal: {
|
106
|
-
name: 'less than or equal',
|
107
|
-
handler: (value, operand) => {
|
108
|
-
return parseFloat(value) === NaN || parseFloat(operand) === NaN
|
109
|
-
? false
|
110
|
-
: parseFloat(value) <= parseFloat(operand)
|
111
|
-
},
|
112
|
-
applicableToSchema: (schema) => schemaIsNumber(schema),
|
113
|
-
getOperandSchema: () => ({ type: 'number' }),
|
114
|
-
},
|
115
|
-
more_than: {
|
116
|
-
name: 'more than',
|
117
|
-
handler: (value, operand) => {
|
118
|
-
return parseFloat(value) === NaN || parseFloat(operand) === NaN
|
119
|
-
? false
|
120
|
-
: parseFloat(value) > parseFloat(operand)
|
121
|
-
},
|
122
|
-
applicableToSchema: (schema) => schemaIsNumber(schema),
|
123
|
-
getOperandSchema: () => ({ type: 'number' }),
|
124
|
-
},
|
125
|
-
more_than_or_equal: {
|
126
|
-
name: 'more than or equal',
|
127
|
-
handler: (value, operand) => {
|
128
|
-
return parseFloat(value) === NaN || parseFloat(operand) === NaN
|
129
|
-
? false
|
130
|
-
: parseFloat(value) >= parseFloat(operand)
|
131
|
-
},
|
132
|
-
applicableToSchema: (schema) => schemaIsNumber(schema),
|
133
|
-
getOperandSchema: () => ({ type: 'number' }),
|
134
|
-
},
|
135
|
-
is_not_empty: {
|
136
|
-
name: 'is not empty',
|
137
|
-
handler: (value) => {
|
138
|
-
if (Array.isArray(value)) {
|
139
|
-
return value.length > 0
|
140
|
-
} else if (typeof value === 'object') {
|
141
|
-
return value !== null && Object.keys(value).length > 0
|
142
|
-
} else {
|
143
|
-
return value !== undefined && value !== ''
|
144
|
-
}
|
145
|
-
},
|
146
|
-
applicableToSchema: () => true,
|
147
|
-
getOperandSchema: () => null,
|
148
|
-
},
|
149
|
-
is_empty: {
|
150
|
-
name: 'is empty',
|
151
|
-
handler: (value) => {
|
152
|
-
if (Array.isArray(value)) {
|
153
|
-
return value.length === 0
|
154
|
-
} else if (typeof value === 'object') {
|
155
|
-
return value === null || Object.keys(value).length === 0
|
156
|
-
} else {
|
157
|
-
return value === undefined || value === ''
|
158
|
-
}
|
159
|
-
},
|
160
|
-
applicableToSchema: () => true,
|
161
|
-
getOperandSchema: () => null,
|
162
|
-
},
|
163
|
-
}
|
@@ -1,108 +0,0 @@
|
|
1
|
-
import { IntegrationAppClient } from '..'
|
2
|
-
import { DataLink, DataLinkTable, DataLinkTableInstance } from '.'
|
3
|
-
import {
|
4
|
-
CreateDataLinkTableInstanceRequest,
|
5
|
-
CreateDataLinkTableRequest,
|
6
|
-
DataLinkInTableSelector,
|
7
|
-
DataLinkTableInstanceSelector,
|
8
|
-
FindDataLinksInTableQuery,
|
9
|
-
FindDataLinksResponse,
|
10
|
-
FindDataLinkTableInstancesQuery,
|
11
|
-
FindDataLinkTablesQuery,
|
12
|
-
UpdateDataLinkTableInstanceRequest,
|
13
|
-
UpdateDataLinkTableRequest,
|
14
|
-
} from './api'
|
15
|
-
import qs from 'query-string'
|
16
|
-
import {
|
17
|
-
ElementAccessor,
|
18
|
-
ElementInstanceAccessor,
|
19
|
-
ElementInstanceListAccessor,
|
20
|
-
ElementListAccessor,
|
21
|
-
} from '../accessors'
|
22
|
-
|
23
|
-
export class DataLinkTablesAccessor extends ElementListAccessor<
|
24
|
-
DataLinkTable,
|
25
|
-
FindDataLinkTablesQuery,
|
26
|
-
CreateDataLinkTableRequest
|
27
|
-
> {
|
28
|
-
constructor(client: IntegrationAppClient) {
|
29
|
-
super(client, 'data-link-tables')
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
export class DataLinkTableAccessor extends ElementAccessor<
|
34
|
-
DataLinkTable,
|
35
|
-
CreateDataLinkTableRequest,
|
36
|
-
UpdateDataLinkTableRequest
|
37
|
-
> {
|
38
|
-
constructor(client: IntegrationAppClient, idOrKey: string) {
|
39
|
-
super({
|
40
|
-
client,
|
41
|
-
path: 'data-link-tables',
|
42
|
-
idOrKey,
|
43
|
-
})
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
export class DataLinkTableInstancesAccessor extends ElementInstanceListAccessor<
|
48
|
-
DataLinkTableInstance,
|
49
|
-
FindDataLinkTableInstancesQuery
|
50
|
-
> {
|
51
|
-
constructor(client: IntegrationAppClient) {
|
52
|
-
super(client, 'data-link-table-instances')
|
53
|
-
}
|
54
|
-
}
|
55
|
-
|
56
|
-
export class DataLinkTableInstanceAccessor extends ElementInstanceAccessor<
|
57
|
-
DataLinkTableInstance,
|
58
|
-
DataLinkTableInstanceSelector,
|
59
|
-
CreateDataLinkTableInstanceRequest,
|
60
|
-
UpdateDataLinkTableInstanceRequest
|
61
|
-
> {
|
62
|
-
constructor(
|
63
|
-
private client: IntegrationAppClient,
|
64
|
-
selector: string | DataLinkTableInstanceSelector,
|
65
|
-
) {
|
66
|
-
super({
|
67
|
-
client,
|
68
|
-
listPath: 'data-link-table-instances',
|
69
|
-
selectorPath: 'data-link-table-instance',
|
70
|
-
selector,
|
71
|
-
})
|
72
|
-
}
|
73
|
-
|
74
|
-
async findLinks(
|
75
|
-
query: FindDataLinksInTableQuery,
|
76
|
-
): Promise<FindDataLinksResponse> {
|
77
|
-
const id = await this.getId()
|
78
|
-
return this.client.get(
|
79
|
-
'/data-links?' +
|
80
|
-
qs.stringify({
|
81
|
-
...query,
|
82
|
-
dataLinkTableInstanceId: id,
|
83
|
-
}),
|
84
|
-
)
|
85
|
-
}
|
86
|
-
|
87
|
-
async addLink(selector: DataLinkInTableSelector): Promise<DataLink> {
|
88
|
-
const id = await this.getId()
|
89
|
-
return this.client.post(
|
90
|
-
'/data-links?' +
|
91
|
-
qs.stringify({
|
92
|
-
...selector,
|
93
|
-
dataLinkTableInstanceId: id,
|
94
|
-
}),
|
95
|
-
)
|
96
|
-
}
|
97
|
-
|
98
|
-
async removeLink(selector: DataLinkInTableSelector): Promise<DataLink> {
|
99
|
-
const id = await this.getId()
|
100
|
-
return this.client.delete(
|
101
|
-
'/data-links?' +
|
102
|
-
qs.stringify({
|
103
|
-
...selector,
|
104
|
-
dataLinkTableInstanceId: id,
|
105
|
-
}),
|
106
|
-
)
|
107
|
-
}
|
108
|
-
}
|
@@ -1,75 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
DataLink,
|
3
|
-
DataLinkDirection,
|
4
|
-
DataLinkTable,
|
5
|
-
DataLinkTableInstance,
|
6
|
-
} from '.'
|
7
|
-
import { ConnectionSelector } from '../connections/api'
|
8
|
-
import { PaginationQuery, PaginationResponse } from '../entity-repository'
|
9
|
-
|
10
|
-
export type CreateDataLinkTableRequest = Omit<DataLink, 'id' | 'userId'>
|
11
|
-
|
12
|
-
export type UpdateDataLinkTableRequest = CreateDataLinkTableRequest
|
13
|
-
|
14
|
-
export interface FindDataLinkTablesQuery extends PaginationQuery {}
|
15
|
-
|
16
|
-
export type FindDataLinkTablesResponse = PaginationResponse<DataLinkTable>
|
17
|
-
|
18
|
-
export interface FindDataLinkTableInstancesQuery extends PaginationQuery {
|
19
|
-
connectionId?: string
|
20
|
-
integrationId?: string
|
21
|
-
dataLinkTableId?: string
|
22
|
-
}
|
23
|
-
|
24
|
-
export interface FindDataLinkTableInstancesResponse
|
25
|
-
extends PaginationResponse<DataLinkTableInstance> {}
|
26
|
-
|
27
|
-
export interface DataLinkTableInstanceSelector extends ConnectionSelector {
|
28
|
-
dataLinkTableId?: string
|
29
|
-
dataLinkTableKey?: string
|
30
|
-
|
31
|
-
autoCreate?: boolean
|
32
|
-
}
|
33
|
-
|
34
|
-
export interface CreateDataLinkTableInstanceRequest {
|
35
|
-
name?: string
|
36
|
-
}
|
37
|
-
|
38
|
-
export interface UpdateDataLinkTableInstanceRequest
|
39
|
-
extends CreateDataLinkTableInstanceRequest {}
|
40
|
-
|
41
|
-
export interface FindDataLinksInTableQuery extends PaginationQuery {
|
42
|
-
direction?: DataLinkDirection
|
43
|
-
|
44
|
-
appRecordId?: string
|
45
|
-
|
46
|
-
externalRecordId?: string
|
47
|
-
}
|
48
|
-
|
49
|
-
export interface FindDataLinksQuery
|
50
|
-
extends PaginationQuery,
|
51
|
-
FindDataLinksInTableQuery {
|
52
|
-
dataLinkTableInstanceId?: string
|
53
|
-
}
|
54
|
-
|
55
|
-
export interface FindDataLinksResponse extends PaginationResponse<DataLink> {}
|
56
|
-
|
57
|
-
export interface FindDataLinkQuery extends PaginationQuery {
|
58
|
-
dataLinkTableInstanceId: string
|
59
|
-
|
60
|
-
externalRecordId: string
|
61
|
-
|
62
|
-
appRecordId: string
|
63
|
-
|
64
|
-
direction: DataLinkDirection
|
65
|
-
}
|
66
|
-
|
67
|
-
export interface DataLinkInTableSelector {
|
68
|
-
appRecordId: string
|
69
|
-
externalRecordId: string
|
70
|
-
direction: DataLinkDirection
|
71
|
-
}
|
72
|
-
|
73
|
-
export interface DataLinkSelector extends DataLinkInTableSelector {
|
74
|
-
dataLinkTableInstanceId: string
|
75
|
-
}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
import { User } from '../users'
|
2
|
-
import { Connection } from '../connections'
|
3
|
-
import { Integration } from '../integrations'
|
4
|
-
|
5
|
-
export enum DataLinkDirection {
|
6
|
-
IMPORT = 'import',
|
7
|
-
EXPORT = 'export',
|
8
|
-
BOTH = 'both',
|
9
|
-
}
|
10
|
-
|
11
|
-
export interface DataLinkTable {
|
12
|
-
id: string
|
13
|
-
|
14
|
-
key: string
|
15
|
-
|
16
|
-
name: string
|
17
|
-
}
|
18
|
-
|
19
|
-
export interface DataLinkTableInstance {
|
20
|
-
id: string
|
21
|
-
|
22
|
-
dataLinkTableId?: string
|
23
|
-
|
24
|
-
dataLinkTable?: DataLinkTable
|
25
|
-
|
26
|
-
connectionId?: string
|
27
|
-
|
28
|
-
connection?: Connection
|
29
|
-
|
30
|
-
integrationId: string
|
31
|
-
|
32
|
-
integration?: Integration
|
33
|
-
|
34
|
-
userId: string
|
35
|
-
|
36
|
-
user?: User
|
37
|
-
|
38
|
-
name: string
|
39
|
-
}
|
40
|
-
|
41
|
-
export interface DataLink {
|
42
|
-
id: string
|
43
|
-
|
44
|
-
dataLinkTableInstanceId: string
|
45
|
-
|
46
|
-
externalRecordId: string
|
47
|
-
|
48
|
-
appRecordId: string
|
49
|
-
|
50
|
-
direction: DataLinkDirection
|
51
|
-
}
|
52
|
-
|
53
|
-
export interface DataLinkTableConfig {
|
54
|
-
key: string
|
55
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { IntegrationAppClient } from '../client'
|
2
|
-
import { DataLocationSelector } from './api'
|
3
|
-
import qs from 'query-string'
|
4
|
-
|
5
|
-
export class DataLocationAccessor {
|
6
|
-
constructor(
|
7
|
-
private client: IntegrationAppClient,
|
8
|
-
private selector: DataLocationSelector,
|
9
|
-
) {}
|
10
|
-
|
11
|
-
async get() {
|
12
|
-
return this.client.get(this.getPath())
|
13
|
-
}
|
14
|
-
|
15
|
-
async list() {
|
16
|
-
return this.client.get(this.getPath('list'))
|
17
|
-
}
|
18
|
-
|
19
|
-
private getPath(subpath = '') {
|
20
|
-
return `/data-location${subpath ? `/${subpath}` : ''}?${qs.stringify(
|
21
|
-
this.selector,
|
22
|
-
)}`
|
23
|
-
}
|
24
|
-
}
|
@@ -1,209 +0,0 @@
|
|
1
|
-
import urljoin from 'url-join'
|
2
|
-
import { DataCollectionEvent, DataRecord } from '../data-collections'
|
3
|
-
|
4
|
-
export { DataLocationSelector } from './api'
|
5
|
-
|
6
|
-
export enum DataLocationType {
|
7
|
-
directory = 'directory',
|
8
|
-
collection = 'collection',
|
9
|
-
}
|
10
|
-
|
11
|
-
export interface DataLocation {
|
12
|
-
path?: string
|
13
|
-
|
14
|
-
name?: string
|
15
|
-
|
16
|
-
type?: DataLocationType
|
17
|
-
|
18
|
-
isDefault?: boolean
|
19
|
-
|
20
|
-
read?: boolean
|
21
|
-
|
22
|
-
write?: boolean
|
23
|
-
}
|
24
|
-
|
25
|
-
export type DataLocationSpec = DataCollectionSpec | DataDirectorySpec
|
26
|
-
|
27
|
-
export interface DataCollectionSpec {
|
28
|
-
type: DataLocationType.collection
|
29
|
-
|
30
|
-
name: string
|
31
|
-
|
32
|
-
fieldsSchema?: any
|
33
|
-
|
34
|
-
find?: DataCollectionFindSpec
|
35
|
-
|
36
|
-
findById?: DataCollectionFindByIdSpec
|
37
|
-
|
38
|
-
create?: DataCollectionCreateSpec
|
39
|
-
|
40
|
-
update?: DataCollectionUpdateSpec
|
41
|
-
|
42
|
-
delete?: DataCollectionDeleteSpec
|
43
|
-
|
44
|
-
udm?: DataCollectionUdmSpec
|
45
|
-
}
|
46
|
-
|
47
|
-
/**
|
48
|
-
* @deprecated
|
49
|
-
*/
|
50
|
-
export type DataCollection = DataCollectionSpec
|
51
|
-
|
52
|
-
export interface DataDirectorySpec {
|
53
|
-
type: DataLocationType.directory
|
54
|
-
name?: string
|
55
|
-
}
|
56
|
-
|
57
|
-
interface DataCollectionOperationResponse {
|
58
|
-
logs?: any[]
|
59
|
-
}
|
60
|
-
|
61
|
-
export interface DataCollectionFindSpec {
|
62
|
-
queryFields?: string[]
|
63
|
-
}
|
64
|
-
|
65
|
-
export interface DataCollectionFindByIdSpec {}
|
66
|
-
|
67
|
-
export interface DataCollectionCreateSpec {
|
68
|
-
fields?: string[]
|
69
|
-
requiredFields?: string[]
|
70
|
-
excludedFields?: string[]
|
71
|
-
/**
|
72
|
-
* @deprecated
|
73
|
-
*/
|
74
|
-
excludeFields?: string[]
|
75
|
-
}
|
76
|
-
|
77
|
-
export interface DataCollectionUpdateSpec {
|
78
|
-
fields?: string[]
|
79
|
-
excludedFields?: string[]
|
80
|
-
/**
|
81
|
-
* @deprecated
|
82
|
-
*/
|
83
|
-
excludeFields?: string[]
|
84
|
-
}
|
85
|
-
|
86
|
-
export interface DataCollectionDeleteSpec {}
|
87
|
-
|
88
|
-
export type DataCollectionUdmSpec = Record<string, Record<string, any>>
|
89
|
-
|
90
|
-
export interface DataCollectionFindRequest {
|
91
|
-
query?: any
|
92
|
-
cursor?: string
|
93
|
-
udm?: string
|
94
|
-
}
|
95
|
-
|
96
|
-
export interface DataCollectionFindResponse
|
97
|
-
extends DataCollectionOperationResponse {
|
98
|
-
records: DataRecord[]
|
99
|
-
cursor?: string
|
100
|
-
}
|
101
|
-
|
102
|
-
export interface DataCollectionFindByIdRequest {
|
103
|
-
id: string
|
104
|
-
udm?: string
|
105
|
-
}
|
106
|
-
|
107
|
-
export interface DataCollectionFindByIdResponse
|
108
|
-
extends DataCollectionOperationResponse {
|
109
|
-
record: DataRecord
|
110
|
-
}
|
111
|
-
|
112
|
-
export interface DataCollectionCreateRequest {
|
113
|
-
fields: Record<string, any>
|
114
|
-
}
|
115
|
-
|
116
|
-
export interface DataCollectionCreateResponse
|
117
|
-
extends DataCollectionOperationResponse,
|
118
|
-
DataRecord {}
|
119
|
-
|
120
|
-
export interface DataCollectionUpdateRequest {
|
121
|
-
id: string
|
122
|
-
fields: Record<string, any>
|
123
|
-
}
|
124
|
-
|
125
|
-
export interface DataCollectionUpdateResponse
|
126
|
-
extends DataCollectionOperationResponse,
|
127
|
-
DataRecord {}
|
128
|
-
|
129
|
-
export interface DataCollectionDeleteRequest {
|
130
|
-
id: string
|
131
|
-
}
|
132
|
-
|
133
|
-
export interface DataCollectionDeleteResponse
|
134
|
-
extends DataCollectionOperationResponse {}
|
135
|
-
|
136
|
-
export interface DataCollectionSubscribeRequest {
|
137
|
-
events?: {
|
138
|
-
created?: boolean
|
139
|
-
updated?: boolean
|
140
|
-
deleted?: boolean
|
141
|
-
}
|
142
|
-
udm?: string
|
143
|
-
webhookUri: string
|
144
|
-
}
|
145
|
-
|
146
|
-
export interface DataCollectionSubscribeResponse {
|
147
|
-
subscriptionId: string
|
148
|
-
pullIntervalSeconds?: number
|
149
|
-
cursor?: string
|
150
|
-
}
|
151
|
-
|
152
|
-
export interface DataCollectionUpdateSubscriptionRequest
|
153
|
-
extends DataCollectionSubscribeRequest {
|
154
|
-
subscriptionId: string
|
155
|
-
cursor?: string
|
156
|
-
}
|
157
|
-
|
158
|
-
export interface DataCollectionUpdateSubscriptionResponse
|
159
|
-
extends Omit<DataCollectionSubscribeResponse, 'subscriptionId'> {}
|
160
|
-
|
161
|
-
export interface DataCollectionUnsubscribeRequest {
|
162
|
-
subscriptionId: string
|
163
|
-
}
|
164
|
-
|
165
|
-
export interface DataCollectionUnsubscribeResponse {}
|
166
|
-
|
167
|
-
export interface DataCollectionEventsRequest {
|
168
|
-
subscriptionId: string
|
169
|
-
cursor: string
|
170
|
-
}
|
171
|
-
|
172
|
-
export interface DataCollectionEventsResponse {
|
173
|
-
events: DataCollectionEvent[]
|
174
|
-
cursor: string
|
175
|
-
}
|
176
|
-
|
177
|
-
export interface DataEventWebhookPayload {
|
178
|
-
subscriptionId: string
|
179
|
-
events: DataCollectionEvent[]
|
180
|
-
}
|
181
|
-
|
182
|
-
export interface DataCollectionParseUnifiedFieldsRequest {
|
183
|
-
udm: string
|
184
|
-
unifiedFields: Record<string, any>
|
185
|
-
}
|
186
|
-
|
187
|
-
export interface DataCollectionParseUnifiedFieldsResponse {
|
188
|
-
fields: any
|
189
|
-
}
|
190
|
-
|
191
|
-
export interface DataDirectoryListRequest {
|
192
|
-
cursor?: string
|
193
|
-
}
|
194
|
-
|
195
|
-
export interface DataDirectoryListResponse {
|
196
|
-
locations: DataLocationSpec[]
|
197
|
-
cursor?: string
|
198
|
-
}
|
199
|
-
|
200
|
-
export function makeDataLocationOperationPath(
|
201
|
-
collectionPath: string,
|
202
|
-
operation: string,
|
203
|
-
) {
|
204
|
-
const [path, query] = (collectionPath ?? '').split('?')
|
205
|
-
return urljoin(path, operation, query ? `?${query}` : '')
|
206
|
-
}
|
207
|
-
|
208
|
-
// Backward compatibility
|
209
|
-
export const makeCollectionOperationPath = makeDataLocationOperationPath
|