@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,102 +0,0 @@
|
|
1
|
-
import { ErrorData } from '../errors'
|
2
|
-
import { PaginationResponse, PaginationQuery } from '../entity-repository'
|
3
|
-
import { FlowNodeRun } from './flow-node-runs'
|
4
|
-
import { IntegrationAppClient } from '../client'
|
5
|
-
import { User } from '../users'
|
6
|
-
import { FlowInstance } from '../flows'
|
7
|
-
import { Connection } from '../connections'
|
8
|
-
import { Integration } from '../integrations'
|
9
|
-
|
10
|
-
/**
|
11
|
-
* Prefix for the realtime updates channel.
|
12
|
-
*/
|
13
|
-
export const FLOW_RUN_CHANNEL_PREFIX = 'private-flow-runs-'
|
14
|
-
|
15
|
-
export enum FlowRunState {
|
16
|
-
RUNNING = 'running',
|
17
|
-
COMPLETED = 'completed',
|
18
|
-
FAILED = 'failed',
|
19
|
-
}
|
20
|
-
|
21
|
-
export interface FlowRun {
|
22
|
-
id: string
|
23
|
-
|
24
|
-
flowInstanceId: string
|
25
|
-
|
26
|
-
flowInstance?: FlowInstance
|
27
|
-
|
28
|
-
connectionId?: string
|
29
|
-
|
30
|
-
connection?: Connection
|
31
|
-
|
32
|
-
integrationId?: string
|
33
|
-
|
34
|
-
integration?: Integration
|
35
|
-
|
36
|
-
startNodeKey: string
|
37
|
-
|
38
|
-
userId: string
|
39
|
-
|
40
|
-
user?: User
|
41
|
-
|
42
|
-
flowBlueprintKey?: string
|
43
|
-
|
44
|
-
input?: any
|
45
|
-
|
46
|
-
state: FlowRunState
|
47
|
-
|
48
|
-
startTime: Date
|
49
|
-
|
50
|
-
endTime?: Date
|
51
|
-
|
52
|
-
errors?: ErrorData[]
|
53
|
-
|
54
|
-
nodeRuns?: FlowNodeRun[]
|
55
|
-
}
|
56
|
-
|
57
|
-
export interface CreateFlowRunRequest {
|
58
|
-
flowInstanceId: string
|
59
|
-
|
60
|
-
nodeKey?: string
|
61
|
-
|
62
|
-
input?: any
|
63
|
-
}
|
64
|
-
|
65
|
-
export class FlowRunsQuery extends PaginationQuery {
|
66
|
-
flowInstanceId?: string
|
67
|
-
flowBlueprintKey?: string
|
68
|
-
userId?: string
|
69
|
-
}
|
70
|
-
|
71
|
-
export class FindFlowRunsResponse extends PaginationResponse<FlowRun> {}
|
72
|
-
|
73
|
-
export class FlowRunsAccessor {
|
74
|
-
constructor(private readonly client: IntegrationAppClient) {}
|
75
|
-
|
76
|
-
async find(query: FlowRunsQuery): Promise<FindFlowRunsResponse> {
|
77
|
-
return this.client.get('/flow-runs', query)
|
78
|
-
}
|
79
|
-
|
80
|
-
async create(request: CreateFlowRunRequest): Promise<FlowRun> {
|
81
|
-
return this.client.post('/flow-runs', request)
|
82
|
-
}
|
83
|
-
}
|
84
|
-
|
85
|
-
export class FlowRunAccessor {
|
86
|
-
private baseUri: string
|
87
|
-
|
88
|
-
constructor(
|
89
|
-
private readonly client: IntegrationAppClient,
|
90
|
-
public id: string,
|
91
|
-
) {
|
92
|
-
this.baseUri = `/flow-runs/${id}`
|
93
|
-
}
|
94
|
-
|
95
|
-
async get(): Promise<FlowRun> {
|
96
|
-
return this.client.get(this.baseUri)
|
97
|
-
}
|
98
|
-
|
99
|
-
async getOutput(): Promise<any> {
|
100
|
-
return this.client.get(`${this.baseUri}/output`)
|
101
|
-
}
|
102
|
-
}
|
@@ -1,246 +0,0 @@
|
|
1
|
-
import { Channel } from 'pusher-js'
|
2
|
-
import { IntegrationAppClient } from '..'
|
3
|
-
import { SubscribeOptions } from '../client'
|
4
|
-
import { FlowRun, FLOW_RUN_CHANNEL_PREFIX, FlowRunState } from '../flow-runs'
|
5
|
-
import { OpenConfigurationOptions, openIframe } from '../iframe'
|
6
|
-
import {
|
7
|
-
FlowInstance,
|
8
|
-
FLOW_CHANNEL_PREFIX,
|
9
|
-
FLOW_INSTANCE_CHANNEL_PREFIX,
|
10
|
-
Flow,
|
11
|
-
} from '.'
|
12
|
-
import {
|
13
|
-
CreateFlowInstanceRequest,
|
14
|
-
CreateFlowRequest,
|
15
|
-
FindFlowInstancesQuery,
|
16
|
-
FindFlowsRequest,
|
17
|
-
FlowInstanceSelector,
|
18
|
-
RunFlowOptions,
|
19
|
-
UpdateFlowInstanceRequest,
|
20
|
-
UpdateFlowRequest,
|
21
|
-
} from './api'
|
22
|
-
import qs from 'query-string'
|
23
|
-
import {
|
24
|
-
ElementAccessor,
|
25
|
-
ElementInstanceAccessor,
|
26
|
-
ElementInstanceListAccessor,
|
27
|
-
ElementListAccessor,
|
28
|
-
} from '../accessors'
|
29
|
-
|
30
|
-
const MAX_POLLING_ERRORS = 10
|
31
|
-
|
32
|
-
export interface OpenFlowInstanceConfigurationOptions
|
33
|
-
extends OpenConfigurationOptions {
|
34
|
-
nodeKey?: string
|
35
|
-
}
|
36
|
-
|
37
|
-
export class FlowsAccessor extends ElementListAccessor<
|
38
|
-
Flow,
|
39
|
-
FindFlowsRequest,
|
40
|
-
CreateFlowRequest
|
41
|
-
> {
|
42
|
-
constructor(client: IntegrationAppClient) {
|
43
|
-
super(client, 'flows')
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
export class FlowAccessor extends ElementAccessor<
|
48
|
-
Flow,
|
49
|
-
CreateFlowRequest,
|
50
|
-
UpdateFlowRequest
|
51
|
-
> {
|
52
|
-
constructor(private client: IntegrationAppClient, idOrKey: string) {
|
53
|
-
super({
|
54
|
-
client: client,
|
55
|
-
path: 'flows',
|
56
|
-
idOrKey,
|
57
|
-
})
|
58
|
-
}
|
59
|
-
|
60
|
-
async runAll(params: RunFlowOptions): Promise<any[]> {
|
61
|
-
const flow = await this.get()
|
62
|
-
const instancesPage = await this.client.flowInstances.find({
|
63
|
-
flowId: flow.id,
|
64
|
-
enabled: true,
|
65
|
-
})
|
66
|
-
const accessors = instancesPage.items.map(
|
67
|
-
(instance) => new FlowInstanceAccessor(this.client, instance.id),
|
68
|
-
)
|
69
|
-
const runs = await Promise.all(
|
70
|
-
accessors.map((accessor) => accessor.run(params)),
|
71
|
-
)
|
72
|
-
return runs
|
73
|
-
}
|
74
|
-
|
75
|
-
async subscribe(options: SubscribeOptions) {
|
76
|
-
const flow = await this.get()
|
77
|
-
const channelKey = `${FLOW_CHANNEL_PREFIX}${flow.id}`
|
78
|
-
await this.client.subscribeToChannel(channelKey, options)
|
79
|
-
}
|
80
|
-
|
81
|
-
async unsubscribe() {
|
82
|
-
const flow = await this.get()
|
83
|
-
const channelKey = `${FLOW_INSTANCE_CHANNEL_PREFIX}${flow.id}`
|
84
|
-
await this.client.unsubscribeFromChannel(channelKey)
|
85
|
-
}
|
86
|
-
}
|
87
|
-
|
88
|
-
export class FlowInstancesAccessor extends ElementInstanceListAccessor<
|
89
|
-
FlowInstance,
|
90
|
-
FindFlowInstancesQuery
|
91
|
-
> {
|
92
|
-
constructor(client: IntegrationAppClient) {
|
93
|
-
super(client, 'flow-instances')
|
94
|
-
}
|
95
|
-
}
|
96
|
-
|
97
|
-
export class FlowInstanceAccessor extends ElementInstanceAccessor<
|
98
|
-
FlowInstance,
|
99
|
-
FlowInstanceSelector,
|
100
|
-
CreateFlowInstanceRequest,
|
101
|
-
UpdateFlowInstanceRequest
|
102
|
-
> {
|
103
|
-
constructor(
|
104
|
-
protected client: IntegrationAppClient,
|
105
|
-
protected selector: FlowInstanceSelector | string,
|
106
|
-
) {
|
107
|
-
super({
|
108
|
-
client,
|
109
|
-
selector,
|
110
|
-
listPath: 'flow-instances',
|
111
|
-
selectorPath: 'flow-instance',
|
112
|
-
})
|
113
|
-
}
|
114
|
-
|
115
|
-
async enable(): Promise<FlowInstance> {
|
116
|
-
return this.patch({ enabled: true })
|
117
|
-
}
|
118
|
-
|
119
|
-
async disable(): Promise<FlowInstance> {
|
120
|
-
return this.patch({ enabled: false })
|
121
|
-
}
|
122
|
-
|
123
|
-
async updateToLatestFlow(): Promise<FlowInstance> {
|
124
|
-
const id = await this.getId()
|
125
|
-
return this.client.post(`/flow-instances/${id}/update-to-latest-flow`)
|
126
|
-
}
|
127
|
-
|
128
|
-
async setup(): Promise<FlowInstance> {
|
129
|
-
const id = await this.getId()
|
130
|
-
return this.client.post(`/flow-instances/${id}/setup`)
|
131
|
-
}
|
132
|
-
|
133
|
-
async reset(): Promise<FlowInstance> {
|
134
|
-
const id = await this.getId()
|
135
|
-
return this.client.post(`/flow-instances/${id}/reset`)
|
136
|
-
}
|
137
|
-
|
138
|
-
async openConfiguration(options: OpenFlowInstanceConfigurationOptions = {}) {
|
139
|
-
const id = await this.getId()
|
140
|
-
const queryParams = {
|
141
|
-
nodeKey: options.nodeKey,
|
142
|
-
}
|
143
|
-
const uri = this.client.getEmbedUri(
|
144
|
-
`/flow-instances/${id}/configuration?${qs.stringify(queryParams)}`,
|
145
|
-
)
|
146
|
-
return openIframe(uri, {
|
147
|
-
onClose: options.onClose,
|
148
|
-
})
|
149
|
-
}
|
150
|
-
|
151
|
-
async run(options: RunFlowOptions = {}): Promise<FlowRun> {
|
152
|
-
function onUpdate(flowRun) {
|
153
|
-
options.onUpdate && options.onUpdate(flowRun)
|
154
|
-
}
|
155
|
-
|
156
|
-
const id = await this.getId()
|
157
|
-
|
158
|
-
const flowRun = await this.client.flowRuns.create({
|
159
|
-
flowInstanceId: id,
|
160
|
-
nodeKey: options.nodeKey,
|
161
|
-
input: options.input,
|
162
|
-
})
|
163
|
-
|
164
|
-
onUpdate(flowRun)
|
165
|
-
|
166
|
-
const pusher = await this.client.getPusherInstance()
|
167
|
-
const pusherChannelName = `${FLOW_RUN_CHANNEL_PREFIX}${flowRun.id}`
|
168
|
-
const pusherEventNameFlowRun = 'flow-run-update'
|
169
|
-
let pusherChannel: Channel
|
170
|
-
|
171
|
-
let checkFlowRunInterval: ReturnType<typeof setInterval>
|
172
|
-
|
173
|
-
function cleanup() {
|
174
|
-
checkFlowRunInterval && clearInterval(checkFlowRunInterval)
|
175
|
-
|
176
|
-
pusherChannel && pusherChannel.unbind(pusherEventNameFlowRun)
|
177
|
-
pusher && pusher.unsubscribe(pusherChannelName)
|
178
|
-
}
|
179
|
-
|
180
|
-
return new Promise((resolve, reject) => {
|
181
|
-
const handleFlowRunUpdate = async (flowRun: FlowRun) => {
|
182
|
-
onUpdate(flowRun)
|
183
|
-
|
184
|
-
if (flowRun.state === FlowRunState.COMPLETED) {
|
185
|
-
cleanup()
|
186
|
-
resolve(flowRun)
|
187
|
-
} else if (flowRun.state === FlowRunState.FAILED) {
|
188
|
-
cleanup()
|
189
|
-
reject(
|
190
|
-
new Error(
|
191
|
-
`Flow run ${flowRun.id} failed: ${flowRun.errors?.[0]?.message}`,
|
192
|
-
),
|
193
|
-
)
|
194
|
-
}
|
195
|
-
}
|
196
|
-
|
197
|
-
const fetchFlowRun = async () => {
|
198
|
-
handleFlowRunUpdate(await this.client.flowRun(flowRun.id).get())
|
199
|
-
}
|
200
|
-
|
201
|
-
/* POLLING */
|
202
|
-
|
203
|
-
// Flags to prevent making mutiple polling requests at the same time
|
204
|
-
let pollingFlowRun = false
|
205
|
-
let errors = 0
|
206
|
-
|
207
|
-
checkFlowRunInterval = setInterval(async () => {
|
208
|
-
if (!pollingFlowRun) {
|
209
|
-
pollingFlowRun = true
|
210
|
-
try {
|
211
|
-
await fetchFlowRun()
|
212
|
-
errors = 0
|
213
|
-
} finally {
|
214
|
-
errors += 1
|
215
|
-
if (errors > MAX_POLLING_ERRORS) {
|
216
|
-
cleanup()
|
217
|
-
reject(
|
218
|
-
new Error(
|
219
|
-
`Got ${errors} errors while polling flow run ${flowRun.id} state - aborting`,
|
220
|
-
),
|
221
|
-
)
|
222
|
-
}
|
223
|
-
pollingFlowRun = false
|
224
|
-
}
|
225
|
-
}
|
226
|
-
}, 1000)
|
227
|
-
|
228
|
-
if (pusher) {
|
229
|
-
pusherChannel = pusher.subscribe(pusherChannelName)
|
230
|
-
pusherChannel.bind(pusherEventNameFlowRun, fetchFlowRun)
|
231
|
-
}
|
232
|
-
})
|
233
|
-
}
|
234
|
-
|
235
|
-
async subscribe(options: SubscribeOptions) {
|
236
|
-
const id = await this.getId()
|
237
|
-
const channelKey = `${FLOW_INSTANCE_CHANNEL_PREFIX}${id}`
|
238
|
-
await this.client.subscribeToChannel(channelKey, options)
|
239
|
-
}
|
240
|
-
|
241
|
-
async unsubscribe() {
|
242
|
-
const id = await this.getId()
|
243
|
-
const channelKey = `${FLOW_INSTANCE_CHANNEL_PREFIX}${id}`
|
244
|
-
await this.client.unsubscribeFromChannel(channelKey)
|
245
|
-
}
|
246
|
-
}
|
@@ -1,71 +0,0 @@
|
|
1
|
-
import { PaginationQuery, PaginationResponse } from '../entity-repository'
|
2
|
-
import { Flow, FlowInstance, FlowNodeLink } from '.'
|
3
|
-
import { ConnectionSelector } from '../connections/api'
|
4
|
-
|
5
|
-
export interface FindFlowsRequest extends PaginationQuery {}
|
6
|
-
|
7
|
-
export interface FindFlowsResponse extends PaginationResponse<Flow> {}
|
8
|
-
|
9
|
-
export interface CreateFlowNodeRequest {
|
10
|
-
type: string
|
11
|
-
|
12
|
-
config?: any
|
13
|
-
|
14
|
-
ui?: any
|
15
|
-
|
16
|
-
links?: FlowNodeLink[]
|
17
|
-
}
|
18
|
-
|
19
|
-
export interface CreateFlowRequest {
|
20
|
-
key: string
|
21
|
-
name: string
|
22
|
-
nodes: Record<string, CreateFlowNodeRequest>
|
23
|
-
}
|
24
|
-
|
25
|
-
export interface UpdateFlowRequest extends CreateFlowRequest {}
|
26
|
-
|
27
|
-
export interface FindFlowInstancesQuery {
|
28
|
-
id?: string
|
29
|
-
userId?: string
|
30
|
-
flowId?: string
|
31
|
-
flowKey?: string
|
32
|
-
integrationKey?: string
|
33
|
-
integrationId?: string
|
34
|
-
connectionId?: string
|
35
|
-
instanceKey?: string
|
36
|
-
enabled?: boolean
|
37
|
-
dependencyInstanceId?: string
|
38
|
-
}
|
39
|
-
|
40
|
-
export interface FlowInstanceSelector extends ConnectionSelector {
|
41
|
-
flowId?: string
|
42
|
-
flowKey?: string
|
43
|
-
|
44
|
-
instanceKey?: string
|
45
|
-
|
46
|
-
autoCreate?: boolean
|
47
|
-
}
|
48
|
-
|
49
|
-
export class FindFlowInstancesResponse extends PaginationResponse<FlowInstance> {}
|
50
|
-
|
51
|
-
export interface CreateFlowInstanceRequest {
|
52
|
-
flowKey?: string
|
53
|
-
|
54
|
-
name?: string
|
55
|
-
|
56
|
-
parameters?: any
|
57
|
-
|
58
|
-
enabled?: boolean
|
59
|
-
}
|
60
|
-
|
61
|
-
export interface UpdateFlowInstanceRequest {
|
62
|
-
name?: string
|
63
|
-
|
64
|
-
enabled?: boolean
|
65
|
-
}
|
66
|
-
|
67
|
-
export interface RunFlowOptions {
|
68
|
-
nodeKey?: string
|
69
|
-
input?: any
|
70
|
-
onUpdate?: (...args: any) => void
|
71
|
-
}
|
@@ -1,233 +0,0 @@
|
|
1
|
-
import { JSONSchema } from '../json-schema'
|
2
|
-
import { ErrorData } from '../errors'
|
3
|
-
import { Connection } from '../connections'
|
4
|
-
import { User } from '../users'
|
5
|
-
import { IntegrationElementInstance } from '../integration-elements'
|
6
|
-
import { Integration } from '../integrations'
|
7
|
-
import { DataFilter } from '../data-filter'
|
8
|
-
|
9
|
-
export const FLOW_CHANNEL_PREFIX = 'private-flows-'
|
10
|
-
export const FLOW_INSTANCE_CHANNEL_PREFIX = 'private-flow-instances-'
|
11
|
-
|
12
|
-
export interface FlowNode {
|
13
|
-
/**
|
14
|
-
* Type of the node this blueprint describes.
|
15
|
-
*/
|
16
|
-
type: string
|
17
|
-
|
18
|
-
/**
|
19
|
-
* Name of the node summarizing its purpose.
|
20
|
-
*/
|
21
|
-
name: string
|
22
|
-
|
23
|
-
/**
|
24
|
-
* Default node configuration.
|
25
|
-
*/
|
26
|
-
config?: any
|
27
|
-
|
28
|
-
/**
|
29
|
-
* UI settings for this node.
|
30
|
-
*/
|
31
|
-
ui?: any
|
32
|
-
|
33
|
-
/**
|
34
|
-
* Input this node receives from previous nodes (calculated)
|
35
|
-
*/
|
36
|
-
inputSchema?: any
|
37
|
-
|
38
|
-
/**
|
39
|
-
* Output this node produces (calculated)
|
40
|
-
*/
|
41
|
-
outputSchema?: any
|
42
|
-
|
43
|
-
/**
|
44
|
-
* Example of the output node produces
|
45
|
-
*/
|
46
|
-
outputExample?: any
|
47
|
-
|
48
|
-
/**
|
49
|
-
* Links to nodes that run after the current node.
|
50
|
-
*/
|
51
|
-
links?: FlowNodeLink[]
|
52
|
-
}
|
53
|
-
|
54
|
-
export interface Flow {
|
55
|
-
/**
|
56
|
-
* Flow blueprint's unique id. It never changes.
|
57
|
-
*/
|
58
|
-
id: string
|
59
|
-
|
60
|
-
/**
|
61
|
-
* Blueprint key to conveniently refer to it by.
|
62
|
-
* Must be unique among all blueprints within an app.
|
63
|
-
* Can be changed.
|
64
|
-
*/
|
65
|
-
key: string
|
66
|
-
|
67
|
-
/**
|
68
|
-
* Version. Used to indicate changes in the flow.
|
69
|
-
*/
|
70
|
-
version: string
|
71
|
-
|
72
|
-
name: string
|
73
|
-
|
74
|
-
parametersSchema?: JSONSchema
|
75
|
-
|
76
|
-
nodes?: Record<string, FlowNode>
|
77
|
-
|
78
|
-
/**
|
79
|
-
* Instance of this flow when returned in a context of a specific connection.
|
80
|
-
* Populated in some API responses but not others.
|
81
|
-
*/
|
82
|
-
instance?: FlowInstance
|
83
|
-
|
84
|
-
/**
|
85
|
-
* Instances of this flow when returned in a context of a specific connection (for a flow that can have multiple instances).
|
86
|
-
* Populated in some API responses but not others.
|
87
|
-
*/
|
88
|
-
instances?: FlowInstance[]
|
89
|
-
|
90
|
-
archivedAt?: Date
|
91
|
-
}
|
92
|
-
|
93
|
-
export enum FlowInstanceState {
|
94
|
-
SETTING_UP = 'SETTING_UP',
|
95
|
-
SETUP_FAILED = 'SETUP_FAILED',
|
96
|
-
READY = 'READY',
|
97
|
-
}
|
98
|
-
|
99
|
-
export interface FlowInstance {
|
100
|
-
id: string
|
101
|
-
|
102
|
-
userId: string
|
103
|
-
|
104
|
-
user?: User
|
105
|
-
|
106
|
-
connectionId?: string
|
107
|
-
|
108
|
-
connection?: Connection
|
109
|
-
|
110
|
-
flowId?: string
|
111
|
-
|
112
|
-
flowVersion?: string
|
113
|
-
|
114
|
-
integrationId: string
|
115
|
-
|
116
|
-
integration?: Integration
|
117
|
-
|
118
|
-
instanceKey?: string
|
119
|
-
|
120
|
-
/**
|
121
|
-
* This flow's unique user-readable name.
|
122
|
-
*/
|
123
|
-
name: string
|
124
|
-
|
125
|
-
/**
|
126
|
-
* This flow's parameters.
|
127
|
-
* Can be used as variables in nodes.
|
128
|
-
*/
|
129
|
-
parameters?: any
|
130
|
-
|
131
|
-
/**
|
132
|
-
* Schema of parameters the flow accepts.
|
133
|
-
* Copied from FlowBlueprint
|
134
|
-
*/
|
135
|
-
parametersSchema?: JSONSchema
|
136
|
-
|
137
|
-
/**
|
138
|
-
* Dictionary of flow's nodes:
|
139
|
-
* <key>: <node>
|
140
|
-
*/
|
141
|
-
nodes?: Record<string, FlowInstanceNode>
|
142
|
-
|
143
|
-
/**
|
144
|
-
* Whether the flow is enabled (i.e. triggers are active)
|
145
|
-
*/
|
146
|
-
enabled: boolean
|
147
|
-
|
148
|
-
createdAt: string
|
149
|
-
|
150
|
-
updatedAt: string
|
151
|
-
|
152
|
-
/**
|
153
|
-
* List of dependencies.
|
154
|
-
*/
|
155
|
-
dependencies?: IntegrationElementInstance[]
|
156
|
-
|
157
|
-
state?: FlowInstanceState
|
158
|
-
}
|
159
|
-
|
160
|
-
export enum FlowInstanceNodeState {
|
161
|
-
SETTING_UP = 'SETTING_UP',
|
162
|
-
SETUP_FAILED = 'SETUP_FAILED',
|
163
|
-
READY = 'READY',
|
164
|
-
}
|
165
|
-
|
166
|
-
export interface FlowInstanceNode extends FlowNode {
|
167
|
-
/**
|
168
|
-
* State of the node.
|
169
|
-
* Set automatically by the engine when something changes about the node or the flow.
|
170
|
-
*/
|
171
|
-
state?: FlowInstanceNodeState
|
172
|
-
|
173
|
-
/**
|
174
|
-
* Any data node wants to save during its lifetime.
|
175
|
-
*/
|
176
|
-
stateData?: any
|
177
|
-
|
178
|
-
/**
|
179
|
-
* Errors occured during the node's configuration.
|
180
|
-
*/
|
181
|
-
errors?: ErrorData[]
|
182
|
-
|
183
|
-
/**
|
184
|
-
* Part of the node's configuration provided by the end-user.
|
185
|
-
*/
|
186
|
-
userConfig?: any
|
187
|
-
|
188
|
-
/**
|
189
|
-
* Input to be used for testing the node.
|
190
|
-
* Compiled automatically from test output of the previous nodes.
|
191
|
-
*/
|
192
|
-
testInput?: any
|
193
|
-
|
194
|
-
/**
|
195
|
-
* Node's config materialized with the test data. Used for testing the node.
|
196
|
-
*/
|
197
|
-
testConfig?: any
|
198
|
-
|
199
|
-
/**
|
200
|
-
* List of dependencies.
|
201
|
-
*/
|
202
|
-
dependencies?: IntegrationElementInstance[]
|
203
|
-
}
|
204
|
-
|
205
|
-
/**
|
206
|
-
* Record of a link between one flow node to another.
|
207
|
-
* When a node run finishes, linked nodes runs start.
|
208
|
-
*/
|
209
|
-
export interface FlowNodeLink {
|
210
|
-
key: string
|
211
|
-
filter?: DataFilter
|
212
|
-
}
|
213
|
-
|
214
|
-
export interface OpenFlowInstanceConfigurationOptions {
|
215
|
-
nodeKey?: string
|
216
|
-
onClose?: (...args: any) => void
|
217
|
-
}
|
218
|
-
|
219
|
-
export interface RunFlowOptions {
|
220
|
-
nodeKey?: string
|
221
|
-
input?: any
|
222
|
-
onUpdate?: (...args: any) => void
|
223
|
-
}
|
224
|
-
|
225
|
-
export {
|
226
|
-
getFlowNode,
|
227
|
-
getChildNodeKeys,
|
228
|
-
getDownstreamNodeKeys,
|
229
|
-
getParentNodeKeys,
|
230
|
-
getUpstreamNodeKeys,
|
231
|
-
getRootNodeKeys,
|
232
|
-
getOrderedNodeKeys,
|
233
|
-
} from './utils'
|