twenty-sdk 0.3.0 → 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/README.md +139 -44
- package/dist/HtmlTagToRemoteComponent-Bd5sgek2.js +1 -0
- package/dist/HtmlTagToRemoteComponent-DlsAI7JU.mjs +146 -0
- package/dist/RatingValues-CT-y6O0b-CsGZSJKO.mjs +402 -0
- package/dist/RatingValues-CT-y6O0b-D7JSZAMu.js +1 -0
- package/dist/cli/commands/app/app-dev.d.ts +25 -0
- package/dist/cli/commands/{app-generate.command.d.ts → app/app-generate.d.ts} +1 -1
- package/dist/cli/commands/{app-uninstall.command.d.ts → app/app-uninstall.d.ts} +1 -1
- package/dist/cli/commands/app-command.d.ts +2 -0
- package/dist/cli/commands/auth/auth-list.d.ts +4 -0
- package/dist/cli/commands/auth/auth-login.d.ts +8 -0
- package/dist/cli/commands/auth/auth-logout.d.ts +4 -0
- package/dist/cli/commands/auth/auth-status.d.ts +5 -0
- package/dist/cli/commands/auth/auth-switch.d.ts +7 -0
- package/dist/cli/commands/entity/entity-add.d.ts +12 -0
- package/dist/cli/commands/logic-function/logic-function-execute.d.ts +10 -0
- package/dist/cli/commands/{app-logs.command.d.ts → logic-function/logic-function-logs.d.ts} +1 -1
- package/dist/cli/utilities/api/api-service.d.ts +51 -0
- package/dist/cli/utilities/build/common/cleanup-removed-files.d.ts +1 -0
- package/dist/cli/utilities/build/common/esbuild-result-processor.d.ts +11 -0
- package/dist/cli/utilities/build/common/esbuild-watcher.d.ts +37 -0
- package/dist/cli/utilities/build/common/file-upload-watcher.d.ts +24 -0
- package/dist/cli/utilities/build/common/front-component-build/jsx-transform-to-remote-dom-worker-format-plugin.d.ts +3 -0
- package/dist/cli/utilities/build/common/front-component-build/react-globals-plugin.d.ts +2 -0
- package/dist/cli/utilities/build/common/front-component-build/types/ParsedImportSpecifier.d.ts +4 -0
- package/dist/cli/utilities/build/common/front-component-build/utils/extract-names-from-import-specifier.d.ts +2 -0
- package/dist/cli/utilities/build/common/front-component-build/utils/replace-html-tags-with-remote-components.d.ts +1 -0
- package/dist/cli/utilities/build/common/front-component-build/utils/unwrap-define-front-component-to-direct-export.d.ts +1 -0
- package/dist/cli/utilities/build/common/restartable-watcher-interface.d.ts +25 -0
- package/dist/cli/utilities/build/manifest/manifest-build.d.ts +7 -0
- package/dist/cli/utilities/build/manifest/manifest-extract-config-from-file.d.ts +5 -0
- package/dist/cli/utilities/build/manifest/manifest-extract-config.d.ts +20 -0
- package/dist/cli/utilities/build/manifest/manifest-types.d.ts +4 -0
- package/dist/cli/utilities/build/manifest/manifest-update-checksums.d.ts +17 -0
- package/dist/cli/utilities/build/manifest/manifest-validate.d.ts +6 -0
- package/dist/cli/utilities/build/manifest/manifest-watcher.d.ts +12 -0
- package/dist/cli/utilities/build/manifest/manifest-writer.d.ts +2 -0
- package/dist/cli/{services/generate.service.d.ts → utilities/client/client-service.d.ts} +2 -2
- package/dist/cli/{services/config.service.d.ts → utilities/config/config-service.d.ts} +4 -0
- package/dist/cli/utilities/dev/dev-mode-orchestrator.d.ts +42 -0
- package/dist/cli/utilities/dev/dev-ui-state-manager.d.ts +31 -0
- package/dist/cli/utilities/dev/dev-ui-state.d.ts +27 -0
- package/dist/cli/utilities/dev/dev-ui.d.ts +4 -0
- package/dist/cli/utilities/entity/entity-field-template.d.ts +11 -0
- package/dist/cli/utilities/entity/entity-front-component-template.d.ts +4 -0
- package/dist/cli/utilities/entity/entity-logic-function-template.d.ts +4 -0
- package/dist/cli/{utils/get-new-object-file-content.d.ts → utilities/entity/entity-object-template.d.ts} +1 -1
- package/dist/cli/{utils/jsonc-parser.d.ts → utilities/file/file-jsonc.d.ts} +1 -5
- package/dist/cli/utilities/file/file-tarball.d.ts +16 -0
- package/dist/cli/utilities/file/file-uploader.d.ts +14 -0
- package/dist/cli/{utils/get-ts-program-and-diagnostics.d.ts → utilities/typescript/typescript-program.d.ts} +1 -1
- package/dist/cli.cjs +280 -179
- package/dist/cli.mjs +11094 -9467
- package/dist/front-component/host/components/FrontComponentRenderer.d.ts +8 -0
- package/dist/front-component/host/generated/host-component-registry.d.ts +4 -0
- package/dist/front-component/host/generated/host-index.d.ts +1 -0
- package/dist/front-component/index.d.ts +10 -0
- package/dist/front-component/remote/components/FrontComponentWorkerEffect.d.ts +8 -0
- package/dist/front-component/remote/generated/remote-components.d.ts +44 -0
- package/dist/front-component/remote/generated/remote-elements.d.ts +195 -0
- package/dist/front-component/remote/generated/remote-index.d.ts +2 -0
- package/dist/front-component/remote/mock/mock-front-component.d.ts +3 -0
- package/dist/front-component/remote/worker/createRemoteWorker.d.ts +1 -0
- package/dist/front-component/remote/worker/remote-worker.d.ts +0 -0
- package/dist/front-component/types/HostToWorkerRenderContext.d.ts +3 -0
- package/dist/front-component/types/PropertySchema.d.ts +4 -0
- package/dist/front-component/types/WorkerExports.d.ts +5 -0
- package/dist/front-component-constants/AllowedHtmlElements.d.ts +11 -0
- package/dist/front-component-constants/AllowedUiComponents.d.ts +9 -0
- package/dist/front-component-constants/CommonHtmlEvents.d.ts +1 -0
- package/dist/front-component-constants/EventToReact.d.ts +1 -0
- package/dist/front-component-constants/HtmlCommonProperties.d.ts +2 -0
- package/dist/front-component-constants/HtmlTagToRemoteComponent.d.ts +1 -0
- package/dist/front-component-constants/index.d.ts +8 -0
- package/dist/front-component-constants.cjs +1 -0
- package/dist/front-component-constants.mjs +77 -0
- package/dist/front-component.cjs +328 -0
- package/dist/front-component.mjs +42579 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2183 -242
- package/dist/jsx-runtime-C9ldtZbm.mjs +10472 -0
- package/dist/jsx-runtime-CfccAQK_.js +54 -0
- package/dist/sdk/application/application-config.d.ts +2 -0
- package/dist/sdk/application/define-application.d.ts +3 -0
- package/dist/sdk/common/types/define-entity.type.d.ts +11 -0
- package/dist/sdk/common/utils/create-validation-result.d.ts +5 -0
- package/dist/{application → sdk}/fields/composite-fields.d.ts +1 -1
- package/dist/sdk/fields/define-field.d.ts +3 -0
- package/dist/sdk/fields/validate-fields.d.ts +2 -0
- package/dist/sdk/front-components/define-front-component.d.ts +3 -0
- package/dist/sdk/front-components/front-component-config.d.ts +5 -0
- package/dist/sdk/index.d.ts +22 -0
- package/dist/sdk/logic-functions/define-logic-function.d.ts +3 -0
- package/dist/sdk/logic-functions/logic-function-config.d.ts +6 -0
- package/dist/sdk/logic-functions/triggers/route-payload-type.d.ts +1 -0
- package/dist/sdk/objects/define-object.d.ts +3 -0
- package/dist/sdk/objects/standard-object-ids.d.ts +1 -0
- package/dist/sdk/roles/define-role.d.ts +3 -0
- package/dist/sdk/roles/permission-flag-type.d.ts +1 -0
- package/dist/types-Bg4PAegr.js +1 -0
- package/dist/types-DVJsIqkp.mjs +7 -0
- package/dist/vendor/twenty-shared/ObjectRecordGroupByDateGranularity-BZ0Penru.js +1 -0
- package/dist/vendor/twenty-shared/ObjectRecordGroupByDateGranularity-DmLx4uDl.mjs +263 -0
- package/dist/vendor/twenty-shared/RatingValues-Bd_cXQ5v.js +1 -0
- package/dist/vendor/twenty-shared/RatingValues-CT-y6O0b.mjs +388 -0
- package/dist/vendor/twenty-shared/application/applicationType.d.ts +17 -4
- package/dist/vendor/twenty-shared/application/applicationType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/application/assetManifestType.d.ts +7 -0
- package/dist/vendor/twenty-shared/application/assetManifestType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/constants/AssetDirectory.d.ts +2 -0
- package/dist/vendor/twenty-shared/application/constants/AssetDirectory.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/constants/GeneratedDirectory.d.ts +2 -0
- package/dist/vendor/twenty-shared/application/constants/GeneratedDirectory.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/constants/OutputDirectory.d.ts +2 -0
- package/dist/vendor/twenty-shared/application/constants/OutputDirectory.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/enums/syncable-entities.enum.d.ts +8 -0
- package/dist/vendor/twenty-shared/application/enums/syncable-entities.enum.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/fieldManifestType.d.ts +12 -1
- package/dist/vendor/twenty-shared/application/fieldManifestType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/application/frontComponentManifestType.d.ts +10 -0
- package/dist/vendor/twenty-shared/application/frontComponentManifestType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/index.d.ts +11 -5
- package/dist/vendor/twenty-shared/application/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/application/{serverlessFunctionManifestType.d.ts → logicFunctionManifestType.d.ts} +9 -5
- package/dist/vendor/twenty-shared/application/logicFunctionManifestType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/manifestType.d.ts +20 -0
- package/dist/vendor/twenty-shared/application/manifestType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/objectFieldManifest.type.d.ts +5 -0
- package/dist/vendor/twenty-shared/application/objectFieldManifest.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/objectManifestType.d.ts +2 -2
- package/dist/vendor/twenty-shared/application/objectManifestType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/application/roleManifestType.d.ts +3 -18
- package/dist/vendor/twenty-shared/application/roleManifestType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/application.cjs +1 -1
- package/dist/vendor/twenty-shared/application.mjs +8 -3
- package/dist/vendor/twenty-shared/constants/DocumentationBaseUrl.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/DocumentationBaseUrl.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/DocumentationDefaultLanguage.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/DocumentationDefaultLanguage.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/DocumentationDefaultPath.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/DocumentationDefaultPath.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/DocumentationPaths.d.ts +165 -0
- package/dist/vendor/twenty-shared/constants/DocumentationPaths.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/DocumentationSupportedLanguages.d.ts +3 -0
- package/dist/vendor/twenty-shared/constants/DocumentationSupportedLanguages.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/FilesFieldMaxNumberOfValues.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/FilesFieldMaxNumberOfValues.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/PermissionFlagType.d.ts +1 -0
- package/dist/vendor/twenty-shared/constants/PermissionFlagType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/constants/index.d.ts +8 -0
- package/dist/vendor/twenty-shared/constants/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/constants.cjs +1 -1
- package/dist/vendor/twenty-shared/constants.mjs +56 -35
- package/dist/vendor/twenty-shared/database-events/database-event-payload.type.d.ts +1 -1
- package/dist/vendor/twenty-shared/database-events/database-event-payload.type.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/database-events/object-record-delete.event.d.ts +4 -0
- package/dist/vendor/twenty-shared/database-events/object-record-delete.event.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/database-events/object-record-restore.event.d.ts +4 -0
- package/dist/vendor/twenty-shared/database-events/object-record-restore.event.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/database-events/object-record-update.event.d.ts +3 -3
- package/dist/vendor/twenty-shared/database-events/object-record-update.event.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/isValidCountryCode-D-UqlXRW.js +4 -0
- package/dist/vendor/twenty-shared/{isValidCountryCode-E35rsxfD.mjs → isValidCountryCode-Dyji5s5r.mjs} +2351 -2320
- package/dist/vendor/twenty-shared/metadata/MetadataValidationError.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/metadata/all-metadata-name.constant.d.ts +5 -4
- package/dist/vendor/twenty-shared/metadata/all-metadata-name.constant.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/metadata/index.d.ts +1 -1
- package/dist/vendor/twenty-shared/metadata/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/metadata/standard-object.constant.d.ts +2196 -0
- package/dist/vendor/twenty-shared/metadata/standard-object.constant.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/metadata.cjs +1 -1
- package/dist/vendor/twenty-shared/metadata.mjs +2025 -69
- package/dist/vendor/twenty-shared/translations/constants/AppLocales.d.ts +1 -0
- package/dist/vendor/twenty-shared/translations/constants/AppLocales.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/translations/index.d.ts +1 -0
- package/dist/vendor/twenty-shared/translations/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/translations.cjs +1 -1
- package/dist/vendor/twenty-shared/translations.mjs +2 -2
- package/dist/vendor/twenty-shared/types/ExtractSerializedRelationProperties.type.d.ts +6 -0
- package/dist/vendor/twenty-shared/types/ExtractSerializedRelationProperties.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FieldMetadataDefaultValue.d.ts +44 -88
- package/dist/vendor/twenty-shared/types/FieldMetadataDefaultValue.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/FieldMetadataOptions.d.ts +2 -1
- package/dist/vendor/twenty-shared/types/FieldMetadataOptions.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/FieldMetadataSettings.d.ts +15 -9
- package/dist/vendor/twenty-shared/types/FieldMetadataSettings.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/FieldMetadataType.d.ts +18 -17
- package/dist/vendor/twenty-shared/types/FieldMetadataType.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/FileCategory.d.ts +12 -0
- package/dist/vendor/twenty-shared/types/FileCategory.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FileFolder.d.ts +14 -0
- package/dist/vendor/twenty-shared/types/FileFolder.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/IsEmptyObject.type.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/IsEmptyObject.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/IsEmptyRecord.type.d.ts +1 -1
- package/dist/vendor/twenty-shared/types/IsEmptyRecord.type.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/IsNever.type.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/IsNever.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/IsSerializedRelation.type.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/IsSerializedRelation.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/LogicFunctionEvent.d.ts +28 -0
- package/dist/vendor/twenty-shared/types/LogicFunctionEvent.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ObjectPermissions.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/ObjectPermissions.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/OrderBy.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/OrderBy.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/QueryCursorDirection.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/QueryCursorDirection.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RecordGqlFieldsDeprecated.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/RecordGqlFieldsDeprecated.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RecordGqlOperationGqlRecordFields.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/RecordGqlOperationGqlRecordFields.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RecordGqlOperationOrderBy.d.ts +10 -0
- package/dist/vendor/twenty-shared/types/RecordGqlOperationOrderBy.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RecordGqlOperationSignature.d.ts +9 -0
- package/dist/vendor/twenty-shared/types/RecordGqlOperationSignature.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RecordGqlOperationVariables.d.ts +14 -0
- package/dist/vendor/twenty-shared/types/RecordGqlOperationVariables.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicate.d.ts +15 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicate.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateGroup.d.ts +11 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateGroup.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateGroupLogicalOperator.d.ts +5 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateGroupLogicalOperator.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateOperand.d.ts +19 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateOperand.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateValue.d.ts +6 -0
- package/dist/vendor/twenty-shared/types/RowLevelPermissionPredicateValue.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/SerializedRelation.type.d.ts +5 -0
- package/dist/vendor/twenty-shared/types/SerializedRelation.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/SettingsPath.d.ts +5 -4
- package/dist/vendor/twenty-shared/types/SettingsPath.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/__tests__/extract-serialized-relation-properties.type-test.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/__tests__/extract-serialized-relation-properties.type-test.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/index.d.ts +29 -4
- package/dist/vendor/twenty-shared/types/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/types/page-layout/PageLayoutTabLayoutMode.d.ts +6 -0
- package/dist/vendor/twenty-shared/types/page-layout/PageLayoutTabLayoutMode.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/page-layout/PageLayoutWidgetConditionalDisplay.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/page-layout/PageLayoutWidgetConditionalDisplay.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/page-layout/page-layout-widget-position.type.d.ts +18 -0
- package/dist/vendor/twenty-shared/types/page-layout/page-layout-widget-position.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types.cjs +1 -1
- package/dist/vendor/twenty-shared/types.mjs +85 -76
- package/dist/vendor/twenty-shared/utils/array/compareArraysOfObjectsByProperty.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/array/compareArraysOfObjectsByProperty.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/files/extractFolderPathFilenameAndTypeOrThrow.util.d.ts +6 -0
- package/dist/vendor/twenty-shared/utils/files/extractFolderPathFilenameAndTypeOrThrow.util.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/index.d.ts +13 -0
- package/dist/vendor/twenty-shared/utils/filter/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingArrayFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingArrayFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingBooleanFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingBooleanFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingCurrencyFilter.d.ts +10 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingCurrencyFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingDateFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingDateFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFloatFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingFloatFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingMultiSelectFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingMultiSelectFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRatingFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRatingFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRawJsonFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRawJsonFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRichTextV2Filter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingRichTextV2Filter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingSelectFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingSelectFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingStringFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingStringFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingTSVectorFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingTSVectorFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingUUIDFilter.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isMatchingUUIDFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/format/formatToShortNumber.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/format/formatToShortNumber.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/index.d.ts +19 -0
- package/dist/vendor/twenty-shared/utils/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/strings/index.d.ts +1 -0
- package/dist/vendor/twenty-shared/utils/strings/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/strings/pascalCase.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/strings/pascalCase.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/strings/stringifySafely.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/strings/stringifySafely.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/typeguard/isPlainObject.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/typeguard/isPlainObject.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/isValidLocale.d.ts +2 -2
- package/dist/vendor/twenty-shared/utils/validation/isValidLocale.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils/validation/normalizeLocale.d.ts +2 -5
- package/dist/vendor/twenty-shared/utils/validation/normalizeLocale.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/utils.cjs +2 -2
- package/dist/vendor/twenty-shared/utils.mjs +994 -522
- package/dist/vendor/twenty-shared/workflow/index.d.ts +4 -0
- package/dist/vendor/twenty-shared/workflow/index.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/code-action-schema.d.ts +2 -3
- package/dist/vendor/twenty-shared/workflow/schemas/code-action-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/code-action-settings-schema.d.ts +2 -3
- package/dist/vendor/twenty-shared/workflow/schemas/code-action-settings-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/logic-function-action-schema.d.ts +29 -0
- package/dist/vendor/twenty-shared/workflow/schemas/logic-function-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/logic-function-action-settings-schema.d.ts +18 -0
- package/dist/vendor/twenty-shared/workflow/schemas/logic-function-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-schema.d.ts +5 -1
- package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-settings-schema.d.ts +5 -1
- package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-settings-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-action-schema.d.ts +32 -4
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-action-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-schema.d.ts +32 -4
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-state-schema.d.ts +32 -4
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-state-schema.d.ts.map +1 -1
- package/dist/vendor/twenty-shared/workflow/types/EmailRecipients.d.ts +6 -0
- package/dist/vendor/twenty-shared/workflow/types/EmailRecipients.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/utils/variable-path.util.d.ts +12 -0
- package/dist/vendor/twenty-shared/workflow/utils/variable-path.util.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow.cjs +3 -3
- package/dist/vendor/twenty-shared/workflow.mjs +205 -166
- package/package.json +39 -15
- package/dist/ObjectRecordGroupByDateGranularity-CtpRADP1-Bft-VMSh.mjs +0 -3151
- package/dist/ObjectRecordGroupByDateGranularity-CtpRADP1-Duv5iOeZ.js +0 -20
- package/dist/application/application-config.d.ts +0 -2
- package/dist/application/define-app.d.ts +0 -18
- package/dist/application/fields/field.decorator.d.ts +0 -3
- package/dist/application/fields/relation.decorator.d.ts +0 -28
- package/dist/application/functions/define-function.d.ts +0 -28
- package/dist/application/functions/function-config.d.ts +0 -9
- package/dist/application/index.d.ts +0 -19
- package/dist/application/objects/define-object.d.ts +0 -35
- package/dist/application/objects/object.decorator.d.ts +0 -4
- package/dist/application/objects/standard-object-ids.d.ts +0 -1
- package/dist/application/permission-flag-type.d.ts +0 -1
- package/dist/application/role-config.d.ts +0 -2
- package/dist/application/roles/define-role.d.ts +0 -26
- package/dist/cli/commands/app-add.command.d.ts +0 -13
- package/dist/cli/commands/app-dev.command.d.ts +0 -11
- package/dist/cli/commands/app-sync.command.d.ts +0 -7
- package/dist/cli/commands/app.command.d.ts +0 -10
- package/dist/cli/commands/auth.command.d.ts +0 -9
- package/dist/cli/services/api.service.d.ts +0 -20
- package/dist/cli/utils/config-loader.d.ts +0 -43
- package/dist/cli/utils/display-entity-summary.d.ts +0 -2
- package/dist/cli/utils/display-errors.d.ts +0 -2
- package/dist/cli/utils/display-warnings.d.ts +0 -2
- package/dist/cli/utils/get-function-base-file.d.ts +0 -4
- package/dist/cli/utils/load-env-variables.d.ts +0 -2
- package/dist/cli/utils/load-manifest.d.ts +0 -41
- package/dist/cli/utils/validate-manifest.d.ts +0 -22
- package/dist/vendor/twenty-shared/ObjectRecordGroupByDateGranularity-BwpmSE4s.js +0 -1
- package/dist/vendor/twenty-shared/ObjectRecordGroupByDateGranularity-CtpRADP1.mjs +0 -500
- package/dist/vendor/twenty-shared/RatingValues-B_wgYyso.js +0 -1
- package/dist/vendor/twenty-shared/RatingValues-DNSj7xKA.mjs +0 -224
- package/dist/vendor/twenty-shared/application/applicationManifestType.d.ts +0 -12
- package/dist/vendor/twenty-shared/application/applicationManifestType.d.ts.map +0 -1
- package/dist/vendor/twenty-shared/application/packageJsonType.d.ts +0 -14
- package/dist/vendor/twenty-shared/application/packageJsonType.d.ts.map +0 -1
- package/dist/vendor/twenty-shared/application/serverlessFunctionManifestType.d.ts.map +0 -1
- package/dist/vendor/twenty-shared/isValidCountryCode-WBKj_GIR.js +0 -4
- package/dist/vendor/twenty-shared/metadata/standard-object-ids.d.ts +0 -51
- package/dist/vendor/twenty-shared/metadata/standard-object-ids.d.ts.map +0 -1
- /package/dist/cli/{types/api-response.types.d.ts → utilities/api/api-response-type.d.ts} +0 -0
- /package/dist/cli/{constants → utilities/config}/current-execution-directory.d.ts +0 -0
- /package/dist/cli/{utils/convert-to-label.d.ts → utilities/entity/entity-label.d.ts} +0 -0
- /package/dist/cli/{utils/get-role-base-file.d.ts → utilities/entity/entity-role-template.d.ts} +0 -0
- /package/dist/cli/{utils/find-path-file.d.ts → utilities/file/file-find.d.ts} +0 -0
- /package/dist/cli/{utils/format-path.d.ts → utilities/file/file-path.d.ts} +0 -0
- /package/dist/cli/{utils/format-and-warn-ts-diagnostics.d.ts → utilities/typescript/typescript-diagnostics.d.ts} +0 -0
- /package/dist/{application → sdk/common/types}/syncable-entity-options.type.d.ts +0 -0
- /package/dist/{application → sdk}/fields/field-type.d.ts +0 -0
- /package/dist/{application → sdk}/fields/on-delete-action.d.ts +0 -0
- /package/dist/{application → sdk}/fields/relation-type.d.ts +0 -0
- /package/dist/{application/functions → sdk/logic-functions}/triggers/cron-payload-type.d.ts +0 -0
- /package/dist/{application/functions → sdk/logic-functions}/triggers/database-event-payload-type.d.ts +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FieldManifest, ObjectManifest, RoleManifest } from '../../../vendor/twenty-shared/application';
|
|
2
|
+
import { FrontComponentConfig } from '../../front-components/front-component-config';
|
|
3
|
+
import { LogicFunctionConfig } from '../../logic-functions/logic-function-config';
|
|
4
|
+
import { ApplicationConfig } from '../../application/application-config';
|
|
5
|
+
export type ValidationResult<T> = {
|
|
6
|
+
success: boolean;
|
|
7
|
+
config: T;
|
|
8
|
+
errors: string[];
|
|
9
|
+
};
|
|
10
|
+
export type DefinableEntity = ApplicationConfig | ObjectManifest | FieldManifest | FrontComponentConfig | LogicFunctionConfig | RoleManifest;
|
|
11
|
+
export type DefineEntity<C extends DefinableEntity = DefinableEntity> = <T extends C>(config: T) => ValidationResult<T>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { ActorMetadata as ActorField, AddressMetadata as AddressField, CurrencyMetadata as CurrencyField, EmailsMetadata as EmailsField, FullNameMetadata as FullNameField, LinksMetadata as LinksField, PhonesMetadata as PhonesField, RichTextV2Metadata as RichTextField } from '../../vendor/twenty-shared/types';
|
|
1
|
+
export type { ActorMetadata as ActorField, AddressMetadata as AddressField, CurrencyMetadata as CurrencyField, EmailsMetadata as EmailsField, FullNameMetadata as FullNameField, LinksMetadata as LinksField, PhonesMetadata as PhonesField, RichTextV2Metadata as RichTextField, } from '../../vendor/twenty-shared/types';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FrontComponentManifest } from '../../vendor/twenty-shared/application';
|
|
2
|
+
export type FrontComponentType = React.ComponentType<any>;
|
|
3
|
+
export type FrontComponentConfig = Omit<FrontComponentManifest, 'sourceComponentPath' | 'builtComponentPath' | 'builtComponentChecksum' | 'componentName'> & {
|
|
4
|
+
component: FrontComponentType;
|
|
5
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type { ApplicationConfig } from './application/application-config';
|
|
2
|
+
export { defineApplication } from './application/define-application';
|
|
3
|
+
export type { ValidationResult, DefinableEntity, DefineEntity, } from './common/types/define-entity.type';
|
|
4
|
+
export type { SyncableEntityOptions } from './common/types/syncable-entity-options.type';
|
|
5
|
+
export { createValidationResult } from './common/utils/create-validation-result';
|
|
6
|
+
export type { ActorField, AddressField, CurrencyField, EmailsField, FullNameField, LinksField, PhonesField, RichTextField, } from './fields/composite-fields';
|
|
7
|
+
export { defineField } from './fields/define-field';
|
|
8
|
+
export { FieldType } from './fields/field-type';
|
|
9
|
+
export { OnDeleteAction } from './fields/on-delete-action';
|
|
10
|
+
export { RelationType } from './fields/relation-type';
|
|
11
|
+
export { validateFields } from './fields/validate-fields';
|
|
12
|
+
export { defineFrontComponent } from './front-components/define-front-component';
|
|
13
|
+
export type { FrontComponentType, FrontComponentConfig, } from './front-components/front-component-config';
|
|
14
|
+
export { defineLogicFunction } from './logic-functions/define-logic-function';
|
|
15
|
+
export type { LogicFunctionHandler, LogicFunctionConfig, } from './logic-functions/logic-function-config';
|
|
16
|
+
export type { CronPayload } from './logic-functions/triggers/cron-payload-type';
|
|
17
|
+
export type { DatabaseEventPayload, ObjectRecordCreateEvent, ObjectRecordUpdateEvent, ObjectRecordEvent, ObjectRecordDeleteEvent, ObjectRecordDestroyEvent, ObjectRecordBaseEvent, ObjectRecordRestoreEvent, ObjectRecordUpsertEvent, } from './logic-functions/triggers/database-event-payload-type';
|
|
18
|
+
export type { RoutePayload } from './logic-functions/triggers/route-payload-type';
|
|
19
|
+
export { defineObject } from './objects/define-object';
|
|
20
|
+
export { STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS } from './objects/standard-object-ids';
|
|
21
|
+
export { defineRole } from './roles/define-role';
|
|
22
|
+
export { PermissionFlag } from './roles/permission-flag-type';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { LogicFunctionManifest, LogicFunctionTriggerManifest } from '../../vendor/twenty-shared/application';
|
|
2
|
+
export type LogicFunctionHandler = (...args: any[]) => any | Promise<any>;
|
|
3
|
+
export type LogicFunctionConfig = Omit<LogicFunctionManifest, 'sourceHandlerPath' | 'builtHandlerPath' | 'builtHandlerChecksum' | 'handlerName'> & {
|
|
4
|
+
handler: LogicFunctionHandler;
|
|
5
|
+
triggers?: LogicFunctionTriggerManifest[];
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { LogicFunctionEvent as RoutePayload } from '../../../vendor/twenty-shared/types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { STANDARD_OBJECTS as STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS } from '../../vendor/twenty-shared/metadata';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PermissionFlagType as PermissionFlag } from '../../vendor/twenty-shared/constants';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require("./RatingValues-CT-y6O0b-D7JSZAMu.js");var t=(e=>(e.ProfilePicture="profile-picture",e.WorkspaceLogo="workspace-logo",e.Attachment="attachment",e.PersonPicture="person-picture",e.File="file",e.AgentChat="agent-chat",e.BuiltLogicFunction="built-logic-function",e.BuiltFrontComponent="built-front-component",e.PublicAsset="public-asset",e.Source="source",e.FilesField="files-field",e))(t||{}),i=(e=>(e.CASCADE="CASCADE",e.RESTRICT="RESTRICT",e.SET_NULL="SET_NULL",e.NO_ACTION="NO_ACTION",e))(i||{}),o=(e=>(e.MANY_TO_ONE="MANY_TO_ONE",e.ONE_TO_MANY="ONE_TO_MANY",e))(o||{});exports.C=o;exports.O=i;exports.i=t;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./RatingValues-CT-y6O0b-CsGZSJKO.mjs";
|
|
2
|
+
var e = /* @__PURE__ */ ((t) => (t.ProfilePicture = "profile-picture", t.WorkspaceLogo = "workspace-logo", t.Attachment = "attachment", t.PersonPicture = "person-picture", t.File = "file", t.AgentChat = "agent-chat", t.BuiltLogicFunction = "built-logic-function", t.BuiltFrontComponent = "built-front-component", t.PublicAsset = "public-asset", t.Source = "source", t.FilesField = "files-field", t))(e || {}), i = /* @__PURE__ */ ((t) => (t.CASCADE = "CASCADE", t.RESTRICT = "RESTRICT", t.SET_NULL = "SET_NULL", t.NO_ACTION = "NO_ACTION", t))(i || {}), o = /* @__PURE__ */ ((t) => (t.MANY_TO_ONE = "MANY_TO_ONE", t.ONE_TO_MANY = "ONE_TO_MANY", t))(o || {});
|
|
3
|
+
export {
|
|
4
|
+
o as C,
|
|
5
|
+
i as O,
|
|
6
|
+
e as i
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("zod");let T;const a=new Uint8Array(16);function L(){if(!T&&(T=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!T))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return T(a)}const i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function O(e,n=0){return i[e[n+0]]+i[e[n+1]]+i[e[n+2]]+i[e[n+3]]+"-"+i[e[n+4]]+i[e[n+5]]+"-"+i[e[n+6]]+i[e[n+7]]+"-"+i[e[n+8]]+i[e[n+9]]+"-"+i[e[n+10]]+i[e[n+11]]+i[e[n+12]]+i[e[n+13]]+i[e[n+14]]+i[e[n+15]]}const U=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),p={randomUUID:U};function d(e,n,h){if(p.randomUUID&&!e)return p.randomUUID();e=e||{};const E=e.random||(e.rng||L)();return E[6]=E[6]&15|64,E[8]=E[8]&63|128,O(E)}var s=(e=>(e.ACTOR="ACTOR",e.ADDRESS="ADDRESS",e.ARRAY="ARRAY",e.BOOLEAN="BOOLEAN",e.CURRENCY="CURRENCY",e.DATE="DATE",e.DATE_TIME="DATE_TIME",e.EMAILS="EMAILS",e.FILES="FILES",e.FULL_NAME="FULL_NAME",e.LINKS="LINKS",e.MORPH_RELATION="MORPH_RELATION",e.MULTI_SELECT="MULTI_SELECT",e.NUMBER="NUMBER",e.NUMERIC="NUMERIC",e.PHONES="PHONES",e.POSITION="POSITION",e.RATING="RATING",e.RAW_JSON="RAW_JSON",e.RELATION="RELATION",e.RICH_TEXT="RICH_TEXT",e.RICH_TEXT_V2="RICH_TEXT_V2",e.SELECT="SELECT",e.TEXT="TEXT",e.TS_VECTOR="TS_VECTOR",e.UUID="UUID",e))(s||{}),R=(e=>(e.EMAIL="EMAIL",e.CALENDAR="CALENDAR",e.WORKFLOW="WORKFLOW",e.AGENT="AGENT",e.API="API",e.IMPORT="IMPORT",e.MANUAL="MANUAL",e.SYSTEM="SYSTEM",e.WEBHOOK="WEBHOOK",e.APPLICATION="APPLICATION",e))(R||{});const r={type:s.ACTOR,properties:[{name:"source",type:s.SELECT,hidden:!1,isRequired:!0,options:Object.keys(R).map((e,n)=>({id:d(),label:`${R[e].toLowerCase()}`,value:e,position:n}))},{name:"workspaceMemberId",type:s.UUID,hidden:"input",isRequired:!1},{name:"name",type:s.TEXT,hidden:"input",isRequired:!0},{name:"context",type:s.RAW_JSON,hidden:!1,isRequired:!1}]},m={type:s.ADDRESS,properties:[{name:"addressStreet1",type:s.TEXT,hidden:!1,isRequired:!1},{name:"addressStreet2",type:s.TEXT,hidden:!1,isRequired:!1},{name:"addressCity",type:s.TEXT,hidden:!1,isRequired:!1},{name:"addressPostcode",type:s.TEXT,hidden:!1,isRequired:!1},{name:"addressState",type:s.TEXT,hidden:!1,isRequired:!1},{name:"addressCountry",type:s.TEXT,hidden:!1,isRequired:!1},{name:"addressLat",type:s.NUMERIC,hidden:!1,isRequired:!1},{name:"addressLng",type:s.NUMERIC,hidden:!1,isRequired:!1}]},t={type:s.CURRENCY,properties:[{name:"amountMicros",type:s.NUMERIC,hidden:!1,isRequired:!1},{name:"currencyCode",type:s.TEXT,hidden:!1,isRequired:!1}]},u={type:s.EMAILS,properties:[{name:"primaryEmail",type:s.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:"additionalEmails",type:s.RAW_JSON,hidden:!1,isRequired:!1}]},I={type:s.FULL_NAME,properties:[{name:"firstName",type:s.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!1},{name:"lastName",type:s.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!1}]},A={type:s.LINKS,properties:[{name:"primaryLinkLabel",type:s.TEXT,hidden:!1,isRequired:!1},{name:"primaryLinkUrl",type:s.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:"secondaryLinks",type:s.RAW_JSON,hidden:!1,isRequired:!1}]},C={type:s.PHONES,properties:[{name:"primaryPhoneNumber",type:s.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:"primaryPhoneCountryCode",type:s.TEXT,hidden:!1,isRequired:!1},{name:"primaryPhoneCallingCode",type:s.TEXT,hidden:!1,isRequired:!1},{name:"additionalPhones",type:s.RAW_JSON,hidden:!1,isRequired:!1}]},N={type:s.RICH_TEXT_V2,properties:[{name:"blocknote",type:s.TEXT,hidden:!1,isRequired:!1},{name:"markdown",type:s.TEXT,hidden:!1,isRequired:!1}]},_=o.z.object({blocknote:o.z.string().nullable().optional(),markdown:o.z.string().nullable()}),f=new Map([[s.LINKS,A],[s.CURRENCY,t],[s.FULL_NAME,I],[s.ADDRESS,m],[s.ACTOR,r],[s.EMAILS,u],[s.PHONES,C],[s.RICH_TEXT_V2,N]]);var l=(e=>(e.DAY="DAY",e.MONTH="MONTH",e.QUARTER="QUARTER",e.YEAR="YEAR",e.WEEK="WEEK",e.DAY_OF_THE_WEEK="DAY_OF_THE_WEEK",e.MONTH_OF_THE_YEAR="MONTH_OF_THE_YEAR",e.QUARTER_OF_THE_YEAR="QUARTER_OF_THE_YEAR",e.NONE="NONE",e))(l||{});exports.FieldActorSource=R;exports.FieldMetadataType=s;exports.ObjectRecordGroupByDateGranularity=l;exports.actorCompositeType=r;exports.addressCompositeType=m;exports.compositeTypeDefinitions=f;exports.currencyCompositeType=t;exports.emailsCompositeType=u;exports.fullNameCompositeType=I;exports.linksCompositeType=A;exports.phonesCompositeType=C;exports.richTextV2CompositeType=N;exports.richTextV2ValueSchema=_;exports.v4=d;
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { z as T } from "zod";
|
|
2
|
+
let R;
|
|
3
|
+
const m = new Uint8Array(16);
|
|
4
|
+
function p() {
|
|
5
|
+
if (!R && (R = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !R))
|
|
6
|
+
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
7
|
+
return R(m);
|
|
8
|
+
}
|
|
9
|
+
const i = [];
|
|
10
|
+
for (let e = 0; e < 256; ++e)
|
|
11
|
+
i.push((e + 256).toString(16).slice(1));
|
|
12
|
+
function o(e, n = 0) {
|
|
13
|
+
return i[e[n + 0]] + i[e[n + 1]] + i[e[n + 2]] + i[e[n + 3]] + "-" + i[e[n + 4]] + i[e[n + 5]] + "-" + i[e[n + 6]] + i[e[n + 7]] + "-" + i[e[n + 8]] + i[e[n + 9]] + "-" + i[e[n + 10]] + i[e[n + 11]] + i[e[n + 12]] + i[e[n + 13]] + i[e[n + 14]] + i[e[n + 15]];
|
|
14
|
+
}
|
|
15
|
+
const I = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), r = {
|
|
16
|
+
randomUUID: I
|
|
17
|
+
};
|
|
18
|
+
function A(e, n, _) {
|
|
19
|
+
if (r.randomUUID && !e)
|
|
20
|
+
return r.randomUUID();
|
|
21
|
+
e = e || {};
|
|
22
|
+
const E = e.random || (e.rng || p)();
|
|
23
|
+
return E[6] = E[6] & 15 | 64, E[8] = E[8] & 63 | 128, o(E);
|
|
24
|
+
}
|
|
25
|
+
var s = /* @__PURE__ */ ((e) => (e.ACTOR = "ACTOR", e.ADDRESS = "ADDRESS", e.ARRAY = "ARRAY", e.BOOLEAN = "BOOLEAN", e.CURRENCY = "CURRENCY", e.DATE = "DATE", e.DATE_TIME = "DATE_TIME", e.EMAILS = "EMAILS", e.FILES = "FILES", e.FULL_NAME = "FULL_NAME", e.LINKS = "LINKS", e.MORPH_RELATION = "MORPH_RELATION", e.MULTI_SELECT = "MULTI_SELECT", e.NUMBER = "NUMBER", e.NUMERIC = "NUMERIC", e.PHONES = "PHONES", e.POSITION = "POSITION", e.RATING = "RATING", e.RAW_JSON = "RAW_JSON", e.RELATION = "RELATION", e.RICH_TEXT = "RICH_TEXT", e.RICH_TEXT_V2 = "RICH_TEXT_V2", e.SELECT = "SELECT", e.TEXT = "TEXT", e.TS_VECTOR = "TS_VECTOR", e.UUID = "UUID", e))(s || {}), d = /* @__PURE__ */ ((e) => (e.EMAIL = "EMAIL", e.CALENDAR = "CALENDAR", e.WORKFLOW = "WORKFLOW", e.AGENT = "AGENT", e.API = "API", e.IMPORT = "IMPORT", e.MANUAL = "MANUAL", e.SYSTEM = "SYSTEM", e.WEBHOOK = "WEBHOOK", e.APPLICATION = "APPLICATION", e))(d || {});
|
|
26
|
+
const t = {
|
|
27
|
+
type: s.ACTOR,
|
|
28
|
+
properties: [
|
|
29
|
+
{
|
|
30
|
+
name: "source",
|
|
31
|
+
type: s.SELECT,
|
|
32
|
+
hidden: !1,
|
|
33
|
+
isRequired: !0,
|
|
34
|
+
options: Object.keys(d).map(
|
|
35
|
+
(e, n) => ({
|
|
36
|
+
id: A(),
|
|
37
|
+
// @ts-expect-error legacy noImplicitAny
|
|
38
|
+
label: `${d[e].toLowerCase()}`,
|
|
39
|
+
value: e,
|
|
40
|
+
position: n
|
|
41
|
+
})
|
|
42
|
+
)
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: "workspaceMemberId",
|
|
46
|
+
type: s.UUID,
|
|
47
|
+
hidden: "input",
|
|
48
|
+
isRequired: !1
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: "name",
|
|
52
|
+
type: s.TEXT,
|
|
53
|
+
hidden: "input",
|
|
54
|
+
isRequired: !0
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "context",
|
|
58
|
+
type: s.RAW_JSON,
|
|
59
|
+
hidden: !1,
|
|
60
|
+
isRequired: !1
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}, u = {
|
|
64
|
+
type: s.ADDRESS,
|
|
65
|
+
properties: [
|
|
66
|
+
{
|
|
67
|
+
name: "addressStreet1",
|
|
68
|
+
type: s.TEXT,
|
|
69
|
+
hidden: !1,
|
|
70
|
+
isRequired: !1
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: "addressStreet2",
|
|
74
|
+
type: s.TEXT,
|
|
75
|
+
hidden: !1,
|
|
76
|
+
isRequired: !1
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: "addressCity",
|
|
80
|
+
type: s.TEXT,
|
|
81
|
+
hidden: !1,
|
|
82
|
+
isRequired: !1
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: "addressPostcode",
|
|
86
|
+
type: s.TEXT,
|
|
87
|
+
hidden: !1,
|
|
88
|
+
isRequired: !1
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: "addressState",
|
|
92
|
+
type: s.TEXT,
|
|
93
|
+
hidden: !1,
|
|
94
|
+
isRequired: !1
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: "addressCountry",
|
|
98
|
+
type: s.TEXT,
|
|
99
|
+
hidden: !1,
|
|
100
|
+
isRequired: !1
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
name: "addressLat",
|
|
104
|
+
type: s.NUMERIC,
|
|
105
|
+
hidden: !1,
|
|
106
|
+
isRequired: !1
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: "addressLng",
|
|
110
|
+
type: s.NUMERIC,
|
|
111
|
+
hidden: !1,
|
|
112
|
+
isRequired: !1
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
}, N = {
|
|
116
|
+
type: s.CURRENCY,
|
|
117
|
+
properties: [
|
|
118
|
+
{
|
|
119
|
+
name: "amountMicros",
|
|
120
|
+
type: s.NUMERIC,
|
|
121
|
+
hidden: !1,
|
|
122
|
+
isRequired: !1
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: "currencyCode",
|
|
126
|
+
type: s.TEXT,
|
|
127
|
+
hidden: !1,
|
|
128
|
+
isRequired: !1
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}, C = {
|
|
132
|
+
type: s.EMAILS,
|
|
133
|
+
properties: [
|
|
134
|
+
{
|
|
135
|
+
name: "primaryEmail",
|
|
136
|
+
type: s.TEXT,
|
|
137
|
+
hidden: !1,
|
|
138
|
+
isRequired: !1,
|
|
139
|
+
isIncludedInUniqueConstraint: !0
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: "additionalEmails",
|
|
143
|
+
type: s.RAW_JSON,
|
|
144
|
+
hidden: !1,
|
|
145
|
+
isRequired: !1
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
}, a = {
|
|
149
|
+
type: s.FULL_NAME,
|
|
150
|
+
properties: [
|
|
151
|
+
{
|
|
152
|
+
name: "firstName",
|
|
153
|
+
type: s.TEXT,
|
|
154
|
+
hidden: !1,
|
|
155
|
+
isRequired: !1,
|
|
156
|
+
isIncludedInUniqueConstraint: !1
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
name: "lastName",
|
|
160
|
+
type: s.TEXT,
|
|
161
|
+
hidden: !1,
|
|
162
|
+
isRequired: !1,
|
|
163
|
+
isIncludedInUniqueConstraint: !1
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
}, l = {
|
|
167
|
+
type: s.LINKS,
|
|
168
|
+
properties: [
|
|
169
|
+
{
|
|
170
|
+
name: "primaryLinkLabel",
|
|
171
|
+
type: s.TEXT,
|
|
172
|
+
hidden: !1,
|
|
173
|
+
isRequired: !1
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
name: "primaryLinkUrl",
|
|
177
|
+
type: s.TEXT,
|
|
178
|
+
hidden: !1,
|
|
179
|
+
isRequired: !1,
|
|
180
|
+
isIncludedInUniqueConstraint: !0
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
name: "secondaryLinks",
|
|
184
|
+
type: s.RAW_JSON,
|
|
185
|
+
hidden: !1,
|
|
186
|
+
isRequired: !1
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
}, L = {
|
|
190
|
+
type: s.PHONES,
|
|
191
|
+
properties: [
|
|
192
|
+
{
|
|
193
|
+
name: "primaryPhoneNumber",
|
|
194
|
+
type: s.TEXT,
|
|
195
|
+
hidden: !1,
|
|
196
|
+
isRequired: !1,
|
|
197
|
+
isIncludedInUniqueConstraint: !0
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
name: "primaryPhoneCountryCode",
|
|
201
|
+
type: s.TEXT,
|
|
202
|
+
hidden: !1,
|
|
203
|
+
isRequired: !1
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
name: "primaryPhoneCallingCode",
|
|
207
|
+
type: s.TEXT,
|
|
208
|
+
hidden: !1,
|
|
209
|
+
isRequired: !1
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: "additionalPhones",
|
|
213
|
+
type: s.RAW_JSON,
|
|
214
|
+
hidden: !1,
|
|
215
|
+
isRequired: !1
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
}, O = {
|
|
219
|
+
type: s.RICH_TEXT_V2,
|
|
220
|
+
properties: [
|
|
221
|
+
{
|
|
222
|
+
name: "blocknote",
|
|
223
|
+
type: s.TEXT,
|
|
224
|
+
hidden: !1,
|
|
225
|
+
isRequired: !1
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
name: "markdown",
|
|
229
|
+
type: s.TEXT,
|
|
230
|
+
hidden: !1,
|
|
231
|
+
isRequired: !1
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
}, h = T.object({
|
|
235
|
+
blocknote: T.string().nullable().optional(),
|
|
236
|
+
markdown: T.string().nullable()
|
|
237
|
+
}), S = /* @__PURE__ */ new Map([
|
|
238
|
+
[s.LINKS, l],
|
|
239
|
+
[s.CURRENCY, N],
|
|
240
|
+
[s.FULL_NAME, a],
|
|
241
|
+
[s.ADDRESS, u],
|
|
242
|
+
[s.ACTOR, t],
|
|
243
|
+
[s.EMAILS, C],
|
|
244
|
+
[s.PHONES, L],
|
|
245
|
+
[s.RICH_TEXT_V2, O]
|
|
246
|
+
]);
|
|
247
|
+
var U = /* @__PURE__ */ ((e) => (e.DAY = "DAY", e.MONTH = "MONTH", e.QUARTER = "QUARTER", e.YEAR = "YEAR", e.WEEK = "WEEK", e.DAY_OF_THE_WEEK = "DAY_OF_THE_WEEK", e.MONTH_OF_THE_YEAR = "MONTH_OF_THE_YEAR", e.QUARTER_OF_THE_YEAR = "QUARTER_OF_THE_YEAR", e.NONE = "NONE", e))(U || {});
|
|
248
|
+
export {
|
|
249
|
+
s as F,
|
|
250
|
+
U as O,
|
|
251
|
+
d as a,
|
|
252
|
+
t as b,
|
|
253
|
+
u as c,
|
|
254
|
+
S as d,
|
|
255
|
+
N as e,
|
|
256
|
+
C as f,
|
|
257
|
+
a as g,
|
|
258
|
+
h,
|
|
259
|
+
l,
|
|
260
|
+
L as p,
|
|
261
|
+
O as r,
|
|
262
|
+
A as v
|
|
263
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./ObjectRecordGroupByDateGranularity-BZ0Penru.js");require("class-validator");const _={[e.FieldMetadataType.CURRENCY]:{amountMicros:"amountMicros",currencyCode:"currencyCode"},[e.FieldMetadataType.EMAILS]:{primaryEmail:"primaryEmail",additionalEmails:"additionalEmails"},[e.FieldMetadataType.LINKS]:{primaryLinkUrl:"primaryLinkUrl",primaryLinkLabel:"primaryLinkLabel",secondaryLinks:"secondaryLinks"},[e.FieldMetadataType.PHONES]:{primaryPhoneCallingCode:"primaryPhoneCallingCode",primaryPhoneCountryCode:"primaryPhoneCountryCode",primaryPhoneNumber:"primaryPhoneNumber",additionalPhones:"additionalPhones"},[e.FieldMetadataType.FULL_NAME]:{firstName:"firstName",lastName:"lastName"},[e.FieldMetadataType.ADDRESS]:{addressStreet1:"addressStreet1",addressStreet2:"addressStreet2",addressCity:"addressCity",addressState:"addressState",addressCountry:"addressCountry",addressPostcode:"addressPostcode",addressLat:"addressLat",addressLng:"addressLng"},[e.FieldMetadataType.ACTOR]:{source:"source",name:"name",workspaceMemberId:"workspaceMemberId",context:"context"},[e.FieldMetadataType.RICH_TEXT_V2]:{blocknote:"blocknote",markdown:"markdown"}},E={AED:{label:"UAE dirham"},AFN:{label:"Afghan afghani"},ALL:{label:"Albanian lek"},AMD:{label:"Armenian dram"},ANG:{label:"Netherlands Antillean guilder"},AOA:{label:"Angolan kwanza"},ARS:{label:"Argentine peso"},AUD:{label:"Australian dollar"},AWG:{label:"Aruban florin"},AZN:{label:"Azerbaijani manat"},BAM:{label:"Bosnia and Herzegovina mark"},BBD:{label:"Barbados dollar"},BDT:{label:"Bangladeshi taka"},BGN:{label:"Bulgarian lev"},BHD:{label:"Bahraini dinar"},BIF:{label:"Burundian franc"},BMD:{label:"Bermudian dollar"},BND:{label:"Brunei dollar"},BOB:{label:"Boliviano"},BRL:{label:"Brazilian real"},BSD:{label:"Bahamian dollar"},BTN:{label:"Bhutanese ngultrum"},BWP:{label:"Botswana pula"},BYN:{label:"Belarusian ruble"},BZD:{label:"Belize dollar"},CAD:{label:"Canadian dollar"},CDF:{label:"Congolese franc"},CHF:{label:"Swiss franc"},CLP:{label:"Chilean peso"},CNY:{label:"Chinese yuan"},COP:{label:"Colombian peso"},CRC:{label:"Costa Rican colon"},CUP:{label:"Cuban peso"},CVE:{label:"Cape Verdean escudo"},CZK:{label:"Czech koruna"},DJF:{label:"Djiboutian franc"},DKK:{label:"Danish krone"},DOP:{label:"Dominican peso"},DZD:{label:"Algerian Dinar"},EGP:{label:"Egyptian pound"},ERN:{label:"Eritrean nakfa"},ETB:{label:"Ethiopian birr"},EUR:{label:"Euro"},FJD:{label:"Fiji dollar"},FKP:{label:"Falkland Islands pound"},GBP:{label:"British pound"},GEL:{label:"Georgian lari"},GHS:{label:"Ghanaian cedi"},GIP:{label:"Gibraltar pound"},GMD:{label:"Gambian dalasi"},GNF:{label:"Guinean franc"},GTQ:{label:"Guatemalan quetzal"},GYD:{label:"Guyanese dollar"},HKD:{label:"Hong Kong dollar"},HNL:{label:"Honduran lempira"},HTG:{label:"Haitian gourde"},HUF:{label:"Hungarian forint"},IDR:{label:"Indonesian rupiah"},ILS:{label:"Israeli shekel"},INR:{label:"Indian rupee"},IQD:{label:"Iraqi dinar"},IRR:{label:"Iranian rial"},ISK:{label:"Icelandic króna"},JMD:{label:"Jamaican dollar"},JOD:{label:"Jordanian dinar"},JPY:{label:"Japanese yen"},KES:{label:"Kenyan shilling"},KGS:{label:"Kyrgyzstani som"},KHR:{label:"Cambodian riel"},KMF:{label:"Comoro franc"},KPW:{label:"North Korean won"},KRW:{label:"South Korean won"},KWD:{label:"Kuwaiti dinar"},KYD:{label:"Cayman Islands dollar"},KZT:{label:"Kazakhstani tenge"},LAK:{label:"Lao kip"},LBP:{label:"Lebanese pound"},LKR:{label:"Sri Lankan rupee"},LRD:{label:"Liberian dollar"},LSL:{label:"Lesotho loti"},LYD:{label:"Libyan dinar"},MAD:{label:"Moroccan dirham"},MDL:{label:"Moldovan leu"},MGA:{label:"Malagasy ariary"},MKD:{label:"Macedonian denar"},MMK:{label:"Myanmar kyat"},MNT:{label:"Mongolian tögrög"},MOP:{label:"Macanese pataca"},MRU:{label:"Mauritanian ouguiya"},MUR:{label:"Mauritian rupee"},MVR:{label:"Maldivian rufiyaa"},MWK:{label:"Malawian kwacha"},MXN:{label:"Mexican peso"},MYR:{label:"Malaysian ringgit"},MZN:{label:"Mozambican metical"},NAD:{label:"Namibian dollar"},NGN:{label:"Nigerian naira"},NIO:{label:"Nicaraguan córdoba"},NOK:{label:"Norwegian krone"},NPR:{label:"Nepalese rupee"},NZD:{label:"New Zealand dollar"},OMR:{label:"Omani rial"},PAB:{label:"Panamanian balboa"},PEN:{label:"Peruvian sol"},PGK:{label:"Papua New Guinean kina"},PHP:{label:"Philippine peso"},PKR:{label:"Pakistani rupee"},PLN:{label:"Polish złoty"},PYG:{label:"Paraguayan guaraní"},QAR:{label:"Qatari riyal"},RON:{label:"Romanian leu"},RSD:{label:"Serbian dinar"},RUB:{label:"Russian ruble"},RWF:{label:"Rwandan franc"},SAR:{label:"Saudi riyal"},SBD:{label:"Solomon Islands dollar"},SCR:{label:"Seychelles rupee"},SDG:{label:"Sudanese pound"},SEK:{label:"Swedish krona"},SGD:{label:"Singapore dollar"},SHP:{label:"Saint Helena pound"},SLE:{label:"Sierra Leonean leone"},SOS:{label:"Somalian shilling"},SRD:{label:"Surinamese dollar"},SSP:{label:"South Sudanese pound"},STN:{label:"São Tomé and Príncipe dobra"},SVC:{label:"Salvadoran colón"},SYP:{label:"Syrian pound"},SZL:{label:"Swazi lilangeni"},THB:{label:"Thai Baht"},TJS:{label:"Tajikistani somoni"},TMT:{label:"Turkmenistan manat"},TND:{label:"Tunisian dinar"},TOP:{label:"Tongan paʻanga"},TRY:{label:"Turkish lira"},TTD:{label:"Trinidad and Tobago dollar"},TWD:{label:"Taiwanese dollar"},TZS:{label:"Tanzanian shilling"},UAH:{label:"Ukrainian hryvnia"},UGX:{label:"Ugandan shilling"},USD:{label:"United States dollar"},UYU:{label:"Uruguayan peso"},UZS:{label:"Uzbekistani sum"},VES:{label:"Venezuelan bolívar"},VND:{label:"Vietnamese đồng"},VUV:{label:"Vanuatu vatu"},WST:{label:"Samoan tala"},XOF:{label:"West African CFA franc"},XCD:{label:"East Caribbean dollar"},YER:{label:"Yemeni rial"},ZAR:{label:"South African rand"},ZMW:{label:"Zambian kwacha"},ZWG:{label:"Zimbabwe Gold"}},a={DEVELOPERS_CONTRIBUTE_CAPABILITIES_BACKEND_DEVELOPMENT_BEST_PRACTICES_SERVER:"/developers/contribute/capabilities/backend-development/best-practices-server",DEVELOPERS_CONTRIBUTE_CAPABILITIES_BACKEND_DEVELOPMENT_CUSTOM_OBJECTS:"/developers/contribute/capabilities/backend-development/custom-objects",DEVELOPERS_CONTRIBUTE_CAPABILITIES_BACKEND_DEVELOPMENT_FEATURE_FLAGS:"/developers/contribute/capabilities/backend-development/feature-flags",DEVELOPERS_CONTRIBUTE_CAPABILITIES_BACKEND_DEVELOPMENT_FOLDER_ARCHITECTURE_SERVER:"/developers/contribute/capabilities/backend-development/folder-architecture-server",DEVELOPERS_CONTRIBUTE_CAPABILITIES_BACKEND_DEVELOPMENT_QUEUE:"/developers/contribute/capabilities/backend-development/queue",DEVELOPERS_CONTRIBUTE_CAPABILITIES_BACKEND_DEVELOPMENT_SERVER_COMMANDS:"/developers/contribute/capabilities/backend-development/server-commands",DEVELOPERS_CONTRIBUTE_CAPABILITIES_BACKEND_DEVELOPMENT_ZAPIER:"/developers/contribute/capabilities/backend-development/zapier",DEVELOPERS_CONTRIBUTE_CAPABILITIES_BUG_AND_REQUESTS:"/developers/contribute/capabilities/bug-and-requests",DEVELOPERS_CONTRIBUTE_CAPABILITIES_FRONTEND_DEVELOPMENT_BEST_PRACTICES_FRONT:"/developers/contribute/capabilities/frontend-development/best-practices-front",DEVELOPERS_CONTRIBUTE_CAPABILITIES_FRONTEND_DEVELOPMENT_FOLDER_ARCHITECTURE_FRONT:"/developers/contribute/capabilities/frontend-development/folder-architecture-front",DEVELOPERS_CONTRIBUTE_CAPABILITIES_FRONTEND_DEVELOPMENT_FRONTEND_COMMANDS:"/developers/contribute/capabilities/frontend-development/frontend-commands",DEVELOPERS_CONTRIBUTE_CAPABILITIES_FRONTEND_DEVELOPMENT_HOTKEYS:"/developers/contribute/capabilities/frontend-development/hotkeys",DEVELOPERS_CONTRIBUTE_CAPABILITIES_FRONTEND_DEVELOPMENT_STORYBOOK:"/developers/contribute/capabilities/frontend-development/storybook",DEVELOPERS_CONTRIBUTE_CAPABILITIES_FRONTEND_DEVELOPMENT_STYLE_GUIDE:"/developers/contribute/capabilities/frontend-development/style-guide",DEVELOPERS_CONTRIBUTE_CAPABILITIES_FRONTEND_DEVELOPMENT_WORK_WITH_FIGMA:"/developers/contribute/capabilities/frontend-development/work-with-figma",DEVELOPERS_CONTRIBUTE_CAPABILITIES_LOCAL_SETUP:"/developers/contribute/capabilities/local-setup",DEVELOPERS_CONTRIBUTE_CONTRIBUTE:"/developers/contribute/contribute",DEVELOPERS_EXTEND_CAPABILITIES_APIS:"/developers/extend/capabilities/apis",DEVELOPERS_EXTEND_CAPABILITIES_APPS:"/developers/extend/capabilities/apps",DEVELOPERS_EXTEND_CAPABILITIES_WEBHOOKS:"/developers/extend/capabilities/webhooks",DEVELOPERS_EXTEND_EXTEND:"/developers/extend/extend",DEVELOPERS_INTRODUCTION:"/developers/introduction",DEVELOPERS_SELF_HOST_CAPABILITIES_CLOUD_PROVIDERS:"/developers/self-host/capabilities/cloud-providers",DEVELOPERS_SELF_HOST_CAPABILITIES_DOCKER_COMPOSE:"/developers/self-host/capabilities/docker-compose",DEVELOPERS_SELF_HOST_CAPABILITIES_SETUP:"/developers/self-host/capabilities/setup",DEVELOPERS_SELF_HOST_CAPABILITIES_TROUBLESHOOTING:"/developers/self-host/capabilities/troubleshooting",DEVELOPERS_SELF_HOST_CAPABILITIES_UPGRADE_GUIDE:"/developers/self-host/capabilities/upgrade-guide",DEVELOPERS_SELF_HOST_SELF_HOST:"/developers/self-host/self-host",TWENTY_UI_DISPLAY_APP_TOOLTIP:"/twenty-ui/display/app-tooltip",TWENTY_UI_DISPLAY_CHECKMARK:"/twenty-ui/display/checkmark",TWENTY_UI_DISPLAY_CHIP:"/twenty-ui/display/chip",TWENTY_UI_DISPLAY_ICONS:"/twenty-ui/display/icons",TWENTY_UI_DISPLAY_SOON_PILL:"/twenty-ui/display/soon-pill",TWENTY_UI_DISPLAY_TAG:"/twenty-ui/display/tag",TWENTY_UI_INPUT_BLOCK_EDITOR:"/twenty-ui/input/block-editor",TWENTY_UI_INPUT_BUTTONS:"/twenty-ui/input/buttons",TWENTY_UI_INPUT_CHECKBOX:"/twenty-ui/input/checkbox",TWENTY_UI_INPUT_COLOR_SCHEME:"/twenty-ui/input/color-scheme",TWENTY_UI_INPUT_ICON_PICKER:"/twenty-ui/input/icon-picker",TWENTY_UI_INPUT_IMAGE_INPUT:"/twenty-ui/input/image-input",TWENTY_UI_INPUT_RADIO:"/twenty-ui/input/radio",TWENTY_UI_INPUT_SELECT:"/twenty-ui/input/select",TWENTY_UI_INPUT_TEXT:"/twenty-ui/input/text",TWENTY_UI_INPUT_TOGGLE:"/twenty-ui/input/toggle",TWENTY_UI_INTRODUCTION:"/twenty-ui/introduction",TWENTY_UI_NAVIGATION:"/twenty-ui/navigation",TWENTY_UI_NAVIGATION_BREADCRUMB:"/twenty-ui/navigation/breadcrumb",TWENTY_UI_NAVIGATION_LINKS:"/twenty-ui/navigation/links",TWENTY_UI_NAVIGATION_MENU_ITEM:"/twenty-ui/navigation/menu-item",TWENTY_UI_NAVIGATION_NAVIGATION_BAR:"/twenty-ui/navigation/navigation-bar",TWENTY_UI_NAVIGATION_STEP_BAR:"/twenty-ui/navigation/step-bar",TWENTY_UI_PROGRESS_BAR:"/twenty-ui/progress-bar",USER_GUIDE_AI_CAPABILITIES_AI_AGENTS:"/user-guide/ai/capabilities/ai-agents",USER_GUIDE_AI_CAPABILITIES_AI_CHATBOT:"/user-guide/ai/capabilities/ai-chatbot",USER_GUIDE_AI_CAPABILITIES_PERMISSIONS_ACCESS_CONTROL:"/user-guide/ai/capabilities/permissions-access-control",USER_GUIDE_AI_HOW_TOS_AI_FAQ:"/user-guide/ai/how-tos/ai-faq",USER_GUIDE_AI_OVERVIEW:"/user-guide/ai/overview",USER_GUIDE_BILLING_CAPABILITIES_PRICING_PLANS:"/user-guide/billing/capabilities/pricing-plans",USER_GUIDE_BILLING_CAPABILITIES_WORKFLOW_CREDITS:"/user-guide/billing/capabilities/workflow-credits",USER_GUIDE_BILLING_HOW_TOS_BILLING_FAQ:"/user-guide/billing/how-tos/billing-faq",USER_GUIDE_BILLING_OVERVIEW:"/user-guide/billing/overview",USER_GUIDE_CALENDAR_EMAILS_CAPABILITIES_CALENDAR:"/user-guide/calendar-emails/capabilities/calendar",USER_GUIDE_CALENDAR_EMAILS_CAPABILITIES_MAILBOX:"/user-guide/calendar-emails/capabilities/mailbox",USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_CAN_I_BOOK_MEETINGS_FROM_TWENTY:"/user-guide/calendar-emails/how-tos/can-i-book-meetings-from-twenty",USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_CAN_I_SEND_EMAILS_FROM_TWENTY:"/user-guide/calendar-emails/how-tos/can-i-send-emails-from-twenty",USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_CAN_I_TRACK_EMAIL_ACTIVITY_ON_ALL_OBJECTS:"/user-guide/calendar-emails/how-tos/can-i-track-email-activity-on-all-objects",USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_CONNECT_SEVERAL_MAILBOXES_PER_USER:"/user-guide/calendar-emails/how-tos/connect-several-mailboxes-per-user",USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_I_DONT_SEE_EMAILS_ON_RECORDS:"/user-guide/calendar-emails/how-tos/i-dont-see-emails-on-records",USER_GUIDE_CALENDAR_EMAILS_HOW_TOS_LIMIT_EMAILS_IMPORTED:"/user-guide/calendar-emails/how-tos/limit-emails-imported",USER_GUIDE_CALENDAR_EMAILS_OVERVIEW:"/user-guide/calendar-emails/overview",USER_GUIDE_DASHBOARDS_CAPABILITIES_CHART_SETTINGS:"/user-guide/dashboards/capabilities/chart-settings",USER_GUIDE_DASHBOARDS_CAPABILITIES_DASHBOARDS:"/user-guide/dashboards/capabilities/dashboards",USER_GUIDE_DASHBOARDS_CAPABILITIES_WIDGETS:"/user-guide/dashboards/capabilities/widgets",USER_GUIDE_DASHBOARDS_HOW_TOS_DASHBOARDS_FAQ:"/user-guide/dashboards/how-tos/dashboards-faq",USER_GUIDE_DASHBOARDS_HOW_TOS_WIDGET_FAQ:"/user-guide/dashboards/how-tos/widget-faq",USER_GUIDE_DASHBOARDS_OVERVIEW:"/user-guide/dashboards/overview",USER_GUIDE_DATA_MIGRATION_CAPABILITIES_ERROR_HANDLING:"/user-guide/data-migration/capabilities/error-handling",USER_GUIDE_DATA_MIGRATION_CAPABILITIES_FIELD_MAPPING:"/user-guide/data-migration/capabilities/field-mapping",USER_GUIDE_DATA_MIGRATION_CAPABILITIES_FILE_FORMATS:"/user-guide/data-migration/capabilities/file-formats",USER_GUIDE_DATA_MIGRATION_CAPABILITIES_IMPORT_RELATIONS:"/user-guide/data-migration/capabilities/import-relations",USER_GUIDE_DATA_MIGRATION_CAPABILITIES_UNIQUENESS_CONSTRAINTS:"/user-guide/data-migration/capabilities/uniqueness-constraints",USER_GUIDE_DATA_MIGRATION_HOW_TOS_EXPORT_YOUR_DATA:"/user-guide/data-migration/how-tos/export-your-data",USER_GUIDE_DATA_MIGRATION_HOW_TOS_FIX_IMPORT_ERRORS:"/user-guide/data-migration/how-tos/fix-import-errors",USER_GUIDE_DATA_MIGRATION_HOW_TOS_IMPORT_COMPANIES_VIA_CSV:"/user-guide/data-migration/how-tos/import-companies-via-csv",USER_GUIDE_DATA_MIGRATION_HOW_TOS_IMPORT_CONTACTS_VIA_CSV:"/user-guide/data-migration/how-tos/import-contacts-via-csv",USER_GUIDE_DATA_MIGRATION_HOW_TOS_IMPORT_DATA_VIA_API:"/user-guide/data-migration/how-tos/import-data-via-api",USER_GUIDE_DATA_MIGRATION_HOW_TOS_IMPORT_RELATIONS_BETWEEN_OBJECTS_VIA_CSV:"/user-guide/data-migration/how-tos/import-relations-between-objects-via-csv",USER_GUIDE_DATA_MIGRATION_HOW_TOS_MIGRATING_FROM_OTHER_CRMS:"/user-guide/data-migration/how-tos/migrating-from-other-crms",USER_GUIDE_DATA_MIGRATION_HOW_TOS_MIGRATING_FROM_SELF_HOSTED_TO_CLOUD:"/user-guide/data-migration/how-tos/migrating-from-self-hosted-to-cloud",USER_GUIDE_DATA_MIGRATION_HOW_TOS_PREPARE_YOUR_CSV_FILES:"/user-guide/data-migration/how-tos/prepare-your-csv-files",USER_GUIDE_DATA_MIGRATION_HOW_TOS_UPDATE_EXISTING_RECORDS_VIA_IMPORT:"/user-guide/data-migration/how-tos/update-existing-records-via-import",USER_GUIDE_DATA_MIGRATION_OVERVIEW:"/user-guide/data-migration/overview",USER_GUIDE_DATA_MODEL_CAPABILITIES_FIELDS:"/user-guide/data-model/capabilities/fields",USER_GUIDE_DATA_MODEL_CAPABILITIES_OBJECTS:"/user-guide/data-model/capabilities/objects",USER_GUIDE_DATA_MODEL_CAPABILITIES_RELATION_FIELDS:"/user-guide/data-model/capabilities/relation-fields",USER_GUIDE_DATA_MODEL_HOW_TOS_CREATE_CUSTOM_FIELDS:"/user-guide/data-model/how-tos/create-custom-fields",USER_GUIDE_DATA_MODEL_HOW_TOS_CREATE_CUSTOM_OBJECTS:"/user-guide/data-model/how-tos/create-custom-objects",USER_GUIDE_DATA_MODEL_HOW_TOS_CREATE_MANY_TO_MANY_RELATIONS:"/user-guide/data-model/how-tos/create-many-to-many-relations",USER_GUIDE_DATA_MODEL_HOW_TOS_CREATE_RELATION_FIELDS:"/user-guide/data-model/how-tos/create-relation-fields",USER_GUIDE_DATA_MODEL_HOW_TOS_CUSTOMIZE_YOUR_DATA_MODEL:"/user-guide/data-model/how-tos/customize-your-data-model",USER_GUIDE_DATA_MODEL_HOW_TOS_DATA_MODEL_FAQ:"/user-guide/data-model/how-tos/data-model-faq",USER_GUIDE_DATA_MODEL_OVERVIEW:"/user-guide/data-model/overview",USER_GUIDE_GETTING_STARTED_CAPABILITIES_GLOSSARY:"/user-guide/getting-started/capabilities/glossary",USER_GUIDE_GETTING_STARTED_CAPABILITIES_IMPLEMENTATION_SERVICES:"/user-guide/getting-started/capabilities/implementation-services",USER_GUIDE_GETTING_STARTED_CAPABILITIES_WHAT_IS_TWENTY:"/user-guide/getting-started/capabilities/what-is-twenty",USER_GUIDE_GETTING_STARTED_HOW_TOS_CONFIGURE_YOUR_WORKSPACE:"/user-guide/getting-started/how-tos/configure-your-workspace",USER_GUIDE_GETTING_STARTED_HOW_TOS_CREATE_WORKSPACE:"/user-guide/getting-started/how-tos/create-workspace",USER_GUIDE_GETTING_STARTED_HOW_TOS_NAVIGATE_AROUND_TWENTY:"/user-guide/getting-started/how-tos/navigate-around-twenty",USER_GUIDE_INTRODUCTION:"/user-guide/introduction",USER_GUIDE_PERMISSIONS_ACCESS_CAPABILITIES_PERMISSIONS:"/user-guide/permissions-access/capabilities/permissions",USER_GUIDE_PERMISSIONS_ACCESS_CAPABILITIES_SSO_CONFIGURATION:"/user-guide/permissions-access/capabilities/sso-configuration",USER_GUIDE_PERMISSIONS_ACCESS_HOW_TOS_PERMISSIONS_FAQ:"/user-guide/permissions-access/how-tos/permissions-faq",USER_GUIDE_PERMISSIONS_ACCESS_OVERVIEW:"/user-guide/permissions-access/overview",USER_GUIDE_SETTINGS_CAPABILITIES_DOMAINS_SETTINGS:"/user-guide/settings/capabilities/domains-settings",USER_GUIDE_SETTINGS_CAPABILITIES_EXPERIENCE_SETTINGS:"/user-guide/settings/capabilities/experience-settings",USER_GUIDE_SETTINGS_CAPABILITIES_MEMBER_MANAGEMENT:"/user-guide/settings/capabilities/member-management",USER_GUIDE_SETTINGS_CAPABILITIES_PROFILE_SETTINGS:"/user-guide/settings/capabilities/profile-settings",USER_GUIDE_SETTINGS_CAPABILITIES_UPDATES_SETTINGS:"/user-guide/settings/capabilities/updates-settings",USER_GUIDE_SETTINGS_CAPABILITIES_WORKSPACE_SETTINGS:"/user-guide/settings/capabilities/workspace-settings",USER_GUIDE_SETTINGS_HOW_TOS_SETTINGS_FAQ:"/user-guide/settings/how-tos/settings-faq",USER_GUIDE_SETTINGS_OVERVIEW:"/user-guide/settings/overview",USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_CALENDAR_VIEW:"/user-guide/views-pipelines/capabilities/calendar-view",USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_FIELDS_AND_COLUMNS:"/user-guide/views-pipelines/capabilities/fields-and-columns",USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_FILTERS_AND_SORTING:"/user-guide/views-pipelines/capabilities/filters-and-sorting",USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_KANBAN_VIEWS:"/user-guide/views-pipelines/capabilities/kanban-views",USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_TABLE_VIEWS:"/user-guide/views-pipelines/capabilities/table-views",USER_GUIDE_VIEWS_PIPELINES_CAPABILITIES_VIEW_SETTINGS:"/user-guide/views-pipelines/capabilities/view-settings",USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_CREATE_A_CALENDAR_VIEW_FOR_TASKS_DUE:"/user-guide/views-pipelines/how-tos/create-a-calendar-view-for-tasks-due",USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_CREATE_A_KANBAN_VIEW_FOR_PROJECTS:"/user-guide/views-pipelines/how-tos/create-a-kanban-view-for-projects",USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_CREATE_A_TABLE_VIEW_WITH_GROUPING:"/user-guide/views-pipelines/how-tos/create-a-table-view-with-grouping",USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_RESTRICT_ACCESS_TO_YOUR_VIEW:"/user-guide/views-pipelines/how-tos/restrict-access-to-your-view",USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_SET_UP_A_SALES_PIPELINE:"/user-guide/views-pipelines/how-tos/set-up-a-sales-pipeline",USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_SHOW_EXPECTED_AMOUNT_IN_PIPELINE:"/user-guide/views-pipelines/how-tos/show-expected-amount-in-pipeline",USER_GUIDE_VIEWS_PIPELINES_HOW_TOS_TRACK_TIME_IN_STAGE:"/user-guide/views-pipelines/how-tos/track-time-in-stage",USER_GUIDE_VIEWS_PIPELINES_OVERVIEW:"/user-guide/views-pipelines/overview",USER_GUIDE_WORKFLOWS_CAPABILITIES_SEND_EMAILS_FROM_WORKFLOWS:"/user-guide/workflows/capabilities/send-emails-from-workflows",USER_GUIDE_WORKFLOWS_CAPABILITIES_USE_BRANCHES_IN_WORKFLOWS:"/user-guide/workflows/capabilities/use-branches-in-workflows",USER_GUIDE_WORKFLOWS_CAPABILITIES_USE_ITERATOR:"/user-guide/workflows/capabilities/use-iterator",USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_ACTIONS:"/user-guide/workflows/capabilities/workflow-actions",USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_BRANCHES:"/user-guide/workflows/capabilities/workflow-branches",USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_CREDITS:"/user-guide/workflows/capabilities/workflow-credits",USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_RUNS:"/user-guide/workflows/capabilities/workflow-runs",USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_TRIGGERS:"/user-guide/workflows/capabilities/workflow-triggers",USER_GUIDE_WORKFLOWS_CAPABILITIES_WORKFLOW_VERSIONS:"/user-guide/workflows/capabilities/workflow-versions",USER_GUIDE_WORKFLOWS_HOW_TOS_ADVANCED_CONFIGURATIONS_HANDLE_ARRAYS_IN_CODE_ACTIONS:"/user-guide/workflows/how-tos/advanced-configurations/handle-arrays-in-code-actions",USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_BRING_PRODUCT_DATA_IN_TWENTY:"/user-guide/workflows/how-tos/connect-to-other-tools/bring-product-data-in-twenty",USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_BRING_TYPEFORM_SUBMISSIONS_IN_TWENTY:"/user-guide/workflows/how-tos/connect-to-other-tools/bring-typeform-submissions-in-twenty",USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_GENERATE_PDF_FROM_TWENTY:"/user-guide/workflows/how-tos/connect-to-other-tools/generate-pdf-from-twenty",USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_GENERATE_QUOTE_OR_INVOICE_FROM_TWENTY:"/user-guide/workflows/how-tos/connect-to-other-tools/generate-quote-or-invoice-from-twenty",USER_GUIDE_WORKFLOWS_HOW_TOS_CONNECT_TO_OTHER_TOOLS_SET_UP_A_WEBHOOK_TRIGGER:"/user-guide/workflows/how-tos/connect-to-other-tools/set-up-a-webhook-trigger",USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_CLOSED_WON_AUTOMATIONS:"/user-guide/workflows/how-tos/crm-automations/closed-won-automations",USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_DETECT_STALE_OPPORTUNITIES:"/user-guide/workflows/how-tos/crm-automations/detect-stale-opportunities",USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_DISPLAY_NUMBER_OF_EMAILS_RECEIVED:"/user-guide/workflows/how-tos/crm-automations/display-number-of-emails-received",USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_DISPLAY_RELATED_RECORD_DATA:"/user-guide/workflows/how-tos/crm-automations/display-related-record-data",USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_FORMULA_FIELDS:"/user-guide/workflows/how-tos/crm-automations/formula-fields",USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_NOTIFY_TEAMMATES_OF_NOTE_TO_REVIEW:"/user-guide/workflows/how-tos/crm-automations/notify-teammates-of-note-to-review",USER_GUIDE_WORKFLOWS_HOW_TOS_CRM_AUTOMATIONS_SEND_EMAIL_ALERTS_WITH_TASKS_DUE:"/user-guide/workflows/how-tos/crm-automations/send-email-alerts-with-tasks-due",USER_GUIDE_WORKFLOWS_HOW_TOS_NEED_MORE_HELP_PROFESSIONAL_SERVICES:"/user-guide/workflows/how-tos/need-more-help/professional-services",USER_GUIDE_WORKFLOWS_HOW_TOS_NEED_MORE_HELP_WORKFLOW_TROUBLESHOOTING:"/user-guide/workflows/how-tos/need-more-help/workflow-troubleshooting",USER_GUIDE_WORKFLOWS_HOW_TOS_NEED_MORE_HELP_WORKFLOWS_FAQ:"/user-guide/workflows/how-tos/need-more-help/workflows-faq",USER_GUIDE_WORKFLOWS_OVERVIEW:"/user-guide/workflows/overview"},i=a.USER_GUIDE_INTRODUCTION,l=[e.ObjectRecordGroupByDateGranularity.DAY,e.ObjectRecordGroupByDateGranularity.WEEK,e.ObjectRecordGroupByDateGranularity.MONTH,e.ObjectRecordGroupByDateGranularity.QUARTER,e.ObjectRecordGroupByDateGranularity.YEAR],I=[e.FieldMetadataType.TEXT,e.FieldMetadataType.FULL_NAME,e.FieldMetadataType.UUID],s=["RATING_1","RATING_2","RATING_3","RATING_4","RATING_5"];exports.COMPOSITE_FIELD_TYPE_SUB_FIELDS_NAMES=_;exports.CURRENCY_CODE_LABELS=E;exports.DOCUMENTATION_DEFAULT_PATH=i;exports.DOCUMENTATION_PATHS=a;exports.GROUP_BY_DATE_GRANULARITY_THAT_REQUIRE_TIME_ZONE=l;exports.LABEL_IDENTIFIER_FIELD_METADATA_TYPES=I;exports.RATING_VALUES=s;
|