@coast/core-api-types 1.2.271 → 1.2.273
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/SendWebhookActionSettings.d.ts +1 -1
- package/dist/models/workflow-app/DuplicateInput.d.ts +5 -0
- package/dist/models/workflow-app/DuplicateInput.js +3 -0
- package/dist/models/workflow-app/DuplicateInput.js.map +1 -0
- package/dist/models/workflow-app/DuplicateWorkspace.d.ts +6 -0
- package/dist/models/workflow-app/DuplicateWorkspace.js.map +1 -0
- package/dist/models/workflow-app/DuplicateWorkspaceSection.d.ts +6 -0
- package/dist/models/workflow-app/DuplicateWorkspaceSection.js.map +1 -0
- package/dist/models/workflow-app/InstallBundle.d.ts +2 -3
- package/dist/models/workflow-app/bundle/Bundle.d.ts +1 -0
- package/dist/models/workflow-app/bundle/UpdateBundleInput.d.ts +1 -0
- package/dist/models/workflow-app/bundle/public-bundle/PublicBundle.d.ts +1 -0
- 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 +0 -1
- package/dist/models/workflow-template/components/InputComponentTypes.js.map +1 -1
- package/dist/models/workflow-template/components/registry/InputComponentDataValueMap.d.ts +47 -0
- package/dist/models/workflow-template/components/registry/InputComponentDataValueMap.js +4 -0
- package/dist/models/workflow-template/components/registry/InputComponentDataValueMap.js.map +1 -0
- package/package.json +4 -3
- package/dist/models/channel/DuplicateWorkspace.d.ts +0 -7
- package/dist/models/channel/DuplicateWorkspace.js.map +0 -1
- package/dist/models/workspace-section/DuplicateWorkspaceSection.d.ts +0 -7
- package/dist/models/workspace-section/DuplicateWorkspaceSection.js.map +0 -1
- /package/dist/models/{channel → workflow-app}/DuplicateWorkspace.js +0 -0
- /package/dist/models/{workspace-section → workflow-app}/DuplicateWorkspaceSection.js +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
|
-
import { HmacSecretKey } from '@coast/
|
|
2
|
+
import { HmacSecretKey } from '@coast/service-common/crypto/HmacSecretKey';
|
|
3
3
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
4
4
|
export interface SendWebhookActionSettings extends AutomationActionSettings<AutomationActionType.SEND_WEBHOOK> {
|
|
5
5
|
destinationUrl: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DuplicateInput.js","sourceRoot":"","sources":["../../../src/models/workflow-app/DuplicateInput.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DuplicateWorkspace.js","sourceRoot":"","sources":["../../../src/models/workflow-app/DuplicateWorkspace.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DuplicateWorkspaceSection.js","sourceRoot":"","sources":["../../../src/models/workflow-app/DuplicateWorkspaceSection.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BundleId } from '@coast/core-types/workflow-app/bundle/BundleId';
|
|
2
|
-
import {
|
|
3
|
-
export interface InstallBundle {
|
|
2
|
+
import { DuplicateInput } from './DuplicateInput';
|
|
3
|
+
export interface InstallBundle extends DuplicateInput {
|
|
4
4
|
bundleId: BundleId;
|
|
5
5
|
name?: string;
|
|
6
|
-
channelMemberships?: CreateChannelChannelMembership[];
|
|
7
6
|
}
|
|
@@ -2,4 +2,4 @@ import { ComponentType } from '@coast/core-types/workflow-template/components/Co
|
|
|
2
2
|
import { Extends } from '@paradoxical-io/types';
|
|
3
3
|
import { InputComponentTypes } from './InputComponentTypes';
|
|
4
4
|
export type InputComponentType = Extends<ComponentType, (typeof InputComponentTypes)[number]>;
|
|
5
|
-
export type AutomationEnabledInputComponentType = Exclude<InputComponentType, ComponentType.AUDIT_CHECKBOX | ComponentType.AUDIT_TAG | ComponentType.AUDIT_TEXT | ComponentType.COMBINED_TAGS | ComponentType.
|
|
5
|
+
export type AutomationEnabledInputComponentType = Exclude<InputComponentType, ComponentType.AUDIT_CHECKBOX | ComponentType.AUDIT_TAG | ComponentType.AUDIT_TEXT | ComponentType.COMBINED_TAGS | ComponentType.ENTITY_BATCH | ComponentType.SCHEDULED_AUTOMATION>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
2
|
-
export declare const InputComponentTypes: [ComponentType.ADDRESS, ComponentType.AUDIT_CHECKBOX, ComponentType.AUDIT_TAG, ComponentType.AUDIT_TEXT, ComponentType.DATE, ComponentType.
|
|
2
|
+
export declare const InputComponentTypes: [ComponentType.ADDRESS, ComponentType.AUDIT_CHECKBOX, ComponentType.AUDIT_TAG, ComponentType.AUDIT_TEXT, ComponentType.DATE, ComponentType.EMAIL, ComponentType.ENTITY_BATCH, ComponentType.FILE, ComponentType.GEOLOCATION, ComponentType.NUMBER, ComponentType.PERSON, ComponentType.RELATED_CARD, ComponentType.SCHEDULED_AUTOMATION, ComponentType.SIGNATURE, ComponentType.SUBFORM, ComponentType.TAG, ComponentType.TEXT, ComponentType.TIME_TRACKER, ComponentType.TODO, ComponentType.URL];
|
|
@@ -8,7 +8,6 @@ exports.InputComponentTypes = [
|
|
|
8
8
|
ComponentType_1.ComponentType.AUDIT_TAG,
|
|
9
9
|
ComponentType_1.ComponentType.AUDIT_TEXT,
|
|
10
10
|
ComponentType_1.ComponentType.DATE,
|
|
11
|
-
ComponentType_1.ComponentType.DATE_RANGE,
|
|
12
11
|
ComponentType_1.ComponentType.EMAIL,
|
|
13
12
|
ComponentType_1.ComponentType.ENTITY_BATCH,
|
|
14
13
|
ComponentType_1.ComponentType.FILE,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputComponentTypes.js","sourceRoot":"","sources":["../../../../src/models/workflow-template/components/InputComponentTypes.ts"],"names":[],"mappings":";;;AAAA,gGAA6F;AAEhF,QAAA,mBAAmB,GAAG;IAC/B,6BAAa,CAAC,OAAO;IACrB,6BAAa,CAAC,cAAc;IAC5B,6BAAa,CAAC,SAAS;IACvB,6BAAa,CAAC,UAAU;IACxB,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"InputComponentTypes.js","sourceRoot":"","sources":["../../../../src/models/workflow-template/components/InputComponentTypes.ts"],"names":[],"mappings":";;;AAAA,gGAA6F;AAEhF,QAAA,mBAAmB,GAAG;IAC/B,6BAAa,CAAC,OAAO;IACrB,6BAAa,CAAC,cAAc;IAC5B,6BAAa,CAAC,SAAS;IACvB,6BAAa,CAAC,UAAU;IACxB,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,KAAK;IACnB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,WAAW;IACzB,6BAAa,CAAC,MAAM;IACpB,6BAAa,CAAC,MAAM;IACpB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,oBAAoB;IAClC,6BAAa,CAAC,SAAS;IACvB,6BAAa,CAAC,OAAO;IACrB,6BAAa,CAAC,GAAG;IACjB,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,GAAG;CACe,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
2
|
+
import { AddressComponentData } from '../address/AddressComponentData';
|
|
3
|
+
import { AnyComponentDataValue } from '../AnyComponentDataValue';
|
|
4
|
+
import { AuditCheckboxComponentData } from '../audit-checkbox/AuditCheckboxComponentData';
|
|
5
|
+
import { AuditTagComponentData } from '../audit-tag/AuditTagComponentData';
|
|
6
|
+
import { AuditTextComponentData } from '../audit-text/AuditTextComponentData';
|
|
7
|
+
import { DateRangeComponentData } from '../date-range/DateRangeComponentData';
|
|
8
|
+
import { DateComponentData } from '../date/DateComponentData';
|
|
9
|
+
import { EmailComponentData } from '../email/EmailComponentData';
|
|
10
|
+
import { EntityBatchComponentData } from '../enitty-batch/EntityBatchComponentData';
|
|
11
|
+
import { FileComponentData } from '../file/FileComponentData';
|
|
12
|
+
import { GeolocationComponentData } from '../geo-location/GeolocationComponentData';
|
|
13
|
+
import { InputComponentType } from '../InputComponentType';
|
|
14
|
+
import { NumberComponentData } from '../number/NumberComponentData';
|
|
15
|
+
import { PersonComponentData } from '../person/PersonComponentData';
|
|
16
|
+
import { RelatedCardComponentData } from '../related-card/RelatedCardComponentData';
|
|
17
|
+
import { ScheduledAutomationComponentData } from '../scheduled-automation/ScheduledAutomationComponentData';
|
|
18
|
+
import { SignatureComponentData } from '../signature/SignatureComponentData';
|
|
19
|
+
import { SubformComponentData } from '../subform/SubformComponentData';
|
|
20
|
+
import { TagComponentData } from '../tag/TagComponentData';
|
|
21
|
+
import { TextComponentData } from '../text/TextComponentData';
|
|
22
|
+
import { TimeTrackerComponentData } from '../time-tracker/TimeTrackerComponentData';
|
|
23
|
+
import { TodoComponentData } from '../todo/TodoComponentData';
|
|
24
|
+
import { UrlComponentData } from '../url/UrlComponentData';
|
|
25
|
+
export type InputComponentDataValueMap = Record<InputComponentType, AnyComponentDataValue> & {
|
|
26
|
+
[ComponentType.ADDRESS]: AddressComponentData['addressComponentDataValue'];
|
|
27
|
+
[ComponentType.AUDIT_CHECKBOX]: AuditCheckboxComponentData['auditCheckboxComponentDataValue'];
|
|
28
|
+
[ComponentType.AUDIT_TAG]: AuditTagComponentData['auditTagComponentDataValue'];
|
|
29
|
+
[ComponentType.AUDIT_TEXT]: AuditTextComponentData['auditTextComponentDataValue'];
|
|
30
|
+
[ComponentType.DATE]: DateComponentData['dateComponentDataValue'];
|
|
31
|
+
[ComponentType.DATE_RANGE]: DateRangeComponentData['startDate'];
|
|
32
|
+
[ComponentType.EMAIL]: EmailComponentData['emailComponentDataValue'];
|
|
33
|
+
[ComponentType.ENTITY_BATCH]: EntityBatchComponentData['entityBatchId'];
|
|
34
|
+
[ComponentType.FILE]: FileComponentData['fileComponentDataValue'];
|
|
35
|
+
[ComponentType.GEOLOCATION]: GeolocationComponentData['geolocationComponentDataValue'];
|
|
36
|
+
[ComponentType.NUMBER]: NumberComponentData['numberComponentDataValue'];
|
|
37
|
+
[ComponentType.PERSON]: PersonComponentData['personComponentDataValue'];
|
|
38
|
+
[ComponentType.RELATED_CARD]: RelatedCardComponentData['relatedCardComponentDataValue'];
|
|
39
|
+
[ComponentType.SCHEDULED_AUTOMATION]: ScheduledAutomationComponentData['scheduledAutomationComponentDataValue'];
|
|
40
|
+
[ComponentType.SIGNATURE]: SignatureComponentData['signatureComponentDataValue'];
|
|
41
|
+
[ComponentType.SUBFORM]: SubformComponentData['subformComponentDataValue'];
|
|
42
|
+
[ComponentType.TAG]: TagComponentData['tagComponentDataValue'];
|
|
43
|
+
[ComponentType.TEXT]: TextComponentData['textComponentDataValue'];
|
|
44
|
+
[ComponentType.TIME_TRACKER]: TimeTrackerComponentData['timeTrackerComponentDataValue'];
|
|
45
|
+
[ComponentType.TODO]: TodoComponentData['todoComponentDataValue'];
|
|
46
|
+
[ComponentType.URL]: UrlComponentData['urlComponentDataValue'];
|
|
47
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputComponentDataValueMap.js","sourceRoot":"","sources":["../../../../../src/models/workflow-template/components/registry/InputComponentDataValueMap.ts"],"names":[],"mappings":";;AACA,gGAA6F"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coast/core-api-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.273",
|
|
4
4
|
"description": "Facilitates the generation of core-api-types npm package",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": {
|
|
@@ -23,9 +23,10 @@
|
|
|
23
23
|
"author": "Coast Engineering",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@coast/core-types": "0.0.
|
|
27
|
-
"@coast/core-utils": "0.0.
|
|
26
|
+
"@coast/core-types": "0.0.22",
|
|
27
|
+
"@coast/core-utils": "0.0.8",
|
|
28
28
|
"@coast/schemas": "^4.0.0",
|
|
29
|
+
"@coast/service-common": "^2.0.69",
|
|
29
30
|
"@paradoxical-io/types": "^2.1.0",
|
|
30
31
|
"@types/json-schema": "^7.0.15",
|
|
31
32
|
"json-schema": "^0.4.0",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { WorkspaceId } from '@coast/core-types/channel/WorkspaceId';
|
|
2
|
-
import { CreateChannelChannelMembership } from './CreateChannelChannelMembership';
|
|
3
|
-
export interface DuplicateWorkspace {
|
|
4
|
-
id: WorkspaceId;
|
|
5
|
-
name?: string;
|
|
6
|
-
channelMemberships?: CreateChannelChannelMembership[];
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DuplicateWorkspace.js","sourceRoot":"","sources":["../../../src/models/channel/DuplicateWorkspace.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { WorkspaceSectionId } from '@coast/core-types/workspace-section/WorkspaceSectionId';
|
|
2
|
-
import { CreateChannelChannelMembership } from '../channel/CreateChannelChannelMembership';
|
|
3
|
-
export interface DuplicateWorkspaceSection {
|
|
4
|
-
id: WorkspaceSectionId;
|
|
5
|
-
title?: string;
|
|
6
|
-
channelMemberships?: CreateChannelChannelMembership[];
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DuplicateWorkspaceSection.js","sourceRoot":"","sources":["../../../src/models/workspace-section/DuplicateWorkspaceSection.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|