{"version":3,"sources":["../src/models/index.ts","../src/models/business.model.ts"],"sourcesContent":["export * from \"./api-error.model\";\nexport * from \"./api-response.model\";\nexport * from \"./business.model\";\nexport * from \"./cashflow.model\";\nexport * from \"./deal.model\";\nexport * from \"./event.model\";\nexport * from \"./newsletter-subscription.model\";\nexport * from \"./organization.model\";\nexport * from \"./person.model\";\nexport * from \"./system-permission.model\";\nexport * from \"./user-profile-permission.model\";\nexport * from \"./user-profile.model\";\nexport * from \"./user.model\";\n","import { Cashflow } from \".\";\n\n/**\n * Business\n */\nexport class Business {\n  name: string;\n\n  cashflow: Cashflow;\n\n  constructor(name: string, options?: { cashflow?: Cashflow }) {\n    this.name = name;\n    this.cashflow = options?.cashflow || new Cashflow();\n  }\n\n  /**\n   * Calculate the result of the I - Image reign and express it in a numerical form\n   *\n   *  @return {number} The image result of the business\n   */\n  currentImageResult(): number {\n    return 12;\n  }\n\n  /**\n   * Calculate the result of the H - Human reign and express it in a numerical form\n   *\n   *  @return {number} The human result of the business\n   */\n  currentHumanResult(): number {\n    return 12;\n  }\n\n  /**\n   * Calculate the result of the R - Resource reign and express it in a numerical form\n   *\n   *  @return {number} The resource result of the business\n   */\n  currentResourcesResult(): number {\n    const result = this.cashflow.currentBalance();\n    return result;\n  }\n\n  /**\n   * Calculate the result of the O - Operations reign and express it in a numerical form\n   *\n   *  @return {number} The operations result of the business\n   */\n  currentOperationsResult(): number {\n    return 12;\n  }\n\n  /**\n   * Calculate the result of the X - Integration reign and express it in a numerical form\n   *\n   *  @return {number} The resource result of the business\n   */\n  currentResult(): number {\n    return 12;\n  }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;;;ACZA,IAKa;AALb;AAAA;AAAA;AAAA;AAKO,IAAM,WAAN,MAAe;AAAA,MACpB;AAAA,MAEA;AAAA,MAEA,YAAY,MAAc,SAAmC;AAC3D,aAAK,OAAO;AACZ,aAAK,WAAW,SAAS,YAAY,IAAI,SAAS;AAAA,MACpD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAOA,qBAA6B;AAC3B,eAAO;AAAA,MACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAOA,qBAA6B;AAC3B,eAAO;AAAA,MACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAOA,yBAAiC;AAC/B,cAAM,SAAS,KAAK,SAAS,eAAe;AAC5C,eAAO;AAAA,MACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAOA,0BAAkC;AAChC,eAAO;AAAA,MACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAOA,gBAAwB;AACtB,eAAO;AAAA,MACT;AAAA,IACF;AAAA;AAAA;","names":[]}