Standard Object prefill updates (#3570)
This commit is contained in:
@ -26,7 +26,6 @@ export class ActivityObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Activity title',
|
description: 'Activity title',
|
||||||
icon: 'IconNotes',
|
icon: 'IconNotes',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
title: string;
|
title: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
@ -35,7 +34,6 @@ export class ActivityObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Activity body',
|
description: 'Activity body',
|
||||||
icon: 'IconList',
|
icon: 'IconList',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
body: string;
|
body: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
|
|||||||
@ -19,7 +19,6 @@ export class ApiKeyObjectMetadata extends BaseObjectMetadata {
|
|||||||
label: 'Name',
|
label: 'Name',
|
||||||
description: 'ApiKey name',
|
description: 'ApiKey name',
|
||||||
icon: 'IconLink',
|
icon: 'IconLink',
|
||||||
defaultValue: { value: '' },
|
|
||||||
})
|
})
|
||||||
name: string;
|
name: string;
|
||||||
|
|
||||||
|
|||||||
@ -20,7 +20,6 @@ export class CommentObjectMetadata extends BaseObjectMetadata {
|
|||||||
label: 'Body',
|
label: 'Body',
|
||||||
description: 'Comment body',
|
description: 'Comment body',
|
||||||
icon: 'IconLink',
|
icon: 'IconLink',
|
||||||
defaultValue: { value: '' },
|
|
||||||
})
|
})
|
||||||
body: string;
|
body: string;
|
||||||
|
|
||||||
|
|||||||
@ -37,7 +37,6 @@ export class CompanyObjectMetadata extends BaseObjectMetadata {
|
|||||||
'The company website URL. We use this url to fetch the company icon',
|
'The company website URL. We use this url to fetch the company icon',
|
||||||
icon: 'IconLink',
|
icon: 'IconLink',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
domainName?: string;
|
domainName?: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
@ -46,7 +45,6 @@ export class CompanyObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'The company address',
|
description: 'The company address',
|
||||||
icon: 'IconMap',
|
icon: 'IconMap',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
address: string;
|
address: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
|
|||||||
@ -69,7 +69,6 @@ export class ConnectedAccountObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Last sync history ID',
|
description: 'Last sync history ID',
|
||||||
icon: 'IconHistory',
|
icon: 'IconHistory',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
lastSyncHistoryId: string;
|
lastSyncHistoryId: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
|
|||||||
@ -56,7 +56,6 @@ export class MessageChannelObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Type',
|
description: 'Type',
|
||||||
icon: 'IconMessage',
|
icon: 'IconMessage',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
type: string;
|
type: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
|
|||||||
@ -59,7 +59,6 @@ export class MessageParticipantObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Display Name',
|
description: 'Display Name',
|
||||||
icon: 'IconUser',
|
icon: 'IconUser',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
displayName: string;
|
displayName: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
|
|||||||
@ -29,7 +29,6 @@ export class MessageThreadObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Thread id from the messaging provider',
|
description: 'Thread id from the messaging provider',
|
||||||
icon: 'IconMessage',
|
icon: 'IconMessage',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
externalId: string;
|
externalId: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
@ -38,7 +37,6 @@ export class MessageThreadObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Subject',
|
description: 'Subject',
|
||||||
icon: 'IconMessage',
|
icon: 'IconMessage',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
subject: string;
|
subject: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
@ -59,7 +57,6 @@ export class MessageThreadObjectMetadata extends BaseObjectMetadata {
|
|||||||
icon: 'IconEyeglass',
|
icon: 'IconEyeglass',
|
||||||
defaultValue: { value: 'default' },
|
defaultValue: { value: 'default' },
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
visibility: string;
|
visibility: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
|
|||||||
@ -29,7 +29,6 @@ export class MessageObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Message id from the messaging provider',
|
description: 'Message id from the messaging provider',
|
||||||
icon: 'IconHash',
|
icon: 'IconHash',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
externalId: string;
|
externalId: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
@ -38,7 +37,6 @@ export class MessageObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Message id from the message header',
|
description: 'Message id from the message header',
|
||||||
icon: 'IconHash',
|
icon: 'IconHash',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
headerMessageId: string;
|
headerMessageId: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
@ -67,7 +65,6 @@ export class MessageObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Subject',
|
description: 'Subject',
|
||||||
icon: 'IconMessage',
|
icon: 'IconMessage',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
subject: string;
|
subject: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
@ -76,7 +73,6 @@ export class MessageObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Body',
|
description: 'Body',
|
||||||
icon: 'IconMessage',
|
icon: 'IconMessage',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
body: string;
|
body: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
|
|||||||
@ -53,7 +53,6 @@ export class OpportunityObjectMetadata extends BaseObjectMetadata {
|
|||||||
icon: 'IconProgressCheck',
|
icon: 'IconProgressCheck',
|
||||||
defaultValue: { value: '0' },
|
defaultValue: { value: '0' },
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
probability: string;
|
probability: string;
|
||||||
|
|
||||||
// Relations
|
// Relations
|
||||||
|
|||||||
@ -39,7 +39,6 @@ export class PersonObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Contact’s Email',
|
description: 'Contact’s Email',
|
||||||
icon: 'IconMail',
|
icon: 'IconMail',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
email: string;
|
email: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
@ -66,7 +65,6 @@ export class PersonObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Contact’s job title',
|
description: 'Contact’s job title',
|
||||||
icon: 'IconBriefcase',
|
icon: 'IconBriefcase',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
jobTitle: string;
|
jobTitle: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
@ -75,7 +73,6 @@ export class PersonObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Contact’s phone number',
|
description: 'Contact’s phone number',
|
||||||
icon: 'IconPhone',
|
icon: 'IconPhone',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
phone: string;
|
phone: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
@ -84,7 +81,6 @@ export class PersonObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Contact’s city',
|
description: 'Contact’s city',
|
||||||
icon: 'IconMap',
|
icon: 'IconMap',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
city: string;
|
city: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
@ -94,7 +90,6 @@ export class PersonObjectMetadata extends BaseObjectMetadata {
|
|||||||
icon: 'IconFileUpload',
|
icon: 'IconFileUpload',
|
||||||
})
|
})
|
||||||
@IsSystem()
|
@IsSystem()
|
||||||
@IsNullable()
|
|
||||||
avatarUrl: string;
|
avatarUrl: string;
|
||||||
|
|
||||||
// Relations
|
// Relations
|
||||||
|
|||||||
@ -23,7 +23,6 @@ export class PipelineStepObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Pipeline Step name',
|
description: 'Pipeline Step name',
|
||||||
icon: 'IconCurrencyDollar',
|
icon: 'IconCurrencyDollar',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
name: string;
|
name: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
@ -32,7 +31,6 @@ export class PipelineStepObjectMetadata extends BaseObjectMetadata {
|
|||||||
description: 'Pipeline Step color',
|
description: 'Pipeline Step color',
|
||||||
icon: 'IconColorSwatch',
|
icon: 'IconColorSwatch',
|
||||||
})
|
})
|
||||||
@IsNullable()
|
|
||||||
color: string;
|
color: string;
|
||||||
|
|
||||||
@FieldMetadata({
|
@FieldMetadata({
|
||||||
|
|||||||
@ -34,7 +34,6 @@ export class ViewFilterObjectMetadata extends BaseObjectMetadata {
|
|||||||
type: FieldMetadataType.TEXT,
|
type: FieldMetadataType.TEXT,
|
||||||
label: 'Value',
|
label: 'Value',
|
||||||
description: 'View Filter value',
|
description: 'View Filter value',
|
||||||
defaultValue: { value: '' },
|
|
||||||
})
|
})
|
||||||
value: string;
|
value: string;
|
||||||
|
|
||||||
@ -42,7 +41,6 @@ export class ViewFilterObjectMetadata extends BaseObjectMetadata {
|
|||||||
type: FieldMetadataType.TEXT,
|
type: FieldMetadataType.TEXT,
|
||||||
label: 'Display Value',
|
label: 'Display Value',
|
||||||
description: 'View Filter Display Value',
|
description: 'View Filter Display Value',
|
||||||
defaultValue: { value: '' },
|
|
||||||
})
|
})
|
||||||
displayValue: string;
|
displayValue: string;
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,6 @@ export class ViewObjectMetadata extends BaseObjectMetadata {
|
|||||||
type: FieldMetadataType.TEXT,
|
type: FieldMetadataType.TEXT,
|
||||||
label: 'Name',
|
label: 'Name',
|
||||||
description: 'View name',
|
description: 'View name',
|
||||||
defaultValue: { value: '' },
|
|
||||||
})
|
})
|
||||||
name: string;
|
name: string;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user