@coast/core-api-types 1.2.353 → 1.2.355
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/auth/ChannelMembership.d.ts +2 -1
- package/dist/models/auth/CreateChannelMembership.d.ts +2 -0
- package/dist/models/auth/UpdateChannelMembership.d.ts +2 -0
- package/dist/models/automations/action/audit/SendWebhookActionAuditResult.d.ts +2 -1
- package/dist/models/automations/condition/operands/ComponentOperand.d.ts +1 -1
- package/dist/models/automations/condition/operands/PreviousComponentOperand.d.ts +1 -1
- package/dist/models/automations/condition/operands/SubformComponentRefOperand.d.ts +1 -1
- package/dist/models/automations/condition/operands/WorkflowEntityRefComponentOperand.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
|
|
2
2
|
import { ChannelMembershipEntity } from '@coast/core-types/auth/ChannelMembershipEntity';
|
|
3
|
+
import { ConfigAccessLevel } from '@coast/core-types/auth/ConfigAccessLevel';
|
|
3
4
|
import { NotificationsPreference } from '@coast/core-types/user/NotificationsPreference';
|
|
4
5
|
import { Audit } from '../application/Audit';
|
|
5
6
|
import { DataEntity } from '../application/DataEntity';
|
|
@@ -11,7 +12,7 @@ export interface ChannelMembership extends DataEntity, Audit {
|
|
|
11
12
|
accessLevelType: AccessLevelType;
|
|
12
13
|
cardsViewedAt?: Date;
|
|
13
14
|
channel: Channel;
|
|
14
|
-
|
|
15
|
+
configAccessLevelType?: ConfigAccessLevel;
|
|
15
16
|
entityType: ChannelMembershipEntity;
|
|
16
17
|
id: number;
|
|
17
18
|
notificationsPreference?: NotificationsPreference;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
|
|
2
|
+
import { ConfigAccessLevel } from '@coast/core-types/auth/ConfigAccessLevel';
|
|
2
3
|
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
4
|
import { ChannelMembership } from './ChannelMembership';
|
|
4
5
|
export interface CreateChannelMembership extends Partial<ChannelMembership> {
|
|
5
6
|
accessLevelType: AccessLevelType;
|
|
6
7
|
channelId: number;
|
|
8
|
+
configAccessLevelType?: ConfigAccessLevel;
|
|
7
9
|
userId: UserId;
|
|
8
10
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { AccessLevelType } from '@coast/core-types/auth/AccessLevelType';
|
|
2
|
+
import { ConfigAccessLevel } from '@coast/core-types/auth/ConfigAccessLevel';
|
|
2
3
|
import { ChannelMembership } from './ChannelMembership';
|
|
3
4
|
export interface UpdateChannelMembership extends Partial<ChannelMembership> {
|
|
4
5
|
accessLevelType: AccessLevelType;
|
|
6
|
+
configAccessLevelType?: ConfigAccessLevel;
|
|
5
7
|
id: number;
|
|
6
8
|
}
|
|
@@ -3,6 +3,7 @@ import { HttpStatus } from '@coast/core-types/utils/HttpStatus';
|
|
|
3
3
|
import { AutomationActionAuditResult } from './AutomationActionAuditResult';
|
|
4
4
|
export interface SendWebhookActionAuditResult extends AutomationActionAuditResult<AutomationActionType.SEND_WEBHOOK> {
|
|
5
5
|
type: AutomationActionType.SEND_WEBHOOK;
|
|
6
|
-
httpStatusCode
|
|
6
|
+
httpStatusCode?: HttpStatus;
|
|
7
7
|
destinationUrl: string;
|
|
8
|
+
errorMessage?: string;
|
|
8
9
|
}
|
|
@@ -4,5 +4,5 @@ import { ScalarKey } from '@coast/core-types/workflow-template/components/scalar
|
|
|
4
4
|
import { Operand } from './Operand';
|
|
5
5
|
export interface ComponentOperand extends Operand<OperandType.COMPONENT> {
|
|
6
6
|
componentId: ComponentId;
|
|
7
|
-
scalarKey?: ScalarKey;
|
|
7
|
+
scalarKey?: ScalarKey | null;
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ import { ScalarKey } from '@coast/core-types/workflow-template/components/scalar
|
|
|
4
4
|
import { Operand } from './Operand';
|
|
5
5
|
export interface PreviousComponentOperand extends Operand<OperandType.PREVIOUS_COMPONENT> {
|
|
6
6
|
componentId: ComponentId;
|
|
7
|
-
scalarKey?: ScalarKey;
|
|
7
|
+
scalarKey?: ScalarKey | null;
|
|
8
8
|
}
|
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.355",
|
|
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.72",
|
|
27
27
|
"@coast/core-utils": "0.0.24",
|
|
28
28
|
"@coast/schemas": "^4.0.2",
|
|
29
29
|
"@coast/service-common": "^2.0.79",
|