@coast/core-api-types 1.2.279 → 1.2.281

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 +1,2 @@
1
+ "use strict";
1
2
  //# sourceMappingURL=WorkflowAutomationsEvent.js.map
@@ -9,8 +9,8 @@ export interface BillingSubscription {
9
9
  id: string;
10
10
  isPaidPlan: boolean;
11
11
  items: SubscriptionItem[];
12
- limits?: UsageMetricSummary[];
12
+ limits?: UsageMetricSummary[] | null;
13
13
  status: BillingSubscriptionStatus;
14
14
  tier: PlanTier;
15
- trialEnd?: Date;
15
+ trialEnd?: Date | null;
16
16
  }
@@ -2,15 +2,15 @@ import { UserId } from '@coast/core-types/user/UserId';
2
2
  import { BillingSubscription } from './BillingSubscription';
3
3
  export interface Customer {
4
4
  balance?: number;
5
- currency?: string;
6
- delinquent?: boolean;
7
- email?: string;
5
+ currency?: string | null;
6
+ delinquent?: boolean | null;
7
+ email?: string | null;
8
8
  id: string;
9
9
  metadata?: {
10
10
  userId: UserId;
11
11
  billingId: number;
12
12
  };
13
- name?: string;
14
- phone?: string;
13
+ name?: string | null;
14
+ phone?: string | null;
15
15
  subscriptions?: BillingSubscription[];
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { Color } from '@coast/schemas';
2
2
  import { Audit } from '../../application/Audit';
3
3
  export interface CardFieldStringTag extends Audit {
4
- archivedAt?: Date;
4
+ archivedAt?: Date | null;
5
5
  channelId: number;
6
6
  colorName: Color;
7
7
  fieldName: string;
@@ -3,6 +3,6 @@ import { User } from '../user/User';
3
3
  export interface AnyChannelUpdated {
4
4
  anyChannelUpdated: {
5
5
  channel: Channel;
6
- currentUser: User;
6
+ currentUser: User | null;
7
7
  };
8
8
  }
@@ -6,7 +6,7 @@ import { User } from '../user/User';
6
6
  import { Channel } from './Channel';
7
7
  export interface ChannelAccountingUpdated {
8
8
  channel: Channel;
9
- user: User;
9
+ user: User | null;
10
10
  card?: Card;
11
11
  source: ClientEventType | EntityEventType;
12
12
  message?: ThreadMessage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.279",
3
+ "version": "1.2.281",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {
@@ -23,8 +23,8 @@
23
23
  "author": "Coast Engineering",
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@coast/core-types": "0.0.26",
27
- "@coast/core-utils": "0.0.8",
26
+ "@coast/core-types": "0.0.27",
27
+ "@coast/core-utils": "0.0.10",
28
28
  "@coast/schemas": "^4.0.0",
29
29
  "@coast/service-common": "^2.0.69",
30
30
  "@paradoxical-io/types": "^2.1.0",
@@ -47,9 +47,7 @@
47
47
  "clean:dist": "rm -rf dist tsconfig.tsbuildinfo",
48
48
  "generate": "tsx src/scripts/generateTypes.ts",
49
49
  "regenerate": "yarn clean:sources && yarn generate",
50
- "build": "yarn clean:dist && tsc",
51
- "strict:compile": "yarn run -T tsc-strict",
52
- "strict:update": "yarn run -T update-strict-comments"
50
+ "build": "yarn clean:dist && tsc"
53
51
  },
54
52
  "publishConfig": {
55
53
  "access": "public"