Skip to content
Snippets Groups Projects
accountsData.mock.ts 1.79 KiB
Newer Older
  • Learn to ignore specific revisions
  • /* eslint-disable camelcase */
    
    Yoan VALLET's avatar
    Yoan VALLET committed
    import { Account } from 'models'
    
    export const accountsData: Account[] = [
      {
        _id: '88e68b8450cee09fe2f077610901094d',
        _rev: '1-88e68b8450cee09fe2f077610901094d',
    
        account_type: 'enedissgegrandlyon',
    
    Yoan VALLET's avatar
    Yoan VALLET committed
        name: '',
        cozyMetadata: {
          createdAt: '2020-11-10T16:42:11.132Z',
          metadataVersion: 1,
          updatedAt: '2020-11-10T16:42:11.132Z',
        },
    
        auth: {
          address: '6 Rue Vaillant Couturier',
          city: 'Vénissieux',
          firstname: 'Jane',
          lastname: 'Doe',
          pointId: '19170766804121',
          postalCode: '69200',
        },
        data: {
          consentId: 43,
          expirationDate: '2023-09-26',
          offPeakHours: '22H00-6H00',
        },
    
        identifier: 'address',
    
    Yoan VALLET's avatar
    Yoan VALLET committed
      },
      {
        _id: '90e68b8450cee09fe2f077610901094d',
        id: '90e68b8450cee09fe2f077610901094d',
        account_type: 'eglgrandlyon',
        auth: {
    
          contractId: '1234567',
          meteringId: '123456789ABC',
    
    Yoan VALLET's avatar
    Yoan VALLET committed
        },
    
        identifier: 'contractId',
    
    Yoan VALLET's avatar
    Yoan VALLET committed
        state: null,
        _rev: '1-90e68b8450cee09fe2f077610901094d',
        _type: 'io.cozy.accounts',
        cozyMetadata: {
          createdAt: '2020-11-10T16:42:11.132Z',
          createdByApp: 'ecolyo',
          createdByAppVersion: '0.2.1',
          metadataVersion: 1,
          updatedAt: '2020-11-10T16:42:11.132Z',
        },
      },
      {
        _id: '89e68b8450cee09fe2f077610901094d',
        _rev: '1-89e68b8450cee09fe2f077610901094d',
        account_type: 'grdfgrandlyon',
        name: '',
    
        identifier: 'email',
        auth: {
          email: 'jane@grandlyon.com',
          firstname: 'Jane',
          lastname: 'Doe',
          pce: '12345678901234',
          postalCode: '69003',
    
    Yoan VALLET's avatar
    Yoan VALLET committed
        },
        cozyMetadata: {
          createdAt: '2020-11-10T16:42:11.132Z',
          metadataVersion: 1,
          updatedAt: '2020-11-10T16:42:11.132Z',
        },
      },
    ]