All files / libs/kernel/testing/server/bed/src/test-utils/fixtures/abTasty customObjects.ts

100% Statements 118/118
100% Branches 0/0
100% Functions 0/0
100% Lines 118/118

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 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 1191x 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 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
import { type CustomObject } from '@amalia/core/models';
import { CurrencySymbolsEnum } from '@amalia/ext/iso-4217';
 
import { company } from './company';
import { customObjectDefinitions } from './customObjectDefinitions';
 
export const customObjects = [
  {
    id: '8f9b148d-d569-4d13-9243-1e886fe01233',
    companyId: company.id,
    definitionId: customObjectDefinitions.opportunity.id,
    externalId: '0065800000YoR1d',
    name: 'NB - Maty - 2019-10 - 06280',
    content: {
      license: 37_380,
      closeDate: '2019-09-30',
      jumpstart: 4405,
      totalAmount: 47_571,
      currencyIsoCode: 'USD',
      contractTerm: 12,
      opportunityId: '0065800000YoR1d',
      opportunityName: 'NB - Maty - 2019-10 - 06280',
      opportunityOwner: 'Antoine Faible',
      invoicingFrequency: 'One Time / Yearly',
      supportExlJumpstart: 5785,
      isItAnExKameleoonOptimizelyClient: '',
      isTheContractManagedOnlyByTheAccountExecutive: true,
      totalPrice: {
        value: 50_000,
        symbol: CurrencySymbolsEnum.EUR,
      },
    },
  },
  {
    id: '8f9b149d-d569-4d13-9243-1e886fe01233',
    companyId: company.id,
    definitionId: customObjectDefinitions.opportunity.id,
    externalId: '0065800000hsq6z',
    name: 'NB - LeKiosk - 2019-12 - 07639',
    content: {
      license: 17_100,
      closeDate: '2019-09-27',
      jumpstart: 3705,
      totalAmount: 25_935,
      currencyIsoCode: 'EUR',
      contractTerm: 12,
      opportunityId: '0065800000hsq6z',
      opportunityName: 'NB - LeKiosk - 2019-12 - 07639',
      opportunityOwner: 'Antoine Faible',
      invoicingFrequency: 'One Time / Yearly',
      supportExlJumpstart: 5130,
      isItAnExKameleoonOptimizelyClient: '',
      isTheContractManagedOnlyByTheAccountExecutive: false,
      previousOpportunityId: '0065800000YoR1d',
    },
  },
  {
    id: '8f9b150d-d569-4d13-9243-1e886fe01233',
    companyId: company.id,
    definitionId: customObjectDefinitions.opportunity.id,
    externalId: '0061t00000H7cWk',
    name: 'NB - IRP AUTO - 2019-12 - 09960',
    content: {
      license: 28_800,
      closeDate: '2019-09-30',
      jumpstart: 0,
      totalAmount: 28_800,
      currencyIsoCode: 'EUR',
      contractTerm: 36,
      opportunityId: '0061t00000H7cWk',
      opportunityName: 'NB - IRP AUTO - 2019-12 - 09960',
      opportunityOwner: 'Antoine Faible',
      invoicingFrequency: 'One Time / Yearly',
      supportExlJumpstart: 0,
      isItAnExKameleoonOptimizelyClient: '',
      isTheContractManagedOnlyByTheAccountExecutive: 'false',
    },
  },
  {
    id: '8f9b150d-d569-5d13-9243-1e886fe41523',
    companyId: company.id,
    definitionId: customObjectDefinitions.opportunityLineItem.id,
    externalId: 'aaaaaa1',
    name: 'Object aaaaaa1',
    content: {
      id: 'aaaaaa1',
      opportunityId: '0061t00000H7cWk',
      totalPrice: 1200,
      currencyIsoCode: 'EUR',
    },
  },
  {
    id: '8f9b150d-d569-6d13-9243-1e886fe41523',
    companyId: company.id,
    definitionId: customObjectDefinitions.opportunityLineItem.id,
    externalId: 'aaaaaa2',
    name: 'Object aaaaaa2',
    content: {
      id: 'aaaaaa2',
      opportunityId: '0061t00000H7cWk',
      totalPrice: 2000,
      currencyIsoCode: 'USD',
    },
  },
  {
    id: '8f9b150d-d569-7d13-9243-1e886fe41523',
    companyId: company.id,
    definitionId: customObjectDefinitions.opportunityLineItem.id,
    externalId: 'bbbb1',
    name: 'Object bbbb1',
    content: {
      id: 'bbbb1',
      opportunityId: '0065800000hsq6z',
      totalPrice: 4000,
      currencyIsoCode: 'EUR',
    },
  },
] as const satisfies CustomObject[];