Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { type CustomObjectDefinition } from '@amalia/core/models';
import { FormatsEnum } from '@amalia/data-capture/fields/types';
import { CustomObjectDefinitionType } from '@amalia/data-capture/record-models/types';
export const customObjectDefinitions = {
payment: {
id: '8f9b148d-d569-4d13-9243-7e886fe01235',
name: 'Paiement',
machineName: 'paiement',
externalIds: ['id'],
nameField: null,
createdAt: new Date(),
updatedAt: new Date(),
type: CustomObjectDefinitionType.AMALIA,
properties: {
id: {
name: 'id',
machineName: 'id',
format: FormatsEnum.text,
isRequired: true,
},
vendeur: {
name: 'seller for the payment',
machineName: 'vendeur',
format: FormatsEnum.text,
isRequired: true,
},
amount: {
name: 'amount',
machineName: 'amount',
format: FormatsEnum.text,
isRequired: true,
},
},
},
opportunity: {
id: '39f6c6ad-d339-4087-aeeb-3714ea5438ee',
name: 'opportunity',
machineName: 'opportunity',
externalIds: ['id'],
type: CustomObjectDefinitionType.AMALIA,
nameField: null,
createdAt: new Date(),
updatedAt: new Date(),
properties: {
id: {
name: 'ID',
machineName: 'id',
format: FormatsEnum.number,
isRequired: true,
},
duree: {
name: 'Duree',
machineName: 'duree',
format: FormatsEnum.number,
isRequired: true,
},
amount: {
name: 'Amount',
machineName: 'amount',
format: FormatsEnum.number,
isRequired: true,
},
client: {
name: 'Client',
machineName: 'client',
format: FormatsEnum.text,
isRequired: true,
},
closed: {
name: 'Closed',
machineName: 'closed',
format: FormatsEnum.date,
isRequired: true,
},
vendeur: {
name: 'Vendeur',
machineName: 'vendeur',
format: FormatsEnum.text,
isRequired: true,
},
payement: {
name: 'Payement',
machineName: 'payement',
format: FormatsEnum.text,
isRequired: true,
},
delaiPaiement: {
name: 'Delai Paiement',
machineName: 'delaiPaiement',
format: FormatsEnum.text,
isRequired: true,
},
foreignCompanyKey: {
name: 'foreignCompanyKey',
machineName: 'foreignCompanyKey',
format: FormatsEnum.boolean,
isRequired: true,
},
},
},
} as const satisfies Record<string, CustomObjectDefinition>;
|