@integration-app/react 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/contexts/integration-app-context.d.ts +2 -4
- package/integrations/index.d.ts +3 -4
- package/package.json +17 -4
- package/node_modules/@compwright/namecase/LICENSE +0 -26
- package/node_modules/@compwright/namecase/README.md +0 -49
- package/node_modules/@compwright/namecase/bin/namecase +0 -28
- package/node_modules/@compwright/namecase/dist/namecase.min.js +0 -4
- package/node_modules/@compwright/namecase/dist/namecase.min.js.map +0 -1
- package/node_modules/@compwright/namecase/package.json +0 -46
- package/node_modules/@compwright/namecase/src/index.js +0 -146
- 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/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/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/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 -30163
- 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/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/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/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/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/case.d.ts +0 -14
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.js +0 -45
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.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/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/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/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/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/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/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/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/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/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/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/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/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/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-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/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/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-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/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-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/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/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/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/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/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-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/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/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/integrations/accessors.d.ts +0 -17
- package/node_modules/@integration-app/sdk/integrations/accessors.js +0 -36
- 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/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/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/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/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 -158
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.ts +0 -53
- 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 -42
- 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/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/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/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/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/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
- package/node_modules/@sinclair/typebox/package.json +0 -40
- package/node_modules/@sinclair/typebox/readme.md +0 -740
- package/node_modules/@sinclair/typebox/typebox.d.ts +0 -351
- package/node_modules/@sinclair/typebox/typebox.js +0 -345
- package/node_modules/@types/node/README.md +0 -16
- package/node_modules/@types/node/assert.d.ts +0 -128
- package/node_modules/@types/node/async_hooks.d.ts +0 -229
- package/node_modules/@types/node/buffer.d.ts +0 -89
- package/node_modules/@types/node/child_process.d.ts +0 -514
- package/node_modules/@types/node/cluster.d.ts +0 -265
- package/node_modules/@types/node/console.d.ts +0 -142
- package/node_modules/@types/node/constants.d.ts +0 -18
- package/node_modules/@types/node/crypto.d.ts +0 -1283
- package/node_modules/@types/node/dgram.d.ts +0 -144
- package/node_modules/@types/node/dns.d.ts +0 -387
- package/node_modules/@types/node/domain.d.ts +0 -27
- package/node_modules/@types/node/events.d.ts +0 -82
- package/node_modules/@types/node/fs/promises.d.ts +0 -572
- package/node_modules/@types/node/fs.d.ts +0 -2281
- package/node_modules/@types/node/globals.d.ts +0 -747
- package/node_modules/@types/node/globals.global.d.ts +0 -1
- package/node_modules/@types/node/http.d.ts +0 -580
- package/node_modules/@types/node/http2.d.ts +0 -962
- package/node_modules/@types/node/https.d.ts +0 -271
- package/node_modules/@types/node/index.d.ts +0 -98
- package/node_modules/@types/node/inspector.d.ts +0 -3051
- package/node_modules/@types/node/module.d.ts +0 -56
- package/node_modules/@types/node/net.d.ts +0 -308
- package/node_modules/@types/node/os.d.ts +0 -243
- package/node_modules/@types/node/package.json +0 -232
- package/node_modules/@types/node/path.d.ts +0 -168
- package/node_modules/@types/node/perf_hooks.d.ts +0 -274
- package/node_modules/@types/node/process.d.ts +0 -413
- package/node_modules/@types/node/punycode.d.ts +0 -78
- package/node_modules/@types/node/querystring.d.ts +0 -31
- package/node_modules/@types/node/readline.d.ts +0 -174
- package/node_modules/@types/node/repl.d.ts +0 -398
- package/node_modules/@types/node/stream.d.ts +0 -359
- package/node_modules/@types/node/string_decoder.d.ts +0 -10
- package/node_modules/@types/node/timers.d.ts +0 -19
- package/node_modules/@types/node/tls.d.ts +0 -784
- package/node_modules/@types/node/trace_events.d.ts +0 -64
- package/node_modules/@types/node/ts4.8/assert.d.ts +0 -128
- package/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -229
- package/node_modules/@types/node/ts4.8/buffer.d.ts +0 -89
- package/node_modules/@types/node/ts4.8/child_process.d.ts +0 -514
- package/node_modules/@types/node/ts4.8/cluster.d.ts +0 -265
- package/node_modules/@types/node/ts4.8/console.d.ts +0 -142
- package/node_modules/@types/node/ts4.8/constants.d.ts +0 -18
- package/node_modules/@types/node/ts4.8/crypto.d.ts +0 -1283
- package/node_modules/@types/node/ts4.8/dgram.d.ts +0 -144
- package/node_modules/@types/node/ts4.8/dns.d.ts +0 -387
- package/node_modules/@types/node/ts4.8/domain.d.ts +0 -27
- package/node_modules/@types/node/ts4.8/events.d.ts +0 -82
- package/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -572
- package/node_modules/@types/node/ts4.8/fs.d.ts +0 -2281
- package/node_modules/@types/node/ts4.8/globals.d.ts +0 -746
- package/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
- package/node_modules/@types/node/ts4.8/http.d.ts +0 -580
- package/node_modules/@types/node/ts4.8/http2.d.ts +0 -962
- package/node_modules/@types/node/ts4.8/https.d.ts +0 -271
- package/node_modules/@types/node/ts4.8/index.d.ts +0 -53
- package/node_modules/@types/node/ts4.8/inspector.d.ts +0 -3051
- package/node_modules/@types/node/ts4.8/module.d.ts +0 -56
- package/node_modules/@types/node/ts4.8/net.d.ts +0 -308
- package/node_modules/@types/node/ts4.8/os.d.ts +0 -243
- package/node_modules/@types/node/ts4.8/path.d.ts +0 -168
- package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -274
- package/node_modules/@types/node/ts4.8/process.d.ts +0 -413
- package/node_modules/@types/node/ts4.8/punycode.d.ts +0 -78
- package/node_modules/@types/node/ts4.8/querystring.d.ts +0 -31
- package/node_modules/@types/node/ts4.8/readline.d.ts +0 -174
- package/node_modules/@types/node/ts4.8/repl.d.ts +0 -398
- package/node_modules/@types/node/ts4.8/stream.d.ts +0 -359
- package/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -10
- package/node_modules/@types/node/ts4.8/timers.d.ts +0 -19
- package/node_modules/@types/node/ts4.8/tls.d.ts +0 -784
- package/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -64
- package/node_modules/@types/node/ts4.8/tty.d.ts +0 -69
- package/node_modules/@types/node/ts4.8/url.d.ts +0 -149
- package/node_modules/@types/node/ts4.8/util.d.ts +0 -216
- package/node_modules/@types/node/ts4.8/v8.d.ts +0 -190
- package/node_modules/@types/node/ts4.8/vm.d.ts +0 -155
- package/node_modules/@types/node/ts4.8/wasi.d.ts +0 -89
- package/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -241
- package/node_modules/@types/node/ts4.8/zlib.d.ts +0 -364
- package/node_modules/@types/node/tty.d.ts +0 -69
- package/node_modules/@types/node/url.d.ts +0 -149
- package/node_modules/@types/node/util.d.ts +0 -216
- package/node_modules/@types/node/v8.d.ts +0 -190
- package/node_modules/@types/node/vm.d.ts +0 -155
- package/node_modules/@types/node/wasi.d.ts +0 -89
- package/node_modules/@types/node/worker_threads.d.ts +0 -241
- package/node_modules/@types/node/zlib.d.ts +0 -364
@@ -1,75 +0,0 @@
|
|
1
|
-
import { PaginationQuery, PaginationResponse } from '../entity-repository'
|
2
|
-
import { HttpRequestSpec } from '../http-requests'
|
3
|
-
import { User } from '../users'
|
4
|
-
|
5
|
-
export interface AppEventType {
|
6
|
-
id: string
|
7
|
-
|
8
|
-
key: string
|
9
|
-
|
10
|
-
name: string
|
11
|
-
|
12
|
-
subscribeRequest?: HttpRequestSpec
|
13
|
-
|
14
|
-
example?: any
|
15
|
-
|
16
|
-
schema?: any
|
17
|
-
|
18
|
-
globalWebhookUri: string
|
19
|
-
|
20
|
-
userIdFormula?: any
|
21
|
-
}
|
22
|
-
|
23
|
-
export interface AppEventSubscription {
|
24
|
-
id: string
|
25
|
-
|
26
|
-
appEventTypeId: string
|
27
|
-
|
28
|
-
appEventType?: AppEventType
|
29
|
-
|
30
|
-
userId: string
|
31
|
-
|
32
|
-
user?: User
|
33
|
-
|
34
|
-
instanceKey?: string
|
35
|
-
|
36
|
-
isSubscribed: boolean
|
37
|
-
|
38
|
-
webhookUri: string
|
39
|
-
|
40
|
-
subscriptionRequest: HttpRequestSpec
|
41
|
-
|
42
|
-
subscriptionResponse?: any
|
43
|
-
}
|
44
|
-
|
45
|
-
export interface AppEvent {
|
46
|
-
id: string
|
47
|
-
|
48
|
-
userId: string
|
49
|
-
|
50
|
-
user?: User
|
51
|
-
|
52
|
-
appEventTypeId: string
|
53
|
-
|
54
|
-
appEventType?: AppEventType
|
55
|
-
|
56
|
-
appEventSubscriptionId: string
|
57
|
-
|
58
|
-
appEventSubscription?: AppEventSubscription
|
59
|
-
|
60
|
-
event: any
|
61
|
-
|
62
|
-
datetime: string
|
63
|
-
|
64
|
-
launchedFlowRunIds: string[]
|
65
|
-
}
|
66
|
-
|
67
|
-
export interface FindAppEventsQuery extends PaginationQuery {
|
68
|
-
userId?: string
|
69
|
-
appEventId?: string
|
70
|
-
appEventInstanceId?: string
|
71
|
-
startDatetime?: string
|
72
|
-
endDatetime?: string
|
73
|
-
}
|
74
|
-
|
75
|
-
export interface FindAppEventsResponse extends PaginationResponse<AppEvent> {}
|
@@ -1,417 +0,0 @@
|
|
1
|
-
import Pusher, { Channel } from 'pusher-js'
|
2
|
-
import Axios, { AxiosError, AxiosRequestConfig } from 'axios'
|
3
|
-
import _ from 'lodash'
|
4
|
-
import {
|
5
|
-
ConnectionAccessor,
|
6
|
-
ConnectionsAccessor,
|
7
|
-
} from './connections/accessors'
|
8
|
-
import {
|
9
|
-
FlowInstanceAccessor,
|
10
|
-
FlowAccessor,
|
11
|
-
FlowInstancesAccessor,
|
12
|
-
FlowsAccessor,
|
13
|
-
} from './flows/accessors'
|
14
|
-
import { getErrorFromData } from './errors'
|
15
|
-
import { isJWT } from './jwt'
|
16
|
-
import { FlowRunAccessor, FlowRunsAccessor } from './flow-runs'
|
17
|
-
import {
|
18
|
-
DataLinkTableInstanceAccessor,
|
19
|
-
DataLinkTableAccessor,
|
20
|
-
DataLinkTableInstancesAccessor,
|
21
|
-
DataLinkTablesAccessor,
|
22
|
-
} from './data-links/accessors'
|
23
|
-
import {
|
24
|
-
IntegrationsAccessor,
|
25
|
-
IntegrationAccessor,
|
26
|
-
} from './integrations/accessors'
|
27
|
-
import { ConnectionSelector } from './connections/api'
|
28
|
-
import {
|
29
|
-
FieldMappingAccessor,
|
30
|
-
FieldMappingInstanceAccessor,
|
31
|
-
FieldMappingsAccessor,
|
32
|
-
FieldMappingInstancesAccessor,
|
33
|
-
} from './field-mappings/accessors'
|
34
|
-
import {
|
35
|
-
DataSourcesAccessor,
|
36
|
-
DataSourceAccessor,
|
37
|
-
DataSourceInstancesAccessor,
|
38
|
-
DataSourceInstanceAccessor,
|
39
|
-
} from './data-sources/accessors'
|
40
|
-
import { FlowInstanceSelector } from './flows/api'
|
41
|
-
import { FieldMappingInstanceSelector } from './field-mappings/api'
|
42
|
-
import { DataSourceInstanceSelector } from './data-sources/api'
|
43
|
-
import { DataLinkTableInstanceSelector } from './data-links/api'
|
44
|
-
import {
|
45
|
-
AppEventSubscriptionAccessor,
|
46
|
-
AppEventSubscriptionsAccessor,
|
47
|
-
AppEventTypeAccessor,
|
48
|
-
AppEventTypesAccessor,
|
49
|
-
} from './app-events/accessors'
|
50
|
-
import { AppEventSubscriptionSelector } from './app-events/api'
|
51
|
-
import {
|
52
|
-
AppDataCollectionsAccessor,
|
53
|
-
AppDataCollectionAccessor,
|
54
|
-
AppDataCollectionInstancesAccessor,
|
55
|
-
AppDataCollectionInstanceAccessor,
|
56
|
-
} from './app-data-collections/accessors'
|
57
|
-
import { AppDataCollectionInstanceSelector } from './app-data-collections/api'
|
58
|
-
import {
|
59
|
-
AppDataSchemasAccessor,
|
60
|
-
AppDataSchemaAccessor,
|
61
|
-
AppDataSchemaInstancesAccessor,
|
62
|
-
} from './app-data-schemas/accessors'
|
63
|
-
import { SelfAccessor } from './auth/accessors'
|
64
|
-
import { DataLocationSelector } from './data-locations/api'
|
65
|
-
import { DataLocationAccessor } from './data-locations/accessors'
|
66
|
-
|
67
|
-
const DEFAULT_API_URI = 'https://engine-api.integration.app'
|
68
|
-
const DEFAULT_UI_URI = 'https://ui.integration.app'
|
69
|
-
|
70
|
-
export class IntegrationAppClient {
|
71
|
-
private apiUri?: string
|
72
|
-
private uiUri?: string
|
73
|
-
private token: string
|
74
|
-
private pusher: Pusher | undefined
|
75
|
-
private pusherChannels: Record<string, Channel> = {}
|
76
|
-
|
77
|
-
constructor(options: IntegrationAppClientOptions) {
|
78
|
-
this.init(options)
|
79
|
-
}
|
80
|
-
|
81
|
-
public async get(uri: string, queryParams?: Record<string, any>) {
|
82
|
-
if (queryParams) {
|
83
|
-
uri += `?${new URLSearchParams(queryParams).toString()}`
|
84
|
-
}
|
85
|
-
return this.makeApiRequest('GET', { url: uri })
|
86
|
-
}
|
87
|
-
|
88
|
-
public async post(uri: string, data?: any) {
|
89
|
-
return this.makeApiRequest('POST', { url: uri, data })
|
90
|
-
}
|
91
|
-
|
92
|
-
public async put(uri: string, data?: any) {
|
93
|
-
return this.makeApiRequest('PUT', { url: uri, data })
|
94
|
-
}
|
95
|
-
|
96
|
-
public async patch(uri: string, data?: any) {
|
97
|
-
return this.makeApiRequest('PATCH', { url: uri, data })
|
98
|
-
}
|
99
|
-
|
100
|
-
public async delete(uri: string) {
|
101
|
-
return this.makeApiRequest('DELETE', { url: uri })
|
102
|
-
}
|
103
|
-
|
104
|
-
get self(): SelfAccessor {
|
105
|
-
return new SelfAccessor(this)
|
106
|
-
}
|
107
|
-
|
108
|
-
get flows(): FlowsAccessor {
|
109
|
-
return new FlowsAccessor(this)
|
110
|
-
}
|
111
|
-
|
112
|
-
flow(keyOrId: string): FlowAccessor {
|
113
|
-
return new FlowAccessor(this, keyOrId)
|
114
|
-
}
|
115
|
-
|
116
|
-
get flowInstances(): FlowInstancesAccessor {
|
117
|
-
return new FlowInstancesAccessor(this)
|
118
|
-
}
|
119
|
-
|
120
|
-
flowInstance(selector: string | FlowInstanceSelector): FlowInstanceAccessor {
|
121
|
-
return new FlowInstanceAccessor(this, selector)
|
122
|
-
}
|
123
|
-
|
124
|
-
get dataSources(): DataSourcesAccessor {
|
125
|
-
return new DataSourcesAccessor(this)
|
126
|
-
}
|
127
|
-
|
128
|
-
dataSource(idOrKey: string): DataSourceAccessor {
|
129
|
-
return new DataSourceAccessor(this, idOrKey)
|
130
|
-
}
|
131
|
-
|
132
|
-
get dataSourceInstances(): DataSourceInstancesAccessor {
|
133
|
-
return new DataSourceInstancesAccessor(this)
|
134
|
-
}
|
135
|
-
|
136
|
-
dataSourceInstance(
|
137
|
-
selector: string | DataSourceInstanceSelector,
|
138
|
-
): DataSourceInstanceAccessor {
|
139
|
-
return new DataSourceInstanceAccessor(this, selector)
|
140
|
-
}
|
141
|
-
|
142
|
-
get fieldMappings(): FieldMappingsAccessor {
|
143
|
-
return new FieldMappingsAccessor(this)
|
144
|
-
}
|
145
|
-
|
146
|
-
fieldMapping(idOrKey: string): FieldMappingAccessor {
|
147
|
-
return new FieldMappingAccessor(this, idOrKey)
|
148
|
-
}
|
149
|
-
|
150
|
-
get fieldMappingInstances(): FieldMappingInstancesAccessor {
|
151
|
-
return new FieldMappingInstancesAccessor(this)
|
152
|
-
}
|
153
|
-
|
154
|
-
fieldMappingInstance(
|
155
|
-
selector: string | FieldMappingInstanceSelector,
|
156
|
-
): FieldMappingInstanceAccessor {
|
157
|
-
return new FieldMappingInstanceAccessor(this, selector)
|
158
|
-
}
|
159
|
-
|
160
|
-
get dataLinkTables(): DataLinkTablesAccessor {
|
161
|
-
return new DataLinkTablesAccessor(this)
|
162
|
-
}
|
163
|
-
|
164
|
-
dataLinkTable(idOrKey: string): DataLinkTableAccessor {
|
165
|
-
return new DataLinkTableAccessor(this, idOrKey)
|
166
|
-
}
|
167
|
-
|
168
|
-
get dataLinkTableInstances(): DataLinkTableInstancesAccessor {
|
169
|
-
return new DataLinkTableInstancesAccessor(this)
|
170
|
-
}
|
171
|
-
|
172
|
-
dataLinkTableInstance(
|
173
|
-
selector: string | DataLinkTableInstanceSelector,
|
174
|
-
): DataLinkTableInstanceAccessor {
|
175
|
-
return new DataLinkTableInstanceAccessor(this, selector)
|
176
|
-
}
|
177
|
-
|
178
|
-
get integrations(): IntegrationsAccessor {
|
179
|
-
return new IntegrationsAccessor(this)
|
180
|
-
}
|
181
|
-
|
182
|
-
integration(identifier: string): IntegrationAccessor {
|
183
|
-
return new IntegrationAccessor(this, identifier)
|
184
|
-
}
|
185
|
-
|
186
|
-
get connections(): ConnectionsAccessor {
|
187
|
-
return new ConnectionsAccessor(this)
|
188
|
-
}
|
189
|
-
|
190
|
-
connection(selector: string | ConnectionSelector): ConnectionAccessor {
|
191
|
-
return new ConnectionAccessor(this, selector)
|
192
|
-
}
|
193
|
-
|
194
|
-
dataLocation(selector: DataLocationSelector): DataLocationAccessor {
|
195
|
-
return new DataLocationAccessor(this, selector)
|
196
|
-
}
|
197
|
-
|
198
|
-
get appEventTypes(): AppEventTypesAccessor {
|
199
|
-
return new AppEventTypesAccessor(this)
|
200
|
-
}
|
201
|
-
|
202
|
-
appEventType(idOrKey: string): AppEventTypeAccessor {
|
203
|
-
return new AppEventTypeAccessor(this, idOrKey)
|
204
|
-
}
|
205
|
-
|
206
|
-
get appEventSubscriptions(): AppEventSubscriptionsAccessor {
|
207
|
-
return new AppEventSubscriptionsAccessor(this)
|
208
|
-
}
|
209
|
-
|
210
|
-
appEventSubscription(
|
211
|
-
selector: string | AppEventSubscriptionSelector,
|
212
|
-
): AppEventSubscriptionAccessor {
|
213
|
-
return new AppEventSubscriptionAccessor(this, selector)
|
214
|
-
}
|
215
|
-
|
216
|
-
get flowRuns(): FlowRunsAccessor {
|
217
|
-
return new FlowRunsAccessor(this)
|
218
|
-
}
|
219
|
-
|
220
|
-
flowRun(id: string): FlowRunAccessor {
|
221
|
-
return new FlowRunAccessor(this, id)
|
222
|
-
}
|
223
|
-
|
224
|
-
get appDataCollections(): AppDataCollectionsAccessor {
|
225
|
-
return new AppDataCollectionsAccessor(this)
|
226
|
-
}
|
227
|
-
|
228
|
-
appDataCollection(idOrKey: string): AppDataCollectionAccessor {
|
229
|
-
return new AppDataCollectionAccessor(this, idOrKey)
|
230
|
-
}
|
231
|
-
|
232
|
-
get appDataCollectionInstances(): AppDataCollectionInstancesAccessor {
|
233
|
-
return new AppDataCollectionInstancesAccessor(this)
|
234
|
-
}
|
235
|
-
|
236
|
-
appDataCollectionInstance(
|
237
|
-
selector: string | AppDataCollectionInstanceSelector,
|
238
|
-
): AppDataCollectionInstanceAccessor {
|
239
|
-
return new AppDataCollectionInstanceAccessor(this, selector)
|
240
|
-
}
|
241
|
-
|
242
|
-
get appDataSchemas(): AppDataSchemasAccessor {
|
243
|
-
return new AppDataSchemasAccessor(this)
|
244
|
-
}
|
245
|
-
|
246
|
-
appDataSchema(idOrKey: string): AppDataSchemaAccessor {
|
247
|
-
return new AppDataSchemaAccessor(this, idOrKey)
|
248
|
-
}
|
249
|
-
|
250
|
-
get appDataSchemaInstances(): AppDataSchemaInstancesAccessor {
|
251
|
-
return new AppDataSchemaInstancesAccessor(this)
|
252
|
-
}
|
253
|
-
|
254
|
-
appDataSchemaInstance(
|
255
|
-
selector: string | AppDataCollectionInstanceSelector,
|
256
|
-
): AppDataCollectionInstanceAccessor {
|
257
|
-
return new AppDataCollectionInstanceAccessor(this, selector)
|
258
|
-
}
|
259
|
-
|
260
|
-
public init(options: IntegrationAppClientOptions) {
|
261
|
-
const token = options.token ?? options.accessToken
|
262
|
-
if (token !== undefined && !isJWT(token))
|
263
|
-
throw new Error('Access token should be a valid JWT token')
|
264
|
-
|
265
|
-
this.apiUri = options.apiUri || DEFAULT_API_URI
|
266
|
-
this.uiUri = options.uiUri || DEFAULT_UI_URI
|
267
|
-
this.token = token
|
268
|
-
}
|
269
|
-
|
270
|
-
public async subscribeToChannel(
|
271
|
-
channelKey: string,
|
272
|
-
options: SubscribeOptions,
|
273
|
-
): Promise<void> {
|
274
|
-
if (!this.pusherChannels[channelKey]) {
|
275
|
-
const pusher = await this.getPusherInstance()
|
276
|
-
const newChannel = pusher.subscribe(channelKey)
|
277
|
-
this.pusherChannels[channelKey] = newChannel
|
278
|
-
}
|
279
|
-
const channel = this.pusherChannels[channelKey]
|
280
|
-
if (channel.subscribed) {
|
281
|
-
options.onSubscribe && options.onSubscribe()
|
282
|
-
} else {
|
283
|
-
channel.bind(
|
284
|
-
'pusher:subscription_succeeded',
|
285
|
-
() => options.onSubscribe && options.onSubscribe(),
|
286
|
-
)
|
287
|
-
}
|
288
|
-
if (options.onUpdate) {
|
289
|
-
channel.bind('updated', options.onUpdate)
|
290
|
-
}
|
291
|
-
}
|
292
|
-
|
293
|
-
public async unsubscribeFromChannel(channelKey: string): Promise<void> {
|
294
|
-
if (this.pusherChannels[channelKey]) {
|
295
|
-
const pusher = await this.getPusherInstance()
|
296
|
-
pusher.unsubscribe(channelKey)
|
297
|
-
delete this.pusherChannels[channelKey]
|
298
|
-
}
|
299
|
-
}
|
300
|
-
|
301
|
-
public getEmbedUri(page: string, params?: any) {
|
302
|
-
const embedUrl = new URL(`${this.uiUri}/embed/${page}`)
|
303
|
-
|
304
|
-
if (this.token) {
|
305
|
-
embedUrl.searchParams.set('token', this.token)
|
306
|
-
}
|
307
|
-
|
308
|
-
if (params) {
|
309
|
-
for (const [key, value] of Object.entries(params)) {
|
310
|
-
embedUrl.searchParams.set(key, value as string)
|
311
|
-
}
|
312
|
-
}
|
313
|
-
|
314
|
-
return embedUrl.href
|
315
|
-
}
|
316
|
-
|
317
|
-
public async getPusherInstance(): Promise<Pusher> {
|
318
|
-
if (!this.pusher) {
|
319
|
-
const { key, cluster } = await this.get('pusher/config')
|
320
|
-
this.pusher = new Pusher(key, {
|
321
|
-
cluster: cluster,
|
322
|
-
authEndpoint: this.apiUri + '/pusher/auth',
|
323
|
-
auth: { headers: { Authorization: `Bearer ${this.token}` } },
|
324
|
-
})
|
325
|
-
}
|
326
|
-
return this.pusher
|
327
|
-
}
|
328
|
-
|
329
|
-
public async connectionRequest(
|
330
|
-
connectionId: string,
|
331
|
-
uri: string,
|
332
|
-
data?: any,
|
333
|
-
): Promise<any> {
|
334
|
-
return this.post(`connections/${connectionId}/execute-request`, {
|
335
|
-
key: uri,
|
336
|
-
payload: data,
|
337
|
-
})
|
338
|
-
}
|
339
|
-
|
340
|
-
private handleRequestError(err) {
|
341
|
-
if (Axios.isAxiosError(err) && err.response.data?.type) {
|
342
|
-
console.error(
|
343
|
-
`Error type: ${err.response.data.type}. ${_.chain(err.response.data)
|
344
|
-
.omit(['type'])
|
345
|
-
.keys()
|
346
|
-
.map(
|
347
|
-
(k) =>
|
348
|
-
`${_.capitalize(k)}: ${(err as AxiosError).response.data[k]}`,
|
349
|
-
)
|
350
|
-
.join('. ')
|
351
|
-
.value()}`,
|
352
|
-
)
|
353
|
-
throw getErrorFromData(err.response.data)
|
354
|
-
}
|
355
|
-
throw err
|
356
|
-
}
|
357
|
-
|
358
|
-
private async makeApiRequest(
|
359
|
-
method: HttpMethod,
|
360
|
-
params: Partial<AxiosRequestConfig> = {},
|
361
|
-
) {
|
362
|
-
params.method = method
|
363
|
-
params.baseURL = this.apiUri
|
364
|
-
params.headers = {
|
365
|
-
...(params.headers || {}),
|
366
|
-
Authorization: `Bearer ${this.token}`,
|
367
|
-
}
|
368
|
-
let response
|
369
|
-
try {
|
370
|
-
response = await Axios.request(params)
|
371
|
-
} catch (err) {
|
372
|
-
this.handleRequestError(err)
|
373
|
-
}
|
374
|
-
return response.data
|
375
|
-
}
|
376
|
-
}
|
377
|
-
|
378
|
-
export interface NewImportOptions {
|
379
|
-
schema: any
|
380
|
-
onData: (...args: any) => void
|
381
|
-
onClose?: (...args: any) => void
|
382
|
-
}
|
383
|
-
|
384
|
-
export interface OpenFlowConfigurationOptions {
|
385
|
-
onClose?: (...args: any) => void
|
386
|
-
}
|
387
|
-
|
388
|
-
interface ConnectionOptions {
|
389
|
-
onSuccess?: (connection: any) => void
|
390
|
-
onClose?: () => void
|
391
|
-
}
|
392
|
-
|
393
|
-
export interface NewConnectionOptions extends ConnectionOptions {
|
394
|
-
integrationKey: string
|
395
|
-
connectorKey: string
|
396
|
-
}
|
397
|
-
|
398
|
-
export interface RefreshConnectionOptions extends ConnectionOptions {
|
399
|
-
connectionId: string
|
400
|
-
}
|
401
|
-
|
402
|
-
export interface IntegrationAppClientOptions {
|
403
|
-
token?: string
|
404
|
-
apiUri?: string
|
405
|
-
uiUri?: string
|
406
|
-
/**
|
407
|
-
* @deprecated
|
408
|
-
*/
|
409
|
-
accessToken?: string
|
410
|
-
}
|
411
|
-
|
412
|
-
export interface SubscribeOptions {
|
413
|
-
onSubscribe?: () => void
|
414
|
-
onUpdate?: (update?: any) => void
|
415
|
-
}
|
416
|
-
|
417
|
-
type HttpMethod = 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH'
|
@@ -1,58 +0,0 @@
|
|
1
|
-
import { IntegrationAppClient } from '..'
|
2
|
-
import { Connection } from '.'
|
3
|
-
import {
|
4
|
-
ConnectionSelector,
|
5
|
-
CreateConnectionRequest,
|
6
|
-
FindConnectionsQuery,
|
7
|
-
UpdateConnectionRequest,
|
8
|
-
} from './api'
|
9
|
-
|
10
|
-
import {
|
11
|
-
ElementInstanceListAccessor,
|
12
|
-
ElementInstanceAccessor,
|
13
|
-
} from '../accessors'
|
14
|
-
import { openIframe } from '../iframe'
|
15
|
-
export class ConnectionsAccessor extends ElementInstanceListAccessor<
|
16
|
-
Connection,
|
17
|
-
FindConnectionsQuery
|
18
|
-
> {
|
19
|
-
constructor(client: IntegrationAppClient) {
|
20
|
-
super(client, 'connections')
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
export class ConnectionAccessor extends ElementInstanceAccessor<
|
25
|
-
Connection,
|
26
|
-
ConnectionSelector,
|
27
|
-
CreateConnectionRequest,
|
28
|
-
UpdateConnectionRequest
|
29
|
-
> {
|
30
|
-
constructor(
|
31
|
-
private client: IntegrationAppClient,
|
32
|
-
selector: string | ConnectionSelector,
|
33
|
-
) {
|
34
|
-
super({
|
35
|
-
client,
|
36
|
-
listPath: 'connections',
|
37
|
-
selectorPath: 'connection',
|
38
|
-
selector,
|
39
|
-
})
|
40
|
-
}
|
41
|
-
|
42
|
-
async request(path): Promise<any> {
|
43
|
-
const id = await this.getId()
|
44
|
-
const pathWithoutSlash = path.startsWith('/') ? path.slice(1) : path
|
45
|
-
return this.client.post(`/connections/${id}/api/${pathWithoutSlash}`)
|
46
|
-
}
|
47
|
-
|
48
|
-
async refresh(): Promise<void> {
|
49
|
-
const id = await this.getId()
|
50
|
-
const uri = this.client.getEmbedUri(`/connections/${id}/refresh`)
|
51
|
-
return new Promise<void>((resolve) => {
|
52
|
-
openIframe(uri, {
|
53
|
-
onClose: () => resolve(null),
|
54
|
-
onSuccess: (connection) => resolve(connection),
|
55
|
-
})
|
56
|
-
})
|
57
|
-
}
|
58
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { PaginationQuery, PaginationResponse } from '../entity-repository'
|
2
|
-
import { Connection } from '.'
|
3
|
-
import { IntegrationSelector } from '../integrations/api'
|
4
|
-
|
5
|
-
export class FindConnectionsQuery extends PaginationQuery {
|
6
|
-
integrationKey?: string
|
7
|
-
includeArchived?: boolean
|
8
|
-
/**
|
9
|
-
* @deprecated - replaced with integrationKey
|
10
|
-
*/
|
11
|
-
connectorKey?: string
|
12
|
-
}
|
13
|
-
|
14
|
-
export class CreateConnectionRequest {
|
15
|
-
name: string
|
16
|
-
|
17
|
-
integrationId: string
|
18
|
-
}
|
19
|
-
|
20
|
-
export class UpdateConnectionRequest {
|
21
|
-
name?: string
|
22
|
-
}
|
23
|
-
|
24
|
-
export class FindConnectionsResponse extends PaginationResponse<Connection> {}
|
25
|
-
|
26
|
-
export interface ConnectionSelector extends IntegrationSelector {
|
27
|
-
connectionId?: string
|
28
|
-
}
|
@@ -1,70 +0,0 @@
|
|
1
|
-
import { User } from '../users'
|
2
|
-
import { ConnectionMode, Integration } from '../integrations'
|
3
|
-
import { DataLocationSpec } from '../data-locations'
|
4
|
-
|
5
|
-
export class Connection {
|
6
|
-
/**
|
7
|
-
* Unique connection id
|
8
|
-
*/
|
9
|
-
id: string
|
10
|
-
|
11
|
-
/**
|
12
|
-
* User-readable name of the connection
|
13
|
-
*/
|
14
|
-
name: string
|
15
|
-
|
16
|
-
userId: string
|
17
|
-
|
18
|
-
user?: User
|
19
|
-
|
20
|
-
isDefunct?: boolean
|
21
|
-
|
22
|
-
/**
|
23
|
-
* Id of an integration the connection is created with
|
24
|
-
*/
|
25
|
-
integrationId: string
|
26
|
-
|
27
|
-
integration?: Integration
|
28
|
-
|
29
|
-
createdAt: string
|
30
|
-
|
31
|
-
updatedAt: string
|
32
|
-
|
33
|
-
archivedAt?: string
|
34
|
-
}
|
35
|
-
|
36
|
-
export interface ConnectionSpec {
|
37
|
-
name: string
|
38
|
-
|
39
|
-
logoUri: string
|
40
|
-
|
41
|
-
auth: {
|
42
|
-
authorizeUri: string
|
43
|
-
tokenUri: string
|
44
|
-
}
|
45
|
-
|
46
|
-
ui?: {
|
47
|
-
description: string
|
48
|
-
schema: any
|
49
|
-
helpUri?: string
|
50
|
-
test: boolean
|
51
|
-
}
|
52
|
-
|
53
|
-
parametersSchema?: any
|
54
|
-
|
55
|
-
connectionMode?: ConnectionMode
|
56
|
-
|
57
|
-
data?: ConnectionDataSpec
|
58
|
-
}
|
59
|
-
|
60
|
-
export class ConnectionSpec {
|
61
|
-
constructor(opts: ConnectionSpec) {
|
62
|
-
Object.assign(this, opts)
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
export interface ConnectionDataSpec {
|
67
|
-
root: DataLocationSpec
|
68
|
-
|
69
|
-
[key: string]: DataLocationSpec
|
70
|
-
}
|