5613 add throttlepauseuntil and throttlefailurecount fields to messagechannel and calendarchannel (#5713)
Closes #5613
This commit is contained in:
@ -284,6 +284,26 @@ export class MessageChannelWorkspaceEntity extends BaseWorkspaceEntity {
|
||||
@WorkspaceIsNullable()
|
||||
ongoingSyncStartedAt: string;
|
||||
|
||||
@WorkspaceField({
|
||||
standardId: MESSAGE_CHANNEL_STANDARD_FIELD_IDS.throttlePauseUntil,
|
||||
type: FieldMetadataType.DATE_TIME,
|
||||
label: 'Throttle Pause Until',
|
||||
description: 'Throttle Pause Until',
|
||||
icon: 'IconPlayerPause',
|
||||
})
|
||||
@WorkspaceIsNullable()
|
||||
throttlePauseUntil: Date;
|
||||
|
||||
@WorkspaceField({
|
||||
standardId: MESSAGE_CHANNEL_STANDARD_FIELD_IDS.throttleFailureCount,
|
||||
type: FieldMetadataType.NUMBER,
|
||||
label: 'Throttle Failure Count',
|
||||
description: 'Throttle Failure Count',
|
||||
icon: 'IconX',
|
||||
defaultValue: 0,
|
||||
})
|
||||
throttleFailureCount: number;
|
||||
|
||||
@WorkspaceRelation({
|
||||
standardId: MESSAGE_CHANNEL_STANDARD_FIELD_IDS.connectedAccount,
|
||||
type: RelationMetadataType.MANY_TO_ONE,
|
||||
|
||||
Reference in New Issue
Block a user