@coast/core-api-types 1.2.242 → 1.2.243
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/application/HeaderKeys.d.ts +1 -10
- package/dist/models/application/HeaderKeys.js +15 -12
- package/dist/models/application/HeaderKeys.js.map +1 -1
- package/dist/models/auth/AccessLevel.d.ts +1 -1
- package/dist/models/auth/ChannelMembership.d.ts +3 -3
- package/dist/models/auth/CreateChannelMembership.d.ts +1 -1
- package/dist/models/auth/CreateWorkspaceUserGroupAssociation.d.ts +1 -1
- package/dist/models/auth/ListAccessLevels.d.ts +1 -1
- package/dist/models/auth/UpdateChannelMembership.d.ts +1 -1
- package/dist/models/auth/db/WorkspaceUserGroupAssociationEntity.d.ts +1 -1
- package/dist/models/automations/Automation.d.ts +1 -1
- package/dist/models/automations/AutomationContext.d.ts +1 -1
- package/dist/models/automations/AutomationEventContext.d.ts +1 -1
- package/dist/models/automations/action/AutomationAction.d.ts +1 -1
- package/dist/models/automations/action/CalculateValueAction.d.ts +1 -1
- package/dist/models/automations/action/CreateAutomationAction.d.ts +1 -1
- package/dist/models/automations/action/CreateAutomationActionGraphQL.d.ts +1 -1
- package/dist/models/automations/action/CurrentWorkflowEntityUpdateAction.d.ts +1 -1
- package/dist/models/automations/action/ExternalFormLinkCreateAction.d.ts +1 -1
- package/dist/models/automations/action/ReferencedInQuantitySumAction.d.ts +1 -1
- package/dist/models/automations/action/SendNotificationAction.d.ts +1 -1
- package/dist/models/automations/action/SendPushNotificationAction.d.ts +1 -1
- package/dist/models/automations/action/SendWebhookAction.d.ts +1 -1
- package/dist/models/automations/action/TriggerRelatedCardAutomationAction.d.ts +1 -1
- package/dist/models/automations/action/UpdateRelatedCardQuantityAction.d.ts +1 -1
- package/dist/models/automations/action/WorkflowEntityCreateAction.d.ts +1 -1
- package/dist/models/automations/action/WorkflowEntityUpdateAction.d.ts +1 -1
- package/dist/models/automations/action/audit/AutomationActionAudit.d.ts +1 -1
- package/dist/models/automations/action/audit/AutomationActionAuditResult.d.ts +1 -1
- package/dist/models/automations/action/audit/SendWebhookActionAuditResult.d.ts +2 -2
- package/dist/models/automations/action/component-data/ActionResultNumber.d.ts +1 -1
- package/dist/models/automations/action/component-data/CurrentWorkflowEntity.d.ts +1 -1
- package/dist/models/automations/action/component-data/CurrentWorkflowEntityComponent.d.ts +1 -1
- package/dist/models/automations/action/component-data/DynamicComponentData.d.ts +1 -1
- package/dist/models/automations/action/component-data/DynamicComponentDataOneOf.d.ts +1 -1
- package/dist/models/automations/action/component-data/OriginUser.d.ts +1 -1
- package/dist/models/automations/action/component-data/RelatedWorkflowEntityComponent.d.ts +1 -1
- package/dist/models/automations/action/component-data/TimeTrackerDataAction.d.ts +2 -2
- package/dist/models/automations/action/settings/AutomationActionSettings.d.ts +1 -1
- package/dist/models/automations/action/settings/CalculateValueActionSettings.d.ts +2 -2
- package/dist/models/automations/action/settings/CreateCurrentWorkflowEntityUpdateActionSettings.d.ts +1 -1
- package/dist/models/automations/action/settings/CurrentWorkflowEntityUpdateActionSettings.d.ts +1 -1
- package/dist/models/automations/action/settings/ExternalFormLinkCreateActionSettings.d.ts +1 -1
- package/dist/models/automations/action/settings/ReferencedInQuantitySumActionSettings.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 +1 -1
- package/dist/models/automations/action/settings/SendWebhookActionSettings.d.ts +1 -1
- package/dist/models/automations/action/settings/SettingsWorkflowEntityField.d.ts +1 -1
- package/dist/models/automations/action/settings/TriggerRelatedCardAutomationActionSettings.d.ts +1 -1
- 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/action/settings/WorkflowEntityCreateActionSettings.d.ts +1 -1
- package/dist/models/automations/action/settings/WorkflowEntityUpdateActionSettings.d.ts +1 -1
- package/dist/models/automations/condition/Condition.d.ts +2 -2
- package/dist/models/automations/condition/operands/DateTokenOperand.d.ts +1 -1
- package/dist/models/automations/condition/operands/Operand.d.ts +1 -1
- package/dist/models/billing/BillingSubscription.d.ts +2 -2
- package/dist/models/billing/SubscriptionPlan.d.ts +1 -1
- package/dist/models/billing/SubscriptionPlanPrice.d.ts +1 -1
- package/dist/models/billing/SubscriptionPlanProduct.d.ts +1 -1
- package/dist/models/billing/SubscriptionPlanWorkflowTier.d.ts +1 -1
- package/dist/models/business/BusinessEventJob.d.ts +1 -1
- package/dist/models/business/BusinessMembership.d.ts +1 -1
- package/dist/models/card/Card.d.ts +1 -1
- package/dist/models/card/CardEvent.d.ts +1 -1
- package/dist/models/card/CardStatusChangeJobData.d.ts +1 -1
- package/dist/models/card/DeleteCard.d.ts +1 -1
- package/dist/models/card/ExternalCardEventType.d.ts +2 -2
- package/dist/models/card/NotificationEvent.d.ts +2 -2
- package/dist/models/card/UpdateCard.d.ts +1 -1
- package/dist/models/card/card-definition/CardDefinition.d.ts +1 -1
- package/dist/models/card/card-definition/CardUITemplate.d.ts +1 -1
- package/dist/models/card/card-definition/CoastJSONSchema4.d.ts +1 -1
- package/dist/models/card/card-definition/CreateCardDefinition.d.ts +1 -1
- package/dist/models/card/card-definition/CreateCardUITemplate.d.ts +1 -1
- package/dist/models/card/card-definition/UpdateCardDefinition.d.ts +1 -1
- package/dist/models/card/card-reminder/CardReminder.d.ts +1 -1
- package/dist/models/card/card-reminder/CreateCardReminder.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/export/CreateCardExport.d.ts +1 -1
- package/dist/models/card/list-cards/CardRelationFilter.d.ts +1 -1
- package/dist/models/card/list-cards/LegacyCardRelationFilter.d.ts +1 -1
- package/dist/models/card/list-cards/ListCards.d.ts +1 -1
- package/dist/models/card/list-cards/ListCardsOrder.d.ts +2 -2
- package/dist/models/card/related-card/ListRelatedCardRollups.d.ts +2 -2
- package/dist/models/card/related-card/ListRelatedCards.d.ts +2 -2
- package/dist/models/channel/Channel.d.ts +2 -2
- package/dist/models/channel/ChannelAccountingUpdated.d.ts +2 -2
- package/dist/models/channel/ChannelEventJob.d.ts +1 -1
- package/dist/models/channel/CreateChannel.d.ts +2 -2
- package/dist/models/channel/ListChannels.d.ts +1 -1
- package/dist/models/common/error/GqlErrorExtensions.d.ts +2 -2
- package/dist/models/export/CreateWorkflowEntitiesExport.d.ts +1 -1
- package/dist/models/export/DataExport.d.ts +1 -1
- package/dist/models/export/FormDataExport.d.ts +1 -1
- package/dist/models/export/ListEntitiesFormData.d.ts +1 -1
- package/dist/models/export/SubformDataExport.d.ts +1 -1
- package/dist/models/file-operations/CreateFileOperation.d.ts +1 -1
- package/dist/models/file-operations/CreateFileOperationDTO.d.ts +1 -1
- package/dist/models/file-operations/FileOperation.d.ts +2 -2
- package/dist/models/integration/App.d.ts +1 -1
- package/dist/models/integration/CreateAppIntegration.d.ts +1 -1
- package/dist/models/integration/Integration.d.ts +1 -1
- package/dist/models/integration/IntegrationEntityEvent.d.ts +1 -1
- package/dist/models/integration/ListIntegrations.d.ts +1 -1
- package/dist/models/integration/UpdateIntegration.d.ts +1 -1
- package/dist/models/json-relations/workflow-template/LinkComponentType.d.ts +1 -1
- package/dist/models/messaging/CreateLegacyMessage.d.ts +3 -3
- package/dist/models/messaging/CreateThreadMessage.d.ts +3 -3
- package/dist/models/messaging/ThreadMessage.d.ts +4 -4
- package/dist/models/messaging/ThreadMessageReaction.d.ts +1 -1
- package/dist/models/messaging/Token.d.ts +2 -2
- package/dist/models/metrics/CreateUsageMetric.d.ts +2 -2
- package/dist/models/metrics/MessageEventJob.d.ts +1 -1
- package/dist/models/metrics/StorageEventJob.d.ts +1 -1
- package/dist/models/metrics/UsageMetric.d.ts +2 -2
- package/dist/models/metrics/UsageMetricSummary.d.ts +2 -2
- package/dist/models/plan-limits/PlanLimitOverage.d.ts +2 -2
- package/dist/models/search/Search.d.ts +1 -1
- package/dist/models/search/SearchResult.d.ts +1 -1
- package/dist/models/shared-link/SharedCardLink.d.ts +1 -1
- package/dist/models/user/CreateUser.d.ts +1 -1
- package/dist/models/user/CreateUserV2.d.ts +1 -1
- package/dist/models/user/ListUsersOrder.d.ts +2 -2
- package/dist/models/user/User.d.ts +3 -3
- package/dist/models/user/UserEventJob.d.ts +1 -1
- package/dist/models/utils/Optional.d.ts +1 -0
- package/dist/models/utils/Optional.js +18 -0
- package/dist/models/utils/Optional.js.map +1 -0
- package/dist/models/view-template/ListViewTemplateSort.d.ts +2 -2
- package/dist/models/view-template/ListViewTemplates.d.ts +3 -3
- package/dist/models/view-template/ViewTemplate.d.ts +2 -2
- package/dist/models/view-template-layout/ViewTemplateLayoutItem.d.ts +1 -1
- package/dist/models/webhook/WorkflowEntityWebhookPayload.d.ts +1 -1
- package/dist/models/workflow-automation/ListWorkflowTemplateAutomations.d.ts +1 -1
- package/dist/models/workflow-template/ListWorkflowTemplateSort.d.ts +2 -2
- package/dist/models/workflow-template/ListWorkflowTemplatesRestQuery.d.ts +2 -2
- package/dist/models/workflow-template/WorkflowTemplate.d.ts +1 -1
- package/dist/models/workflow-template/behaviors/Action.d.ts +1 -1
- package/dist/models/workflow-template/behaviors/NavigateAction.d.ts +1 -1
- package/dist/models/workflow-template/channel-default-configuration/ChannelDefaultConfiguration.d.ts +1 -1
- package/dist/models/workflow-template/component-subscription/ComponentSubscription.d.ts +2 -2
- package/dist/models/workflow-template/components/AnyComponentAuditData.d.ts +1 -1
- package/dist/models/workflow-template/components/AnyComponentDataChange.d.ts +1 -1
- package/dist/models/workflow-template/components/AuditComponentType.d.ts +1 -1
- package/dist/models/workflow-template/components/Component.d.ts +1 -1
- package/dist/models/workflow-template/components/ComponentData.d.ts +1 -1
- package/dist/models/workflow-template/components/ComponentOverrideType.d.ts +1 -1
- package/dist/models/workflow-template/components/InputComponentType.d.ts +1 -1
- package/dist/models/workflow-template/components/InputComponentTypes.d.ts +1 -1
- package/dist/models/workflow-template/components/InputComponentTypes.js +1 -1
- package/dist/models/workflow-template/components/InputComponentTypes.js.map +1 -1
- package/dist/models/workflow-template/components/PresentationComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/TagType.d.ts +1 -1
- package/dist/models/workflow-template/components/address/AddressComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/audit-checkbox/AuditCheckboxComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/audit-tag/AuditTagComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/audit-text/AuditTextComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/button/ButtonComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/button/InputButtonComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/date/DateComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/date-range/DateRangeComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/email/EmailComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/enitty-batch/EntityBatchComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/error/ComponentValidationError.d.ts +1 -1
- package/dist/models/workflow-template/components/file/FileComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/geo-location/GeolocationComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/number/NumberComponent.d.ts +2 -2
- package/dist/models/workflow-template/components/person/PersonComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/referenced-in/ReferencedInComponent.d.ts +1 -1
- 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/SignatureComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/static-text/StaticTextComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/subform/SubformComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/tag/CombinedTagsComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/tag/TagComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/text/TextComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/time-tracker/TimeTrackerComponent.d.ts +2 -2
- package/dist/models/workflow-template/components/todo/TodoComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/url/UrlComponent.d.ts +1 -1
- package/dist/models/workflow-template/entities/audit-trail/ComponentAuditData.d.ts +1 -1
- package/dist/models/workflow-template/entities/audit-trail/ComponentDataChange.d.ts +1 -1
- package/dist/models/workflow-template/entities/audit-trail/EntityAuditTrailEntry.d.ts +1 -1
- package/dist/models/workflow-template/entities/events/WorkflowEntityEvent.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/ContainsCurrentUser.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/ContainsNestedString.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/ContainsNumber.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/ContainsString.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/DateIs.d.ts +2 -2
- package/dist/models/workflow-template/entities/filters/DateRange.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/DateTokenIs.d.ts +2 -2
- package/dist/models/workflow-template/entities/filters/FilterBase.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/IsEmpty.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/IsNestedEmpty.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/MatchesScript.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/MultiMatchNumber.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/MultiMatchString.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/Negatable.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/NumberIs.d.ts +2 -2
- package/dist/models/workflow-template/entities/filters/RelativeDate.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/StringWildcard.d.ts +1 -1
- package/dist/models/workflow-template/entities/recurring/RecurrenceOffset.d.ts +1 -1
- package/dist/models/workflow-template/entities/recurring/RecurringEntitiesSchedule.d.ts +1 -1
- package/dist/models/workflow-template/entities/search/ScriptFilter.d.ts +1 -1
- package/dist/models/workflow-template/entities/search/SearchSort.d.ts +1 -1
- package/dist/models/workflow-template/entities/sort/SortByComponent.d.ts +1 -1
- package/dist/models/workflow-tier/WorkflowTier.d.ts +1 -1
- package/dist/models/workspace-section/DuplicateWorkspaceSection.d.ts +4 -0
- package/dist/models/{common/error/ApiError.js → workspace-section/DuplicateWorkspaceSection.js} +1 -1
- package/dist/models/workspace-section/DuplicateWorkspaceSection.js.map +1 -0
- package/package.json +2 -1
- package/dist/models/activity-feed/ActivityFeedEventType.d.ts +0 -9
- package/dist/models/activity-feed/ActivityFeedEventType.js +0 -14
- package/dist/models/activity-feed/ActivityFeedEventType.js.map +0 -1
- package/dist/models/application/query/OrderDirection.d.ts +0 -4
- package/dist/models/application/query/OrderDirection.js +0 -9
- package/dist/models/application/query/OrderDirection.js.map +0 -1
- package/dist/models/auth/AccessLevelDomain.d.ts +0 -3
- package/dist/models/auth/AccessLevelDomain.js +0 -8
- package/dist/models/auth/AccessLevelDomain.js.map +0 -1
- package/dist/models/auth/AccessLevelType.d.ts +0 -6
- package/dist/models/auth/AccessLevelType.js +0 -11
- package/dist/models/auth/AccessLevelType.js.map +0 -1
- package/dist/models/auth/ChannelMembershipEntity.d.ts +0 -3
- package/dist/models/auth/ChannelMembershipEntity.js +0 -8
- package/dist/models/auth/ChannelMembershipEntity.js.map +0 -1
- package/dist/models/automations/AutomationDateToken.d.ts +0 -3
- package/dist/models/automations/AutomationDateToken.js +0 -8
- package/dist/models/automations/AutomationDateToken.js.map +0 -1
- package/dist/models/automations/AutomationEventBusKey.d.ts +0 -3
- package/dist/models/automations/AutomationEventBusKey.js +0 -8
- package/dist/models/automations/AutomationEventBusKey.js.map +0 -1
- package/dist/models/automations/AutomationEventType.d.ts +0 -6
- package/dist/models/automations/AutomationEventType.js +0 -11
- package/dist/models/automations/AutomationEventType.js.map +0 -1
- package/dist/models/automations/AutomationTriggerType.d.ts +0 -5
- package/dist/models/automations/AutomationTriggerType.js +0 -10
- package/dist/models/automations/AutomationTriggerType.js.map +0 -1
- package/dist/models/automations/action/AutomationActionType.d.ts +0 -14
- package/dist/models/automations/action/AutomationActionType.js +0 -19
- package/dist/models/automations/action/AutomationActionType.js.map +0 -1
- package/dist/models/automations/action/audit/AutomationActionStatus.d.ts +0 -5
- package/dist/models/automations/action/audit/AutomationActionStatus.js +0 -10
- package/dist/models/automations/action/audit/AutomationActionStatus.js.map +0 -1
- package/dist/models/automations/action/component-data/DynamicComponentDataType.d.ts +0 -8
- package/dist/models/automations/action/component-data/DynamicComponentDataType.js +0 -13
- package/dist/models/automations/action/component-data/DynamicComponentDataType.js.map +0 -1
- package/dist/models/automations/action/settings/ArithmeticOperator.d.ts +0 -4
- package/dist/models/automations/action/settings/ArithmeticOperator.js +0 -9
- package/dist/models/automations/action/settings/ArithmeticOperator.js.map +0 -1
- package/dist/models/automations/action/settings/ArrayValueOperation.d.ts +0 -5
- package/dist/models/automations/action/settings/ArrayValueOperation.js +0 -10
- package/dist/models/automations/action/settings/ArrayValueOperation.js.map +0 -1
- package/dist/models/automations/condition/LogicalOperator.d.ts +0 -4
- package/dist/models/automations/condition/LogicalOperator.js +0 -9
- package/dist/models/automations/condition/LogicalOperator.js.map +0 -1
- package/dist/models/automations/condition/operands/OperandType.d.ts +0 -12
- package/dist/models/automations/condition/operands/OperandType.js +0 -17
- package/dist/models/automations/condition/operands/OperandType.js.map +0 -1
- package/dist/models/automations/error/AutomationErrorCode.d.ts +0 -8
- package/dist/models/automations/error/AutomationErrorCode.js +0 -13
- package/dist/models/automations/error/AutomationErrorCode.js.map +0 -1
- package/dist/models/billing/BillingSubscriptionStatus.d.ts +0 -9
- package/dist/models/billing/BillingSubscriptionStatus.js +0 -14
- package/dist/models/billing/BillingSubscriptionStatus.js.map +0 -1
- package/dist/models/billing/PlanTier.d.ts +0 -5
- package/dist/models/billing/PlanTier.js +0 -10
- package/dist/models/billing/PlanTier.js.map +0 -1
- package/dist/models/billing/SubscriptionPlanPriceInterval.d.ts +0 -4
- package/dist/models/billing/SubscriptionPlanPriceInterval.js +0 -9
- package/dist/models/billing/SubscriptionPlanPriceInterval.js.map +0 -1
- package/dist/models/billing/SubscriptionPlanType.d.ts +0 -4
- package/dist/models/billing/SubscriptionPlanType.js +0 -9
- package/dist/models/billing/SubscriptionPlanType.js.map +0 -1
- package/dist/models/billing/SubscriptionStatus.d.ts +0 -5
- package/dist/models/billing/SubscriptionStatus.js +0 -10
- package/dist/models/billing/SubscriptionStatus.js.map +0 -1
- package/dist/models/business/BusinessEventType.d.ts +0 -3
- package/dist/models/business/BusinessEventType.js +0 -8
- package/dist/models/business/BusinessEventType.js.map +0 -1
- package/dist/models/business/BusinessMembershipRole.d.ts +0 -5
- package/dist/models/business/BusinessMembershipRole.js +0 -10
- package/dist/models/business/BusinessMembershipRole.js.map +0 -1
- package/dist/models/card/CardStatus.d.ts +0 -4
- package/dist/models/card/CardStatus.js +0 -9
- package/dist/models/card/CardStatus.js.map +0 -1
- package/dist/models/card/EntityEventType.d.ts +0 -17
- package/dist/models/card/EntityEventType.js +0 -22
- package/dist/models/card/EntityEventType.js.map +0 -1
- package/dist/models/card/EntityRecurrenceScope.d.ts +0 -4
- package/dist/models/card/EntityRecurrenceScope.js +0 -9
- package/dist/models/card/EntityRecurrenceScope.js.map +0 -1
- package/dist/models/card/WorkspaceFocus.d.ts +0 -4
- package/dist/models/card/WorkspaceFocus.js +0 -9
- package/dist/models/card/WorkspaceFocus.js.map +0 -1
- package/dist/models/card/card-definition/CardUITemplateType.d.ts +0 -5
- package/dist/models/card/card-definition/CardUITemplateType.js +0 -10
- package/dist/models/card/card-definition/CardUITemplateType.js.map +0 -1
- package/dist/models/card/card-definition/CoastJSONFieldType.d.ts +0 -4
- package/dist/models/card/card-definition/CoastJSONFieldType.js +0 -9
- package/dist/models/card/card-definition/CoastJSONFieldType.js.map +0 -1
- package/dist/models/card/card-definition/DefinitionTypeIdentifier.d.ts +0 -4
- package/dist/models/card/card-definition/DefinitionTypeIdentifier.js +0 -9
- package/dist/models/card/card-definition/DefinitionTypeIdentifier.js.map +0 -1
- package/dist/models/card/card-reminder/CardReminderEventType.d.ts +0 -4
- package/dist/models/card/card-reminder/CardReminderEventType.js +0 -9
- package/dist/models/card/card-reminder/CardReminderEventType.js.map +0 -1
- package/dist/models/card/card-reminder/ReminderRelativeTo.d.ts +0 -4
- package/dist/models/card/card-reminder/ReminderRelativeTo.js +0 -9
- package/dist/models/card/card-reminder/ReminderRelativeTo.js.map +0 -1
- package/dist/models/card/client-event/ClientEventType.d.ts +0 -5
- package/dist/models/card/client-event/ClientEventType.js +0 -10
- package/dist/models/card/client-event/ClientEventType.js.map +0 -1
- package/dist/models/card/list-cards/CardRelationFilterType.d.ts +0 -4
- package/dist/models/card/list-cards/CardRelationFilterType.js +0 -9
- package/dist/models/card/list-cards/CardRelationFilterType.js.map +0 -1
- package/dist/models/card/list-cards/LegacyCardRelationFilterType.d.ts +0 -3
- package/dist/models/card/list-cards/LegacyCardRelationFilterType.js +0 -8
- package/dist/models/card/list-cards/LegacyCardRelationFilterType.js.map +0 -1
- package/dist/models/card/list-cards/ListCardsOrderBy.d.ts +0 -6
- package/dist/models/card/list-cards/ListCardsOrderBy.js +0 -11
- package/dist/models/card/list-cards/ListCardsOrderBy.js.map +0 -1
- package/dist/models/card/related-card/RelatedCardType.d.ts +0 -4
- package/dist/models/card/related-card/RelatedCardType.js +0 -9
- package/dist/models/card/related-card/RelatedCardType.js.map +0 -1
- package/dist/models/channel/ChannelEventType.d.ts +0 -3
- package/dist/models/channel/ChannelEventType.js +0 -8
- package/dist/models/channel/ChannelEventType.js.map +0 -1
- package/dist/models/channel/ChannelType.d.ts +0 -8
- package/dist/models/channel/ChannelType.js +0 -13
- package/dist/models/channel/ChannelType.js.map +0 -1
- package/dist/models/common/EventKey.d.ts +0 -42
- package/dist/models/common/EventKey.js +0 -47
- package/dist/models/common/EventKey.js.map +0 -1
- package/dist/models/common/SortDirection.d.ts +0 -4
- package/dist/models/common/SortDirection.js +0 -9
- package/dist/models/common/SortDirection.js.map +0 -1
- package/dist/models/common/error/ApiError.d.ts +0 -10
- package/dist/models/common/error/ApiError.js.map +0 -1
- package/dist/models/common/error/ErrorCode.d.ts +0 -13
- package/dist/models/common/error/ErrorCode.js +0 -3
- package/dist/models/common/error/ErrorCode.js.map +0 -1
- package/dist/models/common/error/GeneralErrorCode.d.ts +0 -14
- package/dist/models/common/error/GeneralErrorCode.js +0 -19
- package/dist/models/common/error/GeneralErrorCode.js.map +0 -1
- package/dist/models/dashboard/error/DashboardErrorCode.d.ts +0 -5
- package/dist/models/dashboard/error/DashboardErrorCode.js +0 -10
- package/dist/models/dashboard/error/DashboardErrorCode.js.map +0 -1
- package/dist/models/export/DataExportType.d.ts +0 -4
- package/dist/models/export/DataExportType.js +0 -9
- package/dist/models/export/DataExportType.js.map +0 -1
- package/dist/models/export/ExportFormat.d.ts +0 -6
- package/dist/models/export/ExportFormat.js +0 -11
- package/dist/models/export/ExportFormat.js.map +0 -1
- package/dist/models/file-operations/FileOperationStatus.d.ts +0 -7
- package/dist/models/file-operations/FileOperationStatus.js +0 -12
- package/dist/models/file-operations/FileOperationStatus.js.map +0 -1
- package/dist/models/file-operations/FileOperationType.d.ts +0 -7
- package/dist/models/file-operations/FileOperationType.js +0 -12
- package/dist/models/file-operations/FileOperationType.js.map +0 -1
- package/dist/models/integration/AppStatus.d.ts +0 -5
- package/dist/models/integration/AppStatus.js +0 -10
- package/dist/models/integration/AppStatus.js.map +0 -1
- package/dist/models/integration/IntegrationStatus.d.ts +0 -6
- package/dist/models/integration/IntegrationStatus.js +0 -11
- package/dist/models/integration/IntegrationStatus.js.map +0 -1
- package/dist/models/integration/error/IntegrationErrorCode.d.ts +0 -3
- package/dist/models/integration/error/IntegrationErrorCode.js +0 -8
- package/dist/models/integration/error/IntegrationErrorCode.js.map +0 -1
- package/dist/models/messaging/LegacyMessageSubtype.d.ts +0 -3
- package/dist/models/messaging/LegacyMessageSubtype.js +0 -8
- package/dist/models/messaging/LegacyMessageSubtype.js.map +0 -1
- package/dist/models/messaging/ThreadMessageReactionType.d.ts +0 -9
- package/dist/models/messaging/ThreadMessageReactionType.js +0 -14
- package/dist/models/messaging/ThreadMessageReactionType.js.map +0 -1
- package/dist/models/messaging/ThreadMessageType.d.ts +0 -4
- package/dist/models/messaging/ThreadMessageType.js +0 -9
- package/dist/models/messaging/ThreadMessageType.js.map +0 -1
- package/dist/models/messaging/TokenMentionType.d.ts +0 -5
- package/dist/models/messaging/TokenMentionType.js +0 -10
- package/dist/models/messaging/TokenMentionType.js.map +0 -1
- package/dist/models/messaging/TokenType.d.ts +0 -7
- package/dist/models/messaging/TokenType.js +0 -12
- package/dist/models/messaging/TokenType.js.map +0 -1
- package/dist/models/metrics/MessageEventType.d.ts +0 -3
- package/dist/models/metrics/MessageEventType.js +0 -8
- package/dist/models/metrics/MessageEventType.js.map +0 -1
- package/dist/models/metrics/MetricType.d.ts +0 -5
- package/dist/models/metrics/MetricType.js +0 -10
- package/dist/models/metrics/MetricType.js.map +0 -1
- package/dist/models/metrics/MetricUnit.d.ts +0 -4
- package/dist/models/metrics/MetricUnit.js +0 -9
- package/dist/models/metrics/MetricUnit.js.map +0 -1
- package/dist/models/metrics/StorageEventType.d.ts +0 -3
- package/dist/models/metrics/StorageEventType.js +0 -8
- package/dist/models/metrics/StorageEventType.js.map +0 -1
- package/dist/models/search/SearchIndex.d.ts +0 -5
- package/dist/models/search/SearchIndex.js +0 -10
- package/dist/models/search/SearchIndex.js.map +0 -1
- package/dist/models/search/SearchResultType.d.ts +0 -4
- package/dist/models/search/SearchResultType.js +0 -9
- package/dist/models/search/SearchResultType.js.map +0 -1
- package/dist/models/shared-link/SharedCardLinkType.d.ts +0 -4
- package/dist/models/shared-link/SharedCardLinkType.js +0 -9
- package/dist/models/shared-link/SharedCardLinkType.js.map +0 -1
- package/dist/models/user/ListUsersOrderBy.d.ts +0 -5
- package/dist/models/user/ListUsersOrderBy.js +0 -10
- package/dist/models/user/ListUsersOrderBy.js.map +0 -1
- package/dist/models/user/NotificationsPreference.d.ts +0 -5
- package/dist/models/user/NotificationsPreference.js +0 -10
- package/dist/models/user/NotificationsPreference.js.map +0 -1
- package/dist/models/user/UserCreationMethod.d.ts +0 -5
- package/dist/models/user/UserCreationMethod.js +0 -10
- package/dist/models/user/UserCreationMethod.js.map +0 -1
- package/dist/models/user/UserEventType.d.ts +0 -4
- package/dist/models/user/UserEventType.js +0 -9
- package/dist/models/user/UserEventType.js.map +0 -1
- package/dist/models/user/UserRole.d.ts +0 -12
- package/dist/models/user/UserRole.js +0 -17
- package/dist/models/user/UserRole.js.map +0 -1
- package/dist/models/user/error/UserErrorCode.d.ts +0 -4
- package/dist/models/user/error/UserErrorCode.js +0 -9
- package/dist/models/user/error/UserErrorCode.js.map +0 -1
- package/dist/models/utils/HttpStatus.d.ts +0 -50
- package/dist/models/utils/HttpStatus.js +0 -55
- package/dist/models/utils/HttpStatus.js.map +0 -1
- package/dist/models/view-template/ListViewTemplateSortField.d.ts +0 -6
- package/dist/models/view-template/ListViewTemplateSortField.js +0 -11
- package/dist/models/view-template/ListViewTemplateSortField.js.map +0 -1
- package/dist/models/view-template/ViewSubtype.d.ts +0 -7
- package/dist/models/view-template/ViewSubtype.js +0 -12
- package/dist/models/view-template/ViewSubtype.js.map +0 -1
- package/dist/models/view-template/ViewType.d.ts +0 -4
- package/dist/models/view-template/ViewType.js +0 -9
- package/dist/models/view-template/ViewType.js.map +0 -1
- package/dist/models/view-template/error/ViewTemplateErrorCode.d.ts +0 -19
- package/dist/models/view-template/error/ViewTemplateErrorCode.js +0 -24
- package/dist/models/view-template/error/ViewTemplateErrorCode.js.map +0 -1
- package/dist/models/view-template-layout/ViewTemplateLayoutItemType.d.ts +0 -4
- package/dist/models/view-template-layout/ViewTemplateLayoutItemType.js +0 -9
- package/dist/models/view-template-layout/ViewTemplateLayoutItemType.js.map +0 -1
- package/dist/models/webhook/WebhookType.d.ts +0 -4
- package/dist/models/webhook/WebhookType.js +0 -9
- package/dist/models/webhook/WebhookType.js.map +0 -1
- package/dist/models/workflow-template/ListWorkflowTemplateSortField.d.ts +0 -4
- package/dist/models/workflow-template/ListWorkflowTemplateSortField.js +0 -9
- package/dist/models/workflow-template/ListWorkflowTemplateSortField.js.map +0 -1
- package/dist/models/workflow-template/WorkflowTemplateInstallState.d.ts +0 -4
- package/dist/models/workflow-template/WorkflowTemplateInstallState.js +0 -9
- package/dist/models/workflow-template/WorkflowTemplateInstallState.js.map +0 -1
- package/dist/models/workflow-template/behaviors/ActionType.d.ts +0 -3
- package/dist/models/workflow-template/behaviors/ActionType.js +0 -8
- package/dist/models/workflow-template/behaviors/ActionType.js.map +0 -1
- package/dist/models/workflow-template/component-subscription/ObserverAction.d.ts +0 -6
- package/dist/models/workflow-template/component-subscription/ObserverAction.js +0 -11
- package/dist/models/workflow-template/component-subscription/ObserverAction.js.map +0 -1
- package/dist/models/workflow-template/component-subscription/SubscriptionType.d.ts +0 -7
- package/dist/models/workflow-template/component-subscription/SubscriptionType.js +0 -12
- package/dist/models/workflow-template/component-subscription/SubscriptionType.js.map +0 -1
- package/dist/models/workflow-template/components/ComponentType.d.ts +0 -28
- package/dist/models/workflow-template/components/ComponentType.js +0 -33
- package/dist/models/workflow-template/components/ComponentType.js.map +0 -1
- package/dist/models/workflow-template/components/error/ComponentErrorCode.d.ts +0 -9
- package/dist/models/workflow-template/components/error/ComponentErrorCode.js +0 -14
- package/dist/models/workflow-template/components/error/ComponentErrorCode.js.map +0 -1
- package/dist/models/workflow-template/components/number/NumberFormat.d.ts +0 -5
- package/dist/models/workflow-template/components/number/NumberFormat.js +0 -10
- package/dist/models/workflow-template/components/number/NumberFormat.js.map +0 -1
- package/dist/models/workflow-template/components/server/ServerComponentId.d.ts +0 -8
- package/dist/models/workflow-template/components/server/ServerComponentId.js +0 -13
- package/dist/models/workflow-template/components/server/ServerComponentId.js.map +0 -1
- package/dist/models/workflow-template/components/time-tracker/TimeTrackerComponentDataAction.d.ts +0 -4
- package/dist/models/workflow-template/components/time-tracker/TimeTrackerComponentDataAction.js +0 -9
- package/dist/models/workflow-template/components/time-tracker/TimeTrackerComponentDataAction.js.map +0 -1
- package/dist/models/workflow-template/entities/error/ComponentDataErrorCode.d.ts +0 -8
- package/dist/models/workflow-template/entities/error/ComponentDataErrorCode.js +0 -13
- package/dist/models/workflow-template/entities/error/ComponentDataErrorCode.js.map +0 -1
- package/dist/models/workflow-template/entities/error/WorkflowEntityErrorCode.d.ts +0 -4
- package/dist/models/workflow-template/entities/error/WorkflowEntityErrorCode.js +0 -9
- package/dist/models/workflow-template/entities/error/WorkflowEntityErrorCode.js.map +0 -1
- package/dist/models/workflow-template/entities/filters/ComparisonOperator.d.ts +0 -10
- package/dist/models/workflow-template/entities/filters/ComparisonOperator.js +0 -15
- package/dist/models/workflow-template/entities/filters/ComparisonOperator.js.map +0 -1
- package/dist/models/workflow-template/entities/filters/DateToken.d.ts +0 -3
- package/dist/models/workflow-template/entities/filters/DateToken.js +0 -8
- package/dist/models/workflow-template/entities/filters/DateToken.js.map +0 -1
- package/dist/models/workflow-template/entities/filters/FilterType.d.ts +0 -16
- package/dist/models/workflow-template/entities/filters/FilterType.js +0 -21
- package/dist/models/workflow-template/entities/filters/FilterType.js.map +0 -1
- package/dist/models/workflow-template/entities/filters/TimeUnit.d.ts +0 -3
- package/dist/models/workflow-template/entities/filters/TimeUnit.js +0 -8
- package/dist/models/workflow-template/entities/filters/TimeUnit.js.map +0 -1
- package/dist/models/workflow-template/entities/recurring/RecurrenceOffsetUnit.d.ts +0 -6
- package/dist/models/workflow-template/entities/recurring/RecurrenceOffsetUnit.js +0 -11
- package/dist/models/workflow-template/entities/recurring/RecurrenceOffsetUnit.js.map +0 -1
- package/dist/models/workflow-template/entities/recurring/RecurrenceType.d.ts +0 -4
- package/dist/models/workflow-template/entities/recurring/RecurrenceType.js +0 -9
- package/dist/models/workflow-template/entities/recurring/RecurrenceType.js.map +0 -1
- package/dist/models/workflow-template/entities/recurring/error/RecurringEntitiesErrorCode.d.ts +0 -4
- package/dist/models/workflow-template/entities/recurring/error/RecurringEntitiesErrorCode.js +0 -9
- package/dist/models/workflow-template/entities/recurring/error/RecurringEntitiesErrorCode.js.map +0 -1
- package/dist/models/workflow-template/entities/search/error/WorkflowEntitySearchErrorCode.d.ts +0 -8
- package/dist/models/workflow-template/entities/search/error/WorkflowEntitySearchErrorCode.js +0 -13
- package/dist/models/workflow-template/entities/search/error/WorkflowEntitySearchErrorCode.js.map +0 -1
- package/dist/models/workflow-template/error/WorkflowTemplateErrorCode.d.ts +0 -13
- package/dist/models/workflow-template/error/WorkflowTemplateErrorCode.js +0 -18
- package/dist/models/workflow-template/error/WorkflowTemplateErrorCode.js.map +0 -1
- package/dist/models/workflow-tier/WorkflowTierType.d.ts +0 -5
- package/dist/models/workflow-tier/WorkflowTierType.js +0 -10
- package/dist/models/workflow-tier/WorkflowTierType.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ActivityFeedEventType } from '@coast/core-types/activity-feed/ActivityFeedEventType';
|
|
1
2
|
import { Card } from '../card/Card';
|
|
2
3
|
import { User } from '../user/User';
|
|
3
4
|
import { UserId } from '../user/UserId';
|
|
4
|
-
import { ActivityFeedEventType } from './ActivityFeedEventType';
|
|
5
5
|
export interface ActivityFeedItem {
|
|
6
6
|
id: string;
|
|
7
7
|
channelId: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ActivityFeedEventType } from '@coast/core-types/activity-feed/ActivityFeedEventType';
|
|
1
2
|
import { UserId } from '../user/UserId';
|
|
2
|
-
import { ActivityFeedEventType } from './ActivityFeedEventType';
|
|
3
3
|
import { ActivityFeedItem } from './ActivityFeedItem';
|
|
4
4
|
import { CreateCardRelation } from './CreateCardRelation';
|
|
5
5
|
import { CreateUserRelation } from './CreateUserRelation';
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
AUTHORIZATION = "authorization",
|
|
3
|
-
BUSINESS_ID = "x-coast-business-id",
|
|
4
|
-
BUSINESS_ID_OVERRIDE = "x-coast-business-id-override",
|
|
5
|
-
COAST_EXECUTION_CONTEXT = "x-coast-execution-context",
|
|
6
|
-
HMAC_SIGNATURE = "x-coast-signature",
|
|
7
|
-
REQUEST_CONTEXT = "x-coast-request-context",
|
|
8
|
-
SOURCE_AUTOMATION_ID = "x-coast-source-automation-id",
|
|
9
|
-
TRACE_ID = "x-coast-trace-id"
|
|
10
|
-
}
|
|
1
|
+
export * from '@coast/core-types/application/HeaderKeys';
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
var HeaderKeys;
|
|
5
|
-
(function (HeaderKeys) {
|
|
6
|
-
HeaderKeys["AUTHORIZATION"] = "authorization";
|
|
7
|
-
HeaderKeys["BUSINESS_ID"] = "x-coast-business-id";
|
|
8
|
-
HeaderKeys["BUSINESS_ID_OVERRIDE"] = "x-coast-business-id-override";
|
|
9
|
-
HeaderKeys["COAST_EXECUTION_CONTEXT"] = "x-coast-execution-context";
|
|
10
|
-
HeaderKeys["HMAC_SIGNATURE"] = "x-coast-signature";
|
|
11
|
-
HeaderKeys["REQUEST_CONTEXT"] = "x-coast-request-context";
|
|
12
|
-
HeaderKeys["SOURCE_AUTOMATION_ID"] = "x-coast-source-automation-id";
|
|
13
|
-
HeaderKeys["TRACE_ID"] = "x-coast-trace-id";
|
|
14
|
-
})(HeaderKeys || (exports.HeaderKeys = HeaderKeys = {}));
|
|
17
|
+
__exportStar(require("@coast/core-types/application/HeaderKeys"), exports);
|
|
15
18
|
//# sourceMappingURL=HeaderKeys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderKeys.js","sourceRoot":"","sources":["../../../src/models/application/HeaderKeys.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HeaderKeys.js","sourceRoot":"","sources":["../../../src/models/application/HeaderKeys.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,2EAAyD"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
|
|
2
|
+
import { ChannelMembershipEntity } from '@coast/core-types/auth/ChannelMembershipEntity';
|
|
3
|
+
import { NotificationsPreference } from '@coast/core-types/user/NotificationsPreference';
|
|
1
4
|
import { Audit } from '../application/Audit';
|
|
2
5
|
import { DataEntity } from '../application/DataEntity';
|
|
3
6
|
import { Channel } from '../channel/Channel';
|
|
4
|
-
import { NotificationsPreference } from '../user/NotificationsPreference';
|
|
5
7
|
import { User } from '../user/User';
|
|
6
8
|
import { AccessLevel } from './AccessLevel';
|
|
7
|
-
import { AccessLevelType } from './AccessLevelType';
|
|
8
|
-
import { ChannelMembershipEntity } from './ChannelMembershipEntity';
|
|
9
9
|
export interface ChannelMembership extends DataEntity, Audit {
|
|
10
10
|
accessLevel: AccessLevel;
|
|
11
11
|
accessLevelType: AccessLevelType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
|
|
1
2
|
import { UserId } from '../user/UserId';
|
|
2
|
-
import { AccessLevelType } from './AccessLevelType';
|
|
3
3
|
import { ChannelMembership } from './ChannelMembership';
|
|
4
4
|
export interface CreateChannelMembership extends Partial<ChannelMembership> {
|
|
5
5
|
accessLevelType: AccessLevelType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessLevelType } from '
|
|
1
|
+
import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
|
|
2
2
|
import { WorkspaceUserGroupAssociation } from './WorkspaceUserGroupAssociation';
|
|
3
3
|
export interface CreateWorkspaceUserGroupAssociation extends Omit<WorkspaceUserGroupAssociation, 'accessLevel'> {
|
|
4
4
|
accessLevelType: AccessLevelType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessLevelType } from '
|
|
1
|
+
import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
|
|
2
2
|
import { ChannelMembership } from './ChannelMembership';
|
|
3
3
|
export interface UpdateChannelMembership extends Partial<ChannelMembership> {
|
|
4
4
|
accessLevelType: AccessLevelType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
|
|
1
2
|
import { WorkspaceId } from '../../channel/WorkspaceId';
|
|
2
3
|
import { UserGroupId } from '../../user/group/UserGroupId';
|
|
3
|
-
import { AccessLevelType } from '../AccessLevelType';
|
|
4
4
|
export interface WorkspaceUserGroupAssociationEntity {
|
|
5
5
|
accessLevelType: AccessLevelType;
|
|
6
6
|
userGroupId: UserGroupId;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { AutomationTriggerType } from '@coast/core-types/automations/AutomationTriggerType';
|
|
1
2
|
import { Audit } from '../application/Audit';
|
|
2
3
|
import { BusinessId } from '../business/BusinessId';
|
|
3
4
|
import { AnyAutomationAction } from './action/registry/AnyAutomationAction';
|
|
4
5
|
import { AutomationId } from './AutomationId';
|
|
5
|
-
import { AutomationTriggerType } from './AutomationTriggerType';
|
|
6
6
|
import { Condition } from './condition/Condition';
|
|
7
7
|
export interface Automation extends Audit {
|
|
8
8
|
actions: AnyAutomationAction[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AutomationTriggerType } from '@coast/core-types/automations/AutomationTriggerType';
|
|
1
2
|
import { BusinessId } from '../business/BusinessId';
|
|
2
3
|
import { OriginUserId } from '../user/UserId';
|
|
3
4
|
import { WorkflowEntityEventId } from '../workflow-entity/WorkflowEntityEventId';
|
|
@@ -7,7 +8,6 @@ import { WorkflowEntity } from '../workflow-template/entities/WorkflowEntity';
|
|
|
7
8
|
import { AutomationActionResult } from './action/AutomationActionResult';
|
|
8
9
|
import { AutomationEventContext } from './AutomationEventContext';
|
|
9
10
|
import { AutomationId } from './AutomationId';
|
|
10
|
-
import { AutomationTriggerType } from './AutomationTriggerType';
|
|
11
11
|
export interface AutomationContext {
|
|
12
12
|
businessId: BusinessId;
|
|
13
13
|
workflowEntity: WorkflowEntity;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AutomationEventType } from '
|
|
1
|
+
import { AutomationEventType } from '@coast/core-types/automations/AutomationEventType';
|
|
2
2
|
export interface AutomationEventContext {
|
|
3
3
|
entityScheduledAutomationMqMessageId?: string;
|
|
4
4
|
eventType?: AutomationEventType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { Automation } from '../Automation';
|
|
2
3
|
import { Condition } from '../condition/Condition';
|
|
3
4
|
import { AutomationActionId } from './AutomationActionId';
|
|
4
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
5
5
|
import { AnyAutomationActionSettings } from './settings/registry/AnyAutomationActionSettings';
|
|
6
6
|
export interface AutomationAction<T extends AutomationActionType = AutomationActionType> {
|
|
7
7
|
automation?: Automation;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationAction } from './AutomationAction';
|
|
2
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
3
3
|
import { CalculateValueActionSettings } from './settings/CalculateValueActionSettings';
|
|
4
4
|
export interface CalculateValueAction extends Omit<AutomationAction<AutomationActionType.CALCULATE_VALUE>, 'settings'> {
|
|
5
5
|
settings?: CalculateValueActionSettings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationAction } from './AutomationAction';
|
|
2
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
3
3
|
import { AutomationActionSettings } from './settings/AutomationActionSettings';
|
|
4
4
|
export interface CreateAutomationAction<T extends AutomationActionType = AutomationActionType> extends Omit<AutomationAction, 'id' | 'settings' | 'type'> {
|
|
5
5
|
type: T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { CreateCondition } from '../condition/CreateCondition';
|
|
2
3
|
import { AutomationAction } from './AutomationAction';
|
|
3
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
4
4
|
import { AutomationActionSettingsOneOf } from './settings/AutomationActionSettingsOneOf';
|
|
5
5
|
export interface CreateAutomationActionGraphQL<T extends AutomationActionType = AutomationActionType> extends Omit<AutomationAction, 'id' | 'settings' | 'conditions' | 'type'> {
|
|
6
6
|
type: T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationAction } from './AutomationAction';
|
|
2
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
3
3
|
import { CurrentWorkflowEntityUpdateActionSettings } from './settings/CurrentWorkflowEntityUpdateActionSettings';
|
|
4
4
|
export interface CurrentWorkflowEntityUpdateAction extends Omit<AutomationAction<AutomationActionType.UPDATE_CURRENT_WORKFLOW_ENTITY>, 'settings'> {
|
|
5
5
|
settings?: CurrentWorkflowEntityUpdateActionSettings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationAction } from './AutomationAction';
|
|
2
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
3
3
|
import { ExternalFormLinkCreateActionSettings } from './settings/ExternalFormLinkCreateActionSettings';
|
|
4
4
|
export interface ExternalFormLinkCreateAction extends Omit<AutomationAction<AutomationActionType.CREATE_EXTERNAL_FORM_LINK>, 'settings'> {
|
|
5
5
|
settings?: ExternalFormLinkCreateActionSettings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationAction } from './AutomationAction';
|
|
2
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
3
3
|
import { ReferencedInQuantitySumActionSettings } from './settings/ReferencedInQuantitySumActionSettings';
|
|
4
4
|
export interface ReferencedInQuantitySumAction extends Omit<AutomationAction<AutomationActionType.REFERENCED_IN_QUANTITY_SUM>, 'settings'> {
|
|
5
5
|
settings?: ReferencedInQuantitySumActionSettings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationAction } from './AutomationAction';
|
|
2
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
3
3
|
import { SendNotificationActionSettings } from './settings/SendNotificationActionSettings';
|
|
4
4
|
export interface SendNotificationAction extends Omit<AutomationAction<AutomationActionType.SEND_NOTIFICATION>, 'settings'> {
|
|
5
5
|
settings?: SendNotificationActionSettings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationAction } from './AutomationAction';
|
|
2
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
3
3
|
import { SendPushNotificationActionSettings } from './settings/SendPushNotificationActionSettings';
|
|
4
4
|
export interface SendPushNotificationAction extends Omit<AutomationAction<AutomationActionType.SEND_PUSH_NOTIFICATION>, 'settings'> {
|
|
5
5
|
settings?: SendPushNotificationActionSettings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationAction } from './AutomationAction';
|
|
2
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
3
3
|
import { SendWebhookActionSettings } from './settings/SendWebhookActionSettings';
|
|
4
4
|
export interface SendWebhookAction extends Omit<AutomationAction<AutomationActionType.SEND_WEBHOOK>, 'settings'> {
|
|
5
5
|
settings: SendWebhookActionSettings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationAction } from './AutomationAction';
|
|
2
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
3
3
|
import { TriggerRelatedCardAutomationActionSettings } from './settings/TriggerRelatedCardAutomationActionSettings';
|
|
4
4
|
export interface TriggerRelatedCardAutomationAction extends Omit<AutomationAction<AutomationActionType.TRIGGER_RELATED_CARD_AUTOMATION>, 'settings'> {
|
|
5
5
|
settings?: TriggerRelatedCardAutomationActionSettings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationAction } from './AutomationAction';
|
|
2
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
3
3
|
import { UpdateRelatedCardQuantityActionSettings } from './settings/UpdateRelatedCardQuantityActionSettings';
|
|
4
4
|
export interface UpdateRelatedCardQuantityAction extends Omit<AutomationAction<AutomationActionType.UPDATE_RELATED_CARD_QUANTITY>, 'settings'> {
|
|
5
5
|
settings?: UpdateRelatedCardQuantityActionSettings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationAction } from './AutomationAction';
|
|
2
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
3
3
|
import { WorkflowEntityCreateActionSettings } from './settings/WorkflowEntityCreateActionSettings';
|
|
4
4
|
export interface WorkflowEntityCreateAction extends Omit<AutomationAction<AutomationActionType.CREATE_WORKFLOW_ENTITY>, 'settings'> {
|
|
5
5
|
settings?: WorkflowEntityCreateActionSettings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationAction } from './AutomationAction';
|
|
2
|
-
import { AutomationActionType } from './AutomationActionType';
|
|
3
3
|
import { WorkflowEntityUpdateActionSettings } from './settings/WorkflowEntityUpdateActionSettings';
|
|
4
4
|
export interface WorkflowEntityUpdateAction extends Omit<AutomationAction<AutomationActionType.UPDATE_WORKFLOW_ENTITY>, 'settings'> {
|
|
5
5
|
settings?: WorkflowEntityUpdateActionSettings;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { AutomationActionStatus } from '@coast/core-types/automations/action/audit/AutomationActionStatus';
|
|
1
2
|
import { Audit } from '../../../application/Audit';
|
|
2
3
|
import { WorkflowEntityEventId } from '../../../workflow-entity/WorkflowEntityEventId';
|
|
3
4
|
import { AutomationId } from '../../AutomationId';
|
|
4
5
|
import { AutomationActionId } from '../AutomationActionId';
|
|
5
6
|
import { AnyAutomationActionAuditResult } from './AnyAutomationActionAuditResult';
|
|
6
7
|
import { AutomationActionAuditId } from './AutomationActionAuditId';
|
|
7
|
-
import { AutomationActionStatus } from './AutomationActionStatus';
|
|
8
8
|
export interface AutomationActionAudit extends Audit {
|
|
9
9
|
id: AutomationActionAuditId;
|
|
10
10
|
automationId: AutomationId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AutomationActionOutput } from '../AutomationActionOutput';
|
|
2
|
-
import { AutomationActionType } from '../AutomationActionType';
|
|
3
3
|
export interface AutomationActionAuditResult<T extends AutomationActionType> {
|
|
4
4
|
type: T;
|
|
5
5
|
output?: AutomationActionOutput;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
+
import { HttpStatus } from '@coast/core-types/utils/HttpStatus';
|
|
3
3
|
import { AutomationActionAuditResult } from './AutomationActionAuditResult';
|
|
4
4
|
export interface SendWebhookActionAuditResult extends AutomationActionAuditResult<AutomationActionType.SEND_WEBHOOK> {
|
|
5
5
|
type: AutomationActionType.SEND_WEBHOOK;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { DynamicComponentDataType } from '@coast/core-types/automations/action/component-data/DynamicComponentDataType';
|
|
1
2
|
import { DynamicComponentData } from './DynamicComponentData';
|
|
2
|
-
import { DynamicComponentDataType } from './DynamicComponentDataType';
|
|
3
3
|
export interface ActionResultNumber extends DynamicComponentData<DynamicComponentDataType.ACTION_RESULT_NUMBER> {
|
|
4
4
|
actionId: string;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { DynamicComponentDataType } from '@coast/core-types/automations/action/component-data/DynamicComponentDataType';
|
|
1
2
|
import { DynamicComponentData } from './DynamicComponentData';
|
|
2
|
-
import { DynamicComponentDataType } from './DynamicComponentDataType';
|
|
3
3
|
export interface CurrentWorkflowEntity extends DynamicComponentData<DynamicComponentDataType.CURRENT_WORKFLOW_ENTITY> {
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { DynamicComponentDataType } from '@coast/core-types/automations/action/component-data/DynamicComponentDataType';
|
|
1
2
|
import { DynamicComponentData } from './DynamicComponentData';
|
|
2
|
-
import { DynamicComponentDataType } from './DynamicComponentDataType';
|
|
3
3
|
export interface CurrentWorkflowEntityComponent extends DynamicComponentData<DynamicComponentDataType.CURRENT_WORKFLOW_ENTITY_COMPONENT> {
|
|
4
4
|
componentId: string;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DynamicComponentDataType } from '
|
|
1
|
+
import { DynamicComponentDataType } from '@coast/core-types/automations/action/component-data/DynamicComponentDataType';
|
|
2
2
|
export interface DynamicComponentData<T extends DynamicComponentDataType = DynamicComponentDataType> {
|
|
3
3
|
type: T;
|
|
4
4
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { DynamicComponentDataType } from '@coast/core-types/automations/action/component-data/DynamicComponentDataType';
|
|
1
2
|
import { CamelCase } from '@coast/core-utils/CamelCase';
|
|
2
3
|
import { Optional } from '@coast/core-utils/Optional';
|
|
3
4
|
import { ActionResultNumber } from './ActionResultNumber';
|
|
4
5
|
import { CurrentWorkflowEntity } from './CurrentWorkflowEntity';
|
|
5
6
|
import { CurrentWorkflowEntityComponent } from './CurrentWorkflowEntityComponent';
|
|
6
7
|
import { DynamicComponentData } from './DynamicComponentData';
|
|
7
|
-
import { DynamicComponentDataType } from './DynamicComponentDataType';
|
|
8
8
|
import { OriginUser } from './OriginUser';
|
|
9
9
|
import { RelatedWorkflowEntityComponent } from './RelatedWorkflowEntityComponent';
|
|
10
10
|
import { TimeTrackerDataAction } from './TimeTrackerDataAction';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { DynamicComponentDataType } from '@coast/core-types/automations/action/component-data/DynamicComponentDataType';
|
|
1
2
|
import { DynamicComponentData } from './DynamicComponentData';
|
|
2
|
-
import { DynamicComponentDataType } from './DynamicComponentDataType';
|
|
3
3
|
export interface OriginUser extends DynamicComponentData<DynamicComponentDataType.ORIGIN_USER> {
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { DynamicComponentDataType } from '@coast/core-types/automations/action/component-data/DynamicComponentDataType';
|
|
1
2
|
import { ComponentId } from '../../../workflow-template/components/ComponentId';
|
|
2
3
|
import { DynamicComponentData } from './DynamicComponentData';
|
|
3
|
-
import { DynamicComponentDataType } from './DynamicComponentDataType';
|
|
4
4
|
export interface RelatedWorkflowEntityComponent extends DynamicComponentData<DynamicComponentDataType.RELATED_WORKFLOW_ENTITY_COMPONENT> {
|
|
5
5
|
relatedCardComponentId: ComponentId;
|
|
6
6
|
targetComponentId: ComponentId;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DynamicComponentDataType } from '@coast/core-types/automations/action/component-data/DynamicComponentDataType';
|
|
2
|
+
import { TimeTrackerComponentDataAction } from '@coast/core-types/workflow-template/components/time-tracker/TimeTrackerComponentDataAction';
|
|
2
3
|
import { DynamicComponentData } from './DynamicComponentData';
|
|
3
|
-
import { DynamicComponentDataType } from './DynamicComponentDataType';
|
|
4
4
|
export interface TimeTrackerDataAction extends DynamicComponentData<DynamicComponentDataType.TIME_TRACKER_DATA_ACTION> {
|
|
5
5
|
dataAction: TimeTrackerComponentDataAction;
|
|
6
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AutomationActionType } from '
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
2
|
export interface AutomationActionSettings<T extends AutomationActionType = AutomationActionType> {
|
|
3
3
|
type: T;
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
+
import { ArithmeticOperator } from '@coast/core-types/automations/action/settings/ArithmeticOperator';
|
|
1
3
|
import { AnyNumberOperand } from '../../condition/operands/registry/AnyNumberOperand';
|
|
2
|
-
import { AutomationActionType } from '../AutomationActionType';
|
|
3
|
-
import { ArithmeticOperator } from './ArithmeticOperator';
|
|
4
4
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
5
5
|
export interface CalculateValueActionSettings extends AutomationActionSettings<AutomationActionType.CALCULATE_VALUE> {
|
|
6
6
|
leftOperand: AnyNumberOperand;
|
package/dist/models/automations/action/settings/CreateCurrentWorkflowEntityUpdateActionSettings.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AutomationActionType } from '
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
2
|
import { CreateSettingsWorkflowEntityField } from './CreateSettingsWorkflowEntityField';
|
|
3
3
|
import { CurrentWorkflowEntityUpdateActionSettings } from './CurrentWorkflowEntityUpdateActionSettings';
|
|
4
4
|
export interface CreateCurrentWorkflowEntityUpdateActionSettings extends Omit<CurrentWorkflowEntityUpdateActionSettings, 'fields' | 'type'> {
|
package/dist/models/automations/action/settings/CurrentWorkflowEntityUpdateActionSettings.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AutomationActionType } from '
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
2
|
import { WorkflowEntityActionSettings } from './WorkflowEntityActionSettings';
|
|
3
3
|
export interface CurrentWorkflowEntityUpdateActionSettings extends WorkflowEntityActionSettings<AutomationActionType.UPDATE_CURRENT_WORKFLOW_ENTITY> {
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { ViewTemplateId } from '../../../view-template/ViewTemplateId';
|
|
2
|
-
import { AutomationActionType } from '../AutomationActionType';
|
|
3
3
|
import { WorkflowEntityActionSettings } from './WorkflowEntityActionSettings';
|
|
4
4
|
export interface ExternalFormLinkCreateActionSettings extends WorkflowEntityActionSettings<AutomationActionType.CREATE_EXTERNAL_FORM_LINK> {
|
|
5
5
|
viewTemplateId: ViewTemplateId;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AutomationActionType } from '
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
2
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
3
3
|
import { ReferencedInAggregate } from './ReferencedInAggregate';
|
|
4
4
|
export interface ReferencedInQuantitySumActionSettings extends AutomationActionSettings<AutomationActionType.REFERENCED_IN_QUANTITY_SUM> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
|
|
2
|
-
import { AutomationActionType } from '../AutomationActionType';
|
|
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
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
|
|
2
|
-
import { AutomationActionType } from '../AutomationActionType';
|
|
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
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { UserId } from '../../../user/UserId';
|
|
2
3
|
import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
|
|
3
|
-
import { AutomationActionType } from '../AutomationActionType';
|
|
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
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { HmacSecretKey } from '../../../common/HmacSecretKey';
|
|
2
|
-
import { AutomationActionType } from '../AutomationActionType';
|
|
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
|
+
import { ArrayValueOperation } from '@coast/core-types/automations/action/settings/ArrayValueOperation';
|
|
1
2
|
import { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
|
|
2
3
|
import { AnyDynamicComponentData } from '../component-data/registry/AnyDynamicComponentData';
|
|
3
|
-
import { ArrayValueOperation } from './ArrayValueOperation';
|
|
4
4
|
export interface SettingsWorkflowEntityField {
|
|
5
5
|
arrayValueOperation?: ArrayValueOperation;
|
|
6
6
|
componentId: string;
|
package/dist/models/automations/action/settings/TriggerRelatedCardAutomationActionSettings.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
|
|
2
3
|
import { AutomationId } from '../../AutomationId';
|
|
3
|
-
import { AutomationActionType } from '../AutomationActionType';
|
|
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
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
|
|
2
3
|
import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
|
|
3
|
-
import { AutomationActionType } from '../AutomationActionType';
|
|
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
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
1
2
|
import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
|
|
2
|
-
import { AutomationActionType } from '../AutomationActionType';
|
|
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 { AutomationActionType } from '
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
2
|
import { WorkflowEntityActionSettings } from './WorkflowEntityActionSettings';
|
|
3
3
|
export interface WorkflowEntityCreateActionSettings extends WorkflowEntityActionSettings<AutomationActionType.CREATE_WORKFLOW_ENTITY> {
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AutomationActionType } from '
|
|
1
|
+
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
2
|
import { CurrentWorkflowEntityComponent } from '../component-data/CurrentWorkflowEntityComponent';
|
|
3
3
|
import { WorkflowEntityActionSettings } from './WorkflowEntityActionSettings';
|
|
4
4
|
export interface WorkflowEntityUpdateActionSettings extends WorkflowEntityActionSettings<AutomationActionType.UPDATE_WORKFLOW_ENTITY> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { LogicalOperator } from '@coast/core-types/automations/condition/LogicalOperator';
|
|
2
|
+
import { ComparisonOperator } from '@coast/core-types/workflow-template/entities/filters/ComparisonOperator';
|
|
3
3
|
import { AnyOperand } from './operands/registry/AnyOperand';
|
|
4
4
|
export interface Condition {
|
|
5
5
|
comparisonOperator: ComparisonOperator;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AutomationDateToken } from '
|
|
1
|
+
import { AutomationDateToken } from '@coast/core-types/automations/AutomationDateToken';
|
|
2
2
|
import { Operand } from './Operand';
|
|
3
3
|
export interface DateTokenOperand extends Operand {
|
|
4
4
|
dateToken: AutomationDateToken;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { BillingSubscriptionStatus } from '@coast/core-types/billing/BillingSubscriptionStatus';
|
|
2
|
+
import { PlanTier } from '@coast/core-types/billing/PlanTier';
|
|
1
3
|
import { UsageMetricSummary } from '../metrics/UsageMetricSummary';
|
|
2
|
-
import { BillingSubscriptionStatus } from './BillingSubscriptionStatus';
|
|
3
|
-
import { PlanTier } from './PlanTier';
|
|
4
4
|
import { SubscriptionItem } from './SubscriptionItem';
|
|
5
5
|
export interface BillingSubscription {
|
|
6
6
|
cancelAtPeriodEnd: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { SubscriptionPlanType } from '@coast/core-types/billing/SubscriptionPlanType';
|
|
1
2
|
import { SubscriptionPlanProduct } from './SubscriptionPlanProduct';
|
|
2
|
-
import { SubscriptionPlanType } from './SubscriptionPlanType';
|
|
3
3
|
export interface SubscriptionPlan {
|
|
4
4
|
description?: string;
|
|
5
5
|
highlightPlan: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SubscriptionPlanPriceInterval } from '
|
|
1
|
+
import { SubscriptionPlanPriceInterval } from '@coast/core-types/billing/SubscriptionPlanPriceInterval';
|
|
2
2
|
export interface SubscriptionPlanPrice {
|
|
3
3
|
id: string;
|
|
4
4
|
interval?: SubscriptionPlanPriceInterval;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { SubscriptionPlanType } from '@coast/core-types/billing/SubscriptionPlanType';
|
|
1
2
|
import { SubscriptionPlanPrice } from './SubscriptionPlanPrice';
|
|
2
|
-
import { SubscriptionPlanType } from './SubscriptionPlanType';
|
|
3
3
|
import { SubscriptionPlanWorkflowTier } from './SubscriptionPlanWorkflowTier';
|
|
4
4
|
export interface SubscriptionPlanProduct {
|
|
5
5
|
description?: string;
|