@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
package/README.md CHANGED
@@ -1,2 +1,2 @@
1
- # @cemiar/cemiarlink-sdk
2
-
1
+ # @cemiar/cemiarlink-sdk
2
+
package/package.json CHANGED
@@ -1,38 +1,38 @@
1
- {
2
- "name": "@cemiar/cemiarlink-sdk",
3
- "version": "1.0.20",
4
- "description": "CemiarLink SDK to access CemiarLink API services",
5
- "engines": {
6
- "npm": ">=9.5.1",
7
- "node": ">=18.16.0"
8
- },
9
- "author": "Cemiar",
10
- "license": "ISC",
11
- "main": "dist/services/Admin.js",
12
- "module": "./dist/services/Admin.mjs",
13
- "types": "./dist/services/Admin.d.ts",
14
- "files": [
15
- "dist"
16
- ],
17
- "dependencies": {
18
- "@types/nodemailer": "^8.0.0",
19
- "axios": "^1.15.0",
20
- "fs": "^0.0.1-security",
21
- "nodemailer": "^8.0.5",
22
- "path": "^0.12.7",
23
- "xlsx": "^0.18.5"
24
- },
25
- "devDependencies": {
26
- "@types/node": "^18.19.0",
27
- "ts-node": "^10.9.2"
28
- },
29
- "scripts": {
30
- "build": "rm -rf dist/ && tsc -p tsconfig.json",
31
- "buildWindows": "rmdir /s /q dist & tsc -p tsconfig.json"
32
- },
33
- "overrides": {
34
- "xlsx": {
35
- "sheetjs": "^2.0.0"
36
- }
37
- }
38
- }
1
+ {
2
+ "name": "@cemiar/cemiarlink-sdk",
3
+ "version": "1.0.22",
4
+ "description": "CemiarLink SDK to access CemiarLink API services",
5
+ "engines": {
6
+ "npm": ">=9.5.1",
7
+ "node": ">=18.16.0"
8
+ },
9
+ "author": "Cemiar",
10
+ "license": "ISC",
11
+ "main": "dist/services/Admin.js",
12
+ "module": "./dist/services/Admin.mjs",
13
+ "types": "./dist/services/Admin.d.ts",
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "dependencies": {
18
+ "@types/nodemailer": "^8.0.0",
19
+ "axios": "^1.15.0",
20
+ "fs": "^0.0.1-security",
21
+ "nodemailer": "^8.0.5",
22
+ "path": "^0.12.7",
23
+ "xlsx": "^0.18.5"
24
+ },
25
+ "devDependencies": {
26
+ "@types/node": "^18.19.0",
27
+ "ts-node": "^10.9.2"
28
+ },
29
+ "scripts": {
30
+ "build": "rm -rf dist/ && tsc -p tsconfig.json",
31
+ "buildWindows": "rmdir /s /q dist & tsc -p tsconfig.json"
32
+ },
33
+ "overrides": {
34
+ "xlsx": {
35
+ "sheetjs": "^2.0.0"
36
+ }
37
+ }
38
+ }
@@ -1,3 +0,0 @@
1
- export declare class EpicException extends Error {
2
- constructor(message: string);
3
- }
@@ -1,10 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- export declare class MissingInfo extends Error {
2
- constructor(message: string);
3
- }
@@ -1,10 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- export declare class NotProcessYet extends Error {
2
- constructor(message: string);
3
- }
@@ -1,10 +0,0 @@
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;
@@ -1,4 +0,0 @@
1
- export interface BusMessagePayload {
2
- messages: any[];
3
- scheduleTime?: Date;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- export interface Counter {
2
- _id?: string;
3
- taskID: string;
4
- taskName?: string;
5
- numberOfRequest: number;
6
- monthDate: string;
7
- __v?: number;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,49 +0,0 @@
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 {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export default interface ExcelSheet {
2
- name: string;
3
- header: string[];
4
- data: string[][];
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,37 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface IDictionary {
2
- [index: string]: string;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,26 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,83 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- export interface Address {
2
- City: string;
3
- CountryCode: string;
4
- County: string;
5
- StateOrProvinceCode: string;
6
- Street1: string;
7
- Street2: string;
8
- Street3: string;
9
- ZipOrPostalCode: string;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,51 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,38 +0,0 @@
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 {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,24 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,76 +0,0 @@
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
- }