@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.
Files changed (249) hide show
  1. package/dist/models/activity-feed/ActivityFeedItem.d.ts +1 -1
  2. package/dist/models/activity-feed/CreateActivityFeedItem.d.ts +1 -1
  3. package/dist/models/activity-feed/CreateUserRelation.d.ts +1 -1
  4. package/dist/models/activity-feed/ListActivityFeedItems.d.ts +1 -1
  5. package/dist/models/application/DataEntity.d.ts +1 -1
  6. package/dist/models/auth/CreateChannelMembership.d.ts +1 -1
  7. package/dist/models/auth/DeleteChannelMembership.d.ts +1 -1
  8. package/dist/models/auth/SamlUser.d.ts +1 -1
  9. package/dist/models/auth/WorkspaceUserGroupAssociation.d.ts +2 -2
  10. package/dist/models/auth/db/WorkspaceUserGroupAssociationEntity.d.ts +2 -2
  11. package/dist/models/auth/keys/ApiKey.d.ts +3 -3
  12. package/dist/models/automations/Automation.d.ts +2 -2
  13. package/dist/models/automations/AutomationContext.d.ts +4 -4
  14. package/dist/models/automations/UpdateAutomation.d.ts +1 -1
  15. package/dist/models/automations/UpdateAutomationGraphQL.d.ts +1 -1
  16. package/dist/models/automations/action/AutomationAction.d.ts +1 -1
  17. package/dist/models/automations/action/UpdateAutomationAction.d.ts +1 -1
  18. package/dist/models/automations/action/audit/AutomationActionAudit.d.ts +4 -4
  19. package/dist/models/automations/action/component-data/RelatedWorkflowEntityComponent.d.ts +1 -1
  20. package/dist/models/automations/action/settings/ExternalFormLinkCreateActionSettings.d.ts +1 -1
  21. package/dist/models/automations/action/settings/ReferencedInAggregate.d.ts +1 -1
  22. package/dist/models/automations/action/settings/RelatedCardEmail.d.ts +1 -1
  23. package/dist/models/automations/action/settings/SendEmailActionSettings.d.ts +1 -1
  24. package/dist/models/automations/action/settings/SendNotificationActionSettings.d.ts +1 -1
  25. package/dist/models/automations/action/settings/SendPushNotificationActionSettings.d.ts +2 -2
  26. package/dist/models/automations/action/settings/SendWebhookActionSettings.d.ts +1 -1
  27. package/dist/models/automations/action/settings/TriggerRelatedCardAutomationActionSettings.d.ts +2 -2
  28. package/dist/models/automations/action/settings/UpdateRelatedCardQuantityActionSettings.d.ts +1 -1
  29. package/dist/models/automations/action/settings/WorkflowEntityActionSettings.d.ts +1 -1
  30. package/dist/models/automations/condition/operands/WorkflowEntityRefComponentOperand.d.ts +1 -1
  31. package/dist/models/billing/Billing.d.ts +2 -2
  32. package/dist/models/billing/CreateCustomer.d.ts +2 -2
  33. package/dist/models/billing/Customer.d.ts +1 -1
  34. package/dist/models/business/Business.d.ts +1 -1
  35. package/dist/models/business/BusinessEventJob.d.ts +2 -2
  36. package/dist/models/business/BusinessMembership.d.ts +2 -2
  37. package/dist/models/business/UpdateBusinessV2.d.ts +1 -1
  38. package/dist/models/card/Card.d.ts +2 -2
  39. package/dist/models/card/CreateNonRecurringCard.d.ts +2 -2
  40. package/dist/models/card/ExternalCardBatchEvent.d.ts +2 -2
  41. package/dist/models/card/ExternalCardEventPayload.d.ts +3 -3
  42. package/dist/models/card/NotificationEvent.d.ts +1 -1
  43. package/dist/models/card/UpdateCard.d.ts +1 -1
  44. package/dist/models/card/client-event/ClientEvent.d.ts +1 -1
  45. package/dist/models/card/client-event/CreateClientEvent.d.ts +1 -1
  46. package/dist/models/card/list-cards/ListCards.d.ts +2 -2
  47. package/dist/models/card/summary-card/AbstractListSummaryCard.d.ts +1 -1
  48. package/dist/models/channel/Channel.d.ts +3 -3
  49. package/dist/models/channel/ChannelEventJob.d.ts +1 -1
  50. package/dist/models/channel/CreateChannel.d.ts +3 -3
  51. package/dist/models/channel/DuplicateWorkspace.d.ts +1 -1
  52. package/dist/models/channel/ListChannels.d.ts +3 -3
  53. package/dist/models/common/WithBusinessId.d.ts +1 -1
  54. package/dist/models/dashboard/Dashboard.d.ts +1 -1
  55. package/dist/models/dashboard/EntityWidget.d.ts +2 -2
  56. package/dist/models/dashboard/UserEntityWidgetAssociation.d.ts +1 -1
  57. package/dist/models/execution/ExecutionOrigin.d.ts +2 -2
  58. package/dist/models/export/BulkExportRequest.d.ts +1 -1
  59. package/dist/models/file-operations/CreateFileOperation.d.ts +1 -1
  60. package/dist/models/file-operations/FileOperationEntity.d.ts +4 -4
  61. package/dist/models/file-storage/File.d.ts +2 -2
  62. package/dist/models/flatfile/CreateFlatfileImportSession.d.ts +1 -1
  63. package/dist/models/integration/CreateAppIntegration.d.ts +1 -1
  64. package/dist/models/integration/Integration.d.ts +2 -2
  65. package/dist/models/integration/IntegrationVerification.d.ts +1 -1
  66. package/dist/models/integration/ListIntegrations.d.ts +1 -1
  67. package/dist/models/json-relations/workflow-template/WorkflowTemplateFieldLink.d.ts +1 -1
  68. package/dist/models/messaging/CreateLegacyMessage.d.ts +1 -1
  69. package/dist/models/messaging/CreateThreadMessage.d.ts +1 -1
  70. package/dist/models/messaging/ThreadMessage.d.ts +1 -1
  71. package/dist/models/messaging/ThreadMessageMeta.d.ts +1 -1
  72. package/dist/models/messaging/ThreadMessageMetaInput.d.ts +1 -1
  73. package/dist/models/messaging/ThreadMessageReaction.d.ts +1 -1
  74. package/dist/models/messaging/Token.d.ts +1 -1
  75. package/dist/models/metrics/CreateUsageMetric.d.ts +2 -2
  76. package/dist/models/metrics/MessageEventJob.d.ts +2 -2
  77. package/dist/models/metrics/StorageEventJob.d.ts +2 -2
  78. package/dist/models/metrics/UsageMetric.d.ts +2 -2
  79. package/dist/models/pdf-subforms/GetSubformComponents.d.ts +1 -1
  80. package/dist/models/reporting/CreateReport.d.ts +1 -1
  81. package/dist/models/reporting/ListReports.d.ts +1 -1
  82. package/dist/models/reporting/ListReportsV2.d.ts +1 -1
  83. package/dist/models/reporting/Report.d.ts +1 -1
  84. package/dist/models/search/Indexable.d.ts +2 -2
  85. package/dist/models/search/SearchResult.d.ts +1 -1
  86. package/dist/models/shared-link/ListSharedCardLinks.d.ts +1 -1
  87. package/dist/models/shared-link/SharedCardLink.d.ts +4 -4
  88. package/dist/models/user/ListUsers.d.ts +1 -1
  89. package/dist/models/user/UpdateUser.d.ts +1 -1
  90. package/dist/models/user/User.d.ts +1 -1
  91. package/dist/models/user/UserEventJob.d.ts +2 -2
  92. package/dist/models/user/group/ListUserGroups.d.ts +1 -1
  93. package/dist/models/user/group/UserGroup.d.ts +2 -2
  94. package/dist/models/user/group/UserGroupUserAssociation.d.ts +2 -2
  95. package/dist/models/user/group/db/UserGroupUserAssociationEntity.d.ts +2 -2
  96. package/dist/models/view-template/DuplicateViewTemplate.d.ts +1 -1
  97. package/dist/models/view-template/UpdateViewTemplate.d.ts +2 -2
  98. package/dist/models/view-template/ViewTemplate.d.ts +2 -2
  99. package/dist/models/view-template/ViewTemplateCopyMapping.d.ts +1 -1
  100. package/dist/models/view-template-layout/ViewTemplateLayout.d.ts +3 -3
  101. package/dist/models/view-template-layout/ViewTemplateLayoutItem.d.ts +1 -1
  102. package/dist/models/view-template-layout/items/ViewTemplateLayoutComponent.d.ts +1 -1
  103. package/dist/models/view-template-layout/items/ViewTemplateLayoutSection.d.ts +1 -1
  104. package/dist/models/webhook/WorkflowEntityWebhookPayload.d.ts +1 -1
  105. package/dist/models/workflow-app/InstallBundle.d.ts +1 -1
  106. package/dist/models/workflow-app/bundle/Bundle.d.ts +2 -2
  107. package/dist/models/workflow-app/bundle/GetBundle.d.ts +1 -1
  108. package/dist/models/workflow-app/bundle/public-bundle/PublicBundle.d.ts +1 -1
  109. package/dist/models/workflow-app/bundle/public-bundle/WorkspaceRef.d.ts +1 -1
  110. package/dist/models/workflow-app/bundle/public-bundle/WorkspaceSectionRef.d.ts +1 -1
  111. package/dist/models/workflow-app/compensations/AutomationActionReference.d.ts +1 -1
  112. package/dist/models/workflow-app/compensations/AutomationReference.d.ts +1 -1
  113. package/dist/models/workflow-app/compensations/ComponentReference.d.ts +1 -1
  114. package/dist/models/workflow-app/compensations/WorkflowTemplateReference.d.ts +1 -1
  115. package/dist/models/workflow-app/duplication-results/DuplicationResult.d.ts +1 -1
  116. package/dist/models/workflow-automation/CreateWorkflowAutomationEvent.d.ts +2 -2
  117. package/dist/models/workflow-automation/CreateWorkflowTemplateAutomationAssociation.d.ts +2 -2
  118. package/dist/models/workflow-automation/ListWorkflowTemplateAutomations.d.ts +1 -1
  119. package/dist/models/workflow-automation/WorkflowAutomationsEvent.d.ts +1 -1
  120. package/dist/models/workflow-automation/WorkflowTemplateAutomationAssociation.d.ts +2 -2
  121. package/dist/models/workflow-entity/AggregateRelatedCardQuantityInput.d.ts +1 -1
  122. package/dist/models/workflow-entity/CountWorkflowEntitiesContext.d.ts +1 -1
  123. package/dist/models/workflow-entity/CreateWorkflowEntities.d.ts +1 -1
  124. package/dist/models/workflow-entity/CreateWorkflowEntity.d.ts +1 -1
  125. package/dist/models/workflow-entity/DeleteWorkflowEntities.d.ts +1 -1
  126. package/dist/models/workflow-entity/GetWorkflowEntities.d.ts +1 -1
  127. package/dist/models/workflow-entity/ListWorkflowEntitiesContext.d.ts +1 -1
  128. package/dist/models/workflow-entity/ListWorkflowEntitiesInput.d.ts +2 -2
  129. package/dist/models/workflow-entity/MoveWorkflowEntities.d.ts +1 -1
  130. package/dist/models/workflow-entity/RestoreWorkflowEntities.d.ts +1 -1
  131. package/dist/models/workflow-entity/UpdateWorkflowEntities.d.ts +1 -1
  132. package/dist/models/workflow-entity/WorkflowEntity.d.ts +1 -1
  133. package/dist/models/workflow-entity/audit-trail/ComponentDataChange.d.ts +1 -1
  134. package/dist/models/workflow-entity/audit-trail/EntityAuditTrailEvent.d.ts +2 -2
  135. package/dist/models/workflow-entity/entity-mapping/EntityMapping.d.ts +1 -1
  136. package/dist/models/workflow-entity/entity-mapping/ViewTemplateSearchKey.d.ts +2 -2
  137. package/dist/models/workflow-entity/recurring/CreateRecurringEntitiesExtension.d.ts +2 -2
  138. package/dist/models/workflow-entity/recurring/GetRecurringEntitiesSchedule.d.ts +2 -2
  139. package/dist/models/workflow-entity/recurring/RecurringEntitiesAutoExtendEvent.d.ts +2 -2
  140. package/dist/models/workflow-entity/recurring/RecurringEntitiesExtend.d.ts +1 -1
  141. package/dist/models/workflow-entity/recurring/RecurringEntitiesSchedule.d.ts +3 -3
  142. package/dist/models/workflow-entity/recurring/UpdateRecurringEntities.d.ts +2 -2
  143. package/dist/models/workflow-entity/scheduled-automation/EntityScheduledAutomationTrigger.d.ts +2 -2
  144. package/dist/models/workflow-entity/sort/ImpliedSortKeys.d.ts +2 -2
  145. package/dist/models/workflow-library/CreateWorkflowListItemAssociation.d.ts +1 -1
  146. package/dist/models/workflow-template/ListWorkflowTemplates.d.ts +2 -2
  147. package/dist/models/workflow-template/ListWorkflowTemplatesRestQuery.d.ts +1 -1
  148. package/dist/models/workflow-template/UpdateWorkflowTemplate.d.ts +1 -1
  149. package/dist/models/workflow-template/WorkflowTemplate.d.ts +3 -3
  150. package/dist/models/workflow-template/behaviors/ViewTemplateSelector.d.ts +1 -1
  151. package/dist/models/workflow-template/component-subscription/ComponentSubscription.d.ts +1 -1
  152. package/dist/models/workflow-template/component-subscription/ComponentSubscriptionEvents.d.ts +1 -1
  153. package/dist/models/workflow-template/components/enitty-batch/EntityBatchComponentData.d.ts +1 -1
  154. package/dist/models/workflow-template/components/geo-location/GeolocationComponentDataValue.d.ts +1 -1
  155. package/dist/models/workflow-template/components/person/PersonComponentData.d.ts +1 -1
  156. package/dist/models/workflow-template/components/person/PersonComponentDefault.d.ts +1 -1
  157. package/dist/models/workflow-template/components/referenced-in/ReferencedInComponent.d.ts +2 -2
  158. package/dist/models/workflow-template/components/related-card/RelatedCardComponent.d.ts +1 -1
  159. package/dist/models/workflow-template/components/related-card-lookup/RelatedCardLookupComponent.d.ts +1 -1
  160. package/dist/models/workflow-template/components/scheduled-automation/ScheduledAutomationComponent.d.ts +1 -1
  161. package/dist/models/workflow-template/components/signature/SignatureComponentDataValue.d.ts +1 -1
  162. package/dist/models/workflow-template/components/subform/SubformComponent.d.ts +1 -1
  163. package/dist/models/workflow-template/components/subform/SubformComponentAuditDataValue.d.ts +1 -1
  164. package/dist/models/workflow-template/components/subform/SubformComponentDataValue.d.ts +1 -1
  165. package/dist/models/workflow-template/components/subform/SubformDefault.d.ts +1 -1
  166. package/dist/models/workflow-template/components/time-tracker/TimeTrackerGeolocation.d.ts +1 -1
  167. package/dist/models/workflow-tier/CreateWorkflowTierAssociation.d.ts +1 -1
  168. package/dist/models/workspace-section/DuplicateWorkspaceSection.d.ts +1 -1
  169. package/dist/models/workspace-section/UpdateWorkspaceSection.d.ts +1 -1
  170. package/dist/models/workspace-section/WorkspaceSection.d.ts +1 -1
  171. package/package.json +2 -2
  172. package/dist/models/application/Id.d.ts +0 -2
  173. package/dist/models/application/Id.js +0 -3
  174. package/dist/models/application/Id.js.map +0 -1
  175. package/dist/models/auth/keys/ApiKeyId.d.ts +0 -2
  176. package/dist/models/auth/keys/ApiKeyId.js +0 -3
  177. package/dist/models/auth/keys/ApiKeyId.js.map +0 -1
  178. package/dist/models/automations/AutomationId.d.ts +0 -2
  179. package/dist/models/automations/AutomationId.js +0 -3
  180. package/dist/models/automations/AutomationId.js.map +0 -1
  181. package/dist/models/automations/action/AutomationActionId.d.ts +0 -2
  182. package/dist/models/automations/action/AutomationActionId.js +0 -3
  183. package/dist/models/automations/action/AutomationActionId.js.map +0 -1
  184. package/dist/models/automations/action/audit/AutomationActionAuditId.d.ts +0 -2
  185. package/dist/models/automations/action/audit/AutomationActionAuditId.js +0 -3
  186. package/dist/models/automations/action/audit/AutomationActionAuditId.js.map +0 -1
  187. package/dist/models/business/BusinessId.d.ts +0 -2
  188. package/dist/models/business/BusinessId.js +0 -3
  189. package/dist/models/business/BusinessId.js.map +0 -1
  190. package/dist/models/channel/ChannelSlug.d.ts +0 -2
  191. package/dist/models/channel/ChannelSlug.js +0 -3
  192. package/dist/models/channel/ChannelSlug.js.map +0 -1
  193. package/dist/models/channel/WorkspaceId.d.ts +0 -2
  194. package/dist/models/channel/WorkspaceId.js +0 -3
  195. package/dist/models/channel/WorkspaceId.js.map +0 -1
  196. package/dist/models/common/HmacSecretKey.d.ts +0 -2
  197. package/dist/models/common/HmacSecretKey.js +0 -3
  198. package/dist/models/common/HmacSecretKey.js.map +0 -1
  199. package/dist/models/common/ISODateString.d.ts +0 -2
  200. package/dist/models/common/ISODateString.js +0 -3
  201. package/dist/models/common/ISODateString.js.map +0 -1
  202. package/dist/models/common/RRuleString.d.ts +0 -2
  203. package/dist/models/common/RRuleString.js +0 -3
  204. package/dist/models/common/RRuleString.js.map +0 -1
  205. package/dist/models/file-operations/FileOperationId.d.ts +0 -2
  206. package/dist/models/file-operations/FileOperationId.js +0 -3
  207. package/dist/models/file-operations/FileOperationId.js.map +0 -1
  208. package/dist/models/file-storage/FileId.d.ts +0 -2
  209. package/dist/models/file-storage/FileId.js +0 -3
  210. package/dist/models/file-storage/FileId.js.map +0 -1
  211. package/dist/models/shared-link/SharedCardLinkId.d.ts +0 -2
  212. package/dist/models/shared-link/SharedCardLinkId.js +0 -3
  213. package/dist/models/shared-link/SharedCardLinkId.js.map +0 -1
  214. package/dist/models/user/UserId.d.ts +0 -3
  215. package/dist/models/user/UserId.js +0 -3
  216. package/dist/models/user/UserId.js.map +0 -1
  217. package/dist/models/user/group/UserGroupId.d.ts +0 -2
  218. package/dist/models/user/group/UserGroupId.js +0 -3
  219. package/dist/models/user/group/UserGroupId.js.map +0 -1
  220. package/dist/models/view-template/ViewTemplateId.d.ts +0 -2
  221. package/dist/models/view-template/ViewTemplateId.js +0 -3
  222. package/dist/models/view-template/ViewTemplateId.js.map +0 -1
  223. package/dist/models/view-template-layout/ViewTemplateLayoutId.d.ts +0 -2
  224. package/dist/models/view-template-layout/ViewTemplateLayoutId.js +0 -3
  225. package/dist/models/view-template-layout/ViewTemplateLayoutId.js.map +0 -1
  226. package/dist/models/view-template-layout/ViewTemplateLayoutItemId.d.ts +0 -2
  227. package/dist/models/view-template-layout/ViewTemplateLayoutItemId.js +0 -3
  228. package/dist/models/view-template-layout/ViewTemplateLayoutItemId.js.map +0 -1
  229. package/dist/models/workflow-app/bundle/BundleId.d.ts +0 -2
  230. package/dist/models/workflow-app/bundle/BundleId.js +0 -3
  231. package/dist/models/workflow-app/bundle/BundleId.js.map +0 -1
  232. package/dist/models/workflow-entity/WorkflowEntityEventId.d.ts +0 -2
  233. package/dist/models/workflow-entity/WorkflowEntityEventId.js +0 -3
  234. package/dist/models/workflow-entity/WorkflowEntityEventId.js.map +0 -1
  235. package/dist/models/workflow-entity/recurring/RecurringEntitiesScheduleId.d.ts +0 -2
  236. package/dist/models/workflow-entity/recurring/RecurringEntitiesScheduleId.js +0 -3
  237. package/dist/models/workflow-entity/recurring/RecurringEntitiesScheduleId.js.map +0 -1
  238. package/dist/models/workflow-entity/sort/LexoSortKey.d.ts +0 -2
  239. package/dist/models/workflow-entity/sort/LexoSortKey.js +0 -3
  240. package/dist/models/workflow-entity/sort/LexoSortKey.js.map +0 -1
  241. package/dist/models/workflow-template/WorkflowTemplateId.d.ts +0 -2
  242. package/dist/models/workflow-template/WorkflowTemplateId.js +0 -3
  243. package/dist/models/workflow-template/WorkflowTemplateId.js.map +0 -1
  244. package/dist/models/workflow-template/components/ComponentId.d.ts +0 -2
  245. package/dist/models/workflow-template/components/ComponentId.js +0 -3
  246. package/dist/models/workflow-template/components/ComponentId.js.map +0 -1
  247. package/dist/models/workspace-section/WorkspaceSectionId.d.ts +0 -2
  248. package/dist/models/workspace-section/WorkspaceSectionId.js +0 -3
  249. 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 '../user/UserId';
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,4 +1,4 @@
1
- import { UserId } from '../user/UserId';
1
+ import { UserId } from '@coast/core-types/user/UserId';
2
2
  export interface CreateUserRelation {
3
3
  id: UserId;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { UserId } from '../user/UserId';
1
+ import { UserId } from '@coast/core-types/user/UserId';
2
2
  export interface ListActivityFeedItems {
3
3
  channelIds?: number[];
4
4
  cursor?: Date;
@@ -1,4 +1,4 @@
1
- import { Id } from './Id';
1
+ import { Id } from '@coast/core-types/application/Id';
2
2
  export interface DataEntity {
3
3
  id: Id;
4
4
  channelId?: number;
@@ -1,5 +1,5 @@
1
1
  import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
2
- import { UserId } from '../user/UserId';
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,4 +1,4 @@
1
- import { UserId } from '../user/UserId';
1
+ import { UserId } from '@coast/core-types/user/UserId';
2
2
  export interface DeleteChannelMembership {
3
3
  channelId: number;
4
4
  userId: UserId;
@@ -1,4 +1,4 @@
1
- import { BusinessId } from '../business/BusinessId';
1
+ import { BusinessId } from '@coast/core-types/business/BusinessId';
2
2
  export interface SamlUser {
3
3
  businessId: BusinessId;
4
4
  email: string;
@@ -1,5 +1,5 @@
1
- import { WorkspaceId } from '../channel/WorkspaceId';
2
- import { UserGroupId } from '../user/group/UserGroupId';
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 '../../channel/WorkspaceId';
3
- import { UserGroupId } from '../../user/group/UserGroupId';
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 '../business/BusinessId';
3
- import { OriginUserId } from '../user/UserId';
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 '../../../workflow-template/components/ComponentId';
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 '../../../view-template/ViewTemplateId';
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 '../../../workflow-template/components/ComponentId';
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 '../../../workflow-template/WorkflowTemplateId';
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 '../../../workflow-template/WorkflowTemplateId';
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 '../../../user/UserId';
3
- import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
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 '../../../common/HmacSecretKey';
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;
@@ -1,6 +1,6 @@
1
1
  import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
2
- import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
3
- import { AutomationId } from '../../AutomationId';
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;
@@ -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 '../../../workflow-template/WorkflowTemplateId';
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 '../../../workflow-template/WorkflowTemplateId';
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 '../business/BusinessId';
2
- import { UserId } from '../user/UserId';
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,4 +1,4 @@
1
- import { UserId } from '../user/UserId';
1
+ import { UserId } from '@coast/core-types/user/UserId';
2
2
  import { BillingSubscription } from './BillingSubscription';
3
3
  export interface Customer {
4
4
  balance?: number;
@@ -1,5 +1,5 @@
1
+ import { BusinessId } from '@coast/core-types/business/BusinessId';
1
2
  import { Audit } from '../application/Audit';
2
- import { BusinessId } from './BusinessId';
3
3
  export interface Business extends Audit {
4
4
  creatorId?: number;
5
5
  email?: string;
@@ -1,6 +1,6 @@
1
1
  import { BusinessEventType } from '@coast/core-types/business/BusinessEventType';
2
- import { UserId } from '../user/UserId';
3
- import { BusinessId } from './BusinessId';
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,4 +1,4 @@
1
- import { BusinessId } from './BusinessId';
1
+ import { BusinessId } from '@coast/core-types/business/BusinessId';
2
2
  export interface UpdateBusinessV2 {
3
3
  id: BusinessId;
4
4
  password?: string;
@@ -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 '../user/UserId';
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 '../../user/UserId';
2
+ import { UserId } from '@coast/core-types/user/UserId';
3
3
  export interface ClientEvent {
4
4
  cardId?: string;
5
5
  channelId?: number;
@@ -1,5 +1,5 @@
1
1
  import { ClientEventType } from '@coast/core-types/card/client-event/ClientEventType';
2
- import { UserId } from '../../user/UserId';
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,5 +1,5 @@
1
1
  import { ChannelEventType } from '@coast/core-types/channel/ChannelEventType';
2
- import { UserId } from '../user/UserId';
2
+ import { UserId } from '@coast/core-types/user/UserId';
3
3
  export interface ChannelEventJob {
4
4
  userId: UserId;
5
5
  channelId: number;
@@ -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 { BusinessId } from '../business/BusinessId';
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 { BusinessId } from '../business/BusinessId';
3
- import { UserId } from '../user/UserId';
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,4 +1,4 @@
1
- import { BusinessId } from '../business/BusinessId';
1
+ import { BusinessId } from '@coast/core-types/business/BusinessId';
2
2
  export type WithBusinessId<T> = T & {
3
3
  businessId: BusinessId;
4
4
  };
@@ -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 '../view-template/ViewTemplateId';
2
- import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
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,4 +1,4 @@
1
- import { UserId } from '../user/UserId';
1
+ import { UserId } from '@coast/core-types/user/UserId';
2
2
  export interface UserEntityWidgetAssociation {
3
3
  entityWidgetId: string;
4
4
  userId: UserId;
@@ -1,5 +1,5 @@
1
- import { AutomationId } from '../automations/AutomationId';
2
- import { OriginUserId } from '../user/UserId';
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 '../business/BusinessId';
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 '../file-storage/FileId';
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 '../business/BusinessId';
2
- import { FileId } from '../file-storage/FileId';
3
- import { UserId } from '../user/UserId';
4
- import { FileOperationId } from './FileOperationId';
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;