twenty-sdk 0.1.3 → 0.2.1-alpha
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/dist/application/application-config.d.ts +2 -13
- package/dist/application/{field-metadata → fields}/composite-fields.d.ts +1 -1
- package/dist/application/fields/field-type.d.ts +1 -0
- package/dist/application/fields/field.decorator.d.ts +3 -0
- package/dist/application/fields/on-delete-action.d.ts +1 -0
- package/dist/application/fields/relation-type.d.ts +1 -0
- package/dist/application/{field-metadata → fields}/relation.decorator.d.ts +1 -1
- package/dist/application/function-config.d.ts +3 -19
- package/dist/application/index.d.ts +10 -8
- package/dist/application/objects/object.decorator.d.ts +4 -0
- package/dist/application/{object-metadata → objects}/standard-object-ids.d.ts +1 -1
- package/dist/application/permission-flag-type.d.ts +1 -0
- package/dist/application/role-config.d.ts +2 -0
- package/dist/cli/commands/app-sync.command.d.ts +1 -1
- package/dist/cli/commands/app-uninstall.command.d.ts +1 -1
- package/dist/cli/services/api.service.d.ts +3 -2
- package/dist/cli/services/config.service.d.ts +4 -1
- package/dist/cli/services/generate.service.d.ts +1 -0
- package/dist/cli/types/api-response.types.d.ts +12 -0
- package/dist/cli/utils/load-manifest.d.ts +3 -2
- package/dist/cli.cjs +78 -39
- package/dist/cli.mjs +1513 -1454
- package/dist/index.cjs +12 -39
- package/dist/index.mjs +2749 -16950
- package/dist/vendor/twenty-shared/CalendarStartDay-C44FicI4.js +1 -0
- package/dist/vendor/twenty-shared/CalendarStartDay-izukv6nx.mjs +4 -0
- package/dist/vendor/twenty-shared/FieldMetadataDefaultValue-CJU0Y2Fi.mjs +498 -0
- package/dist/vendor/twenty-shared/FieldMetadataDefaultValue-CmL_eyqR.js +1 -0
- package/dist/vendor/twenty-shared/LabelIdentifierFieldMetadataTypes-BaWEb4k0.js +1 -0
- package/dist/vendor/twenty-shared/LabelIdentifierFieldMetadataTypes-BzzhC1dx.mjs +55 -0
- package/dist/vendor/twenty-shared/RatingValues-4GPp8aN_.mjs +166 -0
- package/dist/vendor/twenty-shared/RatingValues-CBa057Mi.js +1 -0
- package/dist/vendor/twenty-shared/RecordFilterGroupLogicalOperator-CKox6HGm.js +1 -0
- package/dist/vendor/twenty-shared/RecordFilterGroupLogicalOperator-DZy8SCuT.mjs +5 -0
- package/dist/vendor/twenty-shared/StepFilters-Cml3Z3gd.mjs +4 -0
- package/dist/vendor/twenty-shared/StepFilters-DGMx4w0Z.js +1 -0
- package/dist/vendor/twenty-shared/ViewFilterOperandDeprecated-5v-49Eq0.mjs +6 -0
- package/dist/vendor/twenty-shared/ViewFilterOperandDeprecated-CHskkJ78.js +1 -0
- package/dist/vendor/twenty-shared/ai/index.d.ts +6 -0
- package/dist/vendor/twenty-shared/ai/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/ai/types/DataMessagePart.d.ts +65 -0
- package/dist/vendor/twenty-shared/ai/types/DataMessagePart.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/ai/types/ExtendedUIMessage.d.ts +20 -0
- package/dist/vendor/twenty-shared/ai/types/ExtendedUIMessage.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/ai/types/ExtendedUIMessagePart.d.ts +5 -0
- package/dist/vendor/twenty-shared/ai/types/ExtendedUIMessagePart.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/ai/types/agent-response-schema.type.d.ts +11 -0
- package/dist/vendor/twenty-shared/ai/types/agent-response-schema.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/ai/types/index.d.ts +3 -0
- package/dist/vendor/twenty-shared/ai/types/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/ai/types/model-configuration.type.d.ts +11 -0
- package/dist/vendor/twenty-shared/ai/types/model-configuration.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/ai.cjs +1 -0
- package/dist/vendor/twenty-shared/ai.mjs +1 -0
- package/dist/vendor/twenty-shared/application/applicationManifestType.d.ts +12 -0
- package/dist/vendor/twenty-shared/application/applicationManifestType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/applicationType.d.ts +11 -0
- package/dist/vendor/twenty-shared/application/applicationType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/applicationVariablesType.d.ts +10 -0
- package/dist/vendor/twenty-shared/application/applicationVariablesType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/constants/DefaultApiKeyName.d.ts +2 -0
- package/dist/vendor/twenty-shared/application/constants/DefaultApiKeyName.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/constants/DefaultApiUrlName.d.ts +2 -0
- package/dist/vendor/twenty-shared/application/constants/DefaultApiUrlName.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/fieldManifestType.d.ts +14 -0
- package/dist/vendor/twenty-shared/application/fieldManifestType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/index.d.ts +12 -0
- package/dist/vendor/twenty-shared/application/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/objectManifestType.d.ts +13 -0
- package/dist/vendor/twenty-shared/application/objectManifestType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/packageJsonType.d.ts +14 -0
- package/dist/vendor/twenty-shared/application/packageJsonType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/roleManifestType.d.ts +51 -0
- package/dist/vendor/twenty-shared/application/roleManifestType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/serverlessFunctionManifestType.d.ts +27 -0
- package/dist/vendor/twenty-shared/application/serverlessFunctionManifestType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application/syncableEntityOptionsType.d.ts +4 -0
- package/dist/vendor/twenty-shared/application/syncableEntityOptionsType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/application.cjs +1 -0
- package/dist/vendor/twenty-shared/application.mjs +5 -0
- package/dist/vendor/twenty-shared/constants/CalendarStartDay.d.ts +7 -0
- package/dist/vendor/twenty-shared/constants/CalendarStartDay.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/CompositeFieldTypeSubFieldsNames.d.ts +46 -0
- package/dist/vendor/twenty-shared/constants/CompositeFieldTypeSubFieldsNames.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/CurrencyCode.d.ts +156 -0
- package/dist/vendor/twenty-shared/constants/CurrencyCode.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/CurrencyCodeLabels.d.ts +6 -0
- package/dist/vendor/twenty-shared/constants/CurrencyCodeLabels.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/DateTypeFormat.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/DateTypeFormat.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/DefaultNumberOfGroupsLimit.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/DefaultNumberOfGroupsLimit.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/DefaultRelativeDateFilterValue.d.ts +4 -0
- package/dist/vendor/twenty-shared/constants/DefaultRelativeDateFilterValue.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/FieldForTotalCountAggregateOperation.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/FieldForTotalCountAggregateOperation.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/FieldMetadataMaxOptionsToDisplay.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/FieldMetadataMaxOptionsToDisplay.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/FieldRestrictedAdditionalPermissionsRequired.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/FieldRestrictedAdditionalPermissionsRequired.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/LabelIdentifierFieldMetadataTypes.d.ts +4 -0
- package/dist/vendor/twenty-shared/constants/LabelIdentifierFieldMetadataTypes.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/MultiItemFieldDefaultMaxValues.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/MultiItemFieldDefaultMaxValues.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/MultiItemFieldMinMaxValues.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/MultiItemFieldMinMaxValues.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/MutationMaxMergeRecords.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/MutationMaxMergeRecords.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/PermissionFlagType.d.ts +27 -0
- package/dist/vendor/twenty-shared/constants/PermissionFlagType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/PermissionsOnAllObjectRecords.d.ts +7 -0
- package/dist/vendor/twenty-shared/constants/PermissionsOnAllObjectRecords.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/QueryDefaultLimitRecords.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/QueryDefaultLimitRecords.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/QueryMaxRecords.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/QueryMaxRecords.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/QueryMaxRecordsFromRelation.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/QueryMaxRecordsFromRelation.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/QuotedStringRegex.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/QuotedStringRegex.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/RatingValues.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/RatingValues.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/RelationNestedQueriesKeyword.d.ts +6 -0
- package/dist/vendor/twenty-shared/constants/RelationNestedQueriesKeyword.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/StandardObjectRecordsUnderObjectRecordsPermissions.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/StandardObjectRecordsUnderObjectRecordsPermissions.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/TwentyCompaniesBaseUrl.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/TwentyCompaniesBaseUrl.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/TwentyIconsBaseUrl.d.ts +2 -0
- package/dist/vendor/twenty-shared/constants/TwentyIconsBaseUrl.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants/index.d.ts +26 -0
- package/dist/vendor/twenty-shared/constants/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/constants.cjs +1 -0
- package/dist/vendor/twenty-shared/constants.mjs +48 -0
- package/dist/vendor/twenty-shared/index.cjs +1 -0
- package/dist/vendor/twenty-shared/index.d.ts +4 -0
- package/dist/vendor/twenty-shared/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/index.mjs +7 -0
- package/dist/vendor/twenty-shared/isValidCountryCode-CJneDJKx.mjs +6783 -0
- package/dist/vendor/twenty-shared/isValidCountryCode-DxXIdhne.js +4 -0
- package/dist/vendor/twenty-shared/metadata/MetadataValidationError.d.ts +28 -0
- package/dist/vendor/twenty-shared/metadata/MetadataValidationError.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/metadata/add-custom-suffix-if-reserved.util.d.ts +2 -0
- package/dist/vendor/twenty-shared/metadata/add-custom-suffix-if-reserved.util.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/metadata/all-metadata-name.constant.d.ts +20 -0
- package/dist/vendor/twenty-shared/metadata/all-metadata-name.constant.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/metadata/all-metadata-name.type.d.ts +4 -0
- package/dist/vendor/twenty-shared/metadata/all-metadata-name.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/metadata/compute-metadata-name-from-label.util.d.ts +5 -0
- package/dist/vendor/twenty-shared/metadata/compute-metadata-name-from-label.util.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/metadata/index.d.ts +9 -0
- package/dist/vendor/twenty-shared/metadata/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/metadata/reserved-metadata-name-keywords.constant.d.ts +3 -0
- package/dist/vendor/twenty-shared/metadata/reserved-metadata-name-keywords.constant.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/metadata/standard-object-ids.d.ts +51 -0
- package/dist/vendor/twenty-shared/metadata/standard-object-ids.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/metadata.cjs +1 -0
- package/dist/vendor/twenty-shared/metadata.mjs +158 -0
- package/dist/vendor/twenty-shared/testing/EachTestingContextFilter.d.ts +4 -0
- package/dist/vendor/twenty-shared/testing/EachTestingContextFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/testing/index.d.ts +5 -0
- package/dist/vendor/twenty-shared/testing/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/testing/types/EachTestingContext.type.d.ts +6 -0
- package/dist/vendor/twenty-shared/testing/types/EachTestingContext.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/testing/types/SuccessfulAndFailingTestCases.d.ts +7 -0
- package/dist/vendor/twenty-shared/testing/types/SuccessfulAndFailingTestCases.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/testing/types/TestingGenerics.type.d.ts +28 -0
- package/dist/vendor/twenty-shared/testing/types/TestingGenerics.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/testing.cjs +2 -0
- package/dist/vendor/twenty-shared/testing.mjs +10 -0
- package/dist/vendor/twenty-shared/translations/constants/AppLocales.d.ts +34 -0
- package/dist/vendor/twenty-shared/translations/constants/AppLocales.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/translations/constants/SourceLocale.d.ts +2 -0
- package/dist/vendor/twenty-shared/translations/constants/SourceLocale.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/translations/index.d.ts +3 -0
- package/dist/vendor/twenty-shared/translations/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/translations.cjs +1 -0
- package/dist/vendor/twenty-shared/translations.mjs +37 -0
- package/dist/vendor/twenty-shared/types/AddressFieldsType.d.ts +3 -0
- package/dist/vendor/twenty-shared/types/AddressFieldsType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/AppBasePath.d.ts +6 -0
- package/dist/vendor/twenty-shared/types/AppBasePath.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/AppPath.d.ts +28 -0
- package/dist/vendor/twenty-shared/types/AppPath.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/Arrayable.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/Arrayable.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/CompositeFieldSubFieldNameType.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/CompositeFieldSubFieldNameType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ConfigVariableValue.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/ConfigVariableValue.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ConnectedAccountProvider.d.ts +6 -0
- package/dist/vendor/twenty-shared/types/ConnectedAccountProvider.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/EnumFieldMetadataType.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/EnumFieldMetadataType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ExcludeFunctions.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/ExcludeFunctions.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ExtractPropertiesThatEndsWithId.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/ExtractPropertiesThatEndsWithId.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FieldMetadataDefaultValue.d.ts +125 -0
- package/dist/vendor/twenty-shared/types/FieldMetadataDefaultValue.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FieldMetadataMultiItemSettings.d.ts +9 -0
- package/dist/vendor/twenty-shared/types/FieldMetadataMultiItemSettings.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FieldMetadataOptions.d.ts +21 -0
- package/dist/vendor/twenty-shared/types/FieldMetadataOptions.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FieldMetadataSettings.d.ts +62 -0
- package/dist/vendor/twenty-shared/types/FieldMetadataSettings.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FieldMetadataType.d.ts +28 -0
- package/dist/vendor/twenty-shared/types/FieldMetadataType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FieldRatingValue.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/FieldRatingValue.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FilterableFieldType.d.ts +9 -0
- package/dist/vendor/twenty-shared/types/FilterableFieldType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FirstDayOfTheWeek.d.ts +6 -0
- package/dist/vendor/twenty-shared/types/FirstDayOfTheWeek.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/FromToType.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/FromToType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/HttpMethod.d.ts +8 -0
- package/dist/vendor/twenty-shared/types/HttpMethod.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/IsEmptyRecord.type.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/IsEmptyRecord.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/IsExactly.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/IsExactly.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/MessageParticipantRole.d.ts +7 -0
- package/dist/vendor/twenty-shared/types/MessageParticipantRole.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ModifiedProperties.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/ModifiedProperties.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/NonNullableRequired.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/NonNullableRequired.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/Nullable.d.ts +2 -0
- package/dist/vendor/twenty-shared/types/Nullable.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/NullablePartial.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/NullablePartial.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ObjectPermissions.d.ts +10 -0
- package/dist/vendor/twenty-shared/types/ObjectPermissions.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ObjectRecord.d.ts +8 -0
- package/dist/vendor/twenty-shared/types/ObjectRecord.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ObjectRecordGroupBy.d.ts +31 -0
- package/dist/vendor/twenty-shared/types/ObjectRecordGroupBy.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ObjectRecordGroupByDateGranularity.d.ts +12 -0
- package/dist/vendor/twenty-shared/types/ObjectRecordGroupByDateGranularity.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ObjectsPermissions.d.ts +6 -0
- package/dist/vendor/twenty-shared/types/ObjectsPermissions.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ObjectsPermissionsByRoleId.d.ts +6 -0
- package/dist/vendor/twenty-shared/types/ObjectsPermissionsByRoleId.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/PartialFieldMetadataItem.d.ts +11 -0
- package/dist/vendor/twenty-shared/types/PartialFieldMetadataItem.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/PartialFieldMetadataOption.d.ts +7 -0
- package/dist/vendor/twenty-shared/types/PartialFieldMetadataOption.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RecordFilterGroupLogicalOperator.d.ts +5 -0
- package/dist/vendor/twenty-shared/types/RecordFilterGroupLogicalOperator.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RecordFilterValueDependencies.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/RecordFilterValueDependencies.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RecordGqlOperationFilter.d.ts +145 -0
- package/dist/vendor/twenty-shared/types/RecordGqlOperationFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RelationAndMorphRelationFieldMetadataType.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/RelationAndMorphRelationFieldMetadataType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RelationCreationPayload.d.ts +9 -0
- package/dist/vendor/twenty-shared/types/RelationCreationPayload.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RelationOnDeleteAction.type.d.ts +7 -0
- package/dist/vendor/twenty-shared/types/RelationOnDeleteAction.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RelationType.d.ts +5 -0
- package/dist/vendor/twenty-shared/types/RelationType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RelationUpdatePayload.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/RelationUpdatePayload.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RestrictedFieldPermissions.d.ts +5 -0
- package/dist/vendor/twenty-shared/types/RestrictedFieldPermissions.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/RestrictedFieldsPermissions.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/RestrictedFieldsPermissions.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/SettingsPath.d.ts +61 -0
- package/dist/vendor/twenty-shared/types/SettingsPath.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/SourcesType.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/SourcesType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/StepFilters.d.ts +38 -0
- package/dist/vendor/twenty-shared/types/StepFilters.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/TwoFactorAuthenticationStrategy.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/TwoFactorAuthenticationStrategy.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ViewFilterOperand.d.ts +19 -0
- package/dist/vendor/twenty-shared/types/ViewFilterOperand.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/ViewFilterOperandDeprecated.d.ts +19 -0
- package/dist/vendor/twenty-shared/types/ViewFilterOperandDeprecated.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/composite-types/actor.composite-type.d.ts +25 -0
- package/dist/vendor/twenty-shared/types/composite-types/actor.composite-type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/composite-types/address.composite-type.d.ts +14 -0
- package/dist/vendor/twenty-shared/types/composite-types/address.composite-type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/composite-types/composite-type-definitions.d.ts +5 -0
- package/dist/vendor/twenty-shared/types/composite-types/composite-type-definitions.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/composite-types/composite-type.interface.d.ts +18 -0
- package/dist/vendor/twenty-shared/types/composite-types/composite-type.interface.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/composite-types/currency.composite-type.d.ts +8 -0
- package/dist/vendor/twenty-shared/types/composite-types/currency.composite-type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/composite-types/emails.composite-type.d.ts +8 -0
- package/dist/vendor/twenty-shared/types/composite-types/emails.composite-type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/composite-types/full-name.composite-type.d.ts +8 -0
- package/dist/vendor/twenty-shared/types/composite-types/full-name.composite-type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/composite-types/links.composite-type.d.ts +17 -0
- package/dist/vendor/twenty-shared/types/composite-types/links.composite-type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/composite-types/phones.composite-type.d.ts +17 -0
- package/dist/vendor/twenty-shared/types/composite-types/phones.composite-type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/composite-types/rich-text-v2.composite-type.d.ts +10 -0
- package/dist/vendor/twenty-shared/types/composite-types/rich-text-v2.composite-type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/index.d.ts +79 -0
- package/dist/vendor/twenty-shared/types/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types/validators/is-valid-graphql-enum-name.validator.d.ts +4 -0
- package/dist/vendor/twenty-shared/types/validators/is-valid-graphql-enum-name.validator.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/types.cjs +1 -0
- package/dist/vendor/twenty-shared/types.mjs +113 -0
- package/dist/vendor/twenty-shared/utils/applyDiff.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/applyDiff.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/array/filterOutByProperty.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/array/filterOutByProperty.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/array/findById.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/array/findById.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/array/findByProperty.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/array/findByProperty.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/array/findOrThrow.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/array/findOrThrow.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/array/getContiguousIncrementalValues.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/array/getContiguousIncrementalValues.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/array/isNonEmptyArray.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/array/isNonEmptyArray.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/array/mapById.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/array/mapById.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/array/mapByProperty.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/array/mapByProperty.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/array/sumByProperty.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/array/sumByProperty.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/array/upsertIntoArrayOfObjectComparingId.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/array/upsertIntoArrayOfObjectComparingId.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/assertUnreachable.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/assertUnreachable.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/compute-diff-between-objects.d.ts +25 -0
- package/dist/vendor/twenty-shared/utils/compute-diff-between-objects.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/deepMerge.d.ts +15 -0
- package/dist/vendor/twenty-shared/utils/deepMerge.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/errors/CustomError.d.ts +5 -0
- package/dist/vendor/twenty-shared/utils/errors/CustomError.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/errors/index.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/errors/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/extractAndSanitizeObjectStringFields.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/extractAndSanitizeObjectStringFields.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/fieldMetadata/compute-morph-relation-field-name.d.ts +13 -0
- package/dist/vendor/twenty-shared/utils/fieldMetadata/compute-morph-relation-field-name.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/fieldMetadata/index.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/fieldMetadata/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/fieldMetadata/isFieldMetadataDateKind.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/fieldMetadata/isFieldMetadataDateKind.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/checkIfShouldComputeEmptinessFilter.d.ts +9 -0
- package/dist/vendor/twenty-shared/utils/filter/checkIfShouldComputeEmptinessFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/checkIfShouldSkipFiltering.d.ts +8 -0
- package/dist/vendor/twenty-shared/utils/filter/checkIfShouldSkipFiltering.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/compute-record-gql-operation-filter/for-composite-field/computeGqlOperationFilterForEmails.d.ts +9 -0
- package/dist/vendor/twenty-shared/utils/filter/compute-record-gql-operation-filter/for-composite-field/computeGqlOperationFilterForEmails.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/compute-record-gql-operation-filter/for-composite-field/computeGqlOperationFilterForLinks.d.ts +118 -0
- package/dist/vendor/twenty-shared/utils/filter/compute-record-gql-operation-filter/for-composite-field/computeGqlOperationFilterForLinks.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/computeEmptyGqlOperationFilterForEmails.d.ts +8 -0
- package/dist/vendor/twenty-shared/utils/filter/computeEmptyGqlOperationFilterForEmails.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/computeEmptyGqlOperationFilterForLinks.d.ts +8 -0
- package/dist/vendor/twenty-shared/utils/filter/computeEmptyGqlOperationFilterForLinks.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/computeRecordGqlOperationFilter.d.ts +10 -0
- package/dist/vendor/twenty-shared/utils/filter/computeRecordGqlOperationFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/addUnitToDateTime.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/addUnitToDateTime.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/firstDayOfWeekSchema.d.ts +10 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/firstDayOfWeekSchema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/getDateFromPlainDate.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/getDateFromPlainDate.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/getEndUnitOfDateTime.d.ts +6 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/getEndUnitOfDateTime.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/getFirstDayOfTheWeekAsANumberForDateFNS.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/getFirstDayOfTheWeekAsANumberForDateFNS.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/getPlainDateFromDate.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/getPlainDateFromDate.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/getStartUnitOfDateTime.d.ts +6 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/getStartUnitOfDateTime.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/relativeDateFilterAmountSchema.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/relativeDateFilterAmountSchema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/relativeDateFilterDirectionSchema.d.ts +9 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/relativeDateFilterDirectionSchema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/relativeDateFilterSchema.d.ts +24 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/relativeDateFilterSchema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/relativeDateFilterStringifiedSchema.d.ts +10 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/relativeDateFilterStringifiedSchema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/relativeDateFilterUnitSchema.d.ts +10 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/relativeDateFilterUnitSchema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/resolveDateFilter.d.ts +11 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/resolveDateFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/resolveDateTimeFilter.d.ts +11 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/resolveDateTimeFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/resolveRelativeDateFilter.d.ts +12 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/resolveRelativeDateFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/resolveRelativeDateFilterStringified.d.ts +10 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/resolveRelativeDateFilterStringified.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/resolveRelativeDateTimeFilter.d.ts +12 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/resolveRelativeDateTimeFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/resolveRelativeDateTimeFilterStringified.d.ts +10 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/resolveRelativeDateTimeFilterStringified.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/shiftPointInTimeFromTimezoneDifferenceInMinutesWithSystemTimezone.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/shiftPointInTimeFromTimezoneDifferenceInMinutesWithSystemTimezone.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/subUnitFromDateTime.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/filter/dates/utils/subUnitFromDateTime.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/index.d.ts +21 -0
- package/dist/vendor/twenty-shared/utils/filter/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/isEmptinessOperand.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/filter/isEmptinessOperand.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/turnAnyFieldFilterIntoRecordGqlFilter.d.ts +9 -0
- package/dist/vendor/twenty-shared/utils/filter/turnAnyFieldFilterIntoRecordGqlFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/turnRecordFilterGroupIntoGqlOperationFilter.d.ts +24 -0
- package/dist/vendor/twenty-shared/utils/filter/turnRecordFilterGroupIntoGqlOperationFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/turnRecordFilterIntoGqlOperationFilter.d.ts +17 -0
- package/dist/vendor/twenty-shared/utils/filter/turnRecordFilterIntoGqlOperationFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/combineFilters.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/combineFilters.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/computeTimezoneDifferenceInMinutes.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/computeTimezoneDifferenceInMinutes.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/convert-view-filter-operand-to-core-operand.util.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/convert-view-filter-operand-to-core-operand.util.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/convertViewFilterValueToString.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/convertViewFilterValueToString.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/createAnyFieldRecordFilterBaseProperties.d.ts +8 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/createAnyFieldRecordFilterBaseProperties.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/fieldRatingConvertors.d.ts +6 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/fieldRatingConvertors.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/filterSelectOptionsOfFieldMetadataItem.d.ts +9 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/filterSelectOptionsOfFieldMetadataItem.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/generateILikeFiltersForCompositeFields.d.ts +24 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/generateILikeFiltersForCompositeFields.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/getEmptyRecordGqlOperationFilter.d.ts +11 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/getEmptyRecordGqlOperationFilter.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/getFilterTypeFromFieldType.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/getFilterTypeFromFieldType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isExpectedSubFieldName.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/isExpectedSubFieldName.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/validation-schemas/arrayOfStringsOrVariablesSchema.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/validation-schemas/arrayOfStringsOrVariablesSchema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/validation-schemas/arrayOfUuidsOrVariablesSchema.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/validation-schemas/arrayOfUuidsOrVariablesSchema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/validation-schemas/jsonRelationFilterValueSchema.d.ts +11 -0
- package/dist/vendor/twenty-shared/utils/filter/utils/validation-schemas/jsonRelationFilterValueSchema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/from-array-to-unique-key-record.util.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/from-array-to-unique-key-record.util.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/fromArrayToValuesByKeyRecord.util.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/fromArrayToValuesByKeyRecord.util.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/getURLSafely.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/getURLSafely.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/image/getImageAbsoluteURI.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/image/getImageAbsoluteURI.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/image/getLogoUrlFromDomainName.d.ts +3 -0
- package/dist/vendor/twenty-shared/utils/image/getLogoUrlFromDomainName.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/image/index.d.ts +3 -0
- package/dist/vendor/twenty-shared/utils/image/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/index.d.ts +116 -0
- package/dist/vendor/twenty-shared/utils/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/indexMetadata/getUniqueConstraintsFields.d.ts +15 -0
- package/dist/vendor/twenty-shared/utils/indexMetadata/getUniqueConstraintsFields.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/indexMetadata/index.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/indexMetadata/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/json/fast-deep-equal.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/json/fast-deep-equal.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/navigation/getAppPath.d.ts +5 -0
- package/dist/vendor/twenty-shared/utils/navigation/getAppPath.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/navigation/getSettingsPath.d.ts +5 -0
- package/dist/vendor/twenty-shared/utils/navigation/getSettingsPath.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/parseJson.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/parseJson.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/removePropertiesFromRecord.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/removePropertiesFromRecord.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/removeUndefinedFields.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/removeUndefinedFields.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/safeParseRelativeDateFilterJSONStringified.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/safeParseRelativeDateFilterJSONStringified.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/sentry/getGenericOperationName.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/sentry/getGenericOperationName.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/sentry/getHumanReadableNameFromCode.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/sentry/getHumanReadableNameFromCode.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/strings/appendCopySuffix.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/strings/appendCopySuffix.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/strings/capitalize.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/strings/capitalize.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/strings/index.d.ts +3 -0
- package/dist/vendor/twenty-shared/utils/strings/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/strings/uncapitalize.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/strings/uncapitalize.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/tiptap/index.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/tiptap/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/tiptap/tiptap-marks.d.ts +31 -0
- package/dist/vendor/twenty-shared/utils/tiptap/tiptap-marks.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/trim-and-remove-duplicated-whitespaces-from-object-string-properties.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/trim-and-remove-duplicated-whitespaces-from-object-string-properties.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/trim-and-remove-duplicated-whitespaces-from-string.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/trim-and-remove-duplicated-whitespaces-from-string.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/typeguard/throwIfNotDefined.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/typeguard/throwIfNotDefined.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/url/absoluteUrlSchema.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/url/absoluteUrlSchema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/url/buildSignedPath.d.ts +5 -0
- package/dist/vendor/twenty-shared/utils/url/buildSignedPath.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/url/getAbsoluteUrl.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/url/getAbsoluteUrl.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/url/getAbsoluteUrlOrThrow.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/url/getAbsoluteUrlOrThrow.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/url/getUrlHostnameOrThrow.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/url/getUrlHostnameOrThrow.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/url/index.d.ts +8 -0
- package/dist/vendor/twenty-shared/utils/url/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/url/isValidHostname.d.ts +5 -0
- package/dist/vendor/twenty-shared/utils/url/isValidHostname.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/url/isValidUrl.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/url/isValidUrl.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/url/lowercaseUrlOriginAndRemoveTrailingSlash.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/url/lowercaseUrlOriginAndRemoveTrailingSlash.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/url/safeDecodeURIComponent.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/url/safeDecodeURIComponent.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/uuidToBase36.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/uuidToBase36.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/assertIsDefinedOrThrow.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/validation/assertIsDefinedOrThrow.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/index.d.ts +6 -0
- package/dist/vendor/twenty-shared/utils/validation/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/isDefined.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/validation/isDefined.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/isEmptyObject.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/validation/isEmptyObject.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/isLabelIdentifierFieldMetadataTypes.d.ts +5 -0
- package/dist/vendor/twenty-shared/utils/validation/isLabelIdentifierFieldMetadataTypes.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/isValidLocale.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/validation/isValidLocale.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/isValidUuid.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/validation/isValidUuid.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/isValidVariable.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/validation/isValidVariable.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/normalizeLocale.d.ts +7 -0
- package/dist/vendor/twenty-shared/utils/validation/normalizeLocale.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/phones-value/getCountryCodesForCallingCode.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/validation/phones-value/getCountryCodesForCallingCode.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/phones-value/index.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/validation/phones-value/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/validation/phones-value/isValidCountryCode.d.ts +4 -0
- package/dist/vendor/twenty-shared/utils/validation/phones-value/isValidCountryCode.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils/variable-resolver.d.ts +2 -0
- package/dist/vendor/twenty-shared/utils/variable-resolver.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/utils.cjs +2 -0
- package/dist/vendor/twenty-shared/utils.mjs +2640 -0
- package/dist/vendor/twenty-shared/workflow/constants/CaptureAllVariableTagInnerRegex.d.ts +2 -0
- package/dist/vendor/twenty-shared/workflow/constants/CaptureAllVariableTagInnerRegex.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/constants/ContentTypeValuesHttpRequest.d.ts +4 -0
- package/dist/vendor/twenty-shared/workflow/constants/ContentTypeValuesHttpRequest.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/constants/TriggerStepId.d.ts +2 -0
- package/dist/vendor/twenty-shared/workflow/constants/TriggerStepId.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/index.d.ts +61 -0
- package/dist/vendor/twenty-shared/workflow/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/ai-agent-action-schema.d.ts +29 -0
- package/dist/vendor/twenty-shared/workflow/schemas/ai-agent-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/ai-agent-action-settings-schema.d.ts +18 -0
- package/dist/vendor/twenty-shared/workflow/schemas/ai-agent-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/base-trigger-schema.d.ts +17 -0
- package/dist/vendor/twenty-shared/workflow/schemas/base-trigger-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/base-workflow-action-schema.d.ts +13 -0
- package/dist/vendor/twenty-shared/workflow/schemas/base-workflow-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/base-workflow-action-settings-schema.d.ts +15 -0
- package/dist/vendor/twenty-shared/workflow/schemas/base-workflow-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/code-action-schema.d.ts +30 -0
- package/dist/vendor/twenty-shared/workflow/schemas/code-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/code-action-settings-schema.d.ts +19 -0
- package/dist/vendor/twenty-shared/workflow/schemas/code-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/create-record-action-schema.d.ts +29 -0
- package/dist/vendor/twenty-shared/workflow/schemas/create-record-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/create-record-action-settings-schema.d.ts +18 -0
- package/dist/vendor/twenty-shared/workflow/schemas/create-record-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/cron-trigger-schema.d.ts +38 -0
- package/dist/vendor/twenty-shared/workflow/schemas/cron-trigger-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/database-event-trigger-schema.d.ts +19 -0
- package/dist/vendor/twenty-shared/workflow/schemas/database-event-trigger-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/delete-record-action-schema.d.ts +29 -0
- package/dist/vendor/twenty-shared/workflow/schemas/delete-record-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/delete-record-action-settings-schema.d.ts +18 -0
- package/dist/vendor/twenty-shared/workflow/schemas/delete-record-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/empty-action-schema.d.ts +26 -0
- package/dist/vendor/twenty-shared/workflow/schemas/empty-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/empty-action-settings-schema.d.ts +15 -0
- package/dist/vendor/twenty-shared/workflow/schemas/empty-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/filter-action-schema.d.ts +44 -0
- package/dist/vendor/twenty-shared/workflow/schemas/filter-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/filter-action-settings-schema.d.ts +36 -0
- package/dist/vendor/twenty-shared/workflow/schemas/filter-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/find-records-action-schema.d.ts +38 -0
- package/dist/vendor/twenty-shared/workflow/schemas/find-records-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/find-records-action-settings-schema.d.ts +27 -0
- package/dist/vendor/twenty-shared/workflow/schemas/find-records-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/form-action-schema.d.ts +34 -0
- package/dist/vendor/twenty-shared/workflow/schemas/form-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/form-action-settings-schema.d.ts +24 -0
- package/dist/vendor/twenty-shared/workflow/schemas/form-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/http-request-action-schema.d.ts +37 -0
- package/dist/vendor/twenty-shared/workflow/schemas/http-request-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/http-request-action-settings-schema.d.ts +26 -0
- package/dist/vendor/twenty-shared/workflow/schemas/http-request-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/iterator-action-schema.d.ts +29 -0
- package/dist/vendor/twenty-shared/workflow/schemas/iterator-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/iterator-action-settings-schema.d.ts +18 -0
- package/dist/vendor/twenty-shared/workflow/schemas/iterator-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/manual-trigger-schema.d.ts +28 -0
- package/dist/vendor/twenty-shared/workflow/schemas/manual-trigger-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/object-record-schema.d.ts +4 -0
- package/dist/vendor/twenty-shared/workflow/schemas/object-record-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-schema.d.ts +38 -0
- package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-settings-schema.d.ts +27 -0
- package/dist/vendor/twenty-shared/workflow/schemas/send-email-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/update-record-action-schema.d.ts +31 -0
- package/dist/vendor/twenty-shared/workflow/schemas/update-record-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/update-record-action-settings-schema.d.ts +20 -0
- package/dist/vendor/twenty-shared/workflow/schemas/update-record-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/upsert-record-action-schema.d.ts +29 -0
- package/dist/vendor/twenty-shared/workflow/schemas/upsert-record-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/upsert-record-action-settings-schema.d.ts +18 -0
- package/dist/vendor/twenty-shared/workflow/schemas/upsert-record-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/webhook-trigger-schema.d.ts +22 -0
- package/dist/vendor/twenty-shared/workflow/schemas/webhook-trigger-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-action-schema.d.ts +409 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-delay-action-schema.d.ts +38 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-delay-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-delay-action-settings-schema.d.ts +27 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-delay-action-settings-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-file-action-schema.d.ts +10 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-file-action-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-schema.d.ts +535 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-state-schema.d.ts +516 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-state-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-state-step-info-schema.d.ts +13 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-state-step-info-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-state-step-infos-schema.d.ts +13 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-state-step-infos-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-status-schema.d.ts +12 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-status-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-step-status-schema.d.ts +5 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-run-step-status-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-trigger-schema.d.ts +95 -0
- package/dist/vendor/twenty-shared/workflow/schemas/workflow-trigger-schema.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/types/WorkflowRunStateStepInfos.d.ts +16 -0
- package/dist/vendor/twenty-shared/workflow/types/WorkflowRunStateStepInfos.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/types/workflowHttpRequestStep.d.ts +2 -0
- package/dist/vendor/twenty-shared/workflow/types/workflowHttpRequestStep.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/utils/canObjectBeManagedByWorkflow.d.ts +5 -0
- package/dist/vendor/twenty-shared/workflow/utils/canObjectBeManagedByWorkflow.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/utils/extractRawVariableNameParts.d.ts +5 -0
- package/dist/vendor/twenty-shared/workflow/utils/extractRawVariableNameParts.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/utils/getWorkflowRunContext.d.ts +4 -0
- package/dist/vendor/twenty-shared/workflow/utils/getWorkflowRunContext.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/utils/parseBooleanFromStringValue.d.ts +2 -0
- package/dist/vendor/twenty-shared/workflow/utils/parseBooleanFromStringValue.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/utils/parseDataFromContentType.d.ts +4 -0
- package/dist/vendor/twenty-shared/workflow/utils/parseDataFromContentType.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/workflow-schema/index.d.ts +4 -0
- package/dist/vendor/twenty-shared/workflow/workflow-schema/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/workflow-schema/types/base-output-schema.type.d.ts +18 -0
- package/dist/vendor/twenty-shared/workflow/workflow-schema/types/base-output-schema.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/workflow-schema/utils/buildOutputSchemaFromValue.d.ts +4 -0
- package/dist/vendor/twenty-shared/workflow/workflow-schema/utils/buildOutputSchemaFromValue.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/workflow-schema/utils/navigateOutputSchemaProperty.d.ts +7 -0
- package/dist/vendor/twenty-shared/workflow/workflow-schema/utils/navigateOutputSchemaProperty.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow/workflow-trigger/types/workflow-trigger.type.d.ts +13 -0
- package/dist/vendor/twenty-shared/workflow/workflow-trigger/types/workflow-trigger.type.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workflow.cjs +5 -0
- package/dist/vendor/twenty-shared/workflow.mjs +566 -0
- package/dist/vendor/twenty-shared/workspace/index.d.ts +3 -0
- package/dist/vendor/twenty-shared/workspace/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workspace/types/WorkspaceActivationStatus.d.ts +8 -0
- package/dist/vendor/twenty-shared/workspace/types/WorkspaceActivationStatus.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workspace/types/index.d.ts +2 -0
- package/dist/vendor/twenty-shared/workspace/types/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workspace/utils/index.d.ts +2 -0
- package/dist/vendor/twenty-shared/workspace/utils/index.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workspace/utils/isWorkspaceActiveOrSuspended.d.ts +6 -0
- package/dist/vendor/twenty-shared/workspace/utils/isWorkspaceActiveOrSuspended.d.ts.map +1 -0
- package/dist/vendor/twenty-shared/workspace.cjs +1 -0
- package/dist/vendor/twenty-shared/workspace.mjs +6 -0
- package/package.json +1 -1
- package/dist/application/field-metadata/field-type.d.ts +0 -1
- package/dist/application/field-metadata/field.decorator.d.ts +0 -14
- package/dist/application/field-metadata/on-delete-action.d.ts +0 -1
- package/dist/application/field-metadata/relation-type.d.ts +0 -1
- package/dist/application/object-metadata/object.decorator.d.ts +0 -11
- package/dist/cli/types/config.types.d.ts +0 -99
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Y=(A=>(A[A.SYSTEM=7]="SYSTEM",A[A.SUNDAY=0]="SUNDAY",A[A.MONDAY=1]="MONDAY",A[A.SATURDAY=6]="SATURDAY",A))(Y||{});exports.CalendarStartDay=Y;
|
|
@@ -0,0 +1,498 @@
|
|
|
1
|
+
import { z as E } from "zod";
|
|
2
|
+
import { ValidateIf as n, IsObject as T, IsString as i, IsNumber as I, IsBoolean as M, IsArray as f, IsDate as A, IsNumberString as V, Matches as L, IsNotEmpty as D, IsOptional as P, IsUUID as g, registerDecorator as X } from "class-validator";
|
|
3
|
+
let c;
|
|
4
|
+
const v = new Uint8Array(16);
|
|
5
|
+
function k() {
|
|
6
|
+
if (!c && (c = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !c))
|
|
7
|
+
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
8
|
+
return c(v);
|
|
9
|
+
}
|
|
10
|
+
const o = [];
|
|
11
|
+
for (let e = 0; e < 256; ++e)
|
|
12
|
+
o.push((e + 256).toString(16).slice(1));
|
|
13
|
+
function H(e, t = 0) {
|
|
14
|
+
return o[e[t + 0]] + o[e[t + 1]] + o[e[t + 2]] + o[e[t + 3]] + "-" + o[e[t + 4]] + o[e[t + 5]] + "-" + o[e[t + 6]] + o[e[t + 7]] + "-" + o[e[t + 8]] + o[e[t + 9]] + "-" + o[e[t + 10]] + o[e[t + 11]] + o[e[t + 12]] + o[e[t + 13]] + o[e[t + 14]] + o[e[t + 15]];
|
|
15
|
+
}
|
|
16
|
+
const w = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), b = {
|
|
17
|
+
randomUUID: w
|
|
18
|
+
};
|
|
19
|
+
function W(e, t, p) {
|
|
20
|
+
if (b.randomUUID && !e)
|
|
21
|
+
return b.randomUUID();
|
|
22
|
+
e = e || {};
|
|
23
|
+
const r = e.random || (e.rng || k)();
|
|
24
|
+
return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, H(r);
|
|
25
|
+
}
|
|
26
|
+
var a = /* @__PURE__ */ ((e) => (e.UUID = "UUID", e.TEXT = "TEXT", e.PHONES = "PHONES", e.EMAILS = "EMAILS", e.DATE_TIME = "DATE_TIME", e.DATE = "DATE", e.BOOLEAN = "BOOLEAN", e.NUMBER = "NUMBER", e.NUMERIC = "NUMERIC", e.LINKS = "LINKS", e.CURRENCY = "CURRENCY", e.FULL_NAME = "FULL_NAME", e.RATING = "RATING", e.SELECT = "SELECT", e.MULTI_SELECT = "MULTI_SELECT", e.RELATION = "RELATION", e.MORPH_RELATION = "MORPH_RELATION", e.POSITION = "POSITION", e.ADDRESS = "ADDRESS", e.RAW_JSON = "RAW_JSON", e.RICH_TEXT = "RICH_TEXT", e.RICH_TEXT_V2 = "RICH_TEXT_V2", e.ACTOR = "ACTOR", e.ARRAY = "ARRAY", e.TS_VECTOR = "TS_VECTOR", e))(a || {}), R = /* @__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))(R || {});
|
|
27
|
+
const x = {
|
|
28
|
+
type: a.ACTOR,
|
|
29
|
+
properties: [
|
|
30
|
+
{
|
|
31
|
+
name: "source",
|
|
32
|
+
type: a.SELECT,
|
|
33
|
+
hidden: !1,
|
|
34
|
+
isRequired: !0,
|
|
35
|
+
options: Object.keys(R).map(
|
|
36
|
+
(e, t) => ({
|
|
37
|
+
id: W(),
|
|
38
|
+
// @ts-expect-error legacy noImplicitAny
|
|
39
|
+
label: `${R[e].toLowerCase()}`,
|
|
40
|
+
value: e,
|
|
41
|
+
position: t
|
|
42
|
+
})
|
|
43
|
+
)
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: "workspaceMemberId",
|
|
47
|
+
type: a.UUID,
|
|
48
|
+
hidden: "input",
|
|
49
|
+
isRequired: !1
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: "name",
|
|
53
|
+
type: a.TEXT,
|
|
54
|
+
hidden: "input",
|
|
55
|
+
isRequired: !0
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: "context",
|
|
59
|
+
type: a.RAW_JSON,
|
|
60
|
+
hidden: !1,
|
|
61
|
+
isRequired: !1
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}, B = {
|
|
65
|
+
type: a.ADDRESS,
|
|
66
|
+
properties: [
|
|
67
|
+
{
|
|
68
|
+
name: "addressStreet1",
|
|
69
|
+
type: a.TEXT,
|
|
70
|
+
hidden: !1,
|
|
71
|
+
isRequired: !1
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: "addressStreet2",
|
|
75
|
+
type: a.TEXT,
|
|
76
|
+
hidden: !1,
|
|
77
|
+
isRequired: !1
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: "addressCity",
|
|
81
|
+
type: a.TEXT,
|
|
82
|
+
hidden: !1,
|
|
83
|
+
isRequired: !1
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: "addressPostcode",
|
|
87
|
+
type: a.TEXT,
|
|
88
|
+
hidden: !1,
|
|
89
|
+
isRequired: !1
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: "addressState",
|
|
93
|
+
type: a.TEXT,
|
|
94
|
+
hidden: !1,
|
|
95
|
+
isRequired: !1
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: "addressCountry",
|
|
99
|
+
type: a.TEXT,
|
|
100
|
+
hidden: !1,
|
|
101
|
+
isRequired: !1
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: "addressLat",
|
|
105
|
+
type: a.NUMERIC,
|
|
106
|
+
hidden: !1,
|
|
107
|
+
isRequired: !1
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: "addressLng",
|
|
111
|
+
type: a.NUMERIC,
|
|
112
|
+
hidden: !1,
|
|
113
|
+
isRequired: !1
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
}, K = {
|
|
117
|
+
type: a.CURRENCY,
|
|
118
|
+
properties: [
|
|
119
|
+
{
|
|
120
|
+
name: "amountMicros",
|
|
121
|
+
type: a.NUMERIC,
|
|
122
|
+
hidden: !1,
|
|
123
|
+
isRequired: !1
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: "currencyCode",
|
|
127
|
+
type: a.TEXT,
|
|
128
|
+
hidden: !1,
|
|
129
|
+
isRequired: !1
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
}, Y = {
|
|
133
|
+
type: a.EMAILS,
|
|
134
|
+
properties: [
|
|
135
|
+
{
|
|
136
|
+
name: "primaryEmail",
|
|
137
|
+
type: a.TEXT,
|
|
138
|
+
hidden: !1,
|
|
139
|
+
isRequired: !1,
|
|
140
|
+
isIncludedInUniqueConstraint: !0
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: "additionalEmails",
|
|
144
|
+
type: a.RAW_JSON,
|
|
145
|
+
hidden: !1,
|
|
146
|
+
isRequired: !1
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
}, J = {
|
|
150
|
+
type: a.FULL_NAME,
|
|
151
|
+
properties: [
|
|
152
|
+
{
|
|
153
|
+
name: "firstName",
|
|
154
|
+
type: a.TEXT,
|
|
155
|
+
hidden: !1,
|
|
156
|
+
isRequired: !1,
|
|
157
|
+
isIncludedInUniqueConstraint: !1
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
name: "lastName",
|
|
161
|
+
type: a.TEXT,
|
|
162
|
+
hidden: !1,
|
|
163
|
+
isRequired: !1,
|
|
164
|
+
isIncludedInUniqueConstraint: !1
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
}, G = {
|
|
168
|
+
type: a.LINKS,
|
|
169
|
+
properties: [
|
|
170
|
+
{
|
|
171
|
+
name: "primaryLinkLabel",
|
|
172
|
+
type: a.TEXT,
|
|
173
|
+
hidden: !1,
|
|
174
|
+
isRequired: !1
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
name: "primaryLinkUrl",
|
|
178
|
+
type: a.TEXT,
|
|
179
|
+
hidden: !1,
|
|
180
|
+
isRequired: !1,
|
|
181
|
+
isIncludedInUniqueConstraint: !0
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: "secondaryLinks",
|
|
185
|
+
type: a.RAW_JSON,
|
|
186
|
+
hidden: !1,
|
|
187
|
+
isRequired: !1
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
}, $ = {
|
|
191
|
+
type: a.PHONES,
|
|
192
|
+
properties: [
|
|
193
|
+
{
|
|
194
|
+
name: "primaryPhoneNumber",
|
|
195
|
+
type: a.TEXT,
|
|
196
|
+
hidden: !1,
|
|
197
|
+
isRequired: !1,
|
|
198
|
+
isIncludedInUniqueConstraint: !0
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
name: "primaryPhoneCountryCode",
|
|
202
|
+
type: a.TEXT,
|
|
203
|
+
hidden: !1,
|
|
204
|
+
isRequired: !1
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: "primaryPhoneCallingCode",
|
|
208
|
+
type: a.TEXT,
|
|
209
|
+
hidden: !1,
|
|
210
|
+
isRequired: !1
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
name: "additionalPhones",
|
|
214
|
+
type: a.RAW_JSON,
|
|
215
|
+
hidden: !1,
|
|
216
|
+
isRequired: !1
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
}, z = {
|
|
220
|
+
type: a.RICH_TEXT_V2,
|
|
221
|
+
properties: [
|
|
222
|
+
{
|
|
223
|
+
name: "blocknote",
|
|
224
|
+
type: a.TEXT,
|
|
225
|
+
hidden: !1,
|
|
226
|
+
isRequired: !1
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
name: "markdown",
|
|
230
|
+
type: a.TEXT,
|
|
231
|
+
hidden: !1,
|
|
232
|
+
isRequired: !1
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
}, pe = E.object({
|
|
236
|
+
blocknote: E.string().nullable().optional(),
|
|
237
|
+
markdown: E.string().nullable()
|
|
238
|
+
}), ce = /* @__PURE__ */ new Map([
|
|
239
|
+
[a.LINKS, G],
|
|
240
|
+
[a.CURRENCY, K],
|
|
241
|
+
[a.FULL_NAME, J],
|
|
242
|
+
[a.ADDRESS, B],
|
|
243
|
+
[a.ACTOR, x],
|
|
244
|
+
[a.EMAILS, Y],
|
|
245
|
+
[a.PHONES, $],
|
|
246
|
+
[a.RICH_TEXT_V2, z]
|
|
247
|
+
]);
|
|
248
|
+
var Q = Object.defineProperty, s = (e, t, p, r) => {
|
|
249
|
+
for (var d = void 0, m = e.length - 1, N; m >= 0; m--)
|
|
250
|
+
(N = e[m]) && (d = N(t, p, d) || d);
|
|
251
|
+
return d && Q(t, p, d), d;
|
|
252
|
+
};
|
|
253
|
+
const l = (e) => (t, p) => {
|
|
254
|
+
X({
|
|
255
|
+
name: "isQuotedString",
|
|
256
|
+
target: t.constructor,
|
|
257
|
+
propertyName: p,
|
|
258
|
+
options: e,
|
|
259
|
+
validator: {
|
|
260
|
+
validate: (r) => typeof r == "string" && /^'{1}.*'{1}$/.test(r),
|
|
261
|
+
defaultMessage: (r) => `${r.property} must be a quoted string`
|
|
262
|
+
}
|
|
263
|
+
});
|
|
264
|
+
}, h = {
|
|
265
|
+
UUID: "uuid",
|
|
266
|
+
NOW: "now"
|
|
267
|
+
};
|
|
268
|
+
class Z {
|
|
269
|
+
}
|
|
270
|
+
s([
|
|
271
|
+
n((e, t) => t !== null),
|
|
272
|
+
l()
|
|
273
|
+
], Z.prototype, "value");
|
|
274
|
+
class F {
|
|
275
|
+
}
|
|
276
|
+
s([
|
|
277
|
+
n((e, t) => t !== null),
|
|
278
|
+
T()
|
|
279
|
+
], F.prototype, "value");
|
|
280
|
+
class U {
|
|
281
|
+
}
|
|
282
|
+
s([
|
|
283
|
+
n((e, t) => t !== null),
|
|
284
|
+
l()
|
|
285
|
+
], U.prototype, "blocknote");
|
|
286
|
+
s([
|
|
287
|
+
n((e, t) => t !== null),
|
|
288
|
+
l()
|
|
289
|
+
], U.prototype, "markdown");
|
|
290
|
+
class ee {
|
|
291
|
+
}
|
|
292
|
+
s([
|
|
293
|
+
n((e, t) => t !== null),
|
|
294
|
+
i()
|
|
295
|
+
], ee.prototype, "value");
|
|
296
|
+
class te {
|
|
297
|
+
}
|
|
298
|
+
s([
|
|
299
|
+
n((e, t) => t !== null),
|
|
300
|
+
I()
|
|
301
|
+
], te.prototype, "value");
|
|
302
|
+
class ae {
|
|
303
|
+
}
|
|
304
|
+
s([
|
|
305
|
+
n((e, t) => t !== null),
|
|
306
|
+
M()
|
|
307
|
+
], ae.prototype, "value");
|
|
308
|
+
class se {
|
|
309
|
+
}
|
|
310
|
+
s([
|
|
311
|
+
n((e, t) => t !== null),
|
|
312
|
+
f(),
|
|
313
|
+
l({ each: !0 })
|
|
314
|
+
], se.prototype, "value");
|
|
315
|
+
class ne {
|
|
316
|
+
}
|
|
317
|
+
s([
|
|
318
|
+
n((e, t) => t !== null),
|
|
319
|
+
A()
|
|
320
|
+
], ne.prototype, "value");
|
|
321
|
+
class oe {
|
|
322
|
+
}
|
|
323
|
+
s([
|
|
324
|
+
n((e, t) => t !== null),
|
|
325
|
+
A()
|
|
326
|
+
], oe.prototype, "value");
|
|
327
|
+
class O {
|
|
328
|
+
}
|
|
329
|
+
s([
|
|
330
|
+
n((e, t) => t !== null),
|
|
331
|
+
V()
|
|
332
|
+
], O.prototype, "amountMicros");
|
|
333
|
+
s([
|
|
334
|
+
n((e, t) => t !== null),
|
|
335
|
+
l()
|
|
336
|
+
], O.prototype, "currencyCode");
|
|
337
|
+
class S {
|
|
338
|
+
}
|
|
339
|
+
s([
|
|
340
|
+
n((e, t) => t !== null),
|
|
341
|
+
l()
|
|
342
|
+
], S.prototype, "firstName");
|
|
343
|
+
s([
|
|
344
|
+
n((e, t) => t !== null),
|
|
345
|
+
l()
|
|
346
|
+
], S.prototype, "lastName");
|
|
347
|
+
class le {
|
|
348
|
+
}
|
|
349
|
+
s([
|
|
350
|
+
L(h.UUID),
|
|
351
|
+
D()
|
|
352
|
+
], le.prototype, "value");
|
|
353
|
+
class re {
|
|
354
|
+
}
|
|
355
|
+
s([
|
|
356
|
+
L(h.NOW),
|
|
357
|
+
D()
|
|
358
|
+
], re.prototype, "value");
|
|
359
|
+
class u {
|
|
360
|
+
}
|
|
361
|
+
s([
|
|
362
|
+
n((e, t) => t !== null),
|
|
363
|
+
i()
|
|
364
|
+
], u.prototype, "addressStreet1");
|
|
365
|
+
s([
|
|
366
|
+
n((e, t) => t !== null),
|
|
367
|
+
i()
|
|
368
|
+
], u.prototype, "addressStreet2");
|
|
369
|
+
s([
|
|
370
|
+
n((e, t) => t !== null),
|
|
371
|
+
i()
|
|
372
|
+
], u.prototype, "addressCity");
|
|
373
|
+
s([
|
|
374
|
+
n((e, t) => t !== null),
|
|
375
|
+
i()
|
|
376
|
+
], u.prototype, "addressPostcode");
|
|
377
|
+
s([
|
|
378
|
+
n((e, t) => t !== null),
|
|
379
|
+
i()
|
|
380
|
+
], u.prototype, "addressState");
|
|
381
|
+
s([
|
|
382
|
+
n((e, t) => t !== null),
|
|
383
|
+
i()
|
|
384
|
+
], u.prototype, "addressCountry");
|
|
385
|
+
s([
|
|
386
|
+
n((e, t) => t !== null),
|
|
387
|
+
I()
|
|
388
|
+
], u.prototype, "addressLat");
|
|
389
|
+
s([
|
|
390
|
+
n((e, t) => t !== null),
|
|
391
|
+
I()
|
|
392
|
+
], u.prototype, "addressLng");
|
|
393
|
+
class j {
|
|
394
|
+
}
|
|
395
|
+
s([
|
|
396
|
+
i()
|
|
397
|
+
], j.prototype, "label");
|
|
398
|
+
s([
|
|
399
|
+
i()
|
|
400
|
+
], j.prototype, "url");
|
|
401
|
+
class _ {
|
|
402
|
+
}
|
|
403
|
+
s([
|
|
404
|
+
n((e, t) => t !== null),
|
|
405
|
+
l()
|
|
406
|
+
], _.prototype, "primaryLinkLabel");
|
|
407
|
+
s([
|
|
408
|
+
n((e, t) => t !== null),
|
|
409
|
+
l()
|
|
410
|
+
], _.prototype, "primaryLinkUrl");
|
|
411
|
+
s([
|
|
412
|
+
n((e, t) => t !== null),
|
|
413
|
+
f()
|
|
414
|
+
], _.prototype, "secondaryLinks");
|
|
415
|
+
class C {
|
|
416
|
+
}
|
|
417
|
+
s([
|
|
418
|
+
n((e, t) => t !== null),
|
|
419
|
+
i()
|
|
420
|
+
], C.prototype, "source");
|
|
421
|
+
s([
|
|
422
|
+
n((e, t) => t !== null),
|
|
423
|
+
P(),
|
|
424
|
+
g()
|
|
425
|
+
], C.prototype, "workspaceMemberId");
|
|
426
|
+
s([
|
|
427
|
+
n((e, t) => t !== null),
|
|
428
|
+
i()
|
|
429
|
+
], C.prototype, "name");
|
|
430
|
+
class q {
|
|
431
|
+
}
|
|
432
|
+
s([
|
|
433
|
+
n((e, t) => t !== null),
|
|
434
|
+
l()
|
|
435
|
+
], q.prototype, "primaryEmail");
|
|
436
|
+
s([
|
|
437
|
+
n((e, t) => t !== null),
|
|
438
|
+
T()
|
|
439
|
+
], q.prototype, "additionalEmails");
|
|
440
|
+
class y {
|
|
441
|
+
}
|
|
442
|
+
s([
|
|
443
|
+
n((e, t) => t !== null),
|
|
444
|
+
l()
|
|
445
|
+
], y.prototype, "primaryPhoneNumber");
|
|
446
|
+
s([
|
|
447
|
+
n((e, t) => t !== null),
|
|
448
|
+
l()
|
|
449
|
+
], y.prototype, "primaryPhoneCountryCode");
|
|
450
|
+
s([
|
|
451
|
+
n((e, t) => t !== null),
|
|
452
|
+
l()
|
|
453
|
+
], y.prototype, "primaryPhoneCallingCode");
|
|
454
|
+
s([
|
|
455
|
+
n((e, t) => t !== null),
|
|
456
|
+
T()
|
|
457
|
+
], y.prototype, "additionalPhones");
|
|
458
|
+
class ie {
|
|
459
|
+
}
|
|
460
|
+
s([
|
|
461
|
+
n((e, t) => t !== null),
|
|
462
|
+
f()
|
|
463
|
+
], ie.prototype, "value");
|
|
464
|
+
export {
|
|
465
|
+
_ as A,
|
|
466
|
+
C as B,
|
|
467
|
+
q as C,
|
|
468
|
+
y as D,
|
|
469
|
+
ie as E,
|
|
470
|
+
a as F,
|
|
471
|
+
W as G,
|
|
472
|
+
R as a,
|
|
473
|
+
x as b,
|
|
474
|
+
B as c,
|
|
475
|
+
ce as d,
|
|
476
|
+
K as e,
|
|
477
|
+
Y as f,
|
|
478
|
+
J as g,
|
|
479
|
+
pe as h,
|
|
480
|
+
h as i,
|
|
481
|
+
Z as j,
|
|
482
|
+
F as k,
|
|
483
|
+
G as l,
|
|
484
|
+
U as m,
|
|
485
|
+
ee as n,
|
|
486
|
+
te as o,
|
|
487
|
+
$ as p,
|
|
488
|
+
ae as q,
|
|
489
|
+
z as r,
|
|
490
|
+
se as s,
|
|
491
|
+
ne as t,
|
|
492
|
+
oe as u,
|
|
493
|
+
O as v,
|
|
494
|
+
S as w,
|
|
495
|
+
le as x,
|
|
496
|
+
re as y,
|
|
497
|
+
u as z
|
|
498
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const E=require("zod"),a=require("class-validator");let c;const J=new Uint8Array(16);function K(){if(!c&&(c=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!c))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return c(J)}const i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));function Y(e,t=0){return i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]}const z=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),_={randomUUID:z};function b(e,t,u){if(_.randomUUID&&!e)return _.randomUUID();e=e||{};const o=e.random||(e.rng||K)();return o[6]=o[6]&15|64,o[8]=o[8]&63|128,Y(o)}var l=(e=>(e.UUID="UUID",e.TEXT="TEXT",e.PHONES="PHONES",e.EMAILS="EMAILS",e.DATE_TIME="DATE_TIME",e.DATE="DATE",e.BOOLEAN="BOOLEAN",e.NUMBER="NUMBER",e.NUMERIC="NUMERIC",e.LINKS="LINKS",e.CURRENCY="CURRENCY",e.FULL_NAME="FULL_NAME",e.RATING="RATING",e.SELECT="SELECT",e.MULTI_SELECT="MULTI_SELECT",e.RELATION="RELATION",e.MORPH_RELATION="MORPH_RELATION",e.POSITION="POSITION",e.ADDRESS="ADDRESS",e.RAW_JSON="RAW_JSON",e.RICH_TEXT="RICH_TEXT",e.RICH_TEXT_V2="RICH_TEXT_V2",e.ACTOR="ACTOR",e.ARRAY="ARRAY",e.TS_VECTOR="TS_VECTOR",e))(l||{}),f=(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))(f||{});const A={type:l.ACTOR,properties:[{name:"source",type:l.SELECT,hidden:!1,isRequired:!0,options:Object.keys(f).map((e,t)=>({id:b(),label:`${f[e].toLowerCase()}`,value:e,position:t}))},{name:"workspaceMemberId",type:l.UUID,hidden:"input",isRequired:!1},{name:"name",type:l.TEXT,hidden:"input",isRequired:!0},{name:"context",type:l.RAW_JSON,hidden:!1,isRequired:!1}]},S={type:l.ADDRESS,properties:[{name:"addressStreet1",type:l.TEXT,hidden:!1,isRequired:!1},{name:"addressStreet2",type:l.TEXT,hidden:!1,isRequired:!1},{name:"addressCity",type:l.TEXT,hidden:!1,isRequired:!1},{name:"addressPostcode",type:l.TEXT,hidden:!1,isRequired:!1},{name:"addressState",type:l.TEXT,hidden:!1,isRequired:!1},{name:"addressCountry",type:l.TEXT,hidden:!1,isRequired:!1},{name:"addressLat",type:l.NUMERIC,hidden:!1,isRequired:!1},{name:"addressLng",type:l.NUMERIC,hidden:!1,isRequired:!1}]},h={type:l.CURRENCY,properties:[{name:"amountMicros",type:l.NUMERIC,hidden:!1,isRequired:!1},{name:"currencyCode",type:l.TEXT,hidden:!1,isRequired:!1}]},L={type:l.EMAILS,properties:[{name:"primaryEmail",type:l.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:"additionalEmails",type:l.RAW_JSON,hidden:!1,isRequired:!1}]},M={type:l.FULL_NAME,properties:[{name:"firstName",type:l.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!1},{name:"lastName",type:l.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!1}]},U={type:l.LINKS,properties:[{name:"primaryLinkLabel",type:l.TEXT,hidden:!1,isRequired:!1},{name:"primaryLinkUrl",type:l.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:"secondaryLinks",type:l.RAW_JSON,hidden:!1,isRequired:!1}]},O={type:l.PHONES,properties:[{name:"primaryPhoneNumber",type:l.TEXT,hidden:!1,isRequired:!1,isIncludedInUniqueConstraint:!0},{name:"primaryPhoneCountryCode",type:l.TEXT,hidden:!1,isRequired:!1},{name:"primaryPhoneCallingCode",type:l.TEXT,hidden:!1,isRequired:!1},{name:"additionalPhones",type:l.RAW_JSON,hidden:!1,isRequired:!1}]},j={type:l.RICH_TEXT_V2,properties:[{name:"blocknote",type:l.TEXT,hidden:!1,isRequired:!1},{name:"markdown",type:l.TEXT,hidden:!1,isRequired:!1}]},G=E.z.object({blocknote:E.z.string().nullable().optional(),markdown:E.z.string().nullable()}),$=new Map([[l.LINKS,U],[l.CURRENCY,h],[l.FULL_NAME,M],[l.ADDRESS,S],[l.ACTOR,A],[l.EMAILS,L],[l.PHONES,O],[l.RICH_TEXT_V2,j]]);var Q=Object.defineProperty,s=(e,t,u,o)=>{for(var d=void 0,m=e.length-1,N;m>=0;m--)(N=e[m])&&(d=N(t,u,d)||d);return d&&Q(t,u,d),d};const n=e=>(t,u)=>{a.registerDecorator({name:"isQuotedString",target:t.constructor,propertyName:u,options:e,validator:{validate:o=>typeof o=="string"&&/^'{1}.*'{1}$/.test(o),defaultMessage:o=>`${o.property} must be a quoted string`}})},T={UUID:"uuid",NOW:"now"};class g{}s([a.ValidateIf((e,t)=>t!==null),n()],g.prototype,"value");class q{}s([a.ValidateIf((e,t)=>t!==null),a.IsObject()],q.prototype,"value");class R{}s([a.ValidateIf((e,t)=>t!==null),n()],R.prototype,"blocknote");s([a.ValidateIf((e,t)=>t!==null),n()],R.prototype,"markdown");class P{}s([a.ValidateIf((e,t)=>t!==null),a.IsString()],P.prototype,"value");class X{}s([a.ValidateIf((e,t)=>t!==null),a.IsNumber()],X.prototype,"value");class v{}s([a.ValidateIf((e,t)=>t!==null),a.IsBoolean()],v.prototype,"value");class F{}s([a.ValidateIf((e,t)=>t!==null),a.IsArray(),n({each:!0})],F.prototype,"value");class k{}s([a.ValidateIf((e,t)=>t!==null),a.IsDate()],k.prototype,"value");class w{}s([a.ValidateIf((e,t)=>t!==null),a.IsDate()],w.prototype,"value");class V{}s([a.ValidateIf((e,t)=>t!==null),a.IsNumberString()],V.prototype,"amountMicros");s([a.ValidateIf((e,t)=>t!==null),n()],V.prototype,"currencyCode");class D{}s([a.ValidateIf((e,t)=>t!==null),n()],D.prototype,"firstName");s([a.ValidateIf((e,t)=>t!==null),n()],D.prototype,"lastName");class x{}s([a.Matches(T.UUID),a.IsNotEmpty()],x.prototype,"value");class H{}s([a.Matches(T.NOW),a.IsNotEmpty()],H.prototype,"value");class r{}s([a.ValidateIf((e,t)=>t!==null),a.IsString()],r.prototype,"addressStreet1");s([a.ValidateIf((e,t)=>t!==null),a.IsString()],r.prototype,"addressStreet2");s([a.ValidateIf((e,t)=>t!==null),a.IsString()],r.prototype,"addressCity");s([a.ValidateIf((e,t)=>t!==null),a.IsString()],r.prototype,"addressPostcode");s([a.ValidateIf((e,t)=>t!==null),a.IsString()],r.prototype,"addressState");s([a.ValidateIf((e,t)=>t!==null),a.IsString()],r.prototype,"addressCountry");s([a.ValidateIf((e,t)=>t!==null),a.IsNumber()],r.prototype,"addressLat");s([a.ValidateIf((e,t)=>t!==null),a.IsNumber()],r.prototype,"addressLng");class W{}s([a.IsString()],W.prototype,"label");s([a.IsString()],W.prototype,"url");class I{}s([a.ValidateIf((e,t)=>t!==null),n()],I.prototype,"primaryLinkLabel");s([a.ValidateIf((e,t)=>t!==null),n()],I.prototype,"primaryLinkUrl");s([a.ValidateIf((e,t)=>t!==null),a.IsArray()],I.prototype,"secondaryLinks");class y{}s([a.ValidateIf((e,t)=>t!==null),a.IsString()],y.prototype,"source");s([a.ValidateIf((e,t)=>t!==null),a.IsOptional(),a.IsUUID()],y.prototype,"workspaceMemberId");s([a.ValidateIf((e,t)=>t!==null),a.IsString()],y.prototype,"name");class C{}s([a.ValidateIf((e,t)=>t!==null),n()],C.prototype,"primaryEmail");s([a.ValidateIf((e,t)=>t!==null),a.IsObject()],C.prototype,"additionalEmails");class p{}s([a.ValidateIf((e,t)=>t!==null),n()],p.prototype,"primaryPhoneNumber");s([a.ValidateIf((e,t)=>t!==null),n()],p.prototype,"primaryPhoneCountryCode");s([a.ValidateIf((e,t)=>t!==null),n()],p.prototype,"primaryPhoneCallingCode");s([a.ValidateIf((e,t)=>t!==null),a.IsObject()],p.prototype,"additionalPhones");class B{}s([a.ValidateIf((e,t)=>t!==null),a.IsArray()],B.prototype,"value");exports.FieldActorSource=f;exports.FieldMetadataDefaultActor=y;exports.FieldMetadataDefaultArray=B;exports.FieldMetadataDefaultValueAddress=r;exports.FieldMetadataDefaultValueBoolean=v;exports.FieldMetadataDefaultValueCurrency=V;exports.FieldMetadataDefaultValueDate=w;exports.FieldMetadataDefaultValueDateTime=k;exports.FieldMetadataDefaultValueEmails=C;exports.FieldMetadataDefaultValueFullName=D;exports.FieldMetadataDefaultValueLinks=I;exports.FieldMetadataDefaultValueNowFunction=H;exports.FieldMetadataDefaultValueNumber=X;exports.FieldMetadataDefaultValuePhones=p;exports.FieldMetadataDefaultValueRawJson=q;exports.FieldMetadataDefaultValueRichText=P;exports.FieldMetadataDefaultValueRichTextV2=R;exports.FieldMetadataDefaultValueString=g;exports.FieldMetadataDefaultValueStringArray=F;exports.FieldMetadataDefaultValueUuidFunction=x;exports.FieldMetadataType=l;exports.actorCompositeType=A;exports.addressCompositeType=S;exports.compositeTypeDefinitions=$;exports.currencyCompositeType=h;exports.emailsCompositeType=L;exports.fieldMetadataDefaultValueFunctionName=T;exports.fullNameCompositeType=M;exports.linksCompositeType=U;exports.phonesCompositeType=O;exports.richTextV2CompositeType=j;exports.richTextV2ValueSchema=G;exports.v4=b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./FieldMetadataDefaultValue-CmL_eyqR.js");require("class-validator");const a={[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"}},d=[e.FieldMetadataType.TEXT,e.FieldMetadataType.FULL_NAME,e.FieldMetadataType.UUID];exports.COMPOSITE_FIELD_TYPE_SUB_FIELDS_NAMES=a;exports.LABEL_IDENTIFIER_FIELD_METADATA_TYPES=d;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { F as r } from "./FieldMetadataDefaultValue-CJU0Y2Fi.mjs";
|
|
2
|
+
import "class-validator";
|
|
3
|
+
const s = {
|
|
4
|
+
[r.CURRENCY]: {
|
|
5
|
+
amountMicros: "amountMicros",
|
|
6
|
+
currencyCode: "currencyCode"
|
|
7
|
+
},
|
|
8
|
+
[r.EMAILS]: {
|
|
9
|
+
primaryEmail: "primaryEmail",
|
|
10
|
+
additionalEmails: "additionalEmails"
|
|
11
|
+
},
|
|
12
|
+
[r.LINKS]: {
|
|
13
|
+
primaryLinkUrl: "primaryLinkUrl",
|
|
14
|
+
primaryLinkLabel: "primaryLinkLabel",
|
|
15
|
+
secondaryLinks: "secondaryLinks"
|
|
16
|
+
},
|
|
17
|
+
[r.PHONES]: {
|
|
18
|
+
primaryPhoneCallingCode: "primaryPhoneCallingCode",
|
|
19
|
+
primaryPhoneCountryCode: "primaryPhoneCountryCode",
|
|
20
|
+
primaryPhoneNumber: "primaryPhoneNumber",
|
|
21
|
+
additionalPhones: "additionalPhones"
|
|
22
|
+
},
|
|
23
|
+
[r.FULL_NAME]: {
|
|
24
|
+
firstName: "firstName",
|
|
25
|
+
lastName: "lastName"
|
|
26
|
+
},
|
|
27
|
+
[r.ADDRESS]: {
|
|
28
|
+
addressStreet1: "addressStreet1",
|
|
29
|
+
addressStreet2: "addressStreet2",
|
|
30
|
+
addressCity: "addressCity",
|
|
31
|
+
addressState: "addressState",
|
|
32
|
+
addressCountry: "addressCountry",
|
|
33
|
+
addressPostcode: "addressPostcode",
|
|
34
|
+
addressLat: "addressLat",
|
|
35
|
+
addressLng: "addressLng"
|
|
36
|
+
},
|
|
37
|
+
[r.ACTOR]: {
|
|
38
|
+
source: "source",
|
|
39
|
+
name: "name",
|
|
40
|
+
workspaceMemberId: "workspaceMemberId",
|
|
41
|
+
context: "context"
|
|
42
|
+
},
|
|
43
|
+
[r.RICH_TEXT_V2]: {
|
|
44
|
+
blocknote: "blocknote",
|
|
45
|
+
markdown: "markdown"
|
|
46
|
+
}
|
|
47
|
+
}, d = [
|
|
48
|
+
r.TEXT,
|
|
49
|
+
r.FULL_NAME,
|
|
50
|
+
r.UUID
|
|
51
|
+
];
|
|
52
|
+
export {
|
|
53
|
+
s as C,
|
|
54
|
+
d as L
|
|
55
|
+
};
|