twenty-sdk 0.2.0 → 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 +1 -1
- package/dist/application/fields/composite-fields.d.ts +1 -1
- package/dist/application/fields/field-type.d.ts +1 -1
- package/dist/application/fields/field.decorator.d.ts +2 -2
- package/dist/application/fields/on-delete-action.d.ts +1 -1
- package/dist/application/fields/relation-type.d.ts +1 -1
- package/dist/application/fields/relation.decorator.d.ts +1 -1
- package/dist/application/function-config.d.ts +1 -1
- package/dist/application/objects/object.decorator.d.ts +1 -1
- package/dist/application/objects/standard-object-ids.d.ts +1 -1
- package/dist/application/permission-flag-type.d.ts +1 -1
- package/dist/application/role-config.d.ts +1 -1
- package/dist/cli/services/api.service.d.ts +1 -1
- package/dist/cli/utils/load-manifest.d.ts +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/cli.mjs +1 -1
- 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
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Application } from 'twenty-shared/application';
|
|
1
|
+
import { Application } from '../vendor/twenty-shared/application';
|
|
2
2
|
export type ApplicationConfig = Application;
|
|
@@ -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 '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';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { FieldMetadataType as FieldType } from 'twenty-shared/types';
|
|
1
|
+
export { FieldMetadataType as FieldType } from '../../vendor/twenty-shared/types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FieldMetadataType } from 'twenty-shared/types';
|
|
2
|
-
import { FieldManifest } from 'twenty-shared/application';
|
|
1
|
+
import { FieldMetadataType } from '../../vendor/twenty-shared/types';
|
|
2
|
+
import { FieldManifest } from '../../vendor/twenty-shared/application';
|
|
3
3
|
export declare const Field: <T extends FieldMetadataType>(_: FieldManifest<T>) => PropertyDecorator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { RelationOnDeleteAction as OnDeleteAction } from 'twenty-shared/types';
|
|
1
|
+
export { RelationOnDeleteAction as OnDeleteAction } from '../../vendor/twenty-shared/types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { RelationType } from 'twenty-shared/types';
|
|
1
|
+
export { RelationType } from '../../vendor/twenty-shared/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SyncableEntityOptions } from '../syncable-entity-options.type';
|
|
2
|
-
import { RelationOnDeleteAction, RelationType } from 'twenty-shared/types';
|
|
2
|
+
import { RelationOnDeleteAction, RelationType } from '../../vendor/twenty-shared/types';
|
|
3
3
|
interface WorkspaceRelationMinimumBaseOptions<TClass> {
|
|
4
4
|
label: string;
|
|
5
5
|
description?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServerlessFunctionManifest, ServerlessFunctionTriggerManifest } from 'twenty-shared/application';
|
|
1
|
+
import { ServerlessFunctionManifest, ServerlessFunctionTriggerManifest } from '../vendor/twenty-shared/application';
|
|
2
2
|
export type FunctionConfig = Omit<ServerlessFunctionManifest, 'handlerPath' | 'handlerName'> & {
|
|
3
3
|
name?: string;
|
|
4
4
|
description?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ObjectManifest } from 'twenty-shared/application';
|
|
1
|
+
import { ObjectManifest } from '../../vendor/twenty-shared/application';
|
|
2
2
|
type ObjectMetadataOptions = Omit<ObjectManifest, 'fields'>;
|
|
3
3
|
export declare const Object: (_: ObjectMetadataOptions) => ClassDecorator;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { STANDARD_OBJECT_IDS as STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS } from 'twenty-shared/metadata';
|
|
1
|
+
export { STANDARD_OBJECT_IDS as STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS } from '../../vendor/twenty-shared/metadata';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { PermissionFlagType as PermissionFlag } from 'twenty-shared/constants';
|
|
1
|
+
export { PermissionFlagType as PermissionFlag } from '../vendor/twenty-shared/constants';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RoleManifest } from 'twenty-shared/application';
|
|
1
|
+
import { RoleManifest } from '../vendor/twenty-shared/application';
|
|
2
2
|
export type RoleConfig = RoleManifest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiResponse } from '../types/api-response.types';
|
|
2
|
-
import { PackageJson, ApplicationManifest } from 'twenty-shared/application';
|
|
2
|
+
import { PackageJson, ApplicationManifest } from '../../vendor/twenty-shared/application';
|
|
3
3
|
export declare class ApiService {
|
|
4
4
|
private client;
|
|
5
5
|
private configService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Program } from 'typescript';
|
|
2
|
-
import { Application, PackageJson, ApplicationManifest, RoleManifest } from 'twenty-shared/application';
|
|
2
|
+
import { Application, PackageJson, ApplicationManifest, RoleManifest } from '../../vendor/twenty-shared/application';
|
|
3
3
|
export declare const extractTwentyAppConfig: (program: Program) => Application;
|
|
4
4
|
export declare const collectRoles: (program: Program) => Array<RoleManifest>;
|
|
5
5
|
export declare const loadManifest: (appPath: string) => Promise<{
|
package/dist/cli.cjs
CHANGED
|
@@ -284,4 +284,4 @@ export default class Twenty {
|
|
|
284
284
|
`;await Ge.appendFile(Oe.join(i,"index.ts"),r)}}const sc=async(n,i)=>{const r=_i.default.join(n,i);if(await Ge.pathExists(r))return r;throw new Error(`${i} not found in ${n}`)},Mv=({appPath:n,tsconfigPath:i="tsconfig.json"})=>{const r=L.readConfigFile(Oe.join(n,i),L.sys.readFile);if(r.error)throw new Error(L.formatDiagnosticsWithColorAndContext([r.error],{getCanonicalFileName:u=>u,getCurrentDirectory:L.sys.getCurrentDirectory,getNewLine:()=>L.sys.newLine}));const a=L.parseJsonConfigFileContent(r.config,L.sys,n);if(a.errors.length)throw new Error(L.formatDiagnosticsWithColorAndContext(a.errors,{getCanonicalFileName:u=>u,getCurrentDirectory:L.sys.getCurrentDirectory,getNewLine:()=>L.sys.newLine}));return L.createProgram(a.fileNames,a.options)},$v=async({appPath:n})=>{const i=Mv({appPath:n,tsconfigPath:"tsconfig.json"});return{diagnostics:[...i.getSyntacticDiagnostics(),...i.getSemanticDiagnostics(),...i.getGlobalDiagnostics()],program:i}};class co extends Error{constructor(i,r,a){super(i),this.parseErrors=r,this.filePath=a,this.name="JsoncParseError"}}const Bv=(n,i={})=>{const r=[],a=K0.parse(n,r,{allowTrailingComma:i.allowTrailingComma??!0,disallowComments:i.disallowComments??!1,allowEmptyContent:i.allowEmptyContent??!1});if(r.length>0){const u=r.map(p=>`Line ${p.offset}: ${p.error}`);throw new co(`JSONC parse errors:
|
|
285
285
|
${u.join(`
|
|
286
286
|
`)}`,r)}return a},Gv=async n=>await Ge.readFile(n,"utf8"),Wv=async(n,i={})=>{try{const r=await Ge.readFile(n,"utf8");return Bv(r,i)}catch(r){throw r instanceof co?new co(r.message,r.parseErrors,n):new Error(`Failed to read file ${n}: ${r}`)}},Vv=({diagnostics:n})=>{if(n.length>0){const i=L.formatDiagnosticsWithColorAndContext(n,{getCanonicalFileName:r=>r,getCurrentDirectory:L.sys.getCurrentDirectory,getNewLine:()=>L.sys.newLine});console.warn(i)}},vi=(n,i)=>{const r=n.expression;if(L.isCallExpression(r)){if(L.isIdentifier(r.expression))return r.expression.text===i;if(L.isPropertyAccessExpression(r.expression))return r.expression.name.text===i}return!1},dn=n=>{if(L.isStringLiteralLike(n))return n.text;if(L.isNumericLiteral(n))return Number(n.text);if(n.kind===L.SyntaxKind.TrueKeyword)return!0;if(n.kind===L.SyntaxKind.FalseKeyword)return!1;if(n.kind===L.SyntaxKind.NullKeyword)return null;if(L.isPropertyAccessExpression(n))return L.isIdentifier(n.expression)&&L.isIdentifier(n.name)?n.name.text:String(n.getText());if(L.isNoSubstitutionTemplateLiteral(n))return n.text;if(L.isTemplateExpression(n)){let i=n.head.text;for(const r of n.templateSpans){const a=dn(r.expression);i+=String(a)+r.literal.text}return i}if(L.isArrayLiteralExpression(n))return n.elements.map(i=>i.kind===L.SyntaxKind.SpreadElement?[]:dn(i));if(L.isObjectLiteralExpression(n)){const i={};for(const r of n.properties)if(L.isPropertyAssignment(r)){const a=L.isIdentifier(r.name)||L.isStringLiteralLike(r.name)?r.name.text:L.isComputedPropertyName(r.name)&&L.isStringLiteralLike(r.name.expression)?r.name.expression.text:void 0;a&&(i[a]=dn(r.initializer))}else L.isShorthandPropertyAssignment(r);return i}return L.isIdentifier(n)?n.text:String(n.getText?.()??"")},oc=n=>{if(!L.isCallExpression(n.expression))return;const[i]=n.expression.arguments;return i&&L.isObjectLiteralExpression(i)?dn(i):void 0},jv=n=>{const i=[];for(const r of n.getSourceFiles()){if(r.isDeclarationFile)continue;const a=u=>{if(L.isClassDeclaration(u)&&L.getDecorators(u)?.length){const y=L.getDecorators(u)?.find(_=>vi(_,"ObjectMetadata")||vi(_,"Object"));if(y){const _=oc(y);if(_&&typeof _=="object"&&!Array.isArray(_)){const N=[];for(const D of u.members){if(!L.isPropertyDeclaration(D))continue;const C=L.getDecorators(D)?.find(oe=>vi(oe,"FieldManifest")||vi(oe,"Field"));if(!C)continue;const J=oc(C);if(!J)continue;let Y;D.name&&L.isIdentifier(D.name)?Y=D.name.text:Y=D.name?.getText?.()??void 0,N.push({...J,...Y?{name:Y}:{}})}i.push({..._,fields:N})}}}L.forEachChild(u,a)};a(r)}return i},ac=n=>n.modifiers?.some(i=>i.kind===L.SyntaxKind.ExportKeyword)??!1,qv=n=>{const i=[];for(const _ of n.statements)if(!(!L.isVariableStatement(_)||!ac(_)))for(const N of _.declarationList.declarations){if(!L.isIdentifier(N.name))continue;const D=N.name.text,C=N.initializer??void 0;i.push({name:D,kind:"const",init:C,declNode:N})}for(const _ of n.statements)if(_.kind===L.SyntaxKind.FunctionDeclaration&&ac(_)){const N=_;N.name&&L.isIdentifier(N.name)&&i.push({name:N.name.text,kind:"function",init:void 0,declNode:N})}const r=Array.from(new Map(i.map(_=>[_.name,_])).values());if(r.length!==2)throw new Error(`Serverless file ${n.fileName} must export exactly 2 bindings (handler + config). Found: ${r.map(_=>_.name).join(", ")}`);const a=r.find(_=>_.name==="config");if(!a)throw new Error(`Serverless file ${n.fileName} must export a binding named "config".`);if(!a.init||!L.isObjectLiteralExpression(a.init))throw new Error(`"config" in ${n.fileName} must be initialized to an object literal.`);const u=a.declNode;if("type"in u&&u.type){const _=u.type.getText(n);if(!/\bFunctionConfig\b/.test(_))throw new Error(`"config" in ${n.fileName} must be typed as FunctionConfig (got: ${_}).`)}const p=dn(a.init),y=r.find(_=>_.name!=="config");if(!y)throw new Error(`Could not find the handler export in ${n.fileName}.`);if(y.kind==="const"){const _=y.init;if(!(!!_&&(L.isArrowFunction(_)||L.isFunctionExpression(_))))throw new Error(`Handler "${y.name}" in ${n.fileName} must be a function (arrow or function expression).`)}return{handlerName:y.name,configObject:p}},Jv=(n,i)=>Oe.relative(i,n).split(Oe.sep).join(Oe.posix.sep),Qv=(n,i)=>{const r=[];for(const a of n.getSourceFiles())if(!a.isDeclarationFile)try{const{handlerName:u,configObject:p}=qv(a),y=Jv(a.fileName,i);r.push({...p,handlerPath:y,handlerName:u})}catch{continue}return r},zv=(n,i,r)=>{let a=n;for(let u=0;u<i.length;u++){const p=i[u];u===i.length-1?a[p]=r:(a[p]=a[p]??{},a=a[p])}},Yv=async(n,i)=>{const r={};for(const a of n.getSourceFiles()){const u=a.fileName;if(a.isDeclarationFile||!u.startsWith(i+Oe.sep)&&u!==i||!(u.endsWith(".ts")||u.endsWith(".tsx"))||u.includes(`${Oe.sep}node_modules${Oe.sep}`))continue;const y=Oe.relative(i,u).split(Oe.sep),_=await Ge.readFile(u,"utf8");zv(r,y,_)}return r},Hv=n=>{for(const i of n.getSourceFiles()){if(i.isDeclarationFile||!i.fileName.endsWith("application.config.ts"))continue;let r;const a=u=>{if(L.isExportAssignment(u)&&L.isIdentifier(u.expression)){const p=u.expression.text;for(const y of i.statements)if(L.isVariableStatement(y))for(const _ of y.declarationList.declarations)L.isIdentifier(_.name)&&_.name.text===p&&_.initializer&&L.isObjectLiteralExpression(_.initializer)&&(r=dn(_.initializer))}r||L.forEachChild(u,a)};if(a(i),r)return r}throw new Error("Could not find default exported ApplicationConfig")},Kv=n=>{for(const i of n.getSourceFiles()){if(i.isDeclarationFile)continue;let r=!1;const a=u=>{if(!r){if(L.isImportDeclaration(u)){const p=u.moduleSpecifier;if(L.isStringLiteralLike(p)){const y=p.text;if((y===uo||y.endsWith(`/${uo}`))&&u.importClause){r=!0;return}}}L.forEachChild(u,a)}};if(a(i),r)return!0}return!1},Xv=n=>{const i=[];for(const r of n.getSourceFiles())if(!r.isDeclarationFile){for(const a of r.statements)if(!(!L.isVariableStatement(a)||!(a.modifiers?.some(p=>p.kind===L.SyntaxKind.ExportKeyword)??!1)))for(const p of a.declarationList.declarations){if(!L.isIdentifier(p.name)||!(p.type?.getText(r)??"").includes("RoleConfig"))continue;const _=p.initializer;!_||!L.isObjectLiteralExpression(_)||i.push(dn(_))}}return i},mr=async n=>{const i=await Wv(await sc(n,"package.json")),r=await Gv(await sc(n,"yarn.lock")),{diagnostics:a,program:u}=await $v({appPath:n});Vv({diagnostics:a});const[p,y,_,N,D]=[jv(u),Qv(u,n),Hv(u),Xv(u),await Yv(u,n)],C=Kv(u);return{packageJson:i,yarnLock:r,manifest:{application:_,objects:p,serverlessFunctions:y,roles:N,sources:D},shouldGenerate:C}};class Zv{constructor(){this.apiService=new Wn}async execute({appPath:i=mn,askForConfirmation:r}){try{console.log($.default.blue("🚀 Uninstall Twenty Application")),console.log($.default.gray(`📁 App Path: ${i}`)),console.log(""),r&&!await this.confirmationPrompt()&&(console.error($.default.red("⛔️ Aborting uninstall")),process.exit(1));const{manifest:a}=await mr(i),u=await this.apiService.uninstallApplication(a.application.universalIdentifier);return u.success===!1?console.error($.default.red("❌ Uninstall failed:"),u.error):console.log($.default.green("✅ Application uninstalled successfully")),u}catch(a){throw console.error($.default.red("Uninstall failed:"),a instanceof Error?a.message:a),a}}async confirmationPrompt(){const{confirmation:i}=await Pn.default.prompt([{type:"confirm",name:"confirmation",message:"Are you sure you want to uninstall this application?",default:!1}]);return i}}class e_{constructor(){this.apiService=new Wn}async execute(i){try{const r=i.appPath??mn,a=parseInt(i.debounce,10);this.logStartupInfo(r,a),await this.synchronize(r);const u=this.setupFileWatcher(r,a);this.setupGracefulShutdown(u)}catch(r){console.error($.default.red("Development mode failed:"),r instanceof Error?r.message:r),process.exit(1)}}async synchronize(i){const{manifest:r,packageJson:a,yarnLock:u}=await mr(i);await this.apiService.syncApplication({manifest:r,packageJson:a,yarnLock:u})}logStartupInfo(i,r){console.log($.default.blue("🚀 Starting Twenty Application Development Mode")),console.log($.default.gray(`📁 App Path: ${i}`)),console.log($.default.gray(`⏱️ Debounce: ${r}ms`)),console.log("")}setupFileWatcher(i,r){const a=ty.watch(i,{ignored:/node_modules|\.git/,persistent:!0});let u=null;const p=()=>{u&&clearTimeout(u),u=setTimeout(async()=>{console.log($.default.blue("🔄 Changes detected, syncing...")),await this.synchronize(i),console.log($.default.gray("👀 Watching for changes... (Press Ctrl+C to stop)"))},r)};return a.on("change",()=>{p()}),console.log($.default.gray("👀 Watching for changes... (Press Ctrl+C to stop)")),a}setupGracefulShutdown(i){process.on("SIGINT",()=>{console.log($.default.yellow(`
|
|
287
|
-
🛑 Stopping development mode...`)),i.close(),process.exit(0)})}}class t_{constructor(){this.apiService=new Wn,this.generateService=new Qc}async execute(i=mn){try{return console.log($.default.blue("🚀 Syncing Twenty Application")),console.log($.default.gray(`📁 App Path: ${i}`)),console.log(""),await this.synchronize({appPath:i})}catch(r){throw console.error($.default.red("Sync failed:"),r instanceof Error?r.message:r),r}}async synchronize({appPath:i}){const{manifest:r,packageJson:a,yarnLock:u,shouldGenerate:p}=await mr(i);let y=await this.apiService.syncApplication({manifest:r,packageJson:a,yarnLock:u});if(p){await this.generateService.generateClient(i);const{manifest:_}=await mr(i);y=await this.apiService.syncApplication({manifest:_,packageJson:a,yarnLock:u})}return y.success===!1?console.error($.default.red("❌ Serverless functions Sync failed:"),y.error):console.log($.default.green("✅ Serverless functions synced successfully")),y}}const kn=n=>n&&!n?.startsWith("/")?Oe.join(mn,n):n;class n_{constructor(){this.generateService=new Qc}async execute(i=mn){try{await this.generateService.generateClient(i)}catch(r){throw console.error($.default.red("Generate Twenty client failed:"),r instanceof Error?r.message:r),r}}}class r_{constructor(){this.apiService=new Wn}async execute({appPath:i=mn,functionUniversalIdentifier:r,functionName:a}){try{const{manifest:u}=await mr(i);this.logWatchInfo({appName:u.application.displayName,functionUniversalIdentifier:r,functionName:a}),await this.apiService.subscribeToLogs({applicationUniversalIdentifier:u.application.universalIdentifier,functionUniversalIdentifier:r,functionName:a})}catch(u){console.error($.default.red("Watch logs failed:"),u instanceof Error?u.message:u),process.exit(1)}}logWatchInfo({appName:i,functionUniversalIdentifier:r,functionName:a}){const u=i??"Twenty Application",p=r||a?`function "${r||a}"`:"functions";console.log($.default.blue(`🚀 Watching ${u} ${p} logs:`)),console.log("")}}class i_{constructor(){this.devCommand=new e_,this.syncCommand=new t_,this.uninstallCommand=new Zv,this.addCommand=new uy,this.generateCommand=new n_,this.logsCommand=new r_}getCommand(){const i=new xi.Command("app");return i.description("Application development commands"),i.command("dev [appPath]").description("Watch and sync local application changes").option("-d, --debounce <ms>","Debounce delay in milliseconds","1000").action(async(r,a)=>{await this.devCommand.execute({...a,appPath:kn(r)})}),i.command("sync [appPath]").description("Sync application to Twenty").action(async r=>{try{(await this.syncCommand.execute(kn(r))).success||process.exit(1)}catch{process.exit(1)}}),i.command("uninstall [appPath]").description("Uninstall application from Twenty").action(async r=>{try{(await this.uninstallCommand.execute({appPath:kn(r),askForConfirmation:!0})).success||process.exit(1)}catch{process.exit(1)}}),i.command("delete [appPath]",{hidden:!0}).description("Delete application from Twenty").action(async r=>{try{(await this.uninstallCommand.execute({appPath:kn(r),askForConfirmation:!0})).success||process.exit(1)}catch{process.exit(1)}}),i.command("add [entityType]").option("--path <path>","Path in which the entity should be created.").description(`Add a new entity to your application (${Object.values(wi).join("|")})`).action(async(r,a)=>{r&&!ay(r)&&(console.error($.default.red(`Invalid entity type "${r}". Must be one of: ${Object.values(wi).join("|")}`)),process.exit(1)),await this.addCommand.execute(r,a?.path)}),i.command("generate [outputPath]").description("Generate Twenty client").action(async r=>{await this.generateCommand.execute(kn(r))}),i.command("logs [appPath]").option("-u, --functionUniversalIdentifier <functionUniversalIdentifier>","Only show logs for the function with this universal ID").option("-n, --functionName <functionName>","Only show logs for the function with this name").description("Watch application function logs").action(async(r,a)=>{await this.logsCommand.execute({...a,appPath:kn(r)})}),i}}class s_{constructor(){this.configService=new At,this.apiService=new Wn}getCommand(){const i=new xi.Command("auth");return i.description("Authentication commands"),i.command("login").description("Authenticate with Twenty").option("--api-key <key>","API key for authentication").option("--api-url <url>","Twenty API URL").action(async r=>{await this.login(r)}),i.command("logout").description("Remove authentication credentials").action(async()=>{await this.logout()}),i.command("status").description("Check authentication status").action(async()=>{await this.status()}),i}async login(i){try{let{apiKey:r,apiUrl:a}=i;const u=await this.configService.getConfig();if(a||(a=(await Pn.default.prompt([{type:"input",name:"apiUrl",message:"Twenty API URL:",default:u.apiUrl,validate:_=>{try{return new URL(_),!0}catch{return"Please enter a valid URL"}}}])).apiUrl),r||(r=(await Pn.default.prompt([{type:"password",name:"apiKey",message:"API Key:",mask:"*",validate:_=>_.length>0||"API key is required"}])).apiKey),await this.configService.setConfig({apiUrl:a,apiKey:r}),await this.apiService.validateAuth()){const y=At.getActiveWorkspace();console.log($.default.green(`✓ Successfully authenticated with Twenty (workspace: ${y})`))}else console.log($.default.red("✗ Authentication failed. Please check your credentials.")),process.exit(1)}catch(r){console.error($.default.red("Login failed:"),r instanceof Error?r.message:r),process.exit(1)}}async logout(){try{await this.configService.clearConfig();const i=At.getActiveWorkspace();console.log($.default.green(`✓ Successfully logged out (workspace: ${i})`))}catch(i){console.error($.default.red("Logout failed:"),i instanceof Error?i.message:i),process.exit(1)}}async status(){try{const i=At.getActiveWorkspace(),r=await this.configService.getConfig();if(console.log($.default.blue("Authentication Status:")),console.log(`Workspace: ${i}`),console.log(`API URL: ${r.apiUrl}`),console.log(`API Key: ${r.apiKey?"***"+r.apiKey.slice(-4):"Not set"}`),r.apiKey){const a=await this.apiService.validateAuth();console.log(`Status: ${a?$.default.green("✓ Valid"):$.default.red("✗ Invalid")}`)}else console.log(`Status: ${$.default.yellow("⚠ Not authenticated")}`)}catch(i){console.error($.default.red("Status check failed:"),i instanceof Error?i.message:i),process.exit(1)}}}const o_="0.2.
|
|
287
|
+
🛑 Stopping development mode...`)),i.close(),process.exit(0)})}}class t_{constructor(){this.apiService=new Wn,this.generateService=new Qc}async execute(i=mn){try{return console.log($.default.blue("🚀 Syncing Twenty Application")),console.log($.default.gray(`📁 App Path: ${i}`)),console.log(""),await this.synchronize({appPath:i})}catch(r){throw console.error($.default.red("Sync failed:"),r instanceof Error?r.message:r),r}}async synchronize({appPath:i}){const{manifest:r,packageJson:a,yarnLock:u,shouldGenerate:p}=await mr(i);let y=await this.apiService.syncApplication({manifest:r,packageJson:a,yarnLock:u});if(p){await this.generateService.generateClient(i);const{manifest:_}=await mr(i);y=await this.apiService.syncApplication({manifest:_,packageJson:a,yarnLock:u})}return y.success===!1?console.error($.default.red("❌ Serverless functions Sync failed:"),y.error):console.log($.default.green("✅ Serverless functions synced successfully")),y}}const kn=n=>n&&!n?.startsWith("/")?Oe.join(mn,n):n;class n_{constructor(){this.generateService=new Qc}async execute(i=mn){try{await this.generateService.generateClient(i)}catch(r){throw console.error($.default.red("Generate Twenty client failed:"),r instanceof Error?r.message:r),r}}}class r_{constructor(){this.apiService=new Wn}async execute({appPath:i=mn,functionUniversalIdentifier:r,functionName:a}){try{const{manifest:u}=await mr(i);this.logWatchInfo({appName:u.application.displayName,functionUniversalIdentifier:r,functionName:a}),await this.apiService.subscribeToLogs({applicationUniversalIdentifier:u.application.universalIdentifier,functionUniversalIdentifier:r,functionName:a})}catch(u){console.error($.default.red("Watch logs failed:"),u instanceof Error?u.message:u),process.exit(1)}}logWatchInfo({appName:i,functionUniversalIdentifier:r,functionName:a}){const u=i??"Twenty Application",p=r||a?`function "${r||a}"`:"functions";console.log($.default.blue(`🚀 Watching ${u} ${p} logs:`)),console.log("")}}class i_{constructor(){this.devCommand=new e_,this.syncCommand=new t_,this.uninstallCommand=new Zv,this.addCommand=new uy,this.generateCommand=new n_,this.logsCommand=new r_}getCommand(){const i=new xi.Command("app");return i.description("Application development commands"),i.command("dev [appPath]").description("Watch and sync local application changes").option("-d, --debounce <ms>","Debounce delay in milliseconds","1000").action(async(r,a)=>{await this.devCommand.execute({...a,appPath:kn(r)})}),i.command("sync [appPath]").description("Sync application to Twenty").action(async r=>{try{(await this.syncCommand.execute(kn(r))).success||process.exit(1)}catch{process.exit(1)}}),i.command("uninstall [appPath]").description("Uninstall application from Twenty").action(async r=>{try{(await this.uninstallCommand.execute({appPath:kn(r),askForConfirmation:!0})).success||process.exit(1)}catch{process.exit(1)}}),i.command("delete [appPath]",{hidden:!0}).description("Delete application from Twenty").action(async r=>{try{(await this.uninstallCommand.execute({appPath:kn(r),askForConfirmation:!0})).success||process.exit(1)}catch{process.exit(1)}}),i.command("add [entityType]").option("--path <path>","Path in which the entity should be created.").description(`Add a new entity to your application (${Object.values(wi).join("|")})`).action(async(r,a)=>{r&&!ay(r)&&(console.error($.default.red(`Invalid entity type "${r}". Must be one of: ${Object.values(wi).join("|")}`)),process.exit(1)),await this.addCommand.execute(r,a?.path)}),i.command("generate [outputPath]").description("Generate Twenty client").action(async r=>{await this.generateCommand.execute(kn(r))}),i.command("logs [appPath]").option("-u, --functionUniversalIdentifier <functionUniversalIdentifier>","Only show logs for the function with this universal ID").option("-n, --functionName <functionName>","Only show logs for the function with this name").description("Watch application function logs").action(async(r,a)=>{await this.logsCommand.execute({...a,appPath:kn(r)})}),i}}class s_{constructor(){this.configService=new At,this.apiService=new Wn}getCommand(){const i=new xi.Command("auth");return i.description("Authentication commands"),i.command("login").description("Authenticate with Twenty").option("--api-key <key>","API key for authentication").option("--api-url <url>","Twenty API URL").action(async r=>{await this.login(r)}),i.command("logout").description("Remove authentication credentials").action(async()=>{await this.logout()}),i.command("status").description("Check authentication status").action(async()=>{await this.status()}),i}async login(i){try{let{apiKey:r,apiUrl:a}=i;const u=await this.configService.getConfig();if(a||(a=(await Pn.default.prompt([{type:"input",name:"apiUrl",message:"Twenty API URL:",default:u.apiUrl,validate:_=>{try{return new URL(_),!0}catch{return"Please enter a valid URL"}}}])).apiUrl),r||(r=(await Pn.default.prompt([{type:"password",name:"apiKey",message:"API Key:",mask:"*",validate:_=>_.length>0||"API key is required"}])).apiKey),await this.configService.setConfig({apiUrl:a,apiKey:r}),await this.apiService.validateAuth()){const y=At.getActiveWorkspace();console.log($.default.green(`✓ Successfully authenticated with Twenty (workspace: ${y})`))}else console.log($.default.red("✗ Authentication failed. Please check your credentials.")),process.exit(1)}catch(r){console.error($.default.red("Login failed:"),r instanceof Error?r.message:r),process.exit(1)}}async logout(){try{await this.configService.clearConfig();const i=At.getActiveWorkspace();console.log($.default.green(`✓ Successfully logged out (workspace: ${i})`))}catch(i){console.error($.default.red("Logout failed:"),i instanceof Error?i.message:i),process.exit(1)}}async status(){try{const i=At.getActiveWorkspace(),r=await this.configService.getConfig();if(console.log($.default.blue("Authentication Status:")),console.log(`Workspace: ${i}`),console.log(`API URL: ${r.apiUrl}`),console.log(`API Key: ${r.apiKey?"***"+r.apiKey.slice(-4):"Not set"}`),r.apiKey){const a=await this.apiService.validateAuth();console.log(`Status: ${a?$.default.green("✓ Valid"):$.default.red("✗ Invalid")}`)}else console.log(`Status: ${$.default.yellow("⚠ Not authenticated")}`)}catch(i){console.error($.default.red("Status check failed:"),i instanceof Error?i.message:i),process.exit(1)}}}const o_="0.2.1-alpha",a_={version:o_},vn=new xi.Command;vn.name("twenty").description("CLI for Twenty application development").version(a_.version);vn.option("--workspace <name>","Use a specific workspace configuration","default");vn.hook("preAction",n=>{const r=(n.optsWithGlobals?n.optsWithGlobals():n.opts()).workspace;At.setActiveWorkspace(r),console.log($.default.gray(`👩💻 Workspace - ${At.getActiveWorkspace()}`))});vn.addCommand(new s_().getCommand());vn.addCommand(new i_().getCommand());vn.exitOverride();try{vn.parse()}catch(n){n instanceof xi.CommanderError&&process.exit(n.exitCode),n instanceof Error&&(console.error($.default.red("Error:"),n.message),process.exit(1))}
|
package/dist/cli.mjs
CHANGED
|
@@ -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
|
+
};
|