export enum AgencyCurrency {
  Dollar = 'USD',
  Euro = 'EUR'
}

export class AgencyData {
  static generateUSDAgencyVIPData(companyUuid: string, companyId: string) {
    const agencyUuid = '3930a71c-1863-49c0-a4d7-6204df0a51a8';

    return {
      companyUuid: companyUuid,
      companyId: companyId,
      agency: {
        uuid: agencyUuid,
        name: 'VIP TripActions',
        effectivePcc: 'DN7K',
        currency: AgencyCurrency.Dollar,
        profileSyncType: 'PROFOLIO',
        companySabreProfileTemplateId: 1281920,
        location: 'SJC',
        countryCode: 'US',
        displayName: 'United States of America',
        tripActions: true,
        usagency: true
      },
      oneWayFlightBookingFee: 0,
      flightBookingFee: '5.00',
      eliteTravelConciergeFee: 0,
      paidRoadWarriorFee: 0,
      railOnlyFee: 0,
      railOnlyVipFee: 0,
      dkNumber: '1234',
      posCountryCode: 'us',
      posDisplayName: 'us',
      _links: {
        self: {
          href: ''
        }
      }
    };
  }

  static generateUSDAgencyData(companyUuid: string, companyId: string) {
    const agencyUuid = 'd6d94cdf-d121-488a-b9e0-f8a63ba23a15';

    return {
      companyUuid: companyUuid,
      companyId: companyId,
      agency: {
        uuid: agencyUuid,
        name: 'TripActions',
        effectivePcc: '3ZFI',
        currency: AgencyCurrency.Dollar,
        profileSyncType: 'PROFOLIO',
        companySabreProfileTemplateId: 1281920,
        location: 'SJC',
        countryCode: 'US',
        displayName: 'United States of America',
        tripActions: true,
        usagency: true
      },
      oneWayFlightBookingFee: 0,
      flightBookingFee: '5.00',
      eliteTravelConciergeFee: 0,
      paidRoadWarriorFee: 0,
      railOnlyFee: 0,
      railOnlyVipFee: 0,
      dkNumber: '1234',
      posCountryCode: 'us',
      posDisplayName: 'us',
      _links: {
        self: {
          href: ''
        }
      }
    };
  }

  static generateEURAgencyData(companyUuid: string, companyId: string) {
    const agencyUuid = '5442c588-f139-11e9-af64-02f19a706ce4';

    return {
      companyUuid: companyUuid,
      companyId: companyId,
      agency: {
        uuid: agencyUuid,
        name: 'TripActions NL',
        effectivePcc: 'DN2K',
        currency: AgencyCurrency.Euro,
        profileSyncType: 'PROFOLIO',
        companySabreProfileTemplateId: 2171486,
        location: 'EUR',
        countryCode: 'NL',
        displayName: 'Netherlands',
        tripActions: true,
        usagency: false
      },
      oneWayFlightBookingFee: 0,
      flightBookingFee: 0,
      eliteTravelConciergeFee: 0,
      paidRoadWarriorFee: 0,
      railOnlyFee: 0,
      railOnlyVipFee: 0,
      dkNumber: '1234',
      posCountryCode: 'uk',
      posDisplayName: 'us',
      _links: {
        self: {
          href: ''
        }
      }
    };
  }
}
