@coast/core-api-types 1.2.270 → 1.2.271
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/models/activity-feed/ActivityFeedItem.d.ts +1 -1
- package/dist/models/activity-feed/CreateActivityFeedItem.d.ts +1 -1
- package/dist/models/activity-feed/CreateUserRelation.d.ts +1 -1
- package/dist/models/activity-feed/ListActivityFeedItems.d.ts +1 -1
- package/dist/models/application/DataEntity.d.ts +1 -1
- package/dist/models/auth/CreateChannelMembership.d.ts +1 -1
- package/dist/models/auth/DeleteChannelMembership.d.ts +1 -1
- package/dist/models/auth/SamlUser.d.ts +1 -1
- package/dist/models/auth/WorkspaceUserGroupAssociation.d.ts +2 -2
- package/dist/models/auth/db/WorkspaceUserGroupAssociationEntity.d.ts +2 -2
- package/dist/models/auth/keys/ApiKey.d.ts +3 -3
- package/dist/models/automations/Automation.d.ts +2 -2
- package/dist/models/automations/AutomationContext.d.ts +4 -4
- package/dist/models/automations/UpdateAutomation.d.ts +1 -1
- package/dist/models/automations/UpdateAutomationGraphQL.d.ts +1 -1
- package/dist/models/automations/action/AutomationAction.d.ts +1 -1
- package/dist/models/automations/action/UpdateAutomationAction.d.ts +1 -1
- package/dist/models/automations/action/audit/AutomationActionAudit.d.ts +4 -4
- package/dist/models/automations/action/component-data/RelatedWorkflowEntityComponent.d.ts +1 -1
- package/dist/models/automations/action/settings/ExternalFormLinkCreateActionSettings.d.ts +1 -1
- package/dist/models/automations/action/settings/ReferencedInAggregate.d.ts +1 -1
- package/dist/models/automations/action/settings/RelatedCardEmail.d.ts +1 -1
- package/dist/models/automations/action/settings/SendEmailActionSettings.d.ts +1 -1
- package/dist/models/automations/action/settings/SendNotificationActionSettings.d.ts +1 -1
- package/dist/models/automations/action/settings/SendPushNotificationActionSettings.d.ts +2 -2
- package/dist/models/automations/action/settings/SendWebhookActionSettings.d.ts +1 -1
- package/dist/models/automations/action/settings/TriggerRelatedCardAutomationActionSettings.d.ts +2 -2
- package/dist/models/automations/action/settings/UpdateRelatedCardQuantityActionSettings.d.ts +1 -1
- package/dist/models/automations/action/settings/WorkflowEntityActionSettings.d.ts +1 -1
- package/dist/models/automations/condition/operands/WorkflowEntityRefComponentOperand.d.ts +1 -1
- package/dist/models/billing/Billing.d.ts +2 -2
- package/dist/models/billing/CreateCustomer.d.ts +2 -2
- package/dist/models/billing/Customer.d.ts +1 -1
- package/dist/models/business/Business.d.ts +1 -1
- package/dist/models/business/BusinessEventJob.d.ts +2 -2
- package/dist/models/business/BusinessMembership.d.ts +2 -2
- package/dist/models/business/UpdateBusinessV2.d.ts +1 -1
- package/dist/models/card/Card.d.ts +2 -2
- package/dist/models/card/CreateNonRecurringCard.d.ts +2 -2
- package/dist/models/card/ExternalCardBatchEvent.d.ts +2 -2
- package/dist/models/card/ExternalCardEventPayload.d.ts +3 -3
- package/dist/models/card/NotificationEvent.d.ts +1 -1
- package/dist/models/card/UpdateCard.d.ts +1 -1
- package/dist/models/card/client-event/ClientEvent.d.ts +1 -1
- package/dist/models/card/client-event/CreateClientEvent.d.ts +1 -1
- package/dist/models/card/list-cards/ListCards.d.ts +2 -2
- package/dist/models/card/summary-card/AbstractListSummaryCard.d.ts +1 -1
- package/dist/models/channel/Channel.d.ts +3 -3
- package/dist/models/channel/ChannelEventJob.d.ts +1 -1
- package/dist/models/channel/CreateChannel.d.ts +3 -3
- package/dist/models/channel/DuplicateWorkspace.d.ts +1 -1
- package/dist/models/channel/ListChannels.d.ts +3 -3
- package/dist/models/common/WithBusinessId.d.ts +1 -1
- package/dist/models/dashboard/Dashboard.d.ts +1 -1
- package/dist/models/dashboard/EntityWidget.d.ts +2 -2
- package/dist/models/dashboard/UserEntityWidgetAssociation.d.ts +1 -1
- package/dist/models/execution/ExecutionOrigin.d.ts +2 -2
- package/dist/models/export/BulkExportRequest.d.ts +1 -1
- package/dist/models/file-operations/CreateFileOperation.d.ts +1 -1
- package/dist/models/file-operations/FileOperationEntity.d.ts +4 -4
- package/dist/models/file-storage/File.d.ts +2 -2
- package/dist/models/flatfile/CreateFlatfileImportSession.d.ts +1 -1
- package/dist/models/integration/CreateAppIntegration.d.ts +1 -1
- package/dist/models/integration/Integration.d.ts +2 -2
- package/dist/models/integration/IntegrationVerification.d.ts +1 -1
- package/dist/models/integration/ListIntegrations.d.ts +1 -1
- package/dist/models/json-relations/workflow-template/WorkflowTemplateFieldLink.d.ts +1 -1
- package/dist/models/messaging/CreateLegacyMessage.d.ts +1 -1
- package/dist/models/messaging/CreateThreadMessage.d.ts +1 -1
- package/dist/models/messaging/ThreadMessage.d.ts +1 -1
- package/dist/models/messaging/ThreadMessageMeta.d.ts +1 -1
- package/dist/models/messaging/ThreadMessageMetaInput.d.ts +1 -1
- package/dist/models/messaging/ThreadMessageReaction.d.ts +1 -1
- package/dist/models/messaging/Token.d.ts +1 -1
- package/dist/models/metrics/CreateUsageMetric.d.ts +2 -2
- package/dist/models/metrics/MessageEventJob.d.ts +2 -2
- package/dist/models/metrics/StorageEventJob.d.ts +2 -2
- package/dist/models/metrics/UsageMetric.d.ts +2 -2
- package/dist/models/pdf-subforms/GetSubformComponents.d.ts +1 -1
- package/dist/models/reporting/CreateReport.d.ts +1 -1
- package/dist/models/reporting/ListReports.d.ts +1 -1
- package/dist/models/reporting/ListReportsV2.d.ts +1 -1
- package/dist/models/reporting/Report.d.ts +1 -1
- package/dist/models/search/Indexable.d.ts +2 -2
- package/dist/models/search/SearchResult.d.ts +1 -1
- package/dist/models/shared-link/ListSharedCardLinks.d.ts +1 -1
- package/dist/models/shared-link/SharedCardLink.d.ts +4 -4
- package/dist/models/user/ListUsers.d.ts +1 -1
- package/dist/models/user/UpdateUser.d.ts +1 -1
- package/dist/models/user/User.d.ts +1 -1
- package/dist/models/user/UserEventJob.d.ts +2 -2
- package/dist/models/user/group/ListUserGroups.d.ts +1 -1
- package/dist/models/user/group/UserGroup.d.ts +2 -2
- package/dist/models/user/group/UserGroupUserAssociation.d.ts +2 -2
- package/dist/models/user/group/db/UserGroupUserAssociationEntity.d.ts +2 -2
- package/dist/models/view-template/DuplicateViewTemplate.d.ts +1 -1
- package/dist/models/view-template/UpdateViewTemplate.d.ts +2 -2
- package/dist/models/view-template/ViewTemplate.d.ts +2 -2
- package/dist/models/view-template/ViewTemplateCopyMapping.d.ts +1 -1
- package/dist/models/view-template-layout/ViewTemplateLayout.d.ts +3 -3
- package/dist/models/view-template-layout/ViewTemplateLayoutItem.d.ts +1 -1
- package/dist/models/view-template-layout/items/ViewTemplateLayoutComponent.d.ts +1 -1
- package/dist/models/view-template-layout/items/ViewTemplateLayoutSection.d.ts +1 -1
- package/dist/models/webhook/WorkflowEntityWebhookPayload.d.ts +1 -1
- package/dist/models/workflow-app/InstallBundle.d.ts +1 -1
- package/dist/models/workflow-app/bundle/Bundle.d.ts +2 -2
- package/dist/models/workflow-app/bundle/GetBundle.d.ts +1 -1
- package/dist/models/workflow-app/bundle/public-bundle/PublicBundle.d.ts +1 -1
- package/dist/models/workflow-app/bundle/public-bundle/WorkspaceRef.d.ts +1 -1
- package/dist/models/workflow-app/bundle/public-bundle/WorkspaceSectionRef.d.ts +1 -1
- package/dist/models/workflow-app/compensations/AutomationActionReference.d.ts +1 -1
- package/dist/models/workflow-app/compensations/AutomationReference.d.ts +1 -1
- package/dist/models/workflow-app/compensations/ComponentReference.d.ts +1 -1
- package/dist/models/workflow-app/compensations/WorkflowTemplateReference.d.ts +1 -1
- package/dist/models/workflow-app/duplication-results/DuplicationResult.d.ts +1 -1
- package/dist/models/workflow-automation/CreateWorkflowAutomationEvent.d.ts +2 -2
- package/dist/models/workflow-automation/CreateWorkflowTemplateAutomationAssociation.d.ts +2 -2
- package/dist/models/workflow-automation/ListWorkflowTemplateAutomations.d.ts +1 -1
- package/dist/models/workflow-automation/WorkflowAutomationsEvent.d.ts +1 -1
- package/dist/models/workflow-automation/WorkflowTemplateAutomationAssociation.d.ts +2 -2
- package/dist/models/workflow-entity/AggregateRelatedCardQuantityInput.d.ts +1 -1
- package/dist/models/workflow-entity/CountWorkflowEntitiesContext.d.ts +1 -1
- package/dist/models/workflow-entity/CreateWorkflowEntities.d.ts +1 -1
- package/dist/models/workflow-entity/CreateWorkflowEntity.d.ts +1 -1
- package/dist/models/workflow-entity/DeleteWorkflowEntities.d.ts +1 -1
- package/dist/models/workflow-entity/GetWorkflowEntities.d.ts +1 -1
- package/dist/models/workflow-entity/ListWorkflowEntitiesContext.d.ts +1 -1
- package/dist/models/workflow-entity/ListWorkflowEntitiesInput.d.ts +2 -2
- package/dist/models/workflow-entity/MoveWorkflowEntities.d.ts +1 -1
- package/dist/models/workflow-entity/RestoreWorkflowEntities.d.ts +1 -1
- package/dist/models/workflow-entity/UpdateWorkflowEntities.d.ts +1 -1
- package/dist/models/workflow-entity/WorkflowEntity.d.ts +1 -1
- package/dist/models/workflow-entity/audit-trail/ComponentDataChange.d.ts +1 -1
- package/dist/models/workflow-entity/audit-trail/EntityAuditTrailEvent.d.ts +2 -2
- package/dist/models/workflow-entity/entity-mapping/EntityMapping.d.ts +1 -1
- package/dist/models/workflow-entity/entity-mapping/ViewTemplateSearchKey.d.ts +2 -2
- package/dist/models/workflow-entity/recurring/CreateRecurringEntitiesExtension.d.ts +2 -2
- package/dist/models/workflow-entity/recurring/GetRecurringEntitiesSchedule.d.ts +2 -2
- package/dist/models/workflow-entity/recurring/RecurringEntitiesAutoExtendEvent.d.ts +2 -2
- package/dist/models/workflow-entity/recurring/RecurringEntitiesExtend.d.ts +1 -1
- package/dist/models/workflow-entity/recurring/RecurringEntitiesSchedule.d.ts +3 -3
- package/dist/models/workflow-entity/recurring/UpdateRecurringEntities.d.ts +2 -2
- package/dist/models/workflow-entity/scheduled-automation/EntityScheduledAutomationTrigger.d.ts +2 -2
- package/dist/models/workflow-entity/sort/ImpliedSortKeys.d.ts +2 -2
- package/dist/models/workflow-library/CreateWorkflowListItemAssociation.d.ts +1 -1
- package/dist/models/workflow-template/ListWorkflowTemplates.d.ts +2 -2
- package/dist/models/workflow-template/ListWorkflowTemplatesRestQuery.d.ts +1 -1
- package/dist/models/workflow-template/UpdateWorkflowTemplate.d.ts +1 -1
- package/dist/models/workflow-template/WorkflowTemplate.d.ts +3 -3
- package/dist/models/workflow-template/behaviors/ViewTemplateSelector.d.ts +1 -1
- package/dist/models/workflow-template/component-subscription/ComponentSubscription.d.ts +1 -1
- package/dist/models/workflow-template/component-subscription/ComponentSubscriptionEvents.d.ts +1 -1
- package/dist/models/workflow-template/components/enitty-batch/EntityBatchComponentData.d.ts +1 -1
- package/dist/models/workflow-template/components/geo-location/GeolocationComponentDataValue.d.ts +1 -1
- package/dist/models/workflow-template/components/person/PersonComponentData.d.ts +1 -1
- package/dist/models/workflow-template/components/person/PersonComponentDefault.d.ts +1 -1
- package/dist/models/workflow-template/components/referenced-in/ReferencedInComponent.d.ts +2 -2
- package/dist/models/workflow-template/components/related-card/RelatedCardComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/related-card-lookup/RelatedCardLookupComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/scheduled-automation/ScheduledAutomationComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/signature/SignatureComponentDataValue.d.ts +1 -1
- package/dist/models/workflow-template/components/subform/SubformComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/subform/SubformComponentAuditDataValue.d.ts +1 -1
- package/dist/models/workflow-template/components/subform/SubformComponentDataValue.d.ts +1 -1
- package/dist/models/workflow-template/components/subform/SubformDefault.d.ts +1 -1
- package/dist/models/workflow-template/components/time-tracker/TimeTrackerGeolocation.d.ts +1 -1
- package/dist/models/workflow-tier/CreateWorkflowTierAssociation.d.ts +1 -1
- package/dist/models/workspace-section/DuplicateWorkspaceSection.d.ts +1 -1
- package/dist/models/workspace-section/UpdateWorkspaceSection.d.ts +1 -1
- package/dist/models/workspace-section/WorkspaceSection.d.ts +1 -1
- package/package.json +2 -2
- package/dist/models/application/Id.d.ts +0 -2
- package/dist/models/application/Id.js +0 -3
- package/dist/models/application/Id.js.map +0 -1
- package/dist/models/auth/keys/ApiKeyId.d.ts +0 -2
- package/dist/models/auth/keys/ApiKeyId.js +0 -3
- package/dist/models/auth/keys/ApiKeyId.js.map +0 -1
- package/dist/models/automations/AutomationId.d.ts +0 -2
- package/dist/models/automations/AutomationId.js +0 -3
- package/dist/models/automations/AutomationId.js.map +0 -1
- package/dist/models/automations/action/AutomationActionId.d.ts +0 -2
- package/dist/models/automations/action/AutomationActionId.js +0 -3
- package/dist/models/automations/action/AutomationActionId.js.map +0 -1
- package/dist/models/automations/action/audit/AutomationActionAuditId.d.ts +0 -2
- package/dist/models/automations/action/audit/AutomationActionAuditId.js +0 -3
- package/dist/models/automations/action/audit/AutomationActionAuditId.js.map +0 -1
- package/dist/models/business/BusinessId.d.ts +0 -2
- package/dist/models/business/BusinessId.js +0 -3
- package/dist/models/business/BusinessId.js.map +0 -1
- package/dist/models/channel/ChannelSlug.d.ts +0 -2
- package/dist/models/channel/ChannelSlug.js +0 -3
- package/dist/models/channel/ChannelSlug.js.map +0 -1
- package/dist/models/channel/WorkspaceId.d.ts +0 -2
- package/dist/models/channel/WorkspaceId.js +0 -3
- package/dist/models/channel/WorkspaceId.js.map +0 -1
- package/dist/models/common/HmacSecretKey.d.ts +0 -2
- package/dist/models/common/HmacSecretKey.js +0 -3
- package/dist/models/common/HmacSecretKey.js.map +0 -1
- package/dist/models/common/ISODateString.d.ts +0 -2
- package/dist/models/common/ISODateString.js +0 -3
- package/dist/models/common/ISODateString.js.map +0 -1
- package/dist/models/common/RRuleString.d.ts +0 -2
- package/dist/models/common/RRuleString.js +0 -3
- package/dist/models/common/RRuleString.js.map +0 -1
- package/dist/models/file-operations/FileOperationId.d.ts +0 -2
- package/dist/models/file-operations/FileOperationId.js +0 -3
- package/dist/models/file-operations/FileOperationId.js.map +0 -1
- package/dist/models/file-storage/FileId.d.ts +0 -2
- package/dist/models/file-storage/FileId.js +0 -3
- package/dist/models/file-storage/FileId.js.map +0 -1
- package/dist/models/shared-link/SharedCardLinkId.d.ts +0 -2
- package/dist/models/shared-link/SharedCardLinkId.js +0 -3
- package/dist/models/shared-link/SharedCardLinkId.js.map +0 -1
- package/dist/models/user/UserId.d.ts +0 -3
- package/dist/models/user/UserId.js +0 -3
- package/dist/models/user/UserId.js.map +0 -1
- package/dist/models/user/group/UserGroupId.d.ts +0 -2
- package/dist/models/user/group/UserGroupId.js +0 -3
- package/dist/models/user/group/UserGroupId.js.map +0 -1
- package/dist/models/view-template/ViewTemplateId.d.ts +0 -2
- package/dist/models/view-template/ViewTemplateId.js +0 -3
- package/dist/models/view-template/ViewTemplateId.js.map +0 -1
- package/dist/models/view-template-layout/ViewTemplateLayoutId.d.ts +0 -2
- package/dist/models/view-template-layout/ViewTemplateLayoutId.js +0 -3
- package/dist/models/view-template-layout/ViewTemplateLayoutId.js.map +0 -1
- package/dist/models/view-template-layout/ViewTemplateLayoutItemId.d.ts +0 -2
- package/dist/models/view-template-layout/ViewTemplateLayoutItemId.js +0 -3
- package/dist/models/view-template-layout/ViewTemplateLayoutItemId.js.map +0 -1
- package/dist/models/workflow-app/bundle/BundleId.d.ts +0 -2
- package/dist/models/workflow-app/bundle/BundleId.js +0 -3
- package/dist/models/workflow-app/bundle/BundleId.js.map +0 -1
- package/dist/models/workflow-entity/WorkflowEntityEventId.d.ts +0 -2
- package/dist/models/workflow-entity/WorkflowEntityEventId.js +0 -3
- package/dist/models/workflow-entity/WorkflowEntityEventId.js.map +0 -1
- package/dist/models/workflow-entity/recurring/RecurringEntitiesScheduleId.d.ts +0 -2
- package/dist/models/workflow-entity/recurring/RecurringEntitiesScheduleId.js +0 -3
- package/dist/models/workflow-entity/recurring/RecurringEntitiesScheduleId.js.map +0 -1
- package/dist/models/workflow-entity/sort/LexoSortKey.d.ts +0 -2
- package/dist/models/workflow-entity/sort/LexoSortKey.js +0 -3
- package/dist/models/workflow-entity/sort/LexoSortKey.js.map +0 -1
- package/dist/models/workflow-template/WorkflowTemplateId.d.ts +0 -2
- package/dist/models/workflow-template/WorkflowTemplateId.js +0 -3
- package/dist/models/workflow-template/WorkflowTemplateId.js.map +0 -1
- package/dist/models/workflow-template/components/ComponentId.d.ts +0 -2
- package/dist/models/workflow-template/components/ComponentId.js +0 -3
- package/dist/models/workflow-template/components/ComponentId.js.map +0 -1
- package/dist/models/workspace-section/WorkspaceSectionId.d.ts +0 -2
- package/dist/models/workspace-section/WorkspaceSectionId.js +0 -3
- package/dist/models/workspace-section/WorkspaceSectionId.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ActivityFeedEventType } from '@coast/core-types/activity-feed/ActivityFeedEventType';
|
|
2
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
2
3
|
import { Card } from '../card/Card';
|
|
3
4
|
import { User } from '../user/User';
|
|
4
|
-
import { UserId } from '../user/UserId';
|
|
5
5
|
export interface ActivityFeedItem {
|
|
6
6
|
id: string;
|
|
7
7
|
channelId: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActivityFeedEventType } from '@coast/core-types/activity-feed/ActivityFeedEventType';
|
|
2
|
-
import { UserId } from '
|
|
2
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
3
|
import { ActivityFeedItem } from './ActivityFeedItem';
|
|
4
4
|
import { CreateCardRelation } from './CreateCardRelation';
|
|
5
5
|
import { CreateUserRelation } from './CreateUserRelation';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
|
|
2
|
-
import { UserId } from '
|
|
2
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
3
|
import { ChannelMembership } from './ChannelMembership';
|
|
4
4
|
export interface CreateChannelMembership extends Partial<ChannelMembership> {
|
|
5
5
|
accessLevelType: AccessLevelType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WorkspaceId } from '
|
|
2
|
-
import { UserGroupId } from '
|
|
1
|
+
import { WorkspaceId } from '@coast/core-types/channel/WorkspaceId';
|
|
2
|
+
import { UserGroupId } from '@coast/core-types/user/group/UserGroupId';
|
|
3
3
|
import { AccessLevel } from './AccessLevel';
|
|
4
4
|
import { WorkspaceUserGroupAssociationEntity } from './db/WorkspaceUserGroupAssociationEntity';
|
|
5
5
|
export interface WorkspaceUserGroupAssociation extends Partial<WorkspaceUserGroupAssociationEntity> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
|
|
2
|
-
import { WorkspaceId } from '
|
|
3
|
-
import { UserGroupId } from '
|
|
2
|
+
import { WorkspaceId } from '@coast/core-types/channel/WorkspaceId';
|
|
3
|
+
import { UserGroupId } from '@coast/core-types/user/group/UserGroupId';
|
|
4
4
|
export interface WorkspaceUserGroupAssociationEntity {
|
|
5
5
|
accessLevelType: AccessLevelType;
|
|
6
6
|
userGroupId: UserGroupId;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ApiKeyId } from '@coast/core-types/auth/keys/ApiKeyId';
|
|
2
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
3
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
1
4
|
import { Audit } from '../../application/Audit';
|
|
2
|
-
import { BusinessId } from '../../business/BusinessId';
|
|
3
|
-
import { UserId } from '../../user/UserId';
|
|
4
|
-
import { ApiKeyId } from './ApiKeyId';
|
|
5
5
|
export interface ApiKey extends Audit {
|
|
6
6
|
id: ApiKeyId;
|
|
7
7
|
name: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { AutomationId } from '@coast/core-types/automations/AutomationId';
|
|
1
2
|
import { AutomationTriggerType } from '@coast/core-types/automations/AutomationTriggerType';
|
|
3
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
2
4
|
import { Audit } from '../application/Audit';
|
|
3
|
-
import { BusinessId } from '../business/BusinessId';
|
|
4
5
|
import { AnyAutomationAction } from './action/registry/AnyAutomationAction';
|
|
5
|
-
import { AutomationId } from './AutomationId';
|
|
6
6
|
import { Condition } from './condition/Condition';
|
|
7
7
|
export interface Automation extends Audit {
|
|
8
8
|
actions: AnyAutomationAction[];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { AutomationId } from '@coast/core-types/automations/AutomationId';
|
|
1
2
|
import { AutomationTriggerType } from '@coast/core-types/automations/AutomationTriggerType';
|
|
2
|
-
import { BusinessId } from '
|
|
3
|
-
import { OriginUserId } from '
|
|
3
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
4
|
+
import { OriginUserId } from '@coast/core-types/user/UserId';
|
|
5
|
+
import { WorkflowEntityEventId } from '@coast/core-types/workflow-entity/WorkflowEntityEventId';
|
|
4
6
|
import { EntityFields } from '../workflow-entity/EntityFields';
|
|
5
7
|
import { EntityRefs } from '../workflow-entity/refs/EntityRefs';
|
|
6
8
|
import { WorkflowEntity } from '../workflow-entity/WorkflowEntity';
|
|
7
|
-
import { WorkflowEntityEventId } from '../workflow-entity/WorkflowEntityEventId';
|
|
8
9
|
import { AutomationActionResult } from './action/AutomationActionResult';
|
|
9
10
|
import { AutomationEventContext } from './AutomationEventContext';
|
|
10
|
-
import { AutomationId } from './AutomationId';
|
|
11
11
|
export interface AutomationContext {
|
|
12
12
|
businessId: BusinessId;
|
|
13
13
|
workflowEntity: WorkflowEntity;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationId } from '@coast/core-types/automations/AutomationId';
|
|
1
2
|
import { Automation } from './Automation';
|
|
2
|
-
import { AutomationId } from './AutomationId';
|
|
3
3
|
export interface UpdateAutomation extends Partial<Omit<Automation, 'id' | 'enabled' | 'suppressAutomationChain' | 'createdAt' | 'updatedAt'>> {
|
|
4
4
|
enabled?: boolean;
|
|
5
5
|
id: AutomationId;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { AutomationId } from '@coast/core-types/automations/AutomationId';
|
|
1
2
|
import { UpdateAutomationAction } from './action/UpdateAutomationAction';
|
|
2
3
|
import { Automation } from './Automation';
|
|
3
|
-
import { AutomationId } from './AutomationId';
|
|
4
4
|
import { UpdateCondition } from './condition/UpdateCondition';
|
|
5
5
|
export interface UpdateAutomationGraphQL extends Partial<Omit<Automation, 'id' | 'actions' | 'conditions' | 'enabled' | 'suppressAutomationChain' | 'createdAt' | 'updatedAt'>> {
|
|
6
6
|
actions?: UpdateAutomationAction[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { AutomationActionId } from '@coast/core-types/automations/action/AutomationActionId';
|
|
1
2
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
3
|
import type { Automation } from '../Automation';
|
|
3
4
|
import { Condition } from '../condition/Condition';
|
|
4
|
-
import { AutomationActionId } from './AutomationActionId';
|
|
5
5
|
import { AnyAutomationActionSettings } from './settings/registry/AnyAutomationActionSettings';
|
|
6
6
|
export interface AutomationAction<T extends AutomationActionType = AutomationActionType> {
|
|
7
7
|
automation?: Automation;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { AutomationActionId } from '@coast/core-types/automations/action/AutomationActionId';
|
|
1
2
|
import { UpdateCondition } from '../condition/UpdateCondition';
|
|
2
3
|
import { AutomationAction } from './AutomationAction';
|
|
3
|
-
import { AutomationActionId } from './AutomationActionId';
|
|
4
4
|
import { AutomationActionSettingsOneOf } from './settings/AutomationActionSettingsOneOf';
|
|
5
5
|
export interface UpdateAutomationAction extends Omit<AutomationAction, 'id' | 'settings' | 'conditions'> {
|
|
6
6
|
conditions?: UpdateCondition[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { AutomationActionAuditId } from '@coast/core-types/automations/action/audit/AutomationActionAuditId';
|
|
1
2
|
import { AutomationActionStatus } from '@coast/core-types/automations/action/audit/AutomationActionStatus';
|
|
3
|
+
import { AutomationActionId } from '@coast/core-types/automations/action/AutomationActionId';
|
|
4
|
+
import { AutomationId } from '@coast/core-types/automations/AutomationId';
|
|
5
|
+
import { WorkflowEntityEventId } from '@coast/core-types/workflow-entity/WorkflowEntityEventId';
|
|
2
6
|
import { Audit } from '../../../application/Audit';
|
|
3
|
-
import { WorkflowEntityEventId } from '../../../workflow-entity/WorkflowEntityEventId';
|
|
4
|
-
import { AutomationId } from '../../AutomationId';
|
|
5
|
-
import { AutomationActionId } from '../AutomationActionId';
|
|
6
7
|
import { AnyAutomationActionAuditResult } from './AnyAutomationActionAuditResult';
|
|
7
|
-
import { AutomationActionAuditId } from './AutomationActionAuditId';
|
|
8
8
|
export interface AutomationActionAudit extends Audit {
|
|
9
9
|
id: AutomationActionAuditId;
|
|
10
10
|
automationId: AutomationId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DynamicComponentDataType } from '@coast/core-types/automations/action/component-data/DynamicComponentDataType';
|
|
2
|
-
import { ComponentId } from '
|
|
2
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
3
3
|
import { DynamicComponentData } from './DynamicComponentData';
|
|
4
4
|
export interface RelatedWorkflowEntityComponent extends DynamicComponentData<DynamicComponentDataType.RELATED_WORKFLOW_ENTITY_COMPONENT> {
|
|
5
5
|
relatedCardComponentId: ComponentId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
-
import { ViewTemplateId } from '
|
|
2
|
+
import { ViewTemplateId } from '@coast/core-types/view-template/ViewTemplateId';
|
|
3
3
|
import { WorkflowEntityActionSettings } from './WorkflowEntityActionSettings';
|
|
4
4
|
export interface ExternalFormLinkCreateActionSettings extends WorkflowEntityActionSettings<AutomationActionType.CREATE_EXTERNAL_FORM_LINK> {
|
|
5
5
|
viewTemplateId: ViewTemplateId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
1
2
|
import { FilterOneOfByComponent } from '../../../workflow-entity/filters/FilterOneOfByComponent';
|
|
2
|
-
import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
|
|
3
3
|
export interface ReferencedInAggregate {
|
|
4
4
|
componentId?: string;
|
|
5
5
|
filterByComponents?: FilterOneOfByComponent[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentId } from '
|
|
1
|
+
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
2
2
|
export interface RelatedCardEmail {
|
|
3
3
|
emailComponentId: ComponentId;
|
|
4
4
|
relatedCardComponentId: ComponentId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
-
import { WorkflowTemplateId } from '
|
|
2
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
3
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
4
4
|
import { RelatedCardEmail } from './RelatedCardEmail';
|
|
5
5
|
export interface SendEmailActionSettings extends AutomationActionSettings<AutomationActionType.SEND_EMAIL> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
-
import { WorkflowTemplateId } from '
|
|
2
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
3
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
4
4
|
export interface SendNotificationActionSettings extends AutomationActionSettings<AutomationActionType.SEND_NOTIFICATION> {
|
|
5
5
|
message: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
-
import { UserId } from '
|
|
3
|
-
import { WorkflowTemplateId } from '
|
|
2
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
4
4
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
5
5
|
export interface SendPushNotificationActionSettings extends AutomationActionSettings<AutomationActionType.SEND_PUSH_NOTIFICATION> {
|
|
6
6
|
message: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
-
import { HmacSecretKey } from '
|
|
2
|
+
import { HmacSecretKey } from '@coast/core-types/common/HmacSecretKey';
|
|
3
3
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
4
4
|
export interface SendWebhookActionSettings extends AutomationActionSettings<AutomationActionType.SEND_WEBHOOK> {
|
|
5
5
|
destinationUrl: string;
|
package/dist/models/automations/action/settings/TriggerRelatedCardAutomationActionSettings.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { AutomationId } from '@coast/core-types/automations/AutomationId';
|
|
3
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
4
4
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
5
5
|
export interface TriggerRelatedCardAutomationActionSettings extends AutomationActionSettings<AutomationActionType.TRIGGER_RELATED_CARD_AUTOMATION> {
|
|
6
6
|
automationId?: AutomationId;
|
package/dist/models/automations/action/settings/UpdateRelatedCardQuantityActionSettings.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
2
3
|
import { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
|
|
3
|
-
import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
|
|
4
4
|
import { AnyDynamicNumberComponentData } from '../component-data/registry/AnyDynamicNumberComponentData';
|
|
5
5
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
6
6
|
export interface UpdateRelatedCardQuantityActionSettings extends AutomationActionSettings<AutomationActionType.UPDATE_RELATED_CARD_QUANTITY> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
-
import { WorkflowTemplateId } from '
|
|
2
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
3
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
4
4
|
import { SettingsWorkflowEntityField } from './SettingsWorkflowEntityField';
|
|
5
5
|
type WorkflowEntityActionSettingsType = AutomationActionType.CREATE_EXTERNAL_FORM_LINK | AutomationActionType.CREATE_WORKFLOW_ENTITY | AutomationActionType.UPDATE_CURRENT_WORKFLOW_ENTITY | AutomationActionType.UPDATE_WORKFLOW_ENTITY;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WorkflowTemplateId } from '
|
|
1
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
2
2
|
import { Operand } from './Operand';
|
|
3
3
|
export interface WorkflowEntityRefComponentOperand extends Operand {
|
|
4
4
|
componentId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
2
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
1
3
|
import { Audit } from '../application/Audit';
|
|
2
|
-
import { BusinessId } from '../business/BusinessId';
|
|
3
|
-
import { UserId } from '../user/UserId';
|
|
4
4
|
export interface Billing extends Audit {
|
|
5
5
|
businessId: BusinessId;
|
|
6
6
|
id: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BusinessId } from '
|
|
2
|
-
import { UserId } from '
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
2
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
3
|
export interface CreateCustomer {
|
|
4
4
|
businessId: BusinessId;
|
|
5
5
|
email?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BusinessEventType } from '@coast/core-types/business/BusinessEventType';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
3
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
4
4
|
export interface BusinessEventJob {
|
|
5
5
|
userId: UserId;
|
|
6
6
|
businessId: BusinessId;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
1
2
|
import { BusinessMembershipRole } from '@coast/core-types/business/BusinessMembershipRole';
|
|
3
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
2
4
|
import { User } from '../user/User';
|
|
3
|
-
import { UserId } from '../user/UserId';
|
|
4
|
-
import { BusinessId } from './BusinessId';
|
|
5
5
|
export interface BusinessMembership {
|
|
6
6
|
businessId: BusinessId;
|
|
7
7
|
creatorId?: number;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { CardStatus } from '@coast/core-types/card/CardStatus';
|
|
2
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
2
4
|
import { Audit } from '../application/Audit';
|
|
3
5
|
import { DataEntity } from '../application/DataEntity';
|
|
4
6
|
import { PlanLimitEntity } from '../plan-limits/PlanLimitEntity';
|
|
5
7
|
import { Indexable } from '../search/Indexable';
|
|
6
8
|
import { User } from '../user/User';
|
|
7
|
-
import { UserId } from '../user/UserId';
|
|
8
9
|
import { ImpliedSortKeys } from '../workflow-entity/sort/ImpliedSortKeys';
|
|
9
10
|
import { WorkflowEntity } from '../workflow-entity/WorkflowEntity';
|
|
10
|
-
import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
|
|
11
11
|
import { CardFieldStringTag } from './card-field-string-tag/CardFieldStringTag';
|
|
12
12
|
import { CardReminder } from './card-reminder/CardReminder';
|
|
13
13
|
import { CardFields } from './CardFields';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
2
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
1
3
|
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
2
|
-
import { UserId } from '../user/UserId';
|
|
3
4
|
import { ImpliedSortKeys } from '../workflow-entity/sort/ImpliedSortKeys';
|
|
4
|
-
import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
|
|
5
5
|
import { Card } from './Card';
|
|
6
6
|
import { CreateCardReminder } from './card-reminder/CreateCardReminder';
|
|
7
7
|
import { CardFields } from './CardFields';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
2
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
1
3
|
import { NonEmptyArray } from '@coast/core-utils/NonEmptyArray';
|
|
2
|
-
import { BusinessId } from '../business/BusinessId';
|
|
3
|
-
import { UserId } from '../user/UserId';
|
|
4
4
|
import { RecurringEntitiesAutoExtendEvent } from '../workflow-entity/recurring/RecurringEntitiesAutoExtendEvent';
|
|
5
5
|
import { BatchExternalCardEventType } from './ExternalCardEventType';
|
|
6
6
|
export interface ExternalCardBatchEvent {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
2
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
|
+
import { WorkflowEntityEventId } from '@coast/core-types/workflow-entity/WorkflowEntityEventId';
|
|
1
4
|
import { NonEmptyArray } from '@coast/core-utils/NonEmptyArray';
|
|
2
|
-
import { BusinessId } from '../business/BusinessId';
|
|
3
|
-
import { UserId } from '../user/UserId';
|
|
4
5
|
import { WorkflowAutomationsEvent } from '../workflow-automation/WorkflowAutomationsEvent';
|
|
5
6
|
import { CreateEntityAuditTrailEvent } from '../workflow-entity/audit-trail/CreateEntityAuditTrailEvent';
|
|
6
7
|
import { RecurringEntitiesAutoExtendEvent } from '../workflow-entity/recurring/RecurringEntitiesAutoExtendEvent';
|
|
7
|
-
import { WorkflowEntityEventId } from '../workflow-entity/WorkflowEntityEventId';
|
|
8
8
|
import { ComponentSubscriptionEvents } from '../workflow-template/component-subscription/ComponentSubscriptionEvents';
|
|
9
9
|
import { Card } from './Card';
|
|
10
10
|
export interface ExternalCardEventPayload {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CardReminderEventType } from '@coast/core-types/card/card-reminder/CardReminderEventType';
|
|
2
2
|
import { EntityEventType } from '@coast/core-types/card/EntityEventType';
|
|
3
|
-
import { UserId } from '
|
|
3
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
4
4
|
export interface UnreadCount {
|
|
5
5
|
userId: UserId;
|
|
6
6
|
unreadCount: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EntityRecurrenceScope } from '@coast/core-types/card/EntityRecurrenceScope';
|
|
2
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
2
3
|
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
3
|
-
import { UserId } from '../user/UserId';
|
|
4
4
|
import { Card } from './Card';
|
|
5
5
|
import { UpdateCardReminder } from './card-reminder/UpdateCardReminder';
|
|
6
6
|
import { CardFields } from './CardFields';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClientEventType } from '@coast/core-types/card/client-event/ClientEventType';
|
|
2
|
-
import { UserId } from '
|
|
2
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
3
|
import { ClientEvent } from './ClientEvent';
|
|
4
4
|
export interface CreateClientEvent extends Partial<ClientEvent> {
|
|
5
5
|
cardId?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CardStatus } from '@coast/core-types/card/CardStatus';
|
|
2
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
2
4
|
import { OffsetPaginatedRequest } from '../../pagination/OffsetPaginatedRequest';
|
|
3
|
-
import { UserId } from '../../user/UserId';
|
|
4
|
-
import { WorkflowTemplateId } from '../../workflow-template/WorkflowTemplateId';
|
|
5
5
|
import { CardRelationFilter } from './CardRelationFilter';
|
|
6
6
|
import { CardTagFilter } from './CardTagFilter';
|
|
7
7
|
import { LegacyCardRelationFilter } from './LegacyCardRelationFilter';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
1
2
|
import { OffsetPaginatedRequest } from '../../pagination/OffsetPaginatedRequest';
|
|
2
|
-
import { WorkflowTemplateId } from '../../workflow-template/WorkflowTemplateId';
|
|
3
3
|
export interface AbstractListSummaryCards extends OffsetPaginatedRequest {
|
|
4
4
|
channelId?: number;
|
|
5
5
|
nameQuery?: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
1
2
|
import { WorkspaceFocus } from '@coast/core-types/card/WorkspaceFocus';
|
|
3
|
+
import { ChannelSlug } from '@coast/core-types/channel/ChannelSlug';
|
|
2
4
|
import { ChannelType } from '@coast/core-types/channel/ChannelType';
|
|
5
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
6
|
import { Audit } from '../application/Audit';
|
|
4
7
|
import { ChannelMembership } from '../auth/ChannelMembership';
|
|
5
|
-
import { BusinessId } from '../business/BusinessId';
|
|
6
8
|
import { CardDefinition } from '../card/card-definition/CardDefinition';
|
|
7
9
|
import { Bundle } from '../workflow-app/bundle/Bundle';
|
|
8
|
-
import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
|
|
9
|
-
import { ChannelSlug } from './ChannelSlug';
|
|
10
10
|
import { RelatedChannelAssociation } from './RelatedChannelAssociation';
|
|
11
11
|
export interface Channel extends Audit {
|
|
12
12
|
___model?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
1
2
|
import { WorkspaceFocus } from '@coast/core-types/card/WorkspaceFocus';
|
|
3
|
+
import { ChannelSlug } from '@coast/core-types/channel/ChannelSlug';
|
|
2
4
|
import { ChannelType } from '@coast/core-types/channel/ChannelType';
|
|
3
|
-
import {
|
|
4
|
-
import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
|
|
5
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
5
6
|
import { Channel } from './Channel';
|
|
6
|
-
import { ChannelSlug } from './ChannelSlug';
|
|
7
7
|
import { CreateChannelChannelMembership } from './CreateChannelChannelMembership';
|
|
8
8
|
export interface CreateChannel extends Partial<Omit<Channel, 'channelMemberships'>> {
|
|
9
9
|
autoAddUsers?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { WorkspaceId } from '@coast/core-types/channel/WorkspaceId';
|
|
1
2
|
import { CreateChannelChannelMembership } from './CreateChannelChannelMembership';
|
|
2
|
-
import { WorkspaceId } from './WorkspaceId';
|
|
3
3
|
export interface DuplicateWorkspace {
|
|
4
4
|
id: WorkspaceId;
|
|
5
5
|
name?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
1
2
|
import { ChannelType } from '@coast/core-types/channel/ChannelType';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
|
|
3
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
4
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
5
5
|
export interface ListChannels {
|
|
6
6
|
autoAddUsers?: boolean;
|
|
7
7
|
businessId?: BusinessId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
1
2
|
import { Audit } from '../application/Audit';
|
|
2
|
-
import { BusinessId } from '../business/BusinessId';
|
|
3
3
|
import { EntityWidget } from './EntityWidget';
|
|
4
4
|
export interface Dashboard extends Audit {
|
|
5
5
|
businessId: BusinessId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ViewTemplateId } from '
|
|
2
|
-
import { WorkflowTemplateId } from '
|
|
1
|
+
import { ViewTemplateId } from '@coast/core-types/view-template/ViewTemplateId';
|
|
2
|
+
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
3
|
import { Dashboard } from './Dashboard';
|
|
4
4
|
export interface EntityWidget {
|
|
5
5
|
channelId: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AutomationId } from '
|
|
2
|
-
import { OriginUserId } from '
|
|
1
|
+
import { AutomationId } from '@coast/core-types/automations/AutomationId';
|
|
2
|
+
import { OriginUserId } from '@coast/core-types/user/UserId';
|
|
3
3
|
export interface ExecutionOrigin {
|
|
4
4
|
userId?: OriginUserId;
|
|
5
5
|
isSystemUser?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BusinessId } from '
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
2
2
|
import { CreateWorkflowEntitiesExport } from './CreateWorkflowEntitiesExport';
|
|
3
3
|
export interface BulkExportRequest {
|
|
4
4
|
createWorkflowEntitiesExport: CreateWorkflowEntitiesExport;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FileOperationType } from '@coast/core-types/file-operations/FileOperationType';
|
|
2
|
-
import { FileId } from '
|
|
2
|
+
import { FileId } from '@coast/core-types/file-storage/FileId';
|
|
3
3
|
export interface CreateFileOperation {
|
|
4
4
|
fileId: FileId;
|
|
5
5
|
type: FileOperationType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BusinessId } from '
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
2
|
+
import { FileOperationId } from '@coast/core-types/file-operations/FileOperationId';
|
|
3
|
+
import { FileId } from '@coast/core-types/file-storage/FileId';
|
|
4
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
5
5
|
export interface FileOperationEntity {
|
|
6
6
|
id: FileOperationId;
|
|
7
7
|
userId: UserId;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
2
|
+
import { FileId } from '@coast/core-types/file-storage/FileId';
|
|
1
3
|
import { Audit } from '../application/Audit';
|
|
2
|
-
import { BusinessId } from '../business/BusinessId';
|
|
3
|
-
import { FileId } from './FileId';
|
|
4
4
|
export interface File extends Audit {
|
|
5
5
|
businessId: BusinessId;
|
|
6
6
|
contentType: string;
|