@memberjunction/server 6.2.0-edge.5 → 6.2.0-edge.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/agentSessions/SessionJanitor.d.ts +3 -3
- package/dist/agentSessions/SessionJanitor.js +3 -3
- package/dist/agentSessions/SessionManager.d.ts +15 -5
- package/dist/agentSessions/SessionManager.d.ts.map +1 -1
- package/dist/agentSessions/SessionManager.js +34 -12
- package/dist/agentSessions/SessionManager.js.map +1 -1
- package/dist/auth/AuthProviderCatalogRouter.d.ts.map +1 -1
- package/dist/auth/AuthProviderCatalogRouter.js +2 -0
- package/dist/auth/AuthProviderCatalogRouter.js.map +1 -1
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +51 -10
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/initializeProviders.d.ts +10 -0
- package/dist/auth/initializeProviders.d.ts.map +1 -1
- package/dist/auth/initializeProviders.js +37 -1
- package/dist/auth/initializeProviders.js.map +1 -1
- package/dist/auth/localDevAuth.d.ts +79 -0
- package/dist/auth/localDevAuth.d.ts.map +1 -0
- package/dist/auth/localDevAuth.js +439 -0
- package/dist/auth/localDevAuth.js.map +1 -0
- package/dist/auth/magicLink/MagicLinkKeys.d.ts +2 -2
- package/dist/auth/magicLink/MagicLinkKeys.d.ts.map +1 -1
- package/dist/auth/magicLink/MagicLinkKeys.js +1 -1
- package/dist/auth/magicLink/MagicLinkKeys.js.map +1 -1
- package/dist/auth/magicLink/types.d.ts +12 -0
- package/dist/auth/magicLink/types.d.ts.map +1 -1
- package/dist/auth/sessionUserClone.d.ts +1 -1
- package/dist/auth/sessionUserClone.d.ts.map +1 -1
- package/dist/auth/sessionUserClone.js +3 -2
- package/dist/auth/sessionUserClone.js.map +1 -1
- package/dist/broadcast/BaseCacheInvalidationBroadcastProvider.d.ts +292 -0
- package/dist/broadcast/BaseCacheInvalidationBroadcastProvider.d.ts.map +1 -0
- package/dist/broadcast/BaseCacheInvalidationBroadcastProvider.js +442 -0
- package/dist/broadcast/BaseCacheInvalidationBroadcastProvider.js.map +1 -0
- package/dist/broadcast/index.d.ts +6 -0
- package/dist/broadcast/index.d.ts.map +1 -0
- package/dist/broadcast/index.js +6 -0
- package/dist/broadcast/index.js.map +1 -0
- package/dist/broadcast/providers/AWSIoTCoreBroadcastProvider.d.ts +43 -0
- package/dist/broadcast/providers/AWSIoTCoreBroadcastProvider.d.ts.map +1 -0
- package/dist/broadcast/providers/AWSIoTCoreBroadcastProvider.js +144 -0
- package/dist/broadcast/providers/AWSIoTCoreBroadcastProvider.js.map +1 -0
- package/dist/broadcast/providers/AzureWebPubSubBroadcastProvider.d.ts +46 -0
- package/dist/broadcast/providers/AzureWebPubSubBroadcastProvider.d.ts.map +1 -0
- package/dist/broadcast/providers/AzureWebPubSubBroadcastProvider.js +149 -0
- package/dist/broadcast/providers/AzureWebPubSubBroadcastProvider.js.map +1 -0
- package/dist/broadcast/providers/GCPPubSubBroadcastProvider.d.ts +49 -0
- package/dist/broadcast/providers/GCPPubSubBroadcastProvider.d.ts.map +1 -0
- package/dist/broadcast/providers/GCPPubSubBroadcastProvider.js +131 -0
- package/dist/broadcast/providers/GCPPubSubBroadcastProvider.js.map +1 -0
- package/dist/broadcast/providers/SequencedRoleBucketBroadcastProvider.d.ts +24 -0
- package/dist/broadcast/providers/SequencedRoleBucketBroadcastProvider.d.ts.map +1 -0
- package/dist/broadcast/providers/SequencedRoleBucketBroadcastProvider.js +51 -0
- package/dist/broadcast/providers/SequencedRoleBucketBroadcastProvider.js.map +1 -0
- package/dist/cache.d.ts +3 -2
- package/dist/cache.d.ts.map +1 -1
- package/dist/cache.js.map +1 -1
- package/dist/config.d.ts +496 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +61 -0
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +3 -1
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +29 -8
- package/dist/context.js.map +1 -1
- package/dist/coreRoutes.d.ts.map +1 -1
- package/dist/coreRoutes.js +14 -0
- package/dist/coreRoutes.js.map +1 -1
- package/dist/generated/graphql-schemas/__mj.d.ts +635 -14
- package/dist/generated/graphql-schemas/__mj.d.ts.map +1 -1
- package/dist/generated/graphql-schemas/__mj.js +3366 -418
- package/dist/generated/graphql-schemas/__mj.js.map +1 -1
- package/dist/generic/CacheInvalidationResolver.d.ts +50 -30
- package/dist/generic/CacheInvalidationResolver.d.ts.map +1 -1
- package/dist/generic/CacheInvalidationResolver.js +154 -79
- package/dist/generic/CacheInvalidationResolver.js.map +1 -1
- package/dist/generic/OrphanedConversationDetailReconciler.d.ts.map +1 -1
- package/dist/generic/OrphanedConversationDetailReconciler.js +2 -0
- package/dist/generic/OrphanedConversationDetailReconciler.js.map +1 -1
- package/dist/generic/PubSubManager.d.ts +10 -0
- package/dist/generic/PubSubManager.d.ts.map +1 -1
- package/dist/generic/PubSubManager.js +44 -1
- package/dist/generic/PubSubManager.js.map +1 -1
- package/dist/generic/PushStatusResolver.d.ts +39 -6
- package/dist/generic/PushStatusResolver.d.ts.map +1 -1
- package/dist/generic/PushStatusResolver.js +93 -11
- package/dist/generic/PushStatusResolver.js.map +1 -1
- package/dist/generic/ResolverBase.d.ts +65 -25
- package/dist/generic/ResolverBase.d.ts.map +1 -1
- package/dist/generic/ResolverBase.js +201 -101
- package/dist/generic/ResolverBase.js.map +1 -1
- package/dist/generic/RunViewResolver.d.ts +11 -3
- package/dist/generic/RunViewResolver.d.ts.map +1 -1
- package/dist/generic/RunViewResolver.js +79 -13
- package/dist/generic/RunViewResolver.js.map +1 -1
- package/dist/generic/actionOutputFieldSecurity.d.ts +26 -0
- package/dist/generic/actionOutputFieldSecurity.d.ts.map +1 -0
- package/dist/generic/actionOutputFieldSecurity.js +47 -0
- package/dist/generic/actionOutputFieldSecurity.js.map +1 -0
- package/dist/generic/fieldSecurityTransport.d.ts +30 -0
- package/dist/generic/fieldSecurityTransport.d.ts.map +1 -0
- package/dist/generic/fieldSecurityTransport.js +30 -0
- package/dist/generic/fieldSecurityTransport.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +122 -66
- package/dist/index.js.map +1 -1
- package/dist/integration/CustomColumnPromoter.d.ts.map +1 -1
- package/dist/integration/CustomColumnPromoter.js +6 -1
- package/dist/integration/CustomColumnPromoter.js.map +1 -1
- package/dist/logging/variablesLoggingMiddleware.d.ts +12 -0
- package/dist/logging/variablesLoggingMiddleware.d.ts.map +1 -1
- package/dist/logging/variablesLoggingMiddleware.js +50 -1
- package/dist/logging/variablesLoggingMiddleware.js.map +1 -1
- package/dist/realtimeSessions/SessionVerificationPortsBase.d.ts.map +1 -1
- package/dist/realtimeSessions/SessionVerificationPortsBase.js +1 -0
- package/dist/realtimeSessions/SessionVerificationPortsBase.js.map +1 -1
- package/dist/realtimeSessions/ownedRealtimeSession.d.ts +8 -6
- package/dist/realtimeSessions/ownedRealtimeSession.d.ts.map +1 -1
- package/dist/realtimeSessions/ownedRealtimeSession.js +15 -6
- package/dist/realtimeSessions/ownedRealtimeSession.js.map +1 -1
- package/dist/realtimeSessions/sessionAccess.d.ts +88 -11
- package/dist/realtimeSessions/sessionAccess.d.ts.map +1 -1
- package/dist/realtimeSessions/sessionAccess.js +125 -22
- package/dist/realtimeSessions/sessionAccess.js.map +1 -1
- package/dist/realtimeSessions/sessionConfigStamps.js +1 -1
- package/dist/realtimeSessions/sessionConfigStamps.js.map +1 -1
- package/dist/realtimeSessions/subscriptionAuthorization.d.ts.map +1 -1
- package/dist/realtimeSessions/subscriptionAuthorization.js +5 -2
- package/dist/realtimeSessions/subscriptionAuthorization.js.map +1 -1
- package/dist/realtimeSessions/verificationWorkflow.d.ts +2 -0
- package/dist/realtimeSessions/verificationWorkflow.d.ts.map +1 -1
- package/dist/realtimeSessions/verificationWorkflow.js +1 -1
- package/dist/realtimeSessions/verificationWorkflow.js.map +1 -1
- package/dist/realtimeWidget/WidgetRouter.d.ts.map +1 -1
- package/dist/realtimeWidget/WidgetRouter.js +19 -3
- package/dist/realtimeWidget/WidgetRouter.js.map +1 -1
- package/dist/realtimeWidget/WidgetSessionService.d.ts +67 -7
- package/dist/realtimeWidget/WidgetSessionService.d.ts.map +1 -1
- package/dist/realtimeWidget/WidgetSessionService.js +201 -19
- package/dist/realtimeWidget/WidgetSessionService.js.map +1 -1
- package/dist/realtimeWidget/host-identity.d.ts +1 -1
- package/dist/realtimeWidget/host-identity.js +1 -1
- package/dist/realtimeWidget/widgetCore.d.ts +20 -1
- package/dist/realtimeWidget/widgetCore.d.ts.map +1 -1
- package/dist/realtimeWidget/widgetCore.js +17 -1
- package/dist/realtimeWidget/widgetCore.js.map +1 -1
- package/dist/realtimeWidget/widgetGuestElevation.d.ts +1 -1
- package/dist/realtimeWidget/widgetGuestElevation.d.ts.map +1 -1
- package/dist/realtimeWidget/widgetGuestElevation.js +2 -1
- package/dist/realtimeWidget/widgetGuestElevation.js.map +1 -1
- package/dist/resolvers/ActionResolver.d.ts +19 -1
- package/dist/resolvers/ActionResolver.d.ts.map +1 -1
- package/dist/resolvers/ActionResolver.js +63 -12
- package/dist/resolvers/ActionResolver.js.map +1 -1
- package/dist/resolvers/AdhocQueryResolver.d.ts.map +1 -1
- package/dist/resolvers/AdhocQueryResolver.js +1 -0
- package/dist/resolvers/AdhocQueryResolver.js.map +1 -1
- package/dist/resolvers/AgentRunStatusPublisher.d.ts +18 -4
- package/dist/resolvers/AgentRunStatusPublisher.d.ts.map +1 -1
- package/dist/resolvers/AgentRunStatusPublisher.js +32 -8
- package/dist/resolvers/AgentRunStatusPublisher.js.map +1 -1
- package/dist/resolvers/AgentSessionResolver.d.ts +10 -4
- package/dist/resolvers/AgentSessionResolver.d.ts.map +1 -1
- package/dist/resolvers/AgentSessionResolver.js +40 -17
- package/dist/resolvers/AgentSessionResolver.js.map +1 -1
- package/dist/resolvers/EntityCommunicationsResolver.d.ts +13 -1
- package/dist/resolvers/EntityCommunicationsResolver.d.ts.map +1 -1
- package/dist/resolvers/EntityCommunicationsResolver.js +50 -14
- package/dist/resolvers/EntityCommunicationsResolver.js.map +1 -1
- package/dist/resolvers/FetchEntityVectorsResolver.d.ts +28 -0
- package/dist/resolvers/FetchEntityVectorsResolver.d.ts.map +1 -1
- package/dist/resolvers/FetchEntityVectorsResolver.js +117 -21
- package/dist/resolvers/FetchEntityVectorsResolver.js.map +1 -1
- package/dist/resolvers/FileCategoryResolver.d.ts.map +1 -1
- package/dist/resolvers/FileCategoryResolver.js +1 -0
- package/dist/resolvers/FileCategoryResolver.js.map +1 -1
- package/dist/resolvers/FileResolver.d.ts +5 -0
- package/dist/resolvers/FileResolver.d.ts.map +1 -1
- package/dist/resolvers/FileResolver.js +13 -4
- package/dist/resolvers/FileResolver.js.map +1 -1
- package/dist/resolvers/IntegrationDiscoveryResolver.d.ts.map +1 -1
- package/dist/resolvers/IntegrationDiscoveryResolver.js +45 -7
- package/dist/resolvers/IntegrationDiscoveryResolver.js.map +1 -1
- package/dist/resolvers/MergeRecordsResolver.d.ts +8 -1
- package/dist/resolvers/MergeRecordsResolver.d.ts.map +1 -1
- package/dist/resolvers/MergeRecordsResolver.js +31 -3
- package/dist/resolvers/MergeRecordsResolver.js.map +1 -1
- package/dist/resolvers/PipelineProgressResolver.d.ts +6 -0
- package/dist/resolvers/PipelineProgressResolver.d.ts.map +1 -1
- package/dist/resolvers/PipelineProgressResolver.js +5 -3
- package/dist/resolvers/PipelineProgressResolver.js.map +1 -1
- package/dist/resolvers/QueryResolver.d.ts.map +1 -1
- package/dist/resolvers/QueryResolver.js +20 -6
- package/dist/resolvers/QueryResolver.js.map +1 -1
- package/dist/resolvers/QuerySystemUserResolver.d.ts +2 -0
- package/dist/resolvers/QuerySystemUserResolver.d.ts.map +1 -1
- package/dist/resolvers/QuerySystemUserResolver.js +15 -6
- package/dist/resolvers/QuerySystemUserResolver.js.map +1 -1
- package/dist/resolvers/RSUResolver.d.ts.map +1 -1
- package/dist/resolvers/RSUResolver.js +12 -0
- package/dist/resolvers/RSUResolver.js.map +1 -1
- package/dist/resolvers/RealtimeClientSessionResolver.d.ts +16 -2
- package/dist/resolvers/RealtimeClientSessionResolver.d.ts.map +1 -1
- package/dist/resolvers/RealtimeClientSessionResolver.js +82 -28
- package/dist/resolvers/RealtimeClientSessionResolver.js.map +1 -1
- package/dist/resolvers/RemoteBrowserActionResolver.d.ts.map +1 -1
- package/dist/resolvers/RemoteBrowserActionResolver.js +11 -9
- package/dist/resolvers/RemoteBrowserActionResolver.js.map +1 -1
- package/dist/resolvers/RunAIAgentResolver.d.ts +56 -8
- package/dist/resolvers/RunAIAgentResolver.d.ts.map +1 -1
- package/dist/resolvers/RunAIAgentResolver.js +209 -64
- package/dist/resolvers/RunAIAgentResolver.js.map +1 -1
- package/dist/resolvers/RunTemplateResolver.d.ts.map +1 -1
- package/dist/resolvers/RunTemplateResolver.js +4 -4
- package/dist/resolvers/RunTemplateResolver.js.map +1 -1
- package/dist/resolvers/RunTestResolver.d.ts.map +1 -1
- package/dist/resolvers/RunTestResolver.js +3 -1
- package/dist/resolvers/RunTestResolver.js.map +1 -1
- package/dist/resolvers/SyncDataResolver.d.ts.map +1 -1
- package/dist/resolvers/SyncDataResolver.js +4 -0
- package/dist/resolvers/SyncDataResolver.js.map +1 -1
- package/dist/resolvers/TestQuerySQLResolver.d.ts.map +1 -1
- package/dist/resolvers/TestQuerySQLResolver.js +1 -0
- package/dist/resolvers/TestQuerySQLResolver.js.map +1 -1
- package/dist/resolvers/TransactionGroupResolver.d.ts +17 -2
- package/dist/resolvers/TransactionGroupResolver.d.ts.map +1 -1
- package/dist/resolvers/TransactionGroupResolver.js +60 -15
- package/dist/resolvers/TransactionGroupResolver.js.map +1 -1
- package/dist/resolvers/UserViewResolver.d.ts +1 -1
- package/dist/resolvers/UserViewResolver.d.ts.map +1 -1
- package/dist/resolvers/UserViewResolver.js +2 -1
- package/dist/resolvers/UserViewResolver.js.map +1 -1
- package/dist/rest/EntityCRUDHandler.d.ts +6 -0
- package/dist/rest/EntityCRUDHandler.d.ts.map +1 -1
- package/dist/rest/EntityCRUDHandler.js +19 -5
- package/dist/rest/EntityCRUDHandler.js.map +1 -1
- package/dist/rest/RESTEndpointHandler.d.ts.map +1 -1
- package/dist/rest/RESTEndpointHandler.js +8 -5
- package/dist/rest/RESTEndpointHandler.js.map +1 -1
- package/dist/rest/RealtimeRecordingHandler.d.ts +3 -3
- package/dist/rest/RealtimeRecordingHandler.d.ts.map +1 -1
- package/dist/rest/RealtimeRecordingHandler.js +7 -7
- package/dist/rest/RealtimeRecordingHandler.js.map +1 -1
- package/dist/rest/ViewOperationsHandler.d.ts +6 -0
- package/dist/rest/ViewOperationsHandler.d.ts.map +1 -1
- package/dist/rest/ViewOperationsHandler.js +22 -5
- package/dist/rest/ViewOperationsHandler.js.map +1 -1
- package/dist/serverRoleConfigUnits.d.ts +29 -0
- package/dist/serverRoleConfigUnits.d.ts.map +1 -0
- package/dist/serverRoleConfigUnits.js +33 -0
- package/dist/serverRoleConfigUnits.js.map +1 -0
- package/dist/services/TaskGraphContinuationDeliverer.d.ts +5 -0
- package/dist/services/TaskGraphContinuationDeliverer.d.ts.map +1 -1
- package/dist/services/TaskGraphContinuationDeliverer.js +42 -15
- package/dist/services/TaskGraphContinuationDeliverer.js.map +1 -1
- package/dist/types.d.ts +23 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +98 -98
- package/src/__tests__/ActionResolver.fieldSecurity.test.ts +237 -0
- package/src/__tests__/AdhocQueryResolver.dialect.test.ts +137 -0
- package/src/__tests__/AgentRunStatusPublisher.test.ts +49 -0
- package/src/__tests__/AgentSessionResolver.ownership.test.ts +137 -0
- package/src/__tests__/CustomColumnPromoterOnePass.test.ts +15 -1
- package/src/__tests__/EntityCommunicationsResolver.actingUser.test.ts +151 -0
- package/src/__tests__/EvolutionActsOnWhatItDetects.test.ts +113 -0
- package/src/__tests__/FetchEntityVectorsResolver.test.ts +206 -3
- package/src/__tests__/FileResolver.fieldSecurity.test.ts +82 -0
- package/src/__tests__/PipelineProgressResolver.filter.test.ts +58 -0
- package/src/__tests__/QuerySystemUserResolver.fieldSecurity.test.ts +49 -0
- package/src/__tests__/RESTEndpointHandler.test.ts +25 -0
- package/src/__tests__/RealtimeClientSessionResolver.configTamper.test.ts +23 -3
- package/src/__tests__/RealtimeClientSessionResolver.test.ts +324 -46
- package/src/__tests__/RemoteBrowserActionResolver.ownership.test.ts +98 -0
- package/src/__tests__/ResolverBase.clientOldValues.test.ts +37 -4
- package/src/__tests__/ResolverBase.deleteReturnProjection.test.ts +52 -0
- package/src/__tests__/ResolverBase.entityMessageRelay.test.ts +176 -0
- package/src/__tests__/ResolverBase.includeBinaryFields.test.ts +23 -1
- package/src/__tests__/ResolverBase.publishStatusUpdate.test.ts +68 -0
- package/src/__tests__/ResolverBase.userViewCacheAndDedup.test.ts +130 -0
- package/src/__tests__/RunAIAgentResolver.branch.test.ts +68 -13
- package/src/__tests__/RunAIAgentResolver.conversationWriter.test.ts +210 -0
- package/src/__tests__/RunAIAgentResolver.fireAndForgetCompletion.test.ts +209 -0
- package/src/__tests__/RunAIAgentResolver.historyFrom.test.ts +17 -27
- package/src/__tests__/RunAIAgentResolver.runDataGuard.test.ts +8 -2
- package/src/__tests__/RunAIAgentResolver.serverReply.test.ts +358 -0
- package/src/__tests__/RunAIAgentResolver.stoppedPredecessor.test.ts +4 -1
- package/src/__tests__/RunTemplateResolver.test.ts +35 -2
- package/src/__tests__/RunViewResolver.cacheCheckForwarding.test.ts +11 -0
- package/src/__tests__/SessionManager.test.ts +95 -0
- package/src/__tests__/TaskGraphContinuationDeliverer.test.ts +114 -3
- package/src/__tests__/TransactionGroupResolver.fieldSecurity.test.ts +199 -0
- package/src/__tests__/UserViewResolver.updateWhereClause.test.ts +15 -0
- package/src/__tests__/ViewOperationsHandler.test.ts +7 -2
- package/src/__tests__/WidgetSessionService.test.ts +583 -4
- package/src/__tests__/apiRootBoot.test.ts +1 -1
- package/src/__tests__/buildMagicLinkSessionUser.test.ts +96 -0
- package/src/__tests__/cacheBroadcastProviders.test.ts +403 -0
- package/src/__tests__/cacheInvalidationRecordData.test.ts +45 -0
- package/src/__tests__/fieldSecurityFixtures.ts +91 -0
- package/src/__tests__/globalCors.test.ts +3 -3
- package/src/__tests__/localDevAuth.test.ts +196 -0
- package/src/__tests__/orphanedConversationDetailReconciler.test.ts +10 -0
- package/src/__tests__/pushStatusResolver.filter.test.ts +57 -1
- package/src/__tests__/realtimeRecordingHandler.test.ts +19 -2
- package/src/__tests__/realtimeSessions/RealtimeSessionEventsResolver.test.ts +29 -1
- package/src/__tests__/realtimeSessions/ownedRealtimeSession.anonymous.test.ts +31 -0
- package/src/__tests__/realtimeSessions/ownedRealtimeSession.namedScoped.test.ts +37 -0
- package/src/__tests__/realtimeSessions/sessionAccess.test.ts +146 -7
- package/src/__tests__/realtimeSessions/sessionConfigStamps.test.ts +1 -1
- package/src/__tests__/realtimeSessions/verificationWorkflow.test.ts +25 -4
- package/src/__tests__/resolverBase.cloudEventChangedFields.test.ts +157 -0
- package/src/__tests__/resolverBase.fieldSecurityTransport.test.ts +222 -0
- package/src/__tests__/resolverBase.fls.test.ts +146 -97
- package/src/__tests__/restTransport.fieldSecurity.test.ts +148 -0
- package/src/__tests__/runParamsTimeZone.test.ts +179 -0
- package/src/__tests__/runStreams.fieldSecurity.test.ts +100 -0
- package/src/__tests__/runViewProperties.test.ts +114 -0
- package/src/__tests__/scalabilityBenchmarks.test.ts +765 -0
- package/src/__tests__/scalabilityDatabaseIntegration.test.ts +207 -0
- package/src/__tests__/sessionUserClone.test.ts +5 -1
- package/src/__tests__/startupSweepOrder.test.ts +40 -0
- package/src/__tests__/unifiedAuth.test.ts +28 -0
- package/src/__tests__/widgetGuestElevation.test.ts +2 -0
- package/src/agentSessions/SessionJanitor.ts +3 -3
- package/src/agentSessions/SessionManager.ts +35 -12
- package/src/auth/AuthProviderCatalogRouter.ts +3 -0
- package/src/auth/index.ts +56 -12
- package/src/auth/initializeProviders.ts +43 -1
- package/src/auth/localDevAuth.ts +528 -0
- package/src/auth/magicLink/MagicLinkKeys.ts +2 -2
- package/src/auth/magicLink/types.ts +10 -0
- package/src/auth/sessionUserClone.ts +3 -2
- package/src/broadcast/BaseCacheInvalidationBroadcastProvider.ts +674 -0
- package/src/broadcast/index.ts +5 -0
- package/src/broadcast/providers/AWSIoTCoreBroadcastProvider.ts +180 -0
- package/src/broadcast/providers/AzureWebPubSubBroadcastProvider.ts +182 -0
- package/src/broadcast/providers/GCPPubSubBroadcastProvider.ts +169 -0
- package/src/broadcast/providers/SequencedRoleBucketBroadcastProvider.ts +57 -0
- package/src/cache.ts +2 -1
- package/src/config.ts +69 -0
- package/src/context.ts +32 -8
- package/src/coreRoutes.ts +15 -0
- package/src/generated/graphql-schemas/__mj.ts +2239 -102
- package/src/generic/CacheInvalidationResolver.ts +135 -78
- package/src/generic/OrphanedConversationDetailReconciler.ts +4 -2
- package/src/generic/PubSubManager.ts +54 -1
- package/src/generic/PushStatusResolver.ts +108 -11
- package/src/generic/ResolverBase.ts +237 -107
- package/src/generic/RunViewResolver.ts +80 -15
- package/src/generic/actionOutputFieldSecurity.ts +75 -0
- package/src/generic/fieldSecurityTransport.ts +62 -0
- package/src/index.ts +127 -68
- package/src/integration/CustomColumnPromoter.ts +6 -1
- package/src/logging/variablesLoggingMiddleware.ts +59 -3
- package/src/realtimeSessions/README.md +7 -3
- package/src/realtimeSessions/SessionVerificationPortsBase.ts +1 -0
- package/src/realtimeSessions/ownedRealtimeSession.ts +20 -6
- package/src/realtimeSessions/sessionAccess.ts +181 -25
- package/src/realtimeSessions/sessionConfigStamps.ts +1 -1
- package/src/realtimeSessions/subscriptionAuthorization.ts +4 -2
- package/src/realtimeSessions/verificationWorkflow.ts +3 -1
- package/src/realtimeWidget/WidgetRouter.ts +22 -4
- package/src/realtimeWidget/WidgetSessionService.ts +252 -17
- package/src/realtimeWidget/host-identity.ts +1 -1
- package/src/realtimeWidget/widgetCore.ts +30 -1
- package/src/realtimeWidget/widgetGuestElevation.ts +2 -1
- package/src/resolvers/ActionResolver.ts +78 -15
- package/src/resolvers/AdhocQueryResolver.ts +1 -0
- package/src/resolvers/AgentRunStatusPublisher.ts +36 -8
- package/src/resolvers/AgentSessionResolver.ts +46 -18
- package/src/resolvers/EntityCommunicationsResolver.ts +56 -15
- package/src/resolvers/FetchEntityVectorsResolver.ts +132 -21
- package/src/resolvers/FileCategoryResolver.ts +1 -0
- package/src/resolvers/FileResolver.ts +14 -4
- package/src/resolvers/IntegrationDiscoveryResolver.ts +49 -7
- package/src/resolvers/MergeRecordsResolver.ts +23 -2
- package/src/resolvers/PipelineProgressResolver.ts +12 -3
- package/src/resolvers/QueryResolver.ts +20 -6
- package/src/resolvers/QuerySystemUserResolver.ts +15 -6
- package/src/resolvers/RSUResolver.ts +12 -0
- package/src/resolvers/RealtimeClientSessionResolver.ts +104 -33
- package/src/resolvers/RemoteBrowserActionResolver.ts +15 -10
- package/src/resolvers/RunAIAgentResolver.ts +258 -82
- package/src/resolvers/RunTemplateResolver.ts +6 -4
- package/src/resolvers/RunTestResolver.ts +3 -1
- package/src/resolvers/SyncDataResolver.ts +4 -0
- package/src/resolvers/TestQuerySQLResolver.ts +1 -0
- package/src/resolvers/TransactionGroupResolver.ts +66 -15
- package/src/resolvers/UserViewResolver.ts +2 -1
- package/src/resolvers/__tests__/MergeRecordsResolver.test.ts +43 -0
- package/src/rest/EntityCRUDHandler.ts +22 -5
- package/src/rest/RESTEndpointHandler.ts +8 -5
- package/src/rest/RealtimeRecordingHandler.ts +13 -10
- package/src/rest/ViewOperationsHandler.ts +24 -6
- package/src/serverRoleConfigUnits.ts +48 -0
- package/src/services/TaskGraphContinuationDeliverer.ts +52 -20
- package/src/types.ts +23 -1
|
@@ -9310,6 +9310,10 @@ __decorate([
|
|
|
9310
9310
|
Field(() => Int, { nullable: true, description: "How many task-graph continuations led to this run. 0 (the default, and the value every ordinary run carries) means the run was not started by a finished graph. A run started because a graph declared continuation='reinvoke' records its source graph's depth plus one, and any graph that run subsequently submits inherits that value — which is what allows MAX_REINVOKE_DEPTH to bound a chain of graph-reinvokes-agent-emits-graph. Without a durable value here the cap could never fire, because a reinvoked agent has no other way to learn it was a continuation. Distinct from ParentRunID, which tracks sub-agent lineage within a single turn; a continuation is a NEW top-level turn caused by work that already completed." }),
|
|
9311
9311
|
__metadata("design:type", Number)
|
|
9312
9312
|
], MJAIAgentRun_.prototype, "ContinuationDepth", void 0);
|
|
9313
|
+
__decorate([
|
|
9314
|
+
Field({ nullable: true, description: "The run's bound action parameters (ExecuteAgentParams.boundActionParams) as JSON, keyed by Action ID and then parameter name. Written when the run starts, so a run resumed from a stored request applies the same bindings. Null when the run had none." }),
|
|
9315
|
+
__metadata("design:type", String)
|
|
9316
|
+
], MJAIAgentRun_.prototype, "BoundActionParams", void 0);
|
|
9313
9317
|
__decorate([
|
|
9314
9318
|
Field({ nullable: true }),
|
|
9315
9319
|
MaxLength(255),
|
|
@@ -9608,6 +9612,10 @@ __decorate([
|
|
|
9608
9612
|
Field(() => Int, { nullable: true }),
|
|
9609
9613
|
__metadata("design:type", Number)
|
|
9610
9614
|
], CreateMJAIAgentRunInput.prototype, "ContinuationDepth", void 0);
|
|
9615
|
+
__decorate([
|
|
9616
|
+
Field({ nullable: true }),
|
|
9617
|
+
__metadata("design:type", String)
|
|
9618
|
+
], CreateMJAIAgentRunInput.prototype, "BoundActionParams", void 0);
|
|
9611
9619
|
__decorate([
|
|
9612
9620
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
9613
9621
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -9825,6 +9833,10 @@ __decorate([
|
|
|
9825
9833
|
Field(() => Int, { nullable: true }),
|
|
9826
9834
|
__metadata("design:type", Number)
|
|
9827
9835
|
], UpdateMJAIAgentRunInput.prototype, "ContinuationDepth", void 0);
|
|
9836
|
+
__decorate([
|
|
9837
|
+
Field({ nullable: true }),
|
|
9838
|
+
__metadata("design:type", String)
|
|
9839
|
+
], UpdateMJAIAgentRunInput.prototype, "BoundActionParams", void 0);
|
|
9828
9840
|
__decorate([
|
|
9829
9841
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
9830
9842
|
__metadata("design:type", Array)
|
|
@@ -11870,18 +11882,10 @@ __decorate([
|
|
|
11870
11882
|
Field({ nullable: true }),
|
|
11871
11883
|
__metadata("design:type", String)
|
|
11872
11884
|
], CreateMJAIAgentSessionInput.prototype, "CloseReason", void 0);
|
|
11873
|
-
__decorate([
|
|
11874
|
-
Field({ nullable: true }),
|
|
11875
|
-
__metadata("design:type", String)
|
|
11876
|
-
], CreateMJAIAgentSessionInput.prototype, "RecordingMedia", void 0);
|
|
11877
11885
|
__decorate([
|
|
11878
11886
|
Field({ nullable: true }),
|
|
11879
11887
|
__metadata("design:type", Date)
|
|
11880
11888
|
], CreateMJAIAgentSessionInput.prototype, "RecordingStartedAt", void 0);
|
|
11881
|
-
__decorate([
|
|
11882
|
-
Field({ nullable: true }),
|
|
11883
|
-
__metadata("design:type", String)
|
|
11884
|
-
], CreateMJAIAgentSessionInput.prototype, "RecordingFileID", void 0);
|
|
11885
11889
|
__decorate([
|
|
11886
11890
|
Field({ nullable: true }),
|
|
11887
11891
|
__metadata("design:type", String)
|
|
@@ -11890,26 +11894,6 @@ __decorate([
|
|
|
11890
11894
|
Field({ nullable: true }),
|
|
11891
11895
|
__metadata("design:type", String)
|
|
11892
11896
|
], CreateMJAIAgentSessionInput.prototype, "LinkedRecordID", void 0);
|
|
11893
|
-
__decorate([
|
|
11894
|
-
Field({ nullable: true }),
|
|
11895
|
-
__metadata("design:type", String)
|
|
11896
|
-
], CreateMJAIAgentSessionInput.prototype, "RecordingStatus", void 0);
|
|
11897
|
-
__decorate([
|
|
11898
|
-
Field(() => Int, { nullable: true }),
|
|
11899
|
-
__metadata("design:type", Number)
|
|
11900
|
-
], CreateMJAIAgentSessionInput.prototype, "RecordingExpectedShards", void 0);
|
|
11901
|
-
__decorate([
|
|
11902
|
-
Field(() => Int, { nullable: true }),
|
|
11903
|
-
__metadata("design:type", Number)
|
|
11904
|
-
], CreateMJAIAgentSessionInput.prototype, "RecordingCapturedSamples", void 0);
|
|
11905
|
-
__decorate([
|
|
11906
|
-
Field({ nullable: true }),
|
|
11907
|
-
__metadata("design:type", String)
|
|
11908
|
-
], CreateMJAIAgentSessionInput.prototype, "RecordingGaps", void 0);
|
|
11909
|
-
__decorate([
|
|
11910
|
-
Field(() => Int, { nullable: true }),
|
|
11911
|
-
__metadata("design:type", Number)
|
|
11912
|
-
], CreateMJAIAgentSessionInput.prototype, "RecordingAssemblyVersion", void 0);
|
|
11913
11897
|
__decorate([
|
|
11914
11898
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
11915
11899
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -11967,18 +11951,10 @@ __decorate([
|
|
|
11967
11951
|
Field({ nullable: true }),
|
|
11968
11952
|
__metadata("design:type", String)
|
|
11969
11953
|
], UpdateMJAIAgentSessionInput.prototype, "CloseReason", void 0);
|
|
11970
|
-
__decorate([
|
|
11971
|
-
Field({ nullable: true }),
|
|
11972
|
-
__metadata("design:type", String)
|
|
11973
|
-
], UpdateMJAIAgentSessionInput.prototype, "RecordingMedia", void 0);
|
|
11974
11954
|
__decorate([
|
|
11975
11955
|
Field({ nullable: true }),
|
|
11976
11956
|
__metadata("design:type", Date)
|
|
11977
11957
|
], UpdateMJAIAgentSessionInput.prototype, "RecordingStartedAt", void 0);
|
|
11978
|
-
__decorate([
|
|
11979
|
-
Field({ nullable: true }),
|
|
11980
|
-
__metadata("design:type", String)
|
|
11981
|
-
], UpdateMJAIAgentSessionInput.prototype, "RecordingFileID", void 0);
|
|
11982
11958
|
__decorate([
|
|
11983
11959
|
Field({ nullable: true }),
|
|
11984
11960
|
__metadata("design:type", String)
|
|
@@ -11987,26 +11963,6 @@ __decorate([
|
|
|
11987
11963
|
Field({ nullable: true }),
|
|
11988
11964
|
__metadata("design:type", String)
|
|
11989
11965
|
], UpdateMJAIAgentSessionInput.prototype, "LinkedRecordID", void 0);
|
|
11990
|
-
__decorate([
|
|
11991
|
-
Field({ nullable: true }),
|
|
11992
|
-
__metadata("design:type", String)
|
|
11993
|
-
], UpdateMJAIAgentSessionInput.prototype, "RecordingStatus", void 0);
|
|
11994
|
-
__decorate([
|
|
11995
|
-
Field(() => Int, { nullable: true }),
|
|
11996
|
-
__metadata("design:type", Number)
|
|
11997
|
-
], UpdateMJAIAgentSessionInput.prototype, "RecordingExpectedShards", void 0);
|
|
11998
|
-
__decorate([
|
|
11999
|
-
Field(() => Int, { nullable: true }),
|
|
12000
|
-
__metadata("design:type", Number)
|
|
12001
|
-
], UpdateMJAIAgentSessionInput.prototype, "RecordingCapturedSamples", void 0);
|
|
12002
|
-
__decorate([
|
|
12003
|
-
Field({ nullable: true }),
|
|
12004
|
-
__metadata("design:type", String)
|
|
12005
|
-
], UpdateMJAIAgentSessionInput.prototype, "RecordingGaps", void 0);
|
|
12006
|
-
__decorate([
|
|
12007
|
-
Field(() => Int, { nullable: true }),
|
|
12008
|
-
__metadata("design:type", Number)
|
|
12009
|
-
], UpdateMJAIAgentSessionInput.prototype, "RecordingAssemblyVersion", void 0);
|
|
12010
11966
|
__decorate([
|
|
12011
11967
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
12012
11968
|
__metadata("design:type", Array)
|
|
@@ -40766,6 +40722,623 @@ MJAuthorizationResolver = __decorate([
|
|
|
40766
40722
|
], MJAuthorizationResolver);
|
|
40767
40723
|
export { MJAuthorizationResolver };
|
|
40768
40724
|
//****************************************************************************
|
|
40725
|
+
// ENTITY CLASS for MJ: Calendar Event Links
|
|
40726
|
+
//****************************************************************************
|
|
40727
|
+
let MJCalendarEventLink_ = class MJCalendarEventLink_ {
|
|
40728
|
+
};
|
|
40729
|
+
__decorate([
|
|
40730
|
+
Field(),
|
|
40731
|
+
MaxLength(36),
|
|
40732
|
+
__metadata("design:type", String)
|
|
40733
|
+
], MJCalendarEventLink_.prototype, "ID", void 0);
|
|
40734
|
+
__decorate([
|
|
40735
|
+
Field({ nullable: true }),
|
|
40736
|
+
MaxLength(36),
|
|
40737
|
+
__metadata("design:type", String)
|
|
40738
|
+
], MJCalendarEventLink_.prototype, "CommunicationProviderID", void 0);
|
|
40739
|
+
__decorate([
|
|
40740
|
+
Field({ nullable: true, description: "The calendar account the event lives in: a mailbox address for MS Graph, the account for Google. Later syncs and changes go to the same account." }),
|
|
40741
|
+
MaxLength(255),
|
|
40742
|
+
__metadata("design:type", String)
|
|
40743
|
+
], MJCalendarEventLink_.prototype, "AccountIdentifier", void 0);
|
|
40744
|
+
__decorate([
|
|
40745
|
+
Field({ nullable: true, description: "The calendar within the account. Null means the account's default calendar." }),
|
|
40746
|
+
MaxLength(500),
|
|
40747
|
+
__metadata("design:type", String)
|
|
40748
|
+
], MJCalendarEventLink_.prototype, "CalendarID", void 0);
|
|
40749
|
+
__decorate([
|
|
40750
|
+
Field({ nullable: true, description: "The provider's ID for the event in this account. It differs between attendees' calendars; match across calendars on ICalUID." }),
|
|
40751
|
+
MaxLength(500),
|
|
40752
|
+
__metadata("design:type", String)
|
|
40753
|
+
], MJCalendarEventLink_.prototype, "ExternalEventID", void 0);
|
|
40754
|
+
__decorate([
|
|
40755
|
+
Field({ nullable: true, description: "The provider's ID for the recurring series this event belongs to, when it is an occurrence or exception of one." }),
|
|
40756
|
+
MaxLength(500),
|
|
40757
|
+
__metadata("design:type", String)
|
|
40758
|
+
], MJCalendarEventLink_.prototype, "ExternalSeriesID", void 0);
|
|
40759
|
+
__decorate([
|
|
40760
|
+
Field({ nullable: true, description: "The event's iCalendar UID (Graph iCalUId, Google iCalUID). The same in every attendee's calendar, so other apps match an imported event to this link by it." }),
|
|
40761
|
+
MaxLength(1000),
|
|
40762
|
+
__metadata("design:type", String)
|
|
40763
|
+
], MJCalendarEventLink_.prototype, "ICalUID", void 0);
|
|
40764
|
+
__decorate([
|
|
40765
|
+
Field({ nullable: true, description: "The entity of the linked record." }),
|
|
40766
|
+
MaxLength(36),
|
|
40767
|
+
__metadata("design:type", String)
|
|
40768
|
+
], MJCalendarEventLink_.prototype, "EntityID", void 0);
|
|
40769
|
+
__decorate([
|
|
40770
|
+
Field({ nullable: true, description: "The linked record's primary key, in the compact URL-segment form (a bare value for a single-column key)." }),
|
|
40771
|
+
MaxLength(450),
|
|
40772
|
+
__metadata("design:type", String)
|
|
40773
|
+
], MJCalendarEventLink_.prototype, "RecordID", void 0);
|
|
40774
|
+
__decorate([
|
|
40775
|
+
Field({ nullable: true, description: "Active, or Cancelled once the event is cancelled, in the calendar or through MemberJunction." }),
|
|
40776
|
+
MaxLength(20),
|
|
40777
|
+
__metadata("design:type", String)
|
|
40778
|
+
], MJCalendarEventLink_.prototype, "Status", void 0);
|
|
40779
|
+
__decorate([
|
|
40780
|
+
Field({ nullable: true, description: "When a change to this event was last read from or written to the calendar." }),
|
|
40781
|
+
__metadata("design:type", Date)
|
|
40782
|
+
], MJCalendarEventLink_.prototype, "LastSyncedAt", void 0);
|
|
40783
|
+
__decorate([
|
|
40784
|
+
Field(),
|
|
40785
|
+
__metadata("design:type", Date)
|
|
40786
|
+
], MJCalendarEventLink_.prototype, "_mj__CreatedAt", void 0);
|
|
40787
|
+
__decorate([
|
|
40788
|
+
Field(),
|
|
40789
|
+
__metadata("design:type", Date)
|
|
40790
|
+
], MJCalendarEventLink_.prototype, "_mj__UpdatedAt", void 0);
|
|
40791
|
+
__decorate([
|
|
40792
|
+
Field({ nullable: true }),
|
|
40793
|
+
MaxLength(255),
|
|
40794
|
+
__metadata("design:type", String)
|
|
40795
|
+
], MJCalendarEventLink_.prototype, "CommunicationProvider", void 0);
|
|
40796
|
+
__decorate([
|
|
40797
|
+
Field({ nullable: true }),
|
|
40798
|
+
MaxLength(255),
|
|
40799
|
+
__metadata("design:type", String)
|
|
40800
|
+
], MJCalendarEventLink_.prototype, "Entity", void 0);
|
|
40801
|
+
__decorate([
|
|
40802
|
+
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
40803
|
+
__metadata("design:type", Array)
|
|
40804
|
+
], MJCalendarEventLink_.prototype, "ReadableFields___", void 0);
|
|
40805
|
+
MJCalendarEventLink_ = __decorate([
|
|
40806
|
+
ObjectType({ description: "Ties a record to an event in an external calendar (MS Graph, Google Calendar), so any record can be linked to an event without a calendar column on its own table." })
|
|
40807
|
+
], MJCalendarEventLink_);
|
|
40808
|
+
export { MJCalendarEventLink_ };
|
|
40809
|
+
//****************************************************************************
|
|
40810
|
+
// INPUT TYPE for MJ: Calendar Event Links
|
|
40811
|
+
//****************************************************************************
|
|
40812
|
+
let CreateMJCalendarEventLinkInput = class CreateMJCalendarEventLinkInput {
|
|
40813
|
+
};
|
|
40814
|
+
__decorate([
|
|
40815
|
+
Field({ nullable: true }),
|
|
40816
|
+
__metadata("design:type", String)
|
|
40817
|
+
], CreateMJCalendarEventLinkInput.prototype, "ID", void 0);
|
|
40818
|
+
__decorate([
|
|
40819
|
+
Field({ nullable: true }),
|
|
40820
|
+
__metadata("design:type", String)
|
|
40821
|
+
], CreateMJCalendarEventLinkInput.prototype, "CommunicationProviderID", void 0);
|
|
40822
|
+
__decorate([
|
|
40823
|
+
Field({ nullable: true }),
|
|
40824
|
+
__metadata("design:type", String)
|
|
40825
|
+
], CreateMJCalendarEventLinkInput.prototype, "AccountIdentifier", void 0);
|
|
40826
|
+
__decorate([
|
|
40827
|
+
Field({ nullable: true }),
|
|
40828
|
+
__metadata("design:type", String)
|
|
40829
|
+
], CreateMJCalendarEventLinkInput.prototype, "CalendarID", void 0);
|
|
40830
|
+
__decorate([
|
|
40831
|
+
Field({ nullable: true }),
|
|
40832
|
+
__metadata("design:type", String)
|
|
40833
|
+
], CreateMJCalendarEventLinkInput.prototype, "ExternalEventID", void 0);
|
|
40834
|
+
__decorate([
|
|
40835
|
+
Field({ nullable: true }),
|
|
40836
|
+
__metadata("design:type", String)
|
|
40837
|
+
], CreateMJCalendarEventLinkInput.prototype, "ExternalSeriesID", void 0);
|
|
40838
|
+
__decorate([
|
|
40839
|
+
Field({ nullable: true }),
|
|
40840
|
+
__metadata("design:type", String)
|
|
40841
|
+
], CreateMJCalendarEventLinkInput.prototype, "ICalUID", void 0);
|
|
40842
|
+
__decorate([
|
|
40843
|
+
Field({ nullable: true }),
|
|
40844
|
+
__metadata("design:type", String)
|
|
40845
|
+
], CreateMJCalendarEventLinkInput.prototype, "EntityID", void 0);
|
|
40846
|
+
__decorate([
|
|
40847
|
+
Field({ nullable: true }),
|
|
40848
|
+
__metadata("design:type", String)
|
|
40849
|
+
], CreateMJCalendarEventLinkInput.prototype, "RecordID", void 0);
|
|
40850
|
+
__decorate([
|
|
40851
|
+
Field({ nullable: true }),
|
|
40852
|
+
__metadata("design:type", String)
|
|
40853
|
+
], CreateMJCalendarEventLinkInput.prototype, "Status", void 0);
|
|
40854
|
+
__decorate([
|
|
40855
|
+
Field({ nullable: true }),
|
|
40856
|
+
__metadata("design:type", Date)
|
|
40857
|
+
], CreateMJCalendarEventLinkInput.prototype, "LastSyncedAt", void 0);
|
|
40858
|
+
__decorate([
|
|
40859
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
40860
|
+
__metadata("design:type", RestoreContextInput)
|
|
40861
|
+
], CreateMJCalendarEventLinkInput.prototype, "RestoreContext___", void 0);
|
|
40862
|
+
CreateMJCalendarEventLinkInput = __decorate([
|
|
40863
|
+
InputType()
|
|
40864
|
+
], CreateMJCalendarEventLinkInput);
|
|
40865
|
+
export { CreateMJCalendarEventLinkInput };
|
|
40866
|
+
//****************************************************************************
|
|
40867
|
+
// INPUT TYPE for MJ: Calendar Event Links
|
|
40868
|
+
//****************************************************************************
|
|
40869
|
+
let UpdateMJCalendarEventLinkInput = class UpdateMJCalendarEventLinkInput {
|
|
40870
|
+
};
|
|
40871
|
+
__decorate([
|
|
40872
|
+
Field(),
|
|
40873
|
+
__metadata("design:type", String)
|
|
40874
|
+
], UpdateMJCalendarEventLinkInput.prototype, "ID", void 0);
|
|
40875
|
+
__decorate([
|
|
40876
|
+
Field({ nullable: true }),
|
|
40877
|
+
__metadata("design:type", String)
|
|
40878
|
+
], UpdateMJCalendarEventLinkInput.prototype, "CommunicationProviderID", void 0);
|
|
40879
|
+
__decorate([
|
|
40880
|
+
Field({ nullable: true }),
|
|
40881
|
+
__metadata("design:type", String)
|
|
40882
|
+
], UpdateMJCalendarEventLinkInput.prototype, "AccountIdentifier", void 0);
|
|
40883
|
+
__decorate([
|
|
40884
|
+
Field({ nullable: true }),
|
|
40885
|
+
__metadata("design:type", String)
|
|
40886
|
+
], UpdateMJCalendarEventLinkInput.prototype, "CalendarID", void 0);
|
|
40887
|
+
__decorate([
|
|
40888
|
+
Field({ nullable: true }),
|
|
40889
|
+
__metadata("design:type", String)
|
|
40890
|
+
], UpdateMJCalendarEventLinkInput.prototype, "ExternalEventID", void 0);
|
|
40891
|
+
__decorate([
|
|
40892
|
+
Field({ nullable: true }),
|
|
40893
|
+
__metadata("design:type", String)
|
|
40894
|
+
], UpdateMJCalendarEventLinkInput.prototype, "ExternalSeriesID", void 0);
|
|
40895
|
+
__decorate([
|
|
40896
|
+
Field({ nullable: true }),
|
|
40897
|
+
__metadata("design:type", String)
|
|
40898
|
+
], UpdateMJCalendarEventLinkInput.prototype, "ICalUID", void 0);
|
|
40899
|
+
__decorate([
|
|
40900
|
+
Field({ nullable: true }),
|
|
40901
|
+
__metadata("design:type", String)
|
|
40902
|
+
], UpdateMJCalendarEventLinkInput.prototype, "EntityID", void 0);
|
|
40903
|
+
__decorate([
|
|
40904
|
+
Field({ nullable: true }),
|
|
40905
|
+
__metadata("design:type", String)
|
|
40906
|
+
], UpdateMJCalendarEventLinkInput.prototype, "RecordID", void 0);
|
|
40907
|
+
__decorate([
|
|
40908
|
+
Field({ nullable: true }),
|
|
40909
|
+
__metadata("design:type", String)
|
|
40910
|
+
], UpdateMJCalendarEventLinkInput.prototype, "Status", void 0);
|
|
40911
|
+
__decorate([
|
|
40912
|
+
Field({ nullable: true }),
|
|
40913
|
+
__metadata("design:type", Date)
|
|
40914
|
+
], UpdateMJCalendarEventLinkInput.prototype, "LastSyncedAt", void 0);
|
|
40915
|
+
__decorate([
|
|
40916
|
+
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
40917
|
+
__metadata("design:type", Array)
|
|
40918
|
+
], UpdateMJCalendarEventLinkInput.prototype, "OldValues___", void 0);
|
|
40919
|
+
__decorate([
|
|
40920
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
40921
|
+
__metadata("design:type", RestoreContextInput)
|
|
40922
|
+
], UpdateMJCalendarEventLinkInput.prototype, "RestoreContext___", void 0);
|
|
40923
|
+
UpdateMJCalendarEventLinkInput = __decorate([
|
|
40924
|
+
InputType()
|
|
40925
|
+
], UpdateMJCalendarEventLinkInput);
|
|
40926
|
+
export { UpdateMJCalendarEventLinkInput };
|
|
40927
|
+
//****************************************************************************
|
|
40928
|
+
// RESOLVER for MJ: Calendar Event Links
|
|
40929
|
+
//****************************************************************************
|
|
40930
|
+
let RunMJCalendarEventLinkViewResult = class RunMJCalendarEventLinkViewResult {
|
|
40931
|
+
};
|
|
40932
|
+
__decorate([
|
|
40933
|
+
Field(() => [MJCalendarEventLink_]),
|
|
40934
|
+
__metadata("design:type", Array)
|
|
40935
|
+
], RunMJCalendarEventLinkViewResult.prototype, "Results", void 0);
|
|
40936
|
+
__decorate([
|
|
40937
|
+
Field(() => String, { nullable: true }),
|
|
40938
|
+
__metadata("design:type", String)
|
|
40939
|
+
], RunMJCalendarEventLinkViewResult.prototype, "UserViewRunID", void 0);
|
|
40940
|
+
__decorate([
|
|
40941
|
+
Field(() => Int, { nullable: true }),
|
|
40942
|
+
__metadata("design:type", Number)
|
|
40943
|
+
], RunMJCalendarEventLinkViewResult.prototype, "RowCount", void 0);
|
|
40944
|
+
__decorate([
|
|
40945
|
+
Field(() => Int, { nullable: true }),
|
|
40946
|
+
__metadata("design:type", Number)
|
|
40947
|
+
], RunMJCalendarEventLinkViewResult.prototype, "TotalRowCount", void 0);
|
|
40948
|
+
__decorate([
|
|
40949
|
+
Field(() => Int, { nullable: true }),
|
|
40950
|
+
__metadata("design:type", Number)
|
|
40951
|
+
], RunMJCalendarEventLinkViewResult.prototype, "ExecutionTime", void 0);
|
|
40952
|
+
__decorate([
|
|
40953
|
+
Field({ nullable: true }),
|
|
40954
|
+
__metadata("design:type", String)
|
|
40955
|
+
], RunMJCalendarEventLinkViewResult.prototype, "ErrorMessage", void 0);
|
|
40956
|
+
__decorate([
|
|
40957
|
+
Field(() => Boolean, { nullable: false }),
|
|
40958
|
+
__metadata("design:type", Boolean)
|
|
40959
|
+
], RunMJCalendarEventLinkViewResult.prototype, "Success", void 0);
|
|
40960
|
+
RunMJCalendarEventLinkViewResult = __decorate([
|
|
40961
|
+
ObjectType()
|
|
40962
|
+
], RunMJCalendarEventLinkViewResult);
|
|
40963
|
+
export { RunMJCalendarEventLinkViewResult };
|
|
40964
|
+
let MJCalendarEventLinkResolver = class MJCalendarEventLinkResolver extends ResolverBase {
|
|
40965
|
+
async RunMJCalendarEventLinkViewByID(input, { providers, userPayload }, pubSub) {
|
|
40966
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
40967
|
+
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
40968
|
+
}
|
|
40969
|
+
async RunMJCalendarEventLinkViewByName(input, { providers, userPayload }, pubSub) {
|
|
40970
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
40971
|
+
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
40972
|
+
}
|
|
40973
|
+
async RunMJCalendarEventLinkDynamicView(input, { providers, userPayload }, pubSub) {
|
|
40974
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
40975
|
+
input.EntityName = 'MJ: Calendar Event Links';
|
|
40976
|
+
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
40977
|
+
}
|
|
40978
|
+
async MJCalendarEventLink(ID, { userPayload, providers }, pubSub) {
|
|
40979
|
+
this.CheckUserReadPermissions('MJ: Calendar Event Links', userPayload);
|
|
40980
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
40981
|
+
const sSQL = `SELECT * FROM ${provider.QuoteSchemaAndView(Metadata.Provider.ConfigData.MJCoreSchemaName, 'vwCalendarEventLinks')} WHERE ${provider.QuoteIdentifier('ID')}=${provider.BuildParameterPlaceholder(0)} ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Calendar Event Links', userPayload, EntityPermissionType.Read, 'AND');
|
|
40982
|
+
const rows = await provider.ExecuteSQL(sSQL, [ID], undefined, this.GetUserFromPayload(userPayload));
|
|
40983
|
+
const result = await this.MapFieldNamesToCodeNames('MJ: Calendar Event Links', rows && rows.length > 0 ? rows[0] : null, this.GetUserFromPayload(userPayload));
|
|
40984
|
+
return result;
|
|
40985
|
+
}
|
|
40986
|
+
async CreateMJCalendarEventLink(input, { providers, userPayload }, pubSub) {
|
|
40987
|
+
const provider = GetReadWriteProvider(providers);
|
|
40988
|
+
return this.CreateRecord('MJ: Calendar Event Links', input, provider, userPayload, pubSub);
|
|
40989
|
+
}
|
|
40990
|
+
async UpdateMJCalendarEventLink(input, { providers, userPayload }, pubSub) {
|
|
40991
|
+
const provider = GetReadWriteProvider(providers);
|
|
40992
|
+
return this.UpdateRecord('MJ: Calendar Event Links', input, provider, userPayload, pubSub);
|
|
40993
|
+
}
|
|
40994
|
+
async DeleteMJCalendarEventLink(ID, options, { providers, userPayload }, pubSub) {
|
|
40995
|
+
const provider = GetReadWriteProvider(providers);
|
|
40996
|
+
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
40997
|
+
return this.DeleteRecord('MJ: Calendar Event Links', key, options, provider, userPayload, pubSub);
|
|
40998
|
+
}
|
|
40999
|
+
};
|
|
41000
|
+
__decorate([
|
|
41001
|
+
Query(() => RunMJCalendarEventLinkViewResult),
|
|
41002
|
+
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
41003
|
+
__param(1, Ctx()),
|
|
41004
|
+
__param(2, PubSub()),
|
|
41005
|
+
__metadata("design:type", Function),
|
|
41006
|
+
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
41007
|
+
__metadata("design:returntype", Promise)
|
|
41008
|
+
], MJCalendarEventLinkResolver.prototype, "RunMJCalendarEventLinkViewByID", null);
|
|
41009
|
+
__decorate([
|
|
41010
|
+
Query(() => RunMJCalendarEventLinkViewResult),
|
|
41011
|
+
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
41012
|
+
__param(1, Ctx()),
|
|
41013
|
+
__param(2, PubSub()),
|
|
41014
|
+
__metadata("design:type", Function),
|
|
41015
|
+
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
41016
|
+
__metadata("design:returntype", Promise)
|
|
41017
|
+
], MJCalendarEventLinkResolver.prototype, "RunMJCalendarEventLinkViewByName", null);
|
|
41018
|
+
__decorate([
|
|
41019
|
+
Query(() => RunMJCalendarEventLinkViewResult),
|
|
41020
|
+
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
41021
|
+
__param(1, Ctx()),
|
|
41022
|
+
__param(2, PubSub()),
|
|
41023
|
+
__metadata("design:type", Function),
|
|
41024
|
+
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
41025
|
+
__metadata("design:returntype", Promise)
|
|
41026
|
+
], MJCalendarEventLinkResolver.prototype, "RunMJCalendarEventLinkDynamicView", null);
|
|
41027
|
+
__decorate([
|
|
41028
|
+
Query(() => MJCalendarEventLink_, { nullable: true }),
|
|
41029
|
+
__param(0, Arg('ID', () => String)),
|
|
41030
|
+
__param(1, Ctx()),
|
|
41031
|
+
__param(2, PubSub()),
|
|
41032
|
+
__metadata("design:type", Function),
|
|
41033
|
+
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
41034
|
+
__metadata("design:returntype", Promise)
|
|
41035
|
+
], MJCalendarEventLinkResolver.prototype, "MJCalendarEventLink", null);
|
|
41036
|
+
__decorate([
|
|
41037
|
+
Mutation(() => MJCalendarEventLink_),
|
|
41038
|
+
__param(0, Arg('input', () => CreateMJCalendarEventLinkInput)),
|
|
41039
|
+
__param(1, Ctx()),
|
|
41040
|
+
__param(2, PubSub()),
|
|
41041
|
+
__metadata("design:type", Function),
|
|
41042
|
+
__metadata("design:paramtypes", [CreateMJCalendarEventLinkInput, Object, PubSubEngine]),
|
|
41043
|
+
__metadata("design:returntype", Promise)
|
|
41044
|
+
], MJCalendarEventLinkResolver.prototype, "CreateMJCalendarEventLink", null);
|
|
41045
|
+
__decorate([
|
|
41046
|
+
Mutation(() => MJCalendarEventLink_),
|
|
41047
|
+
__param(0, Arg('input', () => UpdateMJCalendarEventLinkInput)),
|
|
41048
|
+
__param(1, Ctx()),
|
|
41049
|
+
__param(2, PubSub()),
|
|
41050
|
+
__metadata("design:type", Function),
|
|
41051
|
+
__metadata("design:paramtypes", [UpdateMJCalendarEventLinkInput, Object, PubSubEngine]),
|
|
41052
|
+
__metadata("design:returntype", Promise)
|
|
41053
|
+
], MJCalendarEventLinkResolver.prototype, "UpdateMJCalendarEventLink", null);
|
|
41054
|
+
__decorate([
|
|
41055
|
+
Mutation(() => MJCalendarEventLink_),
|
|
41056
|
+
__param(0, Arg('ID', () => String)),
|
|
41057
|
+
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
41058
|
+
__param(2, Ctx()),
|
|
41059
|
+
__param(3, PubSub()),
|
|
41060
|
+
__metadata("design:type", Function),
|
|
41061
|
+
__metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
|
|
41062
|
+
__metadata("design:returntype", Promise)
|
|
41063
|
+
], MJCalendarEventLinkResolver.prototype, "DeleteMJCalendarEventLink", null);
|
|
41064
|
+
MJCalendarEventLinkResolver = __decorate([
|
|
41065
|
+
Resolver(MJCalendarEventLink_)
|
|
41066
|
+
], MJCalendarEventLinkResolver);
|
|
41067
|
+
export { MJCalendarEventLinkResolver };
|
|
41068
|
+
//****************************************************************************
|
|
41069
|
+
// ENTITY CLASS for MJ: Calendar Sync States
|
|
41070
|
+
//****************************************************************************
|
|
41071
|
+
let MJCalendarSyncState_ = class MJCalendarSyncState_ {
|
|
41072
|
+
};
|
|
41073
|
+
__decorate([
|
|
41074
|
+
Field(),
|
|
41075
|
+
MaxLength(36),
|
|
41076
|
+
__metadata("design:type", String)
|
|
41077
|
+
], MJCalendarSyncState_.prototype, "ID", void 0);
|
|
41078
|
+
__decorate([
|
|
41079
|
+
Field({ nullable: true }),
|
|
41080
|
+
MaxLength(36),
|
|
41081
|
+
__metadata("design:type", String)
|
|
41082
|
+
], MJCalendarSyncState_.prototype, "CommunicationProviderID", void 0);
|
|
41083
|
+
__decorate([
|
|
41084
|
+
Field({ nullable: true, description: "The calendar account: a mailbox address for MS Graph, the account for Google." }),
|
|
41085
|
+
MaxLength(255),
|
|
41086
|
+
__metadata("design:type", String)
|
|
41087
|
+
], MJCalendarSyncState_.prototype, "AccountIdentifier", void 0);
|
|
41088
|
+
__decorate([
|
|
41089
|
+
Field({ nullable: true, description: "The calendar within the account. Null means the account's default calendar." }),
|
|
41090
|
+
MaxLength(500),
|
|
41091
|
+
__metadata("design:type", String)
|
|
41092
|
+
], MJCalendarSyncState_.prototype, "CalendarID", void 0);
|
|
41093
|
+
__decorate([
|
|
41094
|
+
Field({ nullable: true, description: "The provider's cursor for the next incremental sync: a Graph delta link or a Google sync token. Null until the first sync." }),
|
|
41095
|
+
__metadata("design:type", String)
|
|
41096
|
+
], MJCalendarSyncState_.prototype, "SyncToken", void 0);
|
|
41097
|
+
__decorate([
|
|
41098
|
+
Field({ nullable: true, description: "When this calendar was last synced." }),
|
|
41099
|
+
__metadata("design:type", Date)
|
|
41100
|
+
], MJCalendarSyncState_.prototype, "LastSyncedAt", void 0);
|
|
41101
|
+
__decorate([
|
|
41102
|
+
Field(),
|
|
41103
|
+
__metadata("design:type", Date)
|
|
41104
|
+
], MJCalendarSyncState_.prototype, "_mj__CreatedAt", void 0);
|
|
41105
|
+
__decorate([
|
|
41106
|
+
Field(),
|
|
41107
|
+
__metadata("design:type", Date)
|
|
41108
|
+
], MJCalendarSyncState_.prototype, "_mj__UpdatedAt", void 0);
|
|
41109
|
+
__decorate([
|
|
41110
|
+
Field({ nullable: true }),
|
|
41111
|
+
MaxLength(255),
|
|
41112
|
+
__metadata("design:type", String)
|
|
41113
|
+
], MJCalendarSyncState_.prototype, "CommunicationProvider", void 0);
|
|
41114
|
+
__decorate([
|
|
41115
|
+
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
41116
|
+
__metadata("design:type", Array)
|
|
41117
|
+
], MJCalendarSyncState_.prototype, "ReadableFields___", void 0);
|
|
41118
|
+
MJCalendarSyncState_ = __decorate([
|
|
41119
|
+
ObjectType({ description: "One sync cursor per external calendar, so an incremental sync reads only what changed since the last one." })
|
|
41120
|
+
], MJCalendarSyncState_);
|
|
41121
|
+
export { MJCalendarSyncState_ };
|
|
41122
|
+
//****************************************************************************
|
|
41123
|
+
// INPUT TYPE for MJ: Calendar Sync States
|
|
41124
|
+
//****************************************************************************
|
|
41125
|
+
let CreateMJCalendarSyncStateInput = class CreateMJCalendarSyncStateInput {
|
|
41126
|
+
};
|
|
41127
|
+
__decorate([
|
|
41128
|
+
Field({ nullable: true }),
|
|
41129
|
+
__metadata("design:type", String)
|
|
41130
|
+
], CreateMJCalendarSyncStateInput.prototype, "ID", void 0);
|
|
41131
|
+
__decorate([
|
|
41132
|
+
Field({ nullable: true }),
|
|
41133
|
+
__metadata("design:type", String)
|
|
41134
|
+
], CreateMJCalendarSyncStateInput.prototype, "CommunicationProviderID", void 0);
|
|
41135
|
+
__decorate([
|
|
41136
|
+
Field({ nullable: true }),
|
|
41137
|
+
__metadata("design:type", String)
|
|
41138
|
+
], CreateMJCalendarSyncStateInput.prototype, "AccountIdentifier", void 0);
|
|
41139
|
+
__decorate([
|
|
41140
|
+
Field({ nullable: true }),
|
|
41141
|
+
__metadata("design:type", String)
|
|
41142
|
+
], CreateMJCalendarSyncStateInput.prototype, "CalendarID", void 0);
|
|
41143
|
+
__decorate([
|
|
41144
|
+
Field({ nullable: true }),
|
|
41145
|
+
__metadata("design:type", String)
|
|
41146
|
+
], CreateMJCalendarSyncStateInput.prototype, "SyncToken", void 0);
|
|
41147
|
+
__decorate([
|
|
41148
|
+
Field({ nullable: true }),
|
|
41149
|
+
__metadata("design:type", Date)
|
|
41150
|
+
], CreateMJCalendarSyncStateInput.prototype, "LastSyncedAt", void 0);
|
|
41151
|
+
__decorate([
|
|
41152
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
41153
|
+
__metadata("design:type", RestoreContextInput)
|
|
41154
|
+
], CreateMJCalendarSyncStateInput.prototype, "RestoreContext___", void 0);
|
|
41155
|
+
CreateMJCalendarSyncStateInput = __decorate([
|
|
41156
|
+
InputType()
|
|
41157
|
+
], CreateMJCalendarSyncStateInput);
|
|
41158
|
+
export { CreateMJCalendarSyncStateInput };
|
|
41159
|
+
//****************************************************************************
|
|
41160
|
+
// INPUT TYPE for MJ: Calendar Sync States
|
|
41161
|
+
//****************************************************************************
|
|
41162
|
+
let UpdateMJCalendarSyncStateInput = class UpdateMJCalendarSyncStateInput {
|
|
41163
|
+
};
|
|
41164
|
+
__decorate([
|
|
41165
|
+
Field(),
|
|
41166
|
+
__metadata("design:type", String)
|
|
41167
|
+
], UpdateMJCalendarSyncStateInput.prototype, "ID", void 0);
|
|
41168
|
+
__decorate([
|
|
41169
|
+
Field({ nullable: true }),
|
|
41170
|
+
__metadata("design:type", String)
|
|
41171
|
+
], UpdateMJCalendarSyncStateInput.prototype, "CommunicationProviderID", void 0);
|
|
41172
|
+
__decorate([
|
|
41173
|
+
Field({ nullable: true }),
|
|
41174
|
+
__metadata("design:type", String)
|
|
41175
|
+
], UpdateMJCalendarSyncStateInput.prototype, "AccountIdentifier", void 0);
|
|
41176
|
+
__decorate([
|
|
41177
|
+
Field({ nullable: true }),
|
|
41178
|
+
__metadata("design:type", String)
|
|
41179
|
+
], UpdateMJCalendarSyncStateInput.prototype, "CalendarID", void 0);
|
|
41180
|
+
__decorate([
|
|
41181
|
+
Field({ nullable: true }),
|
|
41182
|
+
__metadata("design:type", String)
|
|
41183
|
+
], UpdateMJCalendarSyncStateInput.prototype, "SyncToken", void 0);
|
|
41184
|
+
__decorate([
|
|
41185
|
+
Field({ nullable: true }),
|
|
41186
|
+
__metadata("design:type", Date)
|
|
41187
|
+
], UpdateMJCalendarSyncStateInput.prototype, "LastSyncedAt", void 0);
|
|
41188
|
+
__decorate([
|
|
41189
|
+
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
41190
|
+
__metadata("design:type", Array)
|
|
41191
|
+
], UpdateMJCalendarSyncStateInput.prototype, "OldValues___", void 0);
|
|
41192
|
+
__decorate([
|
|
41193
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
41194
|
+
__metadata("design:type", RestoreContextInput)
|
|
41195
|
+
], UpdateMJCalendarSyncStateInput.prototype, "RestoreContext___", void 0);
|
|
41196
|
+
UpdateMJCalendarSyncStateInput = __decorate([
|
|
41197
|
+
InputType()
|
|
41198
|
+
], UpdateMJCalendarSyncStateInput);
|
|
41199
|
+
export { UpdateMJCalendarSyncStateInput };
|
|
41200
|
+
//****************************************************************************
|
|
41201
|
+
// RESOLVER for MJ: Calendar Sync States
|
|
41202
|
+
//****************************************************************************
|
|
41203
|
+
let RunMJCalendarSyncStateViewResult = class RunMJCalendarSyncStateViewResult {
|
|
41204
|
+
};
|
|
41205
|
+
__decorate([
|
|
41206
|
+
Field(() => [MJCalendarSyncState_]),
|
|
41207
|
+
__metadata("design:type", Array)
|
|
41208
|
+
], RunMJCalendarSyncStateViewResult.prototype, "Results", void 0);
|
|
41209
|
+
__decorate([
|
|
41210
|
+
Field(() => String, { nullable: true }),
|
|
41211
|
+
__metadata("design:type", String)
|
|
41212
|
+
], RunMJCalendarSyncStateViewResult.prototype, "UserViewRunID", void 0);
|
|
41213
|
+
__decorate([
|
|
41214
|
+
Field(() => Int, { nullable: true }),
|
|
41215
|
+
__metadata("design:type", Number)
|
|
41216
|
+
], RunMJCalendarSyncStateViewResult.prototype, "RowCount", void 0);
|
|
41217
|
+
__decorate([
|
|
41218
|
+
Field(() => Int, { nullable: true }),
|
|
41219
|
+
__metadata("design:type", Number)
|
|
41220
|
+
], RunMJCalendarSyncStateViewResult.prototype, "TotalRowCount", void 0);
|
|
41221
|
+
__decorate([
|
|
41222
|
+
Field(() => Int, { nullable: true }),
|
|
41223
|
+
__metadata("design:type", Number)
|
|
41224
|
+
], RunMJCalendarSyncStateViewResult.prototype, "ExecutionTime", void 0);
|
|
41225
|
+
__decorate([
|
|
41226
|
+
Field({ nullable: true }),
|
|
41227
|
+
__metadata("design:type", String)
|
|
41228
|
+
], RunMJCalendarSyncStateViewResult.prototype, "ErrorMessage", void 0);
|
|
41229
|
+
__decorate([
|
|
41230
|
+
Field(() => Boolean, { nullable: false }),
|
|
41231
|
+
__metadata("design:type", Boolean)
|
|
41232
|
+
], RunMJCalendarSyncStateViewResult.prototype, "Success", void 0);
|
|
41233
|
+
RunMJCalendarSyncStateViewResult = __decorate([
|
|
41234
|
+
ObjectType()
|
|
41235
|
+
], RunMJCalendarSyncStateViewResult);
|
|
41236
|
+
export { RunMJCalendarSyncStateViewResult };
|
|
41237
|
+
let MJCalendarSyncStateResolver = class MJCalendarSyncStateResolver extends ResolverBase {
|
|
41238
|
+
async RunMJCalendarSyncStateViewByID(input, { providers, userPayload }, pubSub) {
|
|
41239
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
41240
|
+
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
41241
|
+
}
|
|
41242
|
+
async RunMJCalendarSyncStateViewByName(input, { providers, userPayload }, pubSub) {
|
|
41243
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
41244
|
+
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
41245
|
+
}
|
|
41246
|
+
async RunMJCalendarSyncStateDynamicView(input, { providers, userPayload }, pubSub) {
|
|
41247
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
41248
|
+
input.EntityName = 'MJ: Calendar Sync States';
|
|
41249
|
+
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
41250
|
+
}
|
|
41251
|
+
async MJCalendarSyncState(ID, { userPayload, providers }, pubSub) {
|
|
41252
|
+
this.CheckUserReadPermissions('MJ: Calendar Sync States', userPayload);
|
|
41253
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
41254
|
+
const sSQL = `SELECT * FROM ${provider.QuoteSchemaAndView(Metadata.Provider.ConfigData.MJCoreSchemaName, 'vwCalendarSyncStates')} WHERE ${provider.QuoteIdentifier('ID')}=${provider.BuildParameterPlaceholder(0)} ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Calendar Sync States', userPayload, EntityPermissionType.Read, 'AND');
|
|
41255
|
+
const rows = await provider.ExecuteSQL(sSQL, [ID], undefined, this.GetUserFromPayload(userPayload));
|
|
41256
|
+
const result = await this.MapFieldNamesToCodeNames('MJ: Calendar Sync States', rows && rows.length > 0 ? rows[0] : null, this.GetUserFromPayload(userPayload));
|
|
41257
|
+
return result;
|
|
41258
|
+
}
|
|
41259
|
+
async CreateMJCalendarSyncState(input, { providers, userPayload }, pubSub) {
|
|
41260
|
+
const provider = GetReadWriteProvider(providers);
|
|
41261
|
+
return this.CreateRecord('MJ: Calendar Sync States', input, provider, userPayload, pubSub);
|
|
41262
|
+
}
|
|
41263
|
+
async UpdateMJCalendarSyncState(input, { providers, userPayload }, pubSub) {
|
|
41264
|
+
const provider = GetReadWriteProvider(providers);
|
|
41265
|
+
return this.UpdateRecord('MJ: Calendar Sync States', input, provider, userPayload, pubSub);
|
|
41266
|
+
}
|
|
41267
|
+
async DeleteMJCalendarSyncState(ID, options, { providers, userPayload }, pubSub) {
|
|
41268
|
+
const provider = GetReadWriteProvider(providers);
|
|
41269
|
+
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
41270
|
+
return this.DeleteRecord('MJ: Calendar Sync States', key, options, provider, userPayload, pubSub);
|
|
41271
|
+
}
|
|
41272
|
+
};
|
|
41273
|
+
__decorate([
|
|
41274
|
+
Query(() => RunMJCalendarSyncStateViewResult),
|
|
41275
|
+
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
41276
|
+
__param(1, Ctx()),
|
|
41277
|
+
__param(2, PubSub()),
|
|
41278
|
+
__metadata("design:type", Function),
|
|
41279
|
+
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
41280
|
+
__metadata("design:returntype", Promise)
|
|
41281
|
+
], MJCalendarSyncStateResolver.prototype, "RunMJCalendarSyncStateViewByID", null);
|
|
41282
|
+
__decorate([
|
|
41283
|
+
Query(() => RunMJCalendarSyncStateViewResult),
|
|
41284
|
+
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
41285
|
+
__param(1, Ctx()),
|
|
41286
|
+
__param(2, PubSub()),
|
|
41287
|
+
__metadata("design:type", Function),
|
|
41288
|
+
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
41289
|
+
__metadata("design:returntype", Promise)
|
|
41290
|
+
], MJCalendarSyncStateResolver.prototype, "RunMJCalendarSyncStateViewByName", null);
|
|
41291
|
+
__decorate([
|
|
41292
|
+
Query(() => RunMJCalendarSyncStateViewResult),
|
|
41293
|
+
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
41294
|
+
__param(1, Ctx()),
|
|
41295
|
+
__param(2, PubSub()),
|
|
41296
|
+
__metadata("design:type", Function),
|
|
41297
|
+
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
41298
|
+
__metadata("design:returntype", Promise)
|
|
41299
|
+
], MJCalendarSyncStateResolver.prototype, "RunMJCalendarSyncStateDynamicView", null);
|
|
41300
|
+
__decorate([
|
|
41301
|
+
Query(() => MJCalendarSyncState_, { nullable: true }),
|
|
41302
|
+
__param(0, Arg('ID', () => String)),
|
|
41303
|
+
__param(1, Ctx()),
|
|
41304
|
+
__param(2, PubSub()),
|
|
41305
|
+
__metadata("design:type", Function),
|
|
41306
|
+
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
41307
|
+
__metadata("design:returntype", Promise)
|
|
41308
|
+
], MJCalendarSyncStateResolver.prototype, "MJCalendarSyncState", null);
|
|
41309
|
+
__decorate([
|
|
41310
|
+
Mutation(() => MJCalendarSyncState_),
|
|
41311
|
+
__param(0, Arg('input', () => CreateMJCalendarSyncStateInput)),
|
|
41312
|
+
__param(1, Ctx()),
|
|
41313
|
+
__param(2, PubSub()),
|
|
41314
|
+
__metadata("design:type", Function),
|
|
41315
|
+
__metadata("design:paramtypes", [CreateMJCalendarSyncStateInput, Object, PubSubEngine]),
|
|
41316
|
+
__metadata("design:returntype", Promise)
|
|
41317
|
+
], MJCalendarSyncStateResolver.prototype, "CreateMJCalendarSyncState", null);
|
|
41318
|
+
__decorate([
|
|
41319
|
+
Mutation(() => MJCalendarSyncState_),
|
|
41320
|
+
__param(0, Arg('input', () => UpdateMJCalendarSyncStateInput)),
|
|
41321
|
+
__param(1, Ctx()),
|
|
41322
|
+
__param(2, PubSub()),
|
|
41323
|
+
__metadata("design:type", Function),
|
|
41324
|
+
__metadata("design:paramtypes", [UpdateMJCalendarSyncStateInput, Object, PubSubEngine]),
|
|
41325
|
+
__metadata("design:returntype", Promise)
|
|
41326
|
+
], MJCalendarSyncStateResolver.prototype, "UpdateMJCalendarSyncState", null);
|
|
41327
|
+
__decorate([
|
|
41328
|
+
Mutation(() => MJCalendarSyncState_),
|
|
41329
|
+
__param(0, Arg('ID', () => String)),
|
|
41330
|
+
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
41331
|
+
__param(2, Ctx()),
|
|
41332
|
+
__param(3, PubSub()),
|
|
41333
|
+
__metadata("design:type", Function),
|
|
41334
|
+
__metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
|
|
41335
|
+
__metadata("design:returntype", Promise)
|
|
41336
|
+
], MJCalendarSyncStateResolver.prototype, "DeleteMJCalendarSyncState", null);
|
|
41337
|
+
MJCalendarSyncStateResolver = __decorate([
|
|
41338
|
+
Resolver(MJCalendarSyncState_)
|
|
41339
|
+
], MJCalendarSyncStateResolver);
|
|
41340
|
+
export { MJCalendarSyncStateResolver };
|
|
41341
|
+
//****************************************************************************
|
|
40769
41342
|
// ENTITY CLASS for MJ: Cluster Analysis
|
|
40770
41343
|
//****************************************************************************
|
|
40771
41344
|
let MJClusterAnalysis_ = class MJClusterAnalysis_ {
|
|
@@ -43262,6 +43835,15 @@ __decorate([
|
|
|
43262
43835
|
MaxLength(36),
|
|
43263
43836
|
__metadata("design:type", String)
|
|
43264
43837
|
], MJCommunicationProvider_.prototype, "DefaultCredentialID", void 0);
|
|
43838
|
+
__decorate([
|
|
43839
|
+
Field(() => Boolean, { nullable: true, description: "Posture 3 master switch (Gate 1). When 1, users may connect their own mailbox/calendar to this provider through per-user delegated OAuth 2.0 (3LO) with PKCE, subject to AllowedEmailDomains and AllowedOAuthTenantIDs. Default 0: no user can initiate a personal OAuth flow." }),
|
|
43840
|
+
__metadata("design:type", Boolean)
|
|
43841
|
+
], MJCommunicationProvider_.prototype, "AllowUserDelegatedOAuth", void 0);
|
|
43842
|
+
__decorate([
|
|
43843
|
+
Field({ nullable: true, description: "Optional comma-separated allowlist of identity tenant identifiers (Gate 3) that a user-delegated OAuth token must carry: Azure AD tenant IDs (tid) or Google Workspace hosted domains (hd). NULL means no tenant restriction beyond AllowedEmailDomains." }),
|
|
43844
|
+
MaxLength(1000),
|
|
43845
|
+
__metadata("design:type", String)
|
|
43846
|
+
], MJCommunicationProvider_.prototype, "AllowedOAuthTenantIDs", void 0);
|
|
43265
43847
|
__decorate([
|
|
43266
43848
|
Field({ nullable: true }),
|
|
43267
43849
|
MaxLength(200),
|
|
@@ -43340,6 +43922,14 @@ __decorate([
|
|
|
43340
43922
|
Field({ nullable: true }),
|
|
43341
43923
|
__metadata("design:type", String)
|
|
43342
43924
|
], CreateMJCommunicationProviderInput.prototype, "DefaultCredentialID", void 0);
|
|
43925
|
+
__decorate([
|
|
43926
|
+
Field(() => Boolean, { nullable: true }),
|
|
43927
|
+
__metadata("design:type", Boolean)
|
|
43928
|
+
], CreateMJCommunicationProviderInput.prototype, "AllowUserDelegatedOAuth", void 0);
|
|
43929
|
+
__decorate([
|
|
43930
|
+
Field({ nullable: true }),
|
|
43931
|
+
__metadata("design:type", String)
|
|
43932
|
+
], CreateMJCommunicationProviderInput.prototype, "AllowedOAuthTenantIDs", void 0);
|
|
43343
43933
|
__decorate([
|
|
43344
43934
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
43345
43935
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -43413,6 +44003,14 @@ __decorate([
|
|
|
43413
44003
|
Field({ nullable: true }),
|
|
43414
44004
|
__metadata("design:type", String)
|
|
43415
44005
|
], UpdateMJCommunicationProviderInput.prototype, "DefaultCredentialID", void 0);
|
|
44006
|
+
__decorate([
|
|
44007
|
+
Field(() => Boolean, { nullable: true }),
|
|
44008
|
+
__metadata("design:type", Boolean)
|
|
44009
|
+
], UpdateMJCommunicationProviderInput.prototype, "AllowUserDelegatedOAuth", void 0);
|
|
44010
|
+
__decorate([
|
|
44011
|
+
Field({ nullable: true }),
|
|
44012
|
+
__metadata("design:type", String)
|
|
44013
|
+
], UpdateMJCommunicationProviderInput.prototype, "AllowedOAuthTenantIDs", void 0);
|
|
43416
44014
|
__decorate([
|
|
43417
44015
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
43418
44016
|
__metadata("design:type", Array)
|
|
@@ -44196,675 +44794,2114 @@ __decorate([
|
|
|
44196
44794
|
Field({ nullable: true, description: "How to handle conflicts when both source and destination have been modified. SourceWins, DestWins, MostRecent, or Manual." }),
|
|
44197
44795
|
MaxLength(50),
|
|
44198
44796
|
__metadata("design:type", String)
|
|
44199
|
-
], MJCompanyIntegrationEntityMap_.prototype, "ConflictResolution", void 0);
|
|
44797
|
+
], MJCompanyIntegrationEntityMap_.prototype, "ConflictResolution", void 0);
|
|
44798
|
+
__decorate([
|
|
44799
|
+
Field(() => Int, { nullable: true, description: "Processing order when multiple entity maps exist. Lower numbers are processed first." }),
|
|
44800
|
+
__metadata("design:type", Number)
|
|
44801
|
+
], MJCompanyIntegrationEntityMap_.prototype, "Priority", void 0);
|
|
44802
|
+
__decorate([
|
|
44803
|
+
Field({ nullable: true, description: "How to handle records that no longer exist in the source. SoftDelete, DoNothing, or HardDelete." }),
|
|
44804
|
+
MaxLength(50),
|
|
44805
|
+
__metadata("design:type", String)
|
|
44806
|
+
], MJCompanyIntegrationEntityMap_.prototype, "DeleteBehavior", void 0);
|
|
44807
|
+
__decorate([
|
|
44808
|
+
Field({ nullable: true, description: "Whether this entity map is Active or Inactive." }),
|
|
44809
|
+
MaxLength(50),
|
|
44810
|
+
__metadata("design:type", String)
|
|
44811
|
+
], MJCompanyIntegrationEntityMap_.prototype, "Status", void 0);
|
|
44812
|
+
__decorate([
|
|
44813
|
+
Field({ nullable: true, description: "Optional JSON configuration specific to this entity mapping." }),
|
|
44814
|
+
__metadata("design:type", String)
|
|
44815
|
+
], MJCompanyIntegrationEntityMap_.prototype, "Configuration", void 0);
|
|
44816
|
+
__decorate([
|
|
44817
|
+
Field(),
|
|
44818
|
+
__metadata("design:type", Date)
|
|
44819
|
+
], MJCompanyIntegrationEntityMap_.prototype, "_mj__CreatedAt", void 0);
|
|
44820
|
+
__decorate([
|
|
44821
|
+
Field(),
|
|
44822
|
+
__metadata("design:type", Date)
|
|
44823
|
+
], MJCompanyIntegrationEntityMap_.prototype, "_mj__UpdatedAt", void 0);
|
|
44824
|
+
__decorate([
|
|
44825
|
+
Field({ nullable: true }),
|
|
44826
|
+
MaxLength(255),
|
|
44827
|
+
__metadata("design:type", String)
|
|
44828
|
+
], MJCompanyIntegrationEntityMap_.prototype, "CompanyIntegration", void 0);
|
|
44829
|
+
__decorate([
|
|
44830
|
+
Field({ nullable: true }),
|
|
44831
|
+
MaxLength(255),
|
|
44832
|
+
__metadata("design:type", String)
|
|
44833
|
+
], MJCompanyIntegrationEntityMap_.prototype, "Entity", void 0);
|
|
44834
|
+
__decorate([
|
|
44835
|
+
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
44836
|
+
__metadata("design:type", Array)
|
|
44837
|
+
], MJCompanyIntegrationEntityMap_.prototype, "ReadableFields___", void 0);
|
|
44838
|
+
MJCompanyIntegrationEntityMap_ = __decorate([
|
|
44839
|
+
ObjectType({ description: "Maps an external object from a company integration to a MemberJunction entity, controlling sync direction, matching, and conflict resolution." })
|
|
44840
|
+
], MJCompanyIntegrationEntityMap_);
|
|
44841
|
+
export { MJCompanyIntegrationEntityMap_ };
|
|
44842
|
+
//****************************************************************************
|
|
44843
|
+
// INPUT TYPE for MJ: Company Integration Entity Maps
|
|
44844
|
+
//****************************************************************************
|
|
44845
|
+
let CreateMJCompanyIntegrationEntityMapInput = class CreateMJCompanyIntegrationEntityMapInput {
|
|
44846
|
+
};
|
|
44847
|
+
__decorate([
|
|
44848
|
+
Field({ nullable: true }),
|
|
44849
|
+
__metadata("design:type", String)
|
|
44850
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "ID", void 0);
|
|
44851
|
+
__decorate([
|
|
44852
|
+
Field({ nullable: true }),
|
|
44853
|
+
__metadata("design:type", String)
|
|
44854
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "CompanyIntegrationID", void 0);
|
|
44855
|
+
__decorate([
|
|
44856
|
+
Field({ nullable: true }),
|
|
44857
|
+
__metadata("design:type", String)
|
|
44858
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "ExternalObjectName", void 0);
|
|
44859
|
+
__decorate([
|
|
44860
|
+
Field({ nullable: true }),
|
|
44861
|
+
__metadata("design:type", String)
|
|
44862
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "ExternalObjectLabel", void 0);
|
|
44863
|
+
__decorate([
|
|
44864
|
+
Field({ nullable: true }),
|
|
44865
|
+
__metadata("design:type", String)
|
|
44866
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "EntityID", void 0);
|
|
44867
|
+
__decorate([
|
|
44868
|
+
Field({ nullable: true }),
|
|
44869
|
+
__metadata("design:type", String)
|
|
44870
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "SyncDirection", void 0);
|
|
44871
|
+
__decorate([
|
|
44872
|
+
Field(() => Boolean, { nullable: true }),
|
|
44873
|
+
__metadata("design:type", Boolean)
|
|
44874
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "SyncEnabled", void 0);
|
|
44875
|
+
__decorate([
|
|
44876
|
+
Field({ nullable: true }),
|
|
44877
|
+
__metadata("design:type", String)
|
|
44878
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "MatchStrategy", void 0);
|
|
44879
|
+
__decorate([
|
|
44880
|
+
Field({ nullable: true }),
|
|
44881
|
+
__metadata("design:type", String)
|
|
44882
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "ConflictResolution", void 0);
|
|
44883
|
+
__decorate([
|
|
44884
|
+
Field(() => Int, { nullable: true }),
|
|
44885
|
+
__metadata("design:type", Number)
|
|
44886
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "Priority", void 0);
|
|
44887
|
+
__decorate([
|
|
44888
|
+
Field({ nullable: true }),
|
|
44889
|
+
__metadata("design:type", String)
|
|
44890
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "DeleteBehavior", void 0);
|
|
44891
|
+
__decorate([
|
|
44892
|
+
Field({ nullable: true }),
|
|
44893
|
+
__metadata("design:type", String)
|
|
44894
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "Status", void 0);
|
|
44895
|
+
__decorate([
|
|
44896
|
+
Field({ nullable: true }),
|
|
44897
|
+
__metadata("design:type", String)
|
|
44898
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "Configuration", void 0);
|
|
44899
|
+
__decorate([
|
|
44900
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
44901
|
+
__metadata("design:type", RestoreContextInput)
|
|
44902
|
+
], CreateMJCompanyIntegrationEntityMapInput.prototype, "RestoreContext___", void 0);
|
|
44903
|
+
CreateMJCompanyIntegrationEntityMapInput = __decorate([
|
|
44904
|
+
InputType()
|
|
44905
|
+
], CreateMJCompanyIntegrationEntityMapInput);
|
|
44906
|
+
export { CreateMJCompanyIntegrationEntityMapInput };
|
|
44907
|
+
//****************************************************************************
|
|
44908
|
+
// INPUT TYPE for MJ: Company Integration Entity Maps
|
|
44909
|
+
//****************************************************************************
|
|
44910
|
+
let UpdateMJCompanyIntegrationEntityMapInput = class UpdateMJCompanyIntegrationEntityMapInput {
|
|
44911
|
+
};
|
|
44912
|
+
__decorate([
|
|
44913
|
+
Field(),
|
|
44914
|
+
__metadata("design:type", String)
|
|
44915
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "ID", void 0);
|
|
44916
|
+
__decorate([
|
|
44917
|
+
Field({ nullable: true }),
|
|
44918
|
+
__metadata("design:type", String)
|
|
44919
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "CompanyIntegrationID", void 0);
|
|
44920
|
+
__decorate([
|
|
44921
|
+
Field({ nullable: true }),
|
|
44922
|
+
__metadata("design:type", String)
|
|
44923
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "ExternalObjectName", void 0);
|
|
44924
|
+
__decorate([
|
|
44925
|
+
Field({ nullable: true }),
|
|
44926
|
+
__metadata("design:type", String)
|
|
44927
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "ExternalObjectLabel", void 0);
|
|
44928
|
+
__decorate([
|
|
44929
|
+
Field({ nullable: true }),
|
|
44930
|
+
__metadata("design:type", String)
|
|
44931
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "EntityID", void 0);
|
|
44932
|
+
__decorate([
|
|
44933
|
+
Field({ nullable: true }),
|
|
44934
|
+
__metadata("design:type", String)
|
|
44935
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "SyncDirection", void 0);
|
|
44936
|
+
__decorate([
|
|
44937
|
+
Field(() => Boolean, { nullable: true }),
|
|
44938
|
+
__metadata("design:type", Boolean)
|
|
44939
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "SyncEnabled", void 0);
|
|
44940
|
+
__decorate([
|
|
44941
|
+
Field({ nullable: true }),
|
|
44942
|
+
__metadata("design:type", String)
|
|
44943
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "MatchStrategy", void 0);
|
|
44944
|
+
__decorate([
|
|
44945
|
+
Field({ nullable: true }),
|
|
44946
|
+
__metadata("design:type", String)
|
|
44947
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "ConflictResolution", void 0);
|
|
44948
|
+
__decorate([
|
|
44949
|
+
Field(() => Int, { nullable: true }),
|
|
44950
|
+
__metadata("design:type", Number)
|
|
44951
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "Priority", void 0);
|
|
44952
|
+
__decorate([
|
|
44953
|
+
Field({ nullable: true }),
|
|
44954
|
+
__metadata("design:type", String)
|
|
44955
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "DeleteBehavior", void 0);
|
|
44956
|
+
__decorate([
|
|
44957
|
+
Field({ nullable: true }),
|
|
44958
|
+
__metadata("design:type", String)
|
|
44959
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "Status", void 0);
|
|
44960
|
+
__decorate([
|
|
44961
|
+
Field({ nullable: true }),
|
|
44962
|
+
__metadata("design:type", String)
|
|
44963
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "Configuration", void 0);
|
|
44964
|
+
__decorate([
|
|
44965
|
+
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
44966
|
+
__metadata("design:type", Array)
|
|
44967
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "OldValues___", void 0);
|
|
44968
|
+
__decorate([
|
|
44969
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
44970
|
+
__metadata("design:type", RestoreContextInput)
|
|
44971
|
+
], UpdateMJCompanyIntegrationEntityMapInput.prototype, "RestoreContext___", void 0);
|
|
44972
|
+
UpdateMJCompanyIntegrationEntityMapInput = __decorate([
|
|
44973
|
+
InputType()
|
|
44974
|
+
], UpdateMJCompanyIntegrationEntityMapInput);
|
|
44975
|
+
export { UpdateMJCompanyIntegrationEntityMapInput };
|
|
44976
|
+
//****************************************************************************
|
|
44977
|
+
// RESOLVER for MJ: Company Integration Entity Maps
|
|
44978
|
+
//****************************************************************************
|
|
44979
|
+
let RunMJCompanyIntegrationEntityMapViewResult = class RunMJCompanyIntegrationEntityMapViewResult {
|
|
44980
|
+
};
|
|
44981
|
+
__decorate([
|
|
44982
|
+
Field(() => [MJCompanyIntegrationEntityMap_]),
|
|
44983
|
+
__metadata("design:type", Array)
|
|
44984
|
+
], RunMJCompanyIntegrationEntityMapViewResult.prototype, "Results", void 0);
|
|
44985
|
+
__decorate([
|
|
44986
|
+
Field(() => String, { nullable: true }),
|
|
44987
|
+
__metadata("design:type", String)
|
|
44988
|
+
], RunMJCompanyIntegrationEntityMapViewResult.prototype, "UserViewRunID", void 0);
|
|
44989
|
+
__decorate([
|
|
44990
|
+
Field(() => Int, { nullable: true }),
|
|
44991
|
+
__metadata("design:type", Number)
|
|
44992
|
+
], RunMJCompanyIntegrationEntityMapViewResult.prototype, "RowCount", void 0);
|
|
44993
|
+
__decorate([
|
|
44994
|
+
Field(() => Int, { nullable: true }),
|
|
44995
|
+
__metadata("design:type", Number)
|
|
44996
|
+
], RunMJCompanyIntegrationEntityMapViewResult.prototype, "TotalRowCount", void 0);
|
|
44997
|
+
__decorate([
|
|
44998
|
+
Field(() => Int, { nullable: true }),
|
|
44999
|
+
__metadata("design:type", Number)
|
|
45000
|
+
], RunMJCompanyIntegrationEntityMapViewResult.prototype, "ExecutionTime", void 0);
|
|
45001
|
+
__decorate([
|
|
45002
|
+
Field({ nullable: true }),
|
|
45003
|
+
__metadata("design:type", String)
|
|
45004
|
+
], RunMJCompanyIntegrationEntityMapViewResult.prototype, "ErrorMessage", void 0);
|
|
45005
|
+
__decorate([
|
|
45006
|
+
Field(() => Boolean, { nullable: false }),
|
|
45007
|
+
__metadata("design:type", Boolean)
|
|
45008
|
+
], RunMJCompanyIntegrationEntityMapViewResult.prototype, "Success", void 0);
|
|
45009
|
+
RunMJCompanyIntegrationEntityMapViewResult = __decorate([
|
|
45010
|
+
ObjectType()
|
|
45011
|
+
], RunMJCompanyIntegrationEntityMapViewResult);
|
|
45012
|
+
export { RunMJCompanyIntegrationEntityMapViewResult };
|
|
45013
|
+
let MJCompanyIntegrationEntityMapResolver = class MJCompanyIntegrationEntityMapResolver extends ResolverBase {
|
|
45014
|
+
async RunMJCompanyIntegrationEntityMapViewByID(input, { providers, userPayload }, pubSub) {
|
|
45015
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
45016
|
+
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
45017
|
+
}
|
|
45018
|
+
async RunMJCompanyIntegrationEntityMapViewByName(input, { providers, userPayload }, pubSub) {
|
|
45019
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
45020
|
+
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
45021
|
+
}
|
|
45022
|
+
async RunMJCompanyIntegrationEntityMapDynamicView(input, { providers, userPayload }, pubSub) {
|
|
45023
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
45024
|
+
input.EntityName = 'MJ: Company Integration Entity Maps';
|
|
45025
|
+
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
45026
|
+
}
|
|
45027
|
+
async MJCompanyIntegrationEntityMap(ID, { userPayload, providers }, pubSub) {
|
|
45028
|
+
this.CheckUserReadPermissions('MJ: Company Integration Entity Maps', userPayload);
|
|
45029
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
45030
|
+
const sSQL = `SELECT * FROM ${provider.QuoteSchemaAndView(Metadata.Provider.ConfigData.MJCoreSchemaName, 'vwCompanyIntegrationEntityMaps')} WHERE ${provider.QuoteIdentifier('ID')}=${provider.BuildParameterPlaceholder(0)} ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Company Integration Entity Maps', userPayload, EntityPermissionType.Read, 'AND');
|
|
45031
|
+
const rows = await provider.ExecuteSQL(sSQL, [ID], undefined, this.GetUserFromPayload(userPayload));
|
|
45032
|
+
const result = await this.MapFieldNamesToCodeNames('MJ: Company Integration Entity Maps', rows && rows.length > 0 ? rows[0] : null, this.GetUserFromPayload(userPayload));
|
|
45033
|
+
return result;
|
|
45034
|
+
}
|
|
45035
|
+
async CreateMJCompanyIntegrationEntityMap(input, { providers, userPayload }, pubSub) {
|
|
45036
|
+
const provider = GetReadWriteProvider(providers);
|
|
45037
|
+
return this.CreateRecord('MJ: Company Integration Entity Maps', input, provider, userPayload, pubSub);
|
|
45038
|
+
}
|
|
45039
|
+
async UpdateMJCompanyIntegrationEntityMap(input, { providers, userPayload }, pubSub) {
|
|
45040
|
+
const provider = GetReadWriteProvider(providers);
|
|
45041
|
+
return this.UpdateRecord('MJ: Company Integration Entity Maps', input, provider, userPayload, pubSub);
|
|
45042
|
+
}
|
|
45043
|
+
async DeleteMJCompanyIntegrationEntityMap(ID, options, { providers, userPayload }, pubSub) {
|
|
45044
|
+
const provider = GetReadWriteProvider(providers);
|
|
45045
|
+
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
45046
|
+
return this.DeleteRecord('MJ: Company Integration Entity Maps', key, options, provider, userPayload, pubSub);
|
|
45047
|
+
}
|
|
45048
|
+
};
|
|
45049
|
+
__decorate([
|
|
45050
|
+
Query(() => RunMJCompanyIntegrationEntityMapViewResult),
|
|
45051
|
+
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
45052
|
+
__param(1, Ctx()),
|
|
45053
|
+
__param(2, PubSub()),
|
|
45054
|
+
__metadata("design:type", Function),
|
|
45055
|
+
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
45056
|
+
__metadata("design:returntype", Promise)
|
|
45057
|
+
], MJCompanyIntegrationEntityMapResolver.prototype, "RunMJCompanyIntegrationEntityMapViewByID", null);
|
|
45058
|
+
__decorate([
|
|
45059
|
+
Query(() => RunMJCompanyIntegrationEntityMapViewResult),
|
|
45060
|
+
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
45061
|
+
__param(1, Ctx()),
|
|
45062
|
+
__param(2, PubSub()),
|
|
45063
|
+
__metadata("design:type", Function),
|
|
45064
|
+
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
45065
|
+
__metadata("design:returntype", Promise)
|
|
45066
|
+
], MJCompanyIntegrationEntityMapResolver.prototype, "RunMJCompanyIntegrationEntityMapViewByName", null);
|
|
45067
|
+
__decorate([
|
|
45068
|
+
Query(() => RunMJCompanyIntegrationEntityMapViewResult),
|
|
45069
|
+
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
45070
|
+
__param(1, Ctx()),
|
|
45071
|
+
__param(2, PubSub()),
|
|
45072
|
+
__metadata("design:type", Function),
|
|
45073
|
+
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
45074
|
+
__metadata("design:returntype", Promise)
|
|
45075
|
+
], MJCompanyIntegrationEntityMapResolver.prototype, "RunMJCompanyIntegrationEntityMapDynamicView", null);
|
|
45076
|
+
__decorate([
|
|
45077
|
+
Query(() => MJCompanyIntegrationEntityMap_, { nullable: true }),
|
|
45078
|
+
__param(0, Arg('ID', () => String)),
|
|
45079
|
+
__param(1, Ctx()),
|
|
45080
|
+
__param(2, PubSub()),
|
|
45081
|
+
__metadata("design:type", Function),
|
|
45082
|
+
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
45083
|
+
__metadata("design:returntype", Promise)
|
|
45084
|
+
], MJCompanyIntegrationEntityMapResolver.prototype, "MJCompanyIntegrationEntityMap", null);
|
|
45085
|
+
__decorate([
|
|
45086
|
+
Mutation(() => MJCompanyIntegrationEntityMap_),
|
|
45087
|
+
__param(0, Arg('input', () => CreateMJCompanyIntegrationEntityMapInput)),
|
|
45088
|
+
__param(1, Ctx()),
|
|
45089
|
+
__param(2, PubSub()),
|
|
45090
|
+
__metadata("design:type", Function),
|
|
45091
|
+
__metadata("design:paramtypes", [CreateMJCompanyIntegrationEntityMapInput, Object, PubSubEngine]),
|
|
45092
|
+
__metadata("design:returntype", Promise)
|
|
45093
|
+
], MJCompanyIntegrationEntityMapResolver.prototype, "CreateMJCompanyIntegrationEntityMap", null);
|
|
45094
|
+
__decorate([
|
|
45095
|
+
Mutation(() => MJCompanyIntegrationEntityMap_),
|
|
45096
|
+
__param(0, Arg('input', () => UpdateMJCompanyIntegrationEntityMapInput)),
|
|
45097
|
+
__param(1, Ctx()),
|
|
45098
|
+
__param(2, PubSub()),
|
|
45099
|
+
__metadata("design:type", Function),
|
|
45100
|
+
__metadata("design:paramtypes", [UpdateMJCompanyIntegrationEntityMapInput, Object, PubSubEngine]),
|
|
45101
|
+
__metadata("design:returntype", Promise)
|
|
45102
|
+
], MJCompanyIntegrationEntityMapResolver.prototype, "UpdateMJCompanyIntegrationEntityMap", null);
|
|
45103
|
+
__decorate([
|
|
45104
|
+
Mutation(() => MJCompanyIntegrationEntityMap_),
|
|
45105
|
+
__param(0, Arg('ID', () => String)),
|
|
45106
|
+
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
45107
|
+
__param(2, Ctx()),
|
|
45108
|
+
__param(3, PubSub()),
|
|
45109
|
+
__metadata("design:type", Function),
|
|
45110
|
+
__metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
|
|
45111
|
+
__metadata("design:returntype", Promise)
|
|
45112
|
+
], MJCompanyIntegrationEntityMapResolver.prototype, "DeleteMJCompanyIntegrationEntityMap", null);
|
|
45113
|
+
MJCompanyIntegrationEntityMapResolver = __decorate([
|
|
45114
|
+
Resolver(MJCompanyIntegrationEntityMap_)
|
|
45115
|
+
], MJCompanyIntegrationEntityMapResolver);
|
|
45116
|
+
export { MJCompanyIntegrationEntityMapResolver };
|
|
45117
|
+
//****************************************************************************
|
|
45118
|
+
// ENTITY CLASS for MJ: Company Integration Field Maps
|
|
45119
|
+
//****************************************************************************
|
|
45120
|
+
let MJCompanyIntegrationFieldMap_ = class MJCompanyIntegrationFieldMap_ {
|
|
45121
|
+
};
|
|
45122
|
+
__decorate([
|
|
45123
|
+
Field(),
|
|
45124
|
+
MaxLength(36),
|
|
45125
|
+
__metadata("design:type", String)
|
|
45126
|
+
], MJCompanyIntegrationFieldMap_.prototype, "ID", void 0);
|
|
45127
|
+
__decorate([
|
|
45128
|
+
Field({ nullable: true }),
|
|
45129
|
+
MaxLength(36),
|
|
45130
|
+
__metadata("design:type", String)
|
|
45131
|
+
], MJCompanyIntegrationFieldMap_.prototype, "EntityMapID", void 0);
|
|
45132
|
+
__decorate([
|
|
45133
|
+
Field({ nullable: true, description: "The field/column name in the external source system." }),
|
|
45134
|
+
MaxLength(500),
|
|
45135
|
+
__metadata("design:type", String)
|
|
45136
|
+
], MJCompanyIntegrationFieldMap_.prototype, "SourceFieldName", void 0);
|
|
45137
|
+
__decorate([
|
|
45138
|
+
Field({ nullable: true, description: "Optional human-friendly label for the source field." }),
|
|
45139
|
+
MaxLength(500),
|
|
45140
|
+
__metadata("design:type", String)
|
|
45141
|
+
], MJCompanyIntegrationFieldMap_.prototype, "SourceFieldLabel", void 0);
|
|
45142
|
+
__decorate([
|
|
45143
|
+
Field({ nullable: true, description: "The MJ entity field name this source field maps to." }),
|
|
45144
|
+
MaxLength(500),
|
|
45145
|
+
__metadata("design:type", String)
|
|
45146
|
+
], MJCompanyIntegrationFieldMap_.prototype, "DestinationFieldName", void 0);
|
|
45147
|
+
__decorate([
|
|
45148
|
+
Field({ nullable: true, description: "Optional human-friendly label for the destination field." }),
|
|
45149
|
+
MaxLength(500),
|
|
45150
|
+
__metadata("design:type", String)
|
|
45151
|
+
], MJCompanyIntegrationFieldMap_.prototype, "DestinationFieldLabel", void 0);
|
|
45152
|
+
__decorate([
|
|
45153
|
+
Field({ nullable: true, description: "Direction of field mapping: SourceToDest, DestToSource, or Both." }),
|
|
45154
|
+
MaxLength(50),
|
|
45155
|
+
__metadata("design:type", String)
|
|
45156
|
+
], MJCompanyIntegrationFieldMap_.prototype, "Direction", void 0);
|
|
45157
|
+
__decorate([
|
|
45158
|
+
Field({ nullable: true, description: "JSON array of transform names to apply in order (e.g. [\"trim\", \"uppercase\"]). See FieldMappingEngine for available transforms." }),
|
|
45159
|
+
__metadata("design:type", String)
|
|
45160
|
+
], MJCompanyIntegrationFieldMap_.prototype, "TransformPipeline", void 0);
|
|
45161
|
+
__decorate([
|
|
45162
|
+
Field(() => Boolean, { nullable: true, description: "When true, this field is used by the MatchEngine to find existing records during sync." }),
|
|
45163
|
+
__metadata("design:type", Boolean)
|
|
45164
|
+
], MJCompanyIntegrationFieldMap_.prototype, "IsKeyField", void 0);
|
|
45165
|
+
__decorate([
|
|
45166
|
+
Field(() => Boolean, { nullable: true, description: "When true, a sync record is rejected if this field has no value." }),
|
|
45167
|
+
__metadata("design:type", Boolean)
|
|
45168
|
+
], MJCompanyIntegrationFieldMap_.prototype, "IsRequired", void 0);
|
|
45169
|
+
__decorate([
|
|
45170
|
+
Field({ nullable: true, description: "Default value to use when the source field is null or missing." }),
|
|
45171
|
+
__metadata("design:type", String)
|
|
45172
|
+
], MJCompanyIntegrationFieldMap_.prototype, "DefaultValue", void 0);
|
|
45173
|
+
__decorate([
|
|
45174
|
+
Field(() => Int, { nullable: true, description: "Processing order for this field mapping within the entity map." }),
|
|
45175
|
+
__metadata("design:type", Number)
|
|
45176
|
+
], MJCompanyIntegrationFieldMap_.prototype, "Priority", void 0);
|
|
45177
|
+
__decorate([
|
|
45178
|
+
Field({ nullable: true, description: "Whether this field mapping is Active or Inactive." }),
|
|
45179
|
+
MaxLength(50),
|
|
45180
|
+
__metadata("design:type", String)
|
|
45181
|
+
], MJCompanyIntegrationFieldMap_.prototype, "Status", void 0);
|
|
45182
|
+
__decorate([
|
|
45183
|
+
Field(),
|
|
45184
|
+
__metadata("design:type", Date)
|
|
45185
|
+
], MJCompanyIntegrationFieldMap_.prototype, "_mj__CreatedAt", void 0);
|
|
45186
|
+
__decorate([
|
|
45187
|
+
Field(),
|
|
45188
|
+
__metadata("design:type", Date)
|
|
45189
|
+
], MJCompanyIntegrationFieldMap_.prototype, "_mj__UpdatedAt", void 0);
|
|
45190
|
+
__decorate([
|
|
45191
|
+
Field({ nullable: true }),
|
|
45192
|
+
MaxLength(500),
|
|
45193
|
+
__metadata("design:type", String)
|
|
45194
|
+
], MJCompanyIntegrationFieldMap_.prototype, "EntityMap", void 0);
|
|
45195
|
+
__decorate([
|
|
45196
|
+
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
45197
|
+
__metadata("design:type", Array)
|
|
45198
|
+
], MJCompanyIntegrationFieldMap_.prototype, "ReadableFields___", void 0);
|
|
45199
|
+
MJCompanyIntegrationFieldMap_ = __decorate([
|
|
45200
|
+
ObjectType({ description: "Maps individual fields between an external source object and a MemberJunction entity, with optional transform pipeline." })
|
|
45201
|
+
], MJCompanyIntegrationFieldMap_);
|
|
45202
|
+
export { MJCompanyIntegrationFieldMap_ };
|
|
45203
|
+
//****************************************************************************
|
|
45204
|
+
// INPUT TYPE for MJ: Company Integration Field Maps
|
|
45205
|
+
//****************************************************************************
|
|
45206
|
+
let CreateMJCompanyIntegrationFieldMapInput = class CreateMJCompanyIntegrationFieldMapInput {
|
|
45207
|
+
};
|
|
45208
|
+
__decorate([
|
|
45209
|
+
Field({ nullable: true }),
|
|
45210
|
+
__metadata("design:type", String)
|
|
45211
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "ID", void 0);
|
|
45212
|
+
__decorate([
|
|
45213
|
+
Field({ nullable: true }),
|
|
45214
|
+
__metadata("design:type", String)
|
|
45215
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "EntityMapID", void 0);
|
|
45216
|
+
__decorate([
|
|
45217
|
+
Field({ nullable: true }),
|
|
45218
|
+
__metadata("design:type", String)
|
|
45219
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "SourceFieldName", void 0);
|
|
45220
|
+
__decorate([
|
|
45221
|
+
Field({ nullable: true }),
|
|
45222
|
+
__metadata("design:type", String)
|
|
45223
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "SourceFieldLabel", void 0);
|
|
45224
|
+
__decorate([
|
|
45225
|
+
Field({ nullable: true }),
|
|
45226
|
+
__metadata("design:type", String)
|
|
45227
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "DestinationFieldName", void 0);
|
|
45228
|
+
__decorate([
|
|
45229
|
+
Field({ nullable: true }),
|
|
45230
|
+
__metadata("design:type", String)
|
|
45231
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "DestinationFieldLabel", void 0);
|
|
45232
|
+
__decorate([
|
|
45233
|
+
Field({ nullable: true }),
|
|
45234
|
+
__metadata("design:type", String)
|
|
45235
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "Direction", void 0);
|
|
45236
|
+
__decorate([
|
|
45237
|
+
Field({ nullable: true }),
|
|
45238
|
+
__metadata("design:type", String)
|
|
45239
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "TransformPipeline", void 0);
|
|
45240
|
+
__decorate([
|
|
45241
|
+
Field(() => Boolean, { nullable: true }),
|
|
45242
|
+
__metadata("design:type", Boolean)
|
|
45243
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "IsKeyField", void 0);
|
|
45244
|
+
__decorate([
|
|
45245
|
+
Field(() => Boolean, { nullable: true }),
|
|
45246
|
+
__metadata("design:type", Boolean)
|
|
45247
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "IsRequired", void 0);
|
|
45248
|
+
__decorate([
|
|
45249
|
+
Field({ nullable: true }),
|
|
45250
|
+
__metadata("design:type", String)
|
|
45251
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "DefaultValue", void 0);
|
|
45252
|
+
__decorate([
|
|
45253
|
+
Field(() => Int, { nullable: true }),
|
|
45254
|
+
__metadata("design:type", Number)
|
|
45255
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "Priority", void 0);
|
|
45256
|
+
__decorate([
|
|
45257
|
+
Field({ nullable: true }),
|
|
45258
|
+
__metadata("design:type", String)
|
|
45259
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "Status", void 0);
|
|
45260
|
+
__decorate([
|
|
45261
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
45262
|
+
__metadata("design:type", RestoreContextInput)
|
|
45263
|
+
], CreateMJCompanyIntegrationFieldMapInput.prototype, "RestoreContext___", void 0);
|
|
45264
|
+
CreateMJCompanyIntegrationFieldMapInput = __decorate([
|
|
45265
|
+
InputType()
|
|
45266
|
+
], CreateMJCompanyIntegrationFieldMapInput);
|
|
45267
|
+
export { CreateMJCompanyIntegrationFieldMapInput };
|
|
45268
|
+
//****************************************************************************
|
|
45269
|
+
// INPUT TYPE for MJ: Company Integration Field Maps
|
|
45270
|
+
//****************************************************************************
|
|
45271
|
+
let UpdateMJCompanyIntegrationFieldMapInput = class UpdateMJCompanyIntegrationFieldMapInput {
|
|
45272
|
+
};
|
|
45273
|
+
__decorate([
|
|
45274
|
+
Field(),
|
|
45275
|
+
__metadata("design:type", String)
|
|
45276
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "ID", void 0);
|
|
45277
|
+
__decorate([
|
|
45278
|
+
Field({ nullable: true }),
|
|
45279
|
+
__metadata("design:type", String)
|
|
45280
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "EntityMapID", void 0);
|
|
45281
|
+
__decorate([
|
|
45282
|
+
Field({ nullable: true }),
|
|
45283
|
+
__metadata("design:type", String)
|
|
45284
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "SourceFieldName", void 0);
|
|
45285
|
+
__decorate([
|
|
45286
|
+
Field({ nullable: true }),
|
|
45287
|
+
__metadata("design:type", String)
|
|
45288
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "SourceFieldLabel", void 0);
|
|
45289
|
+
__decorate([
|
|
45290
|
+
Field({ nullable: true }),
|
|
45291
|
+
__metadata("design:type", String)
|
|
45292
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "DestinationFieldName", void 0);
|
|
45293
|
+
__decorate([
|
|
45294
|
+
Field({ nullable: true }),
|
|
45295
|
+
__metadata("design:type", String)
|
|
45296
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "DestinationFieldLabel", void 0);
|
|
45297
|
+
__decorate([
|
|
45298
|
+
Field({ nullable: true }),
|
|
45299
|
+
__metadata("design:type", String)
|
|
45300
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "Direction", void 0);
|
|
45301
|
+
__decorate([
|
|
45302
|
+
Field({ nullable: true }),
|
|
45303
|
+
__metadata("design:type", String)
|
|
45304
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "TransformPipeline", void 0);
|
|
45305
|
+
__decorate([
|
|
45306
|
+
Field(() => Boolean, { nullable: true }),
|
|
45307
|
+
__metadata("design:type", Boolean)
|
|
45308
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "IsKeyField", void 0);
|
|
45309
|
+
__decorate([
|
|
45310
|
+
Field(() => Boolean, { nullable: true }),
|
|
45311
|
+
__metadata("design:type", Boolean)
|
|
45312
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "IsRequired", void 0);
|
|
45313
|
+
__decorate([
|
|
45314
|
+
Field({ nullable: true }),
|
|
45315
|
+
__metadata("design:type", String)
|
|
45316
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "DefaultValue", void 0);
|
|
45317
|
+
__decorate([
|
|
45318
|
+
Field(() => Int, { nullable: true }),
|
|
45319
|
+
__metadata("design:type", Number)
|
|
45320
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "Priority", void 0);
|
|
45321
|
+
__decorate([
|
|
45322
|
+
Field({ nullable: true }),
|
|
45323
|
+
__metadata("design:type", String)
|
|
45324
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "Status", void 0);
|
|
45325
|
+
__decorate([
|
|
45326
|
+
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
45327
|
+
__metadata("design:type", Array)
|
|
45328
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "OldValues___", void 0);
|
|
45329
|
+
__decorate([
|
|
45330
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
45331
|
+
__metadata("design:type", RestoreContextInput)
|
|
45332
|
+
], UpdateMJCompanyIntegrationFieldMapInput.prototype, "RestoreContext___", void 0);
|
|
45333
|
+
UpdateMJCompanyIntegrationFieldMapInput = __decorate([
|
|
45334
|
+
InputType()
|
|
45335
|
+
], UpdateMJCompanyIntegrationFieldMapInput);
|
|
45336
|
+
export { UpdateMJCompanyIntegrationFieldMapInput };
|
|
45337
|
+
//****************************************************************************
|
|
45338
|
+
// RESOLVER for MJ: Company Integration Field Maps
|
|
45339
|
+
//****************************************************************************
|
|
45340
|
+
let RunMJCompanyIntegrationFieldMapViewResult = class RunMJCompanyIntegrationFieldMapViewResult {
|
|
45341
|
+
};
|
|
45342
|
+
__decorate([
|
|
45343
|
+
Field(() => [MJCompanyIntegrationFieldMap_]),
|
|
45344
|
+
__metadata("design:type", Array)
|
|
45345
|
+
], RunMJCompanyIntegrationFieldMapViewResult.prototype, "Results", void 0);
|
|
45346
|
+
__decorate([
|
|
45347
|
+
Field(() => String, { nullable: true }),
|
|
45348
|
+
__metadata("design:type", String)
|
|
45349
|
+
], RunMJCompanyIntegrationFieldMapViewResult.prototype, "UserViewRunID", void 0);
|
|
45350
|
+
__decorate([
|
|
45351
|
+
Field(() => Int, { nullable: true }),
|
|
45352
|
+
__metadata("design:type", Number)
|
|
45353
|
+
], RunMJCompanyIntegrationFieldMapViewResult.prototype, "RowCount", void 0);
|
|
45354
|
+
__decorate([
|
|
45355
|
+
Field(() => Int, { nullable: true }),
|
|
45356
|
+
__metadata("design:type", Number)
|
|
45357
|
+
], RunMJCompanyIntegrationFieldMapViewResult.prototype, "TotalRowCount", void 0);
|
|
45358
|
+
__decorate([
|
|
45359
|
+
Field(() => Int, { nullable: true }),
|
|
45360
|
+
__metadata("design:type", Number)
|
|
45361
|
+
], RunMJCompanyIntegrationFieldMapViewResult.prototype, "ExecutionTime", void 0);
|
|
45362
|
+
__decorate([
|
|
45363
|
+
Field({ nullable: true }),
|
|
45364
|
+
__metadata("design:type", String)
|
|
45365
|
+
], RunMJCompanyIntegrationFieldMapViewResult.prototype, "ErrorMessage", void 0);
|
|
45366
|
+
__decorate([
|
|
45367
|
+
Field(() => Boolean, { nullable: false }),
|
|
45368
|
+
__metadata("design:type", Boolean)
|
|
45369
|
+
], RunMJCompanyIntegrationFieldMapViewResult.prototype, "Success", void 0);
|
|
45370
|
+
RunMJCompanyIntegrationFieldMapViewResult = __decorate([
|
|
45371
|
+
ObjectType()
|
|
45372
|
+
], RunMJCompanyIntegrationFieldMapViewResult);
|
|
45373
|
+
export { RunMJCompanyIntegrationFieldMapViewResult };
|
|
45374
|
+
let MJCompanyIntegrationFieldMapResolver = class MJCompanyIntegrationFieldMapResolver extends ResolverBase {
|
|
45375
|
+
async RunMJCompanyIntegrationFieldMapViewByID(input, { providers, userPayload }, pubSub) {
|
|
45376
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
45377
|
+
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
45378
|
+
}
|
|
45379
|
+
async RunMJCompanyIntegrationFieldMapViewByName(input, { providers, userPayload }, pubSub) {
|
|
45380
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
45381
|
+
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
45382
|
+
}
|
|
45383
|
+
async RunMJCompanyIntegrationFieldMapDynamicView(input, { providers, userPayload }, pubSub) {
|
|
45384
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
45385
|
+
input.EntityName = 'MJ: Company Integration Field Maps';
|
|
45386
|
+
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
45387
|
+
}
|
|
45388
|
+
async MJCompanyIntegrationFieldMap(ID, { userPayload, providers }, pubSub) {
|
|
45389
|
+
this.CheckUserReadPermissions('MJ: Company Integration Field Maps', userPayload);
|
|
45390
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
45391
|
+
const sSQL = `SELECT * FROM ${provider.QuoteSchemaAndView(Metadata.Provider.ConfigData.MJCoreSchemaName, 'vwCompanyIntegrationFieldMaps')} WHERE ${provider.QuoteIdentifier('ID')}=${provider.BuildParameterPlaceholder(0)} ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Company Integration Field Maps', userPayload, EntityPermissionType.Read, 'AND');
|
|
45392
|
+
const rows = await provider.ExecuteSQL(sSQL, [ID], undefined, this.GetUserFromPayload(userPayload));
|
|
45393
|
+
const result = await this.MapFieldNamesToCodeNames('MJ: Company Integration Field Maps', rows && rows.length > 0 ? rows[0] : null, this.GetUserFromPayload(userPayload));
|
|
45394
|
+
return result;
|
|
45395
|
+
}
|
|
45396
|
+
async CreateMJCompanyIntegrationFieldMap(input, { providers, userPayload }, pubSub) {
|
|
45397
|
+
const provider = GetReadWriteProvider(providers);
|
|
45398
|
+
return this.CreateRecord('MJ: Company Integration Field Maps', input, provider, userPayload, pubSub);
|
|
45399
|
+
}
|
|
45400
|
+
async UpdateMJCompanyIntegrationFieldMap(input, { providers, userPayload }, pubSub) {
|
|
45401
|
+
const provider = GetReadWriteProvider(providers);
|
|
45402
|
+
return this.UpdateRecord('MJ: Company Integration Field Maps', input, provider, userPayload, pubSub);
|
|
45403
|
+
}
|
|
45404
|
+
async DeleteMJCompanyIntegrationFieldMap(ID, options, { providers, userPayload }, pubSub) {
|
|
45405
|
+
const provider = GetReadWriteProvider(providers);
|
|
45406
|
+
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
45407
|
+
return this.DeleteRecord('MJ: Company Integration Field Maps', key, options, provider, userPayload, pubSub);
|
|
45408
|
+
}
|
|
45409
|
+
};
|
|
45410
|
+
__decorate([
|
|
45411
|
+
Query(() => RunMJCompanyIntegrationFieldMapViewResult),
|
|
45412
|
+
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
45413
|
+
__param(1, Ctx()),
|
|
45414
|
+
__param(2, PubSub()),
|
|
45415
|
+
__metadata("design:type", Function),
|
|
45416
|
+
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
45417
|
+
__metadata("design:returntype", Promise)
|
|
45418
|
+
], MJCompanyIntegrationFieldMapResolver.prototype, "RunMJCompanyIntegrationFieldMapViewByID", null);
|
|
45419
|
+
__decorate([
|
|
45420
|
+
Query(() => RunMJCompanyIntegrationFieldMapViewResult),
|
|
45421
|
+
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
45422
|
+
__param(1, Ctx()),
|
|
45423
|
+
__param(2, PubSub()),
|
|
45424
|
+
__metadata("design:type", Function),
|
|
45425
|
+
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
45426
|
+
__metadata("design:returntype", Promise)
|
|
45427
|
+
], MJCompanyIntegrationFieldMapResolver.prototype, "RunMJCompanyIntegrationFieldMapViewByName", null);
|
|
45428
|
+
__decorate([
|
|
45429
|
+
Query(() => RunMJCompanyIntegrationFieldMapViewResult),
|
|
45430
|
+
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
45431
|
+
__param(1, Ctx()),
|
|
45432
|
+
__param(2, PubSub()),
|
|
45433
|
+
__metadata("design:type", Function),
|
|
45434
|
+
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
45435
|
+
__metadata("design:returntype", Promise)
|
|
45436
|
+
], MJCompanyIntegrationFieldMapResolver.prototype, "RunMJCompanyIntegrationFieldMapDynamicView", null);
|
|
45437
|
+
__decorate([
|
|
45438
|
+
Query(() => MJCompanyIntegrationFieldMap_, { nullable: true }),
|
|
45439
|
+
__param(0, Arg('ID', () => String)),
|
|
45440
|
+
__param(1, Ctx()),
|
|
45441
|
+
__param(2, PubSub()),
|
|
45442
|
+
__metadata("design:type", Function),
|
|
45443
|
+
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
45444
|
+
__metadata("design:returntype", Promise)
|
|
45445
|
+
], MJCompanyIntegrationFieldMapResolver.prototype, "MJCompanyIntegrationFieldMap", null);
|
|
45446
|
+
__decorate([
|
|
45447
|
+
Mutation(() => MJCompanyIntegrationFieldMap_),
|
|
45448
|
+
__param(0, Arg('input', () => CreateMJCompanyIntegrationFieldMapInput)),
|
|
45449
|
+
__param(1, Ctx()),
|
|
45450
|
+
__param(2, PubSub()),
|
|
45451
|
+
__metadata("design:type", Function),
|
|
45452
|
+
__metadata("design:paramtypes", [CreateMJCompanyIntegrationFieldMapInput, Object, PubSubEngine]),
|
|
45453
|
+
__metadata("design:returntype", Promise)
|
|
45454
|
+
], MJCompanyIntegrationFieldMapResolver.prototype, "CreateMJCompanyIntegrationFieldMap", null);
|
|
45455
|
+
__decorate([
|
|
45456
|
+
Mutation(() => MJCompanyIntegrationFieldMap_),
|
|
45457
|
+
__param(0, Arg('input', () => UpdateMJCompanyIntegrationFieldMapInput)),
|
|
45458
|
+
__param(1, Ctx()),
|
|
45459
|
+
__param(2, PubSub()),
|
|
45460
|
+
__metadata("design:type", Function),
|
|
45461
|
+
__metadata("design:paramtypes", [UpdateMJCompanyIntegrationFieldMapInput, Object, PubSubEngine]),
|
|
45462
|
+
__metadata("design:returntype", Promise)
|
|
45463
|
+
], MJCompanyIntegrationFieldMapResolver.prototype, "UpdateMJCompanyIntegrationFieldMap", null);
|
|
45464
|
+
__decorate([
|
|
45465
|
+
Mutation(() => MJCompanyIntegrationFieldMap_),
|
|
45466
|
+
__param(0, Arg('ID', () => String)),
|
|
45467
|
+
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
45468
|
+
__param(2, Ctx()),
|
|
45469
|
+
__param(3, PubSub()),
|
|
45470
|
+
__metadata("design:type", Function),
|
|
45471
|
+
__metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
|
|
45472
|
+
__metadata("design:returntype", Promise)
|
|
45473
|
+
], MJCompanyIntegrationFieldMapResolver.prototype, "DeleteMJCompanyIntegrationFieldMap", null);
|
|
45474
|
+
MJCompanyIntegrationFieldMapResolver = __decorate([
|
|
45475
|
+
Resolver(MJCompanyIntegrationFieldMap_)
|
|
45476
|
+
], MJCompanyIntegrationFieldMapResolver);
|
|
45477
|
+
export { MJCompanyIntegrationFieldMapResolver };
|
|
45478
|
+
//****************************************************************************
|
|
45479
|
+
// ENTITY CLASS for MJ: Company Integration Object Fields
|
|
45480
|
+
//****************************************************************************
|
|
45481
|
+
let MJCompanyIntegrationObjectField_ = class MJCompanyIntegrationObjectField_ {
|
|
45482
|
+
};
|
|
45483
|
+
__decorate([
|
|
45484
|
+
Field(),
|
|
45485
|
+
MaxLength(36),
|
|
45486
|
+
__metadata("design:type", String)
|
|
45487
|
+
], MJCompanyIntegrationObjectField_.prototype, "ID", void 0);
|
|
45488
|
+
__decorate([
|
|
45489
|
+
Field({ nullable: true, description: "Field name as returned by the external API" }),
|
|
45490
|
+
MaxLength(255),
|
|
45491
|
+
__metadata("design:type", String)
|
|
45492
|
+
], MJCompanyIntegrationObjectField_.prototype, "Name", void 0);
|
|
45493
|
+
__decorate([
|
|
45494
|
+
Field({ nullable: true, description: "Human-friendly display label for the field" }),
|
|
45495
|
+
MaxLength(255),
|
|
45496
|
+
__metadata("design:type", String)
|
|
45497
|
+
], MJCompanyIntegrationObjectField_.prototype, "DisplayName", void 0);
|
|
45498
|
+
__decorate([
|
|
45499
|
+
Field({ nullable: true, description: "Description of what this field represents" }),
|
|
45500
|
+
__metadata("design:type", String)
|
|
45501
|
+
], MJCompanyIntegrationObjectField_.prototype, "Description", void 0);
|
|
45502
|
+
__decorate([
|
|
45503
|
+
Field({ nullable: true, description: "UI grouping category within the object" }),
|
|
45504
|
+
MaxLength(100),
|
|
45505
|
+
__metadata("design:type", String)
|
|
45506
|
+
], MJCompanyIntegrationObjectField_.prototype, "Category", void 0);
|
|
45507
|
+
__decorate([
|
|
45508
|
+
Field({ nullable: true, description: "Data type of the field (e.g., nvarchar, int, datetime, decimal, bit). Uses same type vocabulary as EntityField." }),
|
|
45509
|
+
MaxLength(100),
|
|
45510
|
+
__metadata("design:type", String)
|
|
45511
|
+
], MJCompanyIntegrationObjectField_.prototype, "Type", void 0);
|
|
45512
|
+
__decorate([
|
|
45513
|
+
Field(() => Int, { nullable: true, description: "Maximum length for string types" }),
|
|
45514
|
+
__metadata("design:type", Number)
|
|
45515
|
+
], MJCompanyIntegrationObjectField_.prototype, "Length", void 0);
|
|
45516
|
+
__decorate([
|
|
45517
|
+
Field(() => Int, { nullable: true, description: "Numeric precision" }),
|
|
45518
|
+
__metadata("design:type", Number)
|
|
45519
|
+
], MJCompanyIntegrationObjectField_.prototype, "Precision", void 0);
|
|
45520
|
+
__decorate([
|
|
45521
|
+
Field(() => Int, { nullable: true, description: "Numeric scale" }),
|
|
45522
|
+
__metadata("design:type", Number)
|
|
45523
|
+
], MJCompanyIntegrationObjectField_.prototype, "Scale", void 0);
|
|
45524
|
+
__decorate([
|
|
45525
|
+
Field(() => Boolean, { nullable: true, description: "Whether the field can contain NULL values" }),
|
|
45526
|
+
__metadata("design:type", Boolean)
|
|
45527
|
+
], MJCompanyIntegrationObjectField_.prototype, "AllowsNull", void 0);
|
|
45528
|
+
__decorate([
|
|
45529
|
+
Field({ nullable: true, description: "Default value from the source system" }),
|
|
45530
|
+
MaxLength(255),
|
|
45531
|
+
__metadata("design:type", String)
|
|
45532
|
+
], MJCompanyIntegrationObjectField_.prototype, "DefaultValue", void 0);
|
|
45533
|
+
__decorate([
|
|
45534
|
+
Field(() => Boolean, { nullable: true, description: "Whether this field is part of the object primary key" }),
|
|
45535
|
+
__metadata("design:type", Boolean)
|
|
45536
|
+
], MJCompanyIntegrationObjectField_.prototype, "IsPrimaryKey", void 0);
|
|
45537
|
+
__decorate([
|
|
45538
|
+
Field(() => Boolean, { nullable: true, description: "Whether values must be unique across all records" }),
|
|
45539
|
+
__metadata("design:type", Boolean)
|
|
45540
|
+
], MJCompanyIntegrationObjectField_.prototype, "IsUniqueKey", void 0);
|
|
45541
|
+
__decorate([
|
|
45542
|
+
Field(() => Boolean, { nullable: true, description: "Whether this field cannot be written back to the source system" }),
|
|
45543
|
+
__metadata("design:type", Boolean)
|
|
45544
|
+
], MJCompanyIntegrationObjectField_.prototype, "IsReadOnly", void 0);
|
|
45545
|
+
__decorate([
|
|
45546
|
+
Field(() => Boolean, { nullable: true, description: "Whether this field is required for create/update operations" }),
|
|
45547
|
+
__metadata("design:type", Boolean)
|
|
45548
|
+
], MJCompanyIntegrationObjectField_.prototype, "IsRequired", void 0);
|
|
45549
|
+
__decorate([
|
|
45550
|
+
Field({ nullable: true, description: "The field name on the related IntegrationObject that this FK points to (typically the PK field)" }),
|
|
45551
|
+
MaxLength(255),
|
|
45552
|
+
__metadata("design:type", String)
|
|
45553
|
+
], MJCompanyIntegrationObjectField_.prototype, "RelatedIntegrationObjectFieldName", void 0);
|
|
45554
|
+
__decorate([
|
|
45555
|
+
Field(() => Int, { nullable: true, description: "Display and processing order within the object. Lower numbers appear first." }),
|
|
45556
|
+
__metadata("design:type", Number)
|
|
45557
|
+
], MJCompanyIntegrationObjectField_.prototype, "Sequence", void 0);
|
|
45558
|
+
__decorate([
|
|
45559
|
+
Field({ nullable: true, description: "Freeform JSON for connector-specific field configuration" }),
|
|
45560
|
+
__metadata("design:type", String)
|
|
45561
|
+
], MJCompanyIntegrationObjectField_.prototype, "Configuration", void 0);
|
|
45562
|
+
__decorate([
|
|
45563
|
+
Field({ nullable: true, description: "Active, Deprecated, or Disabled. Mirrors EntityField status values." }),
|
|
45564
|
+
MaxLength(25),
|
|
45565
|
+
__metadata("design:type", String)
|
|
45566
|
+
], MJCompanyIntegrationObjectField_.prototype, "Status", void 0);
|
|
45567
|
+
__decorate([
|
|
45568
|
+
Field(() => Boolean, { nullable: true, description: "When true, this field was dynamically discovered by IntrospectSchema and is not defined in static connector metadata." }),
|
|
45569
|
+
__metadata("design:type", Boolean)
|
|
45570
|
+
], MJCompanyIntegrationObjectField_.prototype, "IsCustom", void 0);
|
|
45571
|
+
__decorate([
|
|
45572
|
+
Field({ nullable: true, description: "Provenance of this CompanyIntegrationObjectField row: Declared (from static research/docs), Discovered (from runtime API introspection), Custom (customer-defined custom field, e.g., HubSpot custom property on standard object). Drives merge precedence — discovered/runtime wins for type/constraints; declared wins for description/label/sequence/category." }),
|
|
45573
|
+
MaxLength(20),
|
|
45574
|
+
__metadata("design:type", String)
|
|
45575
|
+
], MJCompanyIntegrationObjectField_.prototype, "MetadataSource", void 0);
|
|
45576
|
+
__decorate([
|
|
45577
|
+
Field({ nullable: true }),
|
|
45578
|
+
MaxLength(36),
|
|
45579
|
+
__metadata("design:type", String)
|
|
45580
|
+
], MJCompanyIntegrationObjectField_.prototype, "CompanyIntegrationObjectID", void 0);
|
|
45581
|
+
__decorate([
|
|
45582
|
+
Field({ nullable: true }),
|
|
45583
|
+
MaxLength(36),
|
|
45584
|
+
__metadata("design:type", String)
|
|
45585
|
+
], MJCompanyIntegrationObjectField_.prototype, "RelatedCompanyIntegrationObjectID", void 0);
|
|
45586
|
+
__decorate([
|
|
45587
|
+
Field({ nullable: true }),
|
|
45588
|
+
MaxLength(36),
|
|
45589
|
+
__metadata("design:type", String)
|
|
45590
|
+
], MJCompanyIntegrationObjectField_.prototype, "IntegrationObjectFieldID", void 0);
|
|
45591
|
+
__decorate([
|
|
45592
|
+
Field(() => Int, { nullable: true, description: "The longest value sampling actually saw, kept SEPARATE from Length. Length carries the padded width the schema builder will use; this carries the evidence. Without both, a width cannot be audited and a truncation cannot be distinguished from a bad guess." }),
|
|
45593
|
+
__metadata("design:type", Number)
|
|
45594
|
+
], MJCompanyIntegrationObjectField_.prototype, "ObservedMaxLength", void 0);
|
|
45595
|
+
__decorate([
|
|
45596
|
+
Field({ nullable: true, description: "Where this row came from: Declared (the connector shipped catalog), Endpoint (the source listed it) or Sampled (only streaming records revealed it). Answers \"whose is this\" for a connection whose catalog no longer matches the connector default." }),
|
|
45597
|
+
MaxLength(20),
|
|
45598
|
+
__metadata("design:type", String)
|
|
45599
|
+
], MJCompanyIntegrationObjectField_.prototype, "Provenance", void 0);
|
|
45600
|
+
__decorate([
|
|
45601
|
+
Field({ nullable: true, description: "The per-attribute merge log for this row: which side won each overlay decision and why. The persist already computes this and throws it away, so the operator has never been able to see why a width or a key looks the way it does." }),
|
|
45602
|
+
__metadata("design:type", String)
|
|
45603
|
+
], MJCompanyIntegrationObjectField_.prototype, "ProvenanceDetail", void 0);
|
|
45604
|
+
__decorate([
|
|
45605
|
+
Field(() => Boolean, { nullable: true, description: "Whether this connection syncs this item. THE AXIS THAT MAKES THE CONTRACT SATISFIABLE: Status says whether the item is in the catalog at all, IsSelected says whether the customer chose it. Conflating the two is why a newly discovered object had to arrive ENABLED — a disabled object was excluded from schema introspection, so it never reached key inference and never reached a migration." }),
|
|
45606
|
+
__metadata("design:type", Boolean)
|
|
45607
|
+
], MJCompanyIntegrationObjectField_.prototype, "IsSelected", void 0);
|
|
45608
|
+
__decorate([
|
|
45609
|
+
Field({ nullable: true, description: "When the selection last changed. Lets the UI distinguish \"never chosen\" from \"deliberately deselected\"." }),
|
|
45610
|
+
__metadata("design:type", Date)
|
|
45611
|
+
], MJCompanyIntegrationObjectField_.prototype, "SelectedAt", void 0);
|
|
45612
|
+
__decorate([
|
|
45613
|
+
Field({ nullable: true, description: "When this connection first observed this item. Set once and never updated, so a catalog can be read as a history of what the source exposed and when." }),
|
|
45614
|
+
__metadata("design:type", Date)
|
|
45615
|
+
], MJCompanyIntegrationObjectField_.prototype, "FirstSeenAt", void 0);
|
|
45616
|
+
__decorate([
|
|
45617
|
+
Field({ nullable: true, description: "When this connection most recently observed this item. A row whose LastSeenAt is older than the connection last discovery is what \"absent from the source\" means." }),
|
|
45618
|
+
__metadata("design:type", Date)
|
|
45619
|
+
], MJCompanyIntegrationObjectField_.prototype, "LastSeenAt", void 0);
|
|
45620
|
+
__decorate([
|
|
45621
|
+
Field({ nullable: true, description: "When sampling last streamed records for this item. Distinct from LastSeenAt: an item can be listed by an endpoint without ever being sampled, and unsampled items are exactly the ones whose widths and keys came from the declared catalog rather than from data." }),
|
|
45622
|
+
__metadata("design:type", Date)
|
|
45623
|
+
], MJCompanyIntegrationObjectField_.prototype, "LastSampledAt", void 0);
|
|
45624
|
+
__decorate([
|
|
45625
|
+
Field(),
|
|
45626
|
+
__metadata("design:type", Date)
|
|
45627
|
+
], MJCompanyIntegrationObjectField_.prototype, "_mj__CreatedAt", void 0);
|
|
45628
|
+
__decorate([
|
|
45629
|
+
Field(),
|
|
45630
|
+
__metadata("design:type", Date)
|
|
45631
|
+
], MJCompanyIntegrationObjectField_.prototype, "_mj__UpdatedAt", void 0);
|
|
45632
|
+
__decorate([
|
|
45633
|
+
Field({ nullable: true }),
|
|
45634
|
+
MaxLength(255),
|
|
45635
|
+
__metadata("design:type", String)
|
|
45636
|
+
], MJCompanyIntegrationObjectField_.prototype, "CompanyIntegrationObject", void 0);
|
|
45637
|
+
__decorate([
|
|
45638
|
+
Field({ nullable: true }),
|
|
45639
|
+
MaxLength(255),
|
|
45640
|
+
__metadata("design:type", String)
|
|
45641
|
+
], MJCompanyIntegrationObjectField_.prototype, "RelatedCompanyIntegrationObject", void 0);
|
|
45642
|
+
__decorate([
|
|
45643
|
+
Field({ nullable: true }),
|
|
45644
|
+
MaxLength(255),
|
|
45645
|
+
__metadata("design:type", String)
|
|
45646
|
+
], MJCompanyIntegrationObjectField_.prototype, "IntegrationObjectField", void 0);
|
|
45647
|
+
__decorate([
|
|
45648
|
+
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
45649
|
+
__metadata("design:type", Array)
|
|
45650
|
+
], MJCompanyIntegrationObjectField_.prototype, "ReadableFields___", void 0);
|
|
45651
|
+
MJCompanyIntegrationObjectField_ = __decorate([
|
|
45652
|
+
ObjectType({ description: "A field of a CompanyIntegrationObject: the declared field definition rebased with this connection's own discovery and sampling (observed width, provenance), with selection separate from Status." })
|
|
45653
|
+
], MJCompanyIntegrationObjectField_);
|
|
45654
|
+
export { MJCompanyIntegrationObjectField_ };
|
|
45655
|
+
//****************************************************************************
|
|
45656
|
+
// INPUT TYPE for MJ: Company Integration Object Fields
|
|
45657
|
+
//****************************************************************************
|
|
45658
|
+
let CreateMJCompanyIntegrationObjectFieldInput = class CreateMJCompanyIntegrationObjectFieldInput {
|
|
45659
|
+
};
|
|
45660
|
+
__decorate([
|
|
45661
|
+
Field({ nullable: true }),
|
|
45662
|
+
__metadata("design:type", String)
|
|
45663
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "ID", void 0);
|
|
45664
|
+
__decorate([
|
|
45665
|
+
Field({ nullable: true }),
|
|
45666
|
+
__metadata("design:type", String)
|
|
45667
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "Name", void 0);
|
|
45668
|
+
__decorate([
|
|
45669
|
+
Field({ nullable: true }),
|
|
45670
|
+
__metadata("design:type", String)
|
|
45671
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "DisplayName", void 0);
|
|
45672
|
+
__decorate([
|
|
45673
|
+
Field({ nullable: true }),
|
|
45674
|
+
__metadata("design:type", String)
|
|
45675
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "Description", void 0);
|
|
45676
|
+
__decorate([
|
|
45677
|
+
Field({ nullable: true }),
|
|
45678
|
+
__metadata("design:type", String)
|
|
45679
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "Category", void 0);
|
|
45680
|
+
__decorate([
|
|
45681
|
+
Field({ nullable: true }),
|
|
45682
|
+
__metadata("design:type", String)
|
|
45683
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "Type", void 0);
|
|
45684
|
+
__decorate([
|
|
45685
|
+
Field(() => Int, { nullable: true }),
|
|
45686
|
+
__metadata("design:type", Number)
|
|
45687
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "Length", void 0);
|
|
45688
|
+
__decorate([
|
|
45689
|
+
Field(() => Int, { nullable: true }),
|
|
45690
|
+
__metadata("design:type", Number)
|
|
45691
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "Precision", void 0);
|
|
45692
|
+
__decorate([
|
|
45693
|
+
Field(() => Int, { nullable: true }),
|
|
45694
|
+
__metadata("design:type", Number)
|
|
45695
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "Scale", void 0);
|
|
45696
|
+
__decorate([
|
|
45697
|
+
Field(() => Boolean, { nullable: true }),
|
|
45698
|
+
__metadata("design:type", Boolean)
|
|
45699
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "AllowsNull", void 0);
|
|
45700
|
+
__decorate([
|
|
45701
|
+
Field({ nullable: true }),
|
|
45702
|
+
__metadata("design:type", String)
|
|
45703
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "DefaultValue", void 0);
|
|
45704
|
+
__decorate([
|
|
45705
|
+
Field(() => Boolean, { nullable: true }),
|
|
45706
|
+
__metadata("design:type", Boolean)
|
|
45707
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "IsPrimaryKey", void 0);
|
|
45708
|
+
__decorate([
|
|
45709
|
+
Field(() => Boolean, { nullable: true }),
|
|
45710
|
+
__metadata("design:type", Boolean)
|
|
45711
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "IsUniqueKey", void 0);
|
|
45712
|
+
__decorate([
|
|
45713
|
+
Field(() => Boolean, { nullable: true }),
|
|
45714
|
+
__metadata("design:type", Boolean)
|
|
45715
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "IsReadOnly", void 0);
|
|
45716
|
+
__decorate([
|
|
45717
|
+
Field(() => Boolean, { nullable: true }),
|
|
45718
|
+
__metadata("design:type", Boolean)
|
|
45719
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "IsRequired", void 0);
|
|
45720
|
+
__decorate([
|
|
45721
|
+
Field({ nullable: true }),
|
|
45722
|
+
__metadata("design:type", String)
|
|
45723
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "RelatedIntegrationObjectFieldName", void 0);
|
|
45724
|
+
__decorate([
|
|
45725
|
+
Field(() => Int, { nullable: true }),
|
|
45726
|
+
__metadata("design:type", Number)
|
|
45727
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "Sequence", void 0);
|
|
45728
|
+
__decorate([
|
|
45729
|
+
Field({ nullable: true }),
|
|
45730
|
+
__metadata("design:type", String)
|
|
45731
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "Configuration", void 0);
|
|
45732
|
+
__decorate([
|
|
45733
|
+
Field({ nullable: true }),
|
|
45734
|
+
__metadata("design:type", String)
|
|
45735
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "Status", void 0);
|
|
45736
|
+
__decorate([
|
|
45737
|
+
Field(() => Boolean, { nullable: true }),
|
|
45738
|
+
__metadata("design:type", Boolean)
|
|
45739
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "IsCustom", void 0);
|
|
45740
|
+
__decorate([
|
|
45741
|
+
Field({ nullable: true }),
|
|
45742
|
+
__metadata("design:type", String)
|
|
45743
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "MetadataSource", void 0);
|
|
45744
|
+
__decorate([
|
|
45745
|
+
Field({ nullable: true }),
|
|
45746
|
+
__metadata("design:type", String)
|
|
45747
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "CompanyIntegrationObjectID", void 0);
|
|
45748
|
+
__decorate([
|
|
45749
|
+
Field({ nullable: true }),
|
|
45750
|
+
__metadata("design:type", String)
|
|
45751
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "RelatedCompanyIntegrationObjectID", void 0);
|
|
45752
|
+
__decorate([
|
|
45753
|
+
Field({ nullable: true }),
|
|
45754
|
+
__metadata("design:type", String)
|
|
45755
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "IntegrationObjectFieldID", void 0);
|
|
45756
|
+
__decorate([
|
|
45757
|
+
Field(() => Int, { nullable: true }),
|
|
45758
|
+
__metadata("design:type", Number)
|
|
45759
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "ObservedMaxLength", void 0);
|
|
45760
|
+
__decorate([
|
|
45761
|
+
Field({ nullable: true }),
|
|
45762
|
+
__metadata("design:type", String)
|
|
45763
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "Provenance", void 0);
|
|
45764
|
+
__decorate([
|
|
45765
|
+
Field({ nullable: true }),
|
|
45766
|
+
__metadata("design:type", String)
|
|
45767
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "ProvenanceDetail", void 0);
|
|
45768
|
+
__decorate([
|
|
45769
|
+
Field(() => Boolean, { nullable: true }),
|
|
45770
|
+
__metadata("design:type", Boolean)
|
|
45771
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "IsSelected", void 0);
|
|
45772
|
+
__decorate([
|
|
45773
|
+
Field({ nullable: true }),
|
|
45774
|
+
__metadata("design:type", Date)
|
|
45775
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "SelectedAt", void 0);
|
|
45776
|
+
__decorate([
|
|
45777
|
+
Field({ nullable: true }),
|
|
45778
|
+
__metadata("design:type", Date)
|
|
45779
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "FirstSeenAt", void 0);
|
|
45780
|
+
__decorate([
|
|
45781
|
+
Field({ nullable: true }),
|
|
45782
|
+
__metadata("design:type", Date)
|
|
45783
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "LastSeenAt", void 0);
|
|
45784
|
+
__decorate([
|
|
45785
|
+
Field({ nullable: true }),
|
|
45786
|
+
__metadata("design:type", Date)
|
|
45787
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "LastSampledAt", void 0);
|
|
45788
|
+
__decorate([
|
|
45789
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
45790
|
+
__metadata("design:type", RestoreContextInput)
|
|
45791
|
+
], CreateMJCompanyIntegrationObjectFieldInput.prototype, "RestoreContext___", void 0);
|
|
45792
|
+
CreateMJCompanyIntegrationObjectFieldInput = __decorate([
|
|
45793
|
+
InputType()
|
|
45794
|
+
], CreateMJCompanyIntegrationObjectFieldInput);
|
|
45795
|
+
export { CreateMJCompanyIntegrationObjectFieldInput };
|
|
45796
|
+
//****************************************************************************
|
|
45797
|
+
// INPUT TYPE for MJ: Company Integration Object Fields
|
|
45798
|
+
//****************************************************************************
|
|
45799
|
+
let UpdateMJCompanyIntegrationObjectFieldInput = class UpdateMJCompanyIntegrationObjectFieldInput {
|
|
45800
|
+
};
|
|
45801
|
+
__decorate([
|
|
45802
|
+
Field(),
|
|
45803
|
+
__metadata("design:type", String)
|
|
45804
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "ID", void 0);
|
|
45805
|
+
__decorate([
|
|
45806
|
+
Field({ nullable: true }),
|
|
45807
|
+
__metadata("design:type", String)
|
|
45808
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "Name", void 0);
|
|
45809
|
+
__decorate([
|
|
45810
|
+
Field({ nullable: true }),
|
|
45811
|
+
__metadata("design:type", String)
|
|
45812
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "DisplayName", void 0);
|
|
45813
|
+
__decorate([
|
|
45814
|
+
Field({ nullable: true }),
|
|
45815
|
+
__metadata("design:type", String)
|
|
45816
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "Description", void 0);
|
|
45817
|
+
__decorate([
|
|
45818
|
+
Field({ nullable: true }),
|
|
45819
|
+
__metadata("design:type", String)
|
|
45820
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "Category", void 0);
|
|
45821
|
+
__decorate([
|
|
45822
|
+
Field({ nullable: true }),
|
|
45823
|
+
__metadata("design:type", String)
|
|
45824
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "Type", void 0);
|
|
45825
|
+
__decorate([
|
|
45826
|
+
Field(() => Int, { nullable: true }),
|
|
45827
|
+
__metadata("design:type", Number)
|
|
45828
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "Length", void 0);
|
|
45829
|
+
__decorate([
|
|
45830
|
+
Field(() => Int, { nullable: true }),
|
|
45831
|
+
__metadata("design:type", Number)
|
|
45832
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "Precision", void 0);
|
|
45833
|
+
__decorate([
|
|
45834
|
+
Field(() => Int, { nullable: true }),
|
|
45835
|
+
__metadata("design:type", Number)
|
|
45836
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "Scale", void 0);
|
|
45837
|
+
__decorate([
|
|
45838
|
+
Field(() => Boolean, { nullable: true }),
|
|
45839
|
+
__metadata("design:type", Boolean)
|
|
45840
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "AllowsNull", void 0);
|
|
45841
|
+
__decorate([
|
|
45842
|
+
Field({ nullable: true }),
|
|
45843
|
+
__metadata("design:type", String)
|
|
45844
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "DefaultValue", void 0);
|
|
45845
|
+
__decorate([
|
|
45846
|
+
Field(() => Boolean, { nullable: true }),
|
|
45847
|
+
__metadata("design:type", Boolean)
|
|
45848
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "IsPrimaryKey", void 0);
|
|
45849
|
+
__decorate([
|
|
45850
|
+
Field(() => Boolean, { nullable: true }),
|
|
45851
|
+
__metadata("design:type", Boolean)
|
|
45852
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "IsUniqueKey", void 0);
|
|
45853
|
+
__decorate([
|
|
45854
|
+
Field(() => Boolean, { nullable: true }),
|
|
45855
|
+
__metadata("design:type", Boolean)
|
|
45856
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "IsReadOnly", void 0);
|
|
45857
|
+
__decorate([
|
|
45858
|
+
Field(() => Boolean, { nullable: true }),
|
|
45859
|
+
__metadata("design:type", Boolean)
|
|
45860
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "IsRequired", void 0);
|
|
45861
|
+
__decorate([
|
|
45862
|
+
Field({ nullable: true }),
|
|
45863
|
+
__metadata("design:type", String)
|
|
45864
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "RelatedIntegrationObjectFieldName", void 0);
|
|
45865
|
+
__decorate([
|
|
45866
|
+
Field(() => Int, { nullable: true }),
|
|
45867
|
+
__metadata("design:type", Number)
|
|
45868
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "Sequence", void 0);
|
|
45869
|
+
__decorate([
|
|
45870
|
+
Field({ nullable: true }),
|
|
45871
|
+
__metadata("design:type", String)
|
|
45872
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "Configuration", void 0);
|
|
45873
|
+
__decorate([
|
|
45874
|
+
Field({ nullable: true }),
|
|
45875
|
+
__metadata("design:type", String)
|
|
45876
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "Status", void 0);
|
|
45877
|
+
__decorate([
|
|
45878
|
+
Field(() => Boolean, { nullable: true }),
|
|
45879
|
+
__metadata("design:type", Boolean)
|
|
45880
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "IsCustom", void 0);
|
|
45881
|
+
__decorate([
|
|
45882
|
+
Field({ nullable: true }),
|
|
45883
|
+
__metadata("design:type", String)
|
|
45884
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "MetadataSource", void 0);
|
|
45885
|
+
__decorate([
|
|
45886
|
+
Field({ nullable: true }),
|
|
45887
|
+
__metadata("design:type", String)
|
|
45888
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "CompanyIntegrationObjectID", void 0);
|
|
45889
|
+
__decorate([
|
|
45890
|
+
Field({ nullable: true }),
|
|
45891
|
+
__metadata("design:type", String)
|
|
45892
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "RelatedCompanyIntegrationObjectID", void 0);
|
|
45893
|
+
__decorate([
|
|
45894
|
+
Field({ nullable: true }),
|
|
45895
|
+
__metadata("design:type", String)
|
|
45896
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "IntegrationObjectFieldID", void 0);
|
|
45897
|
+
__decorate([
|
|
45898
|
+
Field(() => Int, { nullable: true }),
|
|
45899
|
+
__metadata("design:type", Number)
|
|
45900
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "ObservedMaxLength", void 0);
|
|
45901
|
+
__decorate([
|
|
45902
|
+
Field({ nullable: true }),
|
|
45903
|
+
__metadata("design:type", String)
|
|
45904
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "Provenance", void 0);
|
|
45905
|
+
__decorate([
|
|
45906
|
+
Field({ nullable: true }),
|
|
45907
|
+
__metadata("design:type", String)
|
|
45908
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "ProvenanceDetail", void 0);
|
|
45909
|
+
__decorate([
|
|
45910
|
+
Field(() => Boolean, { nullable: true }),
|
|
45911
|
+
__metadata("design:type", Boolean)
|
|
45912
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "IsSelected", void 0);
|
|
45913
|
+
__decorate([
|
|
45914
|
+
Field({ nullable: true }),
|
|
45915
|
+
__metadata("design:type", Date)
|
|
45916
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "SelectedAt", void 0);
|
|
45917
|
+
__decorate([
|
|
45918
|
+
Field({ nullable: true }),
|
|
45919
|
+
__metadata("design:type", Date)
|
|
45920
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "FirstSeenAt", void 0);
|
|
45921
|
+
__decorate([
|
|
45922
|
+
Field({ nullable: true }),
|
|
45923
|
+
__metadata("design:type", Date)
|
|
45924
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "LastSeenAt", void 0);
|
|
45925
|
+
__decorate([
|
|
45926
|
+
Field({ nullable: true }),
|
|
45927
|
+
__metadata("design:type", Date)
|
|
45928
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "LastSampledAt", void 0);
|
|
45929
|
+
__decorate([
|
|
45930
|
+
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
45931
|
+
__metadata("design:type", Array)
|
|
45932
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "OldValues___", void 0);
|
|
45933
|
+
__decorate([
|
|
45934
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
45935
|
+
__metadata("design:type", RestoreContextInput)
|
|
45936
|
+
], UpdateMJCompanyIntegrationObjectFieldInput.prototype, "RestoreContext___", void 0);
|
|
45937
|
+
UpdateMJCompanyIntegrationObjectFieldInput = __decorate([
|
|
45938
|
+
InputType()
|
|
45939
|
+
], UpdateMJCompanyIntegrationObjectFieldInput);
|
|
45940
|
+
export { UpdateMJCompanyIntegrationObjectFieldInput };
|
|
45941
|
+
//****************************************************************************
|
|
45942
|
+
// RESOLVER for MJ: Company Integration Object Fields
|
|
45943
|
+
//****************************************************************************
|
|
45944
|
+
let RunMJCompanyIntegrationObjectFieldViewResult = class RunMJCompanyIntegrationObjectFieldViewResult {
|
|
45945
|
+
};
|
|
45946
|
+
__decorate([
|
|
45947
|
+
Field(() => [MJCompanyIntegrationObjectField_]),
|
|
45948
|
+
__metadata("design:type", Array)
|
|
45949
|
+
], RunMJCompanyIntegrationObjectFieldViewResult.prototype, "Results", void 0);
|
|
45950
|
+
__decorate([
|
|
45951
|
+
Field(() => String, { nullable: true }),
|
|
45952
|
+
__metadata("design:type", String)
|
|
45953
|
+
], RunMJCompanyIntegrationObjectFieldViewResult.prototype, "UserViewRunID", void 0);
|
|
45954
|
+
__decorate([
|
|
45955
|
+
Field(() => Int, { nullable: true }),
|
|
45956
|
+
__metadata("design:type", Number)
|
|
45957
|
+
], RunMJCompanyIntegrationObjectFieldViewResult.prototype, "RowCount", void 0);
|
|
45958
|
+
__decorate([
|
|
45959
|
+
Field(() => Int, { nullable: true }),
|
|
45960
|
+
__metadata("design:type", Number)
|
|
45961
|
+
], RunMJCompanyIntegrationObjectFieldViewResult.prototype, "TotalRowCount", void 0);
|
|
45962
|
+
__decorate([
|
|
45963
|
+
Field(() => Int, { nullable: true }),
|
|
45964
|
+
__metadata("design:type", Number)
|
|
45965
|
+
], RunMJCompanyIntegrationObjectFieldViewResult.prototype, "ExecutionTime", void 0);
|
|
45966
|
+
__decorate([
|
|
45967
|
+
Field({ nullable: true }),
|
|
45968
|
+
__metadata("design:type", String)
|
|
45969
|
+
], RunMJCompanyIntegrationObjectFieldViewResult.prototype, "ErrorMessage", void 0);
|
|
45970
|
+
__decorate([
|
|
45971
|
+
Field(() => Boolean, { nullable: false }),
|
|
45972
|
+
__metadata("design:type", Boolean)
|
|
45973
|
+
], RunMJCompanyIntegrationObjectFieldViewResult.prototype, "Success", void 0);
|
|
45974
|
+
RunMJCompanyIntegrationObjectFieldViewResult = __decorate([
|
|
45975
|
+
ObjectType()
|
|
45976
|
+
], RunMJCompanyIntegrationObjectFieldViewResult);
|
|
45977
|
+
export { RunMJCompanyIntegrationObjectFieldViewResult };
|
|
45978
|
+
let MJCompanyIntegrationObjectFieldResolver = class MJCompanyIntegrationObjectFieldResolver extends ResolverBase {
|
|
45979
|
+
async RunMJCompanyIntegrationObjectFieldViewByID(input, { providers, userPayload }, pubSub) {
|
|
45980
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
45981
|
+
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
45982
|
+
}
|
|
45983
|
+
async RunMJCompanyIntegrationObjectFieldViewByName(input, { providers, userPayload }, pubSub) {
|
|
45984
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
45985
|
+
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
45986
|
+
}
|
|
45987
|
+
async RunMJCompanyIntegrationObjectFieldDynamicView(input, { providers, userPayload }, pubSub) {
|
|
45988
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
45989
|
+
input.EntityName = 'MJ: Company Integration Object Fields';
|
|
45990
|
+
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
45991
|
+
}
|
|
45992
|
+
async MJCompanyIntegrationObjectField(ID, { userPayload, providers }, pubSub) {
|
|
45993
|
+
this.CheckUserReadPermissions('MJ: Company Integration Object Fields', userPayload);
|
|
45994
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
45995
|
+
const sSQL = `SELECT * FROM ${provider.QuoteSchemaAndView(Metadata.Provider.ConfigData.MJCoreSchemaName, 'vwCompanyIntegrationObjectFields')} WHERE ${provider.QuoteIdentifier('ID')}=${provider.BuildParameterPlaceholder(0)} ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Company Integration Object Fields', userPayload, EntityPermissionType.Read, 'AND');
|
|
45996
|
+
const rows = await provider.ExecuteSQL(sSQL, [ID], undefined, this.GetUserFromPayload(userPayload));
|
|
45997
|
+
const result = await this.MapFieldNamesToCodeNames('MJ: Company Integration Object Fields', rows && rows.length > 0 ? rows[0] : null, this.GetUserFromPayload(userPayload));
|
|
45998
|
+
return result;
|
|
45999
|
+
}
|
|
46000
|
+
async CreateMJCompanyIntegrationObjectField(input, { providers, userPayload }, pubSub) {
|
|
46001
|
+
const provider = GetReadWriteProvider(providers);
|
|
46002
|
+
return this.CreateRecord('MJ: Company Integration Object Fields', input, provider, userPayload, pubSub);
|
|
46003
|
+
}
|
|
46004
|
+
async UpdateMJCompanyIntegrationObjectField(input, { providers, userPayload }, pubSub) {
|
|
46005
|
+
const provider = GetReadWriteProvider(providers);
|
|
46006
|
+
return this.UpdateRecord('MJ: Company Integration Object Fields', input, provider, userPayload, pubSub);
|
|
46007
|
+
}
|
|
46008
|
+
async DeleteMJCompanyIntegrationObjectField(ID, options, { providers, userPayload }, pubSub) {
|
|
46009
|
+
const provider = GetReadWriteProvider(providers);
|
|
46010
|
+
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
46011
|
+
return this.DeleteRecord('MJ: Company Integration Object Fields', key, options, provider, userPayload, pubSub);
|
|
46012
|
+
}
|
|
46013
|
+
};
|
|
46014
|
+
__decorate([
|
|
46015
|
+
Query(() => RunMJCompanyIntegrationObjectFieldViewResult),
|
|
46016
|
+
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
46017
|
+
__param(1, Ctx()),
|
|
46018
|
+
__param(2, PubSub()),
|
|
46019
|
+
__metadata("design:type", Function),
|
|
46020
|
+
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
46021
|
+
__metadata("design:returntype", Promise)
|
|
46022
|
+
], MJCompanyIntegrationObjectFieldResolver.prototype, "RunMJCompanyIntegrationObjectFieldViewByID", null);
|
|
46023
|
+
__decorate([
|
|
46024
|
+
Query(() => RunMJCompanyIntegrationObjectFieldViewResult),
|
|
46025
|
+
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
46026
|
+
__param(1, Ctx()),
|
|
46027
|
+
__param(2, PubSub()),
|
|
46028
|
+
__metadata("design:type", Function),
|
|
46029
|
+
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
46030
|
+
__metadata("design:returntype", Promise)
|
|
46031
|
+
], MJCompanyIntegrationObjectFieldResolver.prototype, "RunMJCompanyIntegrationObjectFieldViewByName", null);
|
|
46032
|
+
__decorate([
|
|
46033
|
+
Query(() => RunMJCompanyIntegrationObjectFieldViewResult),
|
|
46034
|
+
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
46035
|
+
__param(1, Ctx()),
|
|
46036
|
+
__param(2, PubSub()),
|
|
46037
|
+
__metadata("design:type", Function),
|
|
46038
|
+
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
46039
|
+
__metadata("design:returntype", Promise)
|
|
46040
|
+
], MJCompanyIntegrationObjectFieldResolver.prototype, "RunMJCompanyIntegrationObjectFieldDynamicView", null);
|
|
46041
|
+
__decorate([
|
|
46042
|
+
Query(() => MJCompanyIntegrationObjectField_, { nullable: true }),
|
|
46043
|
+
__param(0, Arg('ID', () => String)),
|
|
46044
|
+
__param(1, Ctx()),
|
|
46045
|
+
__param(2, PubSub()),
|
|
46046
|
+
__metadata("design:type", Function),
|
|
46047
|
+
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
46048
|
+
__metadata("design:returntype", Promise)
|
|
46049
|
+
], MJCompanyIntegrationObjectFieldResolver.prototype, "MJCompanyIntegrationObjectField", null);
|
|
46050
|
+
__decorate([
|
|
46051
|
+
Mutation(() => MJCompanyIntegrationObjectField_),
|
|
46052
|
+
__param(0, Arg('input', () => CreateMJCompanyIntegrationObjectFieldInput)),
|
|
46053
|
+
__param(1, Ctx()),
|
|
46054
|
+
__param(2, PubSub()),
|
|
46055
|
+
__metadata("design:type", Function),
|
|
46056
|
+
__metadata("design:paramtypes", [CreateMJCompanyIntegrationObjectFieldInput, Object, PubSubEngine]),
|
|
46057
|
+
__metadata("design:returntype", Promise)
|
|
46058
|
+
], MJCompanyIntegrationObjectFieldResolver.prototype, "CreateMJCompanyIntegrationObjectField", null);
|
|
46059
|
+
__decorate([
|
|
46060
|
+
Mutation(() => MJCompanyIntegrationObjectField_),
|
|
46061
|
+
__param(0, Arg('input', () => UpdateMJCompanyIntegrationObjectFieldInput)),
|
|
46062
|
+
__param(1, Ctx()),
|
|
46063
|
+
__param(2, PubSub()),
|
|
46064
|
+
__metadata("design:type", Function),
|
|
46065
|
+
__metadata("design:paramtypes", [UpdateMJCompanyIntegrationObjectFieldInput, Object, PubSubEngine]),
|
|
46066
|
+
__metadata("design:returntype", Promise)
|
|
46067
|
+
], MJCompanyIntegrationObjectFieldResolver.prototype, "UpdateMJCompanyIntegrationObjectField", null);
|
|
46068
|
+
__decorate([
|
|
46069
|
+
Mutation(() => MJCompanyIntegrationObjectField_),
|
|
46070
|
+
__param(0, Arg('ID', () => String)),
|
|
46071
|
+
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
46072
|
+
__param(2, Ctx()),
|
|
46073
|
+
__param(3, PubSub()),
|
|
46074
|
+
__metadata("design:type", Function),
|
|
46075
|
+
__metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
|
|
46076
|
+
__metadata("design:returntype", Promise)
|
|
46077
|
+
], MJCompanyIntegrationObjectFieldResolver.prototype, "DeleteMJCompanyIntegrationObjectField", null);
|
|
46078
|
+
MJCompanyIntegrationObjectFieldResolver = __decorate([
|
|
46079
|
+
Resolver(MJCompanyIntegrationObjectField_)
|
|
46080
|
+
], MJCompanyIntegrationObjectFieldResolver);
|
|
46081
|
+
export { MJCompanyIntegrationObjectFieldResolver };
|
|
46082
|
+
//****************************************************************************
|
|
46083
|
+
// ENTITY CLASS for MJ: Company Integration Objects
|
|
46084
|
+
//****************************************************************************
|
|
46085
|
+
let MJCompanyIntegrationObject_ = class MJCompanyIntegrationObject_ {
|
|
46086
|
+
};
|
|
46087
|
+
__decorate([
|
|
46088
|
+
Field(),
|
|
46089
|
+
MaxLength(36),
|
|
46090
|
+
__metadata("design:type", String)
|
|
46091
|
+
], MJCompanyIntegrationObject_.prototype, "ID", void 0);
|
|
46092
|
+
__decorate([
|
|
46093
|
+
Field({ nullable: true, description: "The integration (connector) this object belongs to. Always the IntegrationID of the owning CompanyIntegration, copied onto the row by the catalog writer so the per-connection catalog can be read through the same projection as the shared IntegrationObject catalog." }),
|
|
46094
|
+
MaxLength(36),
|
|
46095
|
+
__metadata("design:type", String)
|
|
46096
|
+
], MJCompanyIntegrationObject_.prototype, "IntegrationID", void 0);
|
|
46097
|
+
__decorate([
|
|
46098
|
+
Field({ nullable: true, description: "Internal/programmatic name of the external object (e.g., Members, Events)" }),
|
|
46099
|
+
MaxLength(255),
|
|
46100
|
+
__metadata("design:type", String)
|
|
46101
|
+
], MJCompanyIntegrationObject_.prototype, "Name", void 0);
|
|
46102
|
+
__decorate([
|
|
46103
|
+
Field({ nullable: true, description: "Human-friendly display label" }),
|
|
46104
|
+
MaxLength(255),
|
|
46105
|
+
__metadata("design:type", String)
|
|
46106
|
+
], MJCompanyIntegrationObject_.prototype, "DisplayName", void 0);
|
|
46107
|
+
__decorate([
|
|
46108
|
+
Field({ nullable: true, description: "Description of what this external object represents" }),
|
|
46109
|
+
__metadata("design:type", String)
|
|
46110
|
+
], MJCompanyIntegrationObject_.prototype, "Description", void 0);
|
|
46111
|
+
__decorate([
|
|
46112
|
+
Field({ nullable: true, description: "UI grouping category (e.g., Membership, Events, Finance)" }),
|
|
46113
|
+
MaxLength(100),
|
|
46114
|
+
__metadata("design:type", String)
|
|
46115
|
+
], MJCompanyIntegrationObject_.prototype, "Category", void 0);
|
|
46116
|
+
__decorate([
|
|
46117
|
+
Field({ nullable: true, description: "API endpoint path, may include template variables like {ProfileID} that are resolved at runtime from parent object records" }),
|
|
46118
|
+
MaxLength(500),
|
|
46119
|
+
__metadata("design:type", String)
|
|
46120
|
+
], MJCompanyIntegrationObject_.prototype, "APIPath", void 0);
|
|
46121
|
+
__decorate([
|
|
46122
|
+
Field({ nullable: true, description: "JSON key used to extract the data array from the API response envelope. NULL means the response is a root-level array." }),
|
|
46123
|
+
MaxLength(255),
|
|
46124
|
+
__metadata("design:type", String)
|
|
46125
|
+
], MJCompanyIntegrationObject_.prototype, "ResponseDataKey", void 0);
|
|
46126
|
+
__decorate([
|
|
46127
|
+
Field(() => Int, { nullable: true, description: "Number of records to request per page from the API" }),
|
|
46128
|
+
__metadata("design:type", Number)
|
|
46129
|
+
], MJCompanyIntegrationObject_.prototype, "DefaultPageSize", void 0);
|
|
46130
|
+
__decorate([
|
|
46131
|
+
Field(() => Boolean, { nullable: true, description: "Whether this endpoint supports paginated fetching" }),
|
|
46132
|
+
__metadata("design:type", Boolean)
|
|
46133
|
+
], MJCompanyIntegrationObject_.prototype, "SupportsPagination", void 0);
|
|
46134
|
+
__decorate([
|
|
46135
|
+
Field({ nullable: true, description: "Pagination strategy: PageNumber (page index), Offset (record offset), Cursor (opaque token), or None" }),
|
|
46136
|
+
MaxLength(20),
|
|
46137
|
+
__metadata("design:type", String)
|
|
46138
|
+
], MJCompanyIntegrationObject_.prototype, "PaginationType", void 0);
|
|
46139
|
+
__decorate([
|
|
46140
|
+
Field(() => Boolean, { nullable: true, description: "Whether this object supports watermark-based incremental sync" }),
|
|
46141
|
+
__metadata("design:type", Boolean)
|
|
46142
|
+
], MJCompanyIntegrationObject_.prototype, "SupportsIncrementalSync", void 0);
|
|
46143
|
+
__decorate([
|
|
46144
|
+
Field(() => Boolean, { nullable: true, description: "Whether data can be pushed back to this object via the API" }),
|
|
46145
|
+
__metadata("design:type", Boolean)
|
|
46146
|
+
], MJCompanyIntegrationObject_.prototype, "SupportsWrite", void 0);
|
|
46147
|
+
__decorate([
|
|
46148
|
+
Field({ nullable: true, description: "JSON object of default query parameters to include with every API request for this object" }),
|
|
46149
|
+
__metadata("design:type", String)
|
|
46150
|
+
], MJCompanyIntegrationObject_.prototype, "DefaultQueryParams", void 0);
|
|
46151
|
+
__decorate([
|
|
46152
|
+
Field({ nullable: true, description: "Freeform JSON for connector-specific configuration not covered by standard columns" }),
|
|
46153
|
+
__metadata("design:type", String)
|
|
46154
|
+
], MJCompanyIntegrationObject_.prototype, "Configuration", void 0);
|
|
46155
|
+
__decorate([
|
|
46156
|
+
Field(() => Int, { nullable: true, description: "Processing and display order. Lower numbers are processed first." }),
|
|
46157
|
+
__metadata("design:type", Number)
|
|
46158
|
+
], MJCompanyIntegrationObject_.prototype, "Sequence", void 0);
|
|
46159
|
+
__decorate([
|
|
46160
|
+
Field({ nullable: true, description: "Active, Deprecated, or Disabled. Mirrors EntityField status values." }),
|
|
46161
|
+
MaxLength(25),
|
|
46162
|
+
__metadata("design:type", String)
|
|
46163
|
+
], MJCompanyIntegrationObject_.prototype, "Status", void 0);
|
|
46164
|
+
__decorate([
|
|
46165
|
+
Field({ nullable: true, description: "API path for create/update operations when different from the read APIPath. If NULL, the read APIPath is used for writes as well." }),
|
|
46166
|
+
MaxLength(500),
|
|
46167
|
+
__metadata("design:type", String)
|
|
46168
|
+
], MJCompanyIntegrationObject_.prototype, "WriteAPIPath", void 0);
|
|
46169
|
+
__decorate([
|
|
46170
|
+
Field({ nullable: true, description: "HTTP method for create operations. Defaults to POST." }),
|
|
46171
|
+
MaxLength(10),
|
|
46172
|
+
__metadata("design:type", String)
|
|
46173
|
+
], MJCompanyIntegrationObject_.prototype, "WriteMethod", void 0);
|
|
46174
|
+
__decorate([
|
|
46175
|
+
Field({ nullable: true, description: "HTTP method for delete operations. Defaults to DELETE." }),
|
|
46176
|
+
MaxLength(10),
|
|
46177
|
+
__metadata("design:type", String)
|
|
46178
|
+
], MJCompanyIntegrationObject_.prototype, "DeleteMethod", void 0);
|
|
46179
|
+
__decorate([
|
|
46180
|
+
Field(() => Boolean, { nullable: true, description: "When true, this object was dynamically discovered by IntrospectSchema and is not defined in static connector metadata." }),
|
|
46181
|
+
__metadata("design:type", Boolean)
|
|
46182
|
+
], MJCompanyIntegrationObject_.prototype, "IsCustom", void 0);
|
|
46183
|
+
__decorate([
|
|
46184
|
+
Field({ nullable: true, description: "HTTP path template for create operations. Generic CRUD in BaseRESTIntegrationConnector substitutes parent IDs into {var} placeholders. NULL means create not supported via metadata-driven path." }),
|
|
46185
|
+
__metadata("design:type", String)
|
|
46186
|
+
], MJCompanyIntegrationObject_.prototype, "CreateAPIPath", void 0);
|
|
46187
|
+
__decorate([
|
|
46188
|
+
Field({ nullable: true, description: "HTTP method for create (typically POST). NULL means create not supported via metadata-driven path." }),
|
|
46189
|
+
MaxLength(20),
|
|
46190
|
+
__metadata("design:type", String)
|
|
46191
|
+
], MJCompanyIntegrationObject_.prototype, "CreateMethod", void 0);
|
|
46192
|
+
__decorate([
|
|
46193
|
+
Field({ nullable: true, description: "Request body shape for create: flat (top-level fields), wrapped (under CreateBodyKey), or literal (connector overrides CreateRecord and supplies own body)." }),
|
|
46194
|
+
MaxLength(50),
|
|
46195
|
+
__metadata("design:type", String)
|
|
46196
|
+
], MJCompanyIntegrationObject_.prototype, "CreateBodyShape", void 0);
|
|
46197
|
+
__decorate([
|
|
46198
|
+
Field({ nullable: true, description: "Wrapper key for create body when CreateBodyShape=wrapped. Example: 'member' for YourMembership which wraps body as {member:{...}}." }),
|
|
46199
|
+
MaxLength(100),
|
|
46200
|
+
__metadata("design:type", String)
|
|
46201
|
+
], MJCompanyIntegrationObject_.prototype, "CreateBodyKey", void 0);
|
|
46202
|
+
__decorate([
|
|
46203
|
+
Field({ nullable: true, description: "Where the created record ID is found in the create response: path (URL of returned Location header), body (parsed from JSON response), header (specific named header)." }),
|
|
46204
|
+
MaxLength(20),
|
|
46205
|
+
__metadata("design:type", String)
|
|
46206
|
+
], MJCompanyIntegrationObject_.prototype, "CreateIDLocation", void 0);
|
|
46207
|
+
__decorate([
|
|
46208
|
+
Field({ nullable: true, description: "HTTP path template for update operations. Typically contains {ID} placeholder substituted with the record ExternalID at runtime." }),
|
|
46209
|
+
__metadata("design:type", String)
|
|
46210
|
+
], MJCompanyIntegrationObject_.prototype, "UpdateAPIPath", void 0);
|
|
46211
|
+
__decorate([
|
|
46212
|
+
Field({ nullable: true, description: "HTTP method for update (typically PATCH or PUT)." }),
|
|
46213
|
+
MaxLength(20),
|
|
46214
|
+
__metadata("design:type", String)
|
|
46215
|
+
], MJCompanyIntegrationObject_.prototype, "UpdateMethod", void 0);
|
|
46216
|
+
__decorate([
|
|
46217
|
+
Field({ nullable: true, description: "Request body shape for update: flat | wrapped | literal. See CreateBodyShape." }),
|
|
46218
|
+
MaxLength(50),
|
|
46219
|
+
__metadata("design:type", String)
|
|
46220
|
+
], MJCompanyIntegrationObject_.prototype, "UpdateBodyShape", void 0);
|
|
46221
|
+
__decorate([
|
|
46222
|
+
Field({ nullable: true, description: "Wrapper key for update body when UpdateBodyShape=wrapped." }),
|
|
46223
|
+
MaxLength(100),
|
|
46224
|
+
__metadata("design:type", String)
|
|
46225
|
+
], MJCompanyIntegrationObject_.prototype, "UpdateBodyKey", void 0);
|
|
46226
|
+
__decorate([
|
|
46227
|
+
Field({ nullable: true, description: "For update: where the target record ID is located in the request — typically 'path' (substituted into UpdateAPIPath URL template)." }),
|
|
46228
|
+
MaxLength(20),
|
|
46229
|
+
__metadata("design:type", String)
|
|
46230
|
+
], MJCompanyIntegrationObject_.prototype, "UpdateIDLocation", void 0);
|
|
46231
|
+
__decorate([
|
|
46232
|
+
Field({ nullable: true, description: "HTTP path template for delete operations. Typically contains {ID} placeholder. NULL means delete not supported via metadata-driven path. (Existing DeleteMethod column carries the verb.)" }),
|
|
46233
|
+
__metadata("design:type", String)
|
|
46234
|
+
], MJCompanyIntegrationObject_.prototype, "DeleteAPIPath", void 0);
|
|
46235
|
+
__decorate([
|
|
46236
|
+
Field({ nullable: true, description: "For delete: where the target record ID is located — typically 'path'." }),
|
|
46237
|
+
MaxLength(20),
|
|
46238
|
+
__metadata("design:type", String)
|
|
46239
|
+
], MJCompanyIntegrationObject_.prototype, "DeleteIDLocation", void 0);
|
|
46240
|
+
__decorate([
|
|
46241
|
+
Field({ nullable: true, description: "Vendor field name marking \"last changed\" — drives incremental sync filter when SupportsIncrementalSync=1. The exact filter syntax (e.g., $filter=Modified gt {value} or modified_since={value}) lives in Configuration.incrementalFilterFormat. Provable-only: leave NULL if docs do not name a watermark field." }),
|
|
46242
|
+
MaxLength(255),
|
|
46243
|
+
__metadata("design:type", String)
|
|
46244
|
+
], MJCompanyIntegrationObject_.prototype, "IncrementalWatermarkField", void 0);
|
|
46245
|
+
__decorate([
|
|
46246
|
+
Field({ nullable: true, description: "Provenance of this CompanyIntegrationObject row: Declared (from static research/docs), Discovered (from runtime API introspection like Salesforce /describe), Custom (genuinely customer-created, e.g., HubSpot custom objects). Drives merge precedence in IntegrationSchemaSync." }),
|
|
46247
|
+
MaxLength(20),
|
|
46248
|
+
__metadata("design:type", String)
|
|
46249
|
+
], MJCompanyIntegrationObject_.prototype, "MetadataSource", void 0);
|
|
46250
|
+
__decorate([
|
|
46251
|
+
Field(() => Boolean, { nullable: true, description: "Whether this object supports record creation in the external system (per-operation granularity beyond SupportsWrite). Drives whether the generic CreateRecord path is wired and whether the object is offered for write-back create." }),
|
|
46252
|
+
__metadata("design:type", Boolean)
|
|
46253
|
+
], MJCompanyIntegrationObject_.prototype, "SupportsCreate", void 0);
|
|
46254
|
+
__decorate([
|
|
46255
|
+
Field(() => Boolean, { nullable: true, description: "Whether this object supports record updates in the external system (per-operation granularity beyond SupportsWrite)." }),
|
|
46256
|
+
__metadata("design:type", Boolean)
|
|
46257
|
+
], MJCompanyIntegrationObject_.prototype, "SupportsUpdate", void 0);
|
|
46258
|
+
__decorate([
|
|
46259
|
+
Field(() => Boolean, { nullable: true, description: "Whether this object supports record deletion/tombstoning in the external system (per-operation granularity beyond SupportsWrite)." }),
|
|
46260
|
+
__metadata("design:type", Boolean)
|
|
46261
|
+
], MJCompanyIntegrationObject_.prototype, "SupportsDelete", void 0);
|
|
46262
|
+
__decorate([
|
|
46263
|
+
Field({ nullable: true, description: "Declared incremental sync strategy for this object (e.g. WatermarkIncremental, ContentHash, FullSnapshot). Informs how the engine narrows subsequent syncs." }),
|
|
46264
|
+
MaxLength(50),
|
|
46265
|
+
__metadata("design:type", String)
|
|
46266
|
+
], MJCompanyIntegrationObject_.prototype, "SyncStrategy", void 0);
|
|
46267
|
+
__decorate([
|
|
46268
|
+
Field(() => Boolean, { nullable: true, description: "Whether per-record content hashing is meaningful for this object (false for append-only/event streams where every row is new). Controls whether the engine uses content-hash to skip unchanged-row writes." }),
|
|
46269
|
+
__metadata("design:type", Boolean)
|
|
46270
|
+
], MJCompanyIntegrationObject_.prototype, "ContentHashApplicable", void 0);
|
|
46271
|
+
__decorate([
|
|
46272
|
+
Field({ nullable: true, description: "Stable, monotonic ordering column (usually the PK) used for keyset/no-watermark resume of a scan. Null when the object has no stable key." }),
|
|
46273
|
+
MaxLength(255),
|
|
46274
|
+
__metadata("design:type", String)
|
|
46275
|
+
], MJCompanyIntegrationObject_.prototype, "StableOrderingKey", void 0);
|
|
44200
46276
|
__decorate([
|
|
44201
|
-
Field(
|
|
44202
|
-
|
|
44203
|
-
|
|
46277
|
+
Field({ nullable: true }),
|
|
46278
|
+
MaxLength(36),
|
|
46279
|
+
__metadata("design:type", String)
|
|
46280
|
+
], MJCompanyIntegrationObject_.prototype, "CompanyIntegrationID", void 0);
|
|
44204
46281
|
__decorate([
|
|
44205
|
-
Field({ nullable: true
|
|
44206
|
-
MaxLength(
|
|
46282
|
+
Field({ nullable: true }),
|
|
46283
|
+
MaxLength(36),
|
|
44207
46284
|
__metadata("design:type", String)
|
|
44208
|
-
],
|
|
46285
|
+
], MJCompanyIntegrationObject_.prototype, "IntegrationObjectID", void 0);
|
|
44209
46286
|
__decorate([
|
|
44210
|
-
Field({ nullable: true, description: "
|
|
44211
|
-
MaxLength(
|
|
46287
|
+
Field({ nullable: true, description: "Where this row came from: Declared (the connector shipped catalog), Endpoint (the source listed it) or Sampled (only streaming records revealed it). Answers \"whose is this\" for a connection whose catalog no longer matches the connector default." }),
|
|
46288
|
+
MaxLength(20),
|
|
44212
46289
|
__metadata("design:type", String)
|
|
44213
|
-
],
|
|
46290
|
+
], MJCompanyIntegrationObject_.prototype, "Provenance", void 0);
|
|
44214
46291
|
__decorate([
|
|
44215
|
-
Field({ nullable: true, description: "
|
|
46292
|
+
Field({ nullable: true, description: "The per-attribute merge log for this row: which side won each overlay decision and why. The persist already computes this and throws it away, so the operator has never been able to see why a width or a key looks the way it does." }),
|
|
44216
46293
|
__metadata("design:type", String)
|
|
44217
|
-
],
|
|
46294
|
+
], MJCompanyIntegrationObject_.prototype, "ProvenanceDetail", void 0);
|
|
46295
|
+
__decorate([
|
|
46296
|
+
Field(() => Boolean, { nullable: true, description: "Whether this connection syncs this item. THE AXIS THAT MAKES THE CONTRACT SATISFIABLE: Status says whether the item is in the catalog at all, IsSelected says whether the customer chose it. Conflating the two is why a newly discovered object had to arrive ENABLED — a disabled object was excluded from schema introspection, so it never reached key inference and never reached a migration." }),
|
|
46297
|
+
__metadata("design:type", Boolean)
|
|
46298
|
+
], MJCompanyIntegrationObject_.prototype, "IsSelected", void 0);
|
|
46299
|
+
__decorate([
|
|
46300
|
+
Field({ nullable: true, description: "When the selection last changed. Lets the UI distinguish \"never chosen\" from \"deliberately deselected\"." }),
|
|
46301
|
+
__metadata("design:type", Date)
|
|
46302
|
+
], MJCompanyIntegrationObject_.prototype, "SelectedAt", void 0);
|
|
46303
|
+
__decorate([
|
|
46304
|
+
Field({ nullable: true, description: "When this connection first observed this item. Set once and never updated, so a catalog can be read as a history of what the source exposed and when." }),
|
|
46305
|
+
__metadata("design:type", Date)
|
|
46306
|
+
], MJCompanyIntegrationObject_.prototype, "FirstSeenAt", void 0);
|
|
46307
|
+
__decorate([
|
|
46308
|
+
Field({ nullable: true, description: "When this connection most recently observed this item. A row whose LastSeenAt is older than the connection last discovery is what \"absent from the source\" means." }),
|
|
46309
|
+
__metadata("design:type", Date)
|
|
46310
|
+
], MJCompanyIntegrationObject_.prototype, "LastSeenAt", void 0);
|
|
46311
|
+
__decorate([
|
|
46312
|
+
Field({ nullable: true, description: "When sampling last streamed records for this item. Distinct from LastSeenAt: an item can be listed by an endpoint without ever being sampled, and unsampled items are exactly the ones whose widths and keys came from the declared catalog rather than from data." }),
|
|
46313
|
+
__metadata("design:type", Date)
|
|
46314
|
+
], MJCompanyIntegrationObject_.prototype, "LastSampledAt", void 0);
|
|
44218
46315
|
__decorate([
|
|
44219
46316
|
Field(),
|
|
44220
46317
|
__metadata("design:type", Date)
|
|
44221
|
-
],
|
|
46318
|
+
], MJCompanyIntegrationObject_.prototype, "_mj__CreatedAt", void 0);
|
|
44222
46319
|
__decorate([
|
|
44223
46320
|
Field(),
|
|
44224
46321
|
__metadata("design:type", Date)
|
|
44225
|
-
],
|
|
46322
|
+
], MJCompanyIntegrationObject_.prototype, "_mj__UpdatedAt", void 0);
|
|
46323
|
+
__decorate([
|
|
46324
|
+
Field({ nullable: true }),
|
|
46325
|
+
MaxLength(100),
|
|
46326
|
+
__metadata("design:type", String)
|
|
46327
|
+
], MJCompanyIntegrationObject_.prototype, "Integration", void 0);
|
|
44226
46328
|
__decorate([
|
|
44227
46329
|
Field({ nullable: true }),
|
|
44228
46330
|
MaxLength(255),
|
|
44229
46331
|
__metadata("design:type", String)
|
|
44230
|
-
],
|
|
46332
|
+
], MJCompanyIntegrationObject_.prototype, "CompanyIntegration", void 0);
|
|
44231
46333
|
__decorate([
|
|
44232
46334
|
Field({ nullable: true }),
|
|
44233
46335
|
MaxLength(255),
|
|
44234
46336
|
__metadata("design:type", String)
|
|
44235
|
-
],
|
|
46337
|
+
], MJCompanyIntegrationObject_.prototype, "IntegrationObject", void 0);
|
|
44236
46338
|
__decorate([
|
|
44237
46339
|
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
44238
46340
|
__metadata("design:type", Array)
|
|
44239
|
-
],
|
|
44240
|
-
|
|
44241
|
-
ObjectType({ description: "
|
|
44242
|
-
],
|
|
44243
|
-
export {
|
|
46341
|
+
], MJCompanyIntegrationObject_.prototype, "ReadableFields___", void 0);
|
|
46342
|
+
MJCompanyIntegrationObject_ = __decorate([
|
|
46343
|
+
ObjectType({ description: "One connection's (CompanyIntegration's) own copy of an integration object: the vendor's declared definition rebased with what THIS connection discovered and sampled, with provenance, and with selection (IsSelected) as an axis separate from Status. Replaces reading IntegrationObject directly so two connections of one connector no longer overwrite each other." })
|
|
46344
|
+
], MJCompanyIntegrationObject_);
|
|
46345
|
+
export { MJCompanyIntegrationObject_ };
|
|
44244
46346
|
//****************************************************************************
|
|
44245
|
-
// INPUT TYPE for MJ: Company Integration
|
|
46347
|
+
// INPUT TYPE for MJ: Company Integration Objects
|
|
44246
46348
|
//****************************************************************************
|
|
44247
|
-
let
|
|
46349
|
+
let CreateMJCompanyIntegrationObjectInput = class CreateMJCompanyIntegrationObjectInput {
|
|
44248
46350
|
};
|
|
44249
46351
|
__decorate([
|
|
44250
46352
|
Field({ nullable: true }),
|
|
44251
46353
|
__metadata("design:type", String)
|
|
44252
|
-
],
|
|
46354
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "ID", void 0);
|
|
44253
46355
|
__decorate([
|
|
44254
46356
|
Field({ nullable: true }),
|
|
44255
46357
|
__metadata("design:type", String)
|
|
44256
|
-
],
|
|
46358
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "IntegrationID", void 0);
|
|
44257
46359
|
__decorate([
|
|
44258
46360
|
Field({ nullable: true }),
|
|
44259
46361
|
__metadata("design:type", String)
|
|
44260
|
-
],
|
|
46362
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "Name", void 0);
|
|
44261
46363
|
__decorate([
|
|
44262
46364
|
Field({ nullable: true }),
|
|
44263
46365
|
__metadata("design:type", String)
|
|
44264
|
-
],
|
|
46366
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "DisplayName", void 0);
|
|
44265
46367
|
__decorate([
|
|
44266
46368
|
Field({ nullable: true }),
|
|
44267
46369
|
__metadata("design:type", String)
|
|
44268
|
-
],
|
|
46370
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "Description", void 0);
|
|
44269
46371
|
__decorate([
|
|
44270
46372
|
Field({ nullable: true }),
|
|
44271
46373
|
__metadata("design:type", String)
|
|
44272
|
-
],
|
|
46374
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "Category", void 0);
|
|
46375
|
+
__decorate([
|
|
46376
|
+
Field({ nullable: true }),
|
|
46377
|
+
__metadata("design:type", String)
|
|
46378
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "APIPath", void 0);
|
|
46379
|
+
__decorate([
|
|
46380
|
+
Field({ nullable: true }),
|
|
46381
|
+
__metadata("design:type", String)
|
|
46382
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "ResponseDataKey", void 0);
|
|
46383
|
+
__decorate([
|
|
46384
|
+
Field(() => Int, { nullable: true }),
|
|
46385
|
+
__metadata("design:type", Number)
|
|
46386
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "DefaultPageSize", void 0);
|
|
44273
46387
|
__decorate([
|
|
44274
46388
|
Field(() => Boolean, { nullable: true }),
|
|
44275
46389
|
__metadata("design:type", Boolean)
|
|
44276
|
-
],
|
|
46390
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "SupportsPagination", void 0);
|
|
44277
46391
|
__decorate([
|
|
44278
46392
|
Field({ nullable: true }),
|
|
44279
46393
|
__metadata("design:type", String)
|
|
44280
|
-
],
|
|
46394
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "PaginationType", void 0);
|
|
46395
|
+
__decorate([
|
|
46396
|
+
Field(() => Boolean, { nullable: true }),
|
|
46397
|
+
__metadata("design:type", Boolean)
|
|
46398
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "SupportsIncrementalSync", void 0);
|
|
46399
|
+
__decorate([
|
|
46400
|
+
Field(() => Boolean, { nullable: true }),
|
|
46401
|
+
__metadata("design:type", Boolean)
|
|
46402
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "SupportsWrite", void 0);
|
|
44281
46403
|
__decorate([
|
|
44282
46404
|
Field({ nullable: true }),
|
|
44283
46405
|
__metadata("design:type", String)
|
|
44284
|
-
],
|
|
46406
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "DefaultQueryParams", void 0);
|
|
46407
|
+
__decorate([
|
|
46408
|
+
Field({ nullable: true }),
|
|
46409
|
+
__metadata("design:type", String)
|
|
46410
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "Configuration", void 0);
|
|
44285
46411
|
__decorate([
|
|
44286
46412
|
Field(() => Int, { nullable: true }),
|
|
44287
46413
|
__metadata("design:type", Number)
|
|
44288
|
-
],
|
|
46414
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "Sequence", void 0);
|
|
44289
46415
|
__decorate([
|
|
44290
46416
|
Field({ nullable: true }),
|
|
44291
46417
|
__metadata("design:type", String)
|
|
44292
|
-
],
|
|
46418
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "Status", void 0);
|
|
44293
46419
|
__decorate([
|
|
44294
46420
|
Field({ nullable: true }),
|
|
44295
46421
|
__metadata("design:type", String)
|
|
44296
|
-
],
|
|
46422
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "WriteAPIPath", void 0);
|
|
44297
46423
|
__decorate([
|
|
44298
46424
|
Field({ nullable: true }),
|
|
44299
46425
|
__metadata("design:type", String)
|
|
44300
|
-
],
|
|
46426
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "WriteMethod", void 0);
|
|
44301
46427
|
__decorate([
|
|
44302
|
-
Field(
|
|
44303
|
-
__metadata("design:type",
|
|
44304
|
-
],
|
|
44305
|
-
CreateMJCompanyIntegrationEntityMapInput = __decorate([
|
|
44306
|
-
InputType()
|
|
44307
|
-
], CreateMJCompanyIntegrationEntityMapInput);
|
|
44308
|
-
export { CreateMJCompanyIntegrationEntityMapInput };
|
|
44309
|
-
//****************************************************************************
|
|
44310
|
-
// INPUT TYPE for MJ: Company Integration Entity Maps
|
|
44311
|
-
//****************************************************************************
|
|
44312
|
-
let UpdateMJCompanyIntegrationEntityMapInput = class UpdateMJCompanyIntegrationEntityMapInput {
|
|
44313
|
-
};
|
|
46428
|
+
Field({ nullable: true }),
|
|
46429
|
+
__metadata("design:type", String)
|
|
46430
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "DeleteMethod", void 0);
|
|
44314
46431
|
__decorate([
|
|
44315
|
-
Field(),
|
|
46432
|
+
Field(() => Boolean, { nullable: true }),
|
|
46433
|
+
__metadata("design:type", Boolean)
|
|
46434
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "IsCustom", void 0);
|
|
46435
|
+
__decorate([
|
|
46436
|
+
Field({ nullable: true }),
|
|
44316
46437
|
__metadata("design:type", String)
|
|
44317
|
-
],
|
|
46438
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "CreateAPIPath", void 0);
|
|
44318
46439
|
__decorate([
|
|
44319
46440
|
Field({ nullable: true }),
|
|
44320
46441
|
__metadata("design:type", String)
|
|
44321
|
-
],
|
|
46442
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "CreateMethod", void 0);
|
|
44322
46443
|
__decorate([
|
|
44323
46444
|
Field({ nullable: true }),
|
|
44324
46445
|
__metadata("design:type", String)
|
|
44325
|
-
],
|
|
46446
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "CreateBodyShape", void 0);
|
|
44326
46447
|
__decorate([
|
|
44327
46448
|
Field({ nullable: true }),
|
|
44328
46449
|
__metadata("design:type", String)
|
|
44329
|
-
],
|
|
46450
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "CreateBodyKey", void 0);
|
|
44330
46451
|
__decorate([
|
|
44331
46452
|
Field({ nullable: true }),
|
|
44332
46453
|
__metadata("design:type", String)
|
|
44333
|
-
],
|
|
46454
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "CreateIDLocation", void 0);
|
|
44334
46455
|
__decorate([
|
|
44335
46456
|
Field({ nullable: true }),
|
|
44336
46457
|
__metadata("design:type", String)
|
|
44337
|
-
],
|
|
46458
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "UpdateAPIPath", void 0);
|
|
44338
46459
|
__decorate([
|
|
44339
|
-
Field(
|
|
44340
|
-
__metadata("design:type",
|
|
44341
|
-
],
|
|
46460
|
+
Field({ nullable: true }),
|
|
46461
|
+
__metadata("design:type", String)
|
|
46462
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "UpdateMethod", void 0);
|
|
44342
46463
|
__decorate([
|
|
44343
46464
|
Field({ nullable: true }),
|
|
44344
46465
|
__metadata("design:type", String)
|
|
44345
|
-
],
|
|
46466
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "UpdateBodyShape", void 0);
|
|
44346
46467
|
__decorate([
|
|
44347
46468
|
Field({ nullable: true }),
|
|
44348
46469
|
__metadata("design:type", String)
|
|
44349
|
-
],
|
|
46470
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "UpdateBodyKey", void 0);
|
|
44350
46471
|
__decorate([
|
|
44351
|
-
Field(
|
|
44352
|
-
__metadata("design:type",
|
|
44353
|
-
],
|
|
46472
|
+
Field({ nullable: true }),
|
|
46473
|
+
__metadata("design:type", String)
|
|
46474
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "UpdateIDLocation", void 0);
|
|
44354
46475
|
__decorate([
|
|
44355
46476
|
Field({ nullable: true }),
|
|
44356
46477
|
__metadata("design:type", String)
|
|
44357
|
-
],
|
|
46478
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "DeleteAPIPath", void 0);
|
|
44358
46479
|
__decorate([
|
|
44359
46480
|
Field({ nullable: true }),
|
|
44360
46481
|
__metadata("design:type", String)
|
|
44361
|
-
],
|
|
46482
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "DeleteIDLocation", void 0);
|
|
44362
46483
|
__decorate([
|
|
44363
46484
|
Field({ nullable: true }),
|
|
44364
46485
|
__metadata("design:type", String)
|
|
44365
|
-
],
|
|
46486
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "IncrementalWatermarkField", void 0);
|
|
44366
46487
|
__decorate([
|
|
44367
|
-
Field(
|
|
44368
|
-
__metadata("design:type",
|
|
44369
|
-
],
|
|
46488
|
+
Field({ nullable: true }),
|
|
46489
|
+
__metadata("design:type", String)
|
|
46490
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "MetadataSource", void 0);
|
|
44370
46491
|
__decorate([
|
|
44371
|
-
Field(() =>
|
|
44372
|
-
__metadata("design:type",
|
|
44373
|
-
],
|
|
44374
|
-
UpdateMJCompanyIntegrationEntityMapInput = __decorate([
|
|
44375
|
-
InputType()
|
|
44376
|
-
], UpdateMJCompanyIntegrationEntityMapInput);
|
|
44377
|
-
export { UpdateMJCompanyIntegrationEntityMapInput };
|
|
44378
|
-
//****************************************************************************
|
|
44379
|
-
// RESOLVER for MJ: Company Integration Entity Maps
|
|
44380
|
-
//****************************************************************************
|
|
44381
|
-
let RunMJCompanyIntegrationEntityMapViewResult = class RunMJCompanyIntegrationEntityMapViewResult {
|
|
44382
|
-
};
|
|
46492
|
+
Field(() => Boolean, { nullable: true }),
|
|
46493
|
+
__metadata("design:type", Boolean)
|
|
46494
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "SupportsCreate", void 0);
|
|
44383
46495
|
__decorate([
|
|
44384
|
-
Field(() =>
|
|
44385
|
-
__metadata("design:type",
|
|
44386
|
-
],
|
|
46496
|
+
Field(() => Boolean, { nullable: true }),
|
|
46497
|
+
__metadata("design:type", Boolean)
|
|
46498
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "SupportsUpdate", void 0);
|
|
44387
46499
|
__decorate([
|
|
44388
|
-
Field(() =>
|
|
46500
|
+
Field(() => Boolean, { nullable: true }),
|
|
46501
|
+
__metadata("design:type", Boolean)
|
|
46502
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "SupportsDelete", void 0);
|
|
46503
|
+
__decorate([
|
|
46504
|
+
Field({ nullable: true }),
|
|
44389
46505
|
__metadata("design:type", String)
|
|
44390
|
-
],
|
|
46506
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "SyncStrategy", void 0);
|
|
44391
46507
|
__decorate([
|
|
44392
|
-
Field(() =>
|
|
44393
|
-
__metadata("design:type",
|
|
44394
|
-
],
|
|
46508
|
+
Field(() => Boolean, { nullable: true }),
|
|
46509
|
+
__metadata("design:type", Boolean)
|
|
46510
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "ContentHashApplicable", void 0);
|
|
44395
46511
|
__decorate([
|
|
44396
|
-
Field(
|
|
44397
|
-
__metadata("design:type",
|
|
44398
|
-
],
|
|
46512
|
+
Field({ nullable: true }),
|
|
46513
|
+
__metadata("design:type", String)
|
|
46514
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "StableOrderingKey", void 0);
|
|
44399
46515
|
__decorate([
|
|
44400
|
-
Field(
|
|
44401
|
-
__metadata("design:type",
|
|
44402
|
-
],
|
|
46516
|
+
Field({ nullable: true }),
|
|
46517
|
+
__metadata("design:type", String)
|
|
46518
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "CompanyIntegrationID", void 0);
|
|
44403
46519
|
__decorate([
|
|
44404
46520
|
Field({ nullable: true }),
|
|
44405
46521
|
__metadata("design:type", String)
|
|
44406
|
-
],
|
|
46522
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "IntegrationObjectID", void 0);
|
|
44407
46523
|
__decorate([
|
|
44408
|
-
Field(
|
|
44409
|
-
__metadata("design:type",
|
|
44410
|
-
],
|
|
44411
|
-
RunMJCompanyIntegrationEntityMapViewResult = __decorate([
|
|
44412
|
-
ObjectType()
|
|
44413
|
-
], RunMJCompanyIntegrationEntityMapViewResult);
|
|
44414
|
-
export { RunMJCompanyIntegrationEntityMapViewResult };
|
|
44415
|
-
let MJCompanyIntegrationEntityMapResolver = class MJCompanyIntegrationEntityMapResolver extends ResolverBase {
|
|
44416
|
-
async RunMJCompanyIntegrationEntityMapViewByID(input, { providers, userPayload }, pubSub) {
|
|
44417
|
-
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
44418
|
-
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
44419
|
-
}
|
|
44420
|
-
async RunMJCompanyIntegrationEntityMapViewByName(input, { providers, userPayload }, pubSub) {
|
|
44421
|
-
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
44422
|
-
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
44423
|
-
}
|
|
44424
|
-
async RunMJCompanyIntegrationEntityMapDynamicView(input, { providers, userPayload }, pubSub) {
|
|
44425
|
-
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
44426
|
-
input.EntityName = 'MJ: Company Integration Entity Maps';
|
|
44427
|
-
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
44428
|
-
}
|
|
44429
|
-
async MJCompanyIntegrationEntityMap(ID, { userPayload, providers }, pubSub) {
|
|
44430
|
-
this.CheckUserReadPermissions('MJ: Company Integration Entity Maps', userPayload);
|
|
44431
|
-
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
44432
|
-
const sSQL = `SELECT * FROM ${provider.QuoteSchemaAndView(Metadata.Provider.ConfigData.MJCoreSchemaName, 'vwCompanyIntegrationEntityMaps')} WHERE ${provider.QuoteIdentifier('ID')}=${provider.BuildParameterPlaceholder(0)} ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Company Integration Entity Maps', userPayload, EntityPermissionType.Read, 'AND');
|
|
44433
|
-
const rows = await provider.ExecuteSQL(sSQL, [ID], undefined, this.GetUserFromPayload(userPayload));
|
|
44434
|
-
const result = await this.MapFieldNamesToCodeNames('MJ: Company Integration Entity Maps', rows && rows.length > 0 ? rows[0] : null, this.GetUserFromPayload(userPayload));
|
|
44435
|
-
return result;
|
|
44436
|
-
}
|
|
44437
|
-
async CreateMJCompanyIntegrationEntityMap(input, { providers, userPayload }, pubSub) {
|
|
44438
|
-
const provider = GetReadWriteProvider(providers);
|
|
44439
|
-
return this.CreateRecord('MJ: Company Integration Entity Maps', input, provider, userPayload, pubSub);
|
|
44440
|
-
}
|
|
44441
|
-
async UpdateMJCompanyIntegrationEntityMap(input, { providers, userPayload }, pubSub) {
|
|
44442
|
-
const provider = GetReadWriteProvider(providers);
|
|
44443
|
-
return this.UpdateRecord('MJ: Company Integration Entity Maps', input, provider, userPayload, pubSub);
|
|
44444
|
-
}
|
|
44445
|
-
async DeleteMJCompanyIntegrationEntityMap(ID, options, { providers, userPayload }, pubSub) {
|
|
44446
|
-
const provider = GetReadWriteProvider(providers);
|
|
44447
|
-
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
44448
|
-
return this.DeleteRecord('MJ: Company Integration Entity Maps', key, options, provider, userPayload, pubSub);
|
|
44449
|
-
}
|
|
44450
|
-
};
|
|
46524
|
+
Field({ nullable: true }),
|
|
46525
|
+
__metadata("design:type", String)
|
|
46526
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "Provenance", void 0);
|
|
44451
46527
|
__decorate([
|
|
44452
|
-
|
|
44453
|
-
|
|
44454
|
-
|
|
44455
|
-
__param(2, PubSub()),
|
|
44456
|
-
__metadata("design:type", Function),
|
|
44457
|
-
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
44458
|
-
__metadata("design:returntype", Promise)
|
|
44459
|
-
], MJCompanyIntegrationEntityMapResolver.prototype, "RunMJCompanyIntegrationEntityMapViewByID", null);
|
|
46528
|
+
Field({ nullable: true }),
|
|
46529
|
+
__metadata("design:type", String)
|
|
46530
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "ProvenanceDetail", void 0);
|
|
44460
46531
|
__decorate([
|
|
44461
|
-
|
|
44462
|
-
|
|
44463
|
-
|
|
44464
|
-
__param(2, PubSub()),
|
|
44465
|
-
__metadata("design:type", Function),
|
|
44466
|
-
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
44467
|
-
__metadata("design:returntype", Promise)
|
|
44468
|
-
], MJCompanyIntegrationEntityMapResolver.prototype, "RunMJCompanyIntegrationEntityMapViewByName", null);
|
|
46532
|
+
Field(() => Boolean, { nullable: true }),
|
|
46533
|
+
__metadata("design:type", Boolean)
|
|
46534
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "IsSelected", void 0);
|
|
44469
46535
|
__decorate([
|
|
44470
|
-
|
|
44471
|
-
|
|
44472
|
-
|
|
44473
|
-
__param(2, PubSub()),
|
|
44474
|
-
__metadata("design:type", Function),
|
|
44475
|
-
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
44476
|
-
__metadata("design:returntype", Promise)
|
|
44477
|
-
], MJCompanyIntegrationEntityMapResolver.prototype, "RunMJCompanyIntegrationEntityMapDynamicView", null);
|
|
46536
|
+
Field({ nullable: true }),
|
|
46537
|
+
__metadata("design:type", Date)
|
|
46538
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "SelectedAt", void 0);
|
|
44478
46539
|
__decorate([
|
|
44479
|
-
|
|
44480
|
-
|
|
44481
|
-
|
|
44482
|
-
__param(2, PubSub()),
|
|
44483
|
-
__metadata("design:type", Function),
|
|
44484
|
-
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
44485
|
-
__metadata("design:returntype", Promise)
|
|
44486
|
-
], MJCompanyIntegrationEntityMapResolver.prototype, "MJCompanyIntegrationEntityMap", null);
|
|
46540
|
+
Field({ nullable: true }),
|
|
46541
|
+
__metadata("design:type", Date)
|
|
46542
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "FirstSeenAt", void 0);
|
|
44487
46543
|
__decorate([
|
|
44488
|
-
|
|
44489
|
-
|
|
44490
|
-
|
|
44491
|
-
__param(2, PubSub()),
|
|
44492
|
-
__metadata("design:type", Function),
|
|
44493
|
-
__metadata("design:paramtypes", [CreateMJCompanyIntegrationEntityMapInput, Object, PubSubEngine]),
|
|
44494
|
-
__metadata("design:returntype", Promise)
|
|
44495
|
-
], MJCompanyIntegrationEntityMapResolver.prototype, "CreateMJCompanyIntegrationEntityMap", null);
|
|
46544
|
+
Field({ nullable: true }),
|
|
46545
|
+
__metadata("design:type", Date)
|
|
46546
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "LastSeenAt", void 0);
|
|
44496
46547
|
__decorate([
|
|
44497
|
-
|
|
44498
|
-
|
|
44499
|
-
|
|
44500
|
-
__param(2, PubSub()),
|
|
44501
|
-
__metadata("design:type", Function),
|
|
44502
|
-
__metadata("design:paramtypes", [UpdateMJCompanyIntegrationEntityMapInput, Object, PubSubEngine]),
|
|
44503
|
-
__metadata("design:returntype", Promise)
|
|
44504
|
-
], MJCompanyIntegrationEntityMapResolver.prototype, "UpdateMJCompanyIntegrationEntityMap", null);
|
|
46548
|
+
Field({ nullable: true }),
|
|
46549
|
+
__metadata("design:type", Date)
|
|
46550
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "LastSampledAt", void 0);
|
|
44505
46551
|
__decorate([
|
|
44506
|
-
|
|
44507
|
-
|
|
44508
|
-
|
|
44509
|
-
|
|
44510
|
-
|
|
44511
|
-
|
|
44512
|
-
|
|
44513
|
-
__metadata("design:returntype", Promise)
|
|
44514
|
-
], MJCompanyIntegrationEntityMapResolver.prototype, "DeleteMJCompanyIntegrationEntityMap", null);
|
|
44515
|
-
MJCompanyIntegrationEntityMapResolver = __decorate([
|
|
44516
|
-
Resolver(MJCompanyIntegrationEntityMap_)
|
|
44517
|
-
], MJCompanyIntegrationEntityMapResolver);
|
|
44518
|
-
export { MJCompanyIntegrationEntityMapResolver };
|
|
46552
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
46553
|
+
__metadata("design:type", RestoreContextInput)
|
|
46554
|
+
], CreateMJCompanyIntegrationObjectInput.prototype, "RestoreContext___", void 0);
|
|
46555
|
+
CreateMJCompanyIntegrationObjectInput = __decorate([
|
|
46556
|
+
InputType()
|
|
46557
|
+
], CreateMJCompanyIntegrationObjectInput);
|
|
46558
|
+
export { CreateMJCompanyIntegrationObjectInput };
|
|
44519
46559
|
//****************************************************************************
|
|
44520
|
-
//
|
|
46560
|
+
// INPUT TYPE for MJ: Company Integration Objects
|
|
44521
46561
|
//****************************************************************************
|
|
44522
|
-
let
|
|
46562
|
+
let UpdateMJCompanyIntegrationObjectInput = class UpdateMJCompanyIntegrationObjectInput {
|
|
44523
46563
|
};
|
|
44524
46564
|
__decorate([
|
|
44525
46565
|
Field(),
|
|
44526
|
-
MaxLength(36),
|
|
44527
46566
|
__metadata("design:type", String)
|
|
44528
|
-
],
|
|
46567
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "ID", void 0);
|
|
44529
46568
|
__decorate([
|
|
44530
46569
|
Field({ nullable: true }),
|
|
44531
|
-
MaxLength(36),
|
|
44532
46570
|
__metadata("design:type", String)
|
|
44533
|
-
],
|
|
46571
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "IntegrationID", void 0);
|
|
44534
46572
|
__decorate([
|
|
44535
|
-
Field({ nullable: true
|
|
44536
|
-
MaxLength(500),
|
|
46573
|
+
Field({ nullable: true }),
|
|
44537
46574
|
__metadata("design:type", String)
|
|
44538
|
-
],
|
|
46575
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "Name", void 0);
|
|
44539
46576
|
__decorate([
|
|
44540
|
-
Field({ nullable: true
|
|
44541
|
-
MaxLength(500),
|
|
46577
|
+
Field({ nullable: true }),
|
|
44542
46578
|
__metadata("design:type", String)
|
|
44543
|
-
],
|
|
46579
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "DisplayName", void 0);
|
|
44544
46580
|
__decorate([
|
|
44545
|
-
Field({ nullable: true
|
|
44546
|
-
MaxLength(500),
|
|
46581
|
+
Field({ nullable: true }),
|
|
44547
46582
|
__metadata("design:type", String)
|
|
44548
|
-
],
|
|
46583
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "Description", void 0);
|
|
44549
46584
|
__decorate([
|
|
44550
|
-
Field({ nullable: true
|
|
44551
|
-
MaxLength(500),
|
|
46585
|
+
Field({ nullable: true }),
|
|
44552
46586
|
__metadata("design:type", String)
|
|
44553
|
-
],
|
|
46587
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "Category", void 0);
|
|
44554
46588
|
__decorate([
|
|
44555
|
-
Field({ nullable: true
|
|
44556
|
-
MaxLength(50),
|
|
46589
|
+
Field({ nullable: true }),
|
|
44557
46590
|
__metadata("design:type", String)
|
|
44558
|
-
],
|
|
46591
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "APIPath", void 0);
|
|
44559
46592
|
__decorate([
|
|
44560
|
-
Field({ nullable: true
|
|
46593
|
+
Field({ nullable: true }),
|
|
44561
46594
|
__metadata("design:type", String)
|
|
44562
|
-
],
|
|
46595
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "ResponseDataKey", void 0);
|
|
44563
46596
|
__decorate([
|
|
44564
|
-
Field(() =>
|
|
44565
|
-
__metadata("design:type",
|
|
44566
|
-
],
|
|
46597
|
+
Field(() => Int, { nullable: true }),
|
|
46598
|
+
__metadata("design:type", Number)
|
|
46599
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "DefaultPageSize", void 0);
|
|
44567
46600
|
__decorate([
|
|
44568
|
-
Field(() => Boolean, { nullable: true
|
|
46601
|
+
Field(() => Boolean, { nullable: true }),
|
|
44569
46602
|
__metadata("design:type", Boolean)
|
|
44570
|
-
],
|
|
46603
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "SupportsPagination", void 0);
|
|
44571
46604
|
__decorate([
|
|
44572
|
-
Field({ nullable: true
|
|
46605
|
+
Field({ nullable: true }),
|
|
44573
46606
|
__metadata("design:type", String)
|
|
44574
|
-
],
|
|
46607
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "PaginationType", void 0);
|
|
44575
46608
|
__decorate([
|
|
44576
|
-
Field(() =>
|
|
44577
|
-
__metadata("design:type",
|
|
44578
|
-
],
|
|
46609
|
+
Field(() => Boolean, { nullable: true }),
|
|
46610
|
+
__metadata("design:type", Boolean)
|
|
46611
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "SupportsIncrementalSync", void 0);
|
|
44579
46612
|
__decorate([
|
|
44580
|
-
Field({ nullable: true
|
|
44581
|
-
|
|
46613
|
+
Field(() => Boolean, { nullable: true }),
|
|
46614
|
+
__metadata("design:type", Boolean)
|
|
46615
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "SupportsWrite", void 0);
|
|
46616
|
+
__decorate([
|
|
46617
|
+
Field({ nullable: true }),
|
|
44582
46618
|
__metadata("design:type", String)
|
|
44583
|
-
],
|
|
46619
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "DefaultQueryParams", void 0);
|
|
44584
46620
|
__decorate([
|
|
44585
|
-
Field(),
|
|
44586
|
-
__metadata("design:type",
|
|
44587
|
-
],
|
|
46621
|
+
Field({ nullable: true }),
|
|
46622
|
+
__metadata("design:type", String)
|
|
46623
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "Configuration", void 0);
|
|
44588
46624
|
__decorate([
|
|
44589
|
-
Field(),
|
|
44590
|
-
__metadata("design:type",
|
|
44591
|
-
],
|
|
46625
|
+
Field(() => Int, { nullable: true }),
|
|
46626
|
+
__metadata("design:type", Number)
|
|
46627
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "Sequence", void 0);
|
|
44592
46628
|
__decorate([
|
|
44593
46629
|
Field({ nullable: true }),
|
|
44594
|
-
MaxLength(500),
|
|
44595
46630
|
__metadata("design:type", String)
|
|
44596
|
-
],
|
|
46631
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "Status", void 0);
|
|
44597
46632
|
__decorate([
|
|
44598
|
-
Field(
|
|
44599
|
-
__metadata("design:type",
|
|
44600
|
-
],
|
|
44601
|
-
MJCompanyIntegrationFieldMap_ = __decorate([
|
|
44602
|
-
ObjectType({ description: "Maps individual fields between an external source object and a MemberJunction entity, with optional transform pipeline." })
|
|
44603
|
-
], MJCompanyIntegrationFieldMap_);
|
|
44604
|
-
export { MJCompanyIntegrationFieldMap_ };
|
|
44605
|
-
//****************************************************************************
|
|
44606
|
-
// INPUT TYPE for MJ: Company Integration Field Maps
|
|
44607
|
-
//****************************************************************************
|
|
44608
|
-
let CreateMJCompanyIntegrationFieldMapInput = class CreateMJCompanyIntegrationFieldMapInput {
|
|
44609
|
-
};
|
|
46633
|
+
Field({ nullable: true }),
|
|
46634
|
+
__metadata("design:type", String)
|
|
46635
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "WriteAPIPath", void 0);
|
|
44610
46636
|
__decorate([
|
|
44611
46637
|
Field({ nullable: true }),
|
|
44612
46638
|
__metadata("design:type", String)
|
|
44613
|
-
],
|
|
46639
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "WriteMethod", void 0);
|
|
44614
46640
|
__decorate([
|
|
44615
46641
|
Field({ nullable: true }),
|
|
44616
46642
|
__metadata("design:type", String)
|
|
44617
|
-
],
|
|
46643
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "DeleteMethod", void 0);
|
|
46644
|
+
__decorate([
|
|
46645
|
+
Field(() => Boolean, { nullable: true }),
|
|
46646
|
+
__metadata("design:type", Boolean)
|
|
46647
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "IsCustom", void 0);
|
|
44618
46648
|
__decorate([
|
|
44619
46649
|
Field({ nullable: true }),
|
|
44620
46650
|
__metadata("design:type", String)
|
|
44621
|
-
],
|
|
46651
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "CreateAPIPath", void 0);
|
|
44622
46652
|
__decorate([
|
|
44623
46653
|
Field({ nullable: true }),
|
|
44624
46654
|
__metadata("design:type", String)
|
|
44625
|
-
],
|
|
46655
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "CreateMethod", void 0);
|
|
44626
46656
|
__decorate([
|
|
44627
46657
|
Field({ nullable: true }),
|
|
44628
46658
|
__metadata("design:type", String)
|
|
44629
|
-
],
|
|
46659
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "CreateBodyShape", void 0);
|
|
44630
46660
|
__decorate([
|
|
44631
46661
|
Field({ nullable: true }),
|
|
44632
46662
|
__metadata("design:type", String)
|
|
44633
|
-
],
|
|
46663
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "CreateBodyKey", void 0);
|
|
44634
46664
|
__decorate([
|
|
44635
46665
|
Field({ nullable: true }),
|
|
44636
46666
|
__metadata("design:type", String)
|
|
44637
|
-
],
|
|
46667
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "CreateIDLocation", void 0);
|
|
44638
46668
|
__decorate([
|
|
44639
46669
|
Field({ nullable: true }),
|
|
44640
46670
|
__metadata("design:type", String)
|
|
44641
|
-
],
|
|
46671
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "UpdateAPIPath", void 0);
|
|
44642
46672
|
__decorate([
|
|
44643
|
-
Field(
|
|
44644
|
-
__metadata("design:type",
|
|
44645
|
-
],
|
|
46673
|
+
Field({ nullable: true }),
|
|
46674
|
+
__metadata("design:type", String)
|
|
46675
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "UpdateMethod", void 0);
|
|
44646
46676
|
__decorate([
|
|
44647
|
-
Field(
|
|
44648
|
-
__metadata("design:type",
|
|
44649
|
-
],
|
|
46677
|
+
Field({ nullable: true }),
|
|
46678
|
+
__metadata("design:type", String)
|
|
46679
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "UpdateBodyShape", void 0);
|
|
44650
46680
|
__decorate([
|
|
44651
46681
|
Field({ nullable: true }),
|
|
44652
46682
|
__metadata("design:type", String)
|
|
44653
|
-
],
|
|
46683
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "UpdateBodyKey", void 0);
|
|
44654
46684
|
__decorate([
|
|
44655
|
-
Field(
|
|
44656
|
-
__metadata("design:type",
|
|
44657
|
-
],
|
|
46685
|
+
Field({ nullable: true }),
|
|
46686
|
+
__metadata("design:type", String)
|
|
46687
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "UpdateIDLocation", void 0);
|
|
44658
46688
|
__decorate([
|
|
44659
46689
|
Field({ nullable: true }),
|
|
44660
46690
|
__metadata("design:type", String)
|
|
44661
|
-
],
|
|
46691
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "DeleteAPIPath", void 0);
|
|
44662
46692
|
__decorate([
|
|
44663
|
-
Field(
|
|
44664
|
-
__metadata("design:type",
|
|
44665
|
-
],
|
|
44666
|
-
CreateMJCompanyIntegrationFieldMapInput = __decorate([
|
|
44667
|
-
InputType()
|
|
44668
|
-
], CreateMJCompanyIntegrationFieldMapInput);
|
|
44669
|
-
export { CreateMJCompanyIntegrationFieldMapInput };
|
|
44670
|
-
//****************************************************************************
|
|
44671
|
-
// INPUT TYPE for MJ: Company Integration Field Maps
|
|
44672
|
-
//****************************************************************************
|
|
44673
|
-
let UpdateMJCompanyIntegrationFieldMapInput = class UpdateMJCompanyIntegrationFieldMapInput {
|
|
44674
|
-
};
|
|
46693
|
+
Field({ nullable: true }),
|
|
46694
|
+
__metadata("design:type", String)
|
|
46695
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "DeleteIDLocation", void 0);
|
|
44675
46696
|
__decorate([
|
|
44676
|
-
Field(),
|
|
46697
|
+
Field({ nullable: true }),
|
|
44677
46698
|
__metadata("design:type", String)
|
|
44678
|
-
],
|
|
46699
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "IncrementalWatermarkField", void 0);
|
|
44679
46700
|
__decorate([
|
|
44680
46701
|
Field({ nullable: true }),
|
|
44681
46702
|
__metadata("design:type", String)
|
|
44682
|
-
],
|
|
46703
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "MetadataSource", void 0);
|
|
46704
|
+
__decorate([
|
|
46705
|
+
Field(() => Boolean, { nullable: true }),
|
|
46706
|
+
__metadata("design:type", Boolean)
|
|
46707
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "SupportsCreate", void 0);
|
|
46708
|
+
__decorate([
|
|
46709
|
+
Field(() => Boolean, { nullable: true }),
|
|
46710
|
+
__metadata("design:type", Boolean)
|
|
46711
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "SupportsUpdate", void 0);
|
|
46712
|
+
__decorate([
|
|
46713
|
+
Field(() => Boolean, { nullable: true }),
|
|
46714
|
+
__metadata("design:type", Boolean)
|
|
46715
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "SupportsDelete", void 0);
|
|
44683
46716
|
__decorate([
|
|
44684
46717
|
Field({ nullable: true }),
|
|
44685
46718
|
__metadata("design:type", String)
|
|
44686
|
-
],
|
|
46719
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "SyncStrategy", void 0);
|
|
46720
|
+
__decorate([
|
|
46721
|
+
Field(() => Boolean, { nullable: true }),
|
|
46722
|
+
__metadata("design:type", Boolean)
|
|
46723
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "ContentHashApplicable", void 0);
|
|
44687
46724
|
__decorate([
|
|
44688
46725
|
Field({ nullable: true }),
|
|
44689
46726
|
__metadata("design:type", String)
|
|
44690
|
-
],
|
|
46727
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "StableOrderingKey", void 0);
|
|
44691
46728
|
__decorate([
|
|
44692
46729
|
Field({ nullable: true }),
|
|
44693
46730
|
__metadata("design:type", String)
|
|
44694
|
-
],
|
|
46731
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "CompanyIntegrationID", void 0);
|
|
44695
46732
|
__decorate([
|
|
44696
46733
|
Field({ nullable: true }),
|
|
44697
46734
|
__metadata("design:type", String)
|
|
44698
|
-
],
|
|
46735
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "IntegrationObjectID", void 0);
|
|
44699
46736
|
__decorate([
|
|
44700
46737
|
Field({ nullable: true }),
|
|
44701
46738
|
__metadata("design:type", String)
|
|
44702
|
-
],
|
|
46739
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "Provenance", void 0);
|
|
44703
46740
|
__decorate([
|
|
44704
46741
|
Field({ nullable: true }),
|
|
44705
46742
|
__metadata("design:type", String)
|
|
44706
|
-
],
|
|
46743
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "ProvenanceDetail", void 0);
|
|
44707
46744
|
__decorate([
|
|
44708
46745
|
Field(() => Boolean, { nullable: true }),
|
|
44709
46746
|
__metadata("design:type", Boolean)
|
|
44710
|
-
],
|
|
46747
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "IsSelected", void 0);
|
|
44711
46748
|
__decorate([
|
|
44712
|
-
Field(
|
|
44713
|
-
__metadata("design:type",
|
|
44714
|
-
],
|
|
46749
|
+
Field({ nullable: true }),
|
|
46750
|
+
__metadata("design:type", Date)
|
|
46751
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "SelectedAt", void 0);
|
|
44715
46752
|
__decorate([
|
|
44716
46753
|
Field({ nullable: true }),
|
|
44717
|
-
__metadata("design:type",
|
|
44718
|
-
],
|
|
46754
|
+
__metadata("design:type", Date)
|
|
46755
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "FirstSeenAt", void 0);
|
|
44719
46756
|
__decorate([
|
|
44720
|
-
Field(
|
|
44721
|
-
__metadata("design:type",
|
|
44722
|
-
],
|
|
46757
|
+
Field({ nullable: true }),
|
|
46758
|
+
__metadata("design:type", Date)
|
|
46759
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "LastSeenAt", void 0);
|
|
44723
46760
|
__decorate([
|
|
44724
46761
|
Field({ nullable: true }),
|
|
44725
|
-
__metadata("design:type",
|
|
44726
|
-
],
|
|
46762
|
+
__metadata("design:type", Date)
|
|
46763
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "LastSampledAt", void 0);
|
|
44727
46764
|
__decorate([
|
|
44728
46765
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
44729
46766
|
__metadata("design:type", Array)
|
|
44730
|
-
],
|
|
46767
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "OldValues___", void 0);
|
|
44731
46768
|
__decorate([
|
|
44732
46769
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
44733
46770
|
__metadata("design:type", RestoreContextInput)
|
|
44734
|
-
],
|
|
44735
|
-
|
|
46771
|
+
], UpdateMJCompanyIntegrationObjectInput.prototype, "RestoreContext___", void 0);
|
|
46772
|
+
UpdateMJCompanyIntegrationObjectInput = __decorate([
|
|
44736
46773
|
InputType()
|
|
44737
|
-
],
|
|
44738
|
-
export {
|
|
46774
|
+
], UpdateMJCompanyIntegrationObjectInput);
|
|
46775
|
+
export { UpdateMJCompanyIntegrationObjectInput };
|
|
44739
46776
|
//****************************************************************************
|
|
44740
|
-
// RESOLVER for MJ: Company Integration
|
|
46777
|
+
// RESOLVER for MJ: Company Integration Objects
|
|
44741
46778
|
//****************************************************************************
|
|
44742
|
-
let
|
|
46779
|
+
let RunMJCompanyIntegrationObjectViewResult = class RunMJCompanyIntegrationObjectViewResult {
|
|
44743
46780
|
};
|
|
44744
46781
|
__decorate([
|
|
44745
|
-
Field(() => [
|
|
46782
|
+
Field(() => [MJCompanyIntegrationObject_]),
|
|
44746
46783
|
__metadata("design:type", Array)
|
|
44747
|
-
],
|
|
46784
|
+
], RunMJCompanyIntegrationObjectViewResult.prototype, "Results", void 0);
|
|
44748
46785
|
__decorate([
|
|
44749
46786
|
Field(() => String, { nullable: true }),
|
|
44750
46787
|
__metadata("design:type", String)
|
|
44751
|
-
],
|
|
46788
|
+
], RunMJCompanyIntegrationObjectViewResult.prototype, "UserViewRunID", void 0);
|
|
44752
46789
|
__decorate([
|
|
44753
46790
|
Field(() => Int, { nullable: true }),
|
|
44754
46791
|
__metadata("design:type", Number)
|
|
44755
|
-
],
|
|
46792
|
+
], RunMJCompanyIntegrationObjectViewResult.prototype, "RowCount", void 0);
|
|
44756
46793
|
__decorate([
|
|
44757
46794
|
Field(() => Int, { nullable: true }),
|
|
44758
46795
|
__metadata("design:type", Number)
|
|
44759
|
-
],
|
|
46796
|
+
], RunMJCompanyIntegrationObjectViewResult.prototype, "TotalRowCount", void 0);
|
|
44760
46797
|
__decorate([
|
|
44761
46798
|
Field(() => Int, { nullable: true }),
|
|
44762
46799
|
__metadata("design:type", Number)
|
|
44763
|
-
],
|
|
46800
|
+
], RunMJCompanyIntegrationObjectViewResult.prototype, "ExecutionTime", void 0);
|
|
44764
46801
|
__decorate([
|
|
44765
46802
|
Field({ nullable: true }),
|
|
44766
46803
|
__metadata("design:type", String)
|
|
44767
|
-
],
|
|
46804
|
+
], RunMJCompanyIntegrationObjectViewResult.prototype, "ErrorMessage", void 0);
|
|
44768
46805
|
__decorate([
|
|
44769
46806
|
Field(() => Boolean, { nullable: false }),
|
|
44770
46807
|
__metadata("design:type", Boolean)
|
|
44771
|
-
],
|
|
44772
|
-
|
|
46808
|
+
], RunMJCompanyIntegrationObjectViewResult.prototype, "Success", void 0);
|
|
46809
|
+
RunMJCompanyIntegrationObjectViewResult = __decorate([
|
|
44773
46810
|
ObjectType()
|
|
44774
|
-
],
|
|
44775
|
-
export {
|
|
44776
|
-
let
|
|
44777
|
-
async
|
|
46811
|
+
], RunMJCompanyIntegrationObjectViewResult);
|
|
46812
|
+
export { RunMJCompanyIntegrationObjectViewResult };
|
|
46813
|
+
let MJCompanyIntegrationObjectResolver = class MJCompanyIntegrationObjectResolver extends ResolverBase {
|
|
46814
|
+
async RunMJCompanyIntegrationObjectViewByID(input, { providers, userPayload }, pubSub) {
|
|
44778
46815
|
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
44779
46816
|
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
44780
46817
|
}
|
|
44781
|
-
async
|
|
46818
|
+
async RunMJCompanyIntegrationObjectViewByName(input, { providers, userPayload }, pubSub) {
|
|
44782
46819
|
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
44783
46820
|
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
44784
46821
|
}
|
|
44785
|
-
async
|
|
46822
|
+
async RunMJCompanyIntegrationObjectDynamicView(input, { providers, userPayload }, pubSub) {
|
|
44786
46823
|
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
44787
|
-
input.EntityName = 'MJ: Company Integration
|
|
46824
|
+
input.EntityName = 'MJ: Company Integration Objects';
|
|
44788
46825
|
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
44789
46826
|
}
|
|
44790
|
-
async
|
|
44791
|
-
this.CheckUserReadPermissions('MJ: Company Integration
|
|
46827
|
+
async MJCompanyIntegrationObject(ID, { userPayload, providers }, pubSub) {
|
|
46828
|
+
this.CheckUserReadPermissions('MJ: Company Integration Objects', userPayload);
|
|
44792
46829
|
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
44793
|
-
const sSQL = `SELECT * FROM ${provider.QuoteSchemaAndView(Metadata.Provider.ConfigData.MJCoreSchemaName, '
|
|
46830
|
+
const sSQL = `SELECT * FROM ${provider.QuoteSchemaAndView(Metadata.Provider.ConfigData.MJCoreSchemaName, 'vwCompanyIntegrationObjects')} WHERE ${provider.QuoteIdentifier('ID')}=${provider.BuildParameterPlaceholder(0)} ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Company Integration Objects', userPayload, EntityPermissionType.Read, 'AND');
|
|
44794
46831
|
const rows = await provider.ExecuteSQL(sSQL, [ID], undefined, this.GetUserFromPayload(userPayload));
|
|
44795
|
-
const result = await this.MapFieldNamesToCodeNames('MJ: Company Integration
|
|
46832
|
+
const result = await this.MapFieldNamesToCodeNames('MJ: Company Integration Objects', rows && rows.length > 0 ? rows[0] : null, this.GetUserFromPayload(userPayload));
|
|
44796
46833
|
return result;
|
|
44797
46834
|
}
|
|
44798
|
-
async
|
|
46835
|
+
async CreateMJCompanyIntegrationObject(input, { providers, userPayload }, pubSub) {
|
|
44799
46836
|
const provider = GetReadWriteProvider(providers);
|
|
44800
|
-
return this.CreateRecord('MJ: Company Integration
|
|
46837
|
+
return this.CreateRecord('MJ: Company Integration Objects', input, provider, userPayload, pubSub);
|
|
44801
46838
|
}
|
|
44802
|
-
async
|
|
46839
|
+
async UpdateMJCompanyIntegrationObject(input, { providers, userPayload }, pubSub) {
|
|
44803
46840
|
const provider = GetReadWriteProvider(providers);
|
|
44804
|
-
return this.UpdateRecord('MJ: Company Integration
|
|
46841
|
+
return this.UpdateRecord('MJ: Company Integration Objects', input, provider, userPayload, pubSub);
|
|
44805
46842
|
}
|
|
44806
|
-
async
|
|
46843
|
+
async DeleteMJCompanyIntegrationObject(ID, options, { providers, userPayload }, pubSub) {
|
|
44807
46844
|
const provider = GetReadWriteProvider(providers);
|
|
44808
46845
|
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
44809
|
-
return this.DeleteRecord('MJ: Company Integration
|
|
46846
|
+
return this.DeleteRecord('MJ: Company Integration Objects', key, options, provider, userPayload, pubSub);
|
|
44810
46847
|
}
|
|
44811
46848
|
};
|
|
44812
46849
|
__decorate([
|
|
44813
|
-
Query(() =>
|
|
46850
|
+
Query(() => RunMJCompanyIntegrationObjectViewResult),
|
|
44814
46851
|
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
44815
46852
|
__param(1, Ctx()),
|
|
44816
46853
|
__param(2, PubSub()),
|
|
44817
46854
|
__metadata("design:type", Function),
|
|
44818
46855
|
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
44819
46856
|
__metadata("design:returntype", Promise)
|
|
44820
|
-
],
|
|
46857
|
+
], MJCompanyIntegrationObjectResolver.prototype, "RunMJCompanyIntegrationObjectViewByID", null);
|
|
44821
46858
|
__decorate([
|
|
44822
|
-
Query(() =>
|
|
46859
|
+
Query(() => RunMJCompanyIntegrationObjectViewResult),
|
|
44823
46860
|
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
44824
46861
|
__param(1, Ctx()),
|
|
44825
46862
|
__param(2, PubSub()),
|
|
44826
46863
|
__metadata("design:type", Function),
|
|
44827
46864
|
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
44828
46865
|
__metadata("design:returntype", Promise)
|
|
44829
|
-
],
|
|
46866
|
+
], MJCompanyIntegrationObjectResolver.prototype, "RunMJCompanyIntegrationObjectViewByName", null);
|
|
44830
46867
|
__decorate([
|
|
44831
|
-
Query(() =>
|
|
46868
|
+
Query(() => RunMJCompanyIntegrationObjectViewResult),
|
|
44832
46869
|
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
44833
46870
|
__param(1, Ctx()),
|
|
44834
46871
|
__param(2, PubSub()),
|
|
44835
46872
|
__metadata("design:type", Function),
|
|
44836
46873
|
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
44837
46874
|
__metadata("design:returntype", Promise)
|
|
44838
|
-
],
|
|
46875
|
+
], MJCompanyIntegrationObjectResolver.prototype, "RunMJCompanyIntegrationObjectDynamicView", null);
|
|
44839
46876
|
__decorate([
|
|
44840
|
-
Query(() =>
|
|
46877
|
+
Query(() => MJCompanyIntegrationObject_, { nullable: true }),
|
|
44841
46878
|
__param(0, Arg('ID', () => String)),
|
|
44842
46879
|
__param(1, Ctx()),
|
|
44843
46880
|
__param(2, PubSub()),
|
|
44844
46881
|
__metadata("design:type", Function),
|
|
44845
46882
|
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
44846
46883
|
__metadata("design:returntype", Promise)
|
|
44847
|
-
],
|
|
46884
|
+
], MJCompanyIntegrationObjectResolver.prototype, "MJCompanyIntegrationObject", null);
|
|
44848
46885
|
__decorate([
|
|
44849
|
-
Mutation(() =>
|
|
44850
|
-
__param(0, Arg('input', () =>
|
|
46886
|
+
Mutation(() => MJCompanyIntegrationObject_),
|
|
46887
|
+
__param(0, Arg('input', () => CreateMJCompanyIntegrationObjectInput)),
|
|
44851
46888
|
__param(1, Ctx()),
|
|
44852
46889
|
__param(2, PubSub()),
|
|
44853
46890
|
__metadata("design:type", Function),
|
|
44854
|
-
__metadata("design:paramtypes", [
|
|
46891
|
+
__metadata("design:paramtypes", [CreateMJCompanyIntegrationObjectInput, Object, PubSubEngine]),
|
|
44855
46892
|
__metadata("design:returntype", Promise)
|
|
44856
|
-
],
|
|
46893
|
+
], MJCompanyIntegrationObjectResolver.prototype, "CreateMJCompanyIntegrationObject", null);
|
|
44857
46894
|
__decorate([
|
|
44858
|
-
Mutation(() =>
|
|
44859
|
-
__param(0, Arg('input', () =>
|
|
46895
|
+
Mutation(() => MJCompanyIntegrationObject_),
|
|
46896
|
+
__param(0, Arg('input', () => UpdateMJCompanyIntegrationObjectInput)),
|
|
44860
46897
|
__param(1, Ctx()),
|
|
44861
46898
|
__param(2, PubSub()),
|
|
44862
46899
|
__metadata("design:type", Function),
|
|
44863
|
-
__metadata("design:paramtypes", [
|
|
46900
|
+
__metadata("design:paramtypes", [UpdateMJCompanyIntegrationObjectInput, Object, PubSubEngine]),
|
|
44864
46901
|
__metadata("design:returntype", Promise)
|
|
44865
|
-
],
|
|
46902
|
+
], MJCompanyIntegrationObjectResolver.prototype, "UpdateMJCompanyIntegrationObject", null);
|
|
44866
46903
|
__decorate([
|
|
44867
|
-
Mutation(() =>
|
|
46904
|
+
Mutation(() => MJCompanyIntegrationObject_),
|
|
44868
46905
|
__param(0, Arg('ID', () => String)),
|
|
44869
46906
|
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
44870
46907
|
__param(2, Ctx()),
|
|
@@ -44872,11 +46909,11 @@ __decorate([
|
|
|
44872
46909
|
__metadata("design:type", Function),
|
|
44873
46910
|
__metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
|
|
44874
46911
|
__metadata("design:returntype", Promise)
|
|
44875
|
-
],
|
|
44876
|
-
|
|
44877
|
-
Resolver(
|
|
44878
|
-
],
|
|
44879
|
-
export {
|
|
46912
|
+
], MJCompanyIntegrationObjectResolver.prototype, "DeleteMJCompanyIntegrationObject", null);
|
|
46913
|
+
MJCompanyIntegrationObjectResolver = __decorate([
|
|
46914
|
+
Resolver(MJCompanyIntegrationObject_)
|
|
46915
|
+
], MJCompanyIntegrationObjectResolver);
|
|
46916
|
+
export { MJCompanyIntegrationObjectResolver };
|
|
44880
46917
|
//****************************************************************************
|
|
44881
46918
|
// ENTITY CLASS for MJ: Company Integration Record Maps
|
|
44882
46919
|
//****************************************************************************
|
|
@@ -48288,11 +50325,39 @@ __decorate([
|
|
|
48288
50325
|
Field({ nullable: true, description: "The technical-design embedding as little-endian IEEE-754 float32 bytes (4 bytes per dimension): the compact form of TechnicalDesignVector. Written alongside TechnicalDesignVector; readers prefer it and fall back to TechnicalDesignVector when it is NULL." }),
|
|
48289
50326
|
__metadata("design:type", String)
|
|
48290
50327
|
], MJComponent_.prototype, "TechnicalDesignVectorBinary", void 0);
|
|
50328
|
+
__decorate([
|
|
50329
|
+
Field({ nullable: true, description: "Whether this component version's definition is approved: Pending, Approved or Rejected. Separate from Status, which is publication. An approval is current only while ApprovedFingerprint matches the current definition." }),
|
|
50330
|
+
MaxLength(20),
|
|
50331
|
+
__metadata("design:type", String)
|
|
50332
|
+
], MJComponent_.prototype, "ApprovalStatus", void 0);
|
|
50333
|
+
__decorate([
|
|
50334
|
+
Field({ nullable: true, description: "Reviewer comments recorded with the approval decision, such as the tests the definition passed." }),
|
|
50335
|
+
__metadata("design:type", String)
|
|
50336
|
+
], MJComponent_.prototype, "ApprovalComments", void 0);
|
|
50337
|
+
__decorate([
|
|
50338
|
+
Field({ nullable: true, description: "The user who approved this component version." }),
|
|
50339
|
+
MaxLength(36),
|
|
50340
|
+
__metadata("design:type", String)
|
|
50341
|
+
], MJComponent_.prototype, "ApprovedByUserID", void 0);
|
|
50342
|
+
__decorate([
|
|
50343
|
+
Field({ nullable: true, description: "When this component version was approved." }),
|
|
50344
|
+
__metadata("design:type", Date)
|
|
50345
|
+
], MJComponent_.prototype, "ApprovedAt", void 0);
|
|
50346
|
+
__decorate([
|
|
50347
|
+
Field({ nullable: true, description: "SHA-256 fingerprint of the definition that was approved: the component's specification for this version. The approval is current only while this matches the fingerprint of the current definition." }),
|
|
50348
|
+
MaxLength(100),
|
|
50349
|
+
__metadata("design:type", String)
|
|
50350
|
+
], MJComponent_.prototype, "ApprovedFingerprint", void 0);
|
|
48291
50351
|
__decorate([
|
|
48292
50352
|
Field({ nullable: true }),
|
|
48293
50353
|
MaxLength(255),
|
|
48294
50354
|
__metadata("design:type", String)
|
|
48295
50355
|
], MJComponent_.prototype, "SourceRegistry", void 0);
|
|
50356
|
+
__decorate([
|
|
50357
|
+
Field({ nullable: true }),
|
|
50358
|
+
MaxLength(100),
|
|
50359
|
+
__metadata("design:type", String)
|
|
50360
|
+
], MJComponent_.prototype, "ApprovedByUser", void 0);
|
|
48296
50361
|
__decorate([
|
|
48297
50362
|
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
48298
50363
|
__metadata("design:type", Array)
|
|
@@ -48422,6 +50487,26 @@ __decorate([
|
|
|
48422
50487
|
Field({ nullable: true }),
|
|
48423
50488
|
__metadata("design:type", String)
|
|
48424
50489
|
], CreateMJComponentInput.prototype, "TechnicalDesignVectorBinary", void 0);
|
|
50490
|
+
__decorate([
|
|
50491
|
+
Field({ nullable: true }),
|
|
50492
|
+
__metadata("design:type", String)
|
|
50493
|
+
], CreateMJComponentInput.prototype, "ApprovalStatus", void 0);
|
|
50494
|
+
__decorate([
|
|
50495
|
+
Field({ nullable: true }),
|
|
50496
|
+
__metadata("design:type", String)
|
|
50497
|
+
], CreateMJComponentInput.prototype, "ApprovalComments", void 0);
|
|
50498
|
+
__decorate([
|
|
50499
|
+
Field({ nullable: true }),
|
|
50500
|
+
__metadata("design:type", String)
|
|
50501
|
+
], CreateMJComponentInput.prototype, "ApprovedByUserID", void 0);
|
|
50502
|
+
__decorate([
|
|
50503
|
+
Field({ nullable: true }),
|
|
50504
|
+
__metadata("design:type", Date)
|
|
50505
|
+
], CreateMJComponentInput.prototype, "ApprovedAt", void 0);
|
|
50506
|
+
__decorate([
|
|
50507
|
+
Field({ nullable: true }),
|
|
50508
|
+
__metadata("design:type", String)
|
|
50509
|
+
], CreateMJComponentInput.prototype, "ApprovedFingerprint", void 0);
|
|
48425
50510
|
__decorate([
|
|
48426
50511
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
48427
50512
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -48551,6 +50636,26 @@ __decorate([
|
|
|
48551
50636
|
Field({ nullable: true }),
|
|
48552
50637
|
__metadata("design:type", String)
|
|
48553
50638
|
], UpdateMJComponentInput.prototype, "TechnicalDesignVectorBinary", void 0);
|
|
50639
|
+
__decorate([
|
|
50640
|
+
Field({ nullable: true }),
|
|
50641
|
+
__metadata("design:type", String)
|
|
50642
|
+
], UpdateMJComponentInput.prototype, "ApprovalStatus", void 0);
|
|
50643
|
+
__decorate([
|
|
50644
|
+
Field({ nullable: true }),
|
|
50645
|
+
__metadata("design:type", String)
|
|
50646
|
+
], UpdateMJComponentInput.prototype, "ApprovalComments", void 0);
|
|
50647
|
+
__decorate([
|
|
50648
|
+
Field({ nullable: true }),
|
|
50649
|
+
__metadata("design:type", String)
|
|
50650
|
+
], UpdateMJComponentInput.prototype, "ApprovedByUserID", void 0);
|
|
50651
|
+
__decorate([
|
|
50652
|
+
Field({ nullable: true }),
|
|
50653
|
+
__metadata("design:type", Date)
|
|
50654
|
+
], UpdateMJComponentInput.prototype, "ApprovedAt", void 0);
|
|
50655
|
+
__decorate([
|
|
50656
|
+
Field({ nullable: true }),
|
|
50657
|
+
__metadata("design:type", String)
|
|
50658
|
+
], UpdateMJComponentInput.prototype, "ApprovedFingerprint", void 0);
|
|
48554
50659
|
__decorate([
|
|
48555
50660
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
48556
50661
|
__metadata("design:type", Array)
|
|
@@ -48732,6 +50837,19 @@ __decorate([
|
|
|
48732
50837
|
Field(),
|
|
48733
50838
|
__metadata("design:type", Date)
|
|
48734
50839
|
], MJContentFileType_.prototype, "_mj__UpdatedAt", void 0);
|
|
50840
|
+
__decorate([
|
|
50841
|
+
Field({ nullable: true, description: "How this file type is recognised from its own content, as JSON. Either magic bytes - {\"Magic\":[37,80,68,70],\"Offset\":0,\"Unambiguous\":true} - or, for a text format, the characters it opens with: {\"TextPrefix\":[\"<!doctype html\",\"<html\"]}, matched after a byte-order mark and leading whitespace are stripped and case is folded. Unambiguous means a match may override a declared type; a container format such as zip recognises without identifying, so it may not." }),
|
|
50842
|
+
__metadata("design:type", String)
|
|
50843
|
+
], MJContentFileType_.prototype, "ByteSignature", void 0);
|
|
50844
|
+
__decorate([
|
|
50845
|
+
Field(() => Boolean, { nullable: true, description: "Whether this file type is text. Decides whether an unrecognised file is attempted as plain text or routed down the multi-modal path. NULL means unknown, and the pipeline falls back to inspecting the bytes." }),
|
|
50846
|
+
__metadata("design:type", Boolean)
|
|
50847
|
+
], MJContentFileType_.prototype, "IsText", void 0);
|
|
50848
|
+
__decorate([
|
|
50849
|
+
Field({ nullable: true, description: "The registered content extractor that reads this file type. Lets a deployment add support for a format by pointing its file type at an extractor, rather than editing the extractor's own list of what it supports." }),
|
|
50850
|
+
MaxLength(100),
|
|
50851
|
+
__metadata("design:type", String)
|
|
50852
|
+
], MJContentFileType_.prototype, "ExtractorKey", void 0);
|
|
48735
50853
|
__decorate([
|
|
48736
50854
|
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
48737
50855
|
__metadata("design:type", Array)
|
|
@@ -48757,6 +50875,18 @@ __decorate([
|
|
|
48757
50875
|
Field({ nullable: true }),
|
|
48758
50876
|
__metadata("design:type", String)
|
|
48759
50877
|
], CreateMJContentFileTypeInput.prototype, "FileExtension", void 0);
|
|
50878
|
+
__decorate([
|
|
50879
|
+
Field({ nullable: true }),
|
|
50880
|
+
__metadata("design:type", String)
|
|
50881
|
+
], CreateMJContentFileTypeInput.prototype, "ByteSignature", void 0);
|
|
50882
|
+
__decorate([
|
|
50883
|
+
Field(() => Boolean, { nullable: true }),
|
|
50884
|
+
__metadata("design:type", Boolean)
|
|
50885
|
+
], CreateMJContentFileTypeInput.prototype, "IsText", void 0);
|
|
50886
|
+
__decorate([
|
|
50887
|
+
Field({ nullable: true }),
|
|
50888
|
+
__metadata("design:type", String)
|
|
50889
|
+
], CreateMJContentFileTypeInput.prototype, "ExtractorKey", void 0);
|
|
48760
50890
|
__decorate([
|
|
48761
50891
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
48762
50892
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -48782,6 +50912,18 @@ __decorate([
|
|
|
48782
50912
|
Field({ nullable: true }),
|
|
48783
50913
|
__metadata("design:type", String)
|
|
48784
50914
|
], UpdateMJContentFileTypeInput.prototype, "FileExtension", void 0);
|
|
50915
|
+
__decorate([
|
|
50916
|
+
Field({ nullable: true }),
|
|
50917
|
+
__metadata("design:type", String)
|
|
50918
|
+
], UpdateMJContentFileTypeInput.prototype, "ByteSignature", void 0);
|
|
50919
|
+
__decorate([
|
|
50920
|
+
Field(() => Boolean, { nullable: true }),
|
|
50921
|
+
__metadata("design:type", Boolean)
|
|
50922
|
+
], UpdateMJContentFileTypeInput.prototype, "IsText", void 0);
|
|
50923
|
+
__decorate([
|
|
50924
|
+
Field({ nullable: true }),
|
|
50925
|
+
__metadata("design:type", String)
|
|
50926
|
+
], UpdateMJContentFileTypeInput.prototype, "ExtractorKey", void 0);
|
|
48785
50927
|
__decorate([
|
|
48786
50928
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
48787
50929
|
__metadata("design:type", Array)
|
|
@@ -49294,6 +51436,14 @@ __decorate([
|
|
|
49294
51436
|
MaxLength(36),
|
|
49295
51437
|
__metadata("design:type", String)
|
|
49296
51438
|
], MJContentItemChunk_.prototype, "ParentChunkID", void 0);
|
|
51439
|
+
__decorate([
|
|
51440
|
+
Field({ nullable: true, description: "Per-field provenance for the pipeline: for each well-known field, the confidence the winning stage had and which stage set it." }),
|
|
51441
|
+
__metadata("design:type", String)
|
|
51442
|
+
], MJContentItemChunk_.prototype, "FieldConfidence", void 0);
|
|
51443
|
+
__decorate([
|
|
51444
|
+
Field({ nullable: true, description: "Text that accompanies this chunk so it still makes sense retrieved on its own — normally inherited from its parent item. Kept as its own field rather than prefixed into Text so it stays separately searchable and can be revised without rewriting the chunk." }),
|
|
51445
|
+
__metadata("design:type", String)
|
|
51446
|
+
], MJContentItemChunk_.prototype, "Decorator", void 0);
|
|
49297
51447
|
__decorate([
|
|
49298
51448
|
Field({ nullable: true }),
|
|
49299
51449
|
MaxLength(250),
|
|
@@ -49426,6 +51576,14 @@ __decorate([
|
|
|
49426
51576
|
Field({ nullable: true }),
|
|
49427
51577
|
__metadata("design:type", String)
|
|
49428
51578
|
], CreateMJContentItemChunkInput.prototype, "ParentChunkID", void 0);
|
|
51579
|
+
__decorate([
|
|
51580
|
+
Field({ nullable: true }),
|
|
51581
|
+
__metadata("design:type", String)
|
|
51582
|
+
], CreateMJContentItemChunkInput.prototype, "FieldConfidence", void 0);
|
|
51583
|
+
__decorate([
|
|
51584
|
+
Field({ nullable: true }),
|
|
51585
|
+
__metadata("design:type", String)
|
|
51586
|
+
], CreateMJContentItemChunkInput.prototype, "Decorator", void 0);
|
|
49429
51587
|
__decorate([
|
|
49430
51588
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
49431
51589
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -49527,6 +51685,14 @@ __decorate([
|
|
|
49527
51685
|
Field({ nullable: true }),
|
|
49528
51686
|
__metadata("design:type", String)
|
|
49529
51687
|
], UpdateMJContentItemChunkInput.prototype, "ParentChunkID", void 0);
|
|
51688
|
+
__decorate([
|
|
51689
|
+
Field({ nullable: true }),
|
|
51690
|
+
__metadata("design:type", String)
|
|
51691
|
+
], UpdateMJContentItemChunkInput.prototype, "FieldConfidence", void 0);
|
|
51692
|
+
__decorate([
|
|
51693
|
+
Field({ nullable: true }),
|
|
51694
|
+
__metadata("design:type", String)
|
|
51695
|
+
], UpdateMJContentItemChunkInput.prototype, "Decorator", void 0);
|
|
49530
51696
|
__decorate([
|
|
49531
51697
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
49532
51698
|
__metadata("design:type", Array)
|
|
@@ -50402,6 +52568,53 @@ __decorate([
|
|
|
50402
52568
|
MaxLength(2000),
|
|
50403
52569
|
__metadata("design:type", String)
|
|
50404
52570
|
], MJContentItem_.prototype, "DisplayLink", void 0);
|
|
52571
|
+
__decorate([
|
|
52572
|
+
Field({ nullable: true, description: "Per-field provenance for the pipeline: for each well-known field, the confidence the winning stage had and which stage set it. Lets two stages that know nothing about each other resolve a shared field on merit rather than by running order." }),
|
|
52573
|
+
__metadata("design:type", String)
|
|
52574
|
+
], MJContentItem_.prototype, "FieldConfidence", void 0);
|
|
52575
|
+
__decorate([
|
|
52576
|
+
Field({ nullable: true, description: "Status of the Extract stage for this item: Pending, Processing, Complete, Failed or Skipped." }),
|
|
52577
|
+
MaxLength(40),
|
|
52578
|
+
__metadata("design:type", String)
|
|
52579
|
+
], MJContentItem_.prototype, "ExtractionStatus", void 0);
|
|
52580
|
+
__decorate([
|
|
52581
|
+
Field({ nullable: true, description: "Status of the Segment stage for this item: Pending, Processing, Complete, Failed or Skipped." }),
|
|
52582
|
+
MaxLength(40),
|
|
52583
|
+
__metadata("design:type", String)
|
|
52584
|
+
], MJContentItem_.prototype, "SegmentationStatus", void 0);
|
|
52585
|
+
__decorate([
|
|
52586
|
+
Field({ nullable: true, description: "Soft-delete marker: Pending once something has been removed at the source, Deleted once the Delete stage has cleaned up everything downstream of it. Marking rather than deleting keeps the outside-system cleanup in one place and makes it retryable." }),
|
|
52587
|
+
MaxLength(20),
|
|
52588
|
+
__metadata("design:type", String)
|
|
52589
|
+
], MJContentItem_.prototype, "DeleteStatus", void 0);
|
|
52590
|
+
__decorate([
|
|
52591
|
+
Field({ nullable: true, description: "The registered content extractor that actually read this item, recorded as a receipt of what ran. Distinct from the defaults on Content Type and in the source configuration, which say what should run." }),
|
|
52592
|
+
MaxLength(100),
|
|
52593
|
+
__metadata("design:type", String)
|
|
52594
|
+
], MJContentItem_.prototype, "ExtractorKey", void 0);
|
|
52595
|
+
__decorate([
|
|
52596
|
+
Field({ nullable: true, description: "Forces a specific content extractor for this item, overriding every default in the cascade. Set by a splitting extractor that already knows what one of its own children is, and by an operator correcting a misrouted item." }),
|
|
52597
|
+
MaxLength(100),
|
|
52598
|
+
__metadata("design:type", String)
|
|
52599
|
+
], MJContentItem_.prototype, "ExtractorKeyOverride", void 0);
|
|
52600
|
+
__decorate([
|
|
52601
|
+
Field({ nullable: true, description: "What kind of content this item holds: text, image, audio, video or multimodal. Determines whether the item can be embedded without extracted text." }),
|
|
52602
|
+
MaxLength(20),
|
|
52603
|
+
__metadata("design:type", String)
|
|
52604
|
+
], MJContentItem_.prototype, "Modality", void 0);
|
|
52605
|
+
__decorate([
|
|
52606
|
+
Field({ nullable: true, description: "The date the content itself carries — published, issued or authored — as opposed to when this row was created." }),
|
|
52607
|
+
__metadata("design:type", Date)
|
|
52608
|
+
], MJContentItem_.prototype, "Date", void 0);
|
|
52609
|
+
__decorate([
|
|
52610
|
+
Field({ nullable: true, description: "Text that accompanies this item so it still makes sense retrieved on its own. Kept as its own field rather than prefixed into Text so it stays separately searchable and can be revised without rewriting the content." }),
|
|
52611
|
+
__metadata("design:type", String)
|
|
52612
|
+
], MJContentItem_.prototype, "Decorator", void 0);
|
|
52613
|
+
__decorate([
|
|
52614
|
+
Field({ nullable: true, description: "The durable copy of the fetched artifact, held as an MJ File so the bytes live in whichever storage provider the source is configured for rather than in this database." }),
|
|
52615
|
+
MaxLength(36),
|
|
52616
|
+
__metadata("design:type", String)
|
|
52617
|
+
], MJContentItem_.prototype, "FileID", void 0);
|
|
50405
52618
|
__decorate([
|
|
50406
52619
|
Field({ nullable: true }),
|
|
50407
52620
|
MaxLength(255),
|
|
@@ -50437,6 +52650,11 @@ __decorate([
|
|
|
50437
52650
|
MaxLength(250),
|
|
50438
52651
|
__metadata("design:type", String)
|
|
50439
52652
|
], MJContentItem_.prototype, "Parent", void 0);
|
|
52653
|
+
__decorate([
|
|
52654
|
+
Field({ nullable: true }),
|
|
52655
|
+
MaxLength(500),
|
|
52656
|
+
__metadata("design:type", String)
|
|
52657
|
+
], MJContentItem_.prototype, "File", void 0);
|
|
50440
52658
|
__decorate([
|
|
50441
52659
|
Field({ nullable: true }),
|
|
50442
52660
|
MaxLength(36),
|
|
@@ -50547,6 +52765,46 @@ __decorate([
|
|
|
50547
52765
|
Field({ nullable: true }),
|
|
50548
52766
|
__metadata("design:type", String)
|
|
50549
52767
|
], CreateMJContentItemInput.prototype, "DisplayLink", void 0);
|
|
52768
|
+
__decorate([
|
|
52769
|
+
Field({ nullable: true }),
|
|
52770
|
+
__metadata("design:type", String)
|
|
52771
|
+
], CreateMJContentItemInput.prototype, "FieldConfidence", void 0);
|
|
52772
|
+
__decorate([
|
|
52773
|
+
Field({ nullable: true }),
|
|
52774
|
+
__metadata("design:type", String)
|
|
52775
|
+
], CreateMJContentItemInput.prototype, "ExtractionStatus", void 0);
|
|
52776
|
+
__decorate([
|
|
52777
|
+
Field({ nullable: true }),
|
|
52778
|
+
__metadata("design:type", String)
|
|
52779
|
+
], CreateMJContentItemInput.prototype, "SegmentationStatus", void 0);
|
|
52780
|
+
__decorate([
|
|
52781
|
+
Field({ nullable: true }),
|
|
52782
|
+
__metadata("design:type", String)
|
|
52783
|
+
], CreateMJContentItemInput.prototype, "DeleteStatus", void 0);
|
|
52784
|
+
__decorate([
|
|
52785
|
+
Field({ nullable: true }),
|
|
52786
|
+
__metadata("design:type", String)
|
|
52787
|
+
], CreateMJContentItemInput.prototype, "ExtractorKey", void 0);
|
|
52788
|
+
__decorate([
|
|
52789
|
+
Field({ nullable: true }),
|
|
52790
|
+
__metadata("design:type", String)
|
|
52791
|
+
], CreateMJContentItemInput.prototype, "ExtractorKeyOverride", void 0);
|
|
52792
|
+
__decorate([
|
|
52793
|
+
Field({ nullable: true }),
|
|
52794
|
+
__metadata("design:type", String)
|
|
52795
|
+
], CreateMJContentItemInput.prototype, "Modality", void 0);
|
|
52796
|
+
__decorate([
|
|
52797
|
+
Field({ nullable: true }),
|
|
52798
|
+
__metadata("design:type", Date)
|
|
52799
|
+
], CreateMJContentItemInput.prototype, "Date", void 0);
|
|
52800
|
+
__decorate([
|
|
52801
|
+
Field({ nullable: true }),
|
|
52802
|
+
__metadata("design:type", String)
|
|
52803
|
+
], CreateMJContentItemInput.prototype, "Decorator", void 0);
|
|
52804
|
+
__decorate([
|
|
52805
|
+
Field({ nullable: true }),
|
|
52806
|
+
__metadata("design:type", String)
|
|
52807
|
+
], CreateMJContentItemInput.prototype, "FileID", void 0);
|
|
50550
52808
|
__decorate([
|
|
50551
52809
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
50552
52810
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -50636,6 +52894,46 @@ __decorate([
|
|
|
50636
52894
|
Field({ nullable: true }),
|
|
50637
52895
|
__metadata("design:type", String)
|
|
50638
52896
|
], UpdateMJContentItemInput.prototype, "DisplayLink", void 0);
|
|
52897
|
+
__decorate([
|
|
52898
|
+
Field({ nullable: true }),
|
|
52899
|
+
__metadata("design:type", String)
|
|
52900
|
+
], UpdateMJContentItemInput.prototype, "FieldConfidence", void 0);
|
|
52901
|
+
__decorate([
|
|
52902
|
+
Field({ nullable: true }),
|
|
52903
|
+
__metadata("design:type", String)
|
|
52904
|
+
], UpdateMJContentItemInput.prototype, "ExtractionStatus", void 0);
|
|
52905
|
+
__decorate([
|
|
52906
|
+
Field({ nullable: true }),
|
|
52907
|
+
__metadata("design:type", String)
|
|
52908
|
+
], UpdateMJContentItemInput.prototype, "SegmentationStatus", void 0);
|
|
52909
|
+
__decorate([
|
|
52910
|
+
Field({ nullable: true }),
|
|
52911
|
+
__metadata("design:type", String)
|
|
52912
|
+
], UpdateMJContentItemInput.prototype, "DeleteStatus", void 0);
|
|
52913
|
+
__decorate([
|
|
52914
|
+
Field({ nullable: true }),
|
|
52915
|
+
__metadata("design:type", String)
|
|
52916
|
+
], UpdateMJContentItemInput.prototype, "ExtractorKey", void 0);
|
|
52917
|
+
__decorate([
|
|
52918
|
+
Field({ nullable: true }),
|
|
52919
|
+
__metadata("design:type", String)
|
|
52920
|
+
], UpdateMJContentItemInput.prototype, "ExtractorKeyOverride", void 0);
|
|
52921
|
+
__decorate([
|
|
52922
|
+
Field({ nullable: true }),
|
|
52923
|
+
__metadata("design:type", String)
|
|
52924
|
+
], UpdateMJContentItemInput.prototype, "Modality", void 0);
|
|
52925
|
+
__decorate([
|
|
52926
|
+
Field({ nullable: true }),
|
|
52927
|
+
__metadata("design:type", Date)
|
|
52928
|
+
], UpdateMJContentItemInput.prototype, "Date", void 0);
|
|
52929
|
+
__decorate([
|
|
52930
|
+
Field({ nullable: true }),
|
|
52931
|
+
__metadata("design:type", String)
|
|
52932
|
+
], UpdateMJContentItemInput.prototype, "Decorator", void 0);
|
|
52933
|
+
__decorate([
|
|
52934
|
+
Field({ nullable: true }),
|
|
52935
|
+
__metadata("design:type", String)
|
|
52936
|
+
], UpdateMJContentItemInput.prototype, "FileID", void 0);
|
|
50639
52937
|
__decorate([
|
|
50640
52938
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
50641
52939
|
__metadata("design:type", Array)
|
|
@@ -52645,6 +54943,22 @@ __decorate([
|
|
|
52645
54943
|
MaxLength(36),
|
|
52646
54944
|
__metadata("design:type", String)
|
|
52647
54945
|
], MJContentSource_.prototype, "ScheduledJobID", void 0);
|
|
54946
|
+
__decorate([
|
|
54947
|
+
Field({ nullable: true, description: "Per-field provenance for the pipeline: for each well-known field, the confidence the winning stage had and which stage set it." }),
|
|
54948
|
+
__metadata("design:type", String)
|
|
54949
|
+
], MJContentSource_.prototype, "FieldConfidence", void 0);
|
|
54950
|
+
__decorate([
|
|
54951
|
+
Field(() => Boolean, { nullable: true, description: "Walk this source on the next pass regardless of its schedule. A one-shot: the Discover stage clears it when the walk completes. Scheduling is deployment-owned and the shipped Discover process selects ForceDiscovery = 1, which is why there is no discovery status column to re-arm." }),
|
|
54952
|
+
__metadata("design:type", Boolean)
|
|
54953
|
+
], MJContentSource_.prototype, "ForceDiscovery", void 0);
|
|
54954
|
+
__decorate([
|
|
54955
|
+
Field({ nullable: true, description: "When this source was last walked by the Discover stage. Stamped with the time a completed walk started, and passed back as Since on subsequent incremental walks." }),
|
|
54956
|
+
__metadata("design:type", Date)
|
|
54957
|
+
], MJContentSource_.prototype, "LastDiscoveredAt", void 0);
|
|
54958
|
+
__decorate([
|
|
54959
|
+
Field({ nullable: true, description: "When this source last completed a full Sync walk (reconciling removals). Stamped with the time a completed sync walk started. The shipped Sync Record Process selects sources by LastSyncedAt (LastSyncedAt IS NULL OR LastSyncedAt < DATEADD(day, -30, GETUTCDATE())), never by ForceDiscovery; to force a sync, set LastSyncedAt back or to NULL." }),
|
|
54960
|
+
__metadata("design:type", Date)
|
|
54961
|
+
], MJContentSource_.prototype, "LastSyncedAt", void 0);
|
|
52648
54962
|
__decorate([
|
|
52649
54963
|
Field({ nullable: true }),
|
|
52650
54964
|
MaxLength(255),
|
|
@@ -52754,6 +55068,22 @@ __decorate([
|
|
|
52754
55068
|
Field({ nullable: true }),
|
|
52755
55069
|
__metadata("design:type", String)
|
|
52756
55070
|
], CreateMJContentSourceInput.prototype, "ScheduledJobID", void 0);
|
|
55071
|
+
__decorate([
|
|
55072
|
+
Field({ nullable: true }),
|
|
55073
|
+
__metadata("design:type", String)
|
|
55074
|
+
], CreateMJContentSourceInput.prototype, "FieldConfidence", void 0);
|
|
55075
|
+
__decorate([
|
|
55076
|
+
Field(() => Boolean, { nullable: true }),
|
|
55077
|
+
__metadata("design:type", Boolean)
|
|
55078
|
+
], CreateMJContentSourceInput.prototype, "ForceDiscovery", void 0);
|
|
55079
|
+
__decorate([
|
|
55080
|
+
Field({ nullable: true }),
|
|
55081
|
+
__metadata("design:type", Date)
|
|
55082
|
+
], CreateMJContentSourceInput.prototype, "LastDiscoveredAt", void 0);
|
|
55083
|
+
__decorate([
|
|
55084
|
+
Field({ nullable: true }),
|
|
55085
|
+
__metadata("design:type", Date)
|
|
55086
|
+
], CreateMJContentSourceInput.prototype, "LastSyncedAt", void 0);
|
|
52757
55087
|
__decorate([
|
|
52758
55088
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
52759
55089
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -52823,6 +55153,22 @@ __decorate([
|
|
|
52823
55153
|
Field({ nullable: true }),
|
|
52824
55154
|
__metadata("design:type", String)
|
|
52825
55155
|
], UpdateMJContentSourceInput.prototype, "ScheduledJobID", void 0);
|
|
55156
|
+
__decorate([
|
|
55157
|
+
Field({ nullable: true }),
|
|
55158
|
+
__metadata("design:type", String)
|
|
55159
|
+
], UpdateMJContentSourceInput.prototype, "FieldConfidence", void 0);
|
|
55160
|
+
__decorate([
|
|
55161
|
+
Field(() => Boolean, { nullable: true }),
|
|
55162
|
+
__metadata("design:type", Boolean)
|
|
55163
|
+
], UpdateMJContentSourceInput.prototype, "ForceDiscovery", void 0);
|
|
55164
|
+
__decorate([
|
|
55165
|
+
Field({ nullable: true }),
|
|
55166
|
+
__metadata("design:type", Date)
|
|
55167
|
+
], UpdateMJContentSourceInput.prototype, "LastDiscoveredAt", void 0);
|
|
55168
|
+
__decorate([
|
|
55169
|
+
Field({ nullable: true }),
|
|
55170
|
+
__metadata("design:type", Date)
|
|
55171
|
+
], UpdateMJContentSourceInput.prototype, "LastSyncedAt", void 0);
|
|
52826
55172
|
__decorate([
|
|
52827
55173
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
52828
55174
|
__metadata("design:type", Array)
|
|
@@ -53295,6 +55641,11 @@ __decorate([
|
|
|
53295
55641
|
MaxLength(100),
|
|
53296
55642
|
__metadata("design:type", String)
|
|
53297
55643
|
], MJContentType_.prototype, "CleanerKey", void 0);
|
|
55644
|
+
__decorate([
|
|
55645
|
+
Field({ nullable: true, description: "The default content extractor for items of this content type, beside SegmenterKey and CleanerKey. A per-type default has no home in a source's Configuration, and reading it from a run's Options would make it per-run." }),
|
|
55646
|
+
MaxLength(100),
|
|
55647
|
+
__metadata("design:type", String)
|
|
55648
|
+
], MJContentType_.prototype, "ExtractorKey", void 0);
|
|
53298
55649
|
__decorate([
|
|
53299
55650
|
Field({ nullable: true }),
|
|
53300
55651
|
MaxLength(50),
|
|
@@ -53367,6 +55718,10 @@ __decorate([
|
|
|
53367
55718
|
Field({ nullable: true }),
|
|
53368
55719
|
__metadata("design:type", String)
|
|
53369
55720
|
], CreateMJContentTypeInput.prototype, "CleanerKey", void 0);
|
|
55721
|
+
__decorate([
|
|
55722
|
+
Field({ nullable: true }),
|
|
55723
|
+
__metadata("design:type", String)
|
|
55724
|
+
], CreateMJContentTypeInput.prototype, "ExtractorKey", void 0);
|
|
53370
55725
|
__decorate([
|
|
53371
55726
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
53372
55727
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -53424,6 +55779,10 @@ __decorate([
|
|
|
53424
55779
|
Field({ nullable: true }),
|
|
53425
55780
|
__metadata("design:type", String)
|
|
53426
55781
|
], UpdateMJContentTypeInput.prototype, "CleanerKey", void 0);
|
|
55782
|
+
__decorate([
|
|
55783
|
+
Field({ nullable: true }),
|
|
55784
|
+
__metadata("design:type", String)
|
|
55785
|
+
], UpdateMJContentTypeInput.prototype, "ExtractorKey", void 0);
|
|
53427
55786
|
__decorate([
|
|
53428
55787
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
53429
55788
|
__metadata("design:type", Array)
|
|
@@ -61073,6 +63432,29 @@ __decorate([
|
|
|
61073
63432
|
MaxLength(36),
|
|
61074
63433
|
__metadata("design:type", String)
|
|
61075
63434
|
], MJDashboard_.prototype, "EnvironmentID", void 0);
|
|
63435
|
+
__decorate([
|
|
63436
|
+
Field({ nullable: true, description: "Whether this dashboard's definition is approved: Pending, Approved or Rejected. An approval is current only while ApprovedFingerprint matches the current definition." }),
|
|
63437
|
+
MaxLength(20),
|
|
63438
|
+
__metadata("design:type", String)
|
|
63439
|
+
], MJDashboard_.prototype, "ApprovalStatus", void 0);
|
|
63440
|
+
__decorate([
|
|
63441
|
+
Field({ nullable: true, description: "Reviewer comments recorded with the approval decision, such as the tests the definition passed." }),
|
|
63442
|
+
__metadata("design:type", String)
|
|
63443
|
+
], MJDashboard_.prototype, "ApprovalComments", void 0);
|
|
63444
|
+
__decorate([
|
|
63445
|
+
Field({ nullable: true, description: "The user who approved this dashboard." }),
|
|
63446
|
+
MaxLength(36),
|
|
63447
|
+
__metadata("design:type", String)
|
|
63448
|
+
], MJDashboard_.prototype, "ApprovedByUserID", void 0);
|
|
63449
|
+
__decorate([
|
|
63450
|
+
Field({ nullable: true, description: "When this dashboard was approved." }),
|
|
63451
|
+
__metadata("design:type", Date)
|
|
63452
|
+
], MJDashboard_.prototype, "ApprovedAt", void 0);
|
|
63453
|
+
__decorate([
|
|
63454
|
+
Field({ nullable: true, description: "SHA-256 fingerprint of the definition that was approved: its layout, parts, property mappings, wires and code. The approval is current only while this matches the fingerprint of the current definition." }),
|
|
63455
|
+
MaxLength(100),
|
|
63456
|
+
__metadata("design:type", String)
|
|
63457
|
+
], MJDashboard_.prototype, "ApprovedFingerprint", void 0);
|
|
61076
63458
|
__decorate([
|
|
61077
63459
|
Field({ nullable: true }),
|
|
61078
63460
|
MaxLength(100),
|
|
@@ -61093,6 +63475,11 @@ __decorate([
|
|
|
61093
63475
|
MaxLength(255),
|
|
61094
63476
|
__metadata("design:type", String)
|
|
61095
63477
|
], MJDashboard_.prototype, "Environment", void 0);
|
|
63478
|
+
__decorate([
|
|
63479
|
+
Field({ nullable: true }),
|
|
63480
|
+
MaxLength(100),
|
|
63481
|
+
__metadata("design:type", String)
|
|
63482
|
+
], MJDashboard_.prototype, "ApprovedByUser", void 0);
|
|
61096
63483
|
__decorate([
|
|
61097
63484
|
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
61098
63485
|
__metadata("design:type", Array)
|
|
@@ -61158,6 +63545,26 @@ __decorate([
|
|
|
61158
63545
|
Field({ nullable: true }),
|
|
61159
63546
|
__metadata("design:type", String)
|
|
61160
63547
|
], CreateMJDashboardInput.prototype, "EnvironmentID", void 0);
|
|
63548
|
+
__decorate([
|
|
63549
|
+
Field({ nullable: true }),
|
|
63550
|
+
__metadata("design:type", String)
|
|
63551
|
+
], CreateMJDashboardInput.prototype, "ApprovalStatus", void 0);
|
|
63552
|
+
__decorate([
|
|
63553
|
+
Field({ nullable: true }),
|
|
63554
|
+
__metadata("design:type", String)
|
|
63555
|
+
], CreateMJDashboardInput.prototype, "ApprovalComments", void 0);
|
|
63556
|
+
__decorate([
|
|
63557
|
+
Field({ nullable: true }),
|
|
63558
|
+
__metadata("design:type", String)
|
|
63559
|
+
], CreateMJDashboardInput.prototype, "ApprovedByUserID", void 0);
|
|
63560
|
+
__decorate([
|
|
63561
|
+
Field({ nullable: true }),
|
|
63562
|
+
__metadata("design:type", Date)
|
|
63563
|
+
], CreateMJDashboardInput.prototype, "ApprovedAt", void 0);
|
|
63564
|
+
__decorate([
|
|
63565
|
+
Field({ nullable: true }),
|
|
63566
|
+
__metadata("design:type", String)
|
|
63567
|
+
], CreateMJDashboardInput.prototype, "ApprovedFingerprint", void 0);
|
|
61161
63568
|
__decorate([
|
|
61162
63569
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
61163
63570
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -61223,6 +63630,26 @@ __decorate([
|
|
|
61223
63630
|
Field({ nullable: true }),
|
|
61224
63631
|
__metadata("design:type", String)
|
|
61225
63632
|
], UpdateMJDashboardInput.prototype, "EnvironmentID", void 0);
|
|
63633
|
+
__decorate([
|
|
63634
|
+
Field({ nullable: true }),
|
|
63635
|
+
__metadata("design:type", String)
|
|
63636
|
+
], UpdateMJDashboardInput.prototype, "ApprovalStatus", void 0);
|
|
63637
|
+
__decorate([
|
|
63638
|
+
Field({ nullable: true }),
|
|
63639
|
+
__metadata("design:type", String)
|
|
63640
|
+
], UpdateMJDashboardInput.prototype, "ApprovalComments", void 0);
|
|
63641
|
+
__decorate([
|
|
63642
|
+
Field({ nullable: true }),
|
|
63643
|
+
__metadata("design:type", String)
|
|
63644
|
+
], UpdateMJDashboardInput.prototype, "ApprovedByUserID", void 0);
|
|
63645
|
+
__decorate([
|
|
63646
|
+
Field({ nullable: true }),
|
|
63647
|
+
__metadata("design:type", Date)
|
|
63648
|
+
], UpdateMJDashboardInput.prototype, "ApprovedAt", void 0);
|
|
63649
|
+
__decorate([
|
|
63650
|
+
Field({ nullable: true }),
|
|
63651
|
+
__metadata("design:type", String)
|
|
63652
|
+
], UpdateMJDashboardInput.prototype, "ApprovedFingerprint", void 0);
|
|
61226
63653
|
__decorate([
|
|
61227
63654
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
61228
63655
|
__metadata("design:type", Array)
|
|
@@ -63415,6 +65842,11 @@ __decorate([
|
|
|
63415
65842
|
Field(() => Boolean, { nullable: true, description: "When set to 1, duplicate detection stops after the current batch. Used for pause/cancel." }),
|
|
63416
65843
|
__metadata("design:type", Boolean)
|
|
63417
65844
|
], MJDuplicateRun_.prototype, "CancellationRequested", void 0);
|
|
65845
|
+
__decorate([
|
|
65846
|
+
Field({ nullable: true, description: "The Entity Document this run used: its template, vectors, match thresholds and LLM reasoning settings produced the run's matches." }),
|
|
65847
|
+
MaxLength(36),
|
|
65848
|
+
__metadata("design:type", String)
|
|
65849
|
+
], MJDuplicateRun_.prototype, "EntityDocumentID", void 0);
|
|
63418
65850
|
__decorate([
|
|
63419
65851
|
Field({ nullable: true }),
|
|
63420
65852
|
MaxLength(255),
|
|
@@ -63435,6 +65867,11 @@ __decorate([
|
|
|
63435
65867
|
MaxLength(100),
|
|
63436
65868
|
__metadata("design:type", String)
|
|
63437
65869
|
], MJDuplicateRun_.prototype, "ApprovedByUser", void 0);
|
|
65870
|
+
__decorate([
|
|
65871
|
+
Field({ nullable: true }),
|
|
65872
|
+
MaxLength(250),
|
|
65873
|
+
__metadata("design:type", String)
|
|
65874
|
+
], MJDuplicateRun_.prototype, "EntityDocument", void 0);
|
|
63438
65875
|
__decorate([
|
|
63439
65876
|
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
63440
65877
|
__metadata("design:type", Array)
|
|
@@ -63512,6 +65949,10 @@ __decorate([
|
|
|
63512
65949
|
Field(() => Boolean, { nullable: true }),
|
|
63513
65950
|
__metadata("design:type", Boolean)
|
|
63514
65951
|
], CreateMJDuplicateRunInput.prototype, "CancellationRequested", void 0);
|
|
65952
|
+
__decorate([
|
|
65953
|
+
Field({ nullable: true }),
|
|
65954
|
+
__metadata("design:type", String)
|
|
65955
|
+
], CreateMJDuplicateRunInput.prototype, "EntityDocumentID", void 0);
|
|
63515
65956
|
__decorate([
|
|
63516
65957
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
63517
65958
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -63589,6 +66030,10 @@ __decorate([
|
|
|
63589
66030
|
Field(() => Boolean, { nullable: true }),
|
|
63590
66031
|
__metadata("design:type", Boolean)
|
|
63591
66032
|
], UpdateMJDuplicateRunInput.prototype, "CancellationRequested", void 0);
|
|
66033
|
+
__decorate([
|
|
66034
|
+
Field({ nullable: true }),
|
|
66035
|
+
__metadata("design:type", String)
|
|
66036
|
+
], UpdateMJDuplicateRunInput.prototype, "EntityDocumentID", void 0);
|
|
63592
66037
|
__decorate([
|
|
63593
66038
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
63594
66039
|
__metadata("design:type", Array)
|
|
@@ -68664,6 +71109,349 @@ MJEntityActionResolver = __decorate([
|
|
|
68664
71109
|
], MJEntityActionResolver);
|
|
68665
71110
|
export { MJEntityActionResolver };
|
|
68666
71111
|
//****************************************************************************
|
|
71112
|
+
// ENTITY CLASS for MJ: Entity Alternate Base Views
|
|
71113
|
+
//****************************************************************************
|
|
71114
|
+
let MJEntityAlternateBaseView_ = class MJEntityAlternateBaseView_ {
|
|
71115
|
+
};
|
|
71116
|
+
__decorate([
|
|
71117
|
+
Field(),
|
|
71118
|
+
MaxLength(36),
|
|
71119
|
+
__metadata("design:type", String)
|
|
71120
|
+
], MJEntityAlternateBaseView_.prototype, "ID", void 0);
|
|
71121
|
+
__decorate([
|
|
71122
|
+
Field({ nullable: true, description: "Owning entity whose column contract this alternate base view shares." }),
|
|
71123
|
+
MaxLength(36),
|
|
71124
|
+
__metadata("design:type", String)
|
|
71125
|
+
], MJEntityAlternateBaseView_.prototype, "EntityID", void 0);
|
|
71126
|
+
__decorate([
|
|
71127
|
+
Field({ nullable: true, description: "Optional parent alternate base view on the same entity that this view derives from (e.g. an Active Auto-Renew Members view built on top of Active Members). NULL when the view selects directly from the entity's BaseView. Automatically populated on save via SQL AST extraction when the view's FROM clause references another registered alternate base view." }),
|
|
71128
|
+
MaxLength(36),
|
|
71129
|
+
__metadata("design:type", String)
|
|
71130
|
+
], MJEntityAlternateBaseView_.prototype, "ParentID", void 0);
|
|
71131
|
+
__decorate([
|
|
71132
|
+
Field({ nullable: true, description: "Logical name of the alternate base view, unique per entity (case-insensitive). Cannot contain pipe (|) or colon (:) characters. Callers pass this name via RunViewParams.AlternateBaseView or pin it on a User View." }),
|
|
71133
|
+
MaxLength(100),
|
|
71134
|
+
__metadata("design:type", String)
|
|
71135
|
+
], MJEntityAlternateBaseView_.prototype, "Name", void 0);
|
|
71136
|
+
__decorate([
|
|
71137
|
+
Field({ nullable: true, description: "Human-friendly label shown in UI pickers and badges. Falls back to Name when NULL." }),
|
|
71138
|
+
MaxLength(255),
|
|
71139
|
+
__metadata("design:type", String)
|
|
71140
|
+
], MJEntityAlternateBaseView_.prototype, "DisplayName", void 0);
|
|
71141
|
+
__decorate([
|
|
71142
|
+
Field({ nullable: true, description: "Plain-language definition of which rows this alternate base view includes. Surfaced as help text in pickers and in agent and QueryGen discovery context." }),
|
|
71143
|
+
__metadata("design:type", String)
|
|
71144
|
+
], MJEntityAlternateBaseView_.prototype, "Description", void 0);
|
|
71145
|
+
__decorate([
|
|
71146
|
+
Field({ nullable: true, description: "Database schema of ViewName. When NULL, defaults to the owning entity's SchemaName. Cross-schema views allow an Open App to register an alternate view in its own schema on an upstream entity." }),
|
|
71147
|
+
MaxLength(255),
|
|
71148
|
+
__metadata("design:type", String)
|
|
71149
|
+
], MJEntityAlternateBaseView_.prototype, "SchemaName", void 0);
|
|
71150
|
+
__decorate([
|
|
71151
|
+
Field({ nullable: true, description: "Physical SQL view name in the database. Must select all columns from the owning entity's BaseView." }),
|
|
71152
|
+
MaxLength(255),
|
|
71153
|
+
__metadata("design:type", String)
|
|
71154
|
+
], MJEntityAlternateBaseView_.prototype, "ViewName", void 0);
|
|
71155
|
+
__decorate([
|
|
71156
|
+
Field({ nullable: true, description: "Controls RunView caching for this alternate view: Default caches results under an isolated abv: fingerprint segment and invalidates on entity writes; Bypass disables caching for views whose predicates depend on the clock or other tables." }),
|
|
71157
|
+
MaxLength(20),
|
|
71158
|
+
__metadata("design:type", String)
|
|
71159
|
+
], MJEntityAlternateBaseView_.prototype, "CachePolicy", void 0);
|
|
71160
|
+
__decorate([
|
|
71161
|
+
Field({ nullable: true, description: "Lifecycle status of the alternate view: Active (selectable and shown in pickers and agent context), Deprecated (executable with a warning, hidden from pickers and agents), or Disabled (rejected at runtime)." }),
|
|
71162
|
+
MaxLength(20),
|
|
71163
|
+
__metadata("design:type", String)
|
|
71164
|
+
], MJEntityAlternateBaseView_.prototype, "Status", void 0);
|
|
71165
|
+
__decorate([
|
|
71166
|
+
Field(() => Int, { nullable: true, description: "Display ordering of this alternate view within its owning entity (lower numbers appear first)." }),
|
|
71167
|
+
__metadata("design:type", Number)
|
|
71168
|
+
], MJEntityAlternateBaseView_.prototype, "Sequence", void 0);
|
|
71169
|
+
__decorate([
|
|
71170
|
+
Field(),
|
|
71171
|
+
__metadata("design:type", Date)
|
|
71172
|
+
], MJEntityAlternateBaseView_.prototype, "_mj__CreatedAt", void 0);
|
|
71173
|
+
__decorate([
|
|
71174
|
+
Field(),
|
|
71175
|
+
__metadata("design:type", Date)
|
|
71176
|
+
], MJEntityAlternateBaseView_.prototype, "_mj__UpdatedAt", void 0);
|
|
71177
|
+
__decorate([
|
|
71178
|
+
Field({ nullable: true }),
|
|
71179
|
+
MaxLength(255),
|
|
71180
|
+
__metadata("design:type", String)
|
|
71181
|
+
], MJEntityAlternateBaseView_.prototype, "Entity", void 0);
|
|
71182
|
+
__decorate([
|
|
71183
|
+
Field({ nullable: true }),
|
|
71184
|
+
MaxLength(100),
|
|
71185
|
+
__metadata("design:type", String)
|
|
71186
|
+
], MJEntityAlternateBaseView_.prototype, "Parent", void 0);
|
|
71187
|
+
__decorate([
|
|
71188
|
+
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
71189
|
+
__metadata("design:type", Array)
|
|
71190
|
+
], MJEntityAlternateBaseView_.prototype, "ReadableFields___", void 0);
|
|
71191
|
+
MJEntityAlternateBaseView_ = __decorate([
|
|
71192
|
+
ObjectType({ description: "Registers alternate base views for an entity: SQL views that expose the same columns as the entity's BaseView while returning a canonical row subset (such as Active Members or Open Orders)." })
|
|
71193
|
+
], MJEntityAlternateBaseView_);
|
|
71194
|
+
export { MJEntityAlternateBaseView_ };
|
|
71195
|
+
//****************************************************************************
|
|
71196
|
+
// INPUT TYPE for MJ: Entity Alternate Base Views
|
|
71197
|
+
//****************************************************************************
|
|
71198
|
+
let CreateMJEntityAlternateBaseViewInput = class CreateMJEntityAlternateBaseViewInput {
|
|
71199
|
+
};
|
|
71200
|
+
__decorate([
|
|
71201
|
+
Field({ nullable: true }),
|
|
71202
|
+
__metadata("design:type", String)
|
|
71203
|
+
], CreateMJEntityAlternateBaseViewInput.prototype, "ID", void 0);
|
|
71204
|
+
__decorate([
|
|
71205
|
+
Field({ nullable: true }),
|
|
71206
|
+
__metadata("design:type", String)
|
|
71207
|
+
], CreateMJEntityAlternateBaseViewInput.prototype, "EntityID", void 0);
|
|
71208
|
+
__decorate([
|
|
71209
|
+
Field({ nullable: true }),
|
|
71210
|
+
__metadata("design:type", String)
|
|
71211
|
+
], CreateMJEntityAlternateBaseViewInput.prototype, "ParentID", void 0);
|
|
71212
|
+
__decorate([
|
|
71213
|
+
Field({ nullable: true }),
|
|
71214
|
+
__metadata("design:type", String)
|
|
71215
|
+
], CreateMJEntityAlternateBaseViewInput.prototype, "Name", void 0);
|
|
71216
|
+
__decorate([
|
|
71217
|
+
Field({ nullable: true }),
|
|
71218
|
+
__metadata("design:type", String)
|
|
71219
|
+
], CreateMJEntityAlternateBaseViewInput.prototype, "DisplayName", void 0);
|
|
71220
|
+
__decorate([
|
|
71221
|
+
Field({ nullable: true }),
|
|
71222
|
+
__metadata("design:type", String)
|
|
71223
|
+
], CreateMJEntityAlternateBaseViewInput.prototype, "Description", void 0);
|
|
71224
|
+
__decorate([
|
|
71225
|
+
Field({ nullable: true }),
|
|
71226
|
+
__metadata("design:type", String)
|
|
71227
|
+
], CreateMJEntityAlternateBaseViewInput.prototype, "SchemaName", void 0);
|
|
71228
|
+
__decorate([
|
|
71229
|
+
Field({ nullable: true }),
|
|
71230
|
+
__metadata("design:type", String)
|
|
71231
|
+
], CreateMJEntityAlternateBaseViewInput.prototype, "ViewName", void 0);
|
|
71232
|
+
__decorate([
|
|
71233
|
+
Field({ nullable: true }),
|
|
71234
|
+
__metadata("design:type", String)
|
|
71235
|
+
], CreateMJEntityAlternateBaseViewInput.prototype, "CachePolicy", void 0);
|
|
71236
|
+
__decorate([
|
|
71237
|
+
Field({ nullable: true }),
|
|
71238
|
+
__metadata("design:type", String)
|
|
71239
|
+
], CreateMJEntityAlternateBaseViewInput.prototype, "Status", void 0);
|
|
71240
|
+
__decorate([
|
|
71241
|
+
Field(() => Int, { nullable: true }),
|
|
71242
|
+
__metadata("design:type", Number)
|
|
71243
|
+
], CreateMJEntityAlternateBaseViewInput.prototype, "Sequence", void 0);
|
|
71244
|
+
__decorate([
|
|
71245
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
71246
|
+
__metadata("design:type", RestoreContextInput)
|
|
71247
|
+
], CreateMJEntityAlternateBaseViewInput.prototype, "RestoreContext___", void 0);
|
|
71248
|
+
CreateMJEntityAlternateBaseViewInput = __decorate([
|
|
71249
|
+
InputType()
|
|
71250
|
+
], CreateMJEntityAlternateBaseViewInput);
|
|
71251
|
+
export { CreateMJEntityAlternateBaseViewInput };
|
|
71252
|
+
//****************************************************************************
|
|
71253
|
+
// INPUT TYPE for MJ: Entity Alternate Base Views
|
|
71254
|
+
//****************************************************************************
|
|
71255
|
+
let UpdateMJEntityAlternateBaseViewInput = class UpdateMJEntityAlternateBaseViewInput {
|
|
71256
|
+
};
|
|
71257
|
+
__decorate([
|
|
71258
|
+
Field(),
|
|
71259
|
+
__metadata("design:type", String)
|
|
71260
|
+
], UpdateMJEntityAlternateBaseViewInput.prototype, "ID", void 0);
|
|
71261
|
+
__decorate([
|
|
71262
|
+
Field({ nullable: true }),
|
|
71263
|
+
__metadata("design:type", String)
|
|
71264
|
+
], UpdateMJEntityAlternateBaseViewInput.prototype, "EntityID", void 0);
|
|
71265
|
+
__decorate([
|
|
71266
|
+
Field({ nullable: true }),
|
|
71267
|
+
__metadata("design:type", String)
|
|
71268
|
+
], UpdateMJEntityAlternateBaseViewInput.prototype, "ParentID", void 0);
|
|
71269
|
+
__decorate([
|
|
71270
|
+
Field({ nullable: true }),
|
|
71271
|
+
__metadata("design:type", String)
|
|
71272
|
+
], UpdateMJEntityAlternateBaseViewInput.prototype, "Name", void 0);
|
|
71273
|
+
__decorate([
|
|
71274
|
+
Field({ nullable: true }),
|
|
71275
|
+
__metadata("design:type", String)
|
|
71276
|
+
], UpdateMJEntityAlternateBaseViewInput.prototype, "DisplayName", void 0);
|
|
71277
|
+
__decorate([
|
|
71278
|
+
Field({ nullable: true }),
|
|
71279
|
+
__metadata("design:type", String)
|
|
71280
|
+
], UpdateMJEntityAlternateBaseViewInput.prototype, "Description", void 0);
|
|
71281
|
+
__decorate([
|
|
71282
|
+
Field({ nullable: true }),
|
|
71283
|
+
__metadata("design:type", String)
|
|
71284
|
+
], UpdateMJEntityAlternateBaseViewInput.prototype, "SchemaName", void 0);
|
|
71285
|
+
__decorate([
|
|
71286
|
+
Field({ nullable: true }),
|
|
71287
|
+
__metadata("design:type", String)
|
|
71288
|
+
], UpdateMJEntityAlternateBaseViewInput.prototype, "ViewName", void 0);
|
|
71289
|
+
__decorate([
|
|
71290
|
+
Field({ nullable: true }),
|
|
71291
|
+
__metadata("design:type", String)
|
|
71292
|
+
], UpdateMJEntityAlternateBaseViewInput.prototype, "CachePolicy", void 0);
|
|
71293
|
+
__decorate([
|
|
71294
|
+
Field({ nullable: true }),
|
|
71295
|
+
__metadata("design:type", String)
|
|
71296
|
+
], UpdateMJEntityAlternateBaseViewInput.prototype, "Status", void 0);
|
|
71297
|
+
__decorate([
|
|
71298
|
+
Field(() => Int, { nullable: true }),
|
|
71299
|
+
__metadata("design:type", Number)
|
|
71300
|
+
], UpdateMJEntityAlternateBaseViewInput.prototype, "Sequence", void 0);
|
|
71301
|
+
__decorate([
|
|
71302
|
+
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
71303
|
+
__metadata("design:type", Array)
|
|
71304
|
+
], UpdateMJEntityAlternateBaseViewInput.prototype, "OldValues___", void 0);
|
|
71305
|
+
__decorate([
|
|
71306
|
+
Field(() => RestoreContextInput, { nullable: true }),
|
|
71307
|
+
__metadata("design:type", RestoreContextInput)
|
|
71308
|
+
], UpdateMJEntityAlternateBaseViewInput.prototype, "RestoreContext___", void 0);
|
|
71309
|
+
UpdateMJEntityAlternateBaseViewInput = __decorate([
|
|
71310
|
+
InputType()
|
|
71311
|
+
], UpdateMJEntityAlternateBaseViewInput);
|
|
71312
|
+
export { UpdateMJEntityAlternateBaseViewInput };
|
|
71313
|
+
//****************************************************************************
|
|
71314
|
+
// RESOLVER for MJ: Entity Alternate Base Views
|
|
71315
|
+
//****************************************************************************
|
|
71316
|
+
let RunMJEntityAlternateBaseViewViewResult = class RunMJEntityAlternateBaseViewViewResult {
|
|
71317
|
+
};
|
|
71318
|
+
__decorate([
|
|
71319
|
+
Field(() => [MJEntityAlternateBaseView_]),
|
|
71320
|
+
__metadata("design:type", Array)
|
|
71321
|
+
], RunMJEntityAlternateBaseViewViewResult.prototype, "Results", void 0);
|
|
71322
|
+
__decorate([
|
|
71323
|
+
Field(() => String, { nullable: true }),
|
|
71324
|
+
__metadata("design:type", String)
|
|
71325
|
+
], RunMJEntityAlternateBaseViewViewResult.prototype, "UserViewRunID", void 0);
|
|
71326
|
+
__decorate([
|
|
71327
|
+
Field(() => Int, { nullable: true }),
|
|
71328
|
+
__metadata("design:type", Number)
|
|
71329
|
+
], RunMJEntityAlternateBaseViewViewResult.prototype, "RowCount", void 0);
|
|
71330
|
+
__decorate([
|
|
71331
|
+
Field(() => Int, { nullable: true }),
|
|
71332
|
+
__metadata("design:type", Number)
|
|
71333
|
+
], RunMJEntityAlternateBaseViewViewResult.prototype, "TotalRowCount", void 0);
|
|
71334
|
+
__decorate([
|
|
71335
|
+
Field(() => Int, { nullable: true }),
|
|
71336
|
+
__metadata("design:type", Number)
|
|
71337
|
+
], RunMJEntityAlternateBaseViewViewResult.prototype, "ExecutionTime", void 0);
|
|
71338
|
+
__decorate([
|
|
71339
|
+
Field({ nullable: true }),
|
|
71340
|
+
__metadata("design:type", String)
|
|
71341
|
+
], RunMJEntityAlternateBaseViewViewResult.prototype, "ErrorMessage", void 0);
|
|
71342
|
+
__decorate([
|
|
71343
|
+
Field(() => Boolean, { nullable: false }),
|
|
71344
|
+
__metadata("design:type", Boolean)
|
|
71345
|
+
], RunMJEntityAlternateBaseViewViewResult.prototype, "Success", void 0);
|
|
71346
|
+
RunMJEntityAlternateBaseViewViewResult = __decorate([
|
|
71347
|
+
ObjectType()
|
|
71348
|
+
], RunMJEntityAlternateBaseViewViewResult);
|
|
71349
|
+
export { RunMJEntityAlternateBaseViewViewResult };
|
|
71350
|
+
let MJEntityAlternateBaseViewResolver = class MJEntityAlternateBaseViewResolver extends ResolverBase {
|
|
71351
|
+
async RunMJEntityAlternateBaseViewViewByID(input, { providers, userPayload }, pubSub) {
|
|
71352
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
71353
|
+
return super.RunViewByIDGeneric(input, provider, userPayload, pubSub);
|
|
71354
|
+
}
|
|
71355
|
+
async RunMJEntityAlternateBaseViewViewByName(input, { providers, userPayload }, pubSub) {
|
|
71356
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
71357
|
+
return super.RunViewByNameGeneric(input, provider, userPayload, pubSub);
|
|
71358
|
+
}
|
|
71359
|
+
async RunMJEntityAlternateBaseViewDynamicView(input, { providers, userPayload }, pubSub) {
|
|
71360
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
71361
|
+
input.EntityName = 'MJ: Entity Alternate Base Views';
|
|
71362
|
+
return super.RunDynamicViewGeneric(input, provider, userPayload, pubSub);
|
|
71363
|
+
}
|
|
71364
|
+
async MJEntityAlternateBaseView(ID, { userPayload, providers }, pubSub) {
|
|
71365
|
+
this.CheckUserReadPermissions('MJ: Entity Alternate Base Views', userPayload);
|
|
71366
|
+
const provider = GetReadOnlyProvider(providers, { allowFallbackToReadWrite: true });
|
|
71367
|
+
const sSQL = `SELECT * FROM ${provider.QuoteSchemaAndView(Metadata.Provider.ConfigData.MJCoreSchemaName, 'vwEntityAlternateBaseViews')} WHERE ${provider.QuoteIdentifier('ID')}=${provider.BuildParameterPlaceholder(0)} ` + this.getRowLevelSecurityWhereClause(provider, 'MJ: Entity Alternate Base Views', userPayload, EntityPermissionType.Read, 'AND');
|
|
71368
|
+
const rows = await provider.ExecuteSQL(sSQL, [ID], undefined, this.GetUserFromPayload(userPayload));
|
|
71369
|
+
const result = await this.MapFieldNamesToCodeNames('MJ: Entity Alternate Base Views', rows && rows.length > 0 ? rows[0] : null, this.GetUserFromPayload(userPayload));
|
|
71370
|
+
return result;
|
|
71371
|
+
}
|
|
71372
|
+
async CreateMJEntityAlternateBaseView(input, { providers, userPayload }, pubSub) {
|
|
71373
|
+
const provider = GetReadWriteProvider(providers);
|
|
71374
|
+
return this.CreateRecord('MJ: Entity Alternate Base Views', input, provider, userPayload, pubSub);
|
|
71375
|
+
}
|
|
71376
|
+
async UpdateMJEntityAlternateBaseView(input, { providers, userPayload }, pubSub) {
|
|
71377
|
+
const provider = GetReadWriteProvider(providers);
|
|
71378
|
+
return this.UpdateRecord('MJ: Entity Alternate Base Views', input, provider, userPayload, pubSub);
|
|
71379
|
+
}
|
|
71380
|
+
async DeleteMJEntityAlternateBaseView(ID, options, { providers, userPayload }, pubSub) {
|
|
71381
|
+
const provider = GetReadWriteProvider(providers);
|
|
71382
|
+
const key = new CompositeKey([{ FieldName: 'ID', Value: ID }]);
|
|
71383
|
+
return this.DeleteRecord('MJ: Entity Alternate Base Views', key, options, provider, userPayload, pubSub);
|
|
71384
|
+
}
|
|
71385
|
+
};
|
|
71386
|
+
__decorate([
|
|
71387
|
+
Query(() => RunMJEntityAlternateBaseViewViewResult),
|
|
71388
|
+
__param(0, Arg('input', () => RunViewByIDInput)),
|
|
71389
|
+
__param(1, Ctx()),
|
|
71390
|
+
__param(2, PubSub()),
|
|
71391
|
+
__metadata("design:type", Function),
|
|
71392
|
+
__metadata("design:paramtypes", [RunViewByIDInput, Object, PubSubEngine]),
|
|
71393
|
+
__metadata("design:returntype", Promise)
|
|
71394
|
+
], MJEntityAlternateBaseViewResolver.prototype, "RunMJEntityAlternateBaseViewViewByID", null);
|
|
71395
|
+
__decorate([
|
|
71396
|
+
Query(() => RunMJEntityAlternateBaseViewViewResult),
|
|
71397
|
+
__param(0, Arg('input', () => RunViewByNameInput)),
|
|
71398
|
+
__param(1, Ctx()),
|
|
71399
|
+
__param(2, PubSub()),
|
|
71400
|
+
__metadata("design:type", Function),
|
|
71401
|
+
__metadata("design:paramtypes", [RunViewByNameInput, Object, PubSubEngine]),
|
|
71402
|
+
__metadata("design:returntype", Promise)
|
|
71403
|
+
], MJEntityAlternateBaseViewResolver.prototype, "RunMJEntityAlternateBaseViewViewByName", null);
|
|
71404
|
+
__decorate([
|
|
71405
|
+
Query(() => RunMJEntityAlternateBaseViewViewResult),
|
|
71406
|
+
__param(0, Arg('input', () => RunDynamicViewInput)),
|
|
71407
|
+
__param(1, Ctx()),
|
|
71408
|
+
__param(2, PubSub()),
|
|
71409
|
+
__metadata("design:type", Function),
|
|
71410
|
+
__metadata("design:paramtypes", [RunDynamicViewInput, Object, PubSubEngine]),
|
|
71411
|
+
__metadata("design:returntype", Promise)
|
|
71412
|
+
], MJEntityAlternateBaseViewResolver.prototype, "RunMJEntityAlternateBaseViewDynamicView", null);
|
|
71413
|
+
__decorate([
|
|
71414
|
+
Query(() => MJEntityAlternateBaseView_, { nullable: true }),
|
|
71415
|
+
__param(0, Arg('ID', () => String)),
|
|
71416
|
+
__param(1, Ctx()),
|
|
71417
|
+
__param(2, PubSub()),
|
|
71418
|
+
__metadata("design:type", Function),
|
|
71419
|
+
__metadata("design:paramtypes", [String, Object, PubSubEngine]),
|
|
71420
|
+
__metadata("design:returntype", Promise)
|
|
71421
|
+
], MJEntityAlternateBaseViewResolver.prototype, "MJEntityAlternateBaseView", null);
|
|
71422
|
+
__decorate([
|
|
71423
|
+
Mutation(() => MJEntityAlternateBaseView_),
|
|
71424
|
+
__param(0, Arg('input', () => CreateMJEntityAlternateBaseViewInput)),
|
|
71425
|
+
__param(1, Ctx()),
|
|
71426
|
+
__param(2, PubSub()),
|
|
71427
|
+
__metadata("design:type", Function),
|
|
71428
|
+
__metadata("design:paramtypes", [CreateMJEntityAlternateBaseViewInput, Object, PubSubEngine]),
|
|
71429
|
+
__metadata("design:returntype", Promise)
|
|
71430
|
+
], MJEntityAlternateBaseViewResolver.prototype, "CreateMJEntityAlternateBaseView", null);
|
|
71431
|
+
__decorate([
|
|
71432
|
+
Mutation(() => MJEntityAlternateBaseView_),
|
|
71433
|
+
__param(0, Arg('input', () => UpdateMJEntityAlternateBaseViewInput)),
|
|
71434
|
+
__param(1, Ctx()),
|
|
71435
|
+
__param(2, PubSub()),
|
|
71436
|
+
__metadata("design:type", Function),
|
|
71437
|
+
__metadata("design:paramtypes", [UpdateMJEntityAlternateBaseViewInput, Object, PubSubEngine]),
|
|
71438
|
+
__metadata("design:returntype", Promise)
|
|
71439
|
+
], MJEntityAlternateBaseViewResolver.prototype, "UpdateMJEntityAlternateBaseView", null);
|
|
71440
|
+
__decorate([
|
|
71441
|
+
Mutation(() => MJEntityAlternateBaseView_),
|
|
71442
|
+
__param(0, Arg('ID', () => String)),
|
|
71443
|
+
__param(1, Arg('options___', () => DeleteOptionsInput)),
|
|
71444
|
+
__param(2, Ctx()),
|
|
71445
|
+
__param(3, PubSub()),
|
|
71446
|
+
__metadata("design:type", Function),
|
|
71447
|
+
__metadata("design:paramtypes", [String, DeleteOptionsInput, Object, PubSubEngine]),
|
|
71448
|
+
__metadata("design:returntype", Promise)
|
|
71449
|
+
], MJEntityAlternateBaseViewResolver.prototype, "DeleteMJEntityAlternateBaseView", null);
|
|
71450
|
+
MJEntityAlternateBaseViewResolver = __decorate([
|
|
71451
|
+
Resolver(MJEntityAlternateBaseView_)
|
|
71452
|
+
], MJEntityAlternateBaseViewResolver);
|
|
71453
|
+
export { MJEntityAlternateBaseViewResolver };
|
|
71454
|
+
//****************************************************************************
|
|
68667
71455
|
// ENTITY CLASS for MJ: Entity Communication Fields
|
|
68668
71456
|
//****************************************************************************
|
|
68669
71457
|
let MJEntityCommunicationField_ = class MJEntityCommunicationField_ {
|
|
@@ -102589,6 +105377,24 @@ __decorate([
|
|
|
102589
105377
|
Field({ nullable: true, description: "The query embedding as little-endian IEEE-754 float32 bytes (4 bytes per dimension): the compact form of EmbeddingVector. Written alongside EmbeddingVector; readers prefer it and fall back to EmbeddingVector when it is NULL." }),
|
|
102590
105378
|
__metadata("design:type", String)
|
|
102591
105379
|
], MJQuery_.prototype, "EmbeddingVectorBinary", void 0);
|
|
105380
|
+
__decorate([
|
|
105381
|
+
Field({ nullable: true, description: "Reviewer comments recorded with the approval decision, such as the tests the definition passed." }),
|
|
105382
|
+
__metadata("design:type", String)
|
|
105383
|
+
], MJQuery_.prototype, "ApprovalComments", void 0);
|
|
105384
|
+
__decorate([
|
|
105385
|
+
Field({ nullable: true, description: "The user who approved this query." }),
|
|
105386
|
+
MaxLength(36),
|
|
105387
|
+
__metadata("design:type", String)
|
|
105388
|
+
], MJQuery_.prototype, "ApprovedByUserID", void 0);
|
|
105389
|
+
__decorate([
|
|
105390
|
+
Field({ nullable: true, description: "When this query was approved." }),
|
|
105391
|
+
__metadata("design:type", Date)
|
|
105392
|
+
], MJQuery_.prototype, "ApprovedAt", void 0);
|
|
105393
|
+
__decorate([
|
|
105394
|
+
Field({ nullable: true, description: "SHA-256 fingerprint of the definition that was approved: its SQL, dialect variants and parameter contract. The approval is current only while this matches the fingerprint of the current definition." }),
|
|
105395
|
+
MaxLength(100),
|
|
105396
|
+
__metadata("design:type", String)
|
|
105397
|
+
], MJQuery_.prototype, "ApprovedFingerprint", void 0);
|
|
102592
105398
|
__decorate([
|
|
102593
105399
|
Field({ nullable: true }),
|
|
102594
105400
|
MaxLength(50),
|
|
@@ -102609,6 +105415,11 @@ __decorate([
|
|
|
102609
105415
|
MaxLength(100),
|
|
102610
105416
|
__metadata("design:type", String)
|
|
102611
105417
|
], MJQuery_.prototype, "ExternalDataSource", void 0);
|
|
105418
|
+
__decorate([
|
|
105419
|
+
Field({ nullable: true }),
|
|
105420
|
+
MaxLength(100),
|
|
105421
|
+
__metadata("design:type", String)
|
|
105422
|
+
], MJQuery_.prototype, "ApprovedByUser", void 0);
|
|
102612
105423
|
__decorate([
|
|
102613
105424
|
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
102614
105425
|
__metadata("design:type", Array)
|
|
@@ -102726,6 +105537,22 @@ __decorate([
|
|
|
102726
105537
|
Field({ nullable: true }),
|
|
102727
105538
|
__metadata("design:type", String)
|
|
102728
105539
|
], CreateMJQueryInput.prototype, "EmbeddingVectorBinary", void 0);
|
|
105540
|
+
__decorate([
|
|
105541
|
+
Field({ nullable: true }),
|
|
105542
|
+
__metadata("design:type", String)
|
|
105543
|
+
], CreateMJQueryInput.prototype, "ApprovalComments", void 0);
|
|
105544
|
+
__decorate([
|
|
105545
|
+
Field({ nullable: true }),
|
|
105546
|
+
__metadata("design:type", String)
|
|
105547
|
+
], CreateMJQueryInput.prototype, "ApprovedByUserID", void 0);
|
|
105548
|
+
__decorate([
|
|
105549
|
+
Field({ nullable: true }),
|
|
105550
|
+
__metadata("design:type", Date)
|
|
105551
|
+
], CreateMJQueryInput.prototype, "ApprovedAt", void 0);
|
|
105552
|
+
__decorate([
|
|
105553
|
+
Field({ nullable: true }),
|
|
105554
|
+
__metadata("design:type", String)
|
|
105555
|
+
], CreateMJQueryInput.prototype, "ApprovedFingerprint", void 0);
|
|
102729
105556
|
__decorate([
|
|
102730
105557
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
102731
105558
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -102843,6 +105670,22 @@ __decorate([
|
|
|
102843
105670
|
Field({ nullable: true }),
|
|
102844
105671
|
__metadata("design:type", String)
|
|
102845
105672
|
], UpdateMJQueryInput.prototype, "EmbeddingVectorBinary", void 0);
|
|
105673
|
+
__decorate([
|
|
105674
|
+
Field({ nullable: true }),
|
|
105675
|
+
__metadata("design:type", String)
|
|
105676
|
+
], UpdateMJQueryInput.prototype, "ApprovalComments", void 0);
|
|
105677
|
+
__decorate([
|
|
105678
|
+
Field({ nullable: true }),
|
|
105679
|
+
__metadata("design:type", String)
|
|
105680
|
+
], UpdateMJQueryInput.prototype, "ApprovedByUserID", void 0);
|
|
105681
|
+
__decorate([
|
|
105682
|
+
Field({ nullable: true }),
|
|
105683
|
+
__metadata("design:type", Date)
|
|
105684
|
+
], UpdateMJQueryInput.prototype, "ApprovedAt", void 0);
|
|
105685
|
+
__decorate([
|
|
105686
|
+
Field({ nullable: true }),
|
|
105687
|
+
__metadata("design:type", String)
|
|
105688
|
+
], UpdateMJQueryInput.prototype, "ApprovedFingerprint", void 0);
|
|
102846
105689
|
__decorate([
|
|
102847
105690
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
102848
105691
|
__metadata("design:type", Array)
|
|
@@ -103660,6 +106503,11 @@ __decorate([
|
|
|
103660
106503
|
Field(() => Float, { nullable: true, description: "Confidence score (0.00-1.00) indicating how certain the AI was that this entity is actually used in the query. Only populated when DetectionMethod=\"AI\". Considers factors like: direct table references vs indirect joins, clear entity names vs ambiguous aliases, and context from the query purpose. Lower scores might indicate the entity is only peripherally involved or the detection was uncertain." }),
|
|
103661
106504
|
__metadata("design:type", Number)
|
|
103662
106505
|
], MJQueryEntity_.prototype, "AutoDetectConfidenceScore", void 0);
|
|
106506
|
+
__decorate([
|
|
106507
|
+
Field({ nullable: true, description: "When this query references an alternate base view rather than the entity's primary BaseView, records the specific MJ: Entity Alternate Base Views row while EntityID continues to reference the owning entity." }),
|
|
106508
|
+
MaxLength(36),
|
|
106509
|
+
__metadata("design:type", String)
|
|
106510
|
+
], MJQueryEntity_.prototype, "AlternateBaseViewID", void 0);
|
|
103663
106511
|
__decorate([
|
|
103664
106512
|
Field({ nullable: true }),
|
|
103665
106513
|
MaxLength(255),
|
|
@@ -103670,6 +106518,11 @@ __decorate([
|
|
|
103670
106518
|
MaxLength(255),
|
|
103671
106519
|
__metadata("design:type", String)
|
|
103672
106520
|
], MJQueryEntity_.prototype, "Entity", void 0);
|
|
106521
|
+
__decorate([
|
|
106522
|
+
Field({ nullable: true }),
|
|
106523
|
+
MaxLength(100),
|
|
106524
|
+
__metadata("design:type", String)
|
|
106525
|
+
], MJQueryEntity_.prototype, "AlternateBaseView", void 0);
|
|
103673
106526
|
__decorate([
|
|
103674
106527
|
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
103675
106528
|
__metadata("design:type", Array)
|
|
@@ -103703,6 +106556,10 @@ __decorate([
|
|
|
103703
106556
|
Field(() => Float, { nullable: true }),
|
|
103704
106557
|
__metadata("design:type", Number)
|
|
103705
106558
|
], CreateMJQueryEntityInput.prototype, "AutoDetectConfidenceScore", void 0);
|
|
106559
|
+
__decorate([
|
|
106560
|
+
Field({ nullable: true }),
|
|
106561
|
+
__metadata("design:type", String)
|
|
106562
|
+
], CreateMJQueryEntityInput.prototype, "AlternateBaseViewID", void 0);
|
|
103706
106563
|
__decorate([
|
|
103707
106564
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
103708
106565
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -103736,6 +106593,10 @@ __decorate([
|
|
|
103736
106593
|
Field(() => Float, { nullable: true }),
|
|
103737
106594
|
__metadata("design:type", Number)
|
|
103738
106595
|
], UpdateMJQueryEntityInput.prototype, "AutoDetectConfidenceScore", void 0);
|
|
106596
|
+
__decorate([
|
|
106597
|
+
Field({ nullable: true }),
|
|
106598
|
+
__metadata("design:type", String)
|
|
106599
|
+
], UpdateMJQueryEntityInput.prototype, "AlternateBaseViewID", void 0);
|
|
103739
106600
|
__decorate([
|
|
103740
106601
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
103741
106602
|
__metadata("design:type", Array)
|
|
@@ -104341,6 +107202,10 @@ __decorate([
|
|
|
104341
107202
|
Field(),
|
|
104342
107203
|
__metadata("design:type", Date)
|
|
104343
107204
|
], MJQueryParameter_.prototype, "_mj__UpdatedAt", void 0);
|
|
107205
|
+
__decorate([
|
|
107206
|
+
Field(() => Boolean, { nullable: true, description: "When true, only server code may supply this parameter's value (RunQueryParams.ServerParameters). A value for it from a client is refused." }),
|
|
107207
|
+
__metadata("design:type", Boolean)
|
|
107208
|
+
], MJQueryParameter_.prototype, "IsServerSet", void 0);
|
|
104344
107209
|
__decorate([
|
|
104345
107210
|
Field({ nullable: true }),
|
|
104346
107211
|
MaxLength(255),
|
|
@@ -104403,6 +107268,10 @@ __decorate([
|
|
|
104403
107268
|
Field(() => Float, { nullable: true }),
|
|
104404
107269
|
__metadata("design:type", Number)
|
|
104405
107270
|
], CreateMJQueryParameterInput.prototype, "AutoDetectConfidenceScore", void 0);
|
|
107271
|
+
__decorate([
|
|
107272
|
+
Field(() => Boolean, { nullable: true }),
|
|
107273
|
+
__metadata("design:type", Boolean)
|
|
107274
|
+
], CreateMJQueryParameterInput.prototype, "IsServerSet", void 0);
|
|
104406
107275
|
__decorate([
|
|
104407
107276
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
104408
107277
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -104460,6 +107329,10 @@ __decorate([
|
|
|
104460
107329
|
Field(() => Float, { nullable: true }),
|
|
104461
107330
|
__metadata("design:type", Number)
|
|
104462
107331
|
], UpdateMJQueryParameterInput.prototype, "AutoDetectConfidenceScore", void 0);
|
|
107332
|
+
__decorate([
|
|
107333
|
+
Field(() => Boolean, { nullable: true }),
|
|
107334
|
+
__metadata("design:type", Boolean)
|
|
107335
|
+
], UpdateMJQueryParameterInput.prototype, "IsServerSet", void 0);
|
|
104463
107336
|
__decorate([
|
|
104464
107337
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
104465
107338
|
__metadata("design:type", Array)
|
|
@@ -139111,6 +141984,33 @@ __decorate([
|
|
|
139111
141984
|
MaxLength(36),
|
|
139112
141985
|
__metadata("design:type", String)
|
|
139113
141986
|
], MJUserView_.prototype, "ViewTypeID", void 0);
|
|
141987
|
+
__decorate([
|
|
141988
|
+
Field({ nullable: true, description: "JSON array of the view's declared properties: named, typed inputs, each of which adds one predicate on a target field when a run gives it a value or it has a default. A property with AllowOverride false may be set only by server code. Null for a view with no properties." }),
|
|
141989
|
+
__metadata("design:type", String)
|
|
141990
|
+
], MJUserView_.prototype, "Properties", void 0);
|
|
141991
|
+
__decorate([
|
|
141992
|
+
Field({ nullable: true, description: "Whether this view's definition is approved: Pending, Approved or Rejected. An approval is current only while ApprovedFingerprint matches the current definition." }),
|
|
141993
|
+
MaxLength(20),
|
|
141994
|
+
__metadata("design:type", String)
|
|
141995
|
+
], MJUserView_.prototype, "ApprovalStatus", void 0);
|
|
141996
|
+
__decorate([
|
|
141997
|
+
Field({ nullable: true, description: "Reviewer comments recorded with the approval decision, such as the tests the definition passed." }),
|
|
141998
|
+
__metadata("design:type", String)
|
|
141999
|
+
], MJUserView_.prototype, "ApprovalComments", void 0);
|
|
142000
|
+
__decorate([
|
|
142001
|
+
Field({ nullable: true, description: "The user who approved this view." }),
|
|
142002
|
+
MaxLength(36),
|
|
142003
|
+
__metadata("design:type", String)
|
|
142004
|
+
], MJUserView_.prototype, "ApprovedByUserID", void 0);
|
|
142005
|
+
__decorate([
|
|
142006
|
+
Field({ nullable: true, description: "When this view was approved." }),
|
|
142007
|
+
__metadata("design:type", Date)
|
|
142008
|
+
], MJUserView_.prototype, "ApprovedAt", void 0);
|
|
142009
|
+
__decorate([
|
|
142010
|
+
Field({ nullable: true, description: "SHA-256 fingerprint of the definition that was approved: its entity, filters and properties. The approval is current only while this matches the fingerprint of the current definition." }),
|
|
142011
|
+
MaxLength(100),
|
|
142012
|
+
__metadata("design:type", String)
|
|
142013
|
+
], MJUserView_.prototype, "ApprovedFingerprint", void 0);
|
|
139114
142014
|
__decorate([
|
|
139115
142015
|
Field({ nullable: true }),
|
|
139116
142016
|
MaxLength(100),
|
|
@@ -139242,6 +142142,30 @@ __decorate([
|
|
|
139242
142142
|
Field({ nullable: true }),
|
|
139243
142143
|
__metadata("design:type", String)
|
|
139244
142144
|
], CreateMJUserViewInput.prototype, "ViewTypeID", void 0);
|
|
142145
|
+
__decorate([
|
|
142146
|
+
Field({ nullable: true }),
|
|
142147
|
+
__metadata("design:type", String)
|
|
142148
|
+
], CreateMJUserViewInput.prototype, "Properties", void 0);
|
|
142149
|
+
__decorate([
|
|
142150
|
+
Field({ nullable: true }),
|
|
142151
|
+
__metadata("design:type", String)
|
|
142152
|
+
], CreateMJUserViewInput.prototype, "ApprovalStatus", void 0);
|
|
142153
|
+
__decorate([
|
|
142154
|
+
Field({ nullable: true }),
|
|
142155
|
+
__metadata("design:type", String)
|
|
142156
|
+
], CreateMJUserViewInput.prototype, "ApprovalComments", void 0);
|
|
142157
|
+
__decorate([
|
|
142158
|
+
Field({ nullable: true }),
|
|
142159
|
+
__metadata("design:type", String)
|
|
142160
|
+
], CreateMJUserViewInput.prototype, "ApprovedByUserID", void 0);
|
|
142161
|
+
__decorate([
|
|
142162
|
+
Field({ nullable: true }),
|
|
142163
|
+
__metadata("design:type", Date)
|
|
142164
|
+
], CreateMJUserViewInput.prototype, "ApprovedAt", void 0);
|
|
142165
|
+
__decorate([
|
|
142166
|
+
Field({ nullable: true }),
|
|
142167
|
+
__metadata("design:type", String)
|
|
142168
|
+
], CreateMJUserViewInput.prototype, "ApprovedFingerprint", void 0);
|
|
139245
142169
|
__decorate([
|
|
139246
142170
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
139247
142171
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -139343,6 +142267,30 @@ __decorate([
|
|
|
139343
142267
|
Field({ nullable: true }),
|
|
139344
142268
|
__metadata("design:type", String)
|
|
139345
142269
|
], UpdateMJUserViewInput.prototype, "ViewTypeID", void 0);
|
|
142270
|
+
__decorate([
|
|
142271
|
+
Field({ nullable: true }),
|
|
142272
|
+
__metadata("design:type", String)
|
|
142273
|
+
], UpdateMJUserViewInput.prototype, "Properties", void 0);
|
|
142274
|
+
__decorate([
|
|
142275
|
+
Field({ nullable: true }),
|
|
142276
|
+
__metadata("design:type", String)
|
|
142277
|
+
], UpdateMJUserViewInput.prototype, "ApprovalStatus", void 0);
|
|
142278
|
+
__decorate([
|
|
142279
|
+
Field({ nullable: true }),
|
|
142280
|
+
__metadata("design:type", String)
|
|
142281
|
+
], UpdateMJUserViewInput.prototype, "ApprovalComments", void 0);
|
|
142282
|
+
__decorate([
|
|
142283
|
+
Field({ nullable: true }),
|
|
142284
|
+
__metadata("design:type", String)
|
|
142285
|
+
], UpdateMJUserViewInput.prototype, "ApprovedByUserID", void 0);
|
|
142286
|
+
__decorate([
|
|
142287
|
+
Field({ nullable: true }),
|
|
142288
|
+
__metadata("design:type", Date)
|
|
142289
|
+
], UpdateMJUserViewInput.prototype, "ApprovedAt", void 0);
|
|
142290
|
+
__decorate([
|
|
142291
|
+
Field({ nullable: true }),
|
|
142292
|
+
__metadata("design:type", String)
|
|
142293
|
+
], UpdateMJUserViewInput.prototype, "ApprovedFingerprint", void 0);
|
|
139346
142294
|
__decorate([
|
|
139347
142295
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
139348
142296
|
__metadata("design:type", Array)
|