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 | 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 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: '1fb5e107-789d-44b0-9c43-2de977471996',
appliesToDefinitionId: customObjectDefinitions.opportunity.id,
appliesToExternalId: '0175p00022x3xmvAAA',
field: 'delaiPaiement',
sourceValue: { delaiPaiement: '30j' },
overwriteValue: { delaiPaiement: '45j' },
creator: users.admin,
statementId: '11a3c42b-35eb-4e2b-911b-4dae9c28628f',
createdOnStatementId: '013bbab4-31d1-4b56-81cc-56640534ad31',
clearedAt: null,
scope: OverwriteScopeEnum.GLOBAL,
createdAt: new Date(),
updatedAt: new Date(),
company,
companyId: company.id,
overwriteType: OverwriteTypesEnum.PROPERTY,
},
{
id: 'd0a0ca4c-0c91-44e5-bef8-ffb35ebea528',
field: 'wage',
sourceValue: { delaiPaiement: '30j' },
overwriteValue: { delaiPaiement: '45j' },
creator: users.admin,
statementId: '11a3c42b-35eb-4e2b-911b-4dae9c41628f',
createdOnStatementId: '11a3c42b-35eb-4e2b-911b-4dae9c41628f',
clearedAt: null,
scope: OverwriteScopeEnum.STATEMENT,
createdAt: new Date(),
updatedAt: new Date(),
company,
companyId: company.id,
overwriteType: OverwriteTypesEnum.PROPERTY,
},
{
id: 'b1dd8a41-800a-43e2-90d6-851a987f536f',
field: 'zebra',
sourceValue: { delaiPaiement: '30j' },
overwriteValue: { delaiPaiement: '45j' },
creator: users.employee2,
statementId: '11a3c42b-35eb-4e2b-911b-4dae9c41628f',
createdOnStatementId: '11a3c42b-35eb-4e2b-911b-4dae9c41628f',
clearedAt: null,
scope: OverwriteScopeEnum.FORECAST,
createdAt: new Date(),
updatedAt: new Date(),
company,
companyId: company.id,
overwriteType: OverwriteTypesEnum.PROPERTY,
},
] as const satisfies Overwrite[];
|