@cemiar/cemiarlink-sdk 1.0.21 → 1.0.22
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/package.json +1 -1
- package/dist/exceptions/EpicException.d.ts +0 -3
- package/dist/exceptions/EpicException.js +0 -10
- package/dist/exceptions/MissingInfo.d.ts +0 -3
- package/dist/exceptions/MissingInfo.js +0 -10
- package/dist/exceptions/NotProcessYet.d.ts +0 -3
- package/dist/exceptions/NotProcessYet.js +0 -10
- package/dist/models/admin/BusMessage.d.ts +0 -4
- package/dist/models/admin/BusMessage.js +0 -2
- package/dist/models/admin/Counter.d.ts +0 -8
- package/dist/models/admin/Counter.js +0 -2
- package/dist/models/admin/Email.d.ts +0 -49
- package/dist/models/admin/Email.js +0 -2
- package/dist/models/admin/ExcelSheet.d.ts +0 -5
- package/dist/models/admin/ExcelSheet.js +0 -2
- package/dist/models/admin/ExtractTable.d.ts +0 -37
- package/dist/models/admin/ExtractTable.js +0 -2
- package/dist/models/admin/IDictionary.d.ts +0 -3
- package/dist/models/admin/IDictionary.js +0 -2
- package/dist/models/admin/KimobyResult.d.ts +0 -17
- package/dist/models/admin/KimobyResult.js +0 -2
- package/dist/models/admin/PdfReader.d.ts +0 -26
- package/dist/models/admin/PdfReader.js +0 -2
- package/dist/models/admin/Primaco.d.ts +0 -14
- package/dist/models/admin/Primaco.js +0 -2
- package/dist/models/epic/Activity.d.ts +0 -83
- package/dist/models/epic/Activity.js +0 -2
- package/dist/models/epic/AdditionalInterest.d.ts +0 -15
- package/dist/models/epic/AdditionalInterest.js +0 -2
- package/dist/models/epic/Address.d.ts +0 -10
- package/dist/models/epic/Address.js +0 -2
- package/dist/models/epic/Attachment.d.ts +0 -51
- package/dist/models/epic/Attachment.js +0 -2
- package/dist/models/epic/Broker.d.ts +0 -38
- package/dist/models/epic/Broker.js +0 -2
- package/dist/models/epic/Claim.d.ts +0 -24
- package/dist/models/epic/Claim.js +0 -2
- package/dist/models/epic/Commission.d.ts +0 -76
- package/dist/models/epic/Commission.js +0 -2
- package/dist/models/epic/Company.d.ts +0 -9
- package/dist/models/epic/Company.js +0 -2
- package/dist/models/epic/Contact.d.ts +0 -49
- package/dist/models/epic/Contact.js +0 -2
- package/dist/models/epic/Customer.d.ts +0 -99
- package/dist/models/epic/Customer.js +0 -2
- package/dist/models/epic/DirectBillCommission.d.ts +0 -18
- package/dist/models/epic/DirectBillCommission.js +0 -2
- package/dist/models/epic/Driver.d.ts +0 -67
- package/dist/models/epic/Driver.js +0 -2
- package/dist/models/epic/Employee.d.ts +0 -145
- package/dist/models/epic/Employee.js +0 -2
- package/dist/models/epic/GeneralLedgerReconcileBank.d.ts +0 -117
- package/dist/models/epic/GeneralLedgerReconcileBank.js +0 -2
- package/dist/models/epic/Habitational.d.ts +0 -156
- package/dist/models/epic/Habitational.js +0 -2
- package/dist/models/epic/JournalEntry.d.ts +0 -69
- package/dist/models/epic/JournalEntry.js +0 -2
- package/dist/models/epic/Line.d.ts +0 -169
- package/dist/models/epic/Line.js +0 -2
- package/dist/models/epic/Lookup.d.ts +0 -5
- package/dist/models/epic/Lookup.js +0 -2
- package/dist/models/epic/MultiCarrierSchedule.d.ts +0 -70
- package/dist/models/epic/MultiCarrierSchedule.js +0 -11
- package/dist/models/epic/Opportunity.d.ts +0 -45
- package/dist/models/epic/Opportunity.js +0 -2
- package/dist/models/epic/OptionType.d.ts +0 -4
- package/dist/models/epic/OptionType.js +0 -2
- package/dist/models/epic/PayableContract.d.ts +0 -19
- package/dist/models/epic/PayableContract.js +0 -2
- package/dist/models/epic/Policy.d.ts +0 -129
- package/dist/models/epic/Policy.js +0 -2
- package/dist/models/epic/PolicyV2.d.ts +0 -157
- package/dist/models/epic/PolicyV2.js +0 -2
- package/dist/models/epic/Receipt.d.ts +0 -142
- package/dist/models/epic/Receipt.js +0 -2
- package/dist/models/epic/RenewalStage.d.ts +0 -5
- package/dist/models/epic/RenewalStage.js +0 -2
- package/dist/models/epic/Response.d.ts +0 -9
- package/dist/models/epic/Response.js +0 -2
- package/dist/models/epic/ServiceSummary.d.ts +0 -16
- package/dist/models/epic/ServiceSummary.js +0 -8
- package/dist/models/epic/ServicingContact.d.ts +0 -6
- package/dist/models/epic/ServicingContact.js +0 -2
- package/dist/models/epic/Transaction.d.ts +0 -261
- package/dist/models/epic/Transaction.js +0 -2
- package/dist/models/epic/Vehicle.d.ts +0 -87
- package/dist/models/epic/Vehicle.js +0 -2
- package/dist/models/mail/EmailAttachment.d.ts +0 -5
- package/dist/models/mail/EmailAttachment.js +0 -2
- package/dist/models/mail/EmailReport.d.ts +0 -10
- package/dist/models/mail/EmailReport.js +0 -2
- package/dist/models/mail/GetEmailReportOptions.d.ts +0 -5
- package/dist/models/mail/GetEmailReportOptions.js +0 -2
- package/dist/models/mail/GmailMail.d.ts +0 -8
- package/dist/models/mail/GmailMail.js +0 -2
- package/dist/models/mail/TransactionWatchList.d.ts +0 -7
- package/dist/models/mail/TransactionWatchList.js +0 -2
- package/dist/models/sharepoint/Sharepoint.d.ts +0 -25
- package/dist/models/sharepoint/Sharepoint.js +0 -2
- package/dist/services/Admin.d.ts +0 -40
- package/dist/services/Admin.js +0 -222
- package/dist/services/BaseEpicService.d.ts +0 -16
- package/dist/services/BaseEpicService.js +0 -107
- package/dist/services/Epic.d.ts +0 -129
- package/dist/services/Epic.js +0 -313
- package/dist/services/JobEpicService.d.ts +0 -11
- package/dist/services/JobEpicService.js +0 -21
- package/dist/services/Mail.d.ts +0 -52
- package/dist/services/Mail.js +0 -318
- package/dist/services/MultiCarrierScheduleEpicService.d.ts +0 -12
- package/dist/services/MultiCarrierScheduleEpicService.js +0 -24
- package/dist/services/SharepointService.d.ts +0 -13
- package/dist/services/SharepointService.js +0 -44
- package/dist/utils/AxiosClient.d.ts +0 -6
- package/dist/utils/AxiosClient.js +0 -35
- package/dist/utils/DeepPartial.d.ts +0 -3
- package/dist/utils/DeepPartial.js +0 -2
- package/dist/utils/Excel.d.ts +0 -8
- package/dist/utils/Excel.js +0 -99
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { OptionType } from './OptionType';
|
|
2
|
-
export interface Receipt {
|
|
3
|
-
Id: string;
|
|
4
|
-
Description: string;
|
|
5
|
-
Total: number;
|
|
6
|
-
AccountingMonth: string;
|
|
7
|
-
BankAccountNumberCode: string;
|
|
8
|
-
BankSubAccountNumberCode: string;
|
|
9
|
-
EffectiveDate: string;
|
|
10
|
-
ReferNumber: string;
|
|
11
|
-
SuspendedReceipt: boolean;
|
|
12
|
-
IsReadOnly: boolean;
|
|
13
|
-
DetailValue: DetailValue;
|
|
14
|
-
}
|
|
15
|
-
export interface DetailValue {
|
|
16
|
-
DetailItemsValue: DetailItemsValue[];
|
|
17
|
-
Total: number;
|
|
18
|
-
}
|
|
19
|
-
export interface DetailItemsValue {
|
|
20
|
-
Amount: number;
|
|
21
|
-
ApplyTo: string;
|
|
22
|
-
ApplyToClientLookupCode: string;
|
|
23
|
-
ApplyToPayablesCommissionsSelectPayablesCommissions: PayablesCommissions;
|
|
24
|
-
ApplyToPolicyClientLookupCode: string;
|
|
25
|
-
ApplyToPolicyIncludeHistory: boolean;
|
|
26
|
-
ApplyToPolicyLineId: number;
|
|
27
|
-
ApplyToSelectedItemsApplyCreditsToDebits: ApplyCreditsToDebits;
|
|
28
|
-
CashOnAccountOptions: OptionType;
|
|
29
|
-
DebitCreditOption: OptionType;
|
|
30
|
-
Description: string;
|
|
31
|
-
DetailItemAccountLookupCode: string;
|
|
32
|
-
DetailItemID: number;
|
|
33
|
-
DetailItemType: string;
|
|
34
|
-
Flag: number;
|
|
35
|
-
GeneralLedgerAccountNumberCode: string;
|
|
36
|
-
GeneralLedgerScheduleCode: string;
|
|
37
|
-
GeneralLedgerSubAccountNumberCode: string;
|
|
38
|
-
IsBankAccount: boolean;
|
|
39
|
-
Method: string;
|
|
40
|
-
PaidItems: PaidItems[];
|
|
41
|
-
PaidStatements: PaidStatements[];
|
|
42
|
-
PaymentDate: string;
|
|
43
|
-
PaymentID: string;
|
|
44
|
-
RoutingNumber: string;
|
|
45
|
-
StructureAgencyCode: string;
|
|
46
|
-
StructureBranchCode: string;
|
|
47
|
-
StructureDepartmentCode: string;
|
|
48
|
-
StructureProfitCenterCode: string;
|
|
49
|
-
}
|
|
50
|
-
export interface PayablesCommissions {
|
|
51
|
-
CashOnAccountItemsValue: CashOnAccountItem[];
|
|
52
|
-
PayItemsValue: PayItem[];
|
|
53
|
-
PayStatementItemsValue: PayStatementItem[];
|
|
54
|
-
}
|
|
55
|
-
export interface PayStatementItem {
|
|
56
|
-
StatementID: number;
|
|
57
|
-
}
|
|
58
|
-
export interface PayItem {
|
|
59
|
-
AmountToPay: number;
|
|
60
|
-
TransactionItemID: number;
|
|
61
|
-
WriteOff: boolean;
|
|
62
|
-
WriteOffDescription: string;
|
|
63
|
-
}
|
|
64
|
-
export interface CashOnAccountItem {
|
|
65
|
-
AgencyCode: string;
|
|
66
|
-
Amount: number;
|
|
67
|
-
ApplyTo: string;
|
|
68
|
-
BranchCode: string;
|
|
69
|
-
DebitCreditOption: OptionType;
|
|
70
|
-
DepartmentCode: string;
|
|
71
|
-
GeneralLedgerAccountNumberCode: string;
|
|
72
|
-
GeneralLedgerSubAccountNumberCode: string;
|
|
73
|
-
ProfitCenterCode: string;
|
|
74
|
-
}
|
|
75
|
-
export interface PaidStatements {
|
|
76
|
-
AgencyCode: string;
|
|
77
|
-
Amount: number;
|
|
78
|
-
DateClosed: string;
|
|
79
|
-
Description: string;
|
|
80
|
-
MasterStatementNumber: string;
|
|
81
|
-
MonthClosed: string;
|
|
82
|
-
StatementID: number;
|
|
83
|
-
StatementNumber: number;
|
|
84
|
-
StatementType: string;
|
|
85
|
-
Status: string;
|
|
86
|
-
}
|
|
87
|
-
export interface PaidItems {
|
|
88
|
-
AgencyCode: string;
|
|
89
|
-
AmountDue: number;
|
|
90
|
-
AmountPaid: number;
|
|
91
|
-
BilledFromAccount: string;
|
|
92
|
-
ItemNumber: string;
|
|
93
|
-
PolicyNumber: string;
|
|
94
|
-
ReceivableBalance: number;
|
|
95
|
-
TransactionAmount: number;
|
|
96
|
-
TransactionCode: string;
|
|
97
|
-
TransactionEffectiveDate: string;
|
|
98
|
-
TransactionID: number;
|
|
99
|
-
}
|
|
100
|
-
export interface ApplyCreditsToDebits {
|
|
101
|
-
AgencyCode: null;
|
|
102
|
-
ApplyRemainingBalanceToOption: OptionType;
|
|
103
|
-
ApplyRemainingBalanceToPolicyClientLookupCode: string;
|
|
104
|
-
ApplyRemainingBalanceToPolicyIncludeHistory: boolean;
|
|
105
|
-
ApplyRemainingBalanceToPolicyLineId: number;
|
|
106
|
-
Credits: Credits[];
|
|
107
|
-
Debits: Debits[];
|
|
108
|
-
}
|
|
109
|
-
export interface Credits {
|
|
110
|
-
AccountingMonth: string;
|
|
111
|
-
ARDueDate: string;
|
|
112
|
-
Balance: number;
|
|
113
|
-
Description: string;
|
|
114
|
-
InvoiceNumber: number;
|
|
115
|
-
ItemNumber: number;
|
|
116
|
-
Payments: Payments[];
|
|
117
|
-
Pending: boolean;
|
|
118
|
-
PolicyNumber: string;
|
|
119
|
-
TransactionAmount: string;
|
|
120
|
-
TransactionCode: string;
|
|
121
|
-
TransactionEffectiveDate: string;
|
|
122
|
-
TransactionId: number;
|
|
123
|
-
}
|
|
124
|
-
export interface Payments {
|
|
125
|
-
ApplyToDebitTransactionId: number;
|
|
126
|
-
FullPayment: boolean;
|
|
127
|
-
PartialPaymentAmount: number;
|
|
128
|
-
}
|
|
129
|
-
export interface Debits {
|
|
130
|
-
AccountingMonth: string;
|
|
131
|
-
ARDueDate: string;
|
|
132
|
-
Balance: number;
|
|
133
|
-
Description: string;
|
|
134
|
-
InvoiceNumber: number;
|
|
135
|
-
ItemNumber: number;
|
|
136
|
-
Pending: boolean;
|
|
137
|
-
PolicyNumber: string;
|
|
138
|
-
TransactionAmount: string;
|
|
139
|
-
TransactionCode: string;
|
|
140
|
-
TransactionEffectiveDate: string;
|
|
141
|
-
TransactionID: number;
|
|
142
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface ServiceSummary {
|
|
2
|
-
Description: string;
|
|
3
|
-
Stage: string;
|
|
4
|
-
EffectiveDate: string;
|
|
5
|
-
Id?: number;
|
|
6
|
-
Type?: string;
|
|
7
|
-
Action?: string;
|
|
8
|
-
EnteredDate?: string;
|
|
9
|
-
ServiceSummaryId?: number;
|
|
10
|
-
ServiceSummaryVersion?: string;
|
|
11
|
-
StageChangedDate?: string | null;
|
|
12
|
-
}
|
|
13
|
-
export declare enum ServiceSummaryStage {
|
|
14
|
-
Issued = "Issued",
|
|
15
|
-
Cancelled = "Cancelled"
|
|
16
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ServiceSummaryStage = void 0;
|
|
4
|
-
var ServiceSummaryStage;
|
|
5
|
-
(function (ServiceSummaryStage) {
|
|
6
|
-
ServiceSummaryStage["Issued"] = "Issued";
|
|
7
|
-
ServiceSummaryStage["Cancelled"] = "Cancelled";
|
|
8
|
-
})(ServiceSummaryStage || (exports.ServiceSummaryStage = ServiceSummaryStage = {}));
|
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
import { Address } from './Address';
|
|
2
|
-
export interface Transaction {
|
|
3
|
-
AccountId: string;
|
|
4
|
-
AccountType: string;
|
|
5
|
-
Amount: number;
|
|
6
|
-
AttachToOption: number;
|
|
7
|
-
Balance: number;
|
|
8
|
-
BillNumber: number;
|
|
9
|
-
BillValue: TransactionBill;
|
|
10
|
-
Code: string;
|
|
11
|
-
CommissionsValue: TransactionCommissionValue;
|
|
12
|
-
Description: string;
|
|
13
|
-
Id: string;
|
|
14
|
-
IgnoreFlatCommission: boolean;
|
|
15
|
-
InstallationOption: number;
|
|
16
|
-
InvoiceOption: number;
|
|
17
|
-
InvoiceValue: TransactionInvoice;
|
|
18
|
-
ItemNumber: number;
|
|
19
|
-
PolicyId: string;
|
|
20
|
-
LineId?: string;
|
|
21
|
-
DontApplyTaxes?: boolean;
|
|
22
|
-
}
|
|
23
|
-
export interface CreatePaymentTransaction {
|
|
24
|
-
AccountId: string;
|
|
25
|
-
AccountTypeCode: string;
|
|
26
|
-
Description: string;
|
|
27
|
-
AttachToOption: TransactionBillMode;
|
|
28
|
-
TransactionAmount: number;
|
|
29
|
-
BasicInstallmentOption: TransactionBillMode;
|
|
30
|
-
BillingValue: {
|
|
31
|
-
BillingModeOption: TransactionBillMode;
|
|
32
|
-
};
|
|
33
|
-
BillNumber: number;
|
|
34
|
-
TransactionCode: string;
|
|
35
|
-
InvoicePaymentOption: TransactionBillMode;
|
|
36
|
-
PaymentMethodValue: {
|
|
37
|
-
AccountLookupCode: string;
|
|
38
|
-
PaymentOptionID: number;
|
|
39
|
-
};
|
|
40
|
-
PaymentValue: {
|
|
41
|
-
AccountingMonth: string;
|
|
42
|
-
AgencyCode: string;
|
|
43
|
-
BranchCode: string;
|
|
44
|
-
ProductionMonth: string;
|
|
45
|
-
MethodID?: string;
|
|
46
|
-
PaymentDate?: string;
|
|
47
|
-
};
|
|
48
|
-
PolicyID: string;
|
|
49
|
-
PolicyTypeCode: string;
|
|
50
|
-
}
|
|
51
|
-
export interface CreateTransaction {
|
|
52
|
-
AccountId: string;
|
|
53
|
-
AccountType: string;
|
|
54
|
-
Amount: number;
|
|
55
|
-
AttachToOption: number;
|
|
56
|
-
BillNumberOption: number;
|
|
57
|
-
BillValue: TransactionBill;
|
|
58
|
-
Code: string;
|
|
59
|
-
CommissionsValue: TransactionCommissionValue;
|
|
60
|
-
Description: string;
|
|
61
|
-
IgnoreFlatCommission: boolean;
|
|
62
|
-
InstallationOption: number;
|
|
63
|
-
InstallationPlanId?: string;
|
|
64
|
-
InvoiceOption: number;
|
|
65
|
-
InvoiceValue: TransactionInvoice;
|
|
66
|
-
LineId: string;
|
|
67
|
-
PolicyId: string;
|
|
68
|
-
DontApplyTaxes?: boolean;
|
|
69
|
-
TaxableAmount?: number;
|
|
70
|
-
ReverseFee?: number;
|
|
71
|
-
ReverseFeeCode?: string;
|
|
72
|
-
BillNumber?: number;
|
|
73
|
-
PaymentMethodValue?: PaymentMethodValue;
|
|
74
|
-
PaymentValue?: PaymentValue;
|
|
75
|
-
}
|
|
76
|
-
export interface PaymentValue {
|
|
77
|
-
AccountingMonthField: string;
|
|
78
|
-
AgencyCodeField: string;
|
|
79
|
-
BranchCodeField: string;
|
|
80
|
-
DepartmentCodeField: string;
|
|
81
|
-
GeneralLedgerClearedField: string;
|
|
82
|
-
GeneralLedgerReferNumberField: string;
|
|
83
|
-
MethodIDField?: number;
|
|
84
|
-
PaymentDateField?: string;
|
|
85
|
-
PaymentIDField: string;
|
|
86
|
-
PaymentReceivedDateField: string;
|
|
87
|
-
ProductionMonthField: string;
|
|
88
|
-
ProfitCenterCodeField: string;
|
|
89
|
-
ReceivingAgencyCodeField: string;
|
|
90
|
-
ReceivingBranchCodeField: string;
|
|
91
|
-
ReversalVoidItemReversalNumberField: string;
|
|
92
|
-
ReversalVoidReasonDetailsField: string;
|
|
93
|
-
ReversalVoidReasonIDField?: number;
|
|
94
|
-
ReversalVoidReferNumberField: string;
|
|
95
|
-
}
|
|
96
|
-
export interface PaymentMethodValue {
|
|
97
|
-
AccountLookupCodeField: string;
|
|
98
|
-
ContactIDField?: string;
|
|
99
|
-
ContactNameField: string;
|
|
100
|
-
PaymentOptionIDField?: number;
|
|
101
|
-
TypeCodeField: string;
|
|
102
|
-
}
|
|
103
|
-
export interface TransactionBill {
|
|
104
|
-
AccountingMonth: string;
|
|
105
|
-
AgencyCode?: string;
|
|
106
|
-
ARDueDate?: string;
|
|
107
|
-
BillingModeOption: TransactionBillMode;
|
|
108
|
-
Binder?: string | null;
|
|
109
|
-
BranchCode?: string;
|
|
110
|
-
DepartmentCode?: string;
|
|
111
|
-
EffectiveDate: string;
|
|
112
|
-
GeneralLedgerAccount?: string;
|
|
113
|
-
GenerateInvoiceDate: string;
|
|
114
|
-
ProductionMonth?: string;
|
|
115
|
-
ProfitCenterCode?: string;
|
|
116
|
-
Reason?: string;
|
|
117
|
-
ReasonDetails?: string;
|
|
118
|
-
InvoiceLayout?: string;
|
|
119
|
-
}
|
|
120
|
-
export interface TransactionBillMode {
|
|
121
|
-
OptionName: string;
|
|
122
|
-
Value: number;
|
|
123
|
-
}
|
|
124
|
-
export interface TransactionProducerBrokerCommission {
|
|
125
|
-
CommissionAmount: number;
|
|
126
|
-
CommissionId?: number;
|
|
127
|
-
CommissionPercentage: number;
|
|
128
|
-
CommissionTypeCode: string;
|
|
129
|
-
ContractId?: string;
|
|
130
|
-
DefaultProducerBrokerCommissionId?: string;
|
|
131
|
-
Flag?: number;
|
|
132
|
-
LookupCode: string;
|
|
133
|
-
OrderNumber?: number;
|
|
134
|
-
PayableDueDate?: string;
|
|
135
|
-
ProducerBrokerCode: string;
|
|
136
|
-
ProductionCredit: number;
|
|
137
|
-
ShareRevenueAgencyCode?: string;
|
|
138
|
-
ShareRevenueAgencyId?: number;
|
|
139
|
-
ShareRevenueAgencyName?: string;
|
|
140
|
-
ShareRevenueAmount?: string;
|
|
141
|
-
ShareRevenueBranchCode?: string;
|
|
142
|
-
ShareRevenueBranchId?: number;
|
|
143
|
-
ShareRevenueBranchName?: string;
|
|
144
|
-
ShareRevenueDepartmentCode?: string;
|
|
145
|
-
ShareRevenueDepartmentId?: number;
|
|
146
|
-
ShareRevenueDepartmentName?: string;
|
|
147
|
-
ShareRevenuePercent?: string;
|
|
148
|
-
ShareRevenueProfitCenterCode?: string;
|
|
149
|
-
ShareRevenueProfitCenterId?: number;
|
|
150
|
-
ShareRevenueProfitCenterName?: string;
|
|
151
|
-
}
|
|
152
|
-
export interface TransactionCommissionSplit {
|
|
153
|
-
AgencyCommissionAmount: number;
|
|
154
|
-
AgencyCommissionPercentage: number;
|
|
155
|
-
AgencyCommissionTypeCode: string;
|
|
156
|
-
AgencySplitAmount: number;
|
|
157
|
-
CompanyPayableDueDate?: string | null;
|
|
158
|
-
Flag?: number;
|
|
159
|
-
IssuingCompanyLookupCode: string;
|
|
160
|
-
LineID: number;
|
|
161
|
-
MultiCarrierScheduleID?: number;
|
|
162
|
-
PremiumPayableContractID: string | number;
|
|
163
|
-
PremiumPayableLookupCode: string;
|
|
164
|
-
PremiumPayableTypeCode: string;
|
|
165
|
-
ProducerBrokerCommissions: TransactionProducerBrokerCommission[];
|
|
166
|
-
}
|
|
167
|
-
export interface TransactionCommissionValue {
|
|
168
|
-
RevenueDeferralSchedule?: any[];
|
|
169
|
-
Splits: TransactionCommissionSplit[];
|
|
170
|
-
}
|
|
171
|
-
export interface TransactionInvoice {
|
|
172
|
-
SendInvoiceToOption?: string | null;
|
|
173
|
-
SendInvoiceTos: TransactionInvoiceRecipient[];
|
|
174
|
-
}
|
|
175
|
-
export interface TransactionInvoiceRecipient {
|
|
176
|
-
AccountLookupCode: string;
|
|
177
|
-
Address: Address;
|
|
178
|
-
AddressDescription?: string;
|
|
179
|
-
BillBrokerNet?: string | null;
|
|
180
|
-
Contact: string;
|
|
181
|
-
ContactID?: string | number | null;
|
|
182
|
-
DeliveryMethod: string;
|
|
183
|
-
Email: string;
|
|
184
|
-
FaxCountryCode?: string;
|
|
185
|
-
FaxExtension?: string;
|
|
186
|
-
FaxNumber?: string;
|
|
187
|
-
GenerateInvoice: boolean;
|
|
188
|
-
InvoiceGrouping: string | null;
|
|
189
|
-
InvoiceGroupingExistingInvoiceNumber?: string | null;
|
|
190
|
-
InvoiceMessage?: string;
|
|
191
|
-
InvoiceNumber?: string;
|
|
192
|
-
InvoiceToType: string;
|
|
193
|
-
LoanNumber?: string;
|
|
194
|
-
SiteID?: string;
|
|
195
|
-
SplitReceivableAmount?: string | null;
|
|
196
|
-
SplitReceivablePercent?: string | null;
|
|
197
|
-
}
|
|
198
|
-
export interface FinanceTransactionResult {
|
|
199
|
-
result: string;
|
|
200
|
-
success: boolean;
|
|
201
|
-
timer: number;
|
|
202
|
-
version: string;
|
|
203
|
-
}
|
|
204
|
-
export interface FinanceTransaction {
|
|
205
|
-
FinanceItem: FinanceTransactionItem;
|
|
206
|
-
AccountId: string;
|
|
207
|
-
Flag: string;
|
|
208
|
-
}
|
|
209
|
-
export interface FinanceTransactionItem {
|
|
210
|
-
SendInvoiceToAccountLookupCode: string;
|
|
211
|
-
FinanceDescription: string;
|
|
212
|
-
FinancePercentage: number;
|
|
213
|
-
FinancePercentageFlatAmountOption: FinanceTransactionPercentageOption;
|
|
214
|
-
FinanceGenerateInvoice: boolean;
|
|
215
|
-
Flag?: number;
|
|
216
|
-
}
|
|
217
|
-
export interface FinanceTransactionPercentageOption {
|
|
218
|
-
OptionName: string;
|
|
219
|
-
Value: number;
|
|
220
|
-
}
|
|
221
|
-
export interface TransactionApplyCreditsToDebits {
|
|
222
|
-
AgencyCode: string;
|
|
223
|
-
AssociatedAccountID: string;
|
|
224
|
-
AssociatedAccountTypeCode: string;
|
|
225
|
-
AccountingMonth: string;
|
|
226
|
-
Debits: TransactionDebit[];
|
|
227
|
-
Credits: TransactionCredit[];
|
|
228
|
-
MonthOption: FinanceTransactionPercentageOption;
|
|
229
|
-
}
|
|
230
|
-
export interface TransactionCredit {
|
|
231
|
-
ARDueDate: string;
|
|
232
|
-
AccountingMonth: string;
|
|
233
|
-
Balance: number;
|
|
234
|
-
Description: string;
|
|
235
|
-
ItemNumber: number;
|
|
236
|
-
Payments: TransactionCreditPayment[];
|
|
237
|
-
Pending: boolean;
|
|
238
|
-
PolicyNumber: string;
|
|
239
|
-
TransactionAmount: number;
|
|
240
|
-
TransactionCode: string;
|
|
241
|
-
TransactionEffectiveDate: string;
|
|
242
|
-
TransactionID: number;
|
|
243
|
-
}
|
|
244
|
-
export interface TransactionCreditPayment {
|
|
245
|
-
ApplyToDebitTransactionID: number;
|
|
246
|
-
FullPayment: boolean;
|
|
247
|
-
PartialPaymentAmount: number;
|
|
248
|
-
}
|
|
249
|
-
export interface TransactionDebit {
|
|
250
|
-
ARDueDate: string;
|
|
251
|
-
AccountingMonth: string;
|
|
252
|
-
Balance: number;
|
|
253
|
-
Description: string;
|
|
254
|
-
ItemNumber: number;
|
|
255
|
-
Pending: boolean;
|
|
256
|
-
PolicyNumber: string;
|
|
257
|
-
TransactionAmount: number;
|
|
258
|
-
TransactionCode: string;
|
|
259
|
-
TransactionEffectiveDate: string;
|
|
260
|
-
TransactionID: number;
|
|
261
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
export interface Vehicle {
|
|
2
|
-
VehicleID: number;
|
|
3
|
-
LineID: number;
|
|
4
|
-
Description: VehicleModel.Description;
|
|
5
|
-
Additionnals: VehicleModel.Additionnal[];
|
|
6
|
-
AdditionnalCoverages: VehicleModel.AdditionnalCoverage[];
|
|
7
|
-
Discounts: VehicleModel.Discount[];
|
|
8
|
-
VehicleRating: VehicleModel.VehicleRating;
|
|
9
|
-
OptionalAdditionalCoverageItems: VehicleModel.AdditionnalCoverage[];
|
|
10
|
-
Limits: any;
|
|
11
|
-
}
|
|
12
|
-
export declare namespace VehicleModel {
|
|
13
|
-
interface Description {
|
|
14
|
-
TradeName: string;
|
|
15
|
-
Model: string;
|
|
16
|
-
ModelYear: number | null;
|
|
17
|
-
VehicleIdentificationNumber: string;
|
|
18
|
-
BodyTypeCode?: string;
|
|
19
|
-
BodyTypeIfOther?: string;
|
|
20
|
-
}
|
|
21
|
-
interface AdditionnalCoverage {
|
|
22
|
-
AdditionalCoverageID: number;
|
|
23
|
-
CoverageCode: string;
|
|
24
|
-
CoverageEffectiveDate: string;
|
|
25
|
-
CoverageExpiryDate: string;
|
|
26
|
-
CoverageExpirationDate?: string;
|
|
27
|
-
Deductible: string;
|
|
28
|
-
Description: string;
|
|
29
|
-
FormEditionDate: null;
|
|
30
|
-
FormNumber: string;
|
|
31
|
-
IsReadOnly: true;
|
|
32
|
-
Limit1: string;
|
|
33
|
-
Limit2: string;
|
|
34
|
-
LineID: number;
|
|
35
|
-
NetChangePremium: number;
|
|
36
|
-
NumValue: string;
|
|
37
|
-
NumericValue?: string;
|
|
38
|
-
Occurrence: string;
|
|
39
|
-
OptionCode: string;
|
|
40
|
-
PercentCoinsurance: null;
|
|
41
|
-
Premium: number;
|
|
42
|
-
Rate?: string;
|
|
43
|
-
Timestamp: string;
|
|
44
|
-
VehicleID: number;
|
|
45
|
-
YesNoIndicator: string;
|
|
46
|
-
Flag?: string;
|
|
47
|
-
OptionalAdditionalCoverageID?: string;
|
|
48
|
-
}
|
|
49
|
-
interface Additionnal {
|
|
50
|
-
Code: string;
|
|
51
|
-
Deductible: string;
|
|
52
|
-
Description: string;
|
|
53
|
-
Form: string;
|
|
54
|
-
Id: string;
|
|
55
|
-
NumericValue: string;
|
|
56
|
-
OptionCode: string;
|
|
57
|
-
Premium: number | null;
|
|
58
|
-
Limit1: string;
|
|
59
|
-
Limit2: string;
|
|
60
|
-
}
|
|
61
|
-
interface Discount {
|
|
62
|
-
Code: string;
|
|
63
|
-
Description: string;
|
|
64
|
-
Id: number;
|
|
65
|
-
Premium: number | null;
|
|
66
|
-
Percentage: number | null;
|
|
67
|
-
}
|
|
68
|
-
interface VehicleRating {
|
|
69
|
-
FacilityRefusalCode: string;
|
|
70
|
-
FacilityTierCode: string;
|
|
71
|
-
FacilityTierDate: string | null;
|
|
72
|
-
OccasionalDriverRatingClass: string;
|
|
73
|
-
OccasionalDriverRatingDrivingRecordColl: string;
|
|
74
|
-
OccasionalDriverRatingDrivingRecordTPL: string;
|
|
75
|
-
RatingClass: string;
|
|
76
|
-
RatingDrivingRecordColl: string;
|
|
77
|
-
RatingDrivingRecordTPL: string;
|
|
78
|
-
RatingLocation: string;
|
|
79
|
-
RatingRateGroupAB: string;
|
|
80
|
-
RatingRateGroupCollAP: string;
|
|
81
|
-
RatingRateGroupCompSP: string;
|
|
82
|
-
RatingRateGroupDCPD: string;
|
|
83
|
-
RatingSubClass: string | null;
|
|
84
|
-
RatingTerritory: string;
|
|
85
|
-
RatingVehicleCode: string;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface SharepointConnection {
|
|
2
|
-
tenantId: string;
|
|
3
|
-
clientId: string;
|
|
4
|
-
secretName: string;
|
|
5
|
-
siteUrl: string;
|
|
6
|
-
driveName: string;
|
|
7
|
-
}
|
|
8
|
-
export interface SharepointSearchRequest extends SharepointConnection {
|
|
9
|
-
keyword: string;
|
|
10
|
-
folderPath?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface SharepointFileInfo {
|
|
13
|
-
id: string;
|
|
14
|
-
name: string;
|
|
15
|
-
webUrl: string;
|
|
16
|
-
}
|
|
17
|
-
export interface SharepointSearchResponse {
|
|
18
|
-
file: SharepointFileInfo | null;
|
|
19
|
-
}
|
|
20
|
-
export interface SharepointDownloadResult {
|
|
21
|
-
buffer: Buffer;
|
|
22
|
-
fileName: string;
|
|
23
|
-
fileId: string;
|
|
24
|
-
webUrl: string;
|
|
25
|
-
}
|