@cemiar/cemiarlink-sdk 1.0.20 → 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.
Files changed (120) hide show
  1. package/README.md +2 -2
  2. package/package.json +38 -38
  3. package/dist/exceptions/EpicException.d.ts +0 -3
  4. package/dist/exceptions/EpicException.js +0 -10
  5. package/dist/exceptions/MissingInfo.d.ts +0 -3
  6. package/dist/exceptions/MissingInfo.js +0 -10
  7. package/dist/exceptions/NotProcessYet.d.ts +0 -3
  8. package/dist/exceptions/NotProcessYet.js +0 -10
  9. package/dist/models/admin/BusMessage.d.ts +0 -4
  10. package/dist/models/admin/BusMessage.js +0 -2
  11. package/dist/models/admin/Counter.d.ts +0 -8
  12. package/dist/models/admin/Counter.js +0 -2
  13. package/dist/models/admin/Email.d.ts +0 -49
  14. package/dist/models/admin/Email.js +0 -2
  15. package/dist/models/admin/ExcelSheet.d.ts +0 -5
  16. package/dist/models/admin/ExcelSheet.js +0 -2
  17. package/dist/models/admin/ExtractTable.d.ts +0 -37
  18. package/dist/models/admin/ExtractTable.js +0 -2
  19. package/dist/models/admin/IDictionary.d.ts +0 -3
  20. package/dist/models/admin/IDictionary.js +0 -2
  21. package/dist/models/admin/KimobyResult.d.ts +0 -17
  22. package/dist/models/admin/KimobyResult.js +0 -2
  23. package/dist/models/admin/PdfReader.d.ts +0 -26
  24. package/dist/models/admin/PdfReader.js +0 -2
  25. package/dist/models/admin/Primaco.d.ts +0 -14
  26. package/dist/models/admin/Primaco.js +0 -2
  27. package/dist/models/epic/Activity.d.ts +0 -83
  28. package/dist/models/epic/Activity.js +0 -2
  29. package/dist/models/epic/AdditionalInterest.d.ts +0 -15
  30. package/dist/models/epic/AdditionalInterest.js +0 -2
  31. package/dist/models/epic/Address.d.ts +0 -10
  32. package/dist/models/epic/Address.js +0 -2
  33. package/dist/models/epic/Attachment.d.ts +0 -51
  34. package/dist/models/epic/Attachment.js +0 -2
  35. package/dist/models/epic/Broker.d.ts +0 -38
  36. package/dist/models/epic/Broker.js +0 -2
  37. package/dist/models/epic/Claim.d.ts +0 -24
  38. package/dist/models/epic/Claim.js +0 -2
  39. package/dist/models/epic/Commission.d.ts +0 -76
  40. package/dist/models/epic/Commission.js +0 -2
  41. package/dist/models/epic/Company.d.ts +0 -9
  42. package/dist/models/epic/Company.js +0 -2
  43. package/dist/models/epic/Contact.d.ts +0 -49
  44. package/dist/models/epic/Contact.js +0 -2
  45. package/dist/models/epic/Customer.d.ts +0 -98
  46. package/dist/models/epic/Customer.js +0 -2
  47. package/dist/models/epic/DirectBillCommission.d.ts +0 -18
  48. package/dist/models/epic/DirectBillCommission.js +0 -2
  49. package/dist/models/epic/Driver.d.ts +0 -67
  50. package/dist/models/epic/Driver.js +0 -2
  51. package/dist/models/epic/Employee.d.ts +0 -145
  52. package/dist/models/epic/Employee.js +0 -2
  53. package/dist/models/epic/GeneralLedgerReconcileBank.d.ts +0 -117
  54. package/dist/models/epic/GeneralLedgerReconcileBank.js +0 -2
  55. package/dist/models/epic/Habitational.d.ts +0 -156
  56. package/dist/models/epic/Habitational.js +0 -2
  57. package/dist/models/epic/JournalEntry.d.ts +0 -69
  58. package/dist/models/epic/JournalEntry.js +0 -2
  59. package/dist/models/epic/Line.d.ts +0 -169
  60. package/dist/models/epic/Line.js +0 -2
  61. package/dist/models/epic/Lookup.d.ts +0 -5
  62. package/dist/models/epic/Lookup.js +0 -2
  63. package/dist/models/epic/MultiCarrierSchedule.d.ts +0 -70
  64. package/dist/models/epic/MultiCarrierSchedule.js +0 -11
  65. package/dist/models/epic/Opportunity.d.ts +0 -45
  66. package/dist/models/epic/Opportunity.js +0 -2
  67. package/dist/models/epic/OptionType.d.ts +0 -4
  68. package/dist/models/epic/OptionType.js +0 -2
  69. package/dist/models/epic/PayableContract.d.ts +0 -19
  70. package/dist/models/epic/PayableContract.js +0 -2
  71. package/dist/models/epic/Policy.d.ts +0 -129
  72. package/dist/models/epic/Policy.js +0 -2
  73. package/dist/models/epic/PolicyV2.d.ts +0 -157
  74. package/dist/models/epic/PolicyV2.js +0 -2
  75. package/dist/models/epic/Receipt.d.ts +0 -142
  76. package/dist/models/epic/Receipt.js +0 -2
  77. package/dist/models/epic/RenewalStage.d.ts +0 -5
  78. package/dist/models/epic/RenewalStage.js +0 -2
  79. package/dist/models/epic/Response.d.ts +0 -9
  80. package/dist/models/epic/Response.js +0 -2
  81. package/dist/models/epic/ServiceSummary.d.ts +0 -16
  82. package/dist/models/epic/ServiceSummary.js +0 -8
  83. package/dist/models/epic/ServicingContact.d.ts +0 -6
  84. package/dist/models/epic/ServicingContact.js +0 -2
  85. package/dist/models/epic/Transaction.d.ts +0 -261
  86. package/dist/models/epic/Transaction.js +0 -2
  87. package/dist/models/epic/Vehicle.d.ts +0 -87
  88. package/dist/models/epic/Vehicle.js +0 -2
  89. package/dist/models/mail/EmailAttachment.d.ts +0 -5
  90. package/dist/models/mail/EmailAttachment.js +0 -2
  91. package/dist/models/mail/EmailReport.d.ts +0 -10
  92. package/dist/models/mail/EmailReport.js +0 -2
  93. package/dist/models/mail/GetEmailReportOptions.d.ts +0 -5
  94. package/dist/models/mail/GetEmailReportOptions.js +0 -2
  95. package/dist/models/mail/GmailMail.d.ts +0 -8
  96. package/dist/models/mail/GmailMail.js +0 -2
  97. package/dist/models/mail/TransactionWatchList.d.ts +0 -7
  98. package/dist/models/mail/TransactionWatchList.js +0 -2
  99. package/dist/models/sharepoint/Sharepoint.d.ts +0 -25
  100. package/dist/models/sharepoint/Sharepoint.js +0 -2
  101. package/dist/services/Admin.d.ts +0 -40
  102. package/dist/services/Admin.js +0 -222
  103. package/dist/services/BaseEpicService.d.ts +0 -16
  104. package/dist/services/BaseEpicService.js +0 -107
  105. package/dist/services/Epic.d.ts +0 -129
  106. package/dist/services/Epic.js +0 -313
  107. package/dist/services/JobEpicService.d.ts +0 -11
  108. package/dist/services/JobEpicService.js +0 -21
  109. package/dist/services/Mail.d.ts +0 -52
  110. package/dist/services/Mail.js +0 -318
  111. package/dist/services/MultiCarrierScheduleEpicService.d.ts +0 -12
  112. package/dist/services/MultiCarrierScheduleEpicService.js +0 -24
  113. package/dist/services/SharepointService.d.ts +0 -13
  114. package/dist/services/SharepointService.js +0 -44
  115. package/dist/utils/AxiosClient.d.ts +0 -6
  116. package/dist/utils/AxiosClient.js +0 -35
  117. package/dist/utils/DeepPartial.d.ts +0 -3
  118. package/dist/utils/DeepPartial.js +0 -2
  119. package/dist/utils/Excel.d.ts +0 -8
  120. package/dist/utils/Excel.js +0 -99
@@ -1,157 +0,0 @@
1
- import { OptionType } from './OptionType';
2
- export interface PolicyV2 {
3
- AccountID: number;
4
- AgencyCode: string;
5
- AgencyCommissionAmount?: number;
6
- AgencyCommissionPercent?: number;
7
- AgencyCommissionType: string;
8
- AgreementID: number;
9
- AnnualizedCommission?: number;
10
- AnnualizedPremium?: number;
11
- BillingModeOption?: OptionType;
12
- BranchCode: string;
13
- DefaultCommissionAgreement: boolean;
14
- DepartmentCode: string;
15
- Description: string;
16
- EffectiveDate: string;
17
- EstimatedCommission?: number;
18
- EstimatedPremium?: number;
19
- ExpirationDate: string;
20
- IsProspectivePolicy: boolean;
21
- IssuingCompanyLookupCode: string;
22
- IssuingLocationCode: string;
23
- LineEstimatedCommission?: number;
24
- LineEstimatedPremium?: number;
25
- LineTypeCode: string;
26
- PayableContractID?: number;
27
- PolicyID: number;
28
- PolicyNumber: string;
29
- PolicyTypeCode: string;
30
- PrefillID?: number;
31
- PremiumPayableLookupCode: string;
32
- PremiumPayableTypeCode: string;
33
- ProfitCenterCode: string;
34
- Source: string;
35
- StatusCode: string;
36
- MultiCarrierSchedule: boolean;
37
- Downloaded?: number;
38
- EstimatedMonthlyCommission?: number;
39
- EstimatedMonthlyPremium?: number;
40
- TurnOffPolicyDownload: boolean;
41
- OverrideCommissionAgreementPercentageOrAmount: boolean;
42
- CPAAuthorized: string;
43
- }
44
- export declare namespace PolicyV2Model {
45
- interface RenewPolicy {
46
- PolicyID: number;
47
- AgencyCode?: string;
48
- BranchCode?: string;
49
- DepartmentCode?: string;
50
- PolicyTypeCode?: string;
51
- EffectiveDate?: string;
52
- ExpirationDate?: string;
53
- RenewAlreadyRenewedPolicy?: boolean;
54
- Lines?: RenewPolicyLineItem[];
55
- }
56
- interface RenewPolicyLineItem {
57
- LineID: number;
58
- PremiumPayableTypeCode: string;
59
- ProfitCenterCode: string;
60
- StatusCode: string;
61
- LineTypeCode: string;
62
- AgencyCommissionTypeCode: string;
63
- AgencyCommissionAmount?: number | null;
64
- AgencyCommissionPercent?: number | null;
65
- AgreementID?: number;
66
- BillingModeOption?: OptionType;
67
- DefaultCommissionAgreement?: boolean;
68
- IssuingCompanyLookupCode?: string;
69
- OverrideCommissionAgreementPercentageOrAmount?: boolean;
70
- PayableContractID?: number | null;
71
- PremiumPayableLookupCode?: string;
72
- Flag: 0 | 1;
73
- }
74
- interface IssuePolicy {
75
- PolicyID: number;
76
- ServiceSummaryID?: number;
77
- PolicyNumber?: string;
78
- EffectiveDate?: string;
79
- ExpirationDate?: string;
80
- IgnoreOpenActivities?: boolean;
81
- Lines?: IssuePolicyLineItem[];
82
- }
83
- interface IssuePolicyLineItem {
84
- LineID: number;
85
- IssueNotIssuePolicyOption: OptionType;
86
- IssuingCompanyLookupCode: string;
87
- PremiumPayableLookupCode: string;
88
- PremiumPayableTypeCode: string;
89
- StatusCode: string;
90
- PayableContractID?: number | null;
91
- }
92
- interface EndorseExistingLine {
93
- PolicyID: number;
94
- EffectiveDateOfChange: string;
95
- Description?: string;
96
- }
97
- interface EndorseAddLine {
98
- PolicyID: number;
99
- EffectiveDateOfChange: string;
100
- Description?: string;
101
- LinesOfBusiness: EndorseAddLineItem[];
102
- }
103
- interface EndorseAddLineItem {
104
- AgencyCommissionAmount?: number | null;
105
- AgencyCommissionPercent?: number | null;
106
- AgreementID?: number;
107
- BillingModeOption?: OptionType;
108
- DefaultCommissionAgreement?: boolean;
109
- IssuingCompanyLookupCode?: string;
110
- IssuingLocationCode?: string;
111
- LineTypeCode?: string;
112
- PayableContractID?: number | null;
113
- PrefillID?: number | null;
114
- PremiumPayableLookupCode?: string;
115
- PremiumPayableTypeCode?: string;
116
- ProfitCenterCode?: string;
117
- StatusCode?: string;
118
- TaxOptionCode?: string;
119
- }
120
- interface IssueEndorsement {
121
- PolicyID: number;
122
- ServiceSummaryID?: number;
123
- Lines?: IssueEndorsementLineItem[];
124
- IgnoreOpenActivities?: boolean;
125
- }
126
- interface IssueEndorsementLineItem {
127
- LineID: number;
128
- IssueNotIssueEndorsementOption: OptionType;
129
- StatusCode: string;
130
- }
131
- interface CancelPolicy {
132
- PolicyID: number;
133
- PolicyNumber?: string;
134
- PolicyTypeCode?: string;
135
- ServiceSummaryID?: number;
136
- CancellationEffectiveDateTime: string;
137
- Description?: string;
138
- CancellationReasonCode?: string;
139
- CancellationReasonCompany?: string;
140
- CancellationReasonEffectiveDate?: string;
141
- CancelOption?: OptionType;
142
- LinesOfBusiness?: {
143
- LineID: number;
144
- Flag: number;
145
- }[];
146
- }
147
- interface IssueCancellation {
148
- ExpirationDate: string;
149
- PolicyID?: number;
150
- ServiceSummaryID?: number;
151
- Lines?: {
152
- LineID: number;
153
- StatusCode: string;
154
- }[];
155
- IgnoreOpenActivities?: boolean;
156
- }
157
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export interface RenewalStage {
2
- CurrentStage: string;
3
- PolicyID: number;
4
- PolicyNumber: string;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,6 +0,0 @@
1
- export interface ServicingContact {
2
- Code: string;
3
- Description: string;
4
- EmployeeLookupCode: string;
5
- Role: string;
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });