@coast/core-api-types 1.2.239 → 1.2.240

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.
@@ -1,7 +1,7 @@
1
1
  import { SubscriptionPlanProduct } from './SubscriptionPlanProduct';
2
2
  import { SubscriptionPlanType } from './SubscriptionPlanType';
3
3
  export interface SubscriptionPlan {
4
- description: string;
4
+ description?: string;
5
5
  highlightPlan: boolean;
6
6
  name: string;
7
7
  products: SubscriptionPlanProduct[];
@@ -11,7 +11,7 @@ export interface CardDefinition extends Audit {
11
11
  defaultTags?: TagOptions;
12
12
  definition: CoastJSONSchema4;
13
13
  deletedAt?: Date;
14
- iconName: string;
14
+ iconName?: string;
15
15
  id: string;
16
16
  imageUrl?: string;
17
17
  name: string;
@@ -4,7 +4,7 @@ import { Card } from '../Card';
4
4
  import { ReminderRelativeTo } from './ReminderRelativeTo';
5
5
  export interface CardReminder extends Audit {
6
6
  card: Card;
7
- conditionalSelector: Selector;
7
+ conditionalSelector?: Selector;
8
8
  duration: string;
9
9
  id: string;
10
10
  recipientFieldName: string;
@@ -2,7 +2,7 @@ import { OffsetPaginatedResult } from '../../pagination/OffsetPaginatedResult';
2
2
  import { PlanLimit } from '../../plan-limits/PlanLimit';
3
3
  import { Card } from '../Card';
4
4
  export interface ListCardsResult extends OffsetPaginatedResult {
5
- cards: Card[];
5
+ cards?: Card[];
6
6
  planLimit?: PlanLimit;
7
7
  totalResults: number;
8
8
  }
@@ -1,5 +1,5 @@
1
1
  import { OffsetPaginatedResult } from '../../pagination/OffsetPaginatedResult';
2
2
  import { SummaryCard } from '../summary-card/SummaryCard';
3
3
  export interface ListSummaryCardsResult extends OffsetPaginatedResult {
4
- cards: SummaryCard[];
4
+ cards?: SummaryCard[];
5
5
  }
@@ -18,7 +18,7 @@ export interface Channel extends Audit {
18
18
  default: boolean;
19
19
  defaultFocus?: WorkspaceFocus;
20
20
  deletedAt: Date;
21
- description: string;
21
+ description?: string;
22
22
  excludeFromAnalytics: boolean;
23
23
  id: number;
24
24
  imageUrl?: string;
@@ -1,7 +1,7 @@
1
1
  export interface ThreadMessageAttachment {
2
2
  fileKey: string;
3
- height: number;
3
+ height?: number;
4
4
  originalFilename: string;
5
5
  publicUrl: string;
6
- width: number;
6
+ width?: number;
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import { OffsetPaginatedResult } from '../pagination/OffsetPaginatedResult';
2
2
  import { User } from './User';
3
3
  export interface ListUsersResult extends OffsetPaginatedResult {
4
- users: User[];
4
+ users?: User[];
5
5
  total: number;
6
6
  }
@@ -21,7 +21,7 @@ export interface User extends Audit {
21
21
  firstTaskCompleted?: boolean;
22
22
  id: UserId;
23
23
  img?: string;
24
- isSubscribedToDigest: boolean;
24
+ isSubscribedToDigest?: boolean;
25
25
  lastName: string;
26
26
  lastRemindedAt?: Date;
27
27
  lastSeen: Date;
@@ -1,5 +1,5 @@
1
1
  import { OffsetPaginatedResult } from '../pagination/OffsetPaginatedResult';
2
2
  import { ViewTemplate } from './ViewTemplate';
3
3
  export interface ListViewTemplatesResult extends OffsetPaginatedResult {
4
- viewTemplates: ViewTemplate[];
4
+ viewTemplates?: ViewTemplate[];
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { Automation } from '../automations/Automation';
2
2
  import { OffsetPaginatedResult } from '../pagination/OffsetPaginatedResult';
3
3
  export interface ListWorkflowTemplateAutomationsResult extends OffsetPaginatedResult {
4
- automations: Automation[];
4
+ automations?: Automation[];
5
5
  }
@@ -4,7 +4,7 @@ import { Defaultable } from '../Defaultable';
4
4
  import { InputComponent } from '../InputComponent';
5
5
  import { ScheduledAutomationDefault } from './ScheduledAutomationDefault';
6
6
  export interface ScheduledAutomationComponent extends Defaultable<ScheduledAutomationDefault>, InputComponent<ComponentType.SCHEDULED_AUTOMATION> {
7
- automationId: AutomationId;
7
+ automationId?: AutomationId;
8
8
  dateComponentId: string;
9
9
  default?: ScheduledAutomationDefault;
10
10
  scheduleImmediatelyIfInPast?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.239",
3
+ "version": "1.2.240",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {