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ACjCuB,EAAmBE,GAAOK,oBAGuBP,EAAmBE,IAAQM,aAEvE,YAEb,4CA7BWV,GAA2Bhb,MAAAC,KAAA,mEAA3B+a,EAA2BnB,MAAA,EAAAhQ,YAAA,WAA3BmR,CAA2B","names":["BannerNotificationService","_http","authService","_commonService","EntityName","RecordId","apiUrl","environment","apiBaseUrl","constructor","this","entityName","recordId","getList","reqbody","option","buildHttpParamsObject","get","params","delete","Id","getPortalPages","getMessageNotificationType","getUsersByEffectiveEntityType","getActiveCustomers","submitWebNotification","post","portalMessageEditPayLoadModel","loadBanner","page","headers","i0","i1","i2","i3","factory","ɵfac","providedIn","CustomerReportsService","SearchCriteria","DownloadBulkInvoicesService","_authService","commonServices","object","Object","keys","forEach","e","HttpParams","fromObject","GetPlans","RecordID","Customers","resellers","getBillingPeriods","getInvoiceForDownload","generatebulkinvoicesfordownload","reqBody","getbulkinvoicesdownloadprogress","getBilledCustomersAndResellers","GetXeroUriForProvidingConsent","GetQuickBooksUriForProvidingConsent","CheckValidityOfQuickBooksRefreshToken","CheckValidityOfXeroRefreshToken","processDownload","uri","GetExternalServicePostBatches","billingPeriodId","GetLatestPostLogStatus","GetLatestPostBatchSummary","DeleteBulkInvoiceDetails","ID","put","DownloadBulkInvoice","BulkInvoiceId","getTableinvoiceDownloadStatus","downloadBulkInvoiceId","GetCustomers","getApplicationSettings","uploadInvoicesToXeroApp","uploadInvoicesToQuickBooksApp","EngageService","getAllActiveCustomers","submitEngage","getEngageById","engageNotification","pageName","ResellerPlansListingService","cachedPlanBillingCycles","cachedProviderCategories","cachedProviderCategoriesInFilter","getReselerPlansList","searchParams","getResellerPlanDetails","internalPlanID","pipe","map","v","Data","cloneResellerPlan","planID","planDetails","getPlanProviders","getPlanProvidersWithParamFalse","getPlanBillingCycles","tap","of","getProviderCategories","getSupportedMarketsForPlanCreation","currencyCode","getTargetCurrency","countryCode","GetCategoriesForPlanCreation","screenName","addMissingOffersToPlan","internalPlanId","savePlanWithAllOffers","getCodes","getPlanProductsInTargetCurrency","targetCurrencyCode","submitCurrencyConversionDetails","getProviderCategoriesInFilter","productsforplan","getAddonsForResellerPlanManagement","productVariantId","requestBody","getPlanOfferCurrencyRates","getResellerPlanOfferCurrencyRates","billingCycleName","validity","validityType","ProvidersSettingService","http","getProviders","getProviderSettings","providerName","saveProviderSettings","providerSettings","ModifyBy","ProviderSettings","testMicrosoftPricingAPIAccess","testPartnerAccess","switchToNewSecureModel","CurrentStep","Validation","Import","UploadUsageReportService","_common","getUploadUsageReport","Date","getTime","provider","getBatchStepStatus","batchStepID","importProductCatelog","getBillingPeriod","isNextMonthRequired","categoeries","isNextMonthRequiredDueToCustomBilling","getUsageHistoryReport","_r1","ctx_r1","confirmCopy","isBusy","CpvpartnerconsentComponent","providerSettingsService","notifier","translate","clipboardService","datasource","isTenantConfiguration","hasNewTestSecureModelSuccess","data","IsTenantConfiguration","ngOnInit","copyFromContent","Value","alert","title","instant","icon","subscribe","response","error","ExceptionMessage","i4","selectors","inputs","standalone","features","decls","vars","consts","template","rf","ctx","CpvpartnerconsentComponent_Conditional_0_Template","IsShowOnScreen","TranslationModule","styles","PricingapipartnerconsentComponent","value","PricingapipartnerconsentComponent_Conditional_0_Template","tag_r2","TagKey","data_r3","_c0","ctx_r3","isEditMode","AddUserManagementTagComponent","C3BaseComponent","UserManagementService","_toastService","_formBuilder","modalService","_cdRef","_router","_unsavedChangesService","_translateService","_notifierService","_fileService","_permissionService","_dynamicTemplateService","pageInfo","_appService","addtagform","tagKeyDetails","tagValueDetails","tagValueDetailsDataSet","selectedtagValueDetailsDataSet","userDetails","editUserDetails","selectedTagValue","destroy$","Subject","super","updateTitle","updateBreadcrumbs","group","TagId","tagKey","Validators","required","tagValue","navigation","getCurrentNavigation","extras","state","getTagKeysForPartner","getUserDetails","detectChanges","getTagValuesForPartner","settagValueDetailsDataSet","push","TagValue","label","disabled","text","setFormData","onTagValueChange","event","target","backToList","navigate","InternalUserId","UserName","onSubmit","markAllAsTouched","valid","setUnsavedChanges","createPayload","join","savePartnerUsertag","Status","reset","success","setValue","ngOnDestroy","next","complete","i5","i6","i7","i8","i9","i10","i11","i12","i13","i14","$event","AddUserManagementTagComponent_For_21_Template","AddUserManagementTagComponent_Conditional_22_Template","AddUserManagementTagComponent_ng_template_28_Template","AddUserManagementTagComponent_Conditional_30_Template","tmp_4_0","errors","touched","tagValueDetails_r5","tmp_8_0","CommonModule","i15","FormsModule","RouterModule","ReactiveFormsModule","EditorModule","NgSelectModule","HttpClientModule","NgbModule","NgbDropdownModule","NgbTooltipModule","NgbDatepickerModule","Select2Module","i16","_r2","adtData","editUserTag","deletePartnerUserTag","toolbarButtonHeightClass","reloadEvent","datatableConfig","UserManagementTagComponent","cdRef","EventEmitter","actions","modalConfig","modalDialogClass","userName","hasEditandUpdate","handleTableConfig","hasPermission","cloudHubConstants","ADD_OR_UPDATE_TAGS","setTimeout","serverSide","pageLength","$rootScope","DefaultPageCount","ajax","dataTablesParameters","callback","mapParamsWithApi","_subscription","unsubscribe","getTags","recordsTotal","length","TotalRows","recordsFiltered","columns","defaultContent","ngTemplateRef","ref","onCaptureEvent","confirmationText","confirm","then","result","isConfirmed","emit","addUserTag","viewQuery","UserManagementTagComponent_ng_template_14_Template","UserManagementTagComponent_Conditional_16_Template","PartnerModule","C3TableComponent","PartnerMicrosoftAzureBillingReportService","GetBillingPeriods","GetAzureUsageItems","GetTenants","customerC3Id","GetAzureSubscriptions","searchData","ExportBillingDetails","ProductId","GetCurrencies","InvoicesService","dataState","getInvoices","body","getInvoicesPayments","getInvoicesOperationalEntities","recordC3Id","getInvoicesAddressDetails","getOnDemandInvoice","invoiceId","createInvoice","payload","getInvoiceById","getPaymentsByInvoiceId","getRemainingPayments","getUnpaidDuesByInvoiceId","deleteAdjustmentById","lineItemId","initiateInvoicePayment","saveManualPayment","postData","updateInvoiceStatus","status","getRecepientsForSendInvoice","updateProperties","sendInvoieToEmails","getAdjustmentDetails","id","getSubscriptions","saveAddjustment","MCBService","commonService","validate3DSToken","SessionId","session","AccountNumber","sourceOfFunds","provided","card","number","res","getPendingPaymentProfiles","ProductRenewalManagementService","productsApiUrl","productItems","tempId","getSubscriptionsRenewalDetails","searchCriteria","saveCustomerConsentOnRenewal","getRenewalConsentHistory","historySearchCriteria","TermsAndConditionsService","IsAcceptedTermsAndConditions","GetIsAcceptedTermsAndConditions","hasUserAcceptedTermsAndConditions","acceptTermsAndConditions","getTermsAndConditions","ClickOutSideDirective","elementRef","clickOutside","onClick","targetElement","nativeElement","contains","hostBindings","ConvertCommaSeparatedStringToListPipe","transform","split","pure","MegaNumberPipe","currencyFilterPipe","currencySymbol","decimalPlaces","thousandSeparator","decimalSeparator","fractionSize","zeroVal","abs","Math","rounder","pow","isNegative","key","powers","i","reduced","round","ShowSelectedFirstPeriodPipe","c3Date","billingPeriodsData","selectedBillingPeriodId","index","findIndex","item","BillingPeriodId","BillingStartDate","BillingEndDate","BillingId"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/app/modules/partner/banner-notification/Service/banner-notification.service.ts","./src/app/modules/partner/customers/services/customer-reports.service.ts","./src/app/modules/partner/download-bulk-invoices/services/download-bulk-invoices.service.ts","./src/app/modules/partner/engage/service/engage.service.ts","./src/app/modules/partner/reseller-plans/services/resellerplans-listing.service.ts","./src/app/modules/partner/settings/services/providers-setting.service.ts","./src/app/modules/partner/upload-usage-report/models/upload-usage-report.model.ts","./src/app/modules/partner/upload-usage-report/services/upload-usage-report.service.ts","./src/app/modules/standalones/templates/cpvpartnerconsent/cpvpartnerconsent.component.html","./src/app/modules/standalones/templates/cpvpartnerconsent/cpvpartnerconsent.component.ts","./src/app/modules/standalones/templates/pricingapipartnerconsent/pricingapipartnerconsent.component.html","./src/app/modules/standalones/templates/pricingapipartnerconsent/pricingapipartnerconsent.component.ts","./src/app/modules/standalones/user-management/user-management-tag/add-user-management-tag/add-user-management-tag.component.html","./src/app/modules/standalones/user-management/user-management-tag/add-user-management-tag/add-user-management-tag.component.ts","./src/app/modules/standalones/user-management/user-management-tag/user-management-tag.component.html","./src/app/modules/standalones/user-management/user-management-tag/user-management-tag.component.ts","./src/app/services/azure-billing-report.service.ts","./src/app/services/invoices.service.ts","./src/app/services/mcb.service.ts","./src/app/services/product-renewal-management.service.ts","./src/app/services/terms-and-conditions.service.ts","./src/app/shared/directives/click-out-side.directive.ts","./src/app/shared/pipes/convert-comma-separated-string-to-list.pipe.ts","./src/app/shared/pipes/meganumber.pipe.ts","./src/app/shared/pipes/showSelectedPerid.pipe.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { MsalService } from '@azure/msal-angular';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BannerNotificationService {\r\n EntityName:string;\r\n RecordId:string\r\n\r\n apiUrl= environment.apiBaseUrl\r\n constructor(\r\n private _http: HttpClient,\r\n private authService: MsalService,\r\n private _commonService: CommonService\r\n\r\n ) { \r\n this.EntityName = this._commonService.entityName;\r\n this.RecordId = this._commonService.recordId;\r\n }\r\n \r\n getList(reqbody:any){\r\n const option = this._commonService.buildHttpParamsObject(reqbody)\r\n return this._http.get(`${this.apiUrl}/messagewebnotifications/getwebnotificationlist`,{ params:option})\r\n }\r\n\r\n delete(Id:any){\r\n return this._http.delete(`${this.apiUrl}/messagewebnotifications/deletewebnotification/${Id}`)\r\n }\r\n\r\n getPortalPages(){\r\n return this._http.get(`${this.apiUrl}/messagewebnotifications/portalpages`)\r\n }\r\n\r\n getMessageNotificationType(){\r\n return this._http.get(`${this.apiUrl}/messagewebnotifications/messagenotificationtypes`)\r\n }\r\n\r\n getUsersByEffectiveEntityType(reqbody:any){\r\n return this._http.get(`${this.apiUrl}/messagewebnotifications/usersbyeffectiveentitytypes/${this.EntityName}/${this.RecordId}/${reqbody}`)\r\n }\r\n\r\n getActiveCustomers(){\r\n return this._http.get(`${this.apiUrl}/customers/GetCustomersAndResellersByEntity/${this.EntityName}/${this.RecordId}`)\r\n }\r\n\r\n submitWebNotification(reqbody:any){\r\n //const option = this._commonService.buildHttpParamsObject(reqbody)\r\n return this._http.post(`${this.apiUrl}/messagewebnotifications/saveoreditwebnotifications`, reqbody)\r\n }\r\n\r\n portalMessageEditPayLoadModel(Id:any){\r\n return this._http.get(`${this.apiUrl}/messagewebnotifications/portalmessageeditpayloadmodel/${this.EntityName}/${this.RecordId}/${Id}`)\r\n\r\n }\r\n\r\n loadBanner(page:any){\r\n return this._http.get(`${this.apiUrl}/messagewebnotifications/MessageTypeForBanner/${this.EntityName}/${this.RecordId}/${page}`,\r\n {headers: { 'X-Skip-Impersonation-Context': 'true' }});\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { MsalService } from '@azure/msal-angular';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CustomerReportsService {\r\n\r\n apiUrl= environment.apiBaseUrl\r\n constructor(\r\n private _http: HttpClient,\r\n private authService: MsalService\r\n ) { }\r\n\r\n getList(SearchCriteria : any) {\r\n return this._http.post(`${this.apiUrl}/analytics/PurchasedProductsReport/`,SearchCriteria);\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient, HttpHeaders, HttpParams, HttpParamsOptions } from '@angular/common/http';\r\nimport { MsalService } from '@azure/msal-angular';\r\nimport { Observable, map, of } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { CommonService } from 'src/app/services/common.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DownloadBulkInvoicesService {\r\n\r\n apiUrl = environment.apiBaseUrl\r\n constructor(\r\n private _http: HttpClient,\r\n private _authService: MsalService,\r\n private commonServices: CommonService\r\n ) { }\r\n\r\n buildHttpParamsObject(object: any): HttpParams {\r\n if (object !== null) {\r\n Object.keys(object).forEach((e: any) => {\r\n if (object[e] === null || object[e] === undefined) {\r\n delete object[e];\r\n }\r\n });\r\n \r\n const httpParams: HttpParamsOptions = {\r\n fromObject:\r\n object\r\n \r\n } as HttpParamsOptions;\r\n \r\n const options = new HttpParams(httpParams);\r\n return options;\r\n } else {\r\n return new HttpParams();\r\n }\r\n }\r\n\r\n GetPlans({ EntityName, RecordID, Customers, resellers }: any) {\r\n let SearchPlanCriteria = {\r\n EntityName: EntityName,\r\n RecordID: RecordID,\r\n Customers: Customers,\r\n resellers: resellers\r\n }\r\n return this._http.post(`${this.apiUrl}/reports/plans/`, SearchPlanCriteria)\r\n }\r\n\r\n getBillingPeriods(): Observable {\r\n return this._http.get(`${this.apiUrl}/common/billingperiods`);\r\n }\r\n\r\n getInvoiceForDownload(params: any) {\r\n const option = this.buildHttpParamsObject(params);\r\n return this._http.get(`${this.apiUrl}/reports/downloadbulkinvoiceforcustomers/`,{ params: option });\r\n }\r\n\r\n generatebulkinvoicesfordownload(reqBody: any) {\r\n return this._http.post(`${this.apiUrl}/reports/generatebulkinvoicesfordownload/`, reqBody)\r\n }\r\n\r\n getbulkinvoicesdownloadprogress(params: any) {\r\n const option = this.buildHttpParamsObject(params);\r\n return this._http.get(`${this.apiUrl}/reports/getbulkinvoicesdownloadprogress/`, { params: option });\r\n }\r\n\r\n getBilledCustomersAndResellers(params: any) {\r\n const option = this.buildHttpParamsObject(params);\r\n return this._http.get(`${this.apiUrl}/reports/BilledCustomersAndResellers/`, { params:option });\r\n }\r\n\r\n GetXeroUriForProvidingConsent() {\r\n return this._http.get(`${this.apiUrl}/xeroconsent/GetXeroUriForProvidingConsent/${this.commonServices.entityName}/${this.commonServices.recordId}`);\r\n }\r\n\r\n GetQuickBooksUriForProvidingConsent() {\r\n return this._http.get(`${this.apiUrl}/quickbooksconsent/GetQuickBooksUriForProvidingConsent/${this.commonServices.entityName}/${this.commonServices.recordId}`);\r\n }\r\n \r\n CheckValidityOfQuickBooksRefreshToken(){\r\n return this._http.get(`${this.apiUrl}/quickbooksconsent/CheckValidityOfExistingQuickBooksRefreshToken/${this.commonServices.entityName}/${this.commonServices.recordId}`);\r\n }\r\n\r\n CheckValidityOfXeroRefreshToken(){\r\n return this._http.get(`${this.apiUrl}/xeroconsent/CheckValidityOfExistingXeroRefreshToken/${this.commonServices.entityName}/${this.commonServices.recordId}`);\r\n }\r\n\r\n processDownload(uri: any, reqBody: any) {\r\n return this._http.post(uri, reqBody)\r\n }\r\n\r\n GetExternalServicePostBatches(billingPeriodId: any) {\r\n return this._http.get(`${this.apiUrl}/invoices/GetExternalServicePostBatches/${billingPeriodId}`);\r\n }\r\n GetLatestPostLogStatus(params: any) {\r\n const option = this.buildHttpParamsObject(params);\r\n return this._http.get(`${this.apiUrl}/invoices/GetExternalServicePostLogs/`, { params:option });\r\n }\r\n GetLatestPostBatchSummary(params: any) {\r\n const option = this.buildHttpParamsObject(params);\r\n return this._http.get(`${this.apiUrl}/invoices/GetSummaryForExternalServicePostBatch/`, { params:option });\r\n }\r\n DeleteBulkInvoiceDetails(ID: any) {\r\n return this._http.put(`${this.apiUrl}/reports/deletebulkinvoices/${ID}`, null);\r\n }\r\n DownloadBulkInvoice(BulkInvoiceId: any) {\r\n return this._http.get(`${this.apiUrl}/reports/getbulkinvoicedownloadlink/${BulkInvoiceId}`);\r\n }\r\n getTableinvoiceDownloadStatus(downloadBulkInvoiceId: any) {\r\n return this._http.get(`${this.apiUrl}/reports/Bulkinvoicesdownloadstatus/${downloadBulkInvoiceId.downloadBulkInvoiceId}`);\r\n }\r\n GetCustomers() {\r\n return this._http.get(`${this.apiUrl}/customers/GetCustomersAndResellersByEntity/${this.commonServices.entityName}/${this.commonServices.recordId}`);\r\n }\r\n\r\n getApplicationSettings() {\r\n let applicationSettingsUri = `${environment.apiBaseUrl}/ApplicationSettings/Get`;\r\n return this._http.get(`${applicationSettingsUri}`);\r\n }\r\n\r\n uploadInvoicesToXeroApp(reqBody: any) {\r\n return this._http.post(`${this.apiUrl}/invoices/UploadInvoicesToXero`, reqBody)\r\n }\r\n\r\n uploadInvoicesToQuickBooksApp(reqBody: any) {\r\n return this._http.post(`${this.apiUrl}/invoices/UploadInvoicesToQuickBooks`, reqBody)\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { MsalService } from '@azure/msal-angular';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class EngageService {\r\n\r\n apiUrl= environment.apiBaseUrl\r\n constructor(\r\n private _http: HttpClient,\r\n private authService: MsalService,\r\n private _commonService: CommonService\r\n\r\n ) { }\r\n\r\n getList(reqbody:any){\r\n const option = this._commonService.buildHttpParamsObject(reqbody)\r\n return this._http.get(`${this.apiUrl}/engagenotification/getengagerecords`,{ params:option})\r\n }\r\n\r\n getPortalPages(){\r\n return this._http.get(`${this.apiUrl}/engagenotification/getengagepages`)\r\n }\r\n\r\n delete(Id:any){\r\n return this._http.delete(`${this.apiUrl}/engagenotification/deleteengagenotification/${Id}`)\r\n }\r\n\r\n getAllActiveCustomers(){\r\n return this._http.get(`${this.apiUrl}/customers/activeCustomers`)\r\n }\r\n\r\n submitEngage(reqbody:any){\r\n const option = this._commonService.buildHttpParamsObject(reqbody)\r\n return this._http.post(`${this.apiUrl}/engagenotification/saveengagepages`, reqbody)\r\n }\r\n\r\n getEngageById(Id:any){\r\n return this._http.get(`${this.apiUrl}/engagenotification/getengagedetailsbyid/${Id}`)\r\n }\r\n\r\n engageNotification(pageName:any){\r\n return this._http.get(`${this.apiUrl}/engagenotification/getengagedetailsbyuser/${this._commonService.entityName}/${this._commonService.recordId}/${pageName}`)\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { MsalService } from '@azure/msal-angular';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Observable, map, of, tap } from 'rxjs';\r\nimport { BillingCycles, ProviderCategories, ProviderCategoriesInFilter, ResponseData, SearchModel, TargetCurrencyData } from '../../../../shared/models/common';\r\nimport { CommonService } from 'src/app/services/common.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ResellerPlansListingService {\r\n apiUrl = environment.apiBaseUrl\r\n private cachedPlanBillingCycles: Observable | null = null;\r\n private cachedProviderCategories: Observable | null = null;\r\n private cachedProviderCategoriesInFilter: Observable | null = null;\r\n constructor(\r\n private _http: HttpClient,\r\n private _commonService: CommonService,\r\n private authService: MsalService\r\n ) { }\r\n\r\n\r\n getReselerPlansList(searchParams: any) {\r\n const option = this._commonService.buildHttpParamsObject(searchParams)\r\n return this._http.get(`${this.apiUrl}/resellerplan/`, { params: option });\r\n }\r\n \r\n getResellerPlanDetails(internalPlanID: any) {\r\n return this._http.get(`${this.apiUrl}/resellerplan/${internalPlanID}`)\r\n .pipe(map((v: any) => {\r\n return v.Data\r\n }))\r\n }\r\n cloneResellerPlan(planID: any, planDetails: any) {\r\n return this._http.post(`${this.apiUrl}/resellerplan/${planID}/clone`, planDetails)\r\n .pipe(map((v: any) => {\r\n return v.Data\r\n }));\r\n }\r\n getPlanProviders() {\r\n return this._http.get(`${this.apiUrl}/plans/providers/true/${this._commonService.entityName}/${this._commonService.recordId}`)\r\n .pipe(map((v: any) => {\r\n return v.Data\r\n }))\r\n }\r\n getPlanProvidersWithParamFalse() {\r\n return this._http.get(`${this.apiUrl}/plans/providers/false/${this._commonService.entityName}/${this._commonService.recordId}`)\r\n .pipe(map((v: any) => {\r\n return v.Data\r\n }))\r\n }\r\n getPlanBillingCycles() {\r\n if (this.cachedPlanBillingCycles) {\r\n return this.cachedPlanBillingCycles;\r\n }\r\n return this._http.get>(`${this.apiUrl}/plans/billingCycles`)\r\n .pipe(map(v => v.Data),\r\n tap(v => this.cachedPlanBillingCycles = of(v))\r\n );\r\n\r\n }\r\n getProviderCategories() {\r\n if (this.cachedProviderCategories) {\r\n return this.cachedProviderCategories;\r\n }\r\n return this._http.get>(`${this.apiUrl}/plans/providerCategories`)\r\n .pipe(map(v => v.Data),\r\n tap(v => this.cachedProviderCategories = of(v))\r\n );\r\n }\r\n getSupportedMarketsForPlanCreation(currencyCode: any) {\r\n return this._http.get(`${this.apiUrl}/plans/supportedMarketList/${currencyCode}`)\r\n .pipe(map((v: any) => {\r\n return v.Data\r\n }));\r\n }\r\n getTargetCurrency(countryCode: string | any) {\r\n return this._http.get(`${this.apiUrl}/CurrencyConversion/${this._commonService.entityName}/${this._commonService.recordId}/${countryCode}/TargetCurrencies`)\r\n .pipe(map((v: any) => {\r\n return v.Data\r\n }));\r\n }\r\n GetCategoriesForPlanCreation(screenName: string) {\r\n let LoggedInUserName;\r\n return this._http.get(`${this.apiUrl}/categories/screen/${screenName}/${this._commonService.entityName}/${this._commonService.recordId}/${LoggedInUserName}`)\r\n .pipe(map((v: any) => {\r\n return v.Data\r\n }));\r\n }\r\n addMissingOffersToPlan(internalPlanId: any) {\r\n return this._http.post(`${this.apiUrl}/resellerplan/addMissingOffersToPlan/${internalPlanId}`, null);\r\n }\r\n\r\n savePlanWithAllOffers(planDetails: any){\r\n return this._http.post(`${this.apiUrl}/resellerplan/saveplanwithalloffers`, planDetails);\r\n }\r\n\r\n getCodes(){\r\n return this._http.get(`${this.apiUrl}/CurrencyConversion/CurrencyCodes`)\r\n .pipe(map((v: any) => {\r\n return v.Data\r\n }));\r\n }\r\n\r\n getPlanProductsInTargetCurrency(internalPlanId : string | null, targetCurrencyCode:string | null){\r\n return this._http.get(`${this.apiUrl}/resellerplan/${internalPlanId}/targetcurrency/${targetCurrencyCode}`);\r\n }\r\n\r\n submitCurrencyConversionDetails(internalPlanId : string | null, targetCurrencyCode:string | null, reqBody:any){\r\n return this._http.post(`${this.apiUrl}/resellerplan/${internalPlanId}/targetcurrency/${targetCurrencyCode}`,reqBody);\r\n }\r\n\r\n getProviderCategoriesInFilter() {\r\n if (this.cachedProviderCategoriesInFilter) {\r\n return this.cachedProviderCategoriesInFilter;\r\n }\r\n return this._http.get>(`${environment.apiBaseUrl}/providers/serviceTypes`)\r\n .pipe(map(v => v.Data),\r\n tap(v => this.cachedProviderCategoriesInFilter = of(v))\r\n );\r\n }\r\n\r\n productsforplan(reqBody: any) {\r\n return this._http.post(`${this.apiUrl}/plans/resellerproductsforplan`, reqBody)\r\n .pipe(map((v: any) => v.Data))\r\n }\r\n\r\n getAddonsForResellerPlanManagement(internalPlanId : any, productVariantId : any, requestBody : any){\r\n return this._http.post(`${this.apiUrl}/resellerplan/${internalPlanId}/productvariants/${productVariantId}/addons`,requestBody);\r\n }\r\n\r\n getPlanOfferCurrencyRates(requestBody : any){\r\n return this._http.post(`${this.apiUrl}/resellerplan/PlanOfferCurrencyRates`,requestBody);\r\n }\r\n\r\n getResellerPlanOfferCurrencyRates(productVariantId : any, billingCycleName : any, validity : any, validityType : any){\r\n return this._http.get(`${this.apiUrl}/resellerplan/planProduct/${productVariantId}/billingCycleName/${billingCycleName}/validity/${validity}/validityType/${validityType}/planOfferCurrencyRates`)\r\n }\r\n\r\n}","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\n\r\ninterface ProviderSettingsRequest {\r\n ModifyBy: any; // Replace 'any' with the actual type if known\r\n ProviderSettings: string;\r\n}\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\n\r\nexport class ProvidersSettingService {\r\n\r\n \r\n private apiUrl = environment.apiBaseUrl;\r\n\r\n constructor(private http: HttpClient) {}\r\n\r\n getProviders(): Observable {\r\n return this.http.get(`${this.apiUrl}/providers/`);\r\n }\r\n\r\n getProviderSettings(providerName: string): Observable {\r\n return this.http.get(`${this.apiUrl}/providersSetting/${providerName}/`);\r\n }\r\n\r\n saveProviderSettings(providerName: string, providerSettings: any): Observable {\r\n const reqBody: ProviderSettingsRequest = {\r\n ModifyBy: null,\r\n ProviderSettings: providerSettings\r\n };\r\n return this.http.post(`${this.apiUrl}/providersSetting/${providerName}`, reqBody);\r\n }\r\n\r\n\r\n testMicrosoftPricingAPIAccess(): Observable {\r\n return this.http.get(`${this.apiUrl}/PartnerConsent/TestMicrosoftPricingAPIAccess/`);\r\n }\r\n\r\n testPartnerAccess(): Observable {\r\n return this.http.get(`${this.apiUrl}/PartnerConsent/PartnerProfile/`);\r\n }\r\n\r\n switchToNewSecureModel(): Observable {\r\n return this.http.post(`${this.apiUrl}/PartnerSettings/DisableOldAndEnableNewPCSettings/`, null);\r\n }\r\n}\r\n","export class UploadUsageReportSearchCriteria {\r\n StartInd: number | null;\r\n PageSize: number | null;\r\n SortColumn: string | null;\r\n SortOrder: string | null;\r\n BatchId: number | null;\r\n Status: string | null;\r\n Step: string | null;\r\n}\r\n\r\nexport enum CurrentStep {\r\n Validation = 'Validation',\r\n Import = 'Import'\r\n}\r\n\r\nexport enum Status {\r\n Success = 'SUCCESS',\r\n Error = 'ERROR'\r\n}\r\n\r\nexport class UploadUsageReportData {\r\n TotalRows: number | null;\r\n CustomerId: string | null;\r\n ProductId: string | null;\r\n Units: string | null;\r\n UnitOfMeasure: string | null;\r\n Description: string | null;\r\n CostToPartner: string | null;\r\n CurrencyCode: string | null;\r\n UsageDate: string | null;\r\n ValidationStatus: string | null;\r\n ValidationError: any;\r\n ImportStatus: string | null;\r\n ImportError: any;\r\n ValidationProcessedCount: number | null;\r\n ValidationSuccessCount: number | null;\r\n ValidationErrorCount: number | null;\r\n ImportProcessedCount: number | null;\r\n ImportSuccessCount: number | null;\r\n ImportErrorCount: number | null;\r\n ProductName: string | null;\r\n CustomerName: string | null;\r\n CurrencySymbol: string | null;\r\n CurrencyDecimalPlaces: string | null;\r\n CurrencyDecimalSeperator: string | null;\r\n CurrencyThousandSeperator: string | null;\r\n}\r\n\r\nexport class CustomersDetails {\r\n ID: number | null;\r\n Name: string | null;\r\n CustomerDetails: string | null;\r\n PrimaryDomainName: string | null;\r\n ProviderCustomerId: string | null;\r\n BillingCustomerId: string | null;\r\n UserCount: number | null;\r\n SubscriptionCount: number | null;\r\n BalanceAmount: number | null;\r\n LastPaymentAmount: number | null;\r\n CurrencyCode: string | null;\r\n IsTransactEnabled: boolean;\r\n CreateBy: string | null;\r\n CreateDate: string | null;\r\n IsActive: boolean;\r\n FirstName: string | null;\r\n LastName: string | null;\r\n CustomerOnboardingStatusId: number | null;\r\n C3Id: string | null;\r\n ProviderCustomerCreateDate: string | null;\r\n}","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { UploadUsageReportSearchCriteria } from '../models/upload-usage-report.model';\r\nimport { map } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UploadUsageReportService {\r\n apiUrl = environment.apiBaseUrl;\r\n constructor(\r\n private _http: HttpClient,\r\n private _common: CommonService,\r\n ) { }\r\n\r\n getUploadUsageReport(reqBody: UploadUsageReportSearchCriteria) {\r\n const option = this._common.buildHttpParamsObject(reqBody);\r\n return this._http.get(`${this.apiUrl}/reportusage/partnerOfferDailyUsageDataImportStatus?v=${(new Date()).getTime()}`, { params: option });\r\n }\r\n\r\n getActiveCustomers(provider: string) {\r\n return this._http.get(`${this.apiUrl}/customers/Providers/${provider}?v=${(new Date()).getTime()}`)\r\n .pipe(map((v: any) => {\r\n return v.Data\r\n }));\r\n }\r\n\r\n getBatchStepStatus(batchStepID: number) {\r\n return this._http.get(`${this.apiUrl}/reportusage/${batchStepID}/batchStepStatus?v=${(new Date()).getTime()}`);\r\n }\r\n\r\n importProductCatelog(reqBody: any) {\r\n return this._http.post(`${this.apiUrl}/reportusage/importPartnerOfferDailyUsageData?v=${(new Date()).getTime()}`, reqBody);\r\n }\r\n\r\n getBillingPeriod(isNextMonthRequired: boolean, categoeries: any, isNextMonthRequiredDueToCustomBilling: boolean) {\r\n return this._http.get(`${this.apiUrl}/common/billingperiods/${isNextMonthRequired}/${categoeries}/${isNextMonthRequiredDueToCustomBilling}?v=${(new Date()).getTime()}`);\r\n }\r\n\r\n getUsageHistoryReport(reqBody: any) {\r\n const option = this._common.buildHttpParamsObject(reqBody);\r\n return this._http.get(`${this.apiUrl}/reportusage/partnerOffersUsageUploadHistory?v=${(new Date()).getTime()}`, { params: option });\r\n }\r\n}\r\n","@if(!IsTenantConfiguration && data.IsShowOnScreen && data.Value !== undefined && data.Value !== null && data.Value !== ''){\r\n\r\n
\r\n\r\n
\r\n

\r\n {{ 'TRANSLATE.CPV_CONSENT_VIEW_INSTRUCTIONS_HEADING' | translate }}\r\n

\r\n
    \r\n
  • \r\n {{\r\n 'TRANSLATE.CPV_CONSENT_VIEW_INSTRUCTIONS_5' | translate }}\r\n {{ 'TRANSLATE.CPV_CONSENT_VIEW_INSTRUCTIONS_1' | translate }}\r\n
  • \r\n
  • \r\n {{ 'TRANSLATE.CPV_CONSENT_VIEW_INSTRUCTIONS_2' | translate }}\r\n
  • \r\n
  • \r\n {{ 'TRANSLATE.CPV_CONSENT_VIEW_INSTRUCTIONS_3' | translate }}\r\n
  • \r\n
\r\n
\r\n
\r\n \r\n {{ 'TRANSLATE.ACCEPT_THE_CONSENT_BTN_TEXT' | translate }}\r\n
\r\n
\r\n\r\n}\r\n ","import { Component, Input, Output, EventEmitter } from '@angular/core';\r\nimport { TranslationModule } from 'src/app/modules/i18n';\r\nimport { ProvidersSettingService } from 'src/app/modules/partner/settings/services/providers-setting.service';\r\nimport { NotifierService } from 'src/app/services/notifier.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ClipboardService } from 'ngx-clipboard';\r\n\r\n\r\n@Component({\r\n selector: 'app-cpvpartnerconsent',\r\n standalone: true,\r\n imports: [TranslationModule],\r\n templateUrl: './cpvpartnerconsent.component.html',\r\n styleUrls: ['./cpvpartnerconsent.component.scss']\r\n})\r\nexport class CpvpartnerconsentComponent {\r\n @Input() datasource: any;\r\n @Input() isTenantConfiguration: boolean = false;\r\n\r\n isBusy: boolean = false;\r\n hasNewTestSecureModelSuccess: boolean ;\r\n data:any\r\n IsTenantConfiguration:boolean;\r\n\r\n constructor(\r\n private providerSettingsService: ProvidersSettingService,\r\n private notifier: NotifierService,\r\n private translate: TranslateService,\r\n private clipboardService: ClipboardService \r\n\r\n ) {}\r\n ngOnInit(): void {\r\n\r\n this.data = this.datasource; \r\n this.IsTenantConfiguration = this.isTenantConfiguration;\r\n }\r\n confirmCopy(): void {\r\n this.clipboardService.copyFromContent(this.data.Value);\r\n this.notifier.alert({ title: this.translate.instant('TRANSLATE.CPV_CLIPBOARD_SUCCESS_MESSAGE'), icon: 'success' });\r\n }\r\n \r\n\r\n testPartnerAccess(): void {\r\n this.isBusy = true;\r\n this.providerSettingsService.testPartnerAccess().subscribe(\r\n (response: any) => {\r\n this.isBusy = false;\r\n if (response.Data) {\r\n this.hasNewTestSecureModelSuccess = true;\r\n this.notifier.alert({ title: this.translate.instant('TRANSLATE.CPV_PC_TEST_CONFIRMATION_MESSAGE'), icon: 'success' });\r\n \r\n }\r\n },\r\n (error: any) => {\r\n this.isBusy = false;\r\n this.notifier.alert({ title: error.data?.ExceptionMessage || this.translate.instant('TRANSLATE.ERROR_MESSAGE_UNABLE_PROCCESS_YOUR_REQUEST'), icon: 'error' });\r\n }\r\n );\r\n }\r\n \r\n}\r\n","@if(!IsTenantConfiguration && data.IsShowOnScreen && data.Value !== undefined && data.Value !== null && data.Value !== ''){\r\n
\r\n
\r\n

\r\n {{ 'TRANSLATE.PRICING_API_CONSENT_VIEW_INSTRUCTIONS_HEADING' | translate }}\r\n

\r\n
    \r\n
  • \r\n {{ 'TRANSLATE.CPV_CONSENT_VIEW_INSTRUCTIONS_5' | translate }} \r\n {{ 'TRANSLATE.PRICING_API_VIEW_INSTRUCTIONS_1' | translate }}\r\n
  • \r\n
  • \r\n {{ 'TRANSLATE.PRICING_API_VIEW_INSTRUCTIONS_2' | translate }}\r\n
  • \r\n
  • \r\n {{ 'TRANSLATE.PRICING_API_VIEW_INSTRUCTIONS_3' | translate }}\r\n
  • \r\n
\r\n
\r\n \r\n
\r\n \r\n {{ 'TRANSLATE.ACCEPT_THE_MICROSOFT_PRICING_API_CONSENT_BTN_TEXT' | translate }}\r\n
\r\n
\r\n}\r\n","import { Component, Input } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { TranslationModule } from 'src/app/modules/i18n';\r\nimport { ProvidersSettingService } from 'src/app/modules/partner/settings/services/providers-setting.service';\r\nimport { NotifierService } from 'src/app/services/notifier.service';\r\nimport { ClipboardService } from 'ngx-clipboard';\r\n\r\n\r\n@Component({\r\n selector: 'app-pricingapipartnerconsent',\r\n standalone: true,\r\n imports: [TranslationModule],\r\n templateUrl: './pricingapipartnerconsent.component.html',\r\n styleUrl: './pricingapipartnerconsent.component.scss'\r\n})\r\nexport class PricingapipartnerconsentComponent {\r\n\r\n @Input() datasource: any;\r\n @Input() isTenantConfiguration: boolean = false;\r\n\r\n isBusy: boolean = false;\r\n hasNewTestSecureModelSuccess: boolean = false;\r\n value: any;\r\n data: any;\r\n IsTenantConfiguration: boolean;\r\n\r\n constructor(\r\n private providerSettingsService: ProvidersSettingService,\r\n private notifier: NotifierService,\r\n private translate: TranslateService,\r\n private clipboardService: ClipboardService \r\n ) {}\r\n ngOnInit(): void {\r\n this.data = this.datasource; \r\n this.IsTenantConfiguration = this.isTenantConfiguration;\r\n \r\n }\r\n\r\n confirmCopy(): void {\r\n this.clipboardService.copyFromContent(this.data.Value);\r\n this.notifier.alert({ title: this.translate.instant('TRANSLATE.CPV_CLIPBOARD_SUCCESS_MESSAGE'), icon: 'success' });\r\n }\r\n \r\n\r\n testMicrosoftPricingAPIAccess(): void {\r\n this.isBusy = true;\r\n this.providerSettingsService.testMicrosoftPricingAPIAccess().subscribe(\r\n (response: any) => {\r\n this.isBusy = false;\r\n if (response.Data) {\r\n this.notifier.alert({ title: this.translate.instant('TRANSLATE.MICROSOFT_PRICING_API_CONSENT_TEST_CONFIRMATION_MESSAGE'), icon: 'success' });\r\n }\r\n },\r\n (error: any) => {\r\n this.isBusy = false;\r\n this.notifier.alert({ title: error.data?.ExceptionMessage || this.translate.instant('TRANSLATE.ERROR_MESSAGE_UNABLE_PROCCESS_YOUR_REQUEST'), icon: 'error' });\r\n }\r\n );\r\n }\r\n \r\n}\r\n\r\n","
\r\n
\r\n
\r\n
\r\n   \r\n {{'TRANSLATE.PARTNERS_HEADER_TEXT_MANAGE_TAG' | translate}}\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n @if(addtagform.get('tagKey')?.errors?.required &&\r\n addtagform.get('tagKey')?.touched){\r\n \r\n }\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n @if(addtagform.get('tagValue')?.errors?.required &&\r\n addtagform.get('tagValue')?.touched){\r\n \r\n }\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n","import { ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core';\r\nimport { FormBuilder, FormGroup, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';\r\nimport { Router, RouterModule } from '@angular/router';\r\nimport { NgbDatepickerModule, NgbDropdownModule, NgbModal, NgbModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { DynamicTemplateService } from 'src/app/services/dynamic-template.service';\r\nimport { FileService } from 'src/app/services/file.service';\r\nimport { NotifierService } from 'src/app/services/notifier.service';\r\nimport { PermissionService } from 'src/app/services/permission.service';\r\nimport { ToastService } from 'src/app/services/toast.service';\r\nimport { UnsavedChangesService } from 'src/app/services/unsaved-changes.service';\r\nimport { C3BaseComponent } from 'src/app/shared/models/c3BaseComponent'; \r\nimport { Select2Data,Select2Module,Select2Value } from 'ng-select2-component'; \r\nimport { CommonModule } from '@angular/common';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { NgSelectModule } from '@ng-select/ng-select';\r\nimport { EditorModule } from '@tinymce/tinymce-angular';\r\nimport { TranslationModule } from 'src/app/modules/i18n';\r\nimport { PartnerModule } from 'src/app/modules/partner/partner.module';\r\nimport { ConvertCommaSeparatedStringToListPipe } from 'src/app/shared/pipes/convert-comma-separated-string-to-list.pipe';\r\nimport { CustomCheckboxComponent } from '../../../c3-inputs/custom-checkbox/custom-checkbox.component';\r\nimport { CustomInputComponent } from '../../../c3-inputs/custom-input/custom-input.component';\r\nimport { CustomSelectComponent } from '../../../c3-inputs/custom-select/custom-select.component';\r\nimport { C3TableComponent } from '../../../c3-table/c3-table.component';\r\nimport { CpvpartnerconsentComponent } from '../../../templates/cpvpartnerconsent/cpvpartnerconsent.component';\r\nimport { PricingapipartnerconsentComponent } from '../../../templates/pricingapipartnerconsent/pricingapipartnerconsent.component';\r\nimport { UserManagementService } from 'src/app/modules/partner/settings/services/user-management.service';\r\nimport { PartnerTagKeyDetails, PartnerTagValueDetails } from 'src/app/modules/partner/settings/models/user-management';\r\nimport { distinctUntilChanged, Subject, takeUntil } from 'rxjs';\r\nimport { PageInfoService } from 'src/app/_c3-lib/layout';\r\nimport { AppSettingsService } from 'src/app/services/app-settings.service';\r\n\r\n@Component({\r\n standalone: true,\r\n imports:[\r\n CommonModule,\r\n FormsModule,\r\n RouterModule,\r\n ReactiveFormsModule,\r\n CustomInputComponent,\r\n CustomCheckboxComponent,\r\n CustomSelectComponent,\r\n TranslationModule,\r\n EditorModule,\r\n CpvpartnerconsentComponent,\r\n PricingapipartnerconsentComponent,\r\n NgSelectModule,\r\n HttpClientModule,\r\n FormsModule,\r\n NgbModule,\r\n NgbDropdownModule,\r\n C3TableComponent,\r\n NgbTooltipModule,\r\n NgbDatepickerModule,\r\n FormsModule,\r\n C3TableComponent,\r\n ConvertCommaSeparatedStringToListPipe,\r\n Select2Module,\r\n NgSelectModule,\r\n ],\r\n providers:[UserManagementService],\r\n \r\n selector: 'app-add-user-management-tag',\r\n templateUrl: './add-user-management-tag.component.html',\r\n styleUrl: './add-user-management-tag.component.scss'\r\n})\r\nexport class AddUserManagementTagComponent extends C3BaseComponent implements OnInit, OnDestroy {\r\n addtagform: FormGroup;\r\n EntityName:string;\r\n RecordId:string;\r\n tagKeyDetails:PartnerTagKeyDetails[] = [];\r\n tagValueDetails:PartnerTagValueDetails [] = [];\r\n tagValueDetailsDataSet: Select2Data = [];\r\n selectedtagValueDetailsDataSet: Select2Value[] = [];\r\n isEditMode: boolean=false;\r\n userDetails:any;\r\n editUserDetails:any;\r\n selectedTagValue:string|null;\r\n private destroy$ = new Subject\r\n\r\n constructor(\r\n private UserManagementService: UserManagementService,\r\n private _toastService: ToastService,\r\n private _formBuilder: FormBuilder,\r\n private modalService: NgbModal,\r\n private _cdRef: ChangeDetectorRef,\r\n private _commonService: CommonService,\r\n public _router: Router,\r\n private _unsavedChangesService: UnsavedChangesService,\r\n private _translateService: TranslateService,\r\n private _notifierService: NotifierService,\r\n private _fileService: FileService,\r\n public _permissionService: PermissionService,\r\n public _dynamicTemplateService: DynamicTemplateService,\r\n private pageInfo : PageInfoService,\r\n private _appService: AppSettingsService, \r\n ) {\r\n super(_permissionService, _dynamicTemplateService, _router, _appService)\r\n\r\n let message = this._translateService.instant('TRANSLATE.MENUS_PARTNER_SETTINGS')\r\n let title = `${message}`\r\n this.pageInfo.updateTitle(title,true);\r\n this.pageInfo.updateBreadcrumbs([''])\r\n\r\n\r\n this.addtagform = this._formBuilder.group({\r\n TagId: [''],\r\n tagKey: ['', Validators.required],\r\n tagValue: ['',Validators.required]\r\n });\r\n this.EntityName = this._commonService.entityName;\r\n this.RecordId = this._commonService.recordId;\r\n const navigation = this._router.getCurrentNavigation();\r\n this.userDetails = navigation?.extras.state?.['userDetails'];\r\n this.editUserDetails = navigation?.extras.state?.['editUserDetails'];\r\n }\r\n ngOnInit(): void {\r\n this.getTagKeysForPartner();\r\n this.getUserDetails()\r\n }\r\n\r\n getTagKeysForPartner(){\r\n this.UserManagementService.getTagKeysForPartner().subscribe((response:any)=>{\r\n this.tagKeyDetails = response.Data;\r\n this._cdRef.detectChanges();\r\n })\r\n }\r\n\r\n getTagValuesForPartner(tagKey:any){\r\n this.UserManagementService.getTagValuesForPartner(tagKey).subscribe((response:any)=>{\r\n this.tagValueDetails = response.Data;\r\n this.settagValueDetailsDataSet();\r\n this._cdRef.detectChanges();\r\n })\r\n }\r\n\r\n settagValueDetailsDataSet() {\r\n this.tagValueDetails.forEach(v=>{\r\n this.tagValueDetailsDataSet.push({\r\n value: v.TagValue,\r\n label: null,\r\n disabled:this.isEditMode,\r\n data: {value:v.TagValue, text:v.TagValue}\r\n })\r\n if(this.editUserDetails && this.editUserDetails.TagValue == v.TagValue ){\r\n this.selectedtagValueDetailsDataSet.push(v.TagValue);\r\n }\r\n });\r\n this._cdRef.detectChanges();\r\n this.setFormData();\r\n this._cdRef.detectChanges();\r\n }\r\n\r\n onTagValueChange(event:any){\r\n this.tagValueDetailsDataSet = [];\r\n var selectedKey = (event.target as HTMLSelectElement).value;\r\n this.getTagValuesForPartner(selectedKey);\r\n\r\n this._cdRef.detectChanges();\r\n }\r\n\r\n backToList(){\r\n const reqBody = {\r\n InternalUserId:this.userDetails.InternalUserId,\r\n UserName:this.userDetails.UserName\r\n }\r\n if(this.EntityName == 'Customer'){\r\n this._router.navigate(['home/userTags/'], {state: {userDetails: reqBody}});\r\n }else{\r\n this._router.navigate(['partner/settings/userTags/'], {state: {userDetails: reqBody}});\r\n }\r\n }\r\n\r\n onSubmit(){\r\n this.addtagform.markAllAsTouched();\r\n this.selectedtagValueDetailsDataSet;\r\n if (this.addtagform.valid) {\r\n this._unsavedChangesService.setUnsavedChanges(false);\r\n this.createPayload(this._commonService.entityName);\r\n }\r\n\r\n }\r\n\r\n createPayload (EntityName : string | null) : void{\r\n const {\r\n TagId,\r\n tagKey,\r\n tagValue,\r\n } = this.addtagform.value;\r\n\r\n let params:any = {\r\n TagId,\r\n InternalUserId:this.userDetails.InternalUserId,\r\n TagKey: tagKey,\r\n TagValue: TagId == ''? tagValue.join(','): this.selectedTagValue,\r\n UserName:this.userDetails.UserName\r\n }\r\n const successOrUpdateMessage = 'TRANSLATE.PARTNER_SETTINGS_PARTNER_TAGS_NOTIFICATION_MESSAGE_PARTNER_TAG_UPDATED_SUCCESSFULLY'\r\n this.UserManagementService.savePartnerUsertag(params).subscribe(\r\n (response:any) => {\r\n if(response.Status = 'Success'){\r\n this.addtagform.reset();\r\n this._toastService.success(this._translateService.instant(successOrUpdateMessage));\r\n }\r\n this.backToList();\r\n })\r\n }\r\n\r\n getUserDetails(){\r\n if(this.editUserDetails){\r\n this.getTagValuesForPartner(this.editUserDetails.TagKey)\r\n this._cdRef.detectChanges();\r\n }\r\n}\r\n\r\n setFormData(){\r\n this.addtagform.setValue({\r\n TagId:this.editUserDetails.TagId,\r\n tagKey:this.editUserDetails.TagKey,\r\n tagValue:this.selectedtagValueDetailsDataSet,\r\n })\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.destroy$.next();\r\n this.destroy$.complete();\r\n this._unsavedChangesService.setUnsavedChanges(false);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n   \r\n \r\n {{this.userName}}\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n @if (!!datatableConfig) {\r\n \r\n \r\n }\r\n
\r\n
\r\n","import { ChangeDetectorRef, Component, EventEmitter, OnDestroy, OnInit, TemplateRef, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { NgbDatepickerModule, NgbDropdownModule, NgbModal, NgbModalOptions, NgbModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ADTSettings } from 'angular-datatables/src/models/settings';\r\nimport { CommonService } from 'src/app/services/common.service';\r\nimport { DynamicTemplateService } from 'src/app/services/dynamic-template.service';\r\nimport { FileService } from 'src/app/services/file.service';\r\nimport { NotifierService } from 'src/app/services/notifier.service';\r\nimport { PermissionService } from 'src/app/services/permission.service';\r\nimport { ToastService } from 'src/app/services/toast.service';\r\nimport { C3BaseComponent } from 'src/app/shared/models/c3BaseComponent';\r\nimport { mapParamsWithApi } from 'src/app/modules/standalones/c3-table/c3-table-utils';\r\nimport { Router, RouterModule } from '@angular/router';\r\nimport { CommonModule } from '@angular/common';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { NgSelectModule } from '@ng-select/ng-select';\r\nimport { EditorModule } from '@tinymce/tinymce-angular';\r\nimport { Select2Module } from 'ng-select2-component';\r\nimport { TranslationModule } from 'src/app/modules/i18n';\r\nimport { PartnerModule } from 'src/app/modules/partner/partner.module';\r\nimport { ConvertCommaSeparatedStringToListPipe } from 'src/app/shared/pipes/convert-comma-separated-string-to-list.pipe';\r\nimport { CustomCheckboxComponent } from '../../c3-inputs/custom-checkbox/custom-checkbox.component';\r\nimport { CustomInputComponent } from '../../c3-inputs/custom-input/custom-input.component';\r\nimport { CustomSelectComponent } from '../../c3-inputs/custom-select/custom-select.component';\r\nimport { CpvpartnerconsentComponent } from '../../templates/cpvpartnerconsent/cpvpartnerconsent.component';\r\nimport { PricingapipartnerconsentComponent } from '../../templates/pricingapipartnerconsent/pricingapipartnerconsent.component';\r\nimport { C3TableComponent } from '../../c3-table/c3-table.component';\r\nimport { UserManagementService } from 'src/app/modules/partner/settings/services/user-management.service';\r\nimport { PageInfoService } from 'src/app/_c3-lib/layout';\r\nimport { AppSettingsService } from 'src/app/services/app-settings.service';\r\n@Component({\r\n standalone: true,\r\n imports:[\r\n CommonModule,\r\n FormsModule,\r\n RouterModule,\r\n ReactiveFormsModule,\r\n CustomInputComponent,\r\n CustomCheckboxComponent,\r\n CustomSelectComponent,\r\n TranslationModule,\r\n EditorModule,\r\n CpvpartnerconsentComponent,\r\n PricingapipartnerconsentComponent,\r\n PartnerModule,\r\n NgSelectModule,\r\n HttpClientModule,\r\n FormsModule,\r\n NgbModule,\r\n NgbDropdownModule,\r\n C3TableComponent,\r\n NgbTooltipModule,\r\n NgbDatepickerModule,\r\n FormsModule,\r\n C3TableComponent,\r\n ConvertCommaSeparatedStringToListPipe,\r\n Select2Module,\r\n NgSelectModule,\r\n ],\r\n providers:[UserManagementService],\r\n \r\n selector: 'app-user-management-tag',\r\n templateUrl: './user-management-tag.component.html',\r\n styleUrl: './user-management-tag.component.scss'\r\n})\r\nexport class UserManagementTagComponent extends C3BaseComponent implements OnInit, OnDestroy {\r\n\r\n datatableConfig: ADTSettings;\r\n // Reload emitter inside datatable\r\n reloadEvent: EventEmitter = new EventEmitter();\r\n @ViewChild('actions') actions: TemplateRef;\r\n toolbarButtonHeightClass = 'w-30px h-30px w-md-40px h-md-40px';\r\n modalConfig: NgbModalOptions = {\r\n modalDialogClass: 'modal-dialog modal-dialog-top mw-700px',\r\n };\r\n EntityName:string;\r\n recordId:string;\r\n userDetails:any;\r\n userName:string|null;\r\n hasEditandUpdate:any;\r\n \r\n constructor(\r\n private UserManagementService: UserManagementService,\r\n private _toastService: ToastService,\r\n private _formBuilder: FormBuilder,\r\n private modalService: NgbModal,\r\n private cdRef: ChangeDetectorRef,\r\n private _commonService: CommonService,\r\n public _router: Router,\r\n private _translateService: TranslateService,\r\n private _notifierService: NotifierService,\r\n private _fileService: FileService,\r\n public _permissionService: PermissionService,\r\n public _dynamicTemplateService: DynamicTemplateService,\r\n private pageInfo : PageInfoService,\r\n private _appService: AppSettingsService,\r\n\r\n ) {\r\n super(_permissionService, _dynamicTemplateService, _router,_appService)\r\n\r\n let message = this._translateService.instant('TRANSLATE.MENUS_PARTNER_SETTINGS')\r\n let title = `${message}`\r\n this.pageInfo.updateTitle(title,true);\r\n this.pageInfo.updateBreadcrumbs([''])\r\n\r\n this.EntityName = this._commonService.entityName;\r\n this.recordId = this._commonService.recordId;\r\n const navigation = this._router.getCurrentNavigation();\r\n this.userDetails = navigation?.extras.state?.['userDetails'];\r\n this.userName = this.userDetails.UserName\r\n }\r\n ngOnInit(): void {\r\n this.handleTableConfig();\r\n this.hasEditandUpdate = this._permissionService.hasPermission(this.cloudHubConstants.ADD_OR_UPDATE_TAGS);\r\n }\r\n\r\n\r\n handleTableConfig() {\r\n setTimeout(() => {\r\n const self = this;\r\n this.datatableConfig = {\r\n serverSide: true,\r\n pageLength: (this._appService.$rootScope.DefaultPageCount || 10),\r\n ajax: (dataTablesParameters: any, callback: any) => {\r\n const { StartInd, Name, SortColumn, SortOrder, PageSize, } =\r\n mapParamsWithApi(dataTablesParameters);\r\n const searchParams = {\r\n InternalUserId: this.userDetails.InternalUserId,\r\n UserName:this.userDetails.UserName\r\n }\r\n this._subscription && this._subscription?.unsubscribe();\r\n this._subscription = this.UserManagementService.getTags(searchParams).subscribe(({ Data }: any) => {\r\n let recordsTotal = 0;\r\n if (Data.length > 0) {\r\n [{ TotalRows: recordsTotal }] = Data;\r\n }\r\n\r\n callback({\r\n data: Data,\r\n recordsTotal: recordsTotal || 0,\r\n recordsFiltered: recordsTotal || 0,\r\n });\r\n });\r\n },\r\n\r\n columns: [\r\n { title: this._translateService.instant('TRANSLATE.PARTNER_USER_TAGS_TABLE_HEADER_TEXT_TAG_KEY'), \r\n data: 'TagKey' \r\n },\r\n {\r\n title: this._translateService.instant('TRANSLATE.PARTNER_USER_TAGS_TABLE_HEADER_TEXT_TAG_VALUES'),\r\n data: 'TagValue',\r\n },\r\n {\r\n title: this._translateService.instant('TRANSLATE.VIEWS_HOME_TABLE_HEADER_TEXT_ACTIONS'),\r\n defaultContent: '',\r\n ngTemplateRef : {\r\n ref: this.actions,\r\n }\r\n },\r\n ],\r\n };\r\n this.cdRef.detectChanges();\r\n });\r\n }\r\n onCaptureEvent(event: Event) {}\r\n\r\n deletePartnerUserTag(reqBody:any){\r\n let confirmationText = this._translateService.instant('TRANSLATE.POPUP_DELETE_SUB_HEADER_TEXT');\r\n this._notifierService.confirm({title:confirmationText}).then((result: { isConfirmed: any;}) =>{\r\n if(result.isConfirmed){\r\n this.UserManagementService.deletePartnerUserTag(reqBody).subscribe((response:any)=>{\r\n if(response.Status == 'Success'){\r\n this.reloadEvent.emit(true);\r\n this._toastService.success(this._translateService.instant('TRANSLATE.PARTNER_SETTINGS_PARTNER_TAGS_NOTIFICATION_MESSAGE_PARTNER_TAG_DELETED_SUCCESSFULLY'));\r\n }\r\n })\r\n }\r\n });\r\n }\r\n\r\n addUserTag(){\r\n const reqBody = {\r\n InternalUserId:this.userDetails.InternalUserId,\r\n UserName:this.userDetails.UserName\r\n }\r\n if(this.EntityName == 'Customer'){\r\n this._router.navigate(['home/addusermanagemettag/'], {state: {userDetails: reqBody}});\r\n }else{\r\n this._router.navigate(['partner/settings/addusermanagemettag/'], {state: {userDetails: reqBody}});\r\n }\r\n }\r\n\r\n editUserTag(editUserDetails:any){\r\n const reqBody = {\r\n InternalUserId:this.userDetails.InternalUserId,\r\n UserName:this.userDetails.UserName\r\n }\r\n if(this.EntityName == 'Customer'){\r\n this._router.navigate(['home/addusermanagemettag/'], {state: {editUserDetails: editUserDetails, userDetails: reqBody}});\r\n }\r\n else{\r\n this._router.navigate(['partner/settings/addusermanagemettag/'], {state: {editUserDetails: editUserDetails, userDetails: reqBody}});\r\n }\r\n }\r\n backToList(){\r\n if(this.EntityName == 'Customer'){\r\n this._router.navigate(['home/users']);\r\n }\r\n else{\r\n this._router.navigate(['/partner/settings/users']);\r\n }\r\n }\r\n\r\n\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { map } from 'rxjs/operators';\r\nimport { Observable } from 'rxjs';\r\nimport { FileService } from './file.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PartnerMicrosoftAzureBillingReportService {\r\n apiUrl = environment.apiBaseUrl;\r\n\r\n constructor(private _http: HttpClient,\r\n private _fileService: FileService\r\n ) { }\r\n\r\n GetBillingPeriods() {\r\n return this._http.get(`${this.apiUrl}/common/billingperiods/true/`)\r\n .pipe(map((v: any) => v.Data));\r\n }\r\n\r\n GetAzureUsageItems(data: any) {\r\n return this._http.post(`${this.apiUrl}/azureSubscriptions/billing`, data)\r\n .pipe(map((v: any) => v.Data));\r\n }\r\n\r\n GetCustomers() {\r\n return this._http.get(`${this.apiUrl}/customers/Providers/Microsoft/HasUsageProducts`)\r\n .pipe(map((v: any) => v.Data));\r\n }\r\n\r\n\r\n GetTenants(customerC3Id: string) {\r\n return this._http.get(`${this.apiUrl}/customers/Customer/${customerC3Id}/Providers/Microsoft/Tenants/HasUsageProducts`)\r\n .pipe(map((v: any) => v.Data));\r\n }\r\n\r\n GetAzureSubscriptions(searchData: any) {\r\n return this._http.post(`${this.apiUrl}/azureSubscriptions/list`, searchData)\r\n .pipe(map((v: any) => v.Data));\r\n }\r\n\r\n ExportBillingDetails(data: any) {\r\n this._fileService.post(`azureSubscriptions/${data.ProductId}/billingAsCSV`, true, data);\r\n }\r\n\r\n GetCurrencies(customerC3Id: string): Observable {\r\n return this._http.get(`${this.apiUrl}/customers/Customer/${customerC3Id}/UsageSubscriptionCurrencyList`)\r\n .pipe(map((v: any) => {\r\n return v.Data\r\n }));\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { CommonService } from './common.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class InvoicesService {\r\n\r\n apiUrl = environment.apiBaseUrl;\r\n public dataState: any;\r\n constructor(private _http: HttpClient, private _commonService: CommonService) { }\r\n\r\n getInvoices(reqBody) {\r\n const body = this._commonService.buildHttpParamsObject(reqBody);\r\n return this._http.get(`${this.apiUrl}/invoices`, { params: body });\r\n }\r\n\r\n getInvoicesPayments(searchParams) {\r\n const params = this._commonService.buildHttpParamsObject(searchParams);\r\n return this._http.get(`${this.apiUrl}/invoices/payments`, { params: params });\r\n }\r\n\r\n getInvoicesOperationalEntities(entityName: any, recordC3Id: any) {\r\n return this._http.get(`${this.apiUrl}/invoices/operationalEntities/${entityName}/${recordC3Id}`);\r\n }\r\n\r\n getInvoicesAddressDetails(entityName: string | null, recordId: string | null) {\r\n return this._http.get(`${this.apiUrl}/invoices/addressDetails/${entityName}/${recordId}`)\r\n }\r\n\r\n getOnDemandInvoice(invoiceId: any) {\r\n return this._http.get(`${this.apiUrl}/invoices/onDemandInvoice/details/${invoiceId}`)\r\n }\r\n\r\n createInvoice(payload: any) {\r\n return this._http.post(`${this.apiUrl}/invoices/createInvoice`, payload);\r\n }\r\n\r\n\r\n getInvoiceById(invoiceId) {\r\n return this._http.get(`${this.apiUrl}/invoices/${invoiceId}`);\r\n }\r\n\r\n\r\n getPaymentsByInvoiceId(invoiceId) {\r\n return this._http.get(`${this.apiUrl}/invoices/${invoiceId}/payments`);\r\n\r\n }\r\n\r\n\r\n getRemainingPayments(reqBody) {\r\n const params = this._commonService.buildHttpParamsObject(reqBody);\r\n return this._http.get(`${this.apiUrl}/invoices/remainingPayments`, { params: params })\r\n\r\n }\r\n\r\n\r\n getUnpaidDuesByInvoiceId(entityName: any, recordId: any, invoiceId: any) {\r\n return this._http.get(`${this.apiUrl}/invoices/getUnpaidDuesByInvoiceId/${entityName}/${recordId}/${invoiceId}`)\r\n }\r\n\r\n deleteAdjustmentById(lineItemId: any) {\r\n return this._http.delete(`${this.apiUrl}/invoices/DeleteAdjustmentById/${lineItemId}`)\r\n }\r\n\r\n initiateInvoicePayment(payload: any) {\r\n return this._http.post(`${this.apiUrl}/invoices/initiateInvoicePayment`, payload);\r\n }\r\n\r\n saveManualPayment(postData: any) {\r\n return this._http.post(`${this.apiUrl}/invoices/savemanualpayment`, postData);\r\n\r\n }\r\n\r\n updateInvoiceStatus(invoiceId: any, status: any) {\r\n return this._http.put(`${this.apiUrl}/invoices/${invoiceId}/status/${status}`, null);\r\n }\r\n\r\n getRecepientsForSendInvoice(entityName: any, recordId: any) {\r\n return this._http.get(`${this.apiUrl}/invoices/GetRecepientsForSendInvoice/${entityName}/${recordId}`);\r\n }\r\n\r\n updateProperties(invoiceId: any, payload: any) {\r\n return this._http.post(`${this.apiUrl}/invoices/${invoiceId}/updateProperties`, payload);\r\n }\r\n\r\n sendInvoieToEmails(payload: any) {\r\n return this._http.post(`${this.apiUrl}/invoices/SendInvoiceToEmails`, payload);\r\n }\r\n\r\n // apiService.get('api/invoices/GetAdjustmentDetails/' + this.addAdjustment.ID, null).then(function (response) {\r\n getAdjustmentDetails(id:any){\r\n return this._http.get(`${this.apiUrl}/invoices/GetAdjustmentDetails/${id}`);\r\n }\r\n\r\n //apiService.get('api/invoices/subscriptions/' + this.invoiceId, null).then(function (response) {\r\n getSubscriptions(invoiceId:any){\r\n return this._http.get(`${this.apiUrl}/invoices/subscriptions/${invoiceId}`);\r\n }\r\n\r\n //apiService.post('api/invoices/SaveAdjustment', this.addAdjustment).then(function (response) {\r\n saveAddjustment(payload){\r\n return this._http.post(`${this.apiUrl}/invoices/SaveAdjustment`,payload);\r\n }\r\n \r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { map } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\nimport { CommonService } from './common.service';\r\nimport { AppSettingsService } from './app-settings.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MCBService {\r\n apiUrl = environment.apiBaseUrl\r\n constructor(private http:HttpClient, \r\n private commonService:CommonService) { }\r\n\r\n validate3DSToken(postData:any){\r\n let data:any={};\r\n data.SessionId = postData.session.id;\r\n data.AccountNumber = postData.sourceOfFunds.provided.card.number\r\n data.EntityName = this.commonService.entityName;\r\n data.RecordId = this.commonService.recordId;\r\n return this.http.post(`${this.apiUrl}/mcb/validate3DSecure`,data)\r\n .pipe(map((res: any) => {\r\n return res.Data;\r\n }));\r\n } \r\n \r\n getPendingPaymentProfiles(){\r\n return this.http.get(`${this.apiUrl}/paymentProfiles/${this.commonService.entityName}/${this.commonService.recordId}/pendingPaymentProfiles/false`)\r\n .pipe(\r\n map((res: any) => {\r\n return res.Data;\r\n }));\r\n }\r\n //getMCBBillingConfig()\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { CommonService } from './common.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { map } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProductRenewalManagementService {\r\n apiUrl = environment.apiBaseUrl;\r\n private productsApiUrl = environment.apiBaseUrl + '/products';\r\n productItems:any[] = [];\r\n tempId:number = 1;\r\n\r\n constructor(private _http: HttpClient,private _commonService: CommonService) { }\r\n\r\n getSubscriptionsRenewalDetails(searchCriteria: any)\r\n {\r\n let params = this._commonService.buildHttpParamsObject(searchCriteria);\r\n return this._http.get(`${this.apiUrl}/purchasedproduct/renewalManagement`, {params: params});\r\n\r\n }\r\n\r\n saveCustomerConsentOnRenewal(reqBody: any){\r\n return this._http.post(`${this.apiUrl}/purchasedproduct/saveCustomerConsentOnRenewal`, reqBody)\r\n }\r\n\r\n getRenewalConsentHistory(historySearchCriteria: any){\r\n let params = this._commonService.buildHttpParamsObject(historySearchCriteria);\r\n return this._http.get(`${this.apiUrl}/purchasedproduct/renewalConsentHistory`, {params: params});\r\n\r\n }\r\n \r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { environment } from 'src/environments/environment';\r\nimport { CommonService } from './common.service';\r\nimport { Observable } from 'rxjs';\r\nimport { MsalService } from '@azure/msal-angular';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TermsAndConditionsService {\r\n\r\n IsAcceptedTermsAndConditions:boolean = false;\r\n\r\n\r\n\r\n\r\n apiUrl = environment.apiBaseUrl;\r\n constructor(\r\n private _http: HttpClient,\r\n private commonService: CommonService\r\n ) {\r\n\r\n\r\n\r\n }\r\n\r\n get GetIsAcceptedTermsAndConditions(){\r\n\r\n return this.IsAcceptedTermsAndConditions;\r\n }\r\n\r\n\r\n hasUserAcceptedTermsAndConditions(){\r\n return this._http.get(`${this.apiUrl}/termsAndConditions/${this.commonService.entityName}/${this.commonService.recordId}/HasUserAcceptedTermsAndConditions`);\r\n }\r\n\r\n\r\n acceptTermsAndConditions(reqBody:any){\r\n return this._http.post(`${this.apiUrl}/termsAndConditions/AcceptTermsAndConditions`,reqBody);\r\n }\r\n\r\n getTermsAndConditions(){\r\n return this._http.get(`${this.apiUrl}/termsAndConditions/${this.commonService.entityName}/${this.commonService.entityName}`)\r\n }\r\n\r\n\r\n\r\n}\r\n","import { Directive, ElementRef, EventEmitter, HostListener, Output } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[appClickOutSide]',\r\n standalone: true\r\n})\r\nexport class ClickOutSideDirective {\r\n\r\n @Output() clickOutside = new EventEmitter();\r\n\r\n constructor(private elementRef: ElementRef) {}\r\n\r\n @HostListener('document:click', ['$event.target'])\r\n public onClick(targetElement: HTMLElement): void {\r\n const clickedInside = this.elementRef.nativeElement.contains(targetElement);\r\n if (!clickedInside) {\r\n this.clickOutside.emit();\r\n }\r\n }\r\n\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'convertCommaSeparatedStringToList',\r\n standalone: true\r\n})\r\nexport class ConvertCommaSeparatedStringToListPipe implements PipeTransform {\r\n\r\n transform(value: string): string[] {\r\n if (value !== null) {\r\n var arr = value.split(',');\r\n return arr;\r\n }\r\n return [];\r\n }\r\n\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { CurrencyPipe } from './currency.pipe';\r\n\r\n@Pipe({\r\n name: 'megaNumber',\r\n standalone: true\r\n\r\n})\r\nexport class MegaNumberPipe implements PipeTransform {\r\n\r\n constructor(private currencyFilterPipe: CurrencyPipe) {}\r\n transform(value: number, currencySymbol: string, decimalPlaces: number, thousandSeparator: string, decimalSeparator: string, fractionSize?:any): string {\r\n if (value === null) return null;\r\n // Check if value is not a number\r\n currencySymbol = currencySymbol || \"$\";\r\n decimalPlaces = decimalPlaces || 2;\r\n thousandSeparator = thousandSeparator || \",\";\r\n decimalSeparator = decimalSeparator || \".\";\r\n if (value === 0) {\r\n let zeroVal = null;\r\n if (currencySymbol === undefined || currencySymbol === null || currencySymbol === '') {\r\n zeroVal = value;\r\n } else {\r\n zeroVal = this.currencyFilterPipe.transform(value, currencySymbol, decimalPlaces, thousandSeparator, decimalSeparator);\r\n }\r\n return zeroVal;\r\n }\r\n \r\n if (!fractionSize || fractionSize < 0) fractionSize = 1;\r\n let abs = Math.abs(value);\r\n let rounder = Math.pow(10, fractionSize);\r\n let isNegative = value < 0;\r\n let key = '';\r\n let powers = [\r\n { key: \"Q\", value: Math.pow(10, 15) },\r\n { key: \"T\", value: Math.pow(10, 12) },\r\n { key: \"B\", value: Math.pow(10, 9) },\r\n { key: \"M\", value: Math.pow(10, 6) },\r\n { key: \"K\", value: 1000 }\r\n ];\r\n for (let i = 0; i < powers.length; i++) {\r\n\r\n let reduced = abs / powers[i].value;\r\n \r\n reduced = Math.round(reduced * rounder) / rounder;\r\n \r\n if (reduced >= 1) {\r\n abs = reduced;\r\n key = powers[i].key;\r\n break;\r\n }\r\n }\r\n\r\n if (currencySymbol === undefined || currencySymbol === null || currencySymbol === '') {\r\n abs = abs;\r\n } else {\r\n abs = this.currencyFilterPipe.transform(abs, currencySymbol, decimalPlaces, thousandSeparator, decimalSeparator);\r\n }\r\n return (isNegative ? '-' : '') + abs + key;\r\n\r\n\r\n\r\n\r\n // if (isNaN(value)) {\r\n // return '';\r\n // }\r\n\r\n // // Define symbols for mega, giga, tera, peta, exa, zetta, and yotta\r\n // const symbols = ['', 'k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y'];\r\n\r\n // // Calculate the magnitude of the number\r\n // const magnitude = Math.floor(Math.log(value) / Math.log(1000));\r\n // // Format the number with appropriate magnitude\r\n // const formattedValue:any = (value / Math.pow(1000, magnitude)).toFixed(decimalPlaces);\r\n \r\n // if (isNaN(formattedValue)) {\r\n // console.log(\"data56656666666\",formattedValue);\r\n \r\n // }\r\n // // Round the value to the nearest tenth\r\n // const roundedValue = Math.round(parseFloat(formattedValue) * 10) / 10;\r\n // console.log(\"data566566\",value, currencySymbol+'1', roundedValue+'2',symbols[magnitude])+'3';\r\n \r\n // // Construct the formatted string with currency symbol and separators\r\n // return ((currencySymbol||'') + (roundedValue.toFixed(2)||'') + (symbols[magnitude])|| '')||'';\r\n }\r\n}\r\n","import { DatePipe } from '@angular/common';\r\nimport { Pipe, PipeTransform } from '@angular/core';\r\nimport moment from 'moment';\r\nimport { AppSettingsService } from 'src/app/services/app-settings.service';\r\nimport { C3DatePipe } from './dateTimeFilter.pipe';\r\n\r\n@Pipe({\r\n name: 'showSelectedFirstPeriod',\r\n standalone:true\r\n})\r\nexport class ShowSelectedFirstPeriodPipe implements PipeTransform {\r\n constructor(private c3Date: C3DatePipe){}\r\n transform(billingPeriodsData: any[]=[],selectedBillingPeriodId:any): string {\r\n // if (!input) {\r\n // return '';\r\n // }\r\n\r\n // // Convert input to UTC date\r\n // const stillUtc = moment.utc(input).toDate();\r\n // // Convert UTC date to local date\r\n // const local = new Date(stillUtc);\r\n // // Format the date\r\n // return moment(local).format(dateFormat);\r\n let index = billingPeriodsData.findIndex(\r\n (item: any) => item.BillingPeriodId == selectedBillingPeriodId\r\n );\r\n \r\n if (index != -1) {\r\n const billingStartDate = this.c3Date.transform(\r\n billingPeriodsData[index].BillingStartDate\r\n );\r\n const billingEndDate = this.c3Date.transform(\r\n billingPeriodsData[index].BillingEndDate\r\n );\r\n \r\n return `${billingStartDate} - ${billingEndDate} (${billingPeriodsData[index]?.BillingId})`;\r\n } else {\r\n return 'All period';\r\n }\r\n }\r\n}\r\n"],"x_google_ignoreList":[]}