@coast/core-api-types 1.5.22 → 1.5.24
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/automations/action/settings/SendEmailActionSettingsGql.d.ts +1 -0
- package/dist/models/view-template-layout/ViewTemplateLayoutItemGql.d.ts +1 -1
- package/dist/models/view-template-layout/ViewTemplateLayoutOneOfGql.d.ts +5 -5
- package/dist/models/view-template-layout/items/ViewTemplateLayoutComponentGql.d.ts +1 -1
- package/dist/models/view-template-layout/items/ViewTemplateLayoutImageGql.d.ts +1 -1
- package/dist/models/view-template-layout/items/ViewTemplateLayoutSectionGql.d.ts +4 -4
- package/dist/models/view-template-layout/items/ViewTemplateLayoutTextGql.d.ts +1 -1
- package/dist/models/view-template-layout/items/ViewTemplateLayoutVideoGql.d.ts +4 -4
- package/dist/models/view-template-layout/registry/ViewTemplateLayoutItemOneOfInput.d.ts +5 -5
- package/package.json +2 -2
|
@@ -7,6 +7,7 @@ export interface SendEmailActionSettingsGql extends AutomationActionSettingsGql<
|
|
|
7
7
|
message: string;
|
|
8
8
|
recipientEmails?: string[];
|
|
9
9
|
recipientsFromEmailComponentIds?: ComponentId[];
|
|
10
|
+
recipientsFromPersonComponentIds?: ComponentId[];
|
|
10
11
|
replyTo?: string;
|
|
11
12
|
replyToRelatedCardEmail?: RelatedCardEmailGql;
|
|
12
13
|
recipientsFromRelatedCardEmail?: RelatedCardEmailGql;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ViewTemplateLayoutItemId } from '@coast/core-types/view-template-layout/ViewTemplateLayoutItemId';
|
|
2
2
|
import { ViewTemplateLayoutItemType } from '@coast/core-types/view-template-layout/ViewTemplateLayoutItemType';
|
|
3
3
|
export interface ViewTemplateLayoutItemGql<T extends ViewTemplateLayoutItemType = ViewTemplateLayoutItemType> {
|
|
4
|
-
id?: ViewTemplateLayoutItemId;
|
|
4
|
+
id?: ViewTemplateLayoutItemId | null;
|
|
5
5
|
displayOrder?: number;
|
|
6
6
|
type: T;
|
|
7
7
|
}
|
|
@@ -5,9 +5,9 @@ import { ViewTemplateLayoutTextGql } from './items/ViewTemplateLayoutTextGql';
|
|
|
5
5
|
import { ViewTemplateLayoutVideoGql } from './items/ViewTemplateLayoutVideoGql';
|
|
6
6
|
import { ViewTemplateLayoutItemOneOfInput } from './registry/ViewTemplateLayoutItemOneOfInput';
|
|
7
7
|
export interface ViewTemplateLayoutOneOfGql extends ViewTemplateLayoutItemOneOfInput {
|
|
8
|
-
single_component: ViewTemplateLayoutComponentGql | undefined;
|
|
9
|
-
section: ViewTemplateLayoutSectionGql | undefined;
|
|
10
|
-
text: ViewTemplateLayoutTextGql | undefined;
|
|
11
|
-
image: ViewTemplateLayoutImageGql | undefined;
|
|
12
|
-
video: ViewTemplateLayoutVideoGql | undefined;
|
|
8
|
+
single_component: ViewTemplateLayoutComponentGql | null | undefined;
|
|
9
|
+
section: ViewTemplateLayoutSectionGql | null | undefined;
|
|
10
|
+
text: ViewTemplateLayoutTextGql | null | undefined;
|
|
11
|
+
image: ViewTemplateLayoutImageGql | null | undefined;
|
|
12
|
+
video: ViewTemplateLayoutVideoGql | null | undefined;
|
|
13
13
|
}
|
|
@@ -2,5 +2,5 @@ import { ViewTemplateLayoutItemType } from '@coast/core-types/view-template-layo
|
|
|
2
2
|
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
3
3
|
import { ViewTemplateLayoutItemGql } from '../ViewTemplateLayoutItemGql';
|
|
4
4
|
export interface ViewTemplateLayoutComponentGql extends ViewTemplateLayoutItemGql<ViewTemplateLayoutItemType.SINGLE_COMPONENT> {
|
|
5
|
-
componentId?: ComponentId;
|
|
5
|
+
componentId?: ComponentId | null;
|
|
6
6
|
}
|
|
@@ -2,5 +2,5 @@ import { ViewTemplateLayoutItemType } from '@coast/core-types/view-template-layo
|
|
|
2
2
|
import { FileDataValueGql } from '../../workflow-template/components/common/FileDataValueGql';
|
|
3
3
|
import { ViewTemplateLayoutItemGql } from '../ViewTemplateLayoutItemGql';
|
|
4
4
|
export interface ViewTemplateLayoutImageGql extends ViewTemplateLayoutItemGql<ViewTemplateLayoutItemType.IMAGE> {
|
|
5
|
-
images?: FileDataValueGql[];
|
|
5
|
+
images?: FileDataValueGql[] | null;
|
|
6
6
|
}
|
|
@@ -2,8 +2,8 @@ import { ViewTemplateLayoutItemType } from '@coast/core-types/view-template-layo
|
|
|
2
2
|
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
3
3
|
import { ViewTemplateLayoutItemGql } from '../ViewTemplateLayoutItemGql';
|
|
4
4
|
export interface ViewTemplateLayoutSectionGql extends ViewTemplateLayoutItemGql<ViewTemplateLayoutItemType.SECTION> {
|
|
5
|
-
title?: string;
|
|
6
|
-
isCollapsed?: boolean;
|
|
7
|
-
columnCount?: number;
|
|
8
|
-
componentIds?: ComponentId[];
|
|
5
|
+
title?: string | null;
|
|
6
|
+
isCollapsed?: boolean | null;
|
|
7
|
+
columnCount?: number | null;
|
|
8
|
+
componentIds?: ComponentId[] | null;
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ViewTemplateLayoutItemType } from '@coast/core-types/view-template-layout/ViewTemplateLayoutItemType';
|
|
2
2
|
import { ViewTemplateLayoutItemGql } from '../ViewTemplateLayoutItemGql';
|
|
3
3
|
export interface ViewTemplateLayoutTextGql extends ViewTemplateLayoutItemGql<ViewTemplateLayoutItemType.TEXT> {
|
|
4
|
-
text?: string;
|
|
4
|
+
text?: string | null;
|
|
5
5
|
}
|
|
@@ -2,8 +2,8 @@ import { ViewTemplateLayoutItemType } from '@coast/core-types/view-template-layo
|
|
|
2
2
|
import { ViewTemplateLayoutItemGql } from '../ViewTemplateLayoutItemGql';
|
|
3
3
|
import { ViewTemplateLayoutVideoMetadataGql } from './ViewTemplateLayoutVideoMetadataGql';
|
|
4
4
|
export interface ViewTemplateLayoutVideoGql extends ViewTemplateLayoutItemGql<ViewTemplateLayoutItemType.VIDEO> {
|
|
5
|
-
contentType?: string;
|
|
6
|
-
name?: string;
|
|
7
|
-
url?: string;
|
|
8
|
-
metadata?: ViewTemplateLayoutVideoMetadataGql;
|
|
5
|
+
contentType?: string | null;
|
|
6
|
+
name?: string | null;
|
|
7
|
+
url?: string | null;
|
|
8
|
+
metadata?: ViewTemplateLayoutVideoMetadataGql | null;
|
|
9
9
|
}
|
|
@@ -4,9 +4,9 @@ import { ViewTemplateLayoutSectionGql } from '../items/ViewTemplateLayoutSection
|
|
|
4
4
|
import { ViewTemplateLayoutTextGql } from '../items/ViewTemplateLayoutTextGql';
|
|
5
5
|
import { ViewTemplateLayoutVideoGql } from '../items/ViewTemplateLayoutVideoGql';
|
|
6
6
|
export type ViewTemplateLayoutItemOneOfInput = {
|
|
7
|
-
section: ViewTemplateLayoutSectionGql | undefined;
|
|
8
|
-
single_component: ViewTemplateLayoutComponentGql | undefined;
|
|
9
|
-
text: ViewTemplateLayoutTextGql | undefined;
|
|
10
|
-
image: ViewTemplateLayoutImageGql | undefined;
|
|
11
|
-
video: ViewTemplateLayoutVideoGql | undefined;
|
|
7
|
+
section: ViewTemplateLayoutSectionGql | null | undefined;
|
|
8
|
+
single_component: ViewTemplateLayoutComponentGql | null | undefined;
|
|
9
|
+
text: ViewTemplateLayoutTextGql | null | undefined;
|
|
10
|
+
image: ViewTemplateLayoutImageGql | null | undefined;
|
|
11
|
+
video: ViewTemplateLayoutVideoGql | null | undefined;
|
|
12
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coast/core-api-types",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.24",
|
|
4
4
|
"description": "Facilitates the generation of core-api-types npm package",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"author": "Coast Engineering",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@coast/core-types": "0.0.
|
|
26
|
+
"@coast/core-types": "0.0.138",
|
|
27
27
|
"@coast/core-utils": "0.0.28",
|
|
28
28
|
"@coast/schemas": "^4.0.2",
|
|
29
29
|
"@coast/service-common": "^2.0.81",
|