@aristid/leav-types 1.11.0 → 1.12.0-194bf86d
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/CLAUDE.md +42 -0
- package/apps/core/config/default.d.ts +4 -0
- package/apps/core/config/development.d.ts +4 -0
- package/apps/core/config/test.d.ts +4 -0
- package/apps/core/src/__tests__/e2e/_gqlTypes/index.d.ts +415 -58
- package/apps/core/src/__tests__/e2e/api/_fixtures/fakeplugin/domain/fakeDomain.d.ts +6 -2
- package/apps/core/src/__tests__/e2e/api/_fixtures/fakeplugin/index.d.ts +2 -2
- package/apps/core/src/__tests__/e2e/api/automation/automation.test.d.ts +1 -0
- package/apps/core/src/__tests__/e2e/api/e2eUtils.d.ts +49 -11
- package/apps/core/src/__tests__/e2e/api/globalSetup.d.ts +1 -1
- package/apps/core/src/__tests__/e2e/api/joinLibraries/nestedJoinLibraries.test.d.ts +1 -0
- package/apps/core/src/__tests__/e2e/api/notificationUtils.d.ts +1 -1
- package/apps/core/src/__tests__/integration/domain/automation/pipelineExecutor.test.d.ts +1 -0
- package/apps/core/src/__tests__/integration/infra/automationRuleRepo.test.d.ts +1 -0
- package/apps/core/src/__tests__/integration/infra/integrationTestRepoUtils.d.ts +8 -5
- package/apps/core/src/__tests__/mockers/amqp.d.ts +1 -1
- package/apps/core/src/__tests__/mockers/logger.d.ts +4 -4
- package/apps/core/src/__tests__/mocks/globalSettings.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/library.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/plugins.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/record.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/shared.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/value.d.ts +1 -1
- package/apps/core/src/__tests__/mocks/versionProfile.d.ts +1 -1
- package/apps/core/src/_types/actionsList.d.ts +1 -1
- package/apps/core/src/_types/auth.d.ts +4 -0
- package/apps/core/src/_types/automation.d.ts +48 -0
- package/apps/core/src/_types/config.d.ts +4 -0
- package/apps/core/src/_types/cronTask.d.ts +14 -0
- package/apps/core/src/_types/errors.d.ts +1 -0
- package/apps/core/src/_types/events.d.ts +3 -0
- package/apps/core/src/_types/extensionPoints.d.ts +12 -0
- package/apps/core/src/_types/migration.d.ts +1 -1
- package/apps/core/src/_types/permissions.d.ts +1 -0
- package/apps/core/src/_types/queryInfos.d.ts +1 -1
- package/apps/core/src/_types/record.d.ts +1 -1
- package/apps/core/src/_types/value.d.ts +2 -2
- package/apps/core/src/app/application/applicationApp.d.ts +9 -9
- package/apps/core/src/app/auth/authApp.d.ts +10 -8
- package/apps/core/src/app/core/actionListApp.d.ts +3 -3
- package/apps/core/src/app/core/apiKeyApp/_types.d.ts +2 -2
- package/apps/core/src/app/core/apiKeyApp/apiKeyApp.d.ts +3 -3
- package/apps/core/src/app/core/attributeApp/attributeApp.d.ts +11 -9
- package/apps/core/src/app/core/automationApp.d.ts +22 -0
- package/apps/core/src/app/core/coreApp.d.ts +5 -5
- package/apps/core/src/app/core/discussionApp.d.ts +2 -2
- package/apps/core/src/app/core/eventsManagerApp.d.ts +6 -5
- package/apps/core/src/app/core/exportApp.d.ts +2 -2
- package/apps/core/src/app/core/filesManagerApp.d.ts +8 -6
- package/apps/core/src/app/core/formApp/_types.d.ts +2 -2
- package/apps/core/src/app/core/formApp/formApp.d.ts +8 -8
- package/apps/core/src/app/core/globalSettingsApp.d.ts +7 -7
- package/apps/core/src/app/core/helpers/subscriptions.d.ts +1 -1
- package/apps/core/src/app/core/importApp.d.ts +4 -4
- package/apps/core/src/app/core/index.d.ts +1 -0
- package/apps/core/src/app/core/indexationManagerApp.d.ts +2 -2
- package/apps/core/src/app/core/libraryApp/_types.d.ts +2 -2
- package/apps/core/src/app/core/libraryApp/libraryApp.d.ts +7 -7
- package/apps/core/src/app/core/logApp.d.ts +15 -13
- package/apps/core/src/app/core/logsCollectorApp.d.ts +1 -1
- package/apps/core/src/app/core/notificationApp.d.ts +3 -3
- package/apps/core/src/app/core/permissionApp/_types.d.ts +1 -1
- package/apps/core/src/app/core/permissionApp/permissionApp.d.ts +4 -4
- package/apps/core/src/app/core/pluginsApp.d.ts +3 -3
- package/apps/core/src/app/core/recordApp/_types.d.ts +2 -2
- package/apps/core/src/app/core/recordApp/recordApp.d.ts +8 -8
- package/apps/core/src/app/core/tasksManagerApp.d.ts +11 -9
- package/apps/core/src/app/core/treeApp/_types.d.ts +4 -4
- package/apps/core/src/app/core/treeApp/treeApp.d.ts +5 -5
- package/apps/core/src/app/core/userDataApp.d.ts +1 -1
- package/apps/core/src/app/core/valueApp.d.ts +6 -6
- package/apps/core/src/app/core/versionProfileApp/_types.d.ts +2 -2
- package/apps/core/src/app/core/versionProfileApp/versionProfileApp.d.ts +3 -3
- package/apps/core/src/app/core/viewApp.d.ts +5 -5
- package/apps/core/src/app/endpoint/endpointApp.d.ts +3 -3
- package/apps/core/src/app/graphql/customScalars/dateTime/dateTime.d.ts +1 -1
- package/apps/core/src/app/graphql/customScalars/systemTranslation/systemTranslation.d.ts +1 -1
- package/apps/core/src/app/graphql/graphqlApp.d.ts +3 -3
- package/apps/core/src/app/helpers/convertVersionFromGqlFormat.d.ts +1 -1
- package/apps/core/src/app/helpers/initQueryContext.d.ts +2 -2
- package/apps/core/src/domain/actions/excelCalculationAction.d.ts +2 -2
- package/apps/core/src/domain/actions/inheritanceCalculationAction.d.ts +2 -2
- package/apps/core/src/domain/actions/replaceAnotherAttributeAction.d.ts +3 -3
- package/apps/core/src/domain/apiKey/apiKeyDomain.d.ts +6 -6
- package/apps/core/src/domain/application/applicationDomain.d.ts +7 -7
- package/apps/core/src/domain/application/helpers/getLibrarySystemPanels.d.ts +2 -2
- package/apps/core/src/domain/attribute/attributeDomain.d.ts +12 -12
- package/apps/core/src/domain/attribute/helpers/attributeALHelper.d.ts +1 -1
- package/apps/core/src/domain/attribute/helpers/attributeValidationHelper.d.ts +6 -6
- package/apps/core/src/domain/attribute/helpers/ifLibraryJoinLinkAttribute.d.ts +2 -2
- package/apps/core/src/domain/automation/actions/conditionAction.d.ts +8 -0
- package/apps/core/src/domain/automation/actions/errorAction.d.ts +8 -0
- package/apps/core/src/domain/automation/actions/index.d.ts +3 -0
- package/apps/core/src/domain/automation/actions/logAction.d.ts +16 -0
- package/apps/core/src/domain/automation/automationDomain.d.ts +43 -0
- package/apps/core/src/domain/automation/fakeRulesToTrigger.d.ts +7 -0
- package/apps/core/src/domain/automation/index.d.ts +2 -0
- package/apps/core/src/domain/automation/pipelineExecutor.d.ts +16 -0
- package/apps/core/src/domain/automation/pipelineExecutor.spec.d.ts +1 -0
- package/apps/core/src/domain/automation/types.d.ts +22 -0
- package/apps/core/src/domain/discussion/discussionDomain.d.ts +7 -7
- package/apps/core/src/domain/eventsManager/eventsManagerDomain.d.ts +4 -4
- package/apps/core/src/domain/export/exportDomain.d.ts +8 -8
- package/apps/core/src/domain/export/exportProfileDomain.d.ts +2 -2
- package/apps/core/src/domain/filesManager/_constants.d.ts +1 -1
- package/apps/core/src/domain/filesManager/filesManagerDomain.d.ts +13 -13
- package/apps/core/src/domain/filesManager/helpers/extractFileMetadata.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/getRootPathByKey.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/_types.d.ts +12 -12
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleCreateEvent.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleFileSystemEvent.d.ts +10 -10
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleMoveEvent.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleRemoveEvent.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/handleFileSystemEvent/handleUpdateEvent.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/handleFileUtilsHelper.d.ts +7 -7
- package/apps/core/src/domain/filesManager/helpers/handlePreview.d.ts +1 -1
- package/apps/core/src/domain/filesManager/helpers/handlePreviewResponse.d.ts +9 -9
- package/apps/core/src/domain/filesManager/helpers/messagesHandler/messagesHandler.d.ts +3 -3
- package/apps/core/src/domain/form/formDomain.d.ts +12 -12
- package/apps/core/src/domain/form/helpers/getElementValues.d.ts +4 -4
- package/apps/core/src/domain/form/helpers/mustIncludeElement.d.ts +4 -4
- package/apps/core/src/domain/globalSettings/globalSettingsDomain.d.ts +5 -5
- package/apps/core/src/domain/helpers/calculations/calculationVariable.d.ts +1 -1
- package/apps/core/src/domain/helpers/calculations/calculationsVariableFunctions.d.ts +4 -4
- package/apps/core/src/domain/helpers/createDirectory.d.ts +2 -2
- package/apps/core/src/domain/helpers/getCoreEntityById.d.ts +7 -7
- package/apps/core/src/domain/helpers/updateRecordLastModif.d.ts +4 -4
- package/apps/core/src/domain/helpers/updateTaskProgress.d.ts +3 -3
- package/apps/core/src/domain/helpers/validate.d.ts +6 -6
- package/apps/core/src/domain/import/importDomain.d.ts +11 -11
- package/apps/core/src/domain/indexationManager/indexationManagerDomain.d.ts +9 -9
- package/apps/core/src/domain/library/helpers/checkSavePermission.d.ts +2 -2
- package/apps/core/src/domain/library/helpers/deleteAssociatedValues.d.ts +5 -5
- package/apps/core/src/domain/library/helpers/index.d.ts +0 -1
- package/apps/core/src/domain/library/helpers/runBehaviorPostSave.d.ts +6 -6
- package/apps/core/src/domain/library/helpers/runPreDelete.d.ts +4 -4
- package/apps/core/src/domain/library/helpers/updateAssociatedForms.d.ts +2 -2
- package/apps/core/src/domain/library/helpers/validateLibAttributes.d.ts +3 -3
- package/apps/core/src/domain/library/helpers/validateLibFullTextAttributes.d.ts +1 -1
- package/apps/core/src/domain/library/helpers/validatePermConf.d.ts +4 -4
- package/apps/core/src/domain/library/helpers/validatePreviewsSettings.d.ts +1 -1
- package/apps/core/src/domain/library/helpers/validateRecordIdentityConf.d.ts +3 -3
- package/apps/core/src/domain/library/libraryDomain.d.ts +11 -11
- package/apps/core/src/domain/log/logDomain.d.ts +5 -5
- package/apps/core/src/domain/logsCollector/logsCollectorDomain.d.ts +1 -1
- package/apps/core/src/domain/notification/channels/emailChannel.d.ts +4 -4
- package/apps/core/src/domain/notification/channels/webSocketChannel.d.ts +1 -1
- package/apps/core/src/domain/notification/notificationDomain.d.ts +3 -3
- package/apps/core/src/domain/permission/_types.d.ts +2 -2
- package/apps/core/src/domain/permission/attributeDependentValuesPermissionDomain.d.ts +3 -3
- package/apps/core/src/domain/permission/helpers/defaultPermission.d.ts +3 -3
- package/apps/core/src/domain/permission/helpers/getPermissionCacheKey.d.ts +1 -1
- package/apps/core/src/domain/permission/helpers/getPermissionCachePatternKey.d.ts +1 -1
- package/apps/core/src/domain/permission/helpers/globalPermission.d.ts +2 -2
- package/apps/core/src/domain/permission/helpers/permissionByUserGroups.d.ts +1 -1
- package/apps/core/src/domain/permission/helpers/permissionsByActions.d.ts +1 -1
- package/apps/core/src/domain/permission/helpers/treeBasedPermissions.d.ts +4 -4
- package/apps/core/src/domain/permission/permissionDomain.d.ts +4 -4
- package/apps/core/src/domain/permission/recordAttributePermissionDomain.d.ts +2 -2
- package/apps/core/src/domain/permission/recordPermissionDomain.d.ts +3 -3
- package/apps/core/src/domain/permission/treeNodePermissionDomain.d.ts +4 -4
- package/apps/core/src/domain/plugins/pluginsDomain.d.ts +3 -3
- package/apps/core/src/domain/record/_types.d.ts +4 -4
- package/apps/core/src/domain/record/helpers/createRecord.d.ts +6 -4
- package/apps/core/src/domain/record/helpers/deleteRecord.d.ts +12 -10
- package/apps/core/src/domain/record/helpers/findRecords.d.ts +2 -2
- package/apps/core/src/domain/record/helpers/getAccessPermissionFilters.d.ts +7 -7
- package/apps/core/src/domain/record/helpers/getAttributesFromField.d.ts +4 -4
- package/apps/core/src/domain/record/helpers/getRecordIdentity.d.ts +27 -0
- package/apps/core/src/domain/record/helpers/getRecordIdentity.spec.d.ts +1 -0
- package/apps/core/src/domain/record/helpers/index.d.ts +1 -1
- package/apps/core/src/domain/record/helpers/sendRecordUpdateEvent.d.ts +3 -3
- package/apps/core/src/domain/record/recordDomain.d.ts +10 -18
- package/apps/core/src/domain/tasksManager/cronTasksManagerDomain.d.ts +13 -0
- package/apps/core/src/domain/tasksManager/cronTasksManagerDomain.spec.d.ts +1 -0
- package/apps/core/src/domain/tasksManager/index.d.ts +1 -0
- package/apps/core/src/domain/tasksManager/tasksManagerDomain.d.ts +7 -7
- package/apps/core/src/domain/tree/helpers/elementAncestors.d.ts +2 -2
- package/apps/core/src/domain/tree/helpers/getDefaultElement.d.ts +3 -3
- package/apps/core/src/domain/tree/helpers/handleRemovedLibraries.d.ts +3 -3
- package/apps/core/src/domain/tree/helpers/treeDataValidation.d.ts +3 -3
- package/apps/core/src/domain/tree/treeDomain.d.ts +10 -10
- package/apps/core/src/domain/user/userDomain.d.ts +10 -10
- package/apps/core/src/domain/value/_types.d.ts +5 -5
- package/apps/core/src/domain/value/helpers/areValuesIdentical.d.ts +1 -1
- package/apps/core/src/domain/value/helpers/canSaveRecordValue.d.ts +6 -6
- package/apps/core/src/domain/value/helpers/doesValueExist.d.ts +1 -1
- package/apps/core/src/domain/value/helpers/findValue.d.ts +1 -1
- package/apps/core/src/domain/value/helpers/formatLogValue.d.ts +6 -6
- package/apps/core/src/domain/value/helpers/formatValue.d.ts +17 -0
- package/apps/core/src/domain/value/helpers/getRecordFieldValue.d.ts +27 -0
- package/apps/core/src/domain/value/helpers/getRecordFieldValue.spec.d.ts +1 -0
- package/apps/core/src/domain/value/helpers/getValues.d.ts +26 -0
- package/apps/core/src/domain/value/helpers/getValues.spec.d.ts +1 -0
- package/apps/core/src/domain/value/helpers/index.d.ts +7 -0
- package/apps/core/src/domain/value/helpers/isEmptyValue.d.ts +1 -1
- package/apps/core/src/domain/value/helpers/manageEventMetadata.d.ts +4 -0
- package/apps/core/src/domain/value/helpers/postDeleteValue.d.ts +6 -6
- package/apps/core/src/domain/value/helpers/postSaveValue.d.ts +6 -6
- package/apps/core/src/domain/value/helpers/prepareValue.d.ts +6 -6
- package/apps/core/src/domain/value/helpers/runActionsList.d.ts +10 -0
- package/apps/core/src/domain/value/helpers/saveOneValue.d.ts +8 -8
- package/apps/core/src/domain/value/helpers/validateValue.d.ts +4 -4
- package/apps/core/src/domain/value/tasks/purgeMultipleValues.d.ts +1 -1
- package/apps/core/src/domain/value/tasks/saveValueBulk.d.ts +10 -7
- package/apps/core/src/domain/value/valueDomain.d.ts +27 -19
- package/apps/core/src/domain/versionProfile/versionProfileDomain.d.ts +10 -10
- package/apps/core/src/domain/view/viewDomain.d.ts +7 -7
- package/apps/core/src/i18nextInit.d.ts +1 -1
- package/apps/core/src/infra/apiKey/apiKeyRepo.d.ts +5 -5
- package/apps/core/src/infra/application/applicationRepo.d.ts +3 -3
- package/apps/core/src/infra/attribute/attributeRepo.d.ts +4 -4
- package/apps/core/src/infra/attributeTypes/attributeAdvancedLinkRepo.d.ts +2 -2
- package/apps/core/src/infra/attributeTypes/attributeAdvancedRepo.d.ts +2 -2
- package/apps/core/src/infra/attributeTypes/attributeSimpleLinkRepo.d.ts +2 -2
- package/apps/core/src/infra/attributeTypes/attributeSimpleRepo.d.ts +1 -1
- package/apps/core/src/infra/attributeTypes/attributeTreeRepo.d.ts +2 -2
- package/apps/core/src/infra/attributeTypes/attributeTypesRepo.d.ts +1 -1
- package/apps/core/src/infra/automation/automationRuleRepo.d.ts +29 -0
- package/apps/core/src/infra/automation/index.d.ts +1 -0
- package/apps/core/src/infra/cache/cacheService.d.ts +2 -2
- package/apps/core/src/infra/cache/diskService.d.ts +1 -1
- package/apps/core/src/infra/cache/redis.d.ts +1 -1
- package/apps/core/src/infra/db/_types.d.ts +1 -1
- package/apps/core/src/infra/db/db.d.ts +1 -1
- package/apps/core/src/infra/db/dbService.d.ts +2 -2
- package/apps/core/src/infra/db/dbUtils.d.ts +9 -5
- package/apps/core/src/infra/db/helpers/runMigrationFiles.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/000-init/index.d.ts +3 -3
- package/apps/core/src/infra/db/migrations/000-init/systemAttributes.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/001-delInstallApps.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/002-previewsSettings.d.ts +4 -4
- package/apps/core/src/infra/db/migrations/003-filesMetadata.d.ts +3 -3
- package/apps/core/src/infra/db/migrations/004-formsLabels.d.ts +2 -2
- package/apps/core/src/infra/db/migrations/005-viewSortToArray.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/007-updateHexColor.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/010-formSidePanel.d.ts +2 -2
- package/apps/core/src/infra/db/migrations/013-passwordAttributeMaskValue.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/014-notificationsCollection.d.ts +1 -1
- package/apps/core/src/infra/db/migrations/019-automationRuleCollection.d.ts +7 -0
- package/apps/core/src/infra/elasticsearch/elasticsearchClient.d.ts +1 -1
- package/apps/core/src/infra/elasticsearch/elasticsearchService.d.ts +1 -1
- package/apps/core/src/infra/filesManager/filesManagerRepo.d.ts +4 -4
- package/apps/core/src/infra/form/formRepo.d.ts +6 -6
- package/apps/core/src/infra/globalSettings/globalSettingsRepo.d.ts +3 -3
- package/apps/core/src/infra/indexation/helpers/getSearchQuery.d.ts +1 -1
- package/apps/core/src/infra/indexation/indexationService.d.ts +3 -3
- package/apps/core/src/infra/library/libraryRepo.d.ts +2 -2
- package/apps/core/src/infra/log/logRepo.d.ts +4 -4
- package/apps/core/src/infra/mailer/mailer.d.ts +1 -1
- package/apps/core/src/infra/mailer/mailerService.d.ts +3 -3
- package/apps/core/src/infra/notification/notificationRepo.d.ts +3 -3
- package/apps/core/src/infra/permission/permissionRepo.d.ts +1 -1
- package/apps/core/src/infra/plugins/pluginsRepo.d.ts +1 -1
- package/apps/core/src/infra/record/helpers/getClassifyingFiltersVariableQueryPart.d.ts +2 -2
- package/apps/core/src/infra/record/helpers/getSearchVariablesQueryPart.d.ts +1 -1
- package/apps/core/src/infra/record/recordRepo.d.ts +5 -5
- package/apps/core/src/infra/task/taskRepo.d.ts +6 -6
- package/apps/core/src/infra/tree/_types.d.ts +1 -1
- package/apps/core/src/infra/tree/treeRepo.d.ts +5 -5
- package/apps/core/src/infra/userData/userDataRepo.d.ts +2 -2
- package/apps/core/src/infra/value/valueRepo.d.ts +5 -5
- package/apps/core/src/infra/versionProfile/versionProfileRepo.d.ts +6 -6
- package/apps/core/src/infra/view/_types.d.ts +5 -5
- package/apps/core/src/interface/cli.d.ts +1 -1
- package/apps/core/src/interface/filesManager.d.ts +1 -1
- package/apps/core/src/interface/helpers/handleGraphqlError.d.ts +3 -3
- package/apps/core/src/interface/indexationManager.d.ts +1 -1
- package/apps/core/src/interface/logsCollector.d.ts +1 -1
- package/apps/core/src/interface/server.d.ts +7 -7
- package/apps/core/src/interface/tasksManager.d.ts +1 -1
- package/apps/core/src/pluginsLoader.d.ts +1 -0
- package/apps/core/src/pluginsModuleResolver.d.ts +1 -0
- package/apps/core/src/utils/configureDayjs.d.ts +1 -1
- package/apps/core/src/utils/dataloader.d.ts +1 -1
- package/apps/core/src/utils/helpers/getSystemQueryContext.d.ts +2 -2
- package/apps/core/src/utils/helpers/getValuesToDisplay.d.ts +1 -1
- package/apps/core/src/utils/logger/logger.d.ts +1 -1
- package/apps/core/src/utils/utils.d.ts +3 -3
- package/apps/core/tsconfig.types.tsbuildinfo +1 -1
- package/libs/utils/src/types/events.d.ts +3 -0
- package/package.json +2 -2
- package/apps/core/src/domain/record/helpers/getRecordFieldValue.spec.d.ts +0 -0
package/CLAUDE.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# libs/types — CLAUDE.md
|
|
2
|
+
|
|
3
|
+
`@aristid/leav-types` — Types TypeScript de `apps/core` publiés sur npm pour les plugins externes.
|
|
4
|
+
|
|
5
|
+
## Ce que c'est
|
|
6
|
+
|
|
7
|
+
Ce package ne contient **pas de code source** — c'est une projection des types générés
|
|
8
|
+
depuis `apps/core`, destinée aux **développeurs de plugins** qui étendent le core.
|
|
9
|
+
|
|
10
|
+
> ⚠️ Ce package **n'est pas utilisé dans le monorepo lui-même**. Il est uniquement
|
|
11
|
+
> consommé par des repos externes (plugins tiers du core).
|
|
12
|
+
|
|
13
|
+
## Publication CI (GitLab)
|
|
14
|
+
|
|
15
|
+
Publié automatiquement sur **npm public** (`@aristid/leav-types`) via GitLab CI,
|
|
16
|
+
déclenché par tout changement dans `apps/core/**/*` :
|
|
17
|
+
|
|
18
|
+
- **`next`** — à chaque push sur `develop`
|
|
19
|
+
- **`latest`** — sur les releases taguées
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# Commande de génération (lancée par le CI)
|
|
23
|
+
yarn workspace @aristid/leav-types generate
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Problème connu : les enums ne sont pas exportés ⚠️
|
|
27
|
+
|
|
28
|
+
La commande `generate` (basée sur `build-types` du core) n'exporte pas les enums TypeScript.
|
|
29
|
+
Les consommateurs du package doivent **réécrire les enums manuellement** de leur côté —
|
|
30
|
+
ce qui est une source de désynchronisation et de maintenance coûteuse.
|
|
31
|
+
|
|
32
|
+
**Piste de résolution envisagée :** publier davantage de code du core directement
|
|
33
|
+
(pas uniquement les types), de façon à exposer les enums comme du code exécutable.
|
|
34
|
+
C'est un chantier à prioriser.
|
|
35
|
+
|
|
36
|
+
## Ne jamais modifier manuellement
|
|
37
|
+
|
|
38
|
+
Toujours régénérer via le CI ou :
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
yarn workspace @aristid/leav-types generate
|
|
42
|
+
```
|
|
@@ -287,4 +287,8 @@ export declare namespace logsCollector {
|
|
|
287
287
|
let queue: string;
|
|
288
288
|
}
|
|
289
289
|
export declare let pluginsPath: string[];
|
|
290
|
+
export declare namespace automation {
|
|
291
|
+
let enable_7: boolean;
|
|
292
|
+
export { enable_7 as enable };
|
|
293
|
+
}
|
|
290
294
|
export { debug_1 as debug, _export as export, _import as import };
|
|
@@ -153,6 +153,7 @@ export type ApplicationInput = {
|
|
|
153
153
|
label?: InputMaybe<Scalars['SystemTranslation']['input']>;
|
|
154
154
|
module?: InputMaybe<Scalars['String']['input']>;
|
|
155
155
|
settings?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
156
|
+
system?: InputMaybe<Scalars['Boolean']['input']>;
|
|
156
157
|
type?: InputMaybe<ApplicationType>;
|
|
157
158
|
};
|
|
158
159
|
export declare enum ApplicationSortableFields {
|
|
@@ -243,25 +244,72 @@ export declare enum AttributesSortableFields {
|
|
|
243
244
|
multiple_values = "multiple_values",
|
|
244
245
|
type = "type"
|
|
245
246
|
}
|
|
247
|
+
export declare enum AutomationRuleEventAction {
|
|
248
|
+
API_KEY_DELETE = "API_KEY_DELETE",
|
|
249
|
+
API_KEY_SAVE = "API_KEY_SAVE",
|
|
250
|
+
APP_DELETE = "APP_DELETE",
|
|
251
|
+
APP_SAVE = "APP_SAVE",
|
|
252
|
+
ATTRIBUTE_DELETE = "ATTRIBUTE_DELETE",
|
|
253
|
+
ATTRIBUTE_SAVE = "ATTRIBUTE_SAVE",
|
|
254
|
+
AUTOMATION_RULE_CREATE = "AUTOMATION_RULE_CREATE",
|
|
255
|
+
AUTOMATION_RULE_UPDATE = "AUTOMATION_RULE_UPDATE",
|
|
256
|
+
CONFIG_IMPORT_END = "CONFIG_IMPORT_END",
|
|
257
|
+
CONFIG_IMPORT_START = "CONFIG_IMPORT_START",
|
|
258
|
+
DATA_IMPORT_END = "DATA_IMPORT_END",
|
|
259
|
+
DATA_IMPORT_START = "DATA_IMPORT_START",
|
|
260
|
+
EXPORT_END = "EXPORT_END",
|
|
261
|
+
EXPORT_START = "EXPORT_START",
|
|
262
|
+
GLOBAL_SETTINGS_SAVE = "GLOBAL_SETTINGS_SAVE",
|
|
263
|
+
LIBRARY_DELETE = "LIBRARY_DELETE",
|
|
264
|
+
LIBRARY_PURGE = "LIBRARY_PURGE",
|
|
265
|
+
LIBRARY_SAVE = "LIBRARY_SAVE",
|
|
266
|
+
PERMISSION_SAVE = "PERMISSION_SAVE",
|
|
267
|
+
RECORD_DELETE = "RECORD_DELETE",
|
|
268
|
+
RECORD_INIT = "RECORD_INIT",
|
|
269
|
+
RECORD_SAVE = "RECORD_SAVE",
|
|
270
|
+
TASKS_DELETE = "TASKS_DELETE",
|
|
271
|
+
TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
|
|
272
|
+
TREE_DELETE = "TREE_DELETE",
|
|
273
|
+
TREE_DELETE_ELEMENT = "TREE_DELETE_ELEMENT",
|
|
274
|
+
TREE_MOVE_ELEMENT = "TREE_MOVE_ELEMENT",
|
|
275
|
+
TREE_SAVE = "TREE_SAVE",
|
|
276
|
+
VALUE_DELETE = "VALUE_DELETE",
|
|
277
|
+
VALUE_SAVE = "VALUE_SAVE",
|
|
278
|
+
VERSION_PROFILE_DELETE = "VERSION_PROFILE_DELETE",
|
|
279
|
+
VERSION_PROFILE_SAVE = "VERSION_PROFILE_SAVE"
|
|
280
|
+
}
|
|
281
|
+
export declare enum AutomationRuleSortableFields {
|
|
282
|
+
id = "id"
|
|
283
|
+
}
|
|
284
|
+
export type AutomationRuleTriggerInput = {
|
|
285
|
+
eventAction: AutomationRuleEventAction;
|
|
286
|
+
eventTopic?: InputMaybe<EventTopicInput>;
|
|
287
|
+
synchronous: Scalars['Boolean']['input'];
|
|
288
|
+
};
|
|
289
|
+
export type AutomationRulesFiltersInput = {
|
|
290
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
291
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
292
|
+
label?: InputMaybe<Scalars['String']['input']>;
|
|
293
|
+
trigger?: InputMaybe<PartialAutomationRuleTriggerInput>;
|
|
294
|
+
};
|
|
295
|
+
export type AutomationRulesSortInput = {
|
|
296
|
+
field: AutomationRuleSortableFields;
|
|
297
|
+
order?: InputMaybe<SortOrder>;
|
|
298
|
+
};
|
|
246
299
|
export declare enum AvailableLanguage {
|
|
247
300
|
en = "en",
|
|
248
301
|
fr = "fr"
|
|
249
302
|
}
|
|
250
|
-
export type CampaignToRenew = {
|
|
251
|
-
endDate: Scalars['String']['input'];
|
|
252
|
-
id: Scalars['String']['input'];
|
|
253
|
-
startDate: Scalars['String']['input'];
|
|
254
|
-
};
|
|
255
|
-
export type CampaignToUpdateDates = {
|
|
256
|
-
endDate: Scalars['String']['input'];
|
|
257
|
-
id: Scalars['String']['input'];
|
|
258
|
-
startDate: Scalars['String']['input'];
|
|
259
|
-
};
|
|
260
303
|
export type ChildrenAsRecordValuePermissionFilterInput = {
|
|
261
304
|
action: RecordPermissionsActions;
|
|
262
305
|
attributeId: Scalars['ID']['input'];
|
|
263
306
|
libraryId: Scalars['ID']['input'];
|
|
264
307
|
};
|
|
308
|
+
export type CreateAutomationRuleInput = {
|
|
309
|
+
description?: InputMaybe<Scalars['SystemTranslationOptional']['input']>;
|
|
310
|
+
label: Scalars['SystemTranslation']['input'];
|
|
311
|
+
trigger: AutomationRuleTriggerInput;
|
|
312
|
+
};
|
|
265
313
|
export type CreateRecordDataInput = {
|
|
266
314
|
values?: InputMaybe<Array<ValueBatchInput>>;
|
|
267
315
|
version?: InputMaybe<Array<ValueVersionInput>>;
|
|
@@ -297,6 +345,59 @@ export type EmbeddedAttributeInput = {
|
|
|
297
345
|
label?: InputMaybe<Scalars['SystemTranslation']['input']>;
|
|
298
346
|
validation_regex?: InputMaybe<Scalars['String']['input']>;
|
|
299
347
|
};
|
|
348
|
+
export declare enum EventAction {
|
|
349
|
+
API_KEY_DELETE = "API_KEY_DELETE",
|
|
350
|
+
API_KEY_SAVE = "API_KEY_SAVE",
|
|
351
|
+
APP_DELETE = "APP_DELETE",
|
|
352
|
+
APP_SAVE = "APP_SAVE",
|
|
353
|
+
ATTRIBUTE_DELETE = "ATTRIBUTE_DELETE",
|
|
354
|
+
ATTRIBUTE_SAVE = "ATTRIBUTE_SAVE",
|
|
355
|
+
AUTOMATION_RULE_CREATE = "AUTOMATION_RULE_CREATE",
|
|
356
|
+
AUTOMATION_RULE_UPDATE = "AUTOMATION_RULE_UPDATE",
|
|
357
|
+
CONFIG_IMPORT_END = "CONFIG_IMPORT_END",
|
|
358
|
+
CONFIG_IMPORT_START = "CONFIG_IMPORT_START",
|
|
359
|
+
DATA_IMPORT_END = "DATA_IMPORT_END",
|
|
360
|
+
DATA_IMPORT_START = "DATA_IMPORT_START",
|
|
361
|
+
EXPORT_END = "EXPORT_END",
|
|
362
|
+
EXPORT_START = "EXPORT_START",
|
|
363
|
+
GLOBAL_SETTINGS_SAVE = "GLOBAL_SETTINGS_SAVE",
|
|
364
|
+
LIBRARY_DELETE = "LIBRARY_DELETE",
|
|
365
|
+
LIBRARY_PURGE = "LIBRARY_PURGE",
|
|
366
|
+
LIBRARY_SAVE = "LIBRARY_SAVE",
|
|
367
|
+
PERMISSION_SAVE = "PERMISSION_SAVE",
|
|
368
|
+
RECORD_DELETE = "RECORD_DELETE",
|
|
369
|
+
RECORD_SAVE = "RECORD_SAVE",
|
|
370
|
+
TASKS_DELETE = "TASKS_DELETE",
|
|
371
|
+
TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
|
|
372
|
+
TREE_DELETE = "TREE_DELETE",
|
|
373
|
+
TREE_DELETE_ELEMENT = "TREE_DELETE_ELEMENT",
|
|
374
|
+
TREE_MOVE_ELEMENT = "TREE_MOVE_ELEMENT",
|
|
375
|
+
TREE_SAVE = "TREE_SAVE",
|
|
376
|
+
VALUE_DELETE = "VALUE_DELETE",
|
|
377
|
+
VALUE_SAVE = "VALUE_SAVE",
|
|
378
|
+
VERSION_PROFILE_DELETE = "VERSION_PROFILE_DELETE",
|
|
379
|
+
VERSION_PROFILE_SAVE = "VERSION_PROFILE_SAVE"
|
|
380
|
+
}
|
|
381
|
+
export type EventTopicInput = {
|
|
382
|
+
apiKey?: InputMaybe<Scalars['String']['input']>;
|
|
383
|
+
application?: InputMaybe<Scalars['String']['input']>;
|
|
384
|
+
attribute?: InputMaybe<Scalars['String']['input']>;
|
|
385
|
+
automationRule?: InputMaybe<Scalars['String']['input']>;
|
|
386
|
+
filename?: InputMaybe<Scalars['String']['input']>;
|
|
387
|
+
library?: InputMaybe<Scalars['String']['input']>;
|
|
388
|
+
permission?: InputMaybe<EventTopicPermissionInput>;
|
|
389
|
+
profile?: InputMaybe<Scalars['String']['input']>;
|
|
390
|
+
record?: InputMaybe<EventTopicRecordInput>;
|
|
391
|
+
tree?: InputMaybe<Scalars['String']['input']>;
|
|
392
|
+
};
|
|
393
|
+
export type EventTopicPermissionInput = {
|
|
394
|
+
applyTo?: InputMaybe<Scalars['String']['input']>;
|
|
395
|
+
id: Scalars['String']['input'];
|
|
396
|
+
};
|
|
397
|
+
export type EventTopicRecordInput = {
|
|
398
|
+
id: Scalars['String']['input'];
|
|
399
|
+
libraryId: Scalars['String']['input'];
|
|
400
|
+
};
|
|
300
401
|
export type FileInput = {
|
|
301
402
|
data: Scalars['Upload']['input'];
|
|
302
403
|
replace?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -431,6 +532,8 @@ export declare enum LogAction {
|
|
|
431
532
|
APP_SAVE = "APP_SAVE",
|
|
432
533
|
ATTRIBUTE_DELETE = "ATTRIBUTE_DELETE",
|
|
433
534
|
ATTRIBUTE_SAVE = "ATTRIBUTE_SAVE",
|
|
535
|
+
AUTOMATION_RULE_CREATE = "AUTOMATION_RULE_CREATE",
|
|
536
|
+
AUTOMATION_RULE_UPDATE = "AUTOMATION_RULE_UPDATE",
|
|
434
537
|
CONFIG_IMPORT_END = "CONFIG_IMPORT_END",
|
|
435
538
|
CONFIG_IMPORT_START = "CONFIG_IMPORT_START",
|
|
436
539
|
DATA_IMPORT_END = "DATA_IMPORT_END",
|
|
@@ -483,6 +586,7 @@ export declare enum LogSortableField {
|
|
|
483
586
|
export type LogTopicFilterInput = {
|
|
484
587
|
apiKey?: InputMaybe<Scalars['String']['input']>;
|
|
485
588
|
attribute?: InputMaybe<Scalars['String']['input']>;
|
|
589
|
+
automationRule?: InputMaybe<Scalars['String']['input']>;
|
|
486
590
|
filename?: InputMaybe<Scalars['String']['input']>;
|
|
487
591
|
library?: InputMaybe<Scalars['String']['input']>;
|
|
488
592
|
permission?: InputMaybe<LogTopicPermissionFilterInput>;
|
|
@@ -498,10 +602,6 @@ export type LogTopicRecordFilterInput = {
|
|
|
498
602
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
499
603
|
libraryId?: InputMaybe<Scalars['String']['input']>;
|
|
500
604
|
};
|
|
501
|
-
export type MapValueInput = {
|
|
502
|
-
after?: InputMaybe<Scalars['ID']['input']>;
|
|
503
|
-
before?: InputMaybe<Scalars['ID']['input']>;
|
|
504
|
-
};
|
|
505
605
|
export declare enum MultiDisplayOption {
|
|
506
606
|
avatar = "avatar",
|
|
507
607
|
badge_qty = "badge_qty",
|
|
@@ -517,6 +617,11 @@ export type Pagination = {
|
|
|
517
617
|
limit: Scalars['Int']['input'];
|
|
518
618
|
offset: Scalars['Int']['input'];
|
|
519
619
|
};
|
|
620
|
+
export type PartialAutomationRuleTriggerInput = {
|
|
621
|
+
eventAction?: InputMaybe<AutomationRuleEventAction>;
|
|
622
|
+
eventTopic?: InputMaybe<EventTopicInput>;
|
|
623
|
+
synchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
|
624
|
+
};
|
|
520
625
|
export type PermissionActionInput = {
|
|
521
626
|
allowed?: InputMaybe<Scalars['Boolean']['input']>;
|
|
522
627
|
name: PermissionsActions;
|
|
@@ -589,6 +694,7 @@ export declare enum PermissionsActions {
|
|
|
589
694
|
admin_import_config_clear_database = "admin_import_config_clear_database",
|
|
590
695
|
admin_library = "admin_library",
|
|
591
696
|
admin_list_plugins = "admin_list_plugins",
|
|
697
|
+
admin_manage_automation = "admin_manage_automation",
|
|
592
698
|
admin_manage_global_preferences = "admin_manage_global_preferences",
|
|
593
699
|
create_record = "create_record",
|
|
594
700
|
delete_record = "delete_record",
|
|
@@ -696,49 +802,13 @@ export type RecordsPagination = {
|
|
|
696
802
|
limit: Scalars['Int']['input'];
|
|
697
803
|
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
698
804
|
};
|
|
699
|
-
export type
|
|
700
|
-
|
|
701
|
-
values: Array<
|
|
702
|
-
withEmptyValues?: InputMaybe<Scalars['Boolean']['input']>;
|
|
703
|
-
};
|
|
704
|
-
export type ReportFramingAttributeFilterValueItemInput = {
|
|
705
|
-
formattedValue?: InputMaybe<Scalars['String']['input']>;
|
|
706
|
-
rawValue: Scalars['String']['input'];
|
|
707
|
-
};
|
|
708
|
-
export type ReportFramingCampaignInput = {
|
|
709
|
-
computedFraming?: InputMaybe<Array<ReportFramingItemInput>>;
|
|
710
|
-
framing?: InputMaybe<Array<ReportFramingItemInput>>;
|
|
711
|
-
id: Scalars['String']['input'];
|
|
712
|
-
label?: InputMaybe<Scalars['String']['input']>;
|
|
713
|
-
thematics: Array<ReportFramingThematicInput>;
|
|
805
|
+
export type SaveValueBulkMappingInput = {
|
|
806
|
+
dependenciesFilters?: InputMaybe<Array<InputMaybe<RecordFilterInput>>>;
|
|
807
|
+
values: Array<SaveValueBulkMappingValueInput>;
|
|
714
808
|
};
|
|
715
|
-
export type
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
computedFraming?: InputMaybe<Array<ReportFramingItemInput>>;
|
|
719
|
-
framing?: InputMaybe<Array<ReportFramingItemInput>>;
|
|
720
|
-
id?: InputMaybe<Scalars['String']['input']>;
|
|
721
|
-
label?: InputMaybe<Scalars['String']['input']>;
|
|
722
|
-
};
|
|
723
|
-
export type ReportFramingContentInput = {
|
|
724
|
-
campaigns: Array<ReportFramingCampaignInput>;
|
|
725
|
-
filters?: InputMaybe<ReportFramingFiltersInput>;
|
|
726
|
-
};
|
|
727
|
-
export type ReportFramingFiltersInput = {
|
|
728
|
-
attributes?: InputMaybe<Array<ReportFramingAttributeFilterItemInput>>;
|
|
729
|
-
search?: InputMaybe<Scalars['String']['input']>;
|
|
730
|
-
};
|
|
731
|
-
export type ReportFramingItemInput = {
|
|
732
|
-
columnId: Scalars['String']['input'];
|
|
733
|
-
referenceValue?: InputMaybe<Scalars['Int']['input']>;
|
|
734
|
-
value?: InputMaybe<Scalars['Int']['input']>;
|
|
735
|
-
};
|
|
736
|
-
export type ReportFramingThematicInput = {
|
|
737
|
-
categories: Array<ReportFramingCategoryInput>;
|
|
738
|
-
computedFraming?: InputMaybe<Array<ReportFramingItemInput>>;
|
|
739
|
-
framing?: InputMaybe<Array<ReportFramingItemInput>>;
|
|
740
|
-
id: Scalars['String']['input'];
|
|
741
|
-
label?: InputMaybe<Scalars['String']['input']>;
|
|
809
|
+
export type SaveValueBulkMappingValueInput = {
|
|
810
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
811
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
742
812
|
};
|
|
743
813
|
export type SheetInput = {
|
|
744
814
|
keyIndex?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -803,12 +873,10 @@ export declare enum TaskStatus {
|
|
|
803
873
|
}
|
|
804
874
|
export declare enum TaskType {
|
|
805
875
|
EXPORT = "EXPORT",
|
|
806
|
-
FRAMING_REPORT = "FRAMING_REPORT",
|
|
807
876
|
IMPORT_CONFIG = "IMPORT_CONFIG",
|
|
808
877
|
IMPORT_DATA = "IMPORT_DATA",
|
|
809
878
|
INDEXATION = "INDEXATION",
|
|
810
879
|
PURGE_MULTIPLE_VALUES = "PURGE_MULTIPLE_VALUES",
|
|
811
|
-
RENEW_CAMPAIGNS = "RENEW_CAMPAIGNS",
|
|
812
880
|
SAVE_VALUE_BULK = "SAVE_VALUE_BULK"
|
|
813
881
|
}
|
|
814
882
|
export declare enum TreeBehavior {
|
|
@@ -871,6 +939,13 @@ export declare enum TreesSortableFields {
|
|
|
871
939
|
id = "id",
|
|
872
940
|
system = "system"
|
|
873
941
|
}
|
|
942
|
+
export type UpdateAutomationRuleInput = {
|
|
943
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
944
|
+
description?: InputMaybe<Scalars['SystemTranslationOptional']['input']>;
|
|
945
|
+
id: Scalars['ID']['input'];
|
|
946
|
+
label?: InputMaybe<Scalars['SystemTranslation']['input']>;
|
|
947
|
+
trigger?: InputMaybe<PartialAutomationRuleTriggerInput>;
|
|
948
|
+
};
|
|
874
949
|
export type UploadFiltersInput = {
|
|
875
950
|
uid?: InputMaybe<Scalars['String']['input']>;
|
|
876
951
|
userId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -934,6 +1009,7 @@ export type ViewDisplayInput = {
|
|
|
934
1009
|
type: ViewTypes;
|
|
935
1010
|
};
|
|
936
1011
|
export type ViewInput = {
|
|
1012
|
+
/** The whoAmI column should never be included in attributes because is already hard-coded to be present */
|
|
937
1013
|
attributes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
938
1014
|
color?: InputMaybe<Scalars['String']['input']>;
|
|
939
1015
|
description?: InputMaybe<Scalars['SystemTranslationOptional']['input']>;
|
|
@@ -947,6 +1023,7 @@ export type ViewInput = {
|
|
|
947
1023
|
valuesVersions?: InputMaybe<Array<ViewValuesVersionInput>>;
|
|
948
1024
|
};
|
|
949
1025
|
export type ViewInputPartial = {
|
|
1026
|
+
/** The whoAmI column should never be included in attributes because is already hard-coded to be present */
|
|
950
1027
|
attributes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
951
1028
|
color?: InputMaybe<Scalars['String']['input']>;
|
|
952
1029
|
description?: InputMaybe<Scalars['SystemTranslationOptional']['input']>;
|
|
@@ -973,6 +1050,22 @@ export type ViewValuesVersionInput = {
|
|
|
973
1050
|
treeId: Scalars['String']['input'];
|
|
974
1051
|
treeNode: Scalars['String']['input'];
|
|
975
1052
|
};
|
|
1053
|
+
export type SaveValuePayloadFragment = {
|
|
1054
|
+
id_value?: string | null;
|
|
1055
|
+
payload?: any | null;
|
|
1056
|
+
};
|
|
1057
|
+
export type SaveLinkValuePayloadFragment = {
|
|
1058
|
+
id_value?: string | null;
|
|
1059
|
+
linkPayload?: {
|
|
1060
|
+
id: string;
|
|
1061
|
+
} | null;
|
|
1062
|
+
};
|
|
1063
|
+
export type SaveTreeValuePayloadFragment = {
|
|
1064
|
+
id_value?: string | null;
|
|
1065
|
+
treePayload?: {
|
|
1066
|
+
id: string;
|
|
1067
|
+
} | null;
|
|
1068
|
+
};
|
|
976
1069
|
export type SaveApiKeyMutationVariables = Exact<{
|
|
977
1070
|
apiKey: ApiKeyInput;
|
|
978
1071
|
}>;
|
|
@@ -1011,6 +1104,29 @@ export type DeleteApiKeyMutation = {
|
|
|
1011
1104
|
id: string;
|
|
1012
1105
|
};
|
|
1013
1106
|
};
|
|
1107
|
+
export type SaveAttributeMutationVariables = Exact<{
|
|
1108
|
+
attribute?: InputMaybe<AttributeInput>;
|
|
1109
|
+
}>;
|
|
1110
|
+
export type SaveAttributeMutation = {
|
|
1111
|
+
saveAttribute: {
|
|
1112
|
+
id: string;
|
|
1113
|
+
};
|
|
1114
|
+
};
|
|
1115
|
+
export type GetLinkAttributeSmartFilterQueryVariables = Exact<{
|
|
1116
|
+
filters?: InputMaybe<AttributesFiltersInput>;
|
|
1117
|
+
}>;
|
|
1118
|
+
export type GetLinkAttributeSmartFilterQuery = {
|
|
1119
|
+
attributes?: {
|
|
1120
|
+
list: Array<{
|
|
1121
|
+
smart_filter?: {
|
|
1122
|
+
enable: boolean;
|
|
1123
|
+
through?: {
|
|
1124
|
+
id: string;
|
|
1125
|
+
} | null;
|
|
1126
|
+
} | null;
|
|
1127
|
+
}>;
|
|
1128
|
+
} | null;
|
|
1129
|
+
};
|
|
1014
1130
|
export type MeQueryVariables = Exact<{
|
|
1015
1131
|
[key: string]: never;
|
|
1016
1132
|
}>;
|
|
@@ -1019,6 +1135,109 @@ export type MeQuery = {
|
|
|
1019
1135
|
id: string;
|
|
1020
1136
|
} | null;
|
|
1021
1137
|
};
|
|
1138
|
+
export type GetAutomationRulesQueryVariables = Exact<{
|
|
1139
|
+
filters?: InputMaybe<AutomationRulesFiltersInput>;
|
|
1140
|
+
}>;
|
|
1141
|
+
export type GetAutomationRulesQuery = {
|
|
1142
|
+
automationRules: {
|
|
1143
|
+
list: Array<{
|
|
1144
|
+
id: string;
|
|
1145
|
+
label: any;
|
|
1146
|
+
description?: any | null;
|
|
1147
|
+
active: boolean;
|
|
1148
|
+
createdAt: number;
|
|
1149
|
+
createdBy: string;
|
|
1150
|
+
modifiedAt: number;
|
|
1151
|
+
modifiedBy: string;
|
|
1152
|
+
trigger: {
|
|
1153
|
+
synchronous: boolean;
|
|
1154
|
+
eventAction: AutomationRuleEventAction;
|
|
1155
|
+
eventTopic?: {
|
|
1156
|
+
library?: string | null;
|
|
1157
|
+
} | null;
|
|
1158
|
+
};
|
|
1159
|
+
}>;
|
|
1160
|
+
};
|
|
1161
|
+
};
|
|
1162
|
+
export type CreateAutomationRuleMutationVariables = Exact<{
|
|
1163
|
+
rule: CreateAutomationRuleInput;
|
|
1164
|
+
}>;
|
|
1165
|
+
export type CreateAutomationRuleMutation = {
|
|
1166
|
+
createAutomationRule: {
|
|
1167
|
+
id: string;
|
|
1168
|
+
label: any;
|
|
1169
|
+
modifiedAt: number;
|
|
1170
|
+
trigger: {
|
|
1171
|
+
synchronous: boolean;
|
|
1172
|
+
eventAction: AutomationRuleEventAction;
|
|
1173
|
+
eventTopic?: {
|
|
1174
|
+
library?: string | null;
|
|
1175
|
+
} | null;
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
};
|
|
1179
|
+
export type UpdateAutomationRuleMutationVariables = Exact<{
|
|
1180
|
+
rule: UpdateAutomationRuleInput;
|
|
1181
|
+
}>;
|
|
1182
|
+
export type UpdateAutomationRuleMutation = {
|
|
1183
|
+
updateAutomationRule: {
|
|
1184
|
+
id: string;
|
|
1185
|
+
label: any;
|
|
1186
|
+
description?: any | null;
|
|
1187
|
+
active: boolean;
|
|
1188
|
+
modifiedAt: number;
|
|
1189
|
+
trigger: {
|
|
1190
|
+
synchronous: boolean;
|
|
1191
|
+
eventAction: AutomationRuleEventAction;
|
|
1192
|
+
eventTopic?: {
|
|
1193
|
+
library?: string | null;
|
|
1194
|
+
} | null;
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
export type GetRecordsLinkValuesPropertyQueryVariables = Exact<{
|
|
1199
|
+
library: Scalars['ID']['input'];
|
|
1200
|
+
filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
|
|
1201
|
+
retrieveInactive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1202
|
+
attribute: Scalars['ID']['input'];
|
|
1203
|
+
}>;
|
|
1204
|
+
export type GetRecordsLinkValuesPropertyQuery = {
|
|
1205
|
+
records: {
|
|
1206
|
+
list: Array<{
|
|
1207
|
+
id: string;
|
|
1208
|
+
active: boolean;
|
|
1209
|
+
whoAmI: {
|
|
1210
|
+
library: {
|
|
1211
|
+
id: string;
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
|
+
property: Array<{
|
|
1215
|
+
id_value?: string | null;
|
|
1216
|
+
linkPayload?: {
|
|
1217
|
+
id: string;
|
|
1218
|
+
} | null;
|
|
1219
|
+
} | {
|
|
1220
|
+
id_value?: string | null;
|
|
1221
|
+
}>;
|
|
1222
|
+
}>;
|
|
1223
|
+
};
|
|
1224
|
+
};
|
|
1225
|
+
export type SaveLibraryMutationVariables = Exact<{
|
|
1226
|
+
library?: InputMaybe<LibraryInput>;
|
|
1227
|
+
}>;
|
|
1228
|
+
export type SaveLibraryMutation = {
|
|
1229
|
+
saveLibrary: {
|
|
1230
|
+
id: string;
|
|
1231
|
+
};
|
|
1232
|
+
};
|
|
1233
|
+
export type DeleteLibraryMutationVariables = Exact<{
|
|
1234
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1235
|
+
}>;
|
|
1236
|
+
export type DeleteLibraryMutation = {
|
|
1237
|
+
deleteLibrary: {
|
|
1238
|
+
id: string;
|
|
1239
|
+
};
|
|
1240
|
+
};
|
|
1022
1241
|
export type GetRecordQueryVariables = Exact<{
|
|
1023
1242
|
libraryId: Scalars['ID']['input'];
|
|
1024
1243
|
recordId: Scalars['String']['input'];
|
|
@@ -1031,18 +1250,156 @@ export type GetRecordQuery = {
|
|
|
1031
1250
|
}>;
|
|
1032
1251
|
};
|
|
1033
1252
|
};
|
|
1253
|
+
export type CreateRecordMutationVariables = Exact<{
|
|
1254
|
+
library: Scalars['ID']['input'];
|
|
1255
|
+
data?: InputMaybe<CreateRecordDataInput>;
|
|
1256
|
+
}>;
|
|
1257
|
+
export type CreateRecordMutation = {
|
|
1258
|
+
createRecord: {
|
|
1259
|
+
valuesErrors?: Array<{
|
|
1260
|
+
attribute: string;
|
|
1261
|
+
input?: string | null;
|
|
1262
|
+
message: string;
|
|
1263
|
+
type: string;
|
|
1264
|
+
}> | null;
|
|
1265
|
+
record?: {
|
|
1266
|
+
id: string;
|
|
1267
|
+
} | null;
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1270
|
+
export type DeleteRecordMutationVariables = Exact<{
|
|
1271
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1272
|
+
library?: InputMaybe<Scalars['ID']['input']>;
|
|
1273
|
+
}>;
|
|
1274
|
+
export type DeleteRecordMutation = {
|
|
1275
|
+
deleteRecord: {
|
|
1276
|
+
id: string;
|
|
1277
|
+
};
|
|
1278
|
+
};
|
|
1279
|
+
export type PurgeInactiveRecordsMutationVariables = Exact<{
|
|
1280
|
+
libraryId: Scalars['String']['input'];
|
|
1281
|
+
}>;
|
|
1282
|
+
export type PurgeInactiveRecordsMutation = {
|
|
1283
|
+
purgeInactiveRecords: Array<{
|
|
1284
|
+
id: string;
|
|
1285
|
+
}>;
|
|
1286
|
+
};
|
|
1287
|
+
export type SaveTreeMutationVariables = Exact<{
|
|
1288
|
+
tree: TreeInput;
|
|
1289
|
+
}>;
|
|
1290
|
+
export type SaveTreeMutation = {
|
|
1291
|
+
saveTree: {
|
|
1292
|
+
id: string;
|
|
1293
|
+
};
|
|
1294
|
+
};
|
|
1295
|
+
export type TreeAddElementMutationVariables = Exact<{
|
|
1296
|
+
treeId: Scalars['ID']['input'];
|
|
1297
|
+
element: TreeElementInput;
|
|
1298
|
+
parent?: InputMaybe<Scalars['ID']['input']>;
|
|
1299
|
+
order?: InputMaybe<Scalars['Int']['input']>;
|
|
1300
|
+
}>;
|
|
1301
|
+
export type TreeAddElementMutation = {
|
|
1302
|
+
treeAddElement: {
|
|
1303
|
+
id: string;
|
|
1304
|
+
};
|
|
1305
|
+
};
|
|
1306
|
+
export type SaveValueBatchMutationVariables = Exact<{
|
|
1307
|
+
library?: InputMaybe<Scalars['ID']['input']>;
|
|
1308
|
+
recordId?: InputMaybe<Scalars['ID']['input']>;
|
|
1309
|
+
values?: InputMaybe<Array<InputMaybe<ValueBatchInput>> | InputMaybe<ValueBatchInput>>;
|
|
1310
|
+
deleteEmpty?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1311
|
+
}>;
|
|
1312
|
+
export type SaveValueBatchMutation = {
|
|
1313
|
+
saveValueBatch: {
|
|
1314
|
+
errors?: Array<{
|
|
1315
|
+
attribute: string;
|
|
1316
|
+
input?: string | null;
|
|
1317
|
+
message: string;
|
|
1318
|
+
type: string;
|
|
1319
|
+
}> | null;
|
|
1320
|
+
values?: Array<{
|
|
1321
|
+
id_value?: string | null;
|
|
1322
|
+
linkPayload?: {
|
|
1323
|
+
id: string;
|
|
1324
|
+
} | null;
|
|
1325
|
+
} | {
|
|
1326
|
+
id_value?: string | null;
|
|
1327
|
+
treePayload?: {
|
|
1328
|
+
id: string;
|
|
1329
|
+
} | null;
|
|
1330
|
+
} | {
|
|
1331
|
+
payload?: any | null;
|
|
1332
|
+
id_value?: string | null;
|
|
1333
|
+
}> | null;
|
|
1334
|
+
};
|
|
1335
|
+
};
|
|
1336
|
+
export type DeleteValueMutationVariables = Exact<{
|
|
1337
|
+
library: Scalars['ID']['input'];
|
|
1338
|
+
recordId: Scalars['ID']['input'];
|
|
1339
|
+
attribute: Scalars['ID']['input'];
|
|
1340
|
+
value?: InputMaybe<ValueInput>;
|
|
1341
|
+
}>;
|
|
1342
|
+
export type DeleteValueMutation = {
|
|
1343
|
+
deleteValue: Array<{
|
|
1344
|
+
id_value?: string | null;
|
|
1345
|
+
linkPayload?: {
|
|
1346
|
+
id: string;
|
|
1347
|
+
} | null;
|
|
1348
|
+
} | {
|
|
1349
|
+
id_value?: string | null;
|
|
1350
|
+
treePayload?: {
|
|
1351
|
+
id: string;
|
|
1352
|
+
} | null;
|
|
1353
|
+
} | {
|
|
1354
|
+
payload?: any | null;
|
|
1355
|
+
id_value?: string | null;
|
|
1356
|
+
}>;
|
|
1357
|
+
};
|
|
1358
|
+
export declare const SaveValuePayloadFragmentDoc: import("graphql").DocumentNode;
|
|
1359
|
+
export declare const SaveLinkValuePayloadFragmentDoc: import("graphql").DocumentNode;
|
|
1360
|
+
export declare const SaveTreeValuePayloadFragmentDoc: import("graphql").DocumentNode;
|
|
1034
1361
|
export declare const SaveApiKeyDocument: import("graphql").DocumentNode;
|
|
1035
1362
|
export declare const GetApiKeysDocument: import("graphql").DocumentNode;
|
|
1036
1363
|
export declare const DeleteApiKeyDocument: import("graphql").DocumentNode;
|
|
1364
|
+
export declare const SaveAttributeDocument: import("graphql").DocumentNode;
|
|
1365
|
+
export declare const GetLinkAttributeSmartFilterDocument: import("graphql").DocumentNode;
|
|
1037
1366
|
export declare const MeDocument: import("graphql").DocumentNode;
|
|
1367
|
+
export declare const GetAutomationRulesDocument: import("graphql").DocumentNode;
|
|
1368
|
+
export declare const CreateAutomationRuleDocument: import("graphql").DocumentNode;
|
|
1369
|
+
export declare const UpdateAutomationRuleDocument: import("graphql").DocumentNode;
|
|
1370
|
+
export declare const GetRecordsLinkValuesPropertyDocument: import("graphql").DocumentNode;
|
|
1371
|
+
export declare const SaveLibraryDocument: import("graphql").DocumentNode;
|
|
1372
|
+
export declare const DeleteLibraryDocument: import("graphql").DocumentNode;
|
|
1038
1373
|
export declare const GetRecordDocument: import("graphql").DocumentNode;
|
|
1374
|
+
export declare const CreateRecordDocument: import("graphql").DocumentNode;
|
|
1375
|
+
export declare const DeleteRecordDocument: import("graphql").DocumentNode;
|
|
1376
|
+
export declare const PurgeInactiveRecordsDocument: import("graphql").DocumentNode;
|
|
1377
|
+
export declare const SaveTreeDocument: import("graphql").DocumentNode;
|
|
1378
|
+
export declare const TreeAddElementDocument: import("graphql").DocumentNode;
|
|
1379
|
+
export declare const SaveValueBatchDocument: import("graphql").DocumentNode;
|
|
1380
|
+
export declare const DeleteValueDocument: import("graphql").DocumentNode;
|
|
1039
1381
|
export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
1040
1382
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
1041
1383
|
SaveApiKey(variables: SaveApiKeyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SaveApiKeyMutation>;
|
|
1042
1384
|
GetApiKeys(variables?: GetApiKeysQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetApiKeysQuery>;
|
|
1043
1385
|
DeleteApiKey(variables: DeleteApiKeyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteApiKeyMutation>;
|
|
1386
|
+
SaveAttribute(variables?: SaveAttributeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SaveAttributeMutation>;
|
|
1387
|
+
getLinkAttributeSmartFilter(variables?: GetLinkAttributeSmartFilterQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetLinkAttributeSmartFilterQuery>;
|
|
1044
1388
|
Me(variables?: MeQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MeQuery>;
|
|
1389
|
+
GetAutomationRules(variables?: GetAutomationRulesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAutomationRulesQuery>;
|
|
1390
|
+
CreateAutomationRule(variables: CreateAutomationRuleMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateAutomationRuleMutation>;
|
|
1391
|
+
UpdateAutomationRule(variables: UpdateAutomationRuleMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateAutomationRuleMutation>;
|
|
1392
|
+
GetRecordsLinkValuesProperty(variables: GetRecordsLinkValuesPropertyQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetRecordsLinkValuesPropertyQuery>;
|
|
1393
|
+
SaveLibrary(variables?: SaveLibraryMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SaveLibraryMutation>;
|
|
1394
|
+
DeleteLibrary(variables?: DeleteLibraryMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteLibraryMutation>;
|
|
1045
1395
|
GetRecord(variables: GetRecordQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetRecordQuery>;
|
|
1396
|
+
CreateRecord(variables: CreateRecordMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateRecordMutation>;
|
|
1397
|
+
DeleteRecord(variables?: DeleteRecordMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteRecordMutation>;
|
|
1398
|
+
PurgeInactiveRecords(variables: PurgeInactiveRecordsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<PurgeInactiveRecordsMutation>;
|
|
1399
|
+
SaveTree(variables: SaveTreeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SaveTreeMutation>;
|
|
1400
|
+
TreeAddElement(variables: TreeAddElementMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<TreeAddElementMutation>;
|
|
1401
|
+
SaveValueBatch(variables?: SaveValueBatchMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SaveValueBatchMutation>;
|
|
1402
|
+
DeleteValue(variables: DeleteValueMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteValueMutation>;
|
|
1046
1403
|
};
|
|
1047
1404
|
export type Sdk = ReturnType<typeof getSdk>;
|
|
1048
1405
|
export {};
|