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AA2G,+gBACY1G,EAAAC,OAAwByC,EAAAvC,EAAc8F,KAKlD,QANkD5F,EAAAqG,EAAA3G,GAGtC2G,EAAApG,UAAAC,IAAV,SAAcC,GACZ,MAAO,GAAAC,OAAGkC,EAAAhC,EAAYC,QAAO,iCAAAH,OAAgCD,EAAWoE,2BAC1E,EACF8B,CAAA,CANA,CAAkD7D,EAAApB,0BCTlD,IAAYkF,kCAAZ,SAAYA,GACVA,EAAA,YACAA,EAAA,0BACAA,EAAA,gCACAA,EAAA,gCACAA,EAAA,kBACAA,EAAA,wBACAA,EAAA,uBACD,CARD,CAAYA,IAAAA,EAAa","sources":["webpack://iadviser/./src/endpoints/admin/qce/find-approved-questions.ts","webpack://iadviser/./src/endpoints/admin/qce/get-calculation-sources-for-display-type.ts","webpack://iadviser/./src/endpoints/admin/qce/get-document-sections-endpoint.ts","webpack://iadviser/./src/endpoints/admin/qce/get-question-collection-apply-types-endpoint.ts","webpack://iadviser/./src/endpoints/admin/qce/get-question-collection-question-display-types-endpoint.ts","webpack://iadviser/./src/endpoints/admin/qce/get-question-collection-types-endpoint.ts","webpack://iadviser/./src/endpoints/admin/qce/get-question-report-codes-endpoint.ts","webpack://iadviser/./src/endpoints/admin/qce/shared-models.ts","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"],"sourcesContent":["import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { IQuestionSearchResult } from './shared-models';\r\n\r\nexport interface IFindApprovedQuestionsRequest {\r\n questionText: string | null;\r\n questionTextOperator: string | null;\r\n}\r\n\r\nexport class FindApprovedQuestionsEndpoint extends JsonEndpoint<\r\n IFindApprovedQuestionsRequest,\r\n void,\r\n IQuestionSearchResult[]\r\n> {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IFindApprovedQuestionsRequest): string {\r\n const uri = `${environment.apiHost}/api/admin/qce/questions/findApproved`;\r\n\r\n const queryString = Object.entries(parameters)\r\n .map(([key, value]) => {\r\n return `${encodeURIComponent(key)}=${encodeURIComponent(value as string | number | boolean)}`;\r\n })\r\n .join('&');\r\n\r\n if (queryString) {\r\n return `${uri}?${queryString}`;\r\n }\r\n\r\n return uri;\r\n }\r\n}\r\n","import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport type { IQuestionCalculationSource } from './shared-models';\r\n\r\nexport interface IRequestGetCalculationSourcesForDisplayType {\r\n collectionType: string | number;\r\n collectionSetId: number;\r\n collectionId: number;\r\n displayType: string | number;\r\n}\r\n\r\nexport class GetCalculationSourcesForDisplayTypeEndpoint extends JsonEndpoint<\r\n IRequestGetCalculationSourcesForDisplayType,\r\n void,\r\n IQuestionCalculationSource[]\r\n> {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IRequestGetCalculationSourcesForDisplayType): string {\r\n const uri = `${environment.apiHost}/api/admin/qce/sets/${parameters.collectionType}/${parameters.collectionSetId}/collections/${parameters.collectionId}/calculationSources/${parameters.displayType}`;\r\n\r\n return uri;\r\n }\r\n}\r\n","import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport type { IQuestionDocumentSection } from './shared-models';\r\n\r\nexport class GetDocumentSectionsEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/admin/qce/documentSections`;\r\n }\r\n}\r\n","import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport type { IQuestionCollectionApplyType } from './shared-models';\r\n\r\nexport class GetQuestionCollectionApplyTypesEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/admin/qce/collections/applyTypes`;\r\n }\r\n}\r\n","import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport type { IQuestionDisplayType } from './shared-models';\r\n\r\nexport class GetQuestionCollectionQuestionDisplayTypesEndpoint extends JsonEndpoint<\r\n void,\r\n void,\r\n IQuestionDisplayType[]\r\n> {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/admin/qce/questions/displayTypes`;\r\n }\r\n}\r\n","import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport type { IQuestionCollectionType } from './shared-models';\r\n\r\nexport class GetQuestionCollectionTypesEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/admin/qce/collections/types`;\r\n }\r\n}\r\n","import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport type { IQuestionReportCode } from './shared-models';\r\n\r\nexport class GetQuestionReportCodesEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/admin/qce/questions/reportCodes`;\r\n }\r\n}\r\n","export const NextQuestion = {\r\n GoToEnd: -1,\r\n};\r\n\r\nexport enum QuestionDocumentSection {\r\n Header = 600_000_000,\r\n Underwriting = 600_000_001,\r\n DoNotPrint = 600_000_002,\r\n}\r\n\r\n// This is an enum for representing optional question features via bitwise flags\r\n// Thus each value should is a power of 2 (1, 2, 4, 8, etc.)\r\nexport enum QuestionFeature {\r\n None = 0,\r\n\r\n Autorate = 1 << 0,\r\n\r\n Interface = 1 << 1,\r\n\r\n PremiumRating = 1 << 2,\r\n\r\n // Represents a collection type that supports recording whether a question is mandatory\r\n Mandatory = 1 << 3,\r\n\r\n // Represents a collection type where the mandatory question value is handled by two values\r\n MandatorySplit = 1 << 4,\r\n\r\n LMI = 1 << 5,\r\n\r\n CoverageDocument = 1 << 6,\r\n\r\n Web = 1 << 7,\r\n}\r\n\r\nexport enum ResponseType {\r\n DropDownList = 600_000_000,\r\n AnyAnswer = 600_000_001,\r\n Currency = 600_000_002,\r\n Date = 600_000_003,\r\n Decimal = 600_000_004,\r\n FreeText = 600_000_005,\r\n Number = 600_000_006,\r\n}\r\n\r\nexport interface IPolicyVersionCreatedToday {\r\n actionType: string;\r\n coverNumber: string;\r\n policyVersionId: number;\r\n versionNo: number;\r\n}\r\n\r\nexport interface IQuestionAnswer {\r\n answerId: number | null;\r\n answerText: string;\r\n}\r\n\r\nexport interface IQuestionCalculationSource {\r\n sourceGroupDisplayName: string;\r\n sourceGroupSequenceNo: number;\r\n sourceQuestionId: number;\r\n sourceQuestionSequenceNo: number;\r\n sourceQuestionText: string;\r\n}\r\n\r\nexport interface IQuestionCollectionLight {\r\n applyType: number | null;\r\n approved: boolean;\r\n comment: string | null;\r\n questionCollectionId: number;\r\n validFrom: string;\r\n}\r\n\r\nexport interface IQuestionCollection {\r\n applyType: number | null;\r\n approved: boolean;\r\n comment: string | null;\r\n questionCollectionId: number;\r\n questionGroups: IQuestionCollectionGroup[];\r\n validFrom: string;\r\n}\r\n\r\nexport interface IQuestionCollectionApprovalChangeModel {\r\n incompletePolicyVersionToDelete?: number[] | null;\r\n policyVersionsToDelete?: number[] | null;\r\n quoteWebFormsToDelete?: number[] | null;\r\n quotesToDelete?: number[] | null;\r\n}\r\n\r\nexport interface IQuestionCollectionExistingEntitiesState {\r\n incompletePolicyVersionsCreatedToday: IQuoteCreatedToday[];\r\n policyVersionsCreatedToday: IPolicyVersionCreatedToday[];\r\n quoteWebFormsCreatedToday: IQuoteWebFormCreatedToday[];\r\n quotesCreatedToday: IQuoteCreatedToday[];\r\n}\r\n\r\nexport interface IQuestionCollectionUpdate {\r\n applyType: number | null;\r\n comment: string | null;\r\n validFrom: string;\r\n}\r\n\r\nexport interface IQuestionCollectionApplyType {\r\n id: number;\r\n name: string;\r\n synopsis: string | null;\r\n system: boolean;\r\n}\r\n\r\nexport interface IQuestionCollectionFlow {\r\n applyType: number | null;\r\n approved: boolean;\r\n comment: string | null;\r\n questionCollectionId: number;\r\n questionGroups: IQuestionCollectionGroupFlow[];\r\n validFrom: string;\r\n}\r\n\r\nexport interface IQuestionCollectionFlowUpdate {\r\n [key: number]: number;\r\n}\r\n\r\nexport interface IQuestionCollectionFormatOptions {\r\n bold: boolean;\r\n italics: boolean;\r\n underline: boolean;\r\n}\r\n\r\nexport interface IQuestionCollectionGroup extends IQuestionCollectionGroupLight {\r\n questions: IQuestionSimple[];\r\n}\r\n\r\nexport interface IQuestionCollectionGroupLight {\r\n displayGroupFlag: boolean;\r\n questionGroupDescription: string | null;\r\n questionGroupDescriptionFormat: IQuestionCollectionGroupFormatOptions;\r\n questionGroupId: number;\r\n questionGroupName: string;\r\n questionGroupNameFormat: IQuestionCollectionGroupFormatOptions;\r\n}\r\n\r\nexport interface IQuestionCollectionGroupFlow {\r\n questionGroupId: number;\r\n questionGroupName: string;\r\n questionGroupDescription: string;\r\n questions: IQuestionFlow[];\r\n}\r\n\r\nexport interface IQuestionCollectionGroupAddOrUpdate {\r\n displayGroupFlag: boolean;\r\n questionGroupDescription: string | null;\r\n questionGroupDescriptionFormat: IQuestionCollectionGroupFormatOptions;\r\n questionGroupName: string;\r\n questionGroupNameFormat: IQuestionCollectionGroupFormatOptions;\r\n}\r\n\r\nexport interface IQuestionCollectionGroupAndQuestionIds {\r\n questionGroupId: number;\r\n questionIds: number[];\r\n}\r\n\r\nexport type IQuestionCollectionGroupsWithQuestionIds = IQuestionCollectionGroupAndQuestionIds[];\r\n\r\nexport interface IQuestionCollectionGroupFormatOptions extends IQuestionCollectionFormatOptions {\r\n doNotPrint: boolean;\r\n}\r\n\r\nexport interface IQuestionCollectionSetSimple {\r\n collectionSetDescription: string;\r\n collectionSetId: number;\r\n collectionType: number | string;\r\n}\r\n\r\nexport interface IQuestionCollectionType {\r\n approvableFromToday: boolean;\r\n collectionType: number;\r\n description: string;\r\n filterBy: string[];\r\n optionalFeatures: QuestionFeature;\r\n}\r\n\r\nexport interface IQuestionDetail {\r\n alertText: string | null;\r\n answerLength: number | null;\r\n autorateFlag: boolean;\r\n autorateQuestionName: string | null;\r\n defaultScheduleText: string | null;\r\n displayOnDocument: IQuestionDisplayOnDocument;\r\n displayType: number | string;\r\n documentSection: QuestionDocumentSection;\r\n hideOnWebQuoteFlag: boolean;\r\n interfaceQuestionFlag: boolean;\r\n interfaceQuestionName: string | null;\r\n lmiIdentifier: string | null;\r\n mandatoryOnPolicyFlag: boolean;\r\n mandatoryOnQuoteFlag: boolean;\r\n mandatoryOnWebFormFlag: boolean;\r\n onlyDisplayOnWebFormFlag: boolean;\r\n premiumRatingFlag: boolean;\r\n questionText: string;\r\n quickQuoteFlag: boolean;\r\n readOnlyFlag: boolean;\r\n reportCode: IQuestionReportCode | null;\r\n scheduleAnswerFormatOptions: IQuestionCollectionFormatOptions;\r\n scheduleQuestionFormatOptions: IQuestionCollectionFormatOptions;\r\n scheduleText: string;\r\n summaryQuestionFlag: boolean;\r\n summaryText: string | null;\r\n suppressOptions: IQuestionSuppressOptions;\r\n useOnWebFormFlag: boolean;\r\n webFormAlertText: string | null;\r\n webFormQuestionText: string | null;\r\n wizardQuestionFormatOptions: IQuestionCollectionFormatOptions;\r\n}\r\n\r\nexport interface IQuestionDisplayOnDocument {\r\n clientIncompleteScheduleFlag: boolean;\r\n clientPolicyScheduleFlag: boolean;\r\n clientQuoteScheduleFlag: boolean;\r\n insurerIncompleteScheduleFlag: boolean;\r\n insurerPolicyScheduleFlag: boolean;\r\n insurerQuoteScheduleFlag: boolean;\r\n}\r\n\r\nexport interface IQuestionDisplayType {\r\n attributes: IQuestionDisplayTypeAttribute[];\r\n description: string;\r\n displayType: number;\r\n hasAnswerOptions: boolean;\r\n hasDefaultAnswerTextComponent: boolean;\r\n hasFreeTextComponent: boolean;\r\n isCalculated: boolean;\r\n validCalculationDisplayTypes: number[];\r\n validCollectionTypes: (number | string)[];\r\n}\r\n\r\nexport interface IQuestionDisplayTypeAttribute {\r\n attributeId: number;\r\n attributeName: string;\r\n attributeType: number;\r\n defaultOption: number | null;\r\n defaultValue: number | null;\r\n options: IQuestionDisplayTypeAttributeOption[];\r\n required: boolean;\r\n synopsis: string;\r\n}\r\n\r\nexport interface IQuestionDisplayTypeAttributeOption {\r\n optionId: number;\r\n optionValue: string | null;\r\n}\r\n\r\nexport interface IQuestionDocumentSection {\r\n documentSection: QuestionDocumentSection;\r\n description: string;\r\n synopsis: string;\r\n}\r\n\r\nexport interface IQuestionFlow extends IQuestionSimple {\r\n responseFlows: IQuestionResponseFlow[];\r\n}\r\n\r\nexport interface IQuestionFull {\r\n answerOptions: IQuestionAnswer[];\r\n approved: boolean;\r\n calculated: boolean;\r\n calculationSources: IQuestionCalculationSource[];\r\n defaultAnswer: IQuestionAnswer | null;\r\n defaultAnswerText: string | null;\r\n detail: IQuestionDetail;\r\n isNew: boolean;\r\n questionAttributes: Record;\r\n questionId: number;\r\n questionNo: number;\r\n relatedQuestion: IRelatedQuestion | null;\r\n}\r\n\r\nexport interface IQuestionInGroupDescription {\r\n questionGroupId: number;\r\n questionGroupSequenceNo: number;\r\n questionGroupName: string;\r\n questionId: number;\r\n questionSequenceNo: number;\r\n questionText: string;\r\n}\r\n\r\nexport interface IQuestionReportCode {\r\n questionReportCodeId: number;\r\n questionReportCode: string;\r\n}\r\n\r\nexport interface IQuestionResponseFlow {\r\n answerText: string | null;\r\n nextQuestionId: number | null;\r\n questionFlowId: number;\r\n responseType: ResponseType;\r\n}\r\n\r\nexport interface IQuestionSimple {\r\n questionId: number;\r\n questionText: string;\r\n}\r\n\r\nexport interface IQuestionSearchResult extends IQuestionSimple {\r\n collectionBy: string;\r\n collectionType: number | string;\r\n questionNo: number;\r\n sequenceNo: number;\r\n}\r\n\r\nexport interface IQuestionSuppressOptions {\r\n suppressIfNullFlag: boolean;\r\n suppressIfZeroFlag: boolean;\r\n}\r\n\r\nexport interface IQuestionAddOrUpdate {\r\n alertText: string | null;\r\n answerLength: number | null;\r\n answerOptions: IQuestionAnswer[];\r\n autorateFlag: boolean;\r\n autorateQuestionName: string | null;\r\n calculationSources: number[];\r\n defaultAnswer: IQuestionAnswer | null;\r\n defaultAnswerText: string | null;\r\n defaultScheduleText: string | null;\r\n displayOnDocument: IQuestionDisplayOnDocument;\r\n displayType: string | number;\r\n documentSection: string | number;\r\n hideOnWebQuoteFlag: boolean;\r\n interfaceQuestionFlag: boolean;\r\n interfaceQuestionName: string | null;\r\n lmiIdentifier: string | null;\r\n mandatoryOnPolicyFlag: boolean;\r\n mandatoryOnQuoteFlag: boolean;\r\n mandatoryOnWebFormFlag: boolean;\r\n onlyDisplayOnWebFormFlag: boolean;\r\n premiumRatingFlag: boolean;\r\n questionAttributes: Record;\r\n questionText: string;\r\n quickQuoteFlag: boolean;\r\n readOnlyFlag: boolean;\r\n relatedQuestionNo: number | null;\r\n reportCodeId: number | null;\r\n scheduleAnswerFormatOptions: IQuestionCollectionFormatOptions;\r\n scheduleQuestionFormatOptions: IQuestionCollectionFormatOptions;\r\n scheduleText: string;\r\n summaryQuestionFlag: boolean;\r\n summaryText: string | null;\r\n suppressOptions: IQuestionSuppressOptions;\r\n useOnWebFormFlag: boolean;\r\n webFormAlertText: string | null;\r\n webFormQuestionText: string | null;\r\n wizardQuestionFormatOptions: IQuestionCollectionFormatOptions;\r\n}\r\n\r\nexport interface IQuoteCreatedToday {\r\n coverNumber: string;\r\n quoteId: number;\r\n quoteStatusType: string;\r\n quoteType: string;\r\n versionNo: number;\r\n}\r\n\r\nexport interface IQuoteWebFormCreatedToday extends IQuoteCreatedToday {\r\n webFormId: number;\r\n}\r\n\r\nexport interface IRelatedQuestion {\r\n questionNo: number;\r\n questionText: string;\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 { 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"],"names":["FindApprovedQuestionsEndpoint","_super","_this","method","resources_endpoints_endpoints__WEBPACK_IMPORTED_MODULE_1__","d","get","__extends","prototype","uri","parameters","concat","environment__WEBPACK_IMPORTED_MODULE_0__","c","apiHost","queryString","Object","entries","map","_a","_b","__read","key","value","encodeURIComponent","join","resources_endpoints_json_endpoint__WEBPACK_IMPORTED_MODULE_2__","y","GetCalculationSourcesForDisplayTypeEndpoint","collectionType","collectionSetId","collectionId","displayType","GetDocumentSectionsEndpoint","GetQuestionCollectionApplyTypesEndpoint","GetQuestionCollectionQuestionDisplayTypesEndpoint","GetQuestionCollectionTypesEndpoint","GetQuestionReportCodesEndpoint","QuestionDocumentSection","QuestionFeature","ResponseType","NextQuestion","GoToEnd","AdviserFunderCredentialsEndpoint","resources_endpoints_endpoints__WEBPACK_IMPORTED_MODULE_2__","environment__WEBPACK_IMPORTED_MODULE_1__","adviserId","resources_endpoints_json_endpoint__WEBPACK_IMPORTED_MODULE_0__","ResetPasswordEndpoint","post","AuthTokenEndpoint","resources_endpoints_form_endpoint__WEBPACK_IMPORTED_MODULE_0__","A","ChangePasswordEndpoint","ConsentFormConfigEndpoint","clientId","webFormId","FormActionEndpoint","environment","this","formType","actionType","json_endpoint","FormSubmitEndpoint","endpoints","form_submit_endpoint_extends","defineProperty","ConsentFormSubmitEndpoint","consent_form_submit_endpoint_extends","FormGetEndpoint","ConvertHtmlToPdfEndpoint","routeParams","addWatermark","resources_endpoints_binary_endpoint__WEBPACK_IMPORTED_MODULE_0__","p","CreateFunderPasswordEndpoint","DeleteFunderPasswordEndpoint","delete","adviserFunderCredentialsId","DocMgmtGetTemplateEndpoint","templateKey","resources_endpoints_text_endpoint__WEBPACK_IMPORTED_MODULE_0__","t","DocMgmtGetTemplatesEndpoint","folderType","entityId","FillDocumentTreeEndpoint","GetAllFoldersEndpoint","GetExternalSystemPasswordEndpoint","systemKey","NotificationsEndpoint","HtmlBase64ImageUploadEndpoint","LicenceAcceptanceEndpoint","LicenceAgreementEndpoint","MessagesEndpoint","priority","status","PostExternalSystemPasswordEndpoint","PutExternalSystemPasswordEndpoint","put","externalSystemCredentialId","ApiEndpointsEndpoint","SearchEndpoint","query","TemplateGetTemplateHtmlEndpoint","templateType","templateId","TemplateGetTemplatesEndpoint","UpdateFunderPasswordEndpoint","InsuredAction"],"sourceRoot":""}