@cemiar/cemiarlink-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/exceptions/EpicException.d.ts +3 -0
- package/dist/exceptions/EpicException.js +10 -0
- package/dist/exceptions/MissingInfo.d.ts +3 -0
- package/dist/exceptions/MissingInfo.js +10 -0
- package/dist/exceptions/NotProcessYet.d.ts +3 -0
- package/dist/exceptions/NotProcessYet.js +10 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +54 -0
- package/dist/models/admin/BusMessage.d.ts +4 -0
- package/dist/models/admin/BusMessage.js +2 -0
- package/dist/models/admin/Counter.d.ts +8 -0
- package/dist/models/admin/Counter.js +2 -0
- package/dist/models/admin/Email.d.ts +49 -0
- package/dist/models/admin/Email.js +2 -0
- package/dist/models/admin/ExcelSheet.d.ts +5 -0
- package/dist/models/admin/ExcelSheet.js +2 -0
- package/dist/models/admin/ExtractTable.d.ts +37 -0
- package/dist/models/admin/ExtractTable.js +2 -0
- package/dist/models/admin/IDictionary.d.ts +3 -0
- package/dist/models/admin/IDictionary.js +2 -0
- package/dist/models/admin/KimobyResult.d.ts +17 -0
- package/dist/models/admin/KimobyResult.js +2 -0
- package/dist/models/admin/PdfReader.d.ts +26 -0
- package/dist/models/admin/PdfReader.js +2 -0
- package/dist/models/admin/Primaco.d.ts +14 -0
- package/dist/models/admin/Primaco.js +2 -0
- package/dist/models/admin/index.d.ts +9 -0
- package/dist/models/admin/index.js +25 -0
- package/dist/models/epic/Activity.d.ts +83 -0
- package/dist/models/epic/Activity.js +2 -0
- package/dist/models/epic/AdditionalInterest.d.ts +15 -0
- package/dist/models/epic/AdditionalInterest.js +2 -0
- package/dist/models/epic/Address.d.ts +10 -0
- package/dist/models/epic/Address.js +2 -0
- package/dist/models/epic/Attachment.d.ts +47 -0
- package/dist/models/epic/Attachment.js +2 -0
- package/dist/models/epic/Broker.d.ts +38 -0
- package/dist/models/epic/Broker.js +2 -0
- package/dist/models/epic/Claim.d.ts +24 -0
- package/dist/models/epic/Claim.js +2 -0
- package/dist/models/epic/Commission.d.ts +76 -0
- package/dist/models/epic/Commission.js +2 -0
- package/dist/models/epic/Company.d.ts +9 -0
- package/dist/models/epic/Company.js +2 -0
- package/dist/models/epic/Contact.d.ts +49 -0
- package/dist/models/epic/Contact.js +2 -0
- package/dist/models/epic/Customer.d.ts +98 -0
- package/dist/models/epic/Customer.js +2 -0
- package/dist/models/epic/DirectBillCommission.d.ts +18 -0
- package/dist/models/epic/DirectBillCommission.js +2 -0
- package/dist/models/epic/Driver.d.ts +67 -0
- package/dist/models/epic/Driver.js +2 -0
- package/dist/models/epic/Employee.d.ts +145 -0
- package/dist/models/epic/Employee.js +2 -0
- package/dist/models/epic/GeneralLedgerReconcileBank.d.ts +117 -0
- package/dist/models/epic/GeneralLedgerReconcileBank.js +2 -0
- package/dist/models/epic/Habitational.d.ts +156 -0
- package/dist/models/epic/Habitational.js +2 -0
- package/dist/models/epic/Line.d.ts +169 -0
- package/dist/models/epic/Line.js +2 -0
- package/dist/models/epic/Lookup.d.ts +5 -0
- package/dist/models/epic/Lookup.js +2 -0
- package/dist/models/epic/MultiCarrierSchedule.d.ts +70 -0
- package/dist/models/epic/MultiCarrierSchedule.js +11 -0
- package/dist/models/epic/Opportunity.d.ts +45 -0
- package/dist/models/epic/Opportunity.js +2 -0
- package/dist/models/epic/OptionType.d.ts +4 -0
- package/dist/models/epic/OptionType.js +2 -0
- package/dist/models/epic/PayableContract.d.ts +19 -0
- package/dist/models/epic/PayableContract.js +2 -0
- package/dist/models/epic/Policy.d.ts +129 -0
- package/dist/models/epic/Policy.js +2 -0
- package/dist/models/epic/PolicyV2.d.ts +157 -0
- package/dist/models/epic/PolicyV2.js +2 -0
- package/dist/models/epic/Receipt.d.ts +142 -0
- package/dist/models/epic/Receipt.js +2 -0
- package/dist/models/epic/RenewalStage.d.ts +5 -0
- package/dist/models/epic/RenewalStage.js +2 -0
- package/dist/models/epic/Response.d.ts +9 -0
- package/dist/models/epic/Response.js +2 -0
- package/dist/models/epic/ServiceSummary.d.ts +16 -0
- package/dist/models/epic/ServiceSummary.js +8 -0
- package/dist/models/epic/ServicingContact.d.ts +6 -0
- package/dist/models/epic/ServicingContact.js +2 -0
- package/dist/models/epic/Transaction.d.ts +261 -0
- package/dist/models/epic/Transaction.js +2 -0
- package/dist/models/epic/Vehicle.d.ts +87 -0
- package/dist/models/epic/Vehicle.js +2 -0
- package/dist/models/epic/index.d.ts +17 -0
- package/dist/models/epic/index.js +33 -0
- package/dist/services/Admin.d.ts +30 -0
- package/dist/services/Admin.js +200 -0
- package/dist/services/BaseEpicService.d.ts +12 -0
- package/dist/services/BaseEpicService.js +102 -0
- package/dist/services/Epic.d.ts +105 -0
- package/dist/services/Epic.js +291 -0
- package/dist/services/JobEpicService.d.ts +7 -0
- package/dist/services/JobEpicService.js +16 -0
- package/dist/services/MultiCarrierScheduleEpicService.d.ts +8 -0
- package/dist/services/MultiCarrierScheduleEpicService.js +19 -0
- package/dist/utils/AxiosClient.d.ts +6 -0
- package/dist/utils/AxiosClient.js +35 -0
- package/dist/utils/DeepPartial.d.ts +3 -0
- package/dist/utils/DeepPartial.js +2 -0
- package/dist/utils/Excel.d.ts +8 -0
- package/dist/utils/Excel.js +99 -0
- package/package.json +33 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { Address } from './Address.js';
|
|
2
|
+
export interface Habitational {
|
|
3
|
+
Locations: Location[];
|
|
4
|
+
PolicyInformations: PolicyInformation[];
|
|
5
|
+
}
|
|
6
|
+
export interface Location {
|
|
7
|
+
Additionnals: Additionnal[];
|
|
8
|
+
Address: Address;
|
|
9
|
+
Id: string;
|
|
10
|
+
TownId: string;
|
|
11
|
+
OccupancyTypeCode: string;
|
|
12
|
+
StructureTypeCode: string;
|
|
13
|
+
CoveragesFormCode: string;
|
|
14
|
+
SecurityUpgrades: RatingSecurityUpgrades;
|
|
15
|
+
Discounts: DiscountsSurcharge[];
|
|
16
|
+
Rating: Rating;
|
|
17
|
+
CoveragesDeductibles: CoveragesDeductible;
|
|
18
|
+
RatingDetachedOutbuildingItems: any[];
|
|
19
|
+
RatingHeatOil: any;
|
|
20
|
+
RatingInteriorDetailsKitchensBathrooms: any;
|
|
21
|
+
RatingMainWaterValveFireProtectionPlumbingType: any;
|
|
22
|
+
RatingWaterHeaterMitigationType: any;
|
|
23
|
+
RemarkItems: any[];
|
|
24
|
+
LiabilityExtensions: LiabilityExtensions;
|
|
25
|
+
}
|
|
26
|
+
export interface Additionnal {
|
|
27
|
+
Code: string;
|
|
28
|
+
Description: string;
|
|
29
|
+
Id: string;
|
|
30
|
+
Form: string;
|
|
31
|
+
Premium: number | null;
|
|
32
|
+
DeductibleAmount: string;
|
|
33
|
+
AmountOfInsurance: string;
|
|
34
|
+
}
|
|
35
|
+
export interface RatingSecurityUpgrades {
|
|
36
|
+
UpgradesRoofFullYear?: number;
|
|
37
|
+
}
|
|
38
|
+
export interface PolicyInformation {
|
|
39
|
+
BillingAccountNumber: string;
|
|
40
|
+
BillingCode: string;
|
|
41
|
+
BinderNumber: string;
|
|
42
|
+
CompanyClientID: string;
|
|
43
|
+
CrossReferenceInformationItems: any[];
|
|
44
|
+
EffectiveTime: string | null;
|
|
45
|
+
GroupID: string;
|
|
46
|
+
GroupProgramName: string;
|
|
47
|
+
IsReadOnly: boolean;
|
|
48
|
+
LineID: number;
|
|
49
|
+
PayorCode: string;
|
|
50
|
+
PayorIfOther: string;
|
|
51
|
+
PolicyHistoryValue: PolicyHistory;
|
|
52
|
+
Timestamp: string;
|
|
53
|
+
WhoSendsDocumentsCode: string;
|
|
54
|
+
}
|
|
55
|
+
export interface PolicyHistory {
|
|
56
|
+
CarrierItems: CarrierItem[];
|
|
57
|
+
DateApplicantHadInsurance: string | null;
|
|
58
|
+
FirstTimeInsured: boolean;
|
|
59
|
+
RefusedInsuranceYesNoCode: string;
|
|
60
|
+
}
|
|
61
|
+
export interface CarrierItem {
|
|
62
|
+
CarrierID: number;
|
|
63
|
+
EffectiveDate: string | null;
|
|
64
|
+
EndDate: string | null;
|
|
65
|
+
Flag: number;
|
|
66
|
+
InsuranceCompanyCode: string;
|
|
67
|
+
InsuranceCompanyIfOther: string;
|
|
68
|
+
PolicyNumber: string;
|
|
69
|
+
ReasonForEndingCode: string;
|
|
70
|
+
TerminatedReasonCode: string;
|
|
71
|
+
TerminatedReasonIfOther: string;
|
|
72
|
+
}
|
|
73
|
+
export interface DiscountsSurcharge {
|
|
74
|
+
Id: string;
|
|
75
|
+
Code: string;
|
|
76
|
+
Description: string;
|
|
77
|
+
Premium: number | null;
|
|
78
|
+
Percent: number | null;
|
|
79
|
+
}
|
|
80
|
+
export interface Rating {
|
|
81
|
+
BirthdateOfEldestOccupant: string | null;
|
|
82
|
+
DateEvaluationCompleted: string;
|
|
83
|
+
EvaluatorProductCode: string;
|
|
84
|
+
EvaluatorProductIfOther: string;
|
|
85
|
+
ExteriorWallFinishTypeCode: string;
|
|
86
|
+
ExteriorWallFinishTypeIfOther: string;
|
|
87
|
+
ExteriorWallFramingTypeCode: string;
|
|
88
|
+
ExteriorWallFramingTypeIfOther: string;
|
|
89
|
+
FinishedBasementPercentage: number;
|
|
90
|
+
FoundationTypeCode: string;
|
|
91
|
+
FoundationTypeIfOther: string;
|
|
92
|
+
GarageCarportTypeCode: string;
|
|
93
|
+
GarageCarportTypeIfOther: string;
|
|
94
|
+
InspectionDate: string;
|
|
95
|
+
InspectionSourceReportCode: string;
|
|
96
|
+
NumberOfCars: number;
|
|
97
|
+
NumberOfFamilies: number;
|
|
98
|
+
NumberOfStoreysCode: string;
|
|
99
|
+
NumberOfStoreysIfOther: string;
|
|
100
|
+
NumberOfUnits: number;
|
|
101
|
+
OccupancyTypeCode: string;
|
|
102
|
+
OccupancyTypeIfOther: string;
|
|
103
|
+
OccupantRelationToApplicantCode: string;
|
|
104
|
+
OccupantRelationToApplicantIfOther: string;
|
|
105
|
+
PhotoYesNoCode: string;
|
|
106
|
+
ReplacementCost: number;
|
|
107
|
+
SmokersYesNoCode: string;
|
|
108
|
+
StructureTypeCode: string;
|
|
109
|
+
StructureTypeIfOther: string;
|
|
110
|
+
SwimmingPoolFencedYesNoCode: string;
|
|
111
|
+
SwimmingPoolTypeCode: string;
|
|
112
|
+
SwimmingPoolYear: number;
|
|
113
|
+
TotalLivingArea: number;
|
|
114
|
+
TotalLivingAreaSqFtSqMtOption: TotalLivingAreaSqFtSqMtOption;
|
|
115
|
+
YearBuilt: number;
|
|
116
|
+
}
|
|
117
|
+
export interface TotalLivingAreaSqFtSqMtOption {
|
|
118
|
+
OptionName: string;
|
|
119
|
+
Value: number;
|
|
120
|
+
}
|
|
121
|
+
export interface CoverageItem {
|
|
122
|
+
CoverageCode: string;
|
|
123
|
+
CoverageDescription: string;
|
|
124
|
+
DeductibleAmount: string;
|
|
125
|
+
DeductiblePercentage: number | null;
|
|
126
|
+
DeductibleTypeCode: string;
|
|
127
|
+
EditionDate: string | null;
|
|
128
|
+
FormNumber: string;
|
|
129
|
+
Limit: string;
|
|
130
|
+
Premium: number | null;
|
|
131
|
+
Rate: number | null;
|
|
132
|
+
RequestedDeclined: string;
|
|
133
|
+
TypeOf1Code: string;
|
|
134
|
+
TypeOf2Code: string;
|
|
135
|
+
}
|
|
136
|
+
export interface CoveragesDeductible {
|
|
137
|
+
CoverageItems: CoverageItem[];
|
|
138
|
+
EstimatedBasePremium: number | null;
|
|
139
|
+
PackageFormAndTypeCode: string;
|
|
140
|
+
RatingPlanCode: string;
|
|
141
|
+
}
|
|
142
|
+
export interface LiabilityExtensions {
|
|
143
|
+
LiabilityExtensionsSectionPremium?: number | null;
|
|
144
|
+
LiabilityExtensionItems: LiabilityExtensionItem[];
|
|
145
|
+
}
|
|
146
|
+
export interface LiabilityExtensionItem {
|
|
147
|
+
LiabilityExtensionID: number;
|
|
148
|
+
Code: string;
|
|
149
|
+
Description: string;
|
|
150
|
+
FormNumber: string;
|
|
151
|
+
AmountOfInsurance: string;
|
|
152
|
+
DeductibleAmount: string;
|
|
153
|
+
DeductibleTypeCode: string;
|
|
154
|
+
DeductiblePercentage?: number | null;
|
|
155
|
+
Premium?: number | null;
|
|
156
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { Address } from './Address.js';
|
|
2
|
+
import { OptionType } from './OptionType.js';
|
|
3
|
+
import { ServicingContact } from './ServicingContact.js';
|
|
4
|
+
export interface BillingValue {
|
|
5
|
+
BillBrokerNet: boolean;
|
|
6
|
+
BillingPlan: string;
|
|
7
|
+
FinancedFlag: boolean;
|
|
8
|
+
InvoiceToAccountLookupCode: string;
|
|
9
|
+
InvoiceToAddress: Address;
|
|
10
|
+
InvoiceToAddressDescription: string;
|
|
11
|
+
InvoiceToContactID: number;
|
|
12
|
+
InvoiceToContactName: string;
|
|
13
|
+
InvoiceToDeliveryMethod: string;
|
|
14
|
+
InvoiceToEmail: string;
|
|
15
|
+
InvoiceToFaxCountryCode: string;
|
|
16
|
+
InvoiceToFaxExtension: string;
|
|
17
|
+
InvoiceToFaxNumber: string;
|
|
18
|
+
InvoiceToSiteID: string;
|
|
19
|
+
InvoiceToType: string;
|
|
20
|
+
LoanNumber: string;
|
|
21
|
+
TaxOptionCode: string;
|
|
22
|
+
}
|
|
23
|
+
interface HistoryValue {
|
|
24
|
+
Comments: string;
|
|
25
|
+
DateFirstWritten: string;
|
|
26
|
+
BrokerOfRecordDate: string | null;
|
|
27
|
+
}
|
|
28
|
+
export interface LineCommission {
|
|
29
|
+
CommissionAmount: number | null;
|
|
30
|
+
CommissionID: number;
|
|
31
|
+
CommissionPercent: number | null;
|
|
32
|
+
CommissionType: string | null;
|
|
33
|
+
Flag: number;
|
|
34
|
+
LookupCode: string;
|
|
35
|
+
OrderNumber: number;
|
|
36
|
+
ProducerBrokerCode: string;
|
|
37
|
+
ProductionCredit: number;
|
|
38
|
+
CommissionAgreementID: number;
|
|
39
|
+
ContractID: number | null;
|
|
40
|
+
ContractName: string;
|
|
41
|
+
ShareRevenueAgencyCode: string;
|
|
42
|
+
ShareRevenueAgencyID: number;
|
|
43
|
+
ShareRevenueAgencyName: string;
|
|
44
|
+
ShareRevenueBranchCode: string;
|
|
45
|
+
ShareRevenueBranchID: number;
|
|
46
|
+
ShareRevenueBranchName: string;
|
|
47
|
+
ShareRevenueDepartmentCode: string;
|
|
48
|
+
ShareRevenueDepartmentID: number;
|
|
49
|
+
ShareRevenueDepartmentName: string;
|
|
50
|
+
ShareRevenuePercent: number;
|
|
51
|
+
ShareRevenueProfitCenterCode: string;
|
|
52
|
+
ShareRevenueProfitCenterID: number;
|
|
53
|
+
ShareRevenueProfitCenterName: string;
|
|
54
|
+
PrBrLineCommissionAnnualized: number | null;
|
|
55
|
+
PrBrLineCommissionEstimated: number | null;
|
|
56
|
+
OverrideCommissionAgreementPercentageOrAmount: boolean;
|
|
57
|
+
UseCommissionAgreement: boolean;
|
|
58
|
+
}
|
|
59
|
+
export interface ProducerBrokerCommissionsValue {
|
|
60
|
+
Commissions: LineCommission[];
|
|
61
|
+
ProducerBrokerCommissionTermOption: OptionType;
|
|
62
|
+
ProducerBrokerScheduleTermItems: any[];
|
|
63
|
+
}
|
|
64
|
+
export interface AgencyDefinedCode {
|
|
65
|
+
ADCCategory: string;
|
|
66
|
+
ADCOption: string;
|
|
67
|
+
AppliesTo: string | null;
|
|
68
|
+
Flag: 0 | 1 | 2;
|
|
69
|
+
}
|
|
70
|
+
export interface Line {
|
|
71
|
+
AgencyCommissionAmount: number | null;
|
|
72
|
+
AgencyCommissionPercent: number | null;
|
|
73
|
+
AgencyCommissionType: string;
|
|
74
|
+
AgencyDefinedCategoryItems: AgencyDefinedCode[];
|
|
75
|
+
AgreementID: number;
|
|
76
|
+
AnnualizedCommission: number | null;
|
|
77
|
+
AnnualizedPremium: number | null;
|
|
78
|
+
BilledCommission: number | null;
|
|
79
|
+
BilledPremium: number | null;
|
|
80
|
+
BillingModeOption: OptionType;
|
|
81
|
+
BillingValue: BillingValue;
|
|
82
|
+
DefaultCommissionAgreement: boolean;
|
|
83
|
+
Downloaded: number | null;
|
|
84
|
+
EstimatedCommission: number | null;
|
|
85
|
+
EstimatedMonthlyCommission: number | null;
|
|
86
|
+
EstimatedMonthlyPremium: number | null;
|
|
87
|
+
EstimatedMonthlyPremiumAsOfDate: string | null;
|
|
88
|
+
EstimatedPremium: number | null;
|
|
89
|
+
HistoryValue: HistoryValue;
|
|
90
|
+
IssuingCompanyLookupCode: string;
|
|
91
|
+
IssuingLocationCode: string;
|
|
92
|
+
LineGUID: string;
|
|
93
|
+
LineID: number;
|
|
94
|
+
LineInformationLineID: string;
|
|
95
|
+
LineTypeCode: string;
|
|
96
|
+
LineTypeDescription: string;
|
|
97
|
+
PayableContractID: number | null;
|
|
98
|
+
PolicyID: number;
|
|
99
|
+
PremiumPayableLookupCode: string;
|
|
100
|
+
PremiumPayableTypeCode: string;
|
|
101
|
+
ProducerBrokerCommissionsValue: ProducerBrokerCommissionsValue;
|
|
102
|
+
ProfitCenterCode: string;
|
|
103
|
+
RisksInsured: string | null;
|
|
104
|
+
RisksInsuredDescription: string;
|
|
105
|
+
ServiceSummaries: ServiceSummaryLine[];
|
|
106
|
+
ServicingContacts: ServicingContact[];
|
|
107
|
+
StatusCode: string;
|
|
108
|
+
Timestamp: string;
|
|
109
|
+
TotalEligible: number | null;
|
|
110
|
+
TotalEligibleDescription: string;
|
|
111
|
+
IgnoreAtLeastOnePrBrCommissionRequirement: boolean;
|
|
112
|
+
OverrideCommissionAgreementPercentageOrAmount: boolean;
|
|
113
|
+
PlanOptionName: string;
|
|
114
|
+
IgnoreLineStatusCodeOnUpdate: boolean;
|
|
115
|
+
PolicyDetailEngineID: string | null;
|
|
116
|
+
}
|
|
117
|
+
export interface PolicyLineCreationPayload {
|
|
118
|
+
AgencyCommissionAmount?: number | null;
|
|
119
|
+
AgencyCommissionPercent?: number | null;
|
|
120
|
+
AgencyCommissionType?: string | null;
|
|
121
|
+
AgencyDefinedCategoryItems?: any | null;
|
|
122
|
+
AgreementID?: number | null;
|
|
123
|
+
AnnualizedCommission?: number | null;
|
|
124
|
+
AnnualizedPremium?: number | null;
|
|
125
|
+
BilledCommission?: number | null;
|
|
126
|
+
BilledPremium?: number | null;
|
|
127
|
+
BillingModeOption?: OptionType | null;
|
|
128
|
+
BillingValue?: BillingValue | null;
|
|
129
|
+
DefaultCommissionAgreement?: boolean | null;
|
|
130
|
+
Downloaded?: number | null;
|
|
131
|
+
EstimatedCommission?: number | null;
|
|
132
|
+
EstimatedMonthlyCommission?: number | null;
|
|
133
|
+
EstimatedMonthlyPremium?: number | null;
|
|
134
|
+
EstimatedMonthlyPremiumAsOfDate?: string | null;
|
|
135
|
+
EstimatedPremium?: number | null;
|
|
136
|
+
HistoryValue?: any | null;
|
|
137
|
+
IgnoreAtLeastOnePrBrCommissionRequirement?: boolean | null;
|
|
138
|
+
IssuingCompanyLookupCode?: string | null;
|
|
139
|
+
IssuingLocationCode?: string | null;
|
|
140
|
+
LineInformationLineID?: string | null;
|
|
141
|
+
LineTypeCode?: string | null;
|
|
142
|
+
OverrideCommissionAgreementPercentageOrAmount?: boolean | null;
|
|
143
|
+
PayableContractId?: number | null;
|
|
144
|
+
PlanOptionName?: string | null;
|
|
145
|
+
PolicyId: number;
|
|
146
|
+
PremiumPayableLookupCode?: string | null;
|
|
147
|
+
PremiumPayableTypeCode?: string | null;
|
|
148
|
+
ProducerBrokerCommissionsValue?: any | null;
|
|
149
|
+
ProfitCenterCode?: string | null;
|
|
150
|
+
RisksInsured?: any | null;
|
|
151
|
+
RisksInsuredDescription?: string | null;
|
|
152
|
+
ServicingContacts?: ServicingContact[] | null;
|
|
153
|
+
StatusCode?: string | null;
|
|
154
|
+
TotalEligible?: number | null;
|
|
155
|
+
TotalEligibleDescription?: string | null;
|
|
156
|
+
}
|
|
157
|
+
export interface ServiceSummaryLine {
|
|
158
|
+
Description: string;
|
|
159
|
+
Stage: string;
|
|
160
|
+
EffectiveDate: string;
|
|
161
|
+
Id?: number;
|
|
162
|
+
Type?: string;
|
|
163
|
+
Action?: string;
|
|
164
|
+
EnteredDate?: string;
|
|
165
|
+
ServiceSummaryID?: number;
|
|
166
|
+
ServiceSummaryVersion?: string;
|
|
167
|
+
StageChangedDate?: string | null;
|
|
168
|
+
}
|
|
169
|
+
export {};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { DeepPartial } from "../../utils/DeepPartial.js";
|
|
2
|
+
export declare namespace MultiCarrierScheduleModel {
|
|
3
|
+
interface MultiCarrierSchedule {
|
|
4
|
+
Active: boolean;
|
|
5
|
+
AgencyCommissionPercentage: number | null;
|
|
6
|
+
AgencyCommissionTypeCode: string;
|
|
7
|
+
IssuingCompanyLookupCode: string;
|
|
8
|
+
MultiCarrierScheduleID: number;
|
|
9
|
+
ParticipationPercentage: number;
|
|
10
|
+
PolicyID: number;
|
|
11
|
+
PolicyLineOption: {
|
|
12
|
+
OptionName: string;
|
|
13
|
+
Value: number;
|
|
14
|
+
};
|
|
15
|
+
PolicyNumber: string;
|
|
16
|
+
PremiumCommissionValue: {
|
|
17
|
+
AnnualizedCommission: number | null;
|
|
18
|
+
AnnualizedPremium: number | null;
|
|
19
|
+
BilledCommission: number | null;
|
|
20
|
+
BilledPremium: number | null;
|
|
21
|
+
EstimatedCommission: number | null;
|
|
22
|
+
EstimatedPremium: number | null;
|
|
23
|
+
EstimatedMonthlyCommission: number | null;
|
|
24
|
+
EstimatedMonthlyPremium: number | null;
|
|
25
|
+
};
|
|
26
|
+
PremiumPayableContractID: number;
|
|
27
|
+
PremiumPayableLookupCode: string;
|
|
28
|
+
PremiumPayableTypeCode: string;
|
|
29
|
+
ProducerBrokerCommissions: Array<ProducerBrokerCommission>;
|
|
30
|
+
Timestamp: string;
|
|
31
|
+
}
|
|
32
|
+
interface ProducerBrokerCommission {
|
|
33
|
+
CommissionAmount: number | null;
|
|
34
|
+
CommissionID: number;
|
|
35
|
+
CommissionPercentage: number | null;
|
|
36
|
+
CommissionType: string;
|
|
37
|
+
Flag: 0 | 1 | 2 | 3;
|
|
38
|
+
LookupCode: string;
|
|
39
|
+
OrderNumber: number;
|
|
40
|
+
ProducerBrokerCode: string;
|
|
41
|
+
ProductionCredit: number;
|
|
42
|
+
ContractID: number;
|
|
43
|
+
ContractName: string;
|
|
44
|
+
ShareRevenueAgencyCode: string;
|
|
45
|
+
ShareRevenueAgencyID: number;
|
|
46
|
+
ShareRevenueAgencyName: string;
|
|
47
|
+
ShareRevenueBranchCode: string;
|
|
48
|
+
ShareRevenueBranchID: number;
|
|
49
|
+
ShareRevenueBranchName: string;
|
|
50
|
+
ShareRevenueDepartmentCode: string;
|
|
51
|
+
ShareRevenueDepartmentID: number;
|
|
52
|
+
ShareRevenueDepartmentName: string;
|
|
53
|
+
ShareRevenuePercent: number;
|
|
54
|
+
ShareRevenueProfitCenterCode: string;
|
|
55
|
+
ShareRevenueProfitCenterID: number;
|
|
56
|
+
ShareRevenueProfitCenterName: string;
|
|
57
|
+
}
|
|
58
|
+
interface GetRequest {
|
|
59
|
+
id: number;
|
|
60
|
+
idType: MultiCarrierScheduleGetType;
|
|
61
|
+
includeInactive?: boolean;
|
|
62
|
+
pageNumber?: number;
|
|
63
|
+
}
|
|
64
|
+
enum MultiCarrierScheduleGetType {
|
|
65
|
+
MultiCarrierScheduleID = 0,
|
|
66
|
+
PolicyID = 1
|
|
67
|
+
}
|
|
68
|
+
type CreateRequest = DeepPartial<MultiCarrierSchedule>;
|
|
69
|
+
type UpdateRequest = DeepPartial<MultiCarrierSchedule>;
|
|
70
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MultiCarrierScheduleModel = void 0;
|
|
4
|
+
var MultiCarrierScheduleModel;
|
|
5
|
+
(function (MultiCarrierScheduleModel) {
|
|
6
|
+
let MultiCarrierScheduleGetType;
|
|
7
|
+
(function (MultiCarrierScheduleGetType) {
|
|
8
|
+
MultiCarrierScheduleGetType[MultiCarrierScheduleGetType["MultiCarrierScheduleID"] = 0] = "MultiCarrierScheduleID";
|
|
9
|
+
MultiCarrierScheduleGetType[MultiCarrierScheduleGetType["PolicyID"] = 1] = "PolicyID";
|
|
10
|
+
})(MultiCarrierScheduleGetType = MultiCarrierScheduleModel.MultiCarrierScheduleGetType || (MultiCarrierScheduleModel.MultiCarrierScheduleGetType = {}));
|
|
11
|
+
})(MultiCarrierScheduleModel || (exports.MultiCarrierScheduleModel = MultiCarrierScheduleModel = {}));
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export interface Opportunity {
|
|
2
|
+
ClientID: string;
|
|
3
|
+
AgencyCode: string;
|
|
4
|
+
AgencyDefinedCategoryItems: object[];
|
|
5
|
+
BranchCode: string;
|
|
6
|
+
BusinessTypeOption: OpportunityBusinessTypeOption;
|
|
7
|
+
ClosedDetailValue: OpportunityClosedDetailValue;
|
|
8
|
+
OpportunityID: string;
|
|
9
|
+
DepartmentCode: string;
|
|
10
|
+
Description: string;
|
|
11
|
+
DetailValue: OpportunityDetail;
|
|
12
|
+
IsReadOnly: boolean;
|
|
13
|
+
ProfitCenterCode: string;
|
|
14
|
+
SICCode: string;
|
|
15
|
+
Source: string;
|
|
16
|
+
Status: number;
|
|
17
|
+
Timestamp: string;
|
|
18
|
+
}
|
|
19
|
+
export interface OpportunityDetail {
|
|
20
|
+
Comments: string;
|
|
21
|
+
CurrentPremium: string;
|
|
22
|
+
CurrentRevenue: string;
|
|
23
|
+
NumberOfClientContracts: string;
|
|
24
|
+
NumberOfPolicies: string;
|
|
25
|
+
NumberOfRisks: string;
|
|
26
|
+
OwnerLookupCode: string;
|
|
27
|
+
OwnerType: string;
|
|
28
|
+
Premium: string;
|
|
29
|
+
Revenue: string;
|
|
30
|
+
SalesTeam: string;
|
|
31
|
+
SalesTeamID: string;
|
|
32
|
+
SalesTeamManager: string;
|
|
33
|
+
Stage: string;
|
|
34
|
+
StageGroup: string;
|
|
35
|
+
StageWeight: string;
|
|
36
|
+
}
|
|
37
|
+
export interface OpportunityClosedDetailValue {
|
|
38
|
+
ClosedDate: string;
|
|
39
|
+
ClosedStatus: string;
|
|
40
|
+
ReasonIfLost: string;
|
|
41
|
+
}
|
|
42
|
+
export interface OpportunityBusinessTypeOption {
|
|
43
|
+
OptionName: string;
|
|
44
|
+
Value: number;
|
|
45
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface PayableContract {
|
|
2
|
+
Id: string;
|
|
3
|
+
CompanyId: string;
|
|
4
|
+
Description: string;
|
|
5
|
+
Type: string;
|
|
6
|
+
PaymentContactId: string;
|
|
7
|
+
PaymentDueDate: string;
|
|
8
|
+
TermEnd: string;
|
|
9
|
+
TermStartOpen: string;
|
|
10
|
+
TermEndOpen: string;
|
|
11
|
+
ContractStructuresValue: ContractStructure[];
|
|
12
|
+
PaymentDueDateAddSubtract: string;
|
|
13
|
+
}
|
|
14
|
+
interface ContractStructure {
|
|
15
|
+
AgencyCode: string;
|
|
16
|
+
BranchCode: string;
|
|
17
|
+
Flag: number;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { ServicingContact } from './ServicingContact.js';
|
|
2
|
+
import { ServiceSummary } from './ServiceSummary.js';
|
|
3
|
+
import { Line } from './Line.js';
|
|
4
|
+
export interface Policy {
|
|
5
|
+
AccountId: string;
|
|
6
|
+
AgencyCode: string;
|
|
7
|
+
AgencyCommissionAmount?: number;
|
|
8
|
+
AgencyCommissionPercent?: number;
|
|
9
|
+
AgencyCommissionType: string;
|
|
10
|
+
AgreementId?: string;
|
|
11
|
+
AnnualizedCommission?: number;
|
|
12
|
+
BilledPremium?: number;
|
|
13
|
+
BillingMode: PolicyBillingMode;
|
|
14
|
+
BillingPlan: string;
|
|
15
|
+
BranchCode: string;
|
|
16
|
+
BrokerCode: string;
|
|
17
|
+
BrokerCommissionAmount?: number;
|
|
18
|
+
BrokerCommissionPercent: number;
|
|
19
|
+
BrokerCommissionType: string;
|
|
20
|
+
Id: string;
|
|
21
|
+
PayableContractId: string;
|
|
22
|
+
DefaultCommissionAgreement: boolean;
|
|
23
|
+
DepartmentCode: string;
|
|
24
|
+
Description: string;
|
|
25
|
+
EffectiveDate: string;
|
|
26
|
+
EstimatedCommission?: number;
|
|
27
|
+
EstimatedPremium?: number;
|
|
28
|
+
ExpirationDate: string;
|
|
29
|
+
FinanciedFlag: boolean;
|
|
30
|
+
HonoAmout?: number;
|
|
31
|
+
IsProspectivePolicy: boolean;
|
|
32
|
+
IssuingCompanyLookupCode: string;
|
|
33
|
+
IssuingLocationCode: string;
|
|
34
|
+
LineId: string;
|
|
35
|
+
LineStatus: string;
|
|
36
|
+
LineType: string;
|
|
37
|
+
PolicyNumber: string;
|
|
38
|
+
PolicyType: string;
|
|
39
|
+
PremiumPayableLookupCode: string;
|
|
40
|
+
PremiumPayableTypeCode: string;
|
|
41
|
+
Prime: number;
|
|
42
|
+
ProducerBrokerCode: string;
|
|
43
|
+
ProducerBrokerCommissions: PolicyProducerBrokerCommission[];
|
|
44
|
+
ProductionCredit: number;
|
|
45
|
+
ProfitCenterCode: string;
|
|
46
|
+
RenewStageCode?: string;
|
|
47
|
+
ServiceSummaries: ServiceSummary[];
|
|
48
|
+
ServicingContacts: ServicingContact[];
|
|
49
|
+
Source: string;
|
|
50
|
+
Stage: string;
|
|
51
|
+
Status: string;
|
|
52
|
+
TypeDescription: string;
|
|
53
|
+
Categories: PolicyCategory[];
|
|
54
|
+
Lines: Line[];
|
|
55
|
+
BrokerCommissionAgreementId?: string;
|
|
56
|
+
Culture?: string;
|
|
57
|
+
InvoiceToType?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface CreatePolicy {
|
|
60
|
+
AccountId: string;
|
|
61
|
+
AgencyCode: string;
|
|
62
|
+
AgencyCommissionAmount?: number;
|
|
63
|
+
AgencyCommissionPercent?: number;
|
|
64
|
+
AgencyCommissionType?: string;
|
|
65
|
+
AgencySplitAmount?: number;
|
|
66
|
+
AgreementId?: string;
|
|
67
|
+
AnnualizedCommission?: number;
|
|
68
|
+
BilledPremium?: number;
|
|
69
|
+
BillingMode?: PolicyBillingMode;
|
|
70
|
+
BranchCode: string;
|
|
71
|
+
BrokerCode?: string;
|
|
72
|
+
BrokerCommissionAmount?: number;
|
|
73
|
+
BrokerCommissionPercent?: number;
|
|
74
|
+
BrokerCommissionType?: string;
|
|
75
|
+
Categories?: PolicyCategory[];
|
|
76
|
+
DefaultCommissionAgreement?: boolean;
|
|
77
|
+
DepartmentCode: string;
|
|
78
|
+
Description: string;
|
|
79
|
+
EffectiveDate: string;
|
|
80
|
+
EstimatedCommission?: number;
|
|
81
|
+
EstimatedPremium?: number;
|
|
82
|
+
ExpirationDate: string;
|
|
83
|
+
FinanciedFlag?: boolean;
|
|
84
|
+
IsProspectivePolicy?: boolean;
|
|
85
|
+
IssuingCompanyLookupCode?: string;
|
|
86
|
+
IssuingLocationCode: string;
|
|
87
|
+
LineId?: number;
|
|
88
|
+
LineType: string;
|
|
89
|
+
PayableContractId?: string;
|
|
90
|
+
PolicyNumber?: string;
|
|
91
|
+
PolicyType: string;
|
|
92
|
+
PremiumPayableLookupCode?: string;
|
|
93
|
+
PremiumPayableTypeCode: string;
|
|
94
|
+
Prime: number;
|
|
95
|
+
ProducerBrokerCode?: string;
|
|
96
|
+
ProducerBrokerCommissions?: PolicyProducerBrokerCommission[];
|
|
97
|
+
ProductionCredit?: number;
|
|
98
|
+
ProfitCenterCode: string;
|
|
99
|
+
RenewStageCode?: string;
|
|
100
|
+
ServiceSummaries?: ServiceSummary[];
|
|
101
|
+
ServicingContacts?: ServicingContact[];
|
|
102
|
+
Source?: string;
|
|
103
|
+
Stage?: string;
|
|
104
|
+
Status: string;
|
|
105
|
+
TypeDescription?: string;
|
|
106
|
+
}
|
|
107
|
+
export interface PolicyCategory {
|
|
108
|
+
Category: string;
|
|
109
|
+
Description?: string;
|
|
110
|
+
Option: string;
|
|
111
|
+
Flag: number;
|
|
112
|
+
}
|
|
113
|
+
export interface PolicyBillingMode {
|
|
114
|
+
OptionName: string;
|
|
115
|
+
Value: number;
|
|
116
|
+
}
|
|
117
|
+
export interface PolicyProducerBrokerCommission {
|
|
118
|
+
BrokerCommissionAgreementId: string;
|
|
119
|
+
BrokerCommissionAmount: number | null;
|
|
120
|
+
BrokerCommissionId: string;
|
|
121
|
+
BrokerCommissionPercent: number;
|
|
122
|
+
BrokerCommissionType: string;
|
|
123
|
+
Flag: number;
|
|
124
|
+
LookupCode: string;
|
|
125
|
+
OrderNumber: number;
|
|
126
|
+
ProducerBrokerCode: string;
|
|
127
|
+
ProductionCredit: number;
|
|
128
|
+
UseCommissionAgreement: boolean;
|
|
129
|
+
}
|