@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.
- 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/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/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 +51 -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 +99 -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/JournalEntry.d.ts +70 -0
- package/dist/models/epic/JournalEntry.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/mail/EmailAttachment.d.ts +5 -0
- package/dist/models/mail/EmailAttachment.js +2 -0
- package/dist/models/mail/EmailReport.d.ts +10 -0
- package/dist/models/mail/EmailReport.js +2 -0
- package/dist/models/mail/GetEmailReportOptions.d.ts +5 -0
- package/dist/models/mail/GetEmailReportOptions.js +2 -0
- package/dist/models/mail/GmailMail.d.ts +8 -0
- package/dist/models/mail/GmailMail.js +2 -0
- package/dist/models/mail/TransactionWatchList.d.ts +7 -0
- package/dist/models/mail/TransactionWatchList.js +2 -0
- package/dist/models/sharepoint/Sharepoint.d.ts +25 -0
- package/dist/models/sharepoint/Sharepoint.js +2 -0
- package/dist/services/Admin.d.ts +40 -0
- package/dist/services/Admin.js +222 -0
- package/dist/services/BaseEpicService.d.ts +16 -0
- package/dist/services/BaseEpicService.js +107 -0
- package/dist/services/Epic.d.ts +129 -0
- package/dist/services/Epic.js +313 -0
- package/dist/services/JobEpicService.d.ts +11 -0
- package/dist/services/JobEpicService.js +21 -0
- package/dist/services/Mail.d.ts +52 -0
- package/dist/services/Mail.js +318 -0
- package/dist/services/MultiCarrierScheduleEpicService.d.ts +12 -0
- package/dist/services/MultiCarrierScheduleEpicService.js +24 -0
- package/dist/services/SharepointService.d.ts +13 -0
- package/dist/services/SharepointService.js +44 -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 +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EpicException = void 0;
|
|
4
|
+
class EpicException extends Error {
|
|
5
|
+
constructor(message) {
|
|
6
|
+
super(message);
|
|
7
|
+
this.name = 'EpicException';
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.EpicException = EpicException;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MissingInfo = void 0;
|
|
4
|
+
class MissingInfo extends Error {
|
|
5
|
+
constructor(message) {
|
|
6
|
+
super(message);
|
|
7
|
+
this.name = 'MissingInfo';
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.MissingInfo = MissingInfo;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotProcessYet = void 0;
|
|
4
|
+
class NotProcessYet extends Error {
|
|
5
|
+
constructor(message) {
|
|
6
|
+
super(message);
|
|
7
|
+
this.name = 'NotProcessYet';
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.NotProcessYet = NotProcessYet;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export interface Email {
|
|
2
|
+
subject: string;
|
|
3
|
+
receivers: string[];
|
|
4
|
+
textContent?: string;
|
|
5
|
+
htmlContent?: string;
|
|
6
|
+
rawContent?: string;
|
|
7
|
+
attachments?: Attachment[];
|
|
8
|
+
}
|
|
9
|
+
export interface EmailAws {
|
|
10
|
+
from: string;
|
|
11
|
+
to: string | string[];
|
|
12
|
+
subject: string;
|
|
13
|
+
cc?: string;
|
|
14
|
+
bcc?: string;
|
|
15
|
+
text?: string;
|
|
16
|
+
html?: string;
|
|
17
|
+
raw?: string;
|
|
18
|
+
attachments?: Attachment[];
|
|
19
|
+
verifyEmail?: boolean;
|
|
20
|
+
identityNotificationEmail?: string;
|
|
21
|
+
skipSendAwsVerify?: boolean;
|
|
22
|
+
callBackConfig?: MailCallBackConfig;
|
|
23
|
+
}
|
|
24
|
+
export interface MailCallBackConfig {
|
|
25
|
+
reportId?: string;
|
|
26
|
+
reportLineIndex?: string;
|
|
27
|
+
callBackBus?: string;
|
|
28
|
+
scenario?: string;
|
|
29
|
+
reportName?: string;
|
|
30
|
+
total?: string;
|
|
31
|
+
cemiarTaskId?: string;
|
|
32
|
+
env?: string;
|
|
33
|
+
}
|
|
34
|
+
interface Attachment {
|
|
35
|
+
content: string;
|
|
36
|
+
encoding: string;
|
|
37
|
+
filename: string;
|
|
38
|
+
}
|
|
39
|
+
export interface SendMailResult {
|
|
40
|
+
success: boolean;
|
|
41
|
+
info: enveloppe;
|
|
42
|
+
message?: string;
|
|
43
|
+
emlBase64?: string;
|
|
44
|
+
}
|
|
45
|
+
interface enveloppe {
|
|
46
|
+
to: string;
|
|
47
|
+
from: string;
|
|
48
|
+
}
|
|
49
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export interface ExtractTableResponse {
|
|
2
|
+
header: string[];
|
|
3
|
+
rows: string[][];
|
|
4
|
+
}
|
|
5
|
+
export interface ExtractInsurerResponse {
|
|
6
|
+
insurer: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ExtractBody {
|
|
9
|
+
base64: string;
|
|
10
|
+
}
|
|
11
|
+
export interface TableExtractBody extends ExtractBody {
|
|
12
|
+
metadata?: {
|
|
13
|
+
type?: 'reconciliation';
|
|
14
|
+
insurer?: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export interface AzureOCRResponse {
|
|
18
|
+
pageNumber: number;
|
|
19
|
+
paragraphs: Paragraph[];
|
|
20
|
+
tables: Table[];
|
|
21
|
+
}
|
|
22
|
+
export interface Paragraph {
|
|
23
|
+
content: string;
|
|
24
|
+
pos: Position;
|
|
25
|
+
role: string;
|
|
26
|
+
}
|
|
27
|
+
export interface Position {
|
|
28
|
+
bottomLeftCorner: number[];
|
|
29
|
+
bottomRightCorner: number[];
|
|
30
|
+
topLeftCorner: number[];
|
|
31
|
+
topRightCorner: number[];
|
|
32
|
+
}
|
|
33
|
+
export interface Table {
|
|
34
|
+
header: string[];
|
|
35
|
+
rows: string[][];
|
|
36
|
+
pos: Position;
|
|
37
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface kimobyResult {
|
|
2
|
+
statusCode: number;
|
|
3
|
+
message: string;
|
|
4
|
+
error: string | null;
|
|
5
|
+
id: number;
|
|
6
|
+
customer_id: number;
|
|
7
|
+
customer: object;
|
|
8
|
+
conversation_id: string;
|
|
9
|
+
user_sub_user_id: string;
|
|
10
|
+
body: string;
|
|
11
|
+
element_type: string;
|
|
12
|
+
direction: string;
|
|
13
|
+
status: string;
|
|
14
|
+
documents: object[];
|
|
15
|
+
created_at: string;
|
|
16
|
+
updated_at: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface PdfReaderResponse {
|
|
2
|
+
fieldsData: {
|
|
3
|
+
[index: string]: {
|
|
4
|
+
value: any;
|
|
5
|
+
regex: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
}
|
|
10
|
+
export interface PdfReaderBody {
|
|
11
|
+
before_doc: string;
|
|
12
|
+
after_doc: string;
|
|
13
|
+
before_year: string;
|
|
14
|
+
after_year: string;
|
|
15
|
+
prime_before: number;
|
|
16
|
+
prime_after: number;
|
|
17
|
+
client_name: string;
|
|
18
|
+
client_infos: string[];
|
|
19
|
+
client_recipe: number;
|
|
20
|
+
type: string;
|
|
21
|
+
operation_id: string;
|
|
22
|
+
}
|
|
23
|
+
export interface ClassificationResult {
|
|
24
|
+
documentType: string;
|
|
25
|
+
regex: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface FlashPaymentRequest {
|
|
2
|
+
amount: number;
|
|
3
|
+
reference: string;
|
|
4
|
+
email: string;
|
|
5
|
+
first_name?: string;
|
|
6
|
+
last_name: string;
|
|
7
|
+
comment?: string;
|
|
8
|
+
language: string;
|
|
9
|
+
}
|
|
10
|
+
export interface FlashPaymentResponse {
|
|
11
|
+
success: boolean;
|
|
12
|
+
paymentId: number;
|
|
13
|
+
link: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export interface CreateActivity {
|
|
2
|
+
AccountId: string;
|
|
3
|
+
AccountType: string;
|
|
4
|
+
AgencyCode: string;
|
|
5
|
+
AssociatedId: string;
|
|
6
|
+
AssociatedType: string;
|
|
7
|
+
BranchCode: string;
|
|
8
|
+
Code: string;
|
|
9
|
+
Description: string;
|
|
10
|
+
DetailValueNotes: string[];
|
|
11
|
+
Owner: string;
|
|
12
|
+
OwnerType: number;
|
|
13
|
+
StartDate: string;
|
|
14
|
+
Status?: number;
|
|
15
|
+
Culture?: string;
|
|
16
|
+
ClosedStatus?: string;
|
|
17
|
+
ClosedReason?: string;
|
|
18
|
+
IssuingCompany?: string;
|
|
19
|
+
UserCode?: string;
|
|
20
|
+
Tasks?: Task[];
|
|
21
|
+
DetailValue?: ActivityDetailValue;
|
|
22
|
+
Priority?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface Activity {
|
|
25
|
+
AccountId: string;
|
|
26
|
+
AccountType: string;
|
|
27
|
+
AdjointCode?: string;
|
|
28
|
+
AgencyCode: string;
|
|
29
|
+
AssociatedId: string;
|
|
30
|
+
AssociatedType: string;
|
|
31
|
+
BranchCode: string;
|
|
32
|
+
BrokerCode?: string;
|
|
33
|
+
CategoryId: number;
|
|
34
|
+
Code: string;
|
|
35
|
+
Culture: string;
|
|
36
|
+
Description: string;
|
|
37
|
+
DetailValueNotes: string[];
|
|
38
|
+
EnteredDate: string;
|
|
39
|
+
Id: string;
|
|
40
|
+
IssuingCompany: string;
|
|
41
|
+
LastUpdatedDate: string;
|
|
42
|
+
LineId: string;
|
|
43
|
+
Owner: string;
|
|
44
|
+
OwnerType: number;
|
|
45
|
+
PremiumLookUpCode: string;
|
|
46
|
+
PremiumType: string;
|
|
47
|
+
ServicingContacts: ContactActivity[];
|
|
48
|
+
StartDate: string;
|
|
49
|
+
Status: number;
|
|
50
|
+
Tasks: Task[];
|
|
51
|
+
Priority: string;
|
|
52
|
+
DetailValue?: ActivityDetailValue;
|
|
53
|
+
}
|
|
54
|
+
export interface ContactActivity {
|
|
55
|
+
Code: string;
|
|
56
|
+
EmailAddress: string;
|
|
57
|
+
Extension: string;
|
|
58
|
+
Name: string;
|
|
59
|
+
ServicingRole: string;
|
|
60
|
+
}
|
|
61
|
+
export interface Task {
|
|
62
|
+
Description: string;
|
|
63
|
+
DueDate?: string;
|
|
64
|
+
DueTime?: string;
|
|
65
|
+
StartDate: string;
|
|
66
|
+
StartTime?: string;
|
|
67
|
+
Status: string;
|
|
68
|
+
TaskId?: number;
|
|
69
|
+
OwnerType: string;
|
|
70
|
+
Owner: string;
|
|
71
|
+
Flag: number;
|
|
72
|
+
TaskNotes?: TaskNote[];
|
|
73
|
+
}
|
|
74
|
+
export interface TaskNote {
|
|
75
|
+
NoteID?: number;
|
|
76
|
+
AccessLevel?: string;
|
|
77
|
+
NoteText: string;
|
|
78
|
+
Flag: number;
|
|
79
|
+
}
|
|
80
|
+
export interface ActivityDetailValue {
|
|
81
|
+
Amount: number;
|
|
82
|
+
AmountQualifier: string;
|
|
83
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface AdditionalInterest {
|
|
2
|
+
AdditionalInterestID: number;
|
|
3
|
+
Address?: string;
|
|
4
|
+
Certificate?: string;
|
|
5
|
+
InterestCode?: string;
|
|
6
|
+
InterestOther?: string;
|
|
7
|
+
IsReadOnly?: boolean;
|
|
8
|
+
LineID?: number;
|
|
9
|
+
LookupCode?: string;
|
|
10
|
+
Name?: string;
|
|
11
|
+
Policy?: string;
|
|
12
|
+
SendBill?: boolean;
|
|
13
|
+
TimeStamp?: string;
|
|
14
|
+
VehicleID?: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export interface Attachment {
|
|
2
|
+
AccountId: string;
|
|
3
|
+
AccountType: string;
|
|
4
|
+
AgencyCode: string;
|
|
5
|
+
AssociedId: string[];
|
|
6
|
+
AttachedDate: string;
|
|
7
|
+
ClientAccessible: boolean;
|
|
8
|
+
ClientAccessExpireOnDate?: string;
|
|
9
|
+
Id: string;
|
|
10
|
+
Comments: string;
|
|
11
|
+
Description: string;
|
|
12
|
+
EditedDate: string;
|
|
13
|
+
FileLength: number;
|
|
14
|
+
FileType: string;
|
|
15
|
+
InsertBy: string;
|
|
16
|
+
ReceivedDate: string;
|
|
17
|
+
SecurityAccesLevel: string;
|
|
18
|
+
Summary: string;
|
|
19
|
+
Type: string[];
|
|
20
|
+
Folder: string;
|
|
21
|
+
SubFolder1: string;
|
|
22
|
+
SubFolder2: string;
|
|
23
|
+
IsInactive: boolean;
|
|
24
|
+
SortOrder: number;
|
|
25
|
+
SortType: number;
|
|
26
|
+
UserCode?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface CreateAttachment {
|
|
29
|
+
AccountId: string;
|
|
30
|
+
AssociedId: string[];
|
|
31
|
+
Description: string;
|
|
32
|
+
FileContentBase64: string;
|
|
33
|
+
FileName: string;
|
|
34
|
+
FileType: string;
|
|
35
|
+
Type: string[];
|
|
36
|
+
ClientAccessible?: boolean;
|
|
37
|
+
ClientAccessExpireOnDate?: string;
|
|
38
|
+
Folder?: string;
|
|
39
|
+
SubFolder1?: string;
|
|
40
|
+
SubFolder2?: string;
|
|
41
|
+
Summary?: string;
|
|
42
|
+
Comments?: string;
|
|
43
|
+
UserCode?: string;
|
|
44
|
+
}
|
|
45
|
+
export interface AttachmentDetail {
|
|
46
|
+
ClientAccessible: boolean;
|
|
47
|
+
Code: string;
|
|
48
|
+
FileContentBase64: string;
|
|
49
|
+
FileLength: number;
|
|
50
|
+
FileType: string;
|
|
51
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface Broker {
|
|
2
|
+
Code: string;
|
|
3
|
+
Comments: string;
|
|
4
|
+
Department: string;
|
|
5
|
+
Email: string;
|
|
6
|
+
Email2: string;
|
|
7
|
+
Extension: string;
|
|
8
|
+
Poste: string;
|
|
9
|
+
Phone: string;
|
|
10
|
+
PhoneDescription: string;
|
|
11
|
+
MobilePhone: string;
|
|
12
|
+
MobilePhoneDescription: string;
|
|
13
|
+
ResidencePhone: string;
|
|
14
|
+
ResidencePhoneDescription: string;
|
|
15
|
+
Id: string;
|
|
16
|
+
InactiveReason: string;
|
|
17
|
+
Job: string;
|
|
18
|
+
Name: string;
|
|
19
|
+
Status: string;
|
|
20
|
+
Fax: string;
|
|
21
|
+
Address: string;
|
|
22
|
+
Suffix: string;
|
|
23
|
+
Prefix: string;
|
|
24
|
+
Roles: BrokerRole[];
|
|
25
|
+
Categories: BrokerCategory[];
|
|
26
|
+
}
|
|
27
|
+
interface BrokerRole {
|
|
28
|
+
Description: string;
|
|
29
|
+
EmployeeLookupCode: string;
|
|
30
|
+
Role: string;
|
|
31
|
+
Code: string;
|
|
32
|
+
}
|
|
33
|
+
interface BrokerCategory {
|
|
34
|
+
Category: string;
|
|
35
|
+
Option: string;
|
|
36
|
+
Flag: number;
|
|
37
|
+
}
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface Claim {
|
|
2
|
+
AgencyClaimNumber: string;
|
|
3
|
+
ClientId: string;
|
|
4
|
+
CannotBeDetermined: boolean;
|
|
5
|
+
CatastropheCode: string;
|
|
6
|
+
Chargeable: boolean;
|
|
7
|
+
CompanyClaimNumber: string;
|
|
8
|
+
CSIODateReportedToCompany?: string;
|
|
9
|
+
CSIOReportedToCompanyBy: string;
|
|
10
|
+
CSIOTimeReportedToCompany?: string;
|
|
11
|
+
DateAgencyBroker?: string;
|
|
12
|
+
DateOfLoss: string;
|
|
13
|
+
DateReported: string;
|
|
14
|
+
Description: string;
|
|
15
|
+
EstimateAmount?: number;
|
|
16
|
+
Id: string;
|
|
17
|
+
PreviouslyReported: boolean;
|
|
18
|
+
RecordOnly: boolean;
|
|
19
|
+
ReportedBy: string;
|
|
20
|
+
ReportedTo: string;
|
|
21
|
+
Subrogation: boolean;
|
|
22
|
+
Suitpending: boolean;
|
|
23
|
+
UserCode?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export interface Commission {
|
|
2
|
+
EmployeeCommissions: EmployeeCommission[];
|
|
3
|
+
CompanyCommissions: CompanyCommission[];
|
|
4
|
+
CommissionId: number;
|
|
5
|
+
CommissionType: number;
|
|
6
|
+
CommissionGetType: number;
|
|
7
|
+
}
|
|
8
|
+
export interface EmployeeCommission {
|
|
9
|
+
AgreementValue: CommissionAgreement;
|
|
10
|
+
CommissionID: number;
|
|
11
|
+
EmployeeId: string;
|
|
12
|
+
AgencyValue: ItemsValue;
|
|
13
|
+
BranchValue: ItemsValue;
|
|
14
|
+
CompanyValue: ItemsValue;
|
|
15
|
+
DepartmentValue: ItemsValue;
|
|
16
|
+
StatusValue: ItemsValue;
|
|
17
|
+
IssuingLocationValue: ItemsValue;
|
|
18
|
+
ProfitCenterValue: ItemsValue;
|
|
19
|
+
LineOfBusinessValue: LineOfBusinessValue;
|
|
20
|
+
DateBasedValue: DateBasedValue;
|
|
21
|
+
}
|
|
22
|
+
export interface DateBasedValue {
|
|
23
|
+
DateBasedCommissionsValue: DateBasedCommissionsValue[];
|
|
24
|
+
}
|
|
25
|
+
export interface DateBasedCommissionsValue {
|
|
26
|
+
CommissionAmount: number;
|
|
27
|
+
CommissionPercent: number;
|
|
28
|
+
CommissionTypeCode: string;
|
|
29
|
+
DateBasedCommissionID: number;
|
|
30
|
+
Flag: number;
|
|
31
|
+
OpenRangeFrom: boolean;
|
|
32
|
+
OpenRangeTo: boolean;
|
|
33
|
+
RangeFrom: number;
|
|
34
|
+
RangeTo: number;
|
|
35
|
+
}
|
|
36
|
+
export interface CompanyCommission {
|
|
37
|
+
AgreementValue: CommissionAgreement;
|
|
38
|
+
CommissionID: number;
|
|
39
|
+
CompanyId: string;
|
|
40
|
+
AgencyValue: ItemsValue;
|
|
41
|
+
BranchValue: ItemsValue;
|
|
42
|
+
DepartmentValue: ItemsValue;
|
|
43
|
+
StatusValue: ItemsValue;
|
|
44
|
+
IssuingLocationValue: ItemsValue;
|
|
45
|
+
ProfitCenterValue: ItemsValue;
|
|
46
|
+
LineOfBusinessValue: LineOfBusinessValue;
|
|
47
|
+
}
|
|
48
|
+
export interface CommissionAgreement {
|
|
49
|
+
Description: string;
|
|
50
|
+
EffectiveToDate: string;
|
|
51
|
+
EffectiveFromDate: string;
|
|
52
|
+
CommissionPercent: number;
|
|
53
|
+
}
|
|
54
|
+
export interface ItemsValue {
|
|
55
|
+
AllSelectedOption: AllSelectedOption;
|
|
56
|
+
SelectedItemsValue: SelectedItemsValue[];
|
|
57
|
+
}
|
|
58
|
+
export interface LineOfBusinessValue {
|
|
59
|
+
AllSelectedOption: AllSelectedOption;
|
|
60
|
+
LineOfBusinessItemsValue: LineOfBusinessItemsValue[];
|
|
61
|
+
}
|
|
62
|
+
export interface SelectedItemsValue {
|
|
63
|
+
Code: string;
|
|
64
|
+
Description: string;
|
|
65
|
+
Flag: number;
|
|
66
|
+
}
|
|
67
|
+
export interface LineOfBusinessItemsValue {
|
|
68
|
+
Code: string;
|
|
69
|
+
Description: string;
|
|
70
|
+
Flag: number;
|
|
71
|
+
TypeOfBusiness: string;
|
|
72
|
+
}
|
|
73
|
+
export interface AllSelectedOption {
|
|
74
|
+
OptionName: string;
|
|
75
|
+
Value: number;
|
|
76
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Address } from './Address';
|
|
2
|
+
export interface Contact {
|
|
3
|
+
AccountId: string;
|
|
4
|
+
AccountType: string;
|
|
5
|
+
Address: Address;
|
|
6
|
+
BillingContactMethod: string;
|
|
7
|
+
BusinessName: string;
|
|
8
|
+
Id: string;
|
|
9
|
+
ContactMethod: string;
|
|
10
|
+
Description: string;
|
|
11
|
+
Email: string;
|
|
12
|
+
FirstName?: string;
|
|
13
|
+
IsPrimaryContact: boolean;
|
|
14
|
+
IsMainBusinessContact?: boolean;
|
|
15
|
+
Language: string;
|
|
16
|
+
LastName?: string;
|
|
17
|
+
Phone1CountryCode: string;
|
|
18
|
+
Phone1Description: string;
|
|
19
|
+
Phone1Extension: string;
|
|
20
|
+
Phone1Number: string;
|
|
21
|
+
Phone1NumberType: string;
|
|
22
|
+
Phone2CountryCode: string;
|
|
23
|
+
Phone2Description: string;
|
|
24
|
+
Phone2Extension: string;
|
|
25
|
+
Phone2Number: string;
|
|
26
|
+
Phone2NumberType: string;
|
|
27
|
+
Website: string;
|
|
28
|
+
Formal: string;
|
|
29
|
+
Naics?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface CreateContact {
|
|
32
|
+
AccountId: string;
|
|
33
|
+
AccountType: string;
|
|
34
|
+
Address: Address;
|
|
35
|
+
Description: string;
|
|
36
|
+
BillingContactMethod: string;
|
|
37
|
+
ContactMethod: string;
|
|
38
|
+
Email: string;
|
|
39
|
+
Phone1Description: string;
|
|
40
|
+
Phone1Extension: string;
|
|
41
|
+
Phone1CountryCode: string;
|
|
42
|
+
Phone1Number: string;
|
|
43
|
+
Phone1NumberType: string;
|
|
44
|
+
Website: string;
|
|
45
|
+
Language: string;
|
|
46
|
+
FirstName: string;
|
|
47
|
+
LastName: string;
|
|
48
|
+
IsPrimaryContact?: boolean;
|
|
49
|
+
}
|