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,QANuD,OAG3C,YAAAvB,IAAV,SAAcC,GACZ,MAAO,UAAG,IAAYC,QAAO,wDAAgDD,EAAWuB,2BAA0B,qCAA6BvB,EAAWmB,UAC5J,EACF,EANA,CAAuD,I,shBCZvD,2B,2gBACY,EAAAtB,OAAwB,IAAcC,I,CAKlD,QAN0C,OAG9B,YAAAC,IAAV,WACE,MAAO,wBACT,EACF,EANA,CAA0C,I,giBCK1C,2B,2gBACY,EAAAF,OAAwB,IAAcC,I,CAKlD,QANoC,OAGxB,YAAAC,IAAV,SAAca,GACZ,MAAO,UAAG,IAAYX,QAAO,oCAA4BuB,mBAAmBZ,EAAYa,OAC1F,EACF,EANA,CAAoC,I,uhBCDpC,2B,2gBACY,EAAA5B,OAAwB,IAAcC,I,CAKlD,QANqD,OAGzC,YAAAC,IAAV,SAAca,GACZ,MAAO,oBAAaA,EAAYc,aAAY,YAAId,EAAYe,WAAU,QACxE,EACF,EANA,CAAqD,I,shBCgBrD,2B,2gBACY,EAAA9B,OAAwB,IAAcC,I,CAKlD,QANkD,OAGtC,YAAAC,IAAV,SAAca,GACZ,MAAO,oBAAaA,EAAYc,aAClC,EACF,EANA,CAAkD,I,iiBCflD,2B,2gBACY,EAAA7B,OAAwB,IAAcyB,I,CAKlD,QANkD,OAGtC,YAAAvB,IAAV,SAAcC,GACZ,MAAO,UAAG,IAAYC,QAAO,wCAAgCD,EAAWe,2BAC1E,EACF,EANA,CAAkD,I,wBCTlD,IAAYa,E,gCAAZ,SAAYA,GACV,cACA,4BACA,kCACA,kCACA,oBACA,0BACA,yBACD,CARD,CAAYA,IAAAA,EAAa,I,uECOZC,EAAiB,IAAI,IALe,CAE/CC,OAAO,ICKHxB,ECFyB,IAAI,IALc,CAE/CwB,OAAO,KDKmDD,C,wBET5D,IAAYE,E,gCAAZ,SAAYA,GACV,sBACA,uBACD,CAHD,CAAYA,IAAAA,EAAW,I","sources":["webpack://iadviser/./src/endpoints/adviser-funder-credentials-endpoint.ts","webpack://iadviser/./src/endpoints/auth/reset-password-endpoint.ts","webpack://iadviser/./src/endpoints/auth/token-endpoint.ts","webpack://iadviser/./src/endpoints/change-password-endpoint.ts","webpack://iadviser/./src/endpoints/client/forms/consent-form-config-endpoint.ts","webpack://iadviser/./src/endpoints/client/forms/form-action-endpoint.ts","webpack://iadviser/./src/endpoints/client/forms/form-submit-endpoint.ts","webpack://iadviser/./src/endpoints/client/forms/consent-form-submit-endpoint.ts","webpack://iadviser/./src/endpoints/client/forms/form-get-endpoint.ts","webpack://iadviser/./src/endpoints/convert/convert-html-to-pdf-endpoint.ts","webpack://iadviser/./src/endpoints/create-funder-password-endpoint.ts","webpack://iadviser/./src/endpoints/delete-funder-password-endpoint.ts","webpack://iadviser/./src/endpoints/docmgmt/docmgmt-get-template-endpoint.ts","webpack://iadviser/./src/endpoints/docmgmt/docmgmt-get-templates-endpoint.ts","webpack://iadviser/./src/endpoints/fill-document-tree-endpoint.ts","webpack://iadviser/./src/endpoints/get-all-folders-endpoint.ts","webpack://iadviser/./src/endpoints/get-external-system-password-endpoint.ts","webpack://iadviser/./src/endpoints/home/notifications-endpoint.ts","webpack://iadviser/./src/endpoints/images/html-base64-image-upload-endpoint.ts","webpack://iadviser/./src/endpoints/licence-acceptance-endpoint.ts","webpack://iadviser/./src/endpoints/licence-agreement-endpoint.ts","webpack://iadviser/./src/endpoints/messages-endpoint.ts","webpack://iadviser/./src/endpoints/post-external-system-password-endpoint.ts","webpack://iadviser/./src/endpoints/put-external-system-password-endpoint.ts","webpack://iadviser/./src/endpoints/refdata/api-endpoints-endpoint.ts","webpack://iadviser/./src/endpoints/search/search-endpoint.ts","webpack://iadviser/./src/endpoints/template/template-get-template-html-endpoint.ts","webpack://iadviser/./src/endpoints/template/template-get-templates-endpoint.ts","webpack://iadviser/./src/endpoints/update-funder-password-endpoint.ts","webpack://iadviser/./src/enums/insured-action.ts","webpack://iadviser/./src/environments/dev.ts","webpack://iadviser/./src/environment.ts","webpack://iadviser/./src/environments/prod.ts","webpack://iadviser/./src/feature-flags.ts"],"sourcesContent":["import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { IAdviserFunderCredentials } from 'interfaces/i-adviser-funder-credentials';\r\n\r\nexport interface IRouteParamsAdviserFunderCredentials {\r\n adviserId: number;\r\n}\r\n\r\nexport class AdviserFunderCredentialsEndpoint extends JsonEndpoint<\r\n IRouteParamsAdviserFunderCredentials,\r\n void,\r\n IAdviserFunderCredentials\r\n> {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IRouteParamsAdviserFunderCredentials): string {\r\n return `${environment.apiHost}/api/premiumfunder/passwords?adviserId=${parameters.adviserId}`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IResetPasswordBody {\r\n emailAddress: string;\r\n}\r\n\r\nexport interface IResetPasswordResponse {\r\n success: boolean;\r\n message: string;\r\n}\r\n\r\nexport class ResetPasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/users/resetpassword`;\r\n }\r\n}\r\n","import { FormEndpoint } from 'resources/endpoints/form-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface ITokenResponse {\r\n access_token: string;\r\n token_type: string;\r\n expires_in: number;\r\n refresh_token: string;\r\n 'as:client_id': string;\r\n 'as:tenant': string | null;\r\n userName: string;\r\n '.issued': string;\r\n '.expires': string;\r\n}\r\n\r\nexport class AuthTokenEndpoint extends FormEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/token`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IRequestBodyChangePassword {\r\n currentPassword: string;\r\n newPassword: string;\r\n confirmPassword: string;\r\n}\r\n\r\nexport interface IResponseChangePassword {\r\n errors: {\r\n errorKey: string;\r\n }[];\r\n}\r\n\r\nexport class ChangePasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/users/changepassword`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport type { IWebFormConfigParameters } from './shared-models';\r\nimport type { IFormConfig } from 'interfaces/i-form-config';\r\n\r\nexport class ConsentFormConfigEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IWebFormConfigParameters): string {\r\n return `${environment.apiHost}api/clients/${parameters.clientId}/forms/consent/${parameters.webFormId}/actions/config`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport type { IWebFormActionParameters } from './shared-models';\r\n\r\nexport abstract class FormActionEndpoint<\r\n TActionParameters extends IWebFormActionParameters,\r\n TActionRequest,\r\n TActionResponse,\r\n> extends JsonEndpoint {\r\n protected abstract get formType(): string;\r\n\r\n protected abstract get actionType(): string;\r\n\r\n protected uri(parameters: TActionParameters): string {\r\n return `${environment.apiHost}api/clients/${parameters.clientId}/forms/${this.formType}/${parameters.webFormId}/actions/${this.actionType}`;\r\n }\r\n}\r\n","import { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport type { IWebForm, IWebFormSubmitParameters, IWebFormSubmitRequest } from './shared-models';\r\nimport { FormActionEndpoint } from './form-action-endpoint';\r\n\r\nexport abstract class FormSubmitEndpoint<\r\n TSubmitParameters extends IWebFormSubmitParameters,\r\n TSubmitRequest extends IWebFormSubmitRequest,\r\n TSubmitResponse extends IWebForm,\r\n> extends FormActionEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected get actionType() {\r\n return 'submit';\r\n }\r\n}\r\n","import { FormSubmitEndpoint } from \"./form-submit-endpoint\";\r\nimport { IWebForm, IWebFormSubmitParameters, IWebFormSubmitRequest } from \"./shared-models\";\r\n\r\nexport class ConsentFormSubmitEndpoint extends FormSubmitEndpoint {\r\n protected get formType(): string {\r\n return \"consent\";\r\n }\r\n}","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport type { IWebForm, IWebFormGetParameters } from './shared-models';\r\n\r\nexport interface IRequestParametersFormGet {\r\n clientId: number;\r\n webFormId: number;\r\n}\r\n\r\nexport class FormGetEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IRequestParametersFormGet): string {\r\n return `${environment.apiHost}api/clients/${parameters.clientId}/forms/${parameters.webFormId}`;\r\n }\r\n}\r\n","import { BinaryEndpoint } from 'resources/endpoints/binary-endpoint';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IConvertHtmlToPdfParams {\r\n addWatermark: boolean;\r\n}\r\n\r\n/**\r\n * POSTs raw HTML as the request body (string), returns a PDF Blob.\r\n * Uses relative `/convert` path so dev proxy + prod origin routing work without `environment.*`.\r\n */\r\nexport class ConvertHtmlToPdfEndpoint extends BinaryEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(routeParams: IConvertHtmlToPdfParams): string {\r\n return `/convert/html/pdf?addWatermark=${routeParams.addWatermark}`;\r\n }\r\n}\r\n\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { FunderCredential } from 'resources/models/client';\r\n\r\nexport class CreateFunderPasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/premiumfunder/passwords`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IRouteParamsDeleteFunderPassword {\r\n adviserFunderCredentialsId: number;\r\n}\r\n\r\nexport class DeleteFunderPasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.delete;\r\n\r\n protected uri(parameters: IRouteParamsDeleteFunderPassword): string {\r\n return `${environment.apiHost}/api/premiumfunder/passwords/${parameters.adviserFunderCredentialsId}`;\r\n }\r\n}\r\n","import { TextEndpoint } from 'resources/endpoints/text-endpoint';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IDocMgmtGetTemplateParams {\r\n clientId: number;\r\n templateKey: string;\r\n}\r\n\r\nexport class DocMgmtGetTemplateEndpoint extends TextEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(routeParams: IDocMgmtGetTemplateParams): string {\r\n return `/api/clients/${routeParams.clientId}/docmgmt/template/${routeParams.templateKey}`;\r\n }\r\n}\r\n\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IDocMgmtGetTemplatesParams {\r\n clientId: number;\r\n folderType: string;\r\n entityId: number;\r\n}\r\n\r\nexport interface IDocMgmtTemplateListItem {\r\n templateName: string;\r\n groupId: number | null;\r\n templateKey: string;\r\n}\r\n\r\nexport class DocMgmtGetTemplatesEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(routeParams: IDocMgmtGetTemplatesParams): string {\r\n return `/api/clients/${routeParams.clientId}/docmgmt/template/list/${routeParams.folderType}/${routeParams.entityId}`;\r\n }\r\n}\r\n\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IRouteParamsFillDocTree {\r\n clientId: number;\r\n}\r\n\r\nexport class FillDocumentTreeEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(parameters: IRouteParamsFillDocTree): string {\r\n return `${environment.apiHost}/api/clients/${parameters.clientId}/docmgmt`;\r\n }\r\n}\r\n","import * as Dtos from 'components/document-management/dtos';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IRouteParamsGetAllFolders {\r\n clientId: number;\r\n}\r\n\r\nexport class GetAllFoldersEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IRouteParamsGetAllFolders): string {\r\n return `${environment.apiHost}/api/clients/${parameters.clientId}/docmgmt`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IRouteParamsGetExternalSystemPassword {\r\n systemKey: string;\r\n}\r\n\r\nexport class GetExternalSystemPasswordEndpoint extends JsonEndpoint> {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IRouteParamsGetExternalSystemPassword): string {\r\n return `${environment.apiHost}/api/users/current/externalsystemcredentials?externalSystemIdentifier=${parameters.systemKey}`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { INotificationGroup } from 'interfaces/i-notification-group';\r\n\r\nexport class NotificationsEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/homepage/notifications`;\r\n }\r\n}\r\n","import { TextEndpoint } from 'resources/endpoints/text-endpoint';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport class HtmlBase64ImageUploadEndpoint extends TextEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(): string {\r\n return '/api/images/htmlBase64';\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport class LicenceAcceptanceEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/users/current/licenceacceptance`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport class LicenceAgreementEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/users/current/licenceagreement`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { IMessage } from 'interfaces/i-message';\r\n\r\nexport interface IRouteParamsMessages {\r\n priority: string;\r\n status: string;\r\n}\r\n\r\nexport class MessagesEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IRouteParamsMessages = { priority: 'all', status: 'all' }): string {\r\n return `${environment.apiHost}/api/homepage/messages?priority=${parameters.priority}&status=${parameters.status}`;\r\n }\r\n}\r\n\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { IExternalSystemCredential } from 'interfaces/i-external-system-credential';\r\n\r\nexport interface IRouteParamsPostExternalSystemPassword {\r\n systemKey: string;\r\n}\r\n\r\nexport interface IRequestBodyPostExternalSystemPassword {\r\n userName: string;\r\n password: string;\r\n confirmPassword: string;\r\n externalSystemCredentialId?: string;\r\n}\r\n\r\nexport class PostExternalSystemPasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(parameters: IRouteParamsPostExternalSystemPassword): string {\r\n return `${environment.apiHost}/api/users/current/externalsystemcredentials?externalSystemIdentifier=${parameters.systemKey}`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IRouteParamsPutExternalSystemPassword {\r\n externalSystemCredentialId: number;\r\n systemKey: string;\r\n}\r\n\r\nexport interface IRequestBodyPutExternalSystemPassword {\r\n userName: string;\r\n password: string;\r\n confirmPassword: string;\r\n externalSystemCredentialId?: string;\r\n}\r\n\r\nexport class PutExternalSystemPasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.put;\r\n\r\n protected uri(parameters: IRouteParamsPutExternalSystemPassword): string {\r\n return `${environment.apiHost}/api/users/current/externalsystemcredentials/${parameters.externalSystemCredentialId}?externalSystemIdentifier=${parameters.systemKey}`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { ApiEndpoints } from 'routes/app-adviser/client/quotes/interfaces';\r\n\r\nexport class ApiEndpointsEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return '/api/refdata/endpoints';\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { ISearchResponse } from 'interfaces/i-search-response';\r\n\r\nexport interface ISearchParams {\r\n query: string;\r\n}\r\n\r\nexport class SearchEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(routeParams: ISearchParams): string {\r\n return `${environment.apiHost}/api/search?searchString=${encodeURIComponent(routeParams.query)}`;\r\n }\r\n}\r\n","import { TextEndpoint } from 'resources/endpoints/text-endpoint';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface ITemplateGetTemplateHtmlParams {\r\n templateType: string;\r\n templateId: number;\r\n}\r\n\r\nexport class TemplateGetTemplateHtmlEndpoint extends TextEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(routeParams: ITemplateGetTemplateHtmlParams): string {\r\n return `/template/${routeParams.templateType}/${routeParams.templateId}/html`;\r\n }\r\n}\r\n\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface ITemplateGetTemplatesParams {\r\n templateType: string;\r\n}\r\n\r\nexport interface ITemplate {\r\n id: number;\r\n name: string;\r\n content?: string;\r\n templateType: number;\r\n}\r\n\r\nexport interface ITemplatesWithCategories {\r\n category: string;\r\n templates: ITemplate[];\r\n}\r\n\r\nexport interface ITemplatesResponse {\r\n templatesWithCategories: ITemplatesWithCategories[];\r\n templateType: number;\r\n}\r\n\r\nexport class TemplateGetTemplatesEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(routeParams: ITemplateGetTemplatesParams): string {\r\n return `/template/${routeParams.templateType}`;\r\n }\r\n}\r\n\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { FunderCredential } from 'resources/models/client';\r\n\r\nexport interface IRouteParamsUpdateFunderPassword {\r\n adviserFunderCredentialsId: number;\r\n}\r\n\r\nexport class UpdateFunderPasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.put;\r\n\r\n protected uri(parameters: IRouteParamsUpdateFunderPassword): string {\r\n return `${environment.apiHost}/api/premiumfunder/passwords/${parameters.adviserFunderCredentialsId}`;\r\n }\r\n}\r\n","export enum InsuredAction {\r\n NoAction = '',\r\n AddLocation = 'addLocation',\r\n UpdateLocation = 'updateLocation',\r\n DeleteLocation = 'deleteLocation',\r\n AddRisk = 'addRisk',\r\n UpdateRisk = 'updateRisk',\r\n DeleteRisk = 'deleteRisk'\r\n}\r\n","import { Environment, PartialEnvironment } from 'base-environment';\r\n\r\nconst environmentOverrides: PartialEnvironment = {\r\n // ### Include all the development release settings overrides ###\r\n debug: true\r\n};\r\n\r\nexport const DevEnvironment = new Environment(environmentOverrides);\r\n","import { DevEnvironment } from './environments/dev';\r\nimport { ProdEnvironment } from './environments/prod';\r\n\r\nconst environmentMap = {\r\n development: DevEnvironment,\r\n production: ProdEnvironment,\r\n};\r\n\r\n// note, this will resolve at build time\r\nconst environment = environmentMap[process.env.NODE_ENV] || DevEnvironment;\r\n\r\nexport { environment };\r\n","import { Environment, PartialEnvironment } from 'base-environment';\r\n\r\nconst environmentOverrides: PartialEnvironment = {\r\n // ### Include all the production release settings overrides ###\r\n debug: false\r\n};\r\n\r\nexport const ProdEnvironment = new Environment(environmentOverrides);\r\n","export enum FeatureFlag {\r\n qceDebug = 'qceDebug',\r\n christmas = 'christmas',\r\n}\r\n"],"names":["method","get","uri","parameters","apiHost","adviserId","post","clientId","webFormId","environment","this","formType","actionType","FormActionEndpoint","FormSubmitEndpoint","routeParams","addWatermark","delete","adviserFunderCredentialsId","templateKey","folderType","entityId","systemKey","priority","status","put","externalSystemCredentialId","encodeURIComponent","query","templateType","templateId","InsuredAction","DevEnvironment","debug","FeatureFlag"],"sourceRoot":""}