@cemiar/cemiarlink-sdk 1.0.22 → 1.0.23

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.
Files changed (119) hide show
  1. package/dist/exceptions/EpicException.d.ts +3 -0
  2. package/dist/exceptions/EpicException.js +10 -0
  3. package/dist/exceptions/MissingInfo.d.ts +3 -0
  4. package/dist/exceptions/MissingInfo.js +10 -0
  5. package/dist/exceptions/NotProcessYet.d.ts +3 -0
  6. package/dist/exceptions/NotProcessYet.js +10 -0
  7. package/dist/models/admin/BusMessage.d.ts +4 -0
  8. package/dist/models/admin/BusMessage.js +2 -0
  9. package/dist/models/admin/Counter.d.ts +8 -0
  10. package/dist/models/admin/Counter.js +2 -0
  11. package/dist/models/admin/Email.d.ts +49 -0
  12. package/dist/models/admin/Email.js +2 -0
  13. package/dist/models/admin/ExcelSheet.d.ts +5 -0
  14. package/dist/models/admin/ExcelSheet.js +2 -0
  15. package/dist/models/admin/ExtractTable.d.ts +37 -0
  16. package/dist/models/admin/ExtractTable.js +2 -0
  17. package/dist/models/admin/IDictionary.d.ts +3 -0
  18. package/dist/models/admin/IDictionary.js +2 -0
  19. package/dist/models/admin/KimobyResult.d.ts +17 -0
  20. package/dist/models/admin/KimobyResult.js +2 -0
  21. package/dist/models/admin/PdfReader.d.ts +26 -0
  22. package/dist/models/admin/PdfReader.js +2 -0
  23. package/dist/models/admin/Primaco.d.ts +14 -0
  24. package/dist/models/admin/Primaco.js +2 -0
  25. package/dist/models/epic/Activity.d.ts +83 -0
  26. package/dist/models/epic/Activity.js +2 -0
  27. package/dist/models/epic/AdditionalInterest.d.ts +15 -0
  28. package/dist/models/epic/AdditionalInterest.js +2 -0
  29. package/dist/models/epic/Address.d.ts +10 -0
  30. package/dist/models/epic/Address.js +2 -0
  31. package/dist/models/epic/Attachment.d.ts +51 -0
  32. package/dist/models/epic/Attachment.js +2 -0
  33. package/dist/models/epic/Broker.d.ts +38 -0
  34. package/dist/models/epic/Broker.js +2 -0
  35. package/dist/models/epic/Claim.d.ts +24 -0
  36. package/dist/models/epic/Claim.js +2 -0
  37. package/dist/models/epic/Commission.d.ts +76 -0
  38. package/dist/models/epic/Commission.js +2 -0
  39. package/dist/models/epic/Company.d.ts +9 -0
  40. package/dist/models/epic/Company.js +2 -0
  41. package/dist/models/epic/Contact.d.ts +49 -0
  42. package/dist/models/epic/Contact.js +2 -0
  43. package/dist/models/epic/Customer.d.ts +99 -0
  44. package/dist/models/epic/Customer.js +2 -0
  45. package/dist/models/epic/DirectBillCommission.d.ts +18 -0
  46. package/dist/models/epic/DirectBillCommission.js +2 -0
  47. package/dist/models/epic/Driver.d.ts +67 -0
  48. package/dist/models/epic/Driver.js +2 -0
  49. package/dist/models/epic/Employee.d.ts +145 -0
  50. package/dist/models/epic/Employee.js +2 -0
  51. package/dist/models/epic/GeneralLedgerReconcileBank.d.ts +117 -0
  52. package/dist/models/epic/GeneralLedgerReconcileBank.js +2 -0
  53. package/dist/models/epic/Habitational.d.ts +156 -0
  54. package/dist/models/epic/Habitational.js +2 -0
  55. package/dist/models/epic/JournalEntry.d.ts +70 -0
  56. package/dist/models/epic/JournalEntry.js +2 -0
  57. package/dist/models/epic/Line.d.ts +169 -0
  58. package/dist/models/epic/Line.js +2 -0
  59. package/dist/models/epic/Lookup.d.ts +5 -0
  60. package/dist/models/epic/Lookup.js +2 -0
  61. package/dist/models/epic/MultiCarrierSchedule.d.ts +70 -0
  62. package/dist/models/epic/MultiCarrierSchedule.js +11 -0
  63. package/dist/models/epic/Opportunity.d.ts +45 -0
  64. package/dist/models/epic/Opportunity.js +2 -0
  65. package/dist/models/epic/OptionType.d.ts +4 -0
  66. package/dist/models/epic/OptionType.js +2 -0
  67. package/dist/models/epic/PayableContract.d.ts +19 -0
  68. package/dist/models/epic/PayableContract.js +2 -0
  69. package/dist/models/epic/Policy.d.ts +129 -0
  70. package/dist/models/epic/Policy.js +2 -0
  71. package/dist/models/epic/PolicyV2.d.ts +157 -0
  72. package/dist/models/epic/PolicyV2.js +2 -0
  73. package/dist/models/epic/Receipt.d.ts +142 -0
  74. package/dist/models/epic/Receipt.js +2 -0
  75. package/dist/models/epic/RenewalStage.d.ts +5 -0
  76. package/dist/models/epic/RenewalStage.js +2 -0
  77. package/dist/models/epic/Response.d.ts +9 -0
  78. package/dist/models/epic/Response.js +2 -0
  79. package/dist/models/epic/ServiceSummary.d.ts +16 -0
  80. package/dist/models/epic/ServiceSummary.js +8 -0
  81. package/dist/models/epic/ServicingContact.d.ts +6 -0
  82. package/dist/models/epic/ServicingContact.js +2 -0
  83. package/dist/models/epic/Transaction.d.ts +261 -0
  84. package/dist/models/epic/Transaction.js +2 -0
  85. package/dist/models/epic/Vehicle.d.ts +87 -0
  86. package/dist/models/epic/Vehicle.js +2 -0
  87. package/dist/models/mail/EmailAttachment.d.ts +5 -0
  88. package/dist/models/mail/EmailAttachment.js +2 -0
  89. package/dist/models/mail/EmailReport.d.ts +10 -0
  90. package/dist/models/mail/EmailReport.js +2 -0
  91. package/dist/models/mail/GetEmailReportOptions.d.ts +5 -0
  92. package/dist/models/mail/GetEmailReportOptions.js +2 -0
  93. package/dist/models/mail/GmailMail.d.ts +8 -0
  94. package/dist/models/mail/GmailMail.js +2 -0
  95. package/dist/models/mail/TransactionWatchList.d.ts +7 -0
  96. package/dist/models/mail/TransactionWatchList.js +2 -0
  97. package/dist/models/sharepoint/Sharepoint.d.ts +25 -0
  98. package/dist/models/sharepoint/Sharepoint.js +2 -0
  99. package/dist/services/Admin.d.ts +40 -0
  100. package/dist/services/Admin.js +222 -0
  101. package/dist/services/BaseEpicService.d.ts +16 -0
  102. package/dist/services/BaseEpicService.js +107 -0
  103. package/dist/services/Epic.d.ts +129 -0
  104. package/dist/services/Epic.js +313 -0
  105. package/dist/services/JobEpicService.d.ts +11 -0
  106. package/dist/services/JobEpicService.js +21 -0
  107. package/dist/services/Mail.d.ts +52 -0
  108. package/dist/services/Mail.js +318 -0
  109. package/dist/services/MultiCarrierScheduleEpicService.d.ts +12 -0
  110. package/dist/services/MultiCarrierScheduleEpicService.js +24 -0
  111. package/dist/services/SharepointService.d.ts +13 -0
  112. package/dist/services/SharepointService.js +44 -0
  113. package/dist/utils/AxiosClient.d.ts +6 -0
  114. package/dist/utils/AxiosClient.js +35 -0
  115. package/dist/utils/DeepPartial.d.ts +3 -0
  116. package/dist/utils/DeepPartial.js +2 -0
  117. package/dist/utils/Excel.d.ts +8 -0
  118. package/dist/utils/Excel.js +99 -0
  119. package/package.json +1 -1
@@ -0,0 +1,142 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface RenewalStage {
2
+ CurrentStage: string;
3
+ PolicyID: number;
4
+ PolicyNumber: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ export interface EpicResponse {
2
+ code?: string;
3
+ message: string;
4
+ Message: string;
5
+ result: any;
6
+ success: boolean;
7
+ bodyError?: any;
8
+ stackTrace?: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
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
+ }
@@ -0,0 +1,8 @@
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 = {}));
@@ -0,0 +1,6 @@
1
+ export interface ServicingContact {
2
+ Code: string;
3
+ Description: string;
4
+ EmployeeLookupCode: string;
5
+ Role: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,261 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,87 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface EmailAttachment {
2
+ filename: string;
3
+ path: string;
4
+ cid?: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ export interface EmailReport {
2
+ emailId: string;
3
+ recipient: string;
4
+ buffer?: Buffer;
5
+ subject: string;
6
+ date: string;
7
+ extension?: string;
8
+ textContent: string;
9
+ from: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export default interface GetEmailReportOptions {
2
+ includeRead?: boolean;
3
+ skipRead?: boolean;
4
+ subfolders?: string[];
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface GmailElement {
2
+ id: string;
3
+ threadId: string;
4
+ }
5
+ export interface GMailFolder {
6
+ id: string;
7
+ name: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export interface TransactionWatch {
2
+ itemNumbers: string[];
3
+ clientCode: string;
4
+ financement: string;
5
+ from: string;
6
+ transfert: boolean;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });