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 | 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 Overwrite } from '@amalia/core/models';
import { OverwriteTypesEnum } from '@amalia/core/types';
import { OverwriteScopeEnum } from '@amalia/data-correction/overwrites/types';
import { company } from './company';
import { customObjectDefinitions } from './customObjectDefinitions';
import { users } from './users';
export const overwrites = [
{
id: '1eb5e107-789d-44b0-9c43-2de977471995',
appliesToDefinitionId: customObjectDefinitions.opportunity.id,
appliesToExternalId: '1',
field: 'delaiPaiement',
sourceValue: { delaiPaiement: '30j' },
overwriteValue: { delaiPaiement: '45j' },
creator: users.admin,
scope: OverwriteScopeEnum.GLOBAL,
createdAt: new Date(),
updatedAt: new Date(),
company,
companyId: company.id,
overwriteType: OverwriteTypesEnum.PROPERTY,
},
] as const satisfies Overwrite[];
|