@membranehq/sdk 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +5 -8
- package/dist/bundle.d.ts +2734 -1678
- package/dist/bundle.js +9242 -18948
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/action-instances-accessors.d.ts +30 -0
- package/dist/dts/accessors/actions-accessors.d.ts +23 -0
- package/dist/dts/accessors/app-data-schema-instances-accessors.d.ts +12 -0
- package/dist/dts/accessors/app-data-schemas-accessors.d.ts +10 -0
- package/dist/dts/accessors/app-event-subscriptions-accessors.d.ts +11 -0
- package/dist/dts/accessors/app-event-types-accessors.d.ts +10 -0
- package/dist/dts/{accessors.d.ts → accessors/base-accessors.d.ts} +3 -3
- package/dist/dts/{connections/accessors.d.ts → accessors/connections-accessors.d.ts} +22 -18
- package/dist/dts/accessors/customers-accessors.d.ts +15 -0
- package/dist/dts/accessors/data-link-table-instances-accessors.d.ts +14 -0
- package/dist/dts/accessors/data-link-tables-accessors.d.ts +10 -0
- package/dist/dts/{data-sources/accessors.d.ts → accessors/data-sources-accessors.d.ts} +4 -4
- package/dist/dts/{external-events/accessors.d.ts → accessors/external-event-subscriptions-accessors.d.ts} +3 -3
- package/dist/dts/accessors/field-mapping-instances-accessors.d.ts +31 -0
- package/dist/dts/accessors/field-mappings-accessors.d.ts +25 -0
- package/dist/dts/{flows/accessors.d.ts → accessors/flow-instances-accessors.d.ts} +5 -26
- package/dist/dts/{flow-runs/accessors.d.ts → accessors/flow-runs-accessors.d.ts} +1 -1
- package/dist/dts/accessors/flows-accessors.d.ts +23 -0
- package/dist/dts/accessors/index.d.ts +21 -0
- package/dist/dts/{integrations/accessors.d.ts → accessors/integrations-accessors.d.ts} +12 -14
- package/dist/dts/{scenarios/accessors.d.ts → accessors/scenarios-accessors.d.ts} +2 -2
- package/dist/dts/{screens/accessors.d.ts → accessors/screens-accessors.d.ts} +2 -2
- package/dist/dts/api-client.d.ts +5 -5
- package/dist/dts/apps/types.d.ts +2 -0
- package/dist/dts/auth/accessors.d.ts +1 -1
- package/dist/dts/auth/index.d.ts +1 -1
- package/dist/dts/client.d.ts +2 -16
- package/dist/dts/data-builder/index.d.ts +19 -9
- package/dist/dts/data-filter/index.d.ts +1 -1
- package/dist/dts/data-schema/index.d.ts +1 -2
- package/dist/dts/data-schema/schemas.d.ts +4 -0
- package/dist/dts/data-schema/types.d.ts +1 -1
- package/dist/dts/{data-schema/utils.d.ts → data-schema-utils/index.d.ts} +3 -6
- package/dist/dts/error-tools/index.d.ts +3 -0
- package/dist/dts/errors/index.d.ts +6 -20
- package/dist/dts/{data-builder/formulas → formulas}/base.d.ts +2 -2
- package/dist/dts/{data-builder/formulas → formulas}/dataSchemaRef.d.ts +3 -3
- package/dist/dts/{data-builder/formulas → formulas}/eval.d.ts +1 -1
- package/dist/dts/{data-builder/formulas → formulas}/findAppRecordId.d.ts +1 -1
- package/dist/dts/{data-builder/formulas → formulas}/findExternalRecordId.d.ts +1 -1
- package/dist/dts/formulas/index.d.ts +91 -0
- package/dist/dts/{data-builder/formulas → formulas}/record.d.ts +1 -1
- package/dist/dts/{data-builder/formulas → formulas}/types.d.ts +1 -0
- package/dist/dts/index.d.ts +5 -18
- package/dist/dts/integration-elements/index.d.ts +3 -3
- package/dist/dts/{data-builder/locators.d.ts → locators/index.d.ts} +3 -3
- package/dist/dts/variables.d.ts +1 -1
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +8 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +10 -0
- package/dist/dts/{actions/types.d.ts → workspace-elements/api/actions-api.d.ts} +12 -40
- package/dist/dts/{app-data-schemas/api.d.ts → workspace-elements/api/app-data-schema-instances-api.d.ts} +13 -20
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +19 -0
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +30 -0
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +30 -0
- package/dist/dts/workspace-elements/api/app-events-api.d.ts +17 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +49 -0
- package/dist/dts/{users/api.d.ts → workspace-elements/api/customers-api.d.ts} +5 -1
- package/dist/dts/{data-links/api.d.ts → workspace-elements/api/data-link-table-instances-api.d.ts} +15 -8
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +8 -0
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +12 -0
- package/dist/dts/{data-sources/api.d.ts → workspace-elements/api/data-sources-api.d.ts} +14 -5
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +19 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +19 -0
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +10 -0
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +73 -0
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +41 -0
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +39 -0
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +50 -0
- package/dist/dts/{flows/api.d.ts → workspace-elements/api/flows-api.d.ts} +21 -5
- package/dist/dts/workspace-elements/api/index.d.ts +25 -0
- package/dist/dts/{integrations/api.d.ts → workspace-elements/api/integrations-api.d.ts} +10 -3
- package/dist/dts/{scenarios/types.d.ts → workspace-elements/api/scenarios-api.d.ts} +24 -46
- package/dist/dts/{screens/types.d.ts → workspace-elements/api/screens-api.d.ts} +4 -6
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +30 -0
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +19 -0
- package/dist/dts/{actions → workspace-elements/base/actions}/index.d.ts +0 -1
- package/dist/dts/workspace-elements/base/actions/types.d.ts +25 -0
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +12 -0
- package/dist/dts/workspace-elements/base/app-data-schemas/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +7 -0
- package/dist/dts/workspace-elements/base/app-event-subscriptions/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +15 -0
- package/dist/dts/workspace-elements/base/app-event-types/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +12 -0
- package/dist/dts/workspace-elements/base/connections/index.d.ts +1 -0
- package/dist/dts/{connections → workspace-elements/base/connections}/types.d.ts +8 -24
- package/dist/dts/{connectors → workspace-elements/base/connectors}/auth.d.ts +8 -5
- package/dist/dts/workspace-elements/base/connectors/events/index.d.ts +1 -0
- package/dist/dts/{connectors → workspace-elements/base/connectors}/events/types.d.ts +1 -1
- package/dist/dts/workspace-elements/base/connectors/global-webhooks/index.d.ts +1 -0
- package/dist/dts/{connectors → workspace-elements/base/connectors}/graphql-api.d.ts +1 -1
- package/dist/dts/{connectors → workspace-elements/base/connectors}/index.d.ts +0 -2
- package/dist/dts/{connectors → workspace-elements/base/connectors}/methods.d.ts +1 -1
- package/dist/dts/{connectors → workspace-elements/base/connectors}/rest-api.d.ts +1 -1
- package/dist/dts/{connectors → workspace-elements/base/connectors}/types.d.ts +3 -14
- package/dist/dts/{connectors → workspace-elements/base/connectors}/udm.d.ts +1 -1
- package/dist/dts/{users → workspace-elements/base/customers}/index.d.ts +1 -4
- package/dist/dts/workspace-elements/base/data-collections/data-locations/base.d.ts +10 -0
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/implementation-types/connector-event.d.ts +3 -3
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/implementation-types/custom-pull.d.ts +3 -3
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/implementation-types/pull-latest-records.d.ts +3 -3
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/implementation-types/webhook.d.ts +3 -3
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/methods.d.ts +2 -2
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/index.d.ts +25 -25
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/base.d.ts +6 -6
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/index.d.ts +0 -3
- package/dist/dts/workspace-elements/base/data-collections/data-locations/methods.d.ts +6 -0
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-records.d.ts +1 -1
- package/dist/dts/workspace-elements/base/data-collections/index.d.ts +6 -0
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +1829 -0
- package/dist/dts/workspace-elements/base/data-collections/types.d.ts +54 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/base.d.ts +2 -2
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/index.d.ts +2 -2
- package/dist/dts/{connectors/data-locations → workspace-elements/base/data-collections}/utils.d.ts +6 -3
- package/dist/dts/workspace-elements/base/data-link-table-instances/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +20 -0
- package/dist/dts/workspace-elements/base/data-link-tables/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +9 -0
- package/dist/dts/workspace-elements/base/data-source-instances/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +25 -0
- package/dist/dts/{data-sources → workspace-elements/base/data-sources}/index.d.ts +0 -2
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +27 -0
- package/dist/dts/workspace-elements/base/external-event-log-records/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +18 -0
- package/dist/dts/workspace-elements/base/external-event-pulls/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +21 -0
- package/dist/dts/workspace-elements/base/external-event-subscriptions/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +42 -0
- package/dist/dts/{external-events → workspace-elements/base/external-events}/api.d.ts +2 -2
- package/dist/dts/{external-events → workspace-elements/base/external-events}/index.d.ts +1 -4
- package/dist/dts/workspace-elements/base/external-events/types.d.ts +17 -0
- package/dist/dts/workspace-elements/base/field-mapping-instances/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +27 -0
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +38 -0
- package/dist/dts/workspace-elements/base/flow-instances/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +37 -0
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +374 -0
- package/dist/dts/workspace-elements/base/flow-runs/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +31 -0
- package/dist/dts/workspace-elements/base/flows/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/flows/types.d.ts +33 -0
- package/dist/dts/workspace-elements/base/index.d.ts +27 -0
- package/dist/dts/workspace-elements/base/integrations/index.d.ts +1 -0
- package/dist/dts/{integrations → workspace-elements/base/integrations}/types.d.ts +5 -11
- package/dist/dts/workspace-elements/base/scenarios/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +27 -0
- package/dist/dts/workspace-elements/base/screens/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/screens/types.d.ts +7 -0
- package/dist/dts/workspace-elements/errors.d.ts +5 -0
- package/dist/dts/workspace-elements/index.d.ts +4 -0
- package/dist/dts/workspace-elements/types.d.ts +30 -4
- package/dist/dts/{flows/utils.d.ts → workspace-elements/utils/flow-utils.d.ts} +3 -3
- package/dist/dts/workspace-elements/utils/index.d.ts +1 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +3 -8
- package/dist/dts/workspaces/types.d.ts +6 -42
- package/dist/index.d.ts +5215 -3171
- package/dist/index.js +10471 -10327
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +5215 -3171
- package/dist/index.module.mjs +10418 -10316
- package/dist/index.module.mjs.map +1 -1
- package/package.json +9 -4
- package/dist/dts/actions/accessors.d.ts +0 -49
- package/dist/dts/app-data-schemas/accessors.d.ts +0 -18
- package/dist/dts/app-data-schemas/index.d.ts +0 -23
- package/dist/dts/app-events/accessors.d.ts +0 -20
- package/dist/dts/app-events/api.d.ts +0 -44
- package/dist/dts/app-events/index.d.ts +0 -42
- package/dist/dts/connections/api.d.ts +0 -27
- package/dist/dts/connections/create-or-update-connection.d.ts +0 -15
- package/dist/dts/connections/index.d.ts +0 -3
- package/dist/dts/connectors/data-locations/base.d.ts +0 -10
- package/dist/dts/connectors/data-locations/directories/index.d.ts +0 -17
- package/dist/dts/connectors/data-locations/directories/methods/base.d.ts +0 -18
- package/dist/dts/connectors/data-locations/directories/methods/list.d.ts +0 -2
- package/dist/dts/connectors/data-locations/methods.d.ts +0 -6
- package/dist/dts/connectors/data-locations/types.d.ts +0 -258
- package/dist/dts/data-builder/formula-processors.d.ts +0 -13
- package/dist/dts/data-builder/formula-types.d.ts +0 -4
- package/dist/dts/data-builder/formulas/index.d.ts +0 -26
- package/dist/dts/data-collections/types.d.ts +0 -24
- package/dist/dts/data-links/accessors.d.ts +0 -20
- package/dist/dts/data-links/index.d.ts +0 -36
- package/dist/dts/data-schema/data-field.d.ts +0 -14
- package/dist/dts/data-sources/types.d.ts +0 -63
- package/dist/dts/errors/error-doc-enum.d.ts +0 -7
- package/dist/dts/external-events/types.d.ts +0 -157
- package/dist/dts/field-mappings/accessors.d.ts +0 -54
- package/dist/dts/field-mappings/api.d.ts +0 -58
- package/dist/dts/field-mappings/index.d.ts +0 -66
- package/dist/dts/field-mappings/types.d.ts +0 -12
- package/dist/dts/flow-runs/flow-node-runs.d.ts +0 -42
- package/dist/dts/flow-runs/index.d.ts +0 -78
- package/dist/dts/flows/index.d.ts +0 -6
- package/dist/dts/flows/types.d.ts +0 -76
- package/dist/dts/integrations/index.d.ts +0 -3
- package/dist/dts/scenarios/index.d.ts +0 -2
- package/dist/dts/screens/index.d.ts +0 -2
- package/dist/dts/users/accessors.d.ts +0 -10
- package/dist/dts/{accessors.test.d.ts → accessors/base-accessors.test.d.ts} +0 -0
- package/dist/dts/{connectors/data-locations/utils.test.d.ts → data-builder/data-builder.test.d.ts} +0 -0
- package/dist/dts/{data-builder/formulas → data-schema-utils}/index.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/and.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/and.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/case.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/case.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/concat.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/concat.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/copy.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/copy.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/dataSchemaRef.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/domainFromEmail.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/domainFromEmail.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/eval.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/extractDate.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/extractDate.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/extractTime.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/extractTime.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/findAppRecordId.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/findExternalRecordId.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/first-name.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/first-name.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/firstNotEmpty.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/firstNotEmpty.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/formula.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/formula.test.d.ts +0 -0
- package/dist/dts/{data-builder → formulas}/index.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/iterate.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/iterate.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/jsonata.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/jsonata.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/last-name.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/last-name.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/lookup.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/lookup.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/map.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/map.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/mergeObjects.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/mergeObjects.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/or.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/or.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/plain.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/plain.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/record.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/tpl.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/tpl.test.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/var.d.ts +0 -0
- package/dist/dts/{data-builder/formulas → formulas}/var.test.d.ts +0 -0
- package/dist/dts/{data-builder → locators}/locators.test.d.ts +0 -0
- package/dist/dts/{data-builder/formula-processors.test.d.ts → setupTests.d.ts} +0 -0
- package/dist/dts/{connectors/events → workspace-elements/base/action-instances}/index.d.ts +0 -0
- package/dist/dts/{connectors/global-webhooks → workspace-elements/base/action-run-log-records}/index.d.ts +0 -0
- package/dist/dts/{actions → workspace-elements/base/actions}/action-types.d.ts +0 -0
- package/dist/dts/{data-collections → workspace-elements/base/app-data-schema-instances}/index.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/connectors}/constants.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/connectors}/global-webhooks/types.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/connectors}/openapi.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/connectors}/operations/handlers.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/connectors}/operations/index.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/connectors}/operations/types.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/implementation-types/full-scan.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/events/index.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/create.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/delete.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/find-by-id.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/find.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/list.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/match.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/search.d.ts +0 -0
- package/dist/dts/{connectors → workspace-elements/base/data-collections}/data-locations/collections/methods/update.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/activities.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/activities.test.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/bills.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/campaign-members.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/campaigns.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/companies.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/contact-lists.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/contacts.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/credit-notes.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/customers.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/deal-products.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/deal-stages.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/deals.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/documents.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/drive-items.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/drives.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/eeocs.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/emails.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/employees.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/files.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/folders.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/invoices.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/job-applications.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/job-candidates.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/job-interviews.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/job-offers.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/jobs.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/journal-entries.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/leads.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/ledger-accounts.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/meetings.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/messages.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/notes.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/orders.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/payments.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/payrolls.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/products.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/projects.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/suppliers.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/tasks.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/tax-rates.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/timeoff-balances.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/timeoff-requests.d.ts +0 -0
- package/dist/dts/{udm → workspace-elements/base/data-collections/udm}/users.d.ts +0 -0
- package/dist/dts/{data-schema → workspace-elements/base/data-collections}/utils.test.d.ts +0 -0
- package/dist/dts/{data-sources → workspace-elements/base/data-sources}/constants.d.ts +0 -0
- package/dist/dts/{field-mappings → workspace-elements/base/field-mappings}/merge/is-object.test.d.ts +0 -0
- package/dist/dts/{field-mappings → workspace-elements/base/field-mappings}/merge/merge-with-formulas.d.ts +0 -0
- package/dist/dts/{field-mappings → workspace-elements/base/field-mappings}/merge/merge-with-formulas.test.d.ts +0 -0
- package/dist/dts/{flows → workspace-elements/base/flow-instances}/schemas.d.ts +18 -18
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/api-request-to-external-app.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/api-request-to-your-app.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/api-trigger.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/app-event-trigger.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/base.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/connector-event-trigger.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/create-data-link.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/create-data-record.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/custom-http-request.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/data-record-created-trigger.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/data-record-deleted-trigger.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/data-record-updated-trigger.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/delete-data-link.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/delete-data-record.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/filter.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/find-data-link.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/find-data-record-by-id.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/find-data-records.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/find-or-create-data-record.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/for-each-v2.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/for-each.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/index.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/integration-specific-operation.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/list-data-records.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/lookup-data-record.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/run-action.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/run-javascript.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/schedule-trigger.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/search-data-records.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/transform-data.d.ts +0 -0
- /package/dist/dts/{flows → workspace-elements/base/flows}/nodes/update-data-record.d.ts +0 -0
- /package/dist/dts/{flows/utils.test.d.ts → workspace-elements/utils/flow-utils.test.d.ts} +0 -0
|
@@ -0,0 +1,1829 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { DataCollectionEvent } from './types';
|
|
3
|
+
export declare const ApiRequestSpecSchema: z.ZodObject<{
|
|
4
|
+
path: z.ZodUnknown;
|
|
5
|
+
method: z.ZodUnknown;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
method?: unknown;
|
|
8
|
+
path?: unknown;
|
|
9
|
+
}, {
|
|
10
|
+
method?: unknown;
|
|
11
|
+
path?: unknown;
|
|
12
|
+
}>;
|
|
13
|
+
export type ApiRequestSpec = z.infer<typeof ApiRequestSpecSchema>;
|
|
14
|
+
export declare const DataCollectionMethodSpecSchema: z.ZodObject<{
|
|
15
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16
|
+
path: z.ZodUnknown;
|
|
17
|
+
method: z.ZodUnknown;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
method?: unknown;
|
|
20
|
+
path?: unknown;
|
|
21
|
+
}, {
|
|
22
|
+
method?: unknown;
|
|
23
|
+
path?: unknown;
|
|
24
|
+
}>, "many">>;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
apiRequests?: {
|
|
27
|
+
method?: unknown;
|
|
28
|
+
path?: unknown;
|
|
29
|
+
}[] | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
apiRequests?: {
|
|
32
|
+
method?: unknown;
|
|
33
|
+
path?: unknown;
|
|
34
|
+
}[] | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
export type DataCollectionMethodSpec = z.infer<typeof DataCollectionMethodSpecSchema>;
|
|
37
|
+
export declare const DataCollectionListSpecSchema: z.ZodObject<{
|
|
38
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39
|
+
path: z.ZodUnknown;
|
|
40
|
+
method: z.ZodUnknown;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
method?: unknown;
|
|
43
|
+
path?: unknown;
|
|
44
|
+
}, {
|
|
45
|
+
method?: unknown;
|
|
46
|
+
path?: unknown;
|
|
47
|
+
}>, "many">>;
|
|
48
|
+
} & {
|
|
49
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
apiRequests?: {
|
|
52
|
+
method?: unknown;
|
|
53
|
+
path?: unknown;
|
|
54
|
+
}[] | undefined;
|
|
55
|
+
filterFields?: string[] | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
apiRequests?: {
|
|
58
|
+
method?: unknown;
|
|
59
|
+
path?: unknown;
|
|
60
|
+
}[] | undefined;
|
|
61
|
+
filterFields?: string[] | undefined;
|
|
62
|
+
}>;
|
|
63
|
+
export type DataCollectionListSpec = z.infer<typeof DataCollectionListSpecSchema>;
|
|
64
|
+
export declare const DataCollectionSearchSpecSchema: z.ZodObject<{
|
|
65
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
66
|
+
path: z.ZodUnknown;
|
|
67
|
+
method: z.ZodUnknown;
|
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
|
69
|
+
method?: unknown;
|
|
70
|
+
path?: unknown;
|
|
71
|
+
}, {
|
|
72
|
+
method?: unknown;
|
|
73
|
+
path?: unknown;
|
|
74
|
+
}>, "many">>;
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
apiRequests?: {
|
|
77
|
+
method?: unknown;
|
|
78
|
+
path?: unknown;
|
|
79
|
+
}[] | undefined;
|
|
80
|
+
}, {
|
|
81
|
+
apiRequests?: {
|
|
82
|
+
method?: unknown;
|
|
83
|
+
path?: unknown;
|
|
84
|
+
}[] | undefined;
|
|
85
|
+
}>;
|
|
86
|
+
export type DataCollectionSearchSpec = z.infer<typeof DataCollectionSearchSpecSchema>;
|
|
87
|
+
export declare const DataCollectionMatchSpecSchema: z.ZodObject<{
|
|
88
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
89
|
+
path: z.ZodUnknown;
|
|
90
|
+
method: z.ZodUnknown;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
method?: unknown;
|
|
93
|
+
path?: unknown;
|
|
94
|
+
}, {
|
|
95
|
+
method?: unknown;
|
|
96
|
+
path?: unknown;
|
|
97
|
+
}>, "many">>;
|
|
98
|
+
} & {
|
|
99
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
100
|
+
}, "strip", z.ZodTypeAny, {
|
|
101
|
+
fields?: string[] | undefined;
|
|
102
|
+
apiRequests?: {
|
|
103
|
+
method?: unknown;
|
|
104
|
+
path?: unknown;
|
|
105
|
+
}[] | undefined;
|
|
106
|
+
}, {
|
|
107
|
+
fields?: string[] | undefined;
|
|
108
|
+
apiRequests?: {
|
|
109
|
+
method?: unknown;
|
|
110
|
+
path?: unknown;
|
|
111
|
+
}[] | undefined;
|
|
112
|
+
}>;
|
|
113
|
+
export type DataCollectionMatchSpec = z.infer<typeof DataCollectionMatchSpecSchema>;
|
|
114
|
+
export declare const DataCollectionFindByIdSpecSchema: z.ZodObject<{
|
|
115
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
116
|
+
path: z.ZodUnknown;
|
|
117
|
+
method: z.ZodUnknown;
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
method?: unknown;
|
|
120
|
+
path?: unknown;
|
|
121
|
+
}, {
|
|
122
|
+
method?: unknown;
|
|
123
|
+
path?: unknown;
|
|
124
|
+
}>, "many">>;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
apiRequests?: {
|
|
127
|
+
method?: unknown;
|
|
128
|
+
path?: unknown;
|
|
129
|
+
}[] | undefined;
|
|
130
|
+
}, {
|
|
131
|
+
apiRequests?: {
|
|
132
|
+
method?: unknown;
|
|
133
|
+
path?: unknown;
|
|
134
|
+
}[] | undefined;
|
|
135
|
+
}>;
|
|
136
|
+
export type DataCollectionFindByIdSpec = z.infer<typeof DataCollectionFindByIdSpecSchema>;
|
|
137
|
+
export declare const DataCollectionCreateSpecSchema: z.ZodObject<{
|
|
138
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
139
|
+
path: z.ZodUnknown;
|
|
140
|
+
method: z.ZodUnknown;
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
method?: unknown;
|
|
143
|
+
path?: unknown;
|
|
144
|
+
}, {
|
|
145
|
+
method?: unknown;
|
|
146
|
+
path?: unknown;
|
|
147
|
+
}>, "many">>;
|
|
148
|
+
} & {
|
|
149
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
150
|
+
requiredFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
151
|
+
excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
|
+
fields?: string[] | undefined;
|
|
154
|
+
apiRequests?: {
|
|
155
|
+
method?: unknown;
|
|
156
|
+
path?: unknown;
|
|
157
|
+
}[] | undefined;
|
|
158
|
+
requiredFields?: string[] | undefined;
|
|
159
|
+
excludedFields?: string[] | undefined;
|
|
160
|
+
}, {
|
|
161
|
+
fields?: string[] | undefined;
|
|
162
|
+
apiRequests?: {
|
|
163
|
+
method?: unknown;
|
|
164
|
+
path?: unknown;
|
|
165
|
+
}[] | undefined;
|
|
166
|
+
requiredFields?: string[] | undefined;
|
|
167
|
+
excludedFields?: string[] | undefined;
|
|
168
|
+
}>;
|
|
169
|
+
export type DataCollectionCreateSpec = z.infer<typeof DataCollectionCreateSpecSchema>;
|
|
170
|
+
export declare const DataCollectionUpdateSpecSchema: z.ZodObject<{
|
|
171
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
172
|
+
path: z.ZodUnknown;
|
|
173
|
+
method: z.ZodUnknown;
|
|
174
|
+
}, "strip", z.ZodTypeAny, {
|
|
175
|
+
method?: unknown;
|
|
176
|
+
path?: unknown;
|
|
177
|
+
}, {
|
|
178
|
+
method?: unknown;
|
|
179
|
+
path?: unknown;
|
|
180
|
+
}>, "many">>;
|
|
181
|
+
} & {
|
|
182
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
183
|
+
excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
184
|
+
}, "strip", z.ZodTypeAny, {
|
|
185
|
+
fields?: string[] | undefined;
|
|
186
|
+
apiRequests?: {
|
|
187
|
+
method?: unknown;
|
|
188
|
+
path?: unknown;
|
|
189
|
+
}[] | undefined;
|
|
190
|
+
excludedFields?: string[] | undefined;
|
|
191
|
+
}, {
|
|
192
|
+
fields?: string[] | undefined;
|
|
193
|
+
apiRequests?: {
|
|
194
|
+
method?: unknown;
|
|
195
|
+
path?: unknown;
|
|
196
|
+
}[] | undefined;
|
|
197
|
+
excludedFields?: string[] | undefined;
|
|
198
|
+
}>;
|
|
199
|
+
export type DataCollectionUpdateSpec = z.infer<typeof DataCollectionUpdateSpecSchema>;
|
|
200
|
+
export declare const DataCollectionDeleteSpecSchema: z.ZodObject<{
|
|
201
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
202
|
+
path: z.ZodUnknown;
|
|
203
|
+
method: z.ZodUnknown;
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
method?: unknown;
|
|
206
|
+
path?: unknown;
|
|
207
|
+
}, {
|
|
208
|
+
method?: unknown;
|
|
209
|
+
path?: unknown;
|
|
210
|
+
}>, "many">>;
|
|
211
|
+
}, "strip", z.ZodTypeAny, {
|
|
212
|
+
apiRequests?: {
|
|
213
|
+
method?: unknown;
|
|
214
|
+
path?: unknown;
|
|
215
|
+
}[] | undefined;
|
|
216
|
+
}, {
|
|
217
|
+
apiRequests?: {
|
|
218
|
+
method?: unknown;
|
|
219
|
+
path?: unknown;
|
|
220
|
+
}[] | undefined;
|
|
221
|
+
}>;
|
|
222
|
+
export type DataCollectionDeleteSpec = z.infer<typeof DataCollectionDeleteSpecSchema>;
|
|
223
|
+
export declare const DataCollectionFindSpecSchema: z.ZodObject<{
|
|
224
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
225
|
+
path: z.ZodUnknown;
|
|
226
|
+
method: z.ZodUnknown;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
method?: unknown;
|
|
229
|
+
path?: unknown;
|
|
230
|
+
}, {
|
|
231
|
+
method?: unknown;
|
|
232
|
+
path?: unknown;
|
|
233
|
+
}>, "many">>;
|
|
234
|
+
} & {
|
|
235
|
+
queryFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
apiRequests?: {
|
|
238
|
+
method?: unknown;
|
|
239
|
+
path?: unknown;
|
|
240
|
+
}[] | undefined;
|
|
241
|
+
queryFields?: string[] | undefined;
|
|
242
|
+
}, {
|
|
243
|
+
apiRequests?: {
|
|
244
|
+
method?: unknown;
|
|
245
|
+
path?: unknown;
|
|
246
|
+
}[] | undefined;
|
|
247
|
+
queryFields?: string[] | undefined;
|
|
248
|
+
}>;
|
|
249
|
+
export type DataCollectionFindSpec = z.infer<typeof DataCollectionFindSpecSchema>;
|
|
250
|
+
export declare const DataCollectionEventTypeSpecSchema: z.ZodObject<{
|
|
251
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
252
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
253
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
254
|
+
}, "strip", z.ZodTypeAny, {
|
|
255
|
+
type: "push" | "pull";
|
|
256
|
+
isFullScan?: boolean | undefined;
|
|
257
|
+
isIdOnly?: boolean | undefined;
|
|
258
|
+
}, {
|
|
259
|
+
type: "push" | "pull";
|
|
260
|
+
isFullScan?: boolean | undefined;
|
|
261
|
+
isIdOnly?: boolean | undefined;
|
|
262
|
+
}>;
|
|
263
|
+
export type DataCollectionEventTypeSpec = z.infer<typeof DataCollectionEventTypeSpecSchema>;
|
|
264
|
+
export declare const DataCollectionEventsSpecSchema: z.ZodObject<{
|
|
265
|
+
created: z.ZodOptional<z.ZodObject<{
|
|
266
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
267
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
269
|
+
}, "strip", z.ZodTypeAny, {
|
|
270
|
+
type: "push" | "pull";
|
|
271
|
+
isFullScan?: boolean | undefined;
|
|
272
|
+
isIdOnly?: boolean | undefined;
|
|
273
|
+
}, {
|
|
274
|
+
type: "push" | "pull";
|
|
275
|
+
isFullScan?: boolean | undefined;
|
|
276
|
+
isIdOnly?: boolean | undefined;
|
|
277
|
+
}>>;
|
|
278
|
+
updated: z.ZodOptional<z.ZodObject<{
|
|
279
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
280
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
281
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
282
|
+
}, "strip", z.ZodTypeAny, {
|
|
283
|
+
type: "push" | "pull";
|
|
284
|
+
isFullScan?: boolean | undefined;
|
|
285
|
+
isIdOnly?: boolean | undefined;
|
|
286
|
+
}, {
|
|
287
|
+
type: "push" | "pull";
|
|
288
|
+
isFullScan?: boolean | undefined;
|
|
289
|
+
isIdOnly?: boolean | undefined;
|
|
290
|
+
}>>;
|
|
291
|
+
deleted: z.ZodOptional<z.ZodObject<{
|
|
292
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
293
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
295
|
+
}, "strip", z.ZodTypeAny, {
|
|
296
|
+
type: "push" | "pull";
|
|
297
|
+
isFullScan?: boolean | undefined;
|
|
298
|
+
isIdOnly?: boolean | undefined;
|
|
299
|
+
}, {
|
|
300
|
+
type: "push" | "pull";
|
|
301
|
+
isFullScan?: boolean | undefined;
|
|
302
|
+
isIdOnly?: boolean | undefined;
|
|
303
|
+
}>>;
|
|
304
|
+
all: z.ZodOptional<z.ZodObject<{
|
|
305
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
306
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
307
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
308
|
+
}, "strip", z.ZodTypeAny, {
|
|
309
|
+
type: "push" | "pull";
|
|
310
|
+
isFullScan?: boolean | undefined;
|
|
311
|
+
isIdOnly?: boolean | undefined;
|
|
312
|
+
}, {
|
|
313
|
+
type: "push" | "pull";
|
|
314
|
+
isFullScan?: boolean | undefined;
|
|
315
|
+
isIdOnly?: boolean | undefined;
|
|
316
|
+
}>>;
|
|
317
|
+
}, "strip", z.ZodObject<{
|
|
318
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
319
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
320
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
321
|
+
}, "strip", z.ZodTypeAny, {
|
|
322
|
+
type: "push" | "pull";
|
|
323
|
+
isFullScan?: boolean | undefined;
|
|
324
|
+
isIdOnly?: boolean | undefined;
|
|
325
|
+
}, {
|
|
326
|
+
type: "push" | "pull";
|
|
327
|
+
isFullScan?: boolean | undefined;
|
|
328
|
+
isIdOnly?: boolean | undefined;
|
|
329
|
+
}>, z.objectOutputType<{
|
|
330
|
+
created: z.ZodOptional<z.ZodObject<{
|
|
331
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
332
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
333
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
334
|
+
}, "strip", z.ZodTypeAny, {
|
|
335
|
+
type: "push" | "pull";
|
|
336
|
+
isFullScan?: boolean | undefined;
|
|
337
|
+
isIdOnly?: boolean | undefined;
|
|
338
|
+
}, {
|
|
339
|
+
type: "push" | "pull";
|
|
340
|
+
isFullScan?: boolean | undefined;
|
|
341
|
+
isIdOnly?: boolean | undefined;
|
|
342
|
+
}>>;
|
|
343
|
+
updated: z.ZodOptional<z.ZodObject<{
|
|
344
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
345
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
346
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
+
}, "strip", z.ZodTypeAny, {
|
|
348
|
+
type: "push" | "pull";
|
|
349
|
+
isFullScan?: boolean | undefined;
|
|
350
|
+
isIdOnly?: boolean | undefined;
|
|
351
|
+
}, {
|
|
352
|
+
type: "push" | "pull";
|
|
353
|
+
isFullScan?: boolean | undefined;
|
|
354
|
+
isIdOnly?: boolean | undefined;
|
|
355
|
+
}>>;
|
|
356
|
+
deleted: z.ZodOptional<z.ZodObject<{
|
|
357
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
358
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
359
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
360
|
+
}, "strip", z.ZodTypeAny, {
|
|
361
|
+
type: "push" | "pull";
|
|
362
|
+
isFullScan?: boolean | undefined;
|
|
363
|
+
isIdOnly?: boolean | undefined;
|
|
364
|
+
}, {
|
|
365
|
+
type: "push" | "pull";
|
|
366
|
+
isFullScan?: boolean | undefined;
|
|
367
|
+
isIdOnly?: boolean | undefined;
|
|
368
|
+
}>>;
|
|
369
|
+
all: z.ZodOptional<z.ZodObject<{
|
|
370
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
371
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
372
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
373
|
+
}, "strip", z.ZodTypeAny, {
|
|
374
|
+
type: "push" | "pull";
|
|
375
|
+
isFullScan?: boolean | undefined;
|
|
376
|
+
isIdOnly?: boolean | undefined;
|
|
377
|
+
}, {
|
|
378
|
+
type: "push" | "pull";
|
|
379
|
+
isFullScan?: boolean | undefined;
|
|
380
|
+
isIdOnly?: boolean | undefined;
|
|
381
|
+
}>>;
|
|
382
|
+
}, z.ZodObject<{
|
|
383
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
384
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
385
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
386
|
+
}, "strip", z.ZodTypeAny, {
|
|
387
|
+
type: "push" | "pull";
|
|
388
|
+
isFullScan?: boolean | undefined;
|
|
389
|
+
isIdOnly?: boolean | undefined;
|
|
390
|
+
}, {
|
|
391
|
+
type: "push" | "pull";
|
|
392
|
+
isFullScan?: boolean | undefined;
|
|
393
|
+
isIdOnly?: boolean | undefined;
|
|
394
|
+
}>, "strip">, z.objectInputType<{
|
|
395
|
+
created: z.ZodOptional<z.ZodObject<{
|
|
396
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
397
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
398
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
399
|
+
}, "strip", z.ZodTypeAny, {
|
|
400
|
+
type: "push" | "pull";
|
|
401
|
+
isFullScan?: boolean | undefined;
|
|
402
|
+
isIdOnly?: boolean | undefined;
|
|
403
|
+
}, {
|
|
404
|
+
type: "push" | "pull";
|
|
405
|
+
isFullScan?: boolean | undefined;
|
|
406
|
+
isIdOnly?: boolean | undefined;
|
|
407
|
+
}>>;
|
|
408
|
+
updated: z.ZodOptional<z.ZodObject<{
|
|
409
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
410
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
411
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
412
|
+
}, "strip", z.ZodTypeAny, {
|
|
413
|
+
type: "push" | "pull";
|
|
414
|
+
isFullScan?: boolean | undefined;
|
|
415
|
+
isIdOnly?: boolean | undefined;
|
|
416
|
+
}, {
|
|
417
|
+
type: "push" | "pull";
|
|
418
|
+
isFullScan?: boolean | undefined;
|
|
419
|
+
isIdOnly?: boolean | undefined;
|
|
420
|
+
}>>;
|
|
421
|
+
deleted: z.ZodOptional<z.ZodObject<{
|
|
422
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
423
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
424
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
425
|
+
}, "strip", z.ZodTypeAny, {
|
|
426
|
+
type: "push" | "pull";
|
|
427
|
+
isFullScan?: boolean | undefined;
|
|
428
|
+
isIdOnly?: boolean | undefined;
|
|
429
|
+
}, {
|
|
430
|
+
type: "push" | "pull";
|
|
431
|
+
isFullScan?: boolean | undefined;
|
|
432
|
+
isIdOnly?: boolean | undefined;
|
|
433
|
+
}>>;
|
|
434
|
+
all: z.ZodOptional<z.ZodObject<{
|
|
435
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
436
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
437
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
438
|
+
}, "strip", z.ZodTypeAny, {
|
|
439
|
+
type: "push" | "pull";
|
|
440
|
+
isFullScan?: boolean | undefined;
|
|
441
|
+
isIdOnly?: boolean | undefined;
|
|
442
|
+
}, {
|
|
443
|
+
type: "push" | "pull";
|
|
444
|
+
isFullScan?: boolean | undefined;
|
|
445
|
+
isIdOnly?: boolean | undefined;
|
|
446
|
+
}>>;
|
|
447
|
+
}, z.ZodObject<{
|
|
448
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
449
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
450
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
451
|
+
}, "strip", z.ZodTypeAny, {
|
|
452
|
+
type: "push" | "pull";
|
|
453
|
+
isFullScan?: boolean | undefined;
|
|
454
|
+
isIdOnly?: boolean | undefined;
|
|
455
|
+
}, {
|
|
456
|
+
type: "push" | "pull";
|
|
457
|
+
isFullScan?: boolean | undefined;
|
|
458
|
+
isIdOnly?: boolean | undefined;
|
|
459
|
+
}>, "strip">>;
|
|
460
|
+
export type DataCollectionEventsSpec = z.infer<typeof DataCollectionEventsSpecSchema>;
|
|
461
|
+
export declare const DataCollectionUdmSpecSchema: z.ZodObject<{
|
|
462
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
463
|
+
extract: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
464
|
+
parse: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
|
466
|
+
fields?: string[] | undefined;
|
|
467
|
+
extract?: Record<string, any> | undefined;
|
|
468
|
+
parse?: Record<string, any> | undefined;
|
|
469
|
+
}, {
|
|
470
|
+
fields?: string[] | undefined;
|
|
471
|
+
extract?: Record<string, any> | undefined;
|
|
472
|
+
parse?: Record<string, any> | undefined;
|
|
473
|
+
}>;
|
|
474
|
+
export type DataCollectionUdmSpec = z.infer<typeof DataCollectionUdmSpecSchema>;
|
|
475
|
+
export declare const DataCollectionUdmsSpecSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
476
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
477
|
+
extract: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
478
|
+
parse: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
479
|
+
}, "strip", z.ZodTypeAny, {
|
|
480
|
+
fields?: string[] | undefined;
|
|
481
|
+
extract?: Record<string, any> | undefined;
|
|
482
|
+
parse?: Record<string, any> | undefined;
|
|
483
|
+
}, {
|
|
484
|
+
fields?: string[] | undefined;
|
|
485
|
+
extract?: Record<string, any> | undefined;
|
|
486
|
+
parse?: Record<string, any> | undefined;
|
|
487
|
+
}>>;
|
|
488
|
+
export type DataCollectionUdmsSpec = z.infer<typeof DataCollectionUdmsSpecSchema>;
|
|
489
|
+
export declare const DataCollectionSpecSchema: z.ZodObject<{
|
|
490
|
+
type: z.ZodLiteral<"collection">;
|
|
491
|
+
key: z.ZodOptional<z.ZodString>;
|
|
492
|
+
name: z.ZodString;
|
|
493
|
+
parametersSchema: z.ZodOptional<z.ZodLazy<any>>;
|
|
494
|
+
fieldsSchema: z.ZodOptional<z.ZodLazy<any>>;
|
|
495
|
+
list: z.ZodOptional<z.ZodObject<{
|
|
496
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
497
|
+
path: z.ZodUnknown;
|
|
498
|
+
method: z.ZodUnknown;
|
|
499
|
+
}, "strip", z.ZodTypeAny, {
|
|
500
|
+
method?: unknown;
|
|
501
|
+
path?: unknown;
|
|
502
|
+
}, {
|
|
503
|
+
method?: unknown;
|
|
504
|
+
path?: unknown;
|
|
505
|
+
}>, "many">>;
|
|
506
|
+
} & {
|
|
507
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
508
|
+
}, "strip", z.ZodTypeAny, {
|
|
509
|
+
apiRequests?: {
|
|
510
|
+
method?: unknown;
|
|
511
|
+
path?: unknown;
|
|
512
|
+
}[] | undefined;
|
|
513
|
+
filterFields?: string[] | undefined;
|
|
514
|
+
}, {
|
|
515
|
+
apiRequests?: {
|
|
516
|
+
method?: unknown;
|
|
517
|
+
path?: unknown;
|
|
518
|
+
}[] | undefined;
|
|
519
|
+
filterFields?: string[] | undefined;
|
|
520
|
+
}>>;
|
|
521
|
+
search: z.ZodOptional<z.ZodObject<{
|
|
522
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
523
|
+
path: z.ZodUnknown;
|
|
524
|
+
method: z.ZodUnknown;
|
|
525
|
+
}, "strip", z.ZodTypeAny, {
|
|
526
|
+
method?: unknown;
|
|
527
|
+
path?: unknown;
|
|
528
|
+
}, {
|
|
529
|
+
method?: unknown;
|
|
530
|
+
path?: unknown;
|
|
531
|
+
}>, "many">>;
|
|
532
|
+
}, "strip", z.ZodTypeAny, {
|
|
533
|
+
apiRequests?: {
|
|
534
|
+
method?: unknown;
|
|
535
|
+
path?: unknown;
|
|
536
|
+
}[] | undefined;
|
|
537
|
+
}, {
|
|
538
|
+
apiRequests?: {
|
|
539
|
+
method?: unknown;
|
|
540
|
+
path?: unknown;
|
|
541
|
+
}[] | undefined;
|
|
542
|
+
}>>;
|
|
543
|
+
match: z.ZodOptional<z.ZodObject<{
|
|
544
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
545
|
+
path: z.ZodUnknown;
|
|
546
|
+
method: z.ZodUnknown;
|
|
547
|
+
}, "strip", z.ZodTypeAny, {
|
|
548
|
+
method?: unknown;
|
|
549
|
+
path?: unknown;
|
|
550
|
+
}, {
|
|
551
|
+
method?: unknown;
|
|
552
|
+
path?: unknown;
|
|
553
|
+
}>, "many">>;
|
|
554
|
+
} & {
|
|
555
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
556
|
+
}, "strip", z.ZodTypeAny, {
|
|
557
|
+
fields?: string[] | undefined;
|
|
558
|
+
apiRequests?: {
|
|
559
|
+
method?: unknown;
|
|
560
|
+
path?: unknown;
|
|
561
|
+
}[] | undefined;
|
|
562
|
+
}, {
|
|
563
|
+
fields?: string[] | undefined;
|
|
564
|
+
apiRequests?: {
|
|
565
|
+
method?: unknown;
|
|
566
|
+
path?: unknown;
|
|
567
|
+
}[] | undefined;
|
|
568
|
+
}>>;
|
|
569
|
+
findById: z.ZodOptional<z.ZodObject<{
|
|
570
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
571
|
+
path: z.ZodUnknown;
|
|
572
|
+
method: z.ZodUnknown;
|
|
573
|
+
}, "strip", z.ZodTypeAny, {
|
|
574
|
+
method?: unknown;
|
|
575
|
+
path?: unknown;
|
|
576
|
+
}, {
|
|
577
|
+
method?: unknown;
|
|
578
|
+
path?: unknown;
|
|
579
|
+
}>, "many">>;
|
|
580
|
+
}, "strip", z.ZodTypeAny, {
|
|
581
|
+
apiRequests?: {
|
|
582
|
+
method?: unknown;
|
|
583
|
+
path?: unknown;
|
|
584
|
+
}[] | undefined;
|
|
585
|
+
}, {
|
|
586
|
+
apiRequests?: {
|
|
587
|
+
method?: unknown;
|
|
588
|
+
path?: unknown;
|
|
589
|
+
}[] | undefined;
|
|
590
|
+
}>>;
|
|
591
|
+
create: z.ZodOptional<z.ZodObject<{
|
|
592
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
593
|
+
path: z.ZodUnknown;
|
|
594
|
+
method: z.ZodUnknown;
|
|
595
|
+
}, "strip", z.ZodTypeAny, {
|
|
596
|
+
method?: unknown;
|
|
597
|
+
path?: unknown;
|
|
598
|
+
}, {
|
|
599
|
+
method?: unknown;
|
|
600
|
+
path?: unknown;
|
|
601
|
+
}>, "many">>;
|
|
602
|
+
} & {
|
|
603
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
604
|
+
requiredFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
605
|
+
excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
606
|
+
}, "strip", z.ZodTypeAny, {
|
|
607
|
+
fields?: string[] | undefined;
|
|
608
|
+
apiRequests?: {
|
|
609
|
+
method?: unknown;
|
|
610
|
+
path?: unknown;
|
|
611
|
+
}[] | undefined;
|
|
612
|
+
requiredFields?: string[] | undefined;
|
|
613
|
+
excludedFields?: string[] | undefined;
|
|
614
|
+
}, {
|
|
615
|
+
fields?: string[] | undefined;
|
|
616
|
+
apiRequests?: {
|
|
617
|
+
method?: unknown;
|
|
618
|
+
path?: unknown;
|
|
619
|
+
}[] | undefined;
|
|
620
|
+
requiredFields?: string[] | undefined;
|
|
621
|
+
excludedFields?: string[] | undefined;
|
|
622
|
+
}>>;
|
|
623
|
+
update: z.ZodOptional<z.ZodObject<{
|
|
624
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
625
|
+
path: z.ZodUnknown;
|
|
626
|
+
method: z.ZodUnknown;
|
|
627
|
+
}, "strip", z.ZodTypeAny, {
|
|
628
|
+
method?: unknown;
|
|
629
|
+
path?: unknown;
|
|
630
|
+
}, {
|
|
631
|
+
method?: unknown;
|
|
632
|
+
path?: unknown;
|
|
633
|
+
}>, "many">>;
|
|
634
|
+
} & {
|
|
635
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
636
|
+
excludedFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
637
|
+
}, "strip", z.ZodTypeAny, {
|
|
638
|
+
fields?: string[] | undefined;
|
|
639
|
+
apiRequests?: {
|
|
640
|
+
method?: unknown;
|
|
641
|
+
path?: unknown;
|
|
642
|
+
}[] | undefined;
|
|
643
|
+
excludedFields?: string[] | undefined;
|
|
644
|
+
}, {
|
|
645
|
+
fields?: string[] | undefined;
|
|
646
|
+
apiRequests?: {
|
|
647
|
+
method?: unknown;
|
|
648
|
+
path?: unknown;
|
|
649
|
+
}[] | undefined;
|
|
650
|
+
excludedFields?: string[] | undefined;
|
|
651
|
+
}>>;
|
|
652
|
+
delete: z.ZodOptional<z.ZodObject<{
|
|
653
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
654
|
+
path: z.ZodUnknown;
|
|
655
|
+
method: z.ZodUnknown;
|
|
656
|
+
}, "strip", z.ZodTypeAny, {
|
|
657
|
+
method?: unknown;
|
|
658
|
+
path?: unknown;
|
|
659
|
+
}, {
|
|
660
|
+
method?: unknown;
|
|
661
|
+
path?: unknown;
|
|
662
|
+
}>, "many">>;
|
|
663
|
+
}, "strip", z.ZodTypeAny, {
|
|
664
|
+
apiRequests?: {
|
|
665
|
+
method?: unknown;
|
|
666
|
+
path?: unknown;
|
|
667
|
+
}[] | undefined;
|
|
668
|
+
}, {
|
|
669
|
+
apiRequests?: {
|
|
670
|
+
method?: unknown;
|
|
671
|
+
path?: unknown;
|
|
672
|
+
}[] | undefined;
|
|
673
|
+
}>>;
|
|
674
|
+
events: z.ZodOptional<z.ZodObject<{
|
|
675
|
+
created: z.ZodOptional<z.ZodObject<{
|
|
676
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
677
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
678
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
679
|
+
}, "strip", z.ZodTypeAny, {
|
|
680
|
+
type: "push" | "pull";
|
|
681
|
+
isFullScan?: boolean | undefined;
|
|
682
|
+
isIdOnly?: boolean | undefined;
|
|
683
|
+
}, {
|
|
684
|
+
type: "push" | "pull";
|
|
685
|
+
isFullScan?: boolean | undefined;
|
|
686
|
+
isIdOnly?: boolean | undefined;
|
|
687
|
+
}>>;
|
|
688
|
+
updated: z.ZodOptional<z.ZodObject<{
|
|
689
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
690
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
691
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
692
|
+
}, "strip", z.ZodTypeAny, {
|
|
693
|
+
type: "push" | "pull";
|
|
694
|
+
isFullScan?: boolean | undefined;
|
|
695
|
+
isIdOnly?: boolean | undefined;
|
|
696
|
+
}, {
|
|
697
|
+
type: "push" | "pull";
|
|
698
|
+
isFullScan?: boolean | undefined;
|
|
699
|
+
isIdOnly?: boolean | undefined;
|
|
700
|
+
}>>;
|
|
701
|
+
deleted: z.ZodOptional<z.ZodObject<{
|
|
702
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
703
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
704
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
705
|
+
}, "strip", z.ZodTypeAny, {
|
|
706
|
+
type: "push" | "pull";
|
|
707
|
+
isFullScan?: boolean | undefined;
|
|
708
|
+
isIdOnly?: boolean | undefined;
|
|
709
|
+
}, {
|
|
710
|
+
type: "push" | "pull";
|
|
711
|
+
isFullScan?: boolean | undefined;
|
|
712
|
+
isIdOnly?: boolean | undefined;
|
|
713
|
+
}>>;
|
|
714
|
+
all: z.ZodOptional<z.ZodObject<{
|
|
715
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
716
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
717
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
718
|
+
}, "strip", z.ZodTypeAny, {
|
|
719
|
+
type: "push" | "pull";
|
|
720
|
+
isFullScan?: boolean | undefined;
|
|
721
|
+
isIdOnly?: boolean | undefined;
|
|
722
|
+
}, {
|
|
723
|
+
type: "push" | "pull";
|
|
724
|
+
isFullScan?: boolean | undefined;
|
|
725
|
+
isIdOnly?: boolean | undefined;
|
|
726
|
+
}>>;
|
|
727
|
+
}, "strip", z.ZodObject<{
|
|
728
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
729
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
730
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
731
|
+
}, "strip", z.ZodTypeAny, {
|
|
732
|
+
type: "push" | "pull";
|
|
733
|
+
isFullScan?: boolean | undefined;
|
|
734
|
+
isIdOnly?: boolean | undefined;
|
|
735
|
+
}, {
|
|
736
|
+
type: "push" | "pull";
|
|
737
|
+
isFullScan?: boolean | undefined;
|
|
738
|
+
isIdOnly?: boolean | undefined;
|
|
739
|
+
}>, z.objectOutputType<{
|
|
740
|
+
created: z.ZodOptional<z.ZodObject<{
|
|
741
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
742
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
743
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
744
|
+
}, "strip", z.ZodTypeAny, {
|
|
745
|
+
type: "push" | "pull";
|
|
746
|
+
isFullScan?: boolean | undefined;
|
|
747
|
+
isIdOnly?: boolean | undefined;
|
|
748
|
+
}, {
|
|
749
|
+
type: "push" | "pull";
|
|
750
|
+
isFullScan?: boolean | undefined;
|
|
751
|
+
isIdOnly?: boolean | undefined;
|
|
752
|
+
}>>;
|
|
753
|
+
updated: z.ZodOptional<z.ZodObject<{
|
|
754
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
755
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
756
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
757
|
+
}, "strip", z.ZodTypeAny, {
|
|
758
|
+
type: "push" | "pull";
|
|
759
|
+
isFullScan?: boolean | undefined;
|
|
760
|
+
isIdOnly?: boolean | undefined;
|
|
761
|
+
}, {
|
|
762
|
+
type: "push" | "pull";
|
|
763
|
+
isFullScan?: boolean | undefined;
|
|
764
|
+
isIdOnly?: boolean | undefined;
|
|
765
|
+
}>>;
|
|
766
|
+
deleted: z.ZodOptional<z.ZodObject<{
|
|
767
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
768
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
769
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
770
|
+
}, "strip", z.ZodTypeAny, {
|
|
771
|
+
type: "push" | "pull";
|
|
772
|
+
isFullScan?: boolean | undefined;
|
|
773
|
+
isIdOnly?: boolean | undefined;
|
|
774
|
+
}, {
|
|
775
|
+
type: "push" | "pull";
|
|
776
|
+
isFullScan?: boolean | undefined;
|
|
777
|
+
isIdOnly?: boolean | undefined;
|
|
778
|
+
}>>;
|
|
779
|
+
all: z.ZodOptional<z.ZodObject<{
|
|
780
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
781
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
782
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
783
|
+
}, "strip", z.ZodTypeAny, {
|
|
784
|
+
type: "push" | "pull";
|
|
785
|
+
isFullScan?: boolean | undefined;
|
|
786
|
+
isIdOnly?: boolean | undefined;
|
|
787
|
+
}, {
|
|
788
|
+
type: "push" | "pull";
|
|
789
|
+
isFullScan?: boolean | undefined;
|
|
790
|
+
isIdOnly?: boolean | undefined;
|
|
791
|
+
}>>;
|
|
792
|
+
}, z.ZodObject<{
|
|
793
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
794
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
795
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
796
|
+
}, "strip", z.ZodTypeAny, {
|
|
797
|
+
type: "push" | "pull";
|
|
798
|
+
isFullScan?: boolean | undefined;
|
|
799
|
+
isIdOnly?: boolean | undefined;
|
|
800
|
+
}, {
|
|
801
|
+
type: "push" | "pull";
|
|
802
|
+
isFullScan?: boolean | undefined;
|
|
803
|
+
isIdOnly?: boolean | undefined;
|
|
804
|
+
}>, "strip">, z.objectInputType<{
|
|
805
|
+
created: z.ZodOptional<z.ZodObject<{
|
|
806
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
807
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
808
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
809
|
+
}, "strip", z.ZodTypeAny, {
|
|
810
|
+
type: "push" | "pull";
|
|
811
|
+
isFullScan?: boolean | undefined;
|
|
812
|
+
isIdOnly?: boolean | undefined;
|
|
813
|
+
}, {
|
|
814
|
+
type: "push" | "pull";
|
|
815
|
+
isFullScan?: boolean | undefined;
|
|
816
|
+
isIdOnly?: boolean | undefined;
|
|
817
|
+
}>>;
|
|
818
|
+
updated: z.ZodOptional<z.ZodObject<{
|
|
819
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
820
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
821
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
822
|
+
}, "strip", z.ZodTypeAny, {
|
|
823
|
+
type: "push" | "pull";
|
|
824
|
+
isFullScan?: boolean | undefined;
|
|
825
|
+
isIdOnly?: boolean | undefined;
|
|
826
|
+
}, {
|
|
827
|
+
type: "push" | "pull";
|
|
828
|
+
isFullScan?: boolean | undefined;
|
|
829
|
+
isIdOnly?: boolean | undefined;
|
|
830
|
+
}>>;
|
|
831
|
+
deleted: z.ZodOptional<z.ZodObject<{
|
|
832
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
833
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
834
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
835
|
+
}, "strip", z.ZodTypeAny, {
|
|
836
|
+
type: "push" | "pull";
|
|
837
|
+
isFullScan?: boolean | undefined;
|
|
838
|
+
isIdOnly?: boolean | undefined;
|
|
839
|
+
}, {
|
|
840
|
+
type: "push" | "pull";
|
|
841
|
+
isFullScan?: boolean | undefined;
|
|
842
|
+
isIdOnly?: boolean | undefined;
|
|
843
|
+
}>>;
|
|
844
|
+
all: z.ZodOptional<z.ZodObject<{
|
|
845
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
846
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
847
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
848
|
+
}, "strip", z.ZodTypeAny, {
|
|
849
|
+
type: "push" | "pull";
|
|
850
|
+
isFullScan?: boolean | undefined;
|
|
851
|
+
isIdOnly?: boolean | undefined;
|
|
852
|
+
}, {
|
|
853
|
+
type: "push" | "pull";
|
|
854
|
+
isFullScan?: boolean | undefined;
|
|
855
|
+
isIdOnly?: boolean | undefined;
|
|
856
|
+
}>>;
|
|
857
|
+
}, z.ZodObject<{
|
|
858
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
859
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
860
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
861
|
+
}, "strip", z.ZodTypeAny, {
|
|
862
|
+
type: "push" | "pull";
|
|
863
|
+
isFullScan?: boolean | undefined;
|
|
864
|
+
isIdOnly?: boolean | undefined;
|
|
865
|
+
}, {
|
|
866
|
+
type: "push" | "pull";
|
|
867
|
+
isFullScan?: boolean | undefined;
|
|
868
|
+
isIdOnly?: boolean | undefined;
|
|
869
|
+
}>, "strip">>>;
|
|
870
|
+
customFields: z.ZodOptional<z.ZodBoolean>;
|
|
871
|
+
udm: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
872
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
873
|
+
extract: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
874
|
+
parse: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
875
|
+
}, "strip", z.ZodTypeAny, {
|
|
876
|
+
fields?: string[] | undefined;
|
|
877
|
+
extract?: Record<string, any> | undefined;
|
|
878
|
+
parse?: Record<string, any> | undefined;
|
|
879
|
+
}, {
|
|
880
|
+
fields?: string[] | undefined;
|
|
881
|
+
extract?: Record<string, any> | undefined;
|
|
882
|
+
parse?: Record<string, any> | undefined;
|
|
883
|
+
}>>>;
|
|
884
|
+
find: z.ZodOptional<z.ZodObject<{
|
|
885
|
+
apiRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
886
|
+
path: z.ZodUnknown;
|
|
887
|
+
method: z.ZodUnknown;
|
|
888
|
+
}, "strip", z.ZodTypeAny, {
|
|
889
|
+
method?: unknown;
|
|
890
|
+
path?: unknown;
|
|
891
|
+
}, {
|
|
892
|
+
method?: unknown;
|
|
893
|
+
path?: unknown;
|
|
894
|
+
}>, "many">>;
|
|
895
|
+
} & {
|
|
896
|
+
queryFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
897
|
+
}, "strip", z.ZodTypeAny, {
|
|
898
|
+
apiRequests?: {
|
|
899
|
+
method?: unknown;
|
|
900
|
+
path?: unknown;
|
|
901
|
+
}[] | undefined;
|
|
902
|
+
queryFields?: string[] | undefined;
|
|
903
|
+
}, {
|
|
904
|
+
apiRequests?: {
|
|
905
|
+
method?: unknown;
|
|
906
|
+
path?: unknown;
|
|
907
|
+
}[] | undefined;
|
|
908
|
+
queryFields?: string[] | undefined;
|
|
909
|
+
}>>;
|
|
910
|
+
}, "strip", z.ZodTypeAny, {
|
|
911
|
+
type: "collection";
|
|
912
|
+
name: string;
|
|
913
|
+
key?: string | undefined;
|
|
914
|
+
match?: {
|
|
915
|
+
fields?: string[] | undefined;
|
|
916
|
+
apiRequests?: {
|
|
917
|
+
method?: unknown;
|
|
918
|
+
path?: unknown;
|
|
919
|
+
}[] | undefined;
|
|
920
|
+
} | undefined;
|
|
921
|
+
search?: {
|
|
922
|
+
apiRequests?: {
|
|
923
|
+
method?: unknown;
|
|
924
|
+
path?: unknown;
|
|
925
|
+
}[] | undefined;
|
|
926
|
+
} | undefined;
|
|
927
|
+
find?: {
|
|
928
|
+
apiRequests?: {
|
|
929
|
+
method?: unknown;
|
|
930
|
+
path?: unknown;
|
|
931
|
+
}[] | undefined;
|
|
932
|
+
queryFields?: string[] | undefined;
|
|
933
|
+
} | undefined;
|
|
934
|
+
delete?: {
|
|
935
|
+
apiRequests?: {
|
|
936
|
+
method?: unknown;
|
|
937
|
+
path?: unknown;
|
|
938
|
+
}[] | undefined;
|
|
939
|
+
} | undefined;
|
|
940
|
+
list?: {
|
|
941
|
+
apiRequests?: {
|
|
942
|
+
method?: unknown;
|
|
943
|
+
path?: unknown;
|
|
944
|
+
}[] | undefined;
|
|
945
|
+
filterFields?: string[] | undefined;
|
|
946
|
+
} | undefined;
|
|
947
|
+
udm?: Record<string, {
|
|
948
|
+
fields?: string[] | undefined;
|
|
949
|
+
extract?: Record<string, any> | undefined;
|
|
950
|
+
parse?: Record<string, any> | undefined;
|
|
951
|
+
}> | undefined;
|
|
952
|
+
events?: z.objectOutputType<{
|
|
953
|
+
created: z.ZodOptional<z.ZodObject<{
|
|
954
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
955
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
956
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
957
|
+
}, "strip", z.ZodTypeAny, {
|
|
958
|
+
type: "push" | "pull";
|
|
959
|
+
isFullScan?: boolean | undefined;
|
|
960
|
+
isIdOnly?: boolean | undefined;
|
|
961
|
+
}, {
|
|
962
|
+
type: "push" | "pull";
|
|
963
|
+
isFullScan?: boolean | undefined;
|
|
964
|
+
isIdOnly?: boolean | undefined;
|
|
965
|
+
}>>;
|
|
966
|
+
updated: z.ZodOptional<z.ZodObject<{
|
|
967
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
968
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
969
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
970
|
+
}, "strip", z.ZodTypeAny, {
|
|
971
|
+
type: "push" | "pull";
|
|
972
|
+
isFullScan?: boolean | undefined;
|
|
973
|
+
isIdOnly?: boolean | undefined;
|
|
974
|
+
}, {
|
|
975
|
+
type: "push" | "pull";
|
|
976
|
+
isFullScan?: boolean | undefined;
|
|
977
|
+
isIdOnly?: boolean | undefined;
|
|
978
|
+
}>>;
|
|
979
|
+
deleted: z.ZodOptional<z.ZodObject<{
|
|
980
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
981
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
982
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
983
|
+
}, "strip", z.ZodTypeAny, {
|
|
984
|
+
type: "push" | "pull";
|
|
985
|
+
isFullScan?: boolean | undefined;
|
|
986
|
+
isIdOnly?: boolean | undefined;
|
|
987
|
+
}, {
|
|
988
|
+
type: "push" | "pull";
|
|
989
|
+
isFullScan?: boolean | undefined;
|
|
990
|
+
isIdOnly?: boolean | undefined;
|
|
991
|
+
}>>;
|
|
992
|
+
all: z.ZodOptional<z.ZodObject<{
|
|
993
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
994
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
995
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
996
|
+
}, "strip", z.ZodTypeAny, {
|
|
997
|
+
type: "push" | "pull";
|
|
998
|
+
isFullScan?: boolean | undefined;
|
|
999
|
+
isIdOnly?: boolean | undefined;
|
|
1000
|
+
}, {
|
|
1001
|
+
type: "push" | "pull";
|
|
1002
|
+
isFullScan?: boolean | undefined;
|
|
1003
|
+
isIdOnly?: boolean | undefined;
|
|
1004
|
+
}>>;
|
|
1005
|
+
}, z.ZodObject<{
|
|
1006
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
1007
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
1008
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1009
|
+
}, "strip", z.ZodTypeAny, {
|
|
1010
|
+
type: "push" | "pull";
|
|
1011
|
+
isFullScan?: boolean | undefined;
|
|
1012
|
+
isIdOnly?: boolean | undefined;
|
|
1013
|
+
}, {
|
|
1014
|
+
type: "push" | "pull";
|
|
1015
|
+
isFullScan?: boolean | undefined;
|
|
1016
|
+
isIdOnly?: boolean | undefined;
|
|
1017
|
+
}>, "strip"> | undefined;
|
|
1018
|
+
parametersSchema?: any;
|
|
1019
|
+
fieldsSchema?: any;
|
|
1020
|
+
findById?: {
|
|
1021
|
+
apiRequests?: {
|
|
1022
|
+
method?: unknown;
|
|
1023
|
+
path?: unknown;
|
|
1024
|
+
}[] | undefined;
|
|
1025
|
+
} | undefined;
|
|
1026
|
+
create?: {
|
|
1027
|
+
fields?: string[] | undefined;
|
|
1028
|
+
apiRequests?: {
|
|
1029
|
+
method?: unknown;
|
|
1030
|
+
path?: unknown;
|
|
1031
|
+
}[] | undefined;
|
|
1032
|
+
requiredFields?: string[] | undefined;
|
|
1033
|
+
excludedFields?: string[] | undefined;
|
|
1034
|
+
} | undefined;
|
|
1035
|
+
update?: {
|
|
1036
|
+
fields?: string[] | undefined;
|
|
1037
|
+
apiRequests?: {
|
|
1038
|
+
method?: unknown;
|
|
1039
|
+
path?: unknown;
|
|
1040
|
+
}[] | undefined;
|
|
1041
|
+
excludedFields?: string[] | undefined;
|
|
1042
|
+
} | undefined;
|
|
1043
|
+
customFields?: boolean | undefined;
|
|
1044
|
+
}, {
|
|
1045
|
+
type: "collection";
|
|
1046
|
+
name: string;
|
|
1047
|
+
key?: string | undefined;
|
|
1048
|
+
match?: {
|
|
1049
|
+
fields?: string[] | undefined;
|
|
1050
|
+
apiRequests?: {
|
|
1051
|
+
method?: unknown;
|
|
1052
|
+
path?: unknown;
|
|
1053
|
+
}[] | undefined;
|
|
1054
|
+
} | undefined;
|
|
1055
|
+
search?: {
|
|
1056
|
+
apiRequests?: {
|
|
1057
|
+
method?: unknown;
|
|
1058
|
+
path?: unknown;
|
|
1059
|
+
}[] | undefined;
|
|
1060
|
+
} | undefined;
|
|
1061
|
+
find?: {
|
|
1062
|
+
apiRequests?: {
|
|
1063
|
+
method?: unknown;
|
|
1064
|
+
path?: unknown;
|
|
1065
|
+
}[] | undefined;
|
|
1066
|
+
queryFields?: string[] | undefined;
|
|
1067
|
+
} | undefined;
|
|
1068
|
+
delete?: {
|
|
1069
|
+
apiRequests?: {
|
|
1070
|
+
method?: unknown;
|
|
1071
|
+
path?: unknown;
|
|
1072
|
+
}[] | undefined;
|
|
1073
|
+
} | undefined;
|
|
1074
|
+
list?: {
|
|
1075
|
+
apiRequests?: {
|
|
1076
|
+
method?: unknown;
|
|
1077
|
+
path?: unknown;
|
|
1078
|
+
}[] | undefined;
|
|
1079
|
+
filterFields?: string[] | undefined;
|
|
1080
|
+
} | undefined;
|
|
1081
|
+
udm?: Record<string, {
|
|
1082
|
+
fields?: string[] | undefined;
|
|
1083
|
+
extract?: Record<string, any> | undefined;
|
|
1084
|
+
parse?: Record<string, any> | undefined;
|
|
1085
|
+
}> | undefined;
|
|
1086
|
+
events?: z.objectInputType<{
|
|
1087
|
+
created: z.ZodOptional<z.ZodObject<{
|
|
1088
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
1089
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
1090
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1091
|
+
}, "strip", z.ZodTypeAny, {
|
|
1092
|
+
type: "push" | "pull";
|
|
1093
|
+
isFullScan?: boolean | undefined;
|
|
1094
|
+
isIdOnly?: boolean | undefined;
|
|
1095
|
+
}, {
|
|
1096
|
+
type: "push" | "pull";
|
|
1097
|
+
isFullScan?: boolean | undefined;
|
|
1098
|
+
isIdOnly?: boolean | undefined;
|
|
1099
|
+
}>>;
|
|
1100
|
+
updated: z.ZodOptional<z.ZodObject<{
|
|
1101
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
1102
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
1103
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1104
|
+
}, "strip", z.ZodTypeAny, {
|
|
1105
|
+
type: "push" | "pull";
|
|
1106
|
+
isFullScan?: boolean | undefined;
|
|
1107
|
+
isIdOnly?: boolean | undefined;
|
|
1108
|
+
}, {
|
|
1109
|
+
type: "push" | "pull";
|
|
1110
|
+
isFullScan?: boolean | undefined;
|
|
1111
|
+
isIdOnly?: boolean | undefined;
|
|
1112
|
+
}>>;
|
|
1113
|
+
deleted: z.ZodOptional<z.ZodObject<{
|
|
1114
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
1115
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
1116
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1117
|
+
}, "strip", z.ZodTypeAny, {
|
|
1118
|
+
type: "push" | "pull";
|
|
1119
|
+
isFullScan?: boolean | undefined;
|
|
1120
|
+
isIdOnly?: boolean | undefined;
|
|
1121
|
+
}, {
|
|
1122
|
+
type: "push" | "pull";
|
|
1123
|
+
isFullScan?: boolean | undefined;
|
|
1124
|
+
isIdOnly?: boolean | undefined;
|
|
1125
|
+
}>>;
|
|
1126
|
+
all: z.ZodOptional<z.ZodObject<{
|
|
1127
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
1128
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
1129
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1130
|
+
}, "strip", z.ZodTypeAny, {
|
|
1131
|
+
type: "push" | "pull";
|
|
1132
|
+
isFullScan?: boolean | undefined;
|
|
1133
|
+
isIdOnly?: boolean | undefined;
|
|
1134
|
+
}, {
|
|
1135
|
+
type: "push" | "pull";
|
|
1136
|
+
isFullScan?: boolean | undefined;
|
|
1137
|
+
isIdOnly?: boolean | undefined;
|
|
1138
|
+
}>>;
|
|
1139
|
+
}, z.ZodObject<{
|
|
1140
|
+
type: z.ZodEnum<["push", "pull"]>;
|
|
1141
|
+
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
1142
|
+
isIdOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1143
|
+
}, "strip", z.ZodTypeAny, {
|
|
1144
|
+
type: "push" | "pull";
|
|
1145
|
+
isFullScan?: boolean | undefined;
|
|
1146
|
+
isIdOnly?: boolean | undefined;
|
|
1147
|
+
}, {
|
|
1148
|
+
type: "push" | "pull";
|
|
1149
|
+
isFullScan?: boolean | undefined;
|
|
1150
|
+
isIdOnly?: boolean | undefined;
|
|
1151
|
+
}>, "strip"> | undefined;
|
|
1152
|
+
parametersSchema?: any;
|
|
1153
|
+
fieldsSchema?: any;
|
|
1154
|
+
findById?: {
|
|
1155
|
+
apiRequests?: {
|
|
1156
|
+
method?: unknown;
|
|
1157
|
+
path?: unknown;
|
|
1158
|
+
}[] | undefined;
|
|
1159
|
+
} | undefined;
|
|
1160
|
+
create?: {
|
|
1161
|
+
fields?: string[] | undefined;
|
|
1162
|
+
apiRequests?: {
|
|
1163
|
+
method?: unknown;
|
|
1164
|
+
path?: unknown;
|
|
1165
|
+
}[] | undefined;
|
|
1166
|
+
requiredFields?: string[] | undefined;
|
|
1167
|
+
excludedFields?: string[] | undefined;
|
|
1168
|
+
} | undefined;
|
|
1169
|
+
update?: {
|
|
1170
|
+
fields?: string[] | undefined;
|
|
1171
|
+
apiRequests?: {
|
|
1172
|
+
method?: unknown;
|
|
1173
|
+
path?: unknown;
|
|
1174
|
+
}[] | undefined;
|
|
1175
|
+
excludedFields?: string[] | undefined;
|
|
1176
|
+
} | undefined;
|
|
1177
|
+
customFields?: boolean | undefined;
|
|
1178
|
+
}>;
|
|
1179
|
+
export type DataCollectionSpec = z.infer<typeof DataCollectionSpecSchema>;
|
|
1180
|
+
export interface DataLocationPointer {
|
|
1181
|
+
key: string;
|
|
1182
|
+
parameters?: Record<string, any>;
|
|
1183
|
+
}
|
|
1184
|
+
export interface DataCollectionMixin {
|
|
1185
|
+
key: string;
|
|
1186
|
+
parameters?: any;
|
|
1187
|
+
}
|
|
1188
|
+
export interface DataCollectionListItem {
|
|
1189
|
+
key: string;
|
|
1190
|
+
name: string;
|
|
1191
|
+
type: 'collection';
|
|
1192
|
+
isHidden?: boolean;
|
|
1193
|
+
}
|
|
1194
|
+
export declare const DataCollectionMethodRequestSchema: z.ZodObject<{
|
|
1195
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1196
|
+
}, "strip", z.ZodTypeAny, {
|
|
1197
|
+
parameters?: Record<string, any> | undefined;
|
|
1198
|
+
}, {
|
|
1199
|
+
parameters?: Record<string, any> | undefined;
|
|
1200
|
+
}>;
|
|
1201
|
+
export declare const DataCollectionFindRequestSchema: z.ZodObject<{
|
|
1202
|
+
query: z.ZodOptional<z.ZodAny>;
|
|
1203
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1204
|
+
}, "strip", z.ZodTypeAny, {
|
|
1205
|
+
cursor?: string | undefined;
|
|
1206
|
+
query?: any;
|
|
1207
|
+
}, {
|
|
1208
|
+
cursor?: string | undefined;
|
|
1209
|
+
query?: any;
|
|
1210
|
+
}>;
|
|
1211
|
+
export declare const DataCollectionFindResponseSchema: z.ZodObject<{
|
|
1212
|
+
records: z.ZodArray<z.ZodObject<{
|
|
1213
|
+
id: z.ZodString;
|
|
1214
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
iconUri: z.ZodOptional<z.ZodString>;
|
|
1217
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1218
|
+
udm: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
unifiedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1220
|
+
rawFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1221
|
+
createdTime: z.ZodOptional<z.ZodString>;
|
|
1222
|
+
updatedTime: z.ZodOptional<z.ZodString>;
|
|
1223
|
+
deletedTime: z.ZodOptional<z.ZodString>;
|
|
1224
|
+
createdById: z.ZodOptional<z.ZodString>;
|
|
1225
|
+
updatedById: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
}, "strip", z.ZodTypeAny, {
|
|
1227
|
+
id: string;
|
|
1228
|
+
name?: string | undefined;
|
|
1229
|
+
uri?: string | undefined;
|
|
1230
|
+
iconUri?: string | undefined;
|
|
1231
|
+
fields?: Record<string, any> | undefined;
|
|
1232
|
+
udm?: string | undefined;
|
|
1233
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1234
|
+
rawFields?: Record<string, any> | undefined;
|
|
1235
|
+
createdTime?: string | undefined;
|
|
1236
|
+
updatedTime?: string | undefined;
|
|
1237
|
+
deletedTime?: string | undefined;
|
|
1238
|
+
createdById?: string | undefined;
|
|
1239
|
+
updatedById?: string | undefined;
|
|
1240
|
+
}, {
|
|
1241
|
+
id: string;
|
|
1242
|
+
name?: string | undefined;
|
|
1243
|
+
uri?: string | undefined;
|
|
1244
|
+
iconUri?: string | undefined;
|
|
1245
|
+
fields?: Record<string, any> | undefined;
|
|
1246
|
+
udm?: string | undefined;
|
|
1247
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1248
|
+
rawFields?: Record<string, any> | undefined;
|
|
1249
|
+
createdTime?: string | undefined;
|
|
1250
|
+
updatedTime?: string | undefined;
|
|
1251
|
+
deletedTime?: string | undefined;
|
|
1252
|
+
createdById?: string | undefined;
|
|
1253
|
+
updatedById?: string | undefined;
|
|
1254
|
+
}>, "many">;
|
|
1255
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1256
|
+
}, "strip", z.ZodTypeAny, {
|
|
1257
|
+
records: {
|
|
1258
|
+
id: string;
|
|
1259
|
+
name?: string | undefined;
|
|
1260
|
+
uri?: string | undefined;
|
|
1261
|
+
iconUri?: string | undefined;
|
|
1262
|
+
fields?: Record<string, any> | undefined;
|
|
1263
|
+
udm?: string | undefined;
|
|
1264
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1265
|
+
rawFields?: Record<string, any> | undefined;
|
|
1266
|
+
createdTime?: string | undefined;
|
|
1267
|
+
updatedTime?: string | undefined;
|
|
1268
|
+
deletedTime?: string | undefined;
|
|
1269
|
+
createdById?: string | undefined;
|
|
1270
|
+
updatedById?: string | undefined;
|
|
1271
|
+
}[];
|
|
1272
|
+
cursor?: string | undefined;
|
|
1273
|
+
}, {
|
|
1274
|
+
records: {
|
|
1275
|
+
id: string;
|
|
1276
|
+
name?: string | undefined;
|
|
1277
|
+
uri?: string | undefined;
|
|
1278
|
+
iconUri?: string | undefined;
|
|
1279
|
+
fields?: Record<string, any> | undefined;
|
|
1280
|
+
udm?: string | undefined;
|
|
1281
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1282
|
+
rawFields?: Record<string, any> | undefined;
|
|
1283
|
+
createdTime?: string | undefined;
|
|
1284
|
+
updatedTime?: string | undefined;
|
|
1285
|
+
deletedTime?: string | undefined;
|
|
1286
|
+
createdById?: string | undefined;
|
|
1287
|
+
updatedById?: string | undefined;
|
|
1288
|
+
}[];
|
|
1289
|
+
cursor?: string | undefined;
|
|
1290
|
+
}>;
|
|
1291
|
+
export declare const DataCollectionListRequestSchema: z.ZodObject<{
|
|
1292
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1293
|
+
} & {
|
|
1294
|
+
filter: z.ZodOptional<z.ZodAny>;
|
|
1295
|
+
unifiedFilter: z.ZodOptional<z.ZodAny>;
|
|
1296
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1297
|
+
}, "strip", z.ZodTypeAny, {
|
|
1298
|
+
filter?: any;
|
|
1299
|
+
cursor?: string | undefined;
|
|
1300
|
+
parameters?: Record<string, any> | undefined;
|
|
1301
|
+
unifiedFilter?: any;
|
|
1302
|
+
}, {
|
|
1303
|
+
filter?: any;
|
|
1304
|
+
cursor?: string | undefined;
|
|
1305
|
+
parameters?: Record<string, any> | undefined;
|
|
1306
|
+
unifiedFilter?: any;
|
|
1307
|
+
}>;
|
|
1308
|
+
export declare const DataCollectionListResponseDrilldownSchema: z.ZodObject<{
|
|
1309
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1310
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1311
|
+
}, "strip", z.ZodTypeAny, {
|
|
1312
|
+
filter?: Record<string, any> | undefined;
|
|
1313
|
+
parameters?: Record<string, any> | undefined;
|
|
1314
|
+
}, {
|
|
1315
|
+
filter?: Record<string, any> | undefined;
|
|
1316
|
+
parameters?: Record<string, any> | undefined;
|
|
1317
|
+
}>;
|
|
1318
|
+
export declare const DataCollectionListResponseSchema: z.ZodObject<{
|
|
1319
|
+
records: z.ZodArray<z.ZodObject<{
|
|
1320
|
+
id: z.ZodString;
|
|
1321
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1322
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
iconUri: z.ZodOptional<z.ZodString>;
|
|
1324
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1325
|
+
udm: z.ZodOptional<z.ZodString>;
|
|
1326
|
+
unifiedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1327
|
+
rawFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1328
|
+
createdTime: z.ZodOptional<z.ZodString>;
|
|
1329
|
+
updatedTime: z.ZodOptional<z.ZodString>;
|
|
1330
|
+
deletedTime: z.ZodOptional<z.ZodString>;
|
|
1331
|
+
createdById: z.ZodOptional<z.ZodString>;
|
|
1332
|
+
updatedById: z.ZodOptional<z.ZodString>;
|
|
1333
|
+
}, "strip", z.ZodTypeAny, {
|
|
1334
|
+
id: string;
|
|
1335
|
+
name?: string | undefined;
|
|
1336
|
+
uri?: string | undefined;
|
|
1337
|
+
iconUri?: string | undefined;
|
|
1338
|
+
fields?: Record<string, any> | undefined;
|
|
1339
|
+
udm?: string | undefined;
|
|
1340
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1341
|
+
rawFields?: Record<string, any> | undefined;
|
|
1342
|
+
createdTime?: string | undefined;
|
|
1343
|
+
updatedTime?: string | undefined;
|
|
1344
|
+
deletedTime?: string | undefined;
|
|
1345
|
+
createdById?: string | undefined;
|
|
1346
|
+
updatedById?: string | undefined;
|
|
1347
|
+
}, {
|
|
1348
|
+
id: string;
|
|
1349
|
+
name?: string | undefined;
|
|
1350
|
+
uri?: string | undefined;
|
|
1351
|
+
iconUri?: string | undefined;
|
|
1352
|
+
fields?: Record<string, any> | undefined;
|
|
1353
|
+
udm?: string | undefined;
|
|
1354
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1355
|
+
rawFields?: Record<string, any> | undefined;
|
|
1356
|
+
createdTime?: string | undefined;
|
|
1357
|
+
updatedTime?: string | undefined;
|
|
1358
|
+
deletedTime?: string | undefined;
|
|
1359
|
+
createdById?: string | undefined;
|
|
1360
|
+
updatedById?: string | undefined;
|
|
1361
|
+
}>, "many">;
|
|
1362
|
+
drilldowns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1363
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1364
|
+
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1365
|
+
}, "strip", z.ZodTypeAny, {
|
|
1366
|
+
filter?: Record<string, any> | undefined;
|
|
1367
|
+
parameters?: Record<string, any> | undefined;
|
|
1368
|
+
}, {
|
|
1369
|
+
filter?: Record<string, any> | undefined;
|
|
1370
|
+
parameters?: Record<string, any> | undefined;
|
|
1371
|
+
}>, "many">>;
|
|
1372
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1373
|
+
}, "strip", z.ZodTypeAny, {
|
|
1374
|
+
records: {
|
|
1375
|
+
id: string;
|
|
1376
|
+
name?: string | undefined;
|
|
1377
|
+
uri?: string | undefined;
|
|
1378
|
+
iconUri?: string | undefined;
|
|
1379
|
+
fields?: Record<string, any> | undefined;
|
|
1380
|
+
udm?: string | undefined;
|
|
1381
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1382
|
+
rawFields?: Record<string, any> | undefined;
|
|
1383
|
+
createdTime?: string | undefined;
|
|
1384
|
+
updatedTime?: string | undefined;
|
|
1385
|
+
deletedTime?: string | undefined;
|
|
1386
|
+
createdById?: string | undefined;
|
|
1387
|
+
updatedById?: string | undefined;
|
|
1388
|
+
}[];
|
|
1389
|
+
cursor?: string | undefined;
|
|
1390
|
+
drilldowns?: {
|
|
1391
|
+
filter?: Record<string, any> | undefined;
|
|
1392
|
+
parameters?: Record<string, any> | undefined;
|
|
1393
|
+
}[] | undefined;
|
|
1394
|
+
}, {
|
|
1395
|
+
records: {
|
|
1396
|
+
id: string;
|
|
1397
|
+
name?: string | undefined;
|
|
1398
|
+
uri?: string | undefined;
|
|
1399
|
+
iconUri?: string | undefined;
|
|
1400
|
+
fields?: Record<string, any> | undefined;
|
|
1401
|
+
udm?: string | undefined;
|
|
1402
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1403
|
+
rawFields?: Record<string, any> | undefined;
|
|
1404
|
+
createdTime?: string | undefined;
|
|
1405
|
+
updatedTime?: string | undefined;
|
|
1406
|
+
deletedTime?: string | undefined;
|
|
1407
|
+
createdById?: string | undefined;
|
|
1408
|
+
updatedById?: string | undefined;
|
|
1409
|
+
}[];
|
|
1410
|
+
cursor?: string | undefined;
|
|
1411
|
+
drilldowns?: {
|
|
1412
|
+
filter?: Record<string, any> | undefined;
|
|
1413
|
+
parameters?: Record<string, any> | undefined;
|
|
1414
|
+
}[] | undefined;
|
|
1415
|
+
}>;
|
|
1416
|
+
export declare const DataCollectionSearchRequestSchema: z.ZodObject<{
|
|
1417
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1418
|
+
} & {
|
|
1419
|
+
query: z.ZodString;
|
|
1420
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1421
|
+
}, "strip", z.ZodTypeAny, {
|
|
1422
|
+
query: string;
|
|
1423
|
+
cursor?: string | undefined;
|
|
1424
|
+
parameters?: Record<string, any> | undefined;
|
|
1425
|
+
}, {
|
|
1426
|
+
query: string;
|
|
1427
|
+
cursor?: string | undefined;
|
|
1428
|
+
parameters?: Record<string, any> | undefined;
|
|
1429
|
+
}>;
|
|
1430
|
+
export declare const DataCollectionSearchResponseSchema: z.ZodObject<{
|
|
1431
|
+
records: z.ZodArray<z.ZodObject<{
|
|
1432
|
+
id: z.ZodString;
|
|
1433
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1434
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1435
|
+
iconUri: z.ZodOptional<z.ZodString>;
|
|
1436
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1437
|
+
udm: z.ZodOptional<z.ZodString>;
|
|
1438
|
+
unifiedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1439
|
+
rawFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1440
|
+
createdTime: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
updatedTime: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
deletedTime: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
createdById: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
updatedById: z.ZodOptional<z.ZodString>;
|
|
1445
|
+
}, "strip", z.ZodTypeAny, {
|
|
1446
|
+
id: string;
|
|
1447
|
+
name?: string | undefined;
|
|
1448
|
+
uri?: string | undefined;
|
|
1449
|
+
iconUri?: string | undefined;
|
|
1450
|
+
fields?: Record<string, any> | undefined;
|
|
1451
|
+
udm?: string | undefined;
|
|
1452
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1453
|
+
rawFields?: Record<string, any> | undefined;
|
|
1454
|
+
createdTime?: string | undefined;
|
|
1455
|
+
updatedTime?: string | undefined;
|
|
1456
|
+
deletedTime?: string | undefined;
|
|
1457
|
+
createdById?: string | undefined;
|
|
1458
|
+
updatedById?: string | undefined;
|
|
1459
|
+
}, {
|
|
1460
|
+
id: string;
|
|
1461
|
+
name?: string | undefined;
|
|
1462
|
+
uri?: string | undefined;
|
|
1463
|
+
iconUri?: string | undefined;
|
|
1464
|
+
fields?: Record<string, any> | undefined;
|
|
1465
|
+
udm?: string | undefined;
|
|
1466
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1467
|
+
rawFields?: Record<string, any> | undefined;
|
|
1468
|
+
createdTime?: string | undefined;
|
|
1469
|
+
updatedTime?: string | undefined;
|
|
1470
|
+
deletedTime?: string | undefined;
|
|
1471
|
+
createdById?: string | undefined;
|
|
1472
|
+
updatedById?: string | undefined;
|
|
1473
|
+
}>, "many">;
|
|
1474
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1475
|
+
}, "strip", z.ZodTypeAny, {
|
|
1476
|
+
records: {
|
|
1477
|
+
id: string;
|
|
1478
|
+
name?: string | undefined;
|
|
1479
|
+
uri?: string | undefined;
|
|
1480
|
+
iconUri?: string | undefined;
|
|
1481
|
+
fields?: Record<string, any> | undefined;
|
|
1482
|
+
udm?: string | undefined;
|
|
1483
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1484
|
+
rawFields?: Record<string, any> | undefined;
|
|
1485
|
+
createdTime?: string | undefined;
|
|
1486
|
+
updatedTime?: string | undefined;
|
|
1487
|
+
deletedTime?: string | undefined;
|
|
1488
|
+
createdById?: string | undefined;
|
|
1489
|
+
updatedById?: string | undefined;
|
|
1490
|
+
}[];
|
|
1491
|
+
cursor?: string | undefined;
|
|
1492
|
+
}, {
|
|
1493
|
+
records: {
|
|
1494
|
+
id: string;
|
|
1495
|
+
name?: string | undefined;
|
|
1496
|
+
uri?: string | undefined;
|
|
1497
|
+
iconUri?: string | undefined;
|
|
1498
|
+
fields?: Record<string, any> | undefined;
|
|
1499
|
+
udm?: string | undefined;
|
|
1500
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1501
|
+
rawFields?: Record<string, any> | undefined;
|
|
1502
|
+
createdTime?: string | undefined;
|
|
1503
|
+
updatedTime?: string | undefined;
|
|
1504
|
+
deletedTime?: string | undefined;
|
|
1505
|
+
createdById?: string | undefined;
|
|
1506
|
+
updatedById?: string | undefined;
|
|
1507
|
+
}[];
|
|
1508
|
+
cursor?: string | undefined;
|
|
1509
|
+
}>;
|
|
1510
|
+
export declare const DataCollectionFindByIdRequestSchema: z.ZodObject<{
|
|
1511
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1512
|
+
} & {
|
|
1513
|
+
id: z.ZodString;
|
|
1514
|
+
udm: z.ZodOptional<z.ZodString>;
|
|
1515
|
+
}, "strip", z.ZodTypeAny, {
|
|
1516
|
+
id: string;
|
|
1517
|
+
udm?: string | undefined;
|
|
1518
|
+
parameters?: Record<string, any> | undefined;
|
|
1519
|
+
}, {
|
|
1520
|
+
id: string;
|
|
1521
|
+
udm?: string | undefined;
|
|
1522
|
+
parameters?: Record<string, any> | undefined;
|
|
1523
|
+
}>;
|
|
1524
|
+
export declare const DataCollectionFindByIdResponseSchema: z.ZodObject<{
|
|
1525
|
+
record: z.ZodObject<{
|
|
1526
|
+
id: z.ZodString;
|
|
1527
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1528
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1529
|
+
iconUri: z.ZodOptional<z.ZodString>;
|
|
1530
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1531
|
+
udm: z.ZodOptional<z.ZodString>;
|
|
1532
|
+
unifiedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1533
|
+
rawFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1534
|
+
createdTime: z.ZodOptional<z.ZodString>;
|
|
1535
|
+
updatedTime: z.ZodOptional<z.ZodString>;
|
|
1536
|
+
deletedTime: z.ZodOptional<z.ZodString>;
|
|
1537
|
+
createdById: z.ZodOptional<z.ZodString>;
|
|
1538
|
+
updatedById: z.ZodOptional<z.ZodString>;
|
|
1539
|
+
}, "strip", z.ZodTypeAny, {
|
|
1540
|
+
id: string;
|
|
1541
|
+
name?: string | undefined;
|
|
1542
|
+
uri?: string | undefined;
|
|
1543
|
+
iconUri?: string | undefined;
|
|
1544
|
+
fields?: Record<string, any> | undefined;
|
|
1545
|
+
udm?: string | undefined;
|
|
1546
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1547
|
+
rawFields?: Record<string, any> | undefined;
|
|
1548
|
+
createdTime?: string | undefined;
|
|
1549
|
+
updatedTime?: string | undefined;
|
|
1550
|
+
deletedTime?: string | undefined;
|
|
1551
|
+
createdById?: string | undefined;
|
|
1552
|
+
updatedById?: string | undefined;
|
|
1553
|
+
}, {
|
|
1554
|
+
id: string;
|
|
1555
|
+
name?: string | undefined;
|
|
1556
|
+
uri?: string | undefined;
|
|
1557
|
+
iconUri?: string | undefined;
|
|
1558
|
+
fields?: Record<string, any> | undefined;
|
|
1559
|
+
udm?: string | undefined;
|
|
1560
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1561
|
+
rawFields?: Record<string, any> | undefined;
|
|
1562
|
+
createdTime?: string | undefined;
|
|
1563
|
+
updatedTime?: string | undefined;
|
|
1564
|
+
deletedTime?: string | undefined;
|
|
1565
|
+
createdById?: string | undefined;
|
|
1566
|
+
updatedById?: string | undefined;
|
|
1567
|
+
}>;
|
|
1568
|
+
}, "strip", z.ZodTypeAny, {
|
|
1569
|
+
record: {
|
|
1570
|
+
id: string;
|
|
1571
|
+
name?: string | undefined;
|
|
1572
|
+
uri?: string | undefined;
|
|
1573
|
+
iconUri?: string | undefined;
|
|
1574
|
+
fields?: Record<string, any> | undefined;
|
|
1575
|
+
udm?: string | undefined;
|
|
1576
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1577
|
+
rawFields?: Record<string, any> | undefined;
|
|
1578
|
+
createdTime?: string | undefined;
|
|
1579
|
+
updatedTime?: string | undefined;
|
|
1580
|
+
deletedTime?: string | undefined;
|
|
1581
|
+
createdById?: string | undefined;
|
|
1582
|
+
updatedById?: string | undefined;
|
|
1583
|
+
};
|
|
1584
|
+
}, {
|
|
1585
|
+
record: {
|
|
1586
|
+
id: string;
|
|
1587
|
+
name?: string | undefined;
|
|
1588
|
+
uri?: string | undefined;
|
|
1589
|
+
iconUri?: string | undefined;
|
|
1590
|
+
fields?: Record<string, any> | undefined;
|
|
1591
|
+
udm?: string | undefined;
|
|
1592
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1593
|
+
rawFields?: Record<string, any> | undefined;
|
|
1594
|
+
createdTime?: string | undefined;
|
|
1595
|
+
updatedTime?: string | undefined;
|
|
1596
|
+
deletedTime?: string | undefined;
|
|
1597
|
+
createdById?: string | undefined;
|
|
1598
|
+
updatedById?: string | undefined;
|
|
1599
|
+
};
|
|
1600
|
+
}>;
|
|
1601
|
+
export declare const DataCollectionMatchRequestSchema: z.ZodObject<{
|
|
1602
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1603
|
+
} & {
|
|
1604
|
+
query: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1605
|
+
}, "strip", z.ZodTypeAny, {
|
|
1606
|
+
query: Record<string, any>;
|
|
1607
|
+
parameters?: Record<string, any> | undefined;
|
|
1608
|
+
}, {
|
|
1609
|
+
query: Record<string, any>;
|
|
1610
|
+
parameters?: Record<string, any> | undefined;
|
|
1611
|
+
}>;
|
|
1612
|
+
export declare const DataCollectionMatchResponseSchema: z.ZodObject<{
|
|
1613
|
+
record: z.ZodOptional<z.ZodObject<{
|
|
1614
|
+
id: z.ZodString;
|
|
1615
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1616
|
+
uri: z.ZodOptional<z.ZodString>;
|
|
1617
|
+
iconUri: z.ZodOptional<z.ZodString>;
|
|
1618
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1619
|
+
udm: z.ZodOptional<z.ZodString>;
|
|
1620
|
+
unifiedFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1621
|
+
rawFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1622
|
+
createdTime: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
updatedTime: z.ZodOptional<z.ZodString>;
|
|
1624
|
+
deletedTime: z.ZodOptional<z.ZodString>;
|
|
1625
|
+
createdById: z.ZodOptional<z.ZodString>;
|
|
1626
|
+
updatedById: z.ZodOptional<z.ZodString>;
|
|
1627
|
+
}, "strip", z.ZodTypeAny, {
|
|
1628
|
+
id: string;
|
|
1629
|
+
name?: string | undefined;
|
|
1630
|
+
uri?: string | undefined;
|
|
1631
|
+
iconUri?: string | undefined;
|
|
1632
|
+
fields?: Record<string, any> | undefined;
|
|
1633
|
+
udm?: string | undefined;
|
|
1634
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1635
|
+
rawFields?: Record<string, any> | undefined;
|
|
1636
|
+
createdTime?: string | undefined;
|
|
1637
|
+
updatedTime?: string | undefined;
|
|
1638
|
+
deletedTime?: string | undefined;
|
|
1639
|
+
createdById?: string | undefined;
|
|
1640
|
+
updatedById?: string | undefined;
|
|
1641
|
+
}, {
|
|
1642
|
+
id: string;
|
|
1643
|
+
name?: string | undefined;
|
|
1644
|
+
uri?: string | undefined;
|
|
1645
|
+
iconUri?: string | undefined;
|
|
1646
|
+
fields?: Record<string, any> | undefined;
|
|
1647
|
+
udm?: string | undefined;
|
|
1648
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1649
|
+
rawFields?: Record<string, any> | undefined;
|
|
1650
|
+
createdTime?: string | undefined;
|
|
1651
|
+
updatedTime?: string | undefined;
|
|
1652
|
+
deletedTime?: string | undefined;
|
|
1653
|
+
createdById?: string | undefined;
|
|
1654
|
+
updatedById?: string | undefined;
|
|
1655
|
+
}>>;
|
|
1656
|
+
}, "strip", z.ZodTypeAny, {
|
|
1657
|
+
record?: {
|
|
1658
|
+
id: string;
|
|
1659
|
+
name?: string | undefined;
|
|
1660
|
+
uri?: string | undefined;
|
|
1661
|
+
iconUri?: string | undefined;
|
|
1662
|
+
fields?: Record<string, any> | undefined;
|
|
1663
|
+
udm?: string | undefined;
|
|
1664
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1665
|
+
rawFields?: Record<string, any> | undefined;
|
|
1666
|
+
createdTime?: string | undefined;
|
|
1667
|
+
updatedTime?: string | undefined;
|
|
1668
|
+
deletedTime?: string | undefined;
|
|
1669
|
+
createdById?: string | undefined;
|
|
1670
|
+
updatedById?: string | undefined;
|
|
1671
|
+
} | undefined;
|
|
1672
|
+
}, {
|
|
1673
|
+
record?: {
|
|
1674
|
+
id: string;
|
|
1675
|
+
name?: string | undefined;
|
|
1676
|
+
uri?: string | undefined;
|
|
1677
|
+
iconUri?: string | undefined;
|
|
1678
|
+
fields?: Record<string, any> | undefined;
|
|
1679
|
+
udm?: string | undefined;
|
|
1680
|
+
unifiedFields?: Record<string, any> | undefined;
|
|
1681
|
+
rawFields?: Record<string, any> | undefined;
|
|
1682
|
+
createdTime?: string | undefined;
|
|
1683
|
+
updatedTime?: string | undefined;
|
|
1684
|
+
deletedTime?: string | undefined;
|
|
1685
|
+
createdById?: string | undefined;
|
|
1686
|
+
updatedById?: string | undefined;
|
|
1687
|
+
} | undefined;
|
|
1688
|
+
}>;
|
|
1689
|
+
export declare const DataCollectionCreateRequestSchema: z.ZodObject<{
|
|
1690
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1691
|
+
} & {
|
|
1692
|
+
fields: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1693
|
+
}, "strip", z.ZodTypeAny, {
|
|
1694
|
+
fields: Record<string, any>;
|
|
1695
|
+
parameters?: Record<string, any> | undefined;
|
|
1696
|
+
}, {
|
|
1697
|
+
fields: Record<string, any>;
|
|
1698
|
+
parameters?: Record<string, any> | undefined;
|
|
1699
|
+
}>;
|
|
1700
|
+
export declare const DataCollectionCreateResponseSchema: z.ZodObject<{
|
|
1701
|
+
id: z.ZodString;
|
|
1702
|
+
}, "strip", z.ZodTypeAny, {
|
|
1703
|
+
id: string;
|
|
1704
|
+
}, {
|
|
1705
|
+
id: string;
|
|
1706
|
+
}>;
|
|
1707
|
+
export declare const DataCollectionUpdateRequestSchema: z.ZodObject<{
|
|
1708
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1709
|
+
} & {
|
|
1710
|
+
id: z.ZodString;
|
|
1711
|
+
fields: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1712
|
+
}, "strip", z.ZodTypeAny, {
|
|
1713
|
+
id: string;
|
|
1714
|
+
fields: Record<string, any>;
|
|
1715
|
+
parameters?: Record<string, any> | undefined;
|
|
1716
|
+
}, {
|
|
1717
|
+
id: string;
|
|
1718
|
+
fields: Record<string, any>;
|
|
1719
|
+
parameters?: Record<string, any> | undefined;
|
|
1720
|
+
}>;
|
|
1721
|
+
export declare const DataCollectionUpdateResponseSchema: z.ZodObject<{
|
|
1722
|
+
id: z.ZodString;
|
|
1723
|
+
}, "strip", z.ZodTypeAny, {
|
|
1724
|
+
id: string;
|
|
1725
|
+
}, {
|
|
1726
|
+
id: string;
|
|
1727
|
+
}>;
|
|
1728
|
+
export declare const DataCollectionDeleteRequestSchema: z.ZodObject<{
|
|
1729
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1730
|
+
} & {
|
|
1731
|
+
id: z.ZodString;
|
|
1732
|
+
}, "strip", z.ZodTypeAny, {
|
|
1733
|
+
id: string;
|
|
1734
|
+
parameters?: Record<string, any> | undefined;
|
|
1735
|
+
}, {
|
|
1736
|
+
id: string;
|
|
1737
|
+
parameters?: Record<string, any> | undefined;
|
|
1738
|
+
}>;
|
|
1739
|
+
export declare const DataCollectionDeleteResponseSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1740
|
+
export type DataCollectionMethodRequest = z.infer<typeof DataCollectionMethodRequestSchema>;
|
|
1741
|
+
export type DataCollectionFindRequest = z.infer<typeof DataCollectionFindRequestSchema>;
|
|
1742
|
+
export type DataCollectionFindResponse = z.infer<typeof DataCollectionFindResponseSchema>;
|
|
1743
|
+
export type DataCollectionListRequest = z.infer<typeof DataCollectionListRequestSchema>;
|
|
1744
|
+
export type DataCollectionListResponseDrilldown = z.infer<typeof DataCollectionListResponseDrilldownSchema>;
|
|
1745
|
+
export type DataCollectionListResponse = z.infer<typeof DataCollectionListResponseSchema>;
|
|
1746
|
+
export type DataCollectionSearchRequest = z.infer<typeof DataCollectionSearchRequestSchema>;
|
|
1747
|
+
export type DataCollectionSearchResponse = z.infer<typeof DataCollectionSearchResponseSchema>;
|
|
1748
|
+
export type DataCollectionFindByIdRequest = z.infer<typeof DataCollectionFindByIdRequestSchema>;
|
|
1749
|
+
export type DataCollectionFindByIdResponse = z.infer<typeof DataCollectionFindByIdResponseSchema>;
|
|
1750
|
+
export type DataCollectionMatchRequest = z.infer<typeof DataCollectionMatchRequestSchema>;
|
|
1751
|
+
export type DataCollectionMatchResponse = z.infer<typeof DataCollectionMatchResponseSchema>;
|
|
1752
|
+
export type DataCollectionCreateRequest = z.infer<typeof DataCollectionCreateRequestSchema>;
|
|
1753
|
+
export type DataCollectionCreateResponse = z.infer<typeof DataCollectionCreateResponseSchema>;
|
|
1754
|
+
export type DataCollectionUpdateRequest = z.infer<typeof DataCollectionUpdateRequestSchema>;
|
|
1755
|
+
export type DataCollectionUpdateResponse = z.infer<typeof DataCollectionUpdateResponseSchema>;
|
|
1756
|
+
export type DataCollectionDeleteRequest = z.infer<typeof DataCollectionDeleteRequestSchema>;
|
|
1757
|
+
export type DataCollectionDeleteResponse = z.infer<typeof DataCollectionDeleteResponseSchema>;
|
|
1758
|
+
export interface DataCollectionSubscribeRequest extends DataCollectionMethodRequest {
|
|
1759
|
+
events?: {
|
|
1760
|
+
created?: boolean;
|
|
1761
|
+
updated?: boolean;
|
|
1762
|
+
deleted?: boolean;
|
|
1763
|
+
};
|
|
1764
|
+
udm?: string;
|
|
1765
|
+
webhookUri: string;
|
|
1766
|
+
}
|
|
1767
|
+
export interface DataCollectionSubscribeResponse {
|
|
1768
|
+
subscriptionId: string;
|
|
1769
|
+
pullIntervalSeconds?: number;
|
|
1770
|
+
cursor?: string;
|
|
1771
|
+
}
|
|
1772
|
+
export interface DataCollectionUpdateSubscriptionRequest extends DataCollectionSubscribeRequest {
|
|
1773
|
+
subscriptionId: string;
|
|
1774
|
+
cursor?: string;
|
|
1775
|
+
}
|
|
1776
|
+
export interface DataCollectionUpdateSubscriptionResponse extends Omit<DataCollectionSubscribeResponse, 'subscriptionId'> {
|
|
1777
|
+
}
|
|
1778
|
+
export interface DataCollectionUnsubscribeRequest {
|
|
1779
|
+
subscriptionId: string;
|
|
1780
|
+
}
|
|
1781
|
+
export interface DataCollectionUnsubscribeResponse {
|
|
1782
|
+
}
|
|
1783
|
+
export interface DataCollectionEventsRequest extends DataCollectionMethodRequest {
|
|
1784
|
+
subscriptionId: string;
|
|
1785
|
+
cursor: string;
|
|
1786
|
+
}
|
|
1787
|
+
export interface DataCollectionEventsResponse {
|
|
1788
|
+
events: DataCollectionEvent[];
|
|
1789
|
+
cursor?: string;
|
|
1790
|
+
state?: any;
|
|
1791
|
+
}
|
|
1792
|
+
export interface DataEventWebhookPayload {
|
|
1793
|
+
subscriptionId: string;
|
|
1794
|
+
events: DataCollectionEvent[];
|
|
1795
|
+
}
|
|
1796
|
+
export interface DataCollectionParseUnifiedFieldsRequest {
|
|
1797
|
+
udm: string;
|
|
1798
|
+
unifiedFields: Record<string, any>;
|
|
1799
|
+
}
|
|
1800
|
+
export interface DataCollectionParseUnifiedFieldsResponse {
|
|
1801
|
+
fields: any;
|
|
1802
|
+
}
|
|
1803
|
+
export declare const ConnectorDataLocationTypes: {
|
|
1804
|
+
collection: {
|
|
1805
|
+
spec: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1806
|
+
recordFromFields: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1807
|
+
customFieldsSchema: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1808
|
+
fieldsFromApi: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1809
|
+
fieldsToApi: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1810
|
+
methods: {
|
|
1811
|
+
list: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<import("./data-locations/collections/methods/list").DataCollectionListConfigType>;
|
|
1812
|
+
findById: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1813
|
+
match: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<import("./data-locations/collections/methods/match").DataCollectionMatchConfigType>;
|
|
1814
|
+
search: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1815
|
+
create: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<import("./data-locations/collections/methods/create").DataCollectionCreateConfigType>;
|
|
1816
|
+
update: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<import("./data-locations/collections/methods/update").DataCollectionUpdateConfigType>;
|
|
1817
|
+
delete: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1818
|
+
find: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<{
|
|
1819
|
+
queryFields: string[];
|
|
1820
|
+
}>;
|
|
1821
|
+
};
|
|
1822
|
+
recordToApi: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1823
|
+
recordFromApi: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1824
|
+
recordFromApiMapping: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1825
|
+
recordFromApiCode: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1826
|
+
fieldsToApiMapping: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1827
|
+
fieldsToApiCode: import("./data-locations/collections/methods/base").ConnectorDataCollectionMethodType<unknown>;
|
|
1828
|
+
};
|
|
1829
|
+
};
|