* Create data type * Start FE component * Rename and add new enums * Add new schema for write on record options * Add options on the frontend * Backend write to custom fields * refactor: Salesforce - on booking write to fields on person record (#17481) * Add translations * fix: type err --------- Co-authored-by: Udit Takkar <[email protected]> Co-authored-by: Udit Takkar <[email protected]>
21 lines
405 B
TypeScript
21 lines
405 B
TypeScript
export enum SalesforceRecordEnum {
|
|
CONTACT = "Contact",
|
|
LEAD = "Lead",
|
|
ACCOUNT = "Account",
|
|
}
|
|
|
|
export enum WhenToWriteToRecord {
|
|
EVERY_BOOKING = "every_booking",
|
|
FIELD_EMPTY = "field_empty",
|
|
}
|
|
|
|
export enum SalesforceFieldType {
|
|
DATE = "date",
|
|
TEXT = "string",
|
|
}
|
|
|
|
export enum DateFieldTypeData {
|
|
BOOKING_START_DATE = "booking_start_date",
|
|
BOOKING_CREATED_DATE = "booking_created_date",
|
|
}
|