@coast/core-api-types 1.2.24 → 1.2.26
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/ActivityFeedEventType.d.ts +3 -3
- package/dist/models/activity-feed/ActivityFeedEventType.js +3 -3
- package/dist/models/activity-feed/ActivityFeedItem.d.ts +5 -5
- package/dist/models/activity-feed/CreateActivityFeedItem.d.ts +3 -3
- package/dist/models/activity-feed/ListActivityFeedItems.d.ts +1 -1
- package/dist/models/auth/AccessLevel.d.ts +2 -2
- package/dist/models/auth/AccessLevelType.d.ts +1 -1
- package/dist/models/auth/AccessLevelType.js +1 -1
- package/dist/models/auth/ChannelMembership.d.ts +8 -8
- package/dist/models/auth/SamlUser.d.ts +2 -2
- package/dist/models/auth/UpdateChannelMembership.d.ts +1 -1
- package/dist/models/auth/WorkspaceUserGroupAssociation.d.ts +2 -2
- package/dist/models/auth/db/WorkspaceUserGroupAssociationEntity.d.ts +2 -2
- package/dist/models/automations/Automation.d.ts +6 -6
- package/dist/models/automations/AutomationEventContext.d.ts +2 -2
- package/dist/models/automations/AutomationTriggerType.d.ts +2 -2
- package/dist/models/automations/AutomationTriggerType.js +1 -1
- package/dist/models/automations/UpdateAutomation.d.ts +1 -1
- package/dist/models/automations/action/AutomationAction.d.ts +5 -5
- package/dist/models/automations/action/AutomationActionType.d.ts +2 -2
- package/dist/models/automations/action/AutomationActionType.js +1 -1
- package/dist/models/automations/action/CreateAutomationAction.d.ts +1 -1
- package/dist/models/automations/action/UpdateAutomationAction.d.ts +1 -1
- package/dist/models/automations/action/component-data/DynamicComponentDataOneOf.d.ts +2 -2
- package/dist/models/automations/action/component-data/DynamicNumberComponentDataOneOf.d.ts +1 -1
- package/dist/models/automations/action/settings/ReferencedInAggregate.d.ts +2 -2
- package/dist/models/automations/action/settings/SendEmailActionSettings.d.ts +3 -3
- package/dist/models/automations/action/settings/SendNotificationActionSettings.d.ts +3 -3
- package/dist/models/automations/action/settings/SendPushNotificationActionSettings.d.ts +3 -3
- package/dist/models/automations/action/settings/SettingsWorkflowEntityField.d.ts +1 -1
- package/dist/models/automations/action/settings/UpdateRelatedCardQuantityActionSettings.d.ts +2 -2
- package/dist/models/automations/action/settings/WorkflowEntityActionSettings.d.ts +1 -1
- package/dist/models/automations/condition/Condition.d.ts +2 -2
- package/dist/models/automations/condition/OperandOneOf.d.ts +1 -1
- package/dist/models/automations/condition/WorkflowEntityRefComponentOperand.d.ts +1 -1
- package/dist/models/billing/Billing.d.ts +2 -2
- package/dist/models/billing/BillingSubscription.d.ts +4 -4
- package/dist/models/billing/BillingSubscriptionStatus.d.ts +3 -3
- package/dist/models/billing/BillingSubscriptionStatus.js +3 -3
- package/dist/models/billing/CreateCheckoutSession.d.ts +1 -1
- package/dist/models/billing/CreateCustomer.d.ts +1 -1
- package/dist/models/billing/Customer.d.ts +4 -4
- package/dist/models/billing/PlanTier.d.ts +2 -2
- package/dist/models/billing/PlanTier.js +1 -1
- package/dist/models/billing/SubscriptionItem.d.ts +1 -1
- package/dist/models/billing/SubscriptionPlan.d.ts +3 -3
- package/dist/models/billing/SubscriptionPlanPrice.d.ts +1 -1
- package/dist/models/billing/SubscriptionPlanProduct.d.ts +4 -4
- package/dist/models/billing/SubscriptionPlanType.d.ts +2 -2
- package/dist/models/billing/SubscriptionPlanType.js +1 -1
- package/dist/models/billing/SubscriptionPlanWorkflowTier.d.ts +1 -1
- package/dist/models/billing/SubscriptionStatus.d.ts +2 -2
- package/dist/models/billing/SubscriptionStatus.js +1 -1
- package/dist/models/business/Business.d.ts +6 -7
- package/dist/models/business/BusinessMembership.d.ts +3 -3
- package/dist/models/card/Card.d.ts +18 -18
- package/dist/models/card/CardStatus.d.ts +2 -2
- package/dist/models/card/CardStatus.js +1 -1
- package/dist/models/card/CreateCard.d.ts +1 -1
- package/dist/models/card/CreateNonRecurringCard.d.ts +11 -11
- package/dist/models/card/EntityEventType.d.ts +7 -7
- package/dist/models/card/EntityEventType.js +6 -6
- package/dist/models/card/ExternalCardBatchEvent.d.ts +1 -1
- package/dist/models/card/ExternalCardEventPayload.d.ts +5 -5
- package/dist/models/card/ExternalCardEventType.d.ts +1 -1
- package/dist/models/card/ExternalCardEventType.js +1 -1
- package/dist/models/card/NotificationEvent.d.ts +1 -1
- package/dist/models/card/UpdateCard.d.ts +8 -8
- package/dist/models/card/UpdateCardMerged.d.ts +2 -2
- package/dist/models/card/card-definition/CardDefinition.d.ts +10 -10
- package/dist/models/card/card-definition/CardFragmentTemplate.d.ts +4 -4
- package/dist/models/card/card-definition/CardUITemplate.d.ts +4 -4
- package/dist/models/card/card-definition/CardUITemplateType.d.ts +2 -2
- package/dist/models/card/card-definition/CardUITemplateType.js +2 -2
- package/dist/models/card/card-definition/CoastJSONFieldType.d.ts +2 -2
- package/dist/models/card/card-definition/CoastJSONFieldType.js +1 -1
- package/dist/models/card/card-definition/CreateCardDefinition.d.ts +7 -7
- package/dist/models/card/card-definition/CreateCardFragmentTemplate.d.ts +1 -1
- package/dist/models/card/card-definition/CreateCardUITemplate.d.ts +2 -2
- package/dist/models/card/card-definition/UpdateCardDefinition.d.ts +8 -8
- package/dist/models/card/card-definition/UpdateCardFragmentTemplate.d.ts +1 -1
- package/dist/models/card/card-field-string-tag/CardFieldStringTag.d.ts +4 -4
- package/dist/models/card/card-field-string-tag/CreateCardFieldStringTag.d.ts +2 -2
- package/dist/models/card/card-field-string-tag/ListCardFieldStringTags.d.ts +1 -1
- package/dist/models/card/card-field-string-tag/UpdateCardFieldStringTag.d.ts +2 -2
- package/dist/models/card/card-reminder/CardReminder.d.ts +3 -3
- package/dist/models/card/card-reminder/CreateCardReminder.d.ts +2 -2
- package/dist/models/card/card-reminder/ReminderRelativeTo.d.ts +2 -2
- package/dist/models/card/card-reminder/ReminderRelativeTo.js +1 -1
- package/dist/models/card/client-event/ClientEvent.d.ts +3 -3
- package/dist/models/card/client-event/CreateClientEvent.d.ts +2 -2
- 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/CardRelationFilterType.d.ts +2 -2
- package/dist/models/card/list-cards/CardRelationFilterType.js +1 -1
- package/dist/models/card/list-cards/LegacyCardRelationFilter.d.ts +1 -1
- package/dist/models/card/list-cards/ListCards.d.ts +7 -7
- package/dist/models/card/list-cards/ListCardsOrderBy.d.ts +2 -2
- package/dist/models/card/list-cards/ListCardsOrderBy.js +1 -1
- package/dist/models/card/related-card/ListRelatedCardRollups.d.ts +1 -1
- package/dist/models/card/related-card/ListRelatedCards.d.ts +2 -2
- package/dist/models/card/related-card/RelatedCardRollup.d.ts +2 -2
- package/dist/models/card/summary-card/AbstractListSummaryCard.d.ts +1 -1
- package/dist/models/channel/Channel.d.ts +19 -19
- package/dist/models/channel/ChannelAccountingUpdated.d.ts +1 -1
- package/dist/models/channel/ChannelType.d.ts +2 -2
- package/dist/models/channel/ChannelType.js +1 -1
- package/dist/models/channel/ChannelWithoutRelations.d.ts +1 -1
- package/dist/models/channel/CreateChannel.d.ts +8 -8
- package/dist/models/channel/ListChannels.d.ts +2 -2
- package/dist/models/channel/RelatedChannelAssociation.d.ts +2 -2
- package/dist/models/channel/UpdateChannelV2.d.ts +4 -4
- package/dist/models/channel/UpdateRelatedChannelAssociation.d.ts +1 -1
- package/dist/models/common/EventKey.d.ts +11 -11
- package/dist/models/common/EventKey.js +11 -11
- package/dist/models/dashboard/Dashboard.d.ts +1 -1
- package/dist/models/dashboard/EntityWidget.d.ts +4 -4
- package/dist/models/dashboard/UserEntityWidgetAssociation.d.ts +1 -1
- package/dist/models/export/ComponentDataExport.d.ts +1 -1
- package/dist/models/export/CreateWorkflowEntitiesExport.d.ts +2 -2
- package/dist/models/export/Export.d.ts +1 -1
- package/dist/models/export/ExportFormat.d.ts +1 -1
- package/dist/models/export/ExportFormat.js +1 -1
- package/dist/models/export/FormDataExport.d.ts +3 -3
- package/dist/models/export/ListEntitiesFormData.d.ts +2 -2
- package/dist/models/export/SubformDataExport.d.ts +3 -3
- package/dist/models/integration/App.d.ts +4 -4
- package/dist/models/integration/AppStatus.d.ts +2 -2
- package/dist/models/integration/AppStatus.js +2 -2
- package/dist/models/integration/CreateAppIntegration.d.ts +4 -4
- package/dist/models/integration/IntegationTempCode.d.ts +1 -1
- package/dist/models/integration/Integration.d.ts +8 -8
- package/dist/models/integration/IntegrationStatus.d.ts +2 -2
- package/dist/models/integration/IntegrationStatus.js +2 -2
- package/dist/models/integration/IntegrationVerification.d.ts +1 -1
- package/dist/models/integration/ListIntegrations.d.ts +1 -1
- package/dist/models/integration/UpdateIntegration.d.ts +4 -4
- package/dist/models/json-relations/workflow-template/LinkComponentType.d.ts +1 -1
- package/dist/models/json-relations/workflow-template/WorkflowTemplateFieldLink.d.ts +1 -1
- package/dist/models/media/MediaPresignedPost.d.ts +1 -1
- package/dist/models/messaging/CreateLegacyMessage.d.ts +5 -5
- package/dist/models/messaging/CreateThreadMessage.d.ts +6 -6
- package/dist/models/messaging/Thread.d.ts +1 -1
- package/dist/models/messaging/ThreadMembership.d.ts +4 -4
- package/dist/models/messaging/ThreadMessage.d.ts +10 -10
- package/dist/models/messaging/ThreadMessageAttachment.d.ts +3 -3
- package/dist/models/messaging/ThreadMessageMeta.d.ts +1 -1
- package/dist/models/messaging/ThreadMessageMetaInput.d.ts +2 -2
- package/dist/models/messaging/ThreadMessageType.d.ts +2 -2
- package/dist/models/messaging/ThreadMessageType.js +1 -1
- package/dist/models/messaging/TokenMentionType.d.ts +2 -2
- package/dist/models/messaging/TokenMentionType.js +2 -2
- package/dist/models/messaging/UpdateThreadMessage.d.ts +1 -1
- package/dist/models/metrics/CreateUsageMetric.d.ts +1 -1
- package/dist/models/metrics/MessageEventJob.d.ts +2 -2
- package/dist/models/metrics/MetricType.d.ts +2 -2
- package/dist/models/metrics/MetricType.js +1 -1
- package/dist/models/metrics/StorageEventJob.d.ts +2 -2
- package/dist/models/metrics/UsageMetric.d.ts +3 -3
- package/dist/models/plan-limits/PlanLimitOverage.d.ts +2 -2
- package/dist/models/reporting/CreateReport.d.ts +2 -2
- package/dist/models/reporting/CreateReportUrl.d.ts +1 -1
- package/dist/models/reporting/Report.d.ts +3 -3
- package/dist/models/reporting/UpdateReport.d.ts +3 -3
- package/dist/models/search/Indexable.d.ts +8 -8
- package/dist/models/search/Search.d.ts +1 -1
- package/dist/models/search/SearchResult.d.ts +11 -11
- package/dist/models/search/SearchResultHighlight.d.ts +1 -1
- package/dist/models/search/SearchResultHighlightPosition.d.ts +1 -1
- package/dist/models/shared-link/CreateSharedCardLink.d.ts +1 -1
- package/dist/models/shared-link/SharedCardLink.d.ts +6 -6
- package/dist/models/user/CreateUser.d.ts +8 -8
- package/dist/models/user/CreateUserV2.d.ts +9 -9
- package/dist/models/user/ListUsers.d.ts +1 -1
- package/dist/models/user/UpdateUser.d.ts +5 -5
- package/dist/models/user/User.d.ts +20 -20
- package/dist/models/user/UserCreationMethod.d.ts +2 -2
- package/dist/models/user/UserCreationMethod.js +1 -1
- package/dist/models/user/UserRole.d.ts +6 -6
- package/dist/models/user/UserRole.js +5 -5
- package/dist/models/user/group/UserGroup.d.ts +2 -2
- package/dist/models/user/group/UserGroupUserAssociation.d.ts +1 -1
- package/dist/models/user/group/db/UserGroupUserAssociationEntity.d.ts +3 -3
- package/dist/models/utils/PartialRecord.d.ts +1 -1
- package/dist/models/workflow-app/CreateWorkflowApp.d.ts +1 -1
- package/dist/models/workflow-automation/CreateWorkflowAutomationEvent.d.ts +1 -1
- package/dist/models/workflow-automation/ListWorkflowTemplateAutomations.d.ts +2 -2
- package/dist/models/workflow-entity/MoveWorkflowEntities.d.ts +2 -2
- package/dist/models/workflow-entity/entity-mapping/EntityMapping.d.ts +1 -1
- package/dist/models/workflow-entity/entity-mapping/ViewTemplateSearchKey.d.ts +2 -2
- package/dist/models/workflow-library/CreateWorkflowListItem.d.ts +2 -2
- package/dist/models/workflow-library/UpdateWorkflowListItem.d.ts +2 -2
- package/dist/models/workflow-library/WorkflowListItem.d.ts +3 -3
- package/dist/models/workflow-library/WorkflowListItemAssociation.d.ts +2 -2
- package/dist/models/workflow-template/ContextualizedUITemplate.d.ts +1 -1
- package/dist/models/workflow-template/CreateWorkflowTemplate.d.ts +2 -2
- package/dist/models/workflow-template/ListWorkflowTemplateSort.d.ts +1 -1
- package/dist/models/workflow-template/ListWorkflowTemplates.d.ts +2 -2
- package/dist/models/workflow-template/UpdateWorkflowTemplate.d.ts +1 -1
- package/dist/models/workflow-template/WorkflowTemplate.d.ts +13 -13
- package/dist/models/workflow-template/behaviors/NavigateAction.d.ts +1 -1
- package/dist/models/workflow-template/behaviors/ViewTemplateSelector.d.ts +1 -1
- package/dist/models/workflow-template/component-subscription/ComponentSubscription.d.ts +11 -11
- package/dist/models/workflow-template/component-subscription/ObserverAction.d.ts +3 -3
- package/dist/models/workflow-template/component-subscription/ObserverAction.js +2 -2
- package/dist/models/workflow-template/component-subscription/SubscriptionType.d.ts +4 -4
- package/dist/models/workflow-template/component-subscription/SubscriptionType.js +3 -3
- package/dist/models/workflow-template/components/Component.d.ts +4 -4
- package/dist/models/workflow-template/components/ComponentOneOf.d.ts +1 -1
- package/dist/models/workflow-template/components/ComponentOneOfOverride.d.ts +2 -2
- package/dist/models/workflow-template/components/ComponentOverrideType.d.ts +2 -2
- package/dist/models/workflow-template/components/ComponentType.d.ts +1 -1
- package/dist/models/workflow-template/components/ComponentType.js +1 -1
- package/dist/models/workflow-template/components/InputComponent.d.ts +4 -4
- package/dist/models/workflow-template/components/address/AddressComponentDataValue.d.ts +1 -1
- package/dist/models/workflow-template/components/common/AuditComponentDataValue.d.ts +1 -1
- package/dist/models/workflow-template/components/common/FileDataValue.d.ts +3 -3
- package/dist/models/workflow-template/components/date/DateComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/geo-location/GeolocationComponentDataValue.d.ts +1 -1
- package/dist/models/workflow-template/components/number/NumberFormat.d.ts +2 -2
- package/dist/models/workflow-template/components/number/NumberFormat.js +1 -1
- package/dist/models/workflow-template/components/referenced-in/ReferencedInComponent.d.ts +2 -2
- package/dist/models/workflow-template/components/related-card/RelatedCardComponent.d.ts +4 -4
- package/dist/models/workflow-template/components/related-card-lookup/RelatedCardLookupComponent.d.ts +2 -2
- package/dist/models/workflow-template/components/server/ServerComponentId.d.ts +2 -2
- package/dist/models/workflow-template/components/server/ServerComponentId.js +1 -1
- package/dist/models/workflow-template/components/subform/SubformComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/subform/SubformComponentDataValue.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 +2 -2
- package/dist/models/workflow-template/components/tag/TagComponentOption.d.ts +2 -2
- package/dist/models/workflow-template/components/text/TextComponent.d.ts +2 -2
- package/dist/models/workflow-template/components/time-tracker/TimeTrackerComponent.d.ts +3 -3
- package/dist/models/workflow-template/components/time-tracker/TimeTrackerComponentDataValue.d.ts +1 -1
- package/dist/models/workflow-template/components/time-tracker/TimeTrackerEntry.d.ts +1 -1
- package/dist/models/workflow-template/components/time-tracker/TimeTrackerGeolocation.d.ts +1 -1
- package/dist/models/workflow-template/entities/AbstractListWorkflowEntities.d.ts +1 -1
- package/dist/models/workflow-template/entities/AggregateNumberStats.d.ts +2 -2
- package/dist/models/workflow-template/entities/AggregateRelatedCardQuantity.d.ts +2 -2
- package/dist/models/workflow-template/entities/CreateWorkflowEntity.d.ts +1 -1
- package/dist/models/workflow-template/entities/GetWorkflowEntities.d.ts +1 -1
- package/dist/models/workflow-template/entities/ListWorkflowEntities.d.ts +1 -1
- package/dist/models/workflow-template/entities/ListWorkflowEntitiesContext.d.ts +0 -1
- package/dist/models/workflow-template/entities/ListWorkflowEntitiesResult.d.ts +1 -1
- package/dist/models/workflow-template/entities/WorkflowEntity.d.ts +4 -4
- package/dist/models/workflow-template/entities/audit-trail/EntityAuditTrailEntry.d.ts +3 -3
- package/dist/models/workflow-template/entities/audit-trail/EntityAuditTrailEvent.d.ts +2 -2
- package/dist/models/workflow-template/entities/filters/AnyComponentFilter.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/AnySingleComponentFilter.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/ComparisonOperator.d.ts +3 -3
- package/dist/models/workflow-template/entities/filters/ComparisonOperator.js +2 -2
- package/dist/models/workflow-template/entities/filters/DateIs.d.ts +1 -1
- package/dist/models/workflow-template/entities/filters/DateRange.d.ts +1 -1
- package/dist/models/workflow-template/entities/recurring/CreateRecurringEntities.d.ts +1 -1
- package/dist/models/workflow-template/entities/recurring/RecurringEntitiesSchedule.d.ts +2 -2
- package/dist/models/workflow-template/entities/recurring/UpdateRecurringEntities.d.ts +2 -2
- package/dist/models/workflow-template/entities/refs/EntityRefs.d.ts +2 -2
- package/dist/models/workflow-template/entities/scheduled-automation/CreateEntityScheduledAutomationTrigger.d.ts +1 -1
- package/dist/models/workflow-template/entities/scheduled-automation/EntityScheduledAutomationTrigger.d.ts +5 -5
- package/dist/models/workflow-template/entities/search/SearchWorkflowEntitiesResult.d.ts +1 -1
- package/dist/models/workflow-template/view-template/CollectionCriteria.d.ts +1 -1
- package/dist/models/workflow-template/view-template/ListViewTemplateSort.d.ts +1 -1
- package/dist/models/workflow-template/view-template/ListViewTemplates.d.ts +1 -1
- package/dist/models/workflow-template/view-template/UpdateViewTemplate.d.ts +2 -2
- package/dist/models/workflow-template/view-template/ViewSubtype.d.ts +2 -2
- package/dist/models/workflow-template/view-template/ViewSubtype.js +1 -1
- package/dist/models/workflow-template/view-template/ViewTemplate.d.ts +16 -16
- package/dist/models/workflow-template/view-template/ViewTemplateCopyMapping.d.ts +1 -1
- package/dist/models/workflow-tier/WorkflowTierAssociation.d.ts +2 -2
- package/dist/models/workspace-section/CreateWorkspaceSection.d.ts +1 -1
- package/dist/models/workspace-section/UpdateWorkspaceSection.d.ts +1 -1
- package/dist/models/workspace-section/WorkspaceSection.d.ts +1 -1
- package/dist/models/workspace-section/WorkspaceSectionAssociation.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare enum ActivityFeedEventType {
|
|
2
|
-
CARD_CREATED = "CARD_CREATED",
|
|
3
2
|
CARD_BATCH_CREATED = "CARD_BATCH_CREATED",
|
|
3
|
+
CARD_BATCH_DELETED = "CARD_BATCH_DELETED",
|
|
4
4
|
CARD_BATCH_UPDATED = "CARD_BATCH_UPDATED",
|
|
5
|
-
|
|
5
|
+
CARD_CREATED = "CARD_CREATED",
|
|
6
6
|
CARD_DELETED = "CARD_DELETED",
|
|
7
|
-
|
|
7
|
+
CARD_UPDATED = "CARD_UPDATED",
|
|
8
8
|
THREAD_MESSAGE_CREATED = "THREAD_MESSAGE_CREATED"
|
|
9
9
|
}
|
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ActivityFeedEventType = void 0;
|
|
4
4
|
var ActivityFeedEventType;
|
|
5
5
|
(function (ActivityFeedEventType) {
|
|
6
|
-
ActivityFeedEventType["CARD_CREATED"] = "CARD_CREATED";
|
|
7
6
|
ActivityFeedEventType["CARD_BATCH_CREATED"] = "CARD_BATCH_CREATED";
|
|
7
|
+
ActivityFeedEventType["CARD_BATCH_DELETED"] = "CARD_BATCH_DELETED";
|
|
8
8
|
ActivityFeedEventType["CARD_BATCH_UPDATED"] = "CARD_BATCH_UPDATED";
|
|
9
|
-
ActivityFeedEventType["
|
|
9
|
+
ActivityFeedEventType["CARD_CREATED"] = "CARD_CREATED";
|
|
10
10
|
ActivityFeedEventType["CARD_DELETED"] = "CARD_DELETED";
|
|
11
|
-
ActivityFeedEventType["
|
|
11
|
+
ActivityFeedEventType["CARD_UPDATED"] = "CARD_UPDATED";
|
|
12
12
|
ActivityFeedEventType["THREAD_MESSAGE_CREATED"] = "THREAD_MESSAGE_CREATED";
|
|
13
13
|
})(ActivityFeedEventType || (exports.ActivityFeedEventType = ActivityFeedEventType = {}));
|
|
@@ -2,11 +2,11 @@ import { Card } from '../card/Card';
|
|
|
2
2
|
import { User } from '../user/User';
|
|
3
3
|
import { ActivityFeedEventType } from './ActivityFeedEventType';
|
|
4
4
|
export interface ActivityFeedItem {
|
|
5
|
-
id: string;
|
|
6
|
-
channelId: number;
|
|
7
|
-
user: Partial<User>;
|
|
8
|
-
eventType: ActivityFeedEventType;
|
|
9
|
-
createdAt: Date;
|
|
10
5
|
card?: Partial<Card>;
|
|
6
|
+
channelId: number;
|
|
11
7
|
count?: number;
|
|
8
|
+
createdAt: Date;
|
|
9
|
+
eventType: ActivityFeedEventType;
|
|
10
|
+
id: string;
|
|
11
|
+
user: Partial<User>;
|
|
12
12
|
}
|
|
@@ -3,9 +3,9 @@ import { ActivityFeedItem } from './ActivityFeedItem';
|
|
|
3
3
|
import { CreateCardRelation } from './CreateCardRelation';
|
|
4
4
|
import { CreateUserRelation } from './CreateUserRelation';
|
|
5
5
|
export interface CreateActivityFeedItem extends Partial<ActivityFeedItem> {
|
|
6
|
-
channelId: number;
|
|
7
|
-
user: CreateUserRelation;
|
|
8
|
-
eventType: ActivityFeedEventType;
|
|
9
6
|
card?: CreateCardRelation;
|
|
7
|
+
channelId: number;
|
|
10
8
|
count?: number;
|
|
9
|
+
eventType: ActivityFeedEventType;
|
|
10
|
+
user: CreateUserRelation;
|
|
11
11
|
}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AccessLevelType = void 0;
|
|
4
4
|
var AccessLevelType;
|
|
5
5
|
(function (AccessLevelType) {
|
|
6
|
-
AccessLevelType["FULL"] = "FULL";
|
|
7
6
|
AccessLevelType["EDIT"] = "EDIT";
|
|
7
|
+
AccessLevelType["FULL"] = "FULL";
|
|
8
8
|
AccessLevelType["PERSONAL"] = "PERSONAL";
|
|
9
9
|
AccessLevelType["VIEW"] = "VIEW";
|
|
10
10
|
})(AccessLevelType || (exports.AccessLevelType = AccessLevelType = {}));
|
|
@@ -7,16 +7,16 @@ import { AccessLevel } from './AccessLevel';
|
|
|
7
7
|
import { AccessLevelType } from './AccessLevelType';
|
|
8
8
|
import { ChannelMembershipEntity } from './ChannelMembershipEntity';
|
|
9
9
|
export interface ChannelMembership extends DataEntity, Audit {
|
|
10
|
-
|
|
10
|
+
accessLevel: AccessLevel;
|
|
11
|
+
accessLevelType: AccessLevelType;
|
|
12
|
+
cardsViewedAt?: Date;
|
|
13
|
+
channel: Channel;
|
|
14
|
+
deletedAt?: Date;
|
|
11
15
|
entityType: ChannelMembershipEntity;
|
|
12
|
-
|
|
16
|
+
id: number;
|
|
17
|
+
notificationsPreference?: NotificationsPreference;
|
|
13
18
|
phoneNumberId?: number;
|
|
14
19
|
readCardCount: number;
|
|
15
|
-
notificationsPreference?: NotificationsPreference;
|
|
16
20
|
snoozeUntil?: Date;
|
|
17
|
-
|
|
18
|
-
cardsViewedAt?: Date;
|
|
19
|
-
accessLevelType: AccessLevelType;
|
|
20
|
-
accessLevel: AccessLevel;
|
|
21
|
-
channel: Channel;
|
|
21
|
+
user: User;
|
|
22
22
|
}
|
|
@@ -3,7 +3,7 @@ import { UserGroupId } from '../user/group/UserGroupId';
|
|
|
3
3
|
import { AccessLevel } from './AccessLevel';
|
|
4
4
|
import { WorkspaceUserGroupAssociationEntity } from './db/WorkspaceUserGroupAssociationEntity';
|
|
5
5
|
export interface WorkspaceUserGroupAssociation extends Partial<WorkspaceUserGroupAssociationEntity> {
|
|
6
|
-
workspaceId: WorkspaceId;
|
|
7
|
-
userGroupId: UserGroupId;
|
|
8
6
|
accessLevel: AccessLevel;
|
|
7
|
+
userGroupId: UserGroupId;
|
|
8
|
+
workspaceId: WorkspaceId;
|
|
9
9
|
}
|
|
@@ -2,7 +2,7 @@ import { WorkspaceId } from '../../channel/WorkspaceId';
|
|
|
2
2
|
import { UserGroupId } from '../../user/group/UserGroupId';
|
|
3
3
|
import { AccessLevelType } from '../AccessLevelType';
|
|
4
4
|
export interface WorkspaceUserGroupAssociationEntity {
|
|
5
|
-
workspaceId: WorkspaceId;
|
|
6
|
-
userGroupId: UserGroupId;
|
|
7
5
|
accessLevelType: AccessLevelType;
|
|
6
|
+
userGroupId: UserGroupId;
|
|
7
|
+
workspaceId: WorkspaceId;
|
|
8
8
|
}
|
|
@@ -4,14 +4,14 @@ import { AutomationActionRegistry } from './action/AutomationActionRegistry';
|
|
|
4
4
|
import { AutomationTriggerType } from './AutomationTriggerType';
|
|
5
5
|
import { Condition } from './condition/Condition';
|
|
6
6
|
export interface Automation extends Audit {
|
|
7
|
-
id: string;
|
|
8
|
-
parentId?: string;
|
|
9
|
-
businessId: BusinessId;
|
|
10
|
-
trigger: AutomationTriggerType;
|
|
11
|
-
name: string;
|
|
12
7
|
actions: AutomationActionRegistry.Any[];
|
|
8
|
+
businessId: BusinessId;
|
|
13
9
|
conditions?: Condition[];
|
|
10
|
+
deletedAt?: Date;
|
|
14
11
|
enabled: boolean;
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
parentId?: string;
|
|
15
15
|
suppressAutomationChain: boolean;
|
|
16
|
-
|
|
16
|
+
trigger: AutomationTriggerType;
|
|
17
17
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AutomationEventType } from './AutomationEventType';
|
|
2
2
|
export interface AutomationEventContext {
|
|
3
|
-
sourceAutomationId?: string;
|
|
4
|
-
eventType?: AutomationEventType;
|
|
5
3
|
entityScheduledAutomationMqMessageId?: string;
|
|
4
|
+
eventType?: AutomationEventType;
|
|
5
|
+
sourceAutomationId?: string;
|
|
6
6
|
}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AutomationTriggerType = void 0;
|
|
4
4
|
var AutomationTriggerType;
|
|
5
5
|
(function (AutomationTriggerType) {
|
|
6
|
+
AutomationTriggerType["ADHOC"] = "ADHOC";
|
|
6
7
|
AutomationTriggerType["ENTITY_CREATED"] = "ENTITY_CREATED";
|
|
7
8
|
AutomationTriggerType["ENTITY_UPDATED"] = "ENTITY_UPDATED";
|
|
8
|
-
AutomationTriggerType["ADHOC"] = "ADHOC";
|
|
9
9
|
})(AutomationTriggerType || (exports.AutomationTriggerType = AutomationTriggerType = {}));
|
|
@@ -2,9 +2,9 @@ import { UpdateAutomationAction } from './action/UpdateAutomationAction';
|
|
|
2
2
|
import { Automation } from './Automation';
|
|
3
3
|
import { UpdateCondition } from './condition/UpdateCondition';
|
|
4
4
|
export interface UpdateAutomation extends Partial<Omit<Automation, 'id' | 'actions' | 'conditions' | 'enabled' | 'suppressAutomationChain' | 'createdAt' | 'updatedAt'>> {
|
|
5
|
-
id: string;
|
|
6
5
|
actions?: UpdateAutomationAction[];
|
|
7
6
|
conditions?: UpdateCondition[];
|
|
8
7
|
enabled?: boolean;
|
|
8
|
+
id: string;
|
|
9
9
|
suppressAutomationChain?: boolean;
|
|
10
10
|
}
|
|
@@ -3,13 +3,13 @@ import { Condition } from '../condition/Condition';
|
|
|
3
3
|
import { AutomationActionType } from './AutomationActionType';
|
|
4
4
|
import { AutomationActionSettingsRegistry } from './settings/AutomationActionSettingsRegistry';
|
|
5
5
|
export interface AutomationAction {
|
|
6
|
+
automation?: Automation;
|
|
7
|
+
conditions?: Condition[];
|
|
8
|
+
deletedAt?: Date;
|
|
6
9
|
id: string;
|
|
7
|
-
parentId?: string;
|
|
8
|
-
type: AutomationActionType;
|
|
9
10
|
name: string;
|
|
11
|
+
parentId?: string;
|
|
10
12
|
settings?: AutomationActionSettingsRegistry.Any;
|
|
11
|
-
conditions?: Condition[];
|
|
12
13
|
sortOrder?: number;
|
|
13
|
-
|
|
14
|
-
automation?: Automation;
|
|
14
|
+
type: AutomationActionType;
|
|
15
15
|
}
|
|
@@ -6,7 +6,7 @@ export declare enum AutomationActionType {
|
|
|
6
6
|
SEND_NOTIFICATION = "SEND_NOTIFICATION",
|
|
7
7
|
SEND_PUSH_NOTIFICATION = "SEND_PUSH_NOTIFICATION",
|
|
8
8
|
TRIGGER_RELATED_CARD_AUTOMATION = "TRIGGER_RELATED_CARD_AUTOMATION",
|
|
9
|
+
UPDATE_CURRENT_WORKFLOW_ENTITY = "UPDATE_CURRENT_WORKFLOW_ENTITY",
|
|
9
10
|
UPDATE_RELATED_CARD_QUANTITY = "UPDATE_RELATED_CARD_QUANTITY",
|
|
10
|
-
UPDATE_WORKFLOW_ENTITY = "UPDATE_WORKFLOW_ENTITY"
|
|
11
|
-
UPDATE_CURRENT_WORKFLOW_ENTITY = "UPDATE_CURRENT_WORKFLOW_ENTITY"
|
|
11
|
+
UPDATE_WORKFLOW_ENTITY = "UPDATE_WORKFLOW_ENTITY"
|
|
12
12
|
}
|
|
@@ -10,7 +10,7 @@ var AutomationActionType;
|
|
|
10
10
|
AutomationActionType["SEND_NOTIFICATION"] = "SEND_NOTIFICATION";
|
|
11
11
|
AutomationActionType["SEND_PUSH_NOTIFICATION"] = "SEND_PUSH_NOTIFICATION";
|
|
12
12
|
AutomationActionType["TRIGGER_RELATED_CARD_AUTOMATION"] = "TRIGGER_RELATED_CARD_AUTOMATION";
|
|
13
|
+
AutomationActionType["UPDATE_CURRENT_WORKFLOW_ENTITY"] = "UPDATE_CURRENT_WORKFLOW_ENTITY";
|
|
13
14
|
AutomationActionType["UPDATE_RELATED_CARD_QUANTITY"] = "UPDATE_RELATED_CARD_QUANTITY";
|
|
14
15
|
AutomationActionType["UPDATE_WORKFLOW_ENTITY"] = "UPDATE_WORKFLOW_ENTITY";
|
|
15
|
-
AutomationActionType["UPDATE_CURRENT_WORKFLOW_ENTITY"] = "UPDATE_CURRENT_WORKFLOW_ENTITY";
|
|
16
16
|
})(AutomationActionType || (exports.AutomationActionType = AutomationActionType = {}));
|
|
@@ -2,6 +2,6 @@ import { CreateCondition } from '../condition/CreateCondition';
|
|
|
2
2
|
import { AutomationAction } from './AutomationAction';
|
|
3
3
|
import { AutomationActionSettingsOneOf } from './settings/AutomationActionSettingsOneOf';
|
|
4
4
|
export interface CreateAutomationAction extends Omit<AutomationAction, 'id' | 'settings' | 'conditions'> {
|
|
5
|
-
settings?: AutomationActionSettingsOneOf;
|
|
6
5
|
conditions?: CreateCondition[];
|
|
6
|
+
settings?: AutomationActionSettingsOneOf;
|
|
7
7
|
}
|
|
@@ -2,7 +2,7 @@ import { UpdateCondition } from '../condition/UpdateCondition';
|
|
|
2
2
|
import { AutomationAction } from './AutomationAction';
|
|
3
3
|
import { AutomationActionSettingsOneOf } from './settings/AutomationActionSettingsOneOf';
|
|
4
4
|
export interface UpdateAutomationAction extends Omit<AutomationAction, 'id' | 'settings' | 'conditions'> {
|
|
5
|
+
conditions?: UpdateCondition[];
|
|
5
6
|
id?: string;
|
|
6
7
|
settings?: AutomationActionSettingsOneOf;
|
|
7
|
-
conditions?: UpdateCondition[];
|
|
8
8
|
}
|
|
@@ -4,9 +4,9 @@ import { CurrentWorkflowEntityComponent } from './CurrentWorkflowEntityComponent
|
|
|
4
4
|
import { RelatedWorkflowEntityComponent } from './RelatedWorkflowEntityComponent';
|
|
5
5
|
import { TimeTrackerDataAction } from './TimeTrackerDataAction';
|
|
6
6
|
export interface DynamicComponentDataOneOf {
|
|
7
|
+
actionResultNumber?: ActionResultNumber;
|
|
7
8
|
currentWorkflowEntity?: CurrentWorkflowEntity;
|
|
8
9
|
currentWorkflowEntityComponent?: CurrentWorkflowEntityComponent;
|
|
9
|
-
timeTrackerDataAction?: TimeTrackerDataAction;
|
|
10
|
-
actionResultNumber?: ActionResultNumber;
|
|
11
10
|
relatedWorkflowEntityComponent?: RelatedWorkflowEntityComponent;
|
|
11
|
+
timeTrackerDataAction?: TimeTrackerDataAction;
|
|
12
12
|
}
|
|
@@ -2,7 +2,7 @@ import { ActionResultNumber } from './ActionResultNumber';
|
|
|
2
2
|
import { CurrentWorkflowEntityComponent } from './CurrentWorkflowEntityComponent';
|
|
3
3
|
import { RelatedWorkflowEntityComponent } from './RelatedWorkflowEntityComponent';
|
|
4
4
|
export interface DynamicNumberComponentDataOneOf {
|
|
5
|
-
currentWorkflowEntityComponent?: CurrentWorkflowEntityComponent;
|
|
6
5
|
actionResultNumber?: ActionResultNumber;
|
|
6
|
+
currentWorkflowEntityComponent?: CurrentWorkflowEntityComponent;
|
|
7
7
|
relatedWorkflowEntityComponent?: RelatedWorkflowEntityComponent;
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FilterByComponent } from '../../../workflow-template/entities/filters/FilterByComponent';
|
|
2
2
|
export interface ReferencedInAggregate {
|
|
3
|
-
workflowTemplateId: string;
|
|
4
3
|
componentId: string;
|
|
5
|
-
inverted?: boolean;
|
|
6
4
|
filterByComponents?: FilterByComponent[];
|
|
5
|
+
inverted?: boolean;
|
|
6
|
+
workflowTemplateId: string;
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
2
2
|
export interface SendEmailActionSettings extends AutomationActionSettings {
|
|
3
|
+
message: string;
|
|
3
4
|
recipientEmails?: string[];
|
|
4
5
|
recipientsFromEmailComponentIds?: string[];
|
|
5
|
-
workflowTemplateId: string;
|
|
6
|
-
subject: string;
|
|
7
6
|
replyTo?: string;
|
|
8
|
-
|
|
7
|
+
subject: string;
|
|
8
|
+
workflowTemplateId: string;
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
2
2
|
export interface SendNotificationActionSettings extends AutomationActionSettings {
|
|
3
|
+
message: string;
|
|
3
4
|
recipientEmails?: string[];
|
|
4
5
|
recipientsFromEmailComponentIds?: string[];
|
|
5
|
-
workflowTemplateId: string;
|
|
6
|
-
subject: string;
|
|
7
6
|
replyTo?: string;
|
|
8
|
-
|
|
7
|
+
subject: string;
|
|
8
|
+
workflowTemplateId: string;
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { UserId } from '../../../user/UserId';
|
|
2
2
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
3
3
|
export interface SendPushNotificationActionSettings extends AutomationActionSettings {
|
|
4
|
-
|
|
4
|
+
message: string;
|
|
5
5
|
recipientsFromPersonComponentIds?: string[];
|
|
6
|
-
|
|
6
|
+
recipientUserIds?: UserId[];
|
|
7
7
|
title: string;
|
|
8
|
-
|
|
8
|
+
workflowTemplateId: string;
|
|
9
9
|
}
|
|
@@ -2,8 +2,8 @@ import { ComponentDataRegistry } from '../../../workflow-template/components/Com
|
|
|
2
2
|
import { DynamicComponentDataRegistry } from '../component-data/DynamicComponentDataRegistry';
|
|
3
3
|
import { ArrayValueOperation } from './ArrayValueOperation';
|
|
4
4
|
export interface SettingsWorkflowEntityField {
|
|
5
|
+
arrayValueOperation?: ArrayValueOperation;
|
|
5
6
|
componentId: string;
|
|
6
7
|
dynamicData?: DynamicComponentDataRegistry.Any;
|
|
7
8
|
staticData?: ComponentDataRegistry.Any;
|
|
8
|
-
arrayValueOperation?: ArrayValueOperation;
|
|
9
9
|
}
|
package/dist/models/automations/action/settings/UpdateRelatedCardQuantityActionSettings.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { ComponentDataRegistry } from '../../../workflow-template/components/Com
|
|
|
2
2
|
import { DynamicComponentDataRegistry } from '../component-data/DynamicComponentDataRegistry';
|
|
3
3
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
4
4
|
export interface UpdateRelatedCardQuantityActionSettings extends AutomationActionSettings {
|
|
5
|
-
workflowTemplateId: string;
|
|
6
|
-
relatedCardComponentId: string;
|
|
7
5
|
dynamicData?: DynamicComponentDataRegistry.AnyNumber;
|
|
6
|
+
relatedCardComponentId: string;
|
|
8
7
|
staticData?: ComponentDataRegistry.Any;
|
|
8
|
+
workflowTemplateId: string;
|
|
9
9
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
2
2
|
import { SettingsWorkflowEntityField } from './SettingsWorkflowEntityField';
|
|
3
3
|
export interface WorkflowEntityActionSettings extends AutomationActionSettings {
|
|
4
|
-
workflowTemplateId: string;
|
|
5
4
|
fields: SettingsWorkflowEntityField[];
|
|
5
|
+
workflowTemplateId: string;
|
|
6
6
|
}
|
|
@@ -2,9 +2,9 @@ import { ComparisonOperator } from '../../workflow-template/entities/filters/Com
|
|
|
2
2
|
import { LogicalOperator } from './LogicalOperator';
|
|
3
3
|
import { OperandRegistry } from './OperandRegistry';
|
|
4
4
|
export interface Condition {
|
|
5
|
+
comparisonOperator: ComparisonOperator;
|
|
5
6
|
id: string;
|
|
6
7
|
leftOperand: OperandRegistry.Any;
|
|
7
|
-
comparisonOperator: ComparisonOperator;
|
|
8
|
-
rightOperand: OperandRegistry.Any;
|
|
9
8
|
logicalOperator?: LogicalOperator;
|
|
9
|
+
rightOperand: OperandRegistry.Any;
|
|
10
10
|
}
|
|
@@ -14,7 +14,7 @@ export interface OperandOneOf {
|
|
|
14
14
|
dateTokenOperand?: DateTokenOperand;
|
|
15
15
|
numberOperand?: NumberOperand;
|
|
16
16
|
previousComponentOperand?: PreviousComponentOperand;
|
|
17
|
-
stringOperand?: StringOperand;
|
|
18
17
|
stringArrayOperand?: StringArrayOperand;
|
|
18
|
+
stringOperand?: StringOperand;
|
|
19
19
|
workflowEntityRefComponentOperand?: WorkflowEntityRefComponentOperand;
|
|
20
20
|
}
|
|
@@ -2,8 +2,8 @@ import { Audit } from '../application/Audit';
|
|
|
2
2
|
import { BusinessId } from '../business/BusinessId';
|
|
3
3
|
import { UserId } from '../user/UserId';
|
|
4
4
|
export interface Billing extends Audit {
|
|
5
|
-
id: number;
|
|
6
5
|
businessId: BusinessId;
|
|
7
|
-
|
|
6
|
+
id: number;
|
|
8
7
|
stripeCustomerId: string;
|
|
8
|
+
userId: UserId;
|
|
9
9
|
}
|
|
@@ -3,14 +3,14 @@ import { BillingSubscriptionStatus } from './BillingSubscriptionStatus';
|
|
|
3
3
|
import { PlanTier } from './PlanTier';
|
|
4
4
|
import { SubscriptionItem } from './SubscriptionItem';
|
|
5
5
|
export interface BillingSubscription {
|
|
6
|
-
id: string;
|
|
7
6
|
cancelAtPeriodEnd: boolean;
|
|
8
|
-
currentPeriodStart: Date;
|
|
9
7
|
currentPeriodEnd: Date;
|
|
8
|
+
currentPeriodStart: Date;
|
|
9
|
+
id: string;
|
|
10
|
+
isPaidPlan: boolean;
|
|
10
11
|
items: SubscriptionItem[];
|
|
11
|
-
status: BillingSubscriptionStatus;
|
|
12
12
|
limits?: UsageMetricSummary[];
|
|
13
|
-
|
|
13
|
+
status: BillingSubscriptionStatus;
|
|
14
14
|
tier: PlanTier;
|
|
15
15
|
trialEnd?: Date;
|
|
16
16
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare enum BillingSubscriptionStatus {
|
|
2
|
+
active = "active",
|
|
3
|
+
canceled = "canceled",
|
|
2
4
|
incomplete = "incomplete",
|
|
3
5
|
incomplete_expired = "incomplete_expired",
|
|
4
|
-
trialing = "trialing",
|
|
5
|
-
active = "active",
|
|
6
6
|
past_due = "past_due",
|
|
7
|
-
|
|
7
|
+
trialing = "trialing",
|
|
8
8
|
unpaid = "unpaid"
|
|
9
9
|
}
|
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.BillingSubscriptionStatus = void 0;
|
|
4
4
|
var BillingSubscriptionStatus;
|
|
5
5
|
(function (BillingSubscriptionStatus) {
|
|
6
|
+
BillingSubscriptionStatus["active"] = "active";
|
|
7
|
+
BillingSubscriptionStatus["canceled"] = "canceled";
|
|
6
8
|
BillingSubscriptionStatus["incomplete"] = "incomplete";
|
|
7
9
|
BillingSubscriptionStatus["incomplete_expired"] = "incomplete_expired";
|
|
8
|
-
BillingSubscriptionStatus["trialing"] = "trialing";
|
|
9
|
-
BillingSubscriptionStatus["active"] = "active";
|
|
10
10
|
BillingSubscriptionStatus["past_due"] = "past_due";
|
|
11
|
-
BillingSubscriptionStatus["
|
|
11
|
+
BillingSubscriptionStatus["trialing"] = "trialing";
|
|
12
12
|
BillingSubscriptionStatus["unpaid"] = "unpaid";
|
|
13
13
|
})(BillingSubscriptionStatus || (exports.BillingSubscriptionStatus = BillingSubscriptionStatus = {}));
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { UserId } from '../user/UserId';
|
|
2
2
|
import { BillingSubscription } from './BillingSubscription';
|
|
3
3
|
export interface Customer {
|
|
4
|
+
balance?: number;
|
|
5
|
+
currency?: string;
|
|
6
|
+
delinquent?: boolean;
|
|
7
|
+
email?: string;
|
|
4
8
|
id: string;
|
|
5
9
|
metadata?: {
|
|
6
10
|
userId: UserId;
|
|
7
11
|
billingId: number;
|
|
8
12
|
};
|
|
9
|
-
email?: string;
|
|
10
13
|
name?: string;
|
|
11
14
|
phone?: string;
|
|
12
|
-
balance?: number;
|
|
13
|
-
currency?: string;
|
|
14
|
-
delinquent?: boolean;
|
|
15
15
|
subscriptions?: BillingSubscription[];
|
|
16
16
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { SubscriptionPlanProduct } from './SubscriptionPlanProduct';
|
|
2
2
|
import { SubscriptionPlanType } from './SubscriptionPlanType';
|
|
3
3
|
export interface SubscriptionPlan {
|
|
4
|
-
|
|
5
|
-
type: SubscriptionPlanType;
|
|
4
|
+
description: string;
|
|
6
5
|
highlightPlan: boolean;
|
|
6
|
+
name: string;
|
|
7
7
|
products: SubscriptionPlanProduct[];
|
|
8
|
-
|
|
8
|
+
type: SubscriptionPlanType;
|
|
9
9
|
}
|
|
@@ -2,12 +2,12 @@ import { SubscriptionPlanPrice } from './SubscriptionPlanPrice';
|
|
|
2
2
|
import { SubscriptionPlanType } from './SubscriptionPlanType';
|
|
3
3
|
import { SubscriptionPlanWorkflowTier } from './SubscriptionPlanWorkflowTier';
|
|
4
4
|
export interface SubscriptionPlanProduct {
|
|
5
|
+
description?: string;
|
|
6
|
+
highlightPlan: boolean;
|
|
5
7
|
id: string;
|
|
6
8
|
name: string;
|
|
7
|
-
prices: SubscriptionPlanPrice[];
|
|
8
|
-
workflowTier: SubscriptionPlanWorkflowTier;
|
|
9
9
|
planType: SubscriptionPlanType;
|
|
10
|
-
|
|
11
|
-
description?: string;
|
|
10
|
+
prices: SubscriptionPlanPrice[];
|
|
12
11
|
quantity?: number;
|
|
12
|
+
workflowTier: SubscriptionPlanWorkflowTier;
|
|
13
13
|
}
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SubscriptionPlanType = void 0;
|
|
4
4
|
var SubscriptionPlanType;
|
|
5
5
|
(function (SubscriptionPlanType) {
|
|
6
|
-
SubscriptionPlanType["STARTER"] = "STARTER";
|
|
7
6
|
SubscriptionPlanType["PRO"] = "PRO";
|
|
7
|
+
SubscriptionPlanType["STARTER"] = "STARTER";
|
|
8
8
|
})(SubscriptionPlanType || (exports.SubscriptionPlanType = SubscriptionPlanType = {}));
|