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 | 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 DataConnector } from '@amalia/core/models';
import { DataConnectorCategories, DataConnectorTypes } from '@amalia/data-capture/connectors/types';
import { encryptSymmetric } from '@amalia/kernel/crypto';
import { DATA_CONNECTOR_ENCRYPTION_KEY_MOCK } from '../../crypto.test-utils';
import { company } from './company';
export const connectors = {
bamboo: {
id: 'c870a965-15ce-4f14-8e42-7c48c81c25cb',
encryptedAuth: encryptSymmetric(DATA_CONNECTOR_ENCRYPTION_KEY_MOCK, {
accessToken: 'XBmOVPzjlxZMUGE44aO0Fhr4NtInm2T9ubcfSEDKw_ghvLCIGv0x_w',
}),
source: {},
type: DataConnectorTypes.BAMBOOHR,
category: DataConnectorCategories.USER,
alias: null,
company,
companyId: company.id,
createdAt: new Date(),
updatedAt: new Date(),
},
} as const satisfies Record<string, DataConnector>;
|