@cemiar/cemiarlink-sdk 1.0.0
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/README.md +2 -0
- 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/index.d.ts +7 -0
- package/dist/index.js +54 -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/admin/index.d.ts +9 -0
- package/dist/models/admin/index.js +25 -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 +47 -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 +98 -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/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/epic/index.d.ts +17 -0
- package/dist/models/epic/index.js +33 -0
- package/dist/services/Admin.d.ts +30 -0
- package/dist/services/Admin.js +200 -0
- package/dist/services/BaseEpicService.d.ts +12 -0
- package/dist/services/BaseEpicService.js +102 -0
- package/dist/services/Epic.d.ts +105 -0
- package/dist/services/Epic.js +291 -0
- package/dist/services/JobEpicService.d.ts +7 -0
- package/dist/services/JobEpicService.js +16 -0
- package/dist/services/MultiCarrierScheduleEpicService.d.ts +8 -0
- package/dist/services/MultiCarrierScheduleEpicService.js +19 -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 +33 -0
package/README.md
ADDED
|
@@ -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;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as AdminService } from './services/Admin.js';
|
|
2
|
+
export { default as BaseEpicService } from './services/BaseEpicService.js';
|
|
3
|
+
export { default as Epic } from './services/Epic.js';
|
|
4
|
+
export { default as JobEpicService } from './services/JobEpicService.js';
|
|
5
|
+
export { default as MultiCarrierScheduleEpicService } from './services/MultiCarrierScheduleEpicService.js';
|
|
6
|
+
export * as AdminModels from './models/admin/index.js';
|
|
7
|
+
export * as EpicModels from './models/epic/index.js';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.EpicModels = exports.AdminModels = exports.MultiCarrierScheduleEpicService = exports.JobEpicService = exports.Epic = exports.BaseEpicService = exports.AdminService = void 0;
|
|
40
|
+
// Réexport des services
|
|
41
|
+
var Admin_js_1 = require("./services/Admin.js");
|
|
42
|
+
Object.defineProperty(exports, "AdminService", { enumerable: true, get: function () { return __importDefault(Admin_js_1).default; } });
|
|
43
|
+
var BaseEpicService_js_1 = require("./services/BaseEpicService.js");
|
|
44
|
+
Object.defineProperty(exports, "BaseEpicService", { enumerable: true, get: function () { return __importDefault(BaseEpicService_js_1).default; } });
|
|
45
|
+
var Epic_js_1 = require("./services/Epic.js");
|
|
46
|
+
Object.defineProperty(exports, "Epic", { enumerable: true, get: function () { return __importDefault(Epic_js_1).default; } });
|
|
47
|
+
var JobEpicService_js_1 = require("./services/JobEpicService.js");
|
|
48
|
+
Object.defineProperty(exports, "JobEpicService", { enumerable: true, get: function () { return __importDefault(JobEpicService_js_1).default; } });
|
|
49
|
+
var MultiCarrierScheduleEpicService_js_1 = require("./services/MultiCarrierScheduleEpicService.js");
|
|
50
|
+
Object.defineProperty(exports, "MultiCarrierScheduleEpicService", { enumerable: true, get: function () { return __importDefault(MultiCarrierScheduleEpicService_js_1).default; } });
|
|
51
|
+
// Réexport des modèles admin
|
|
52
|
+
exports.AdminModels = __importStar(require("./models/admin/index.js"));
|
|
53
|
+
// Réexport des modèles epic
|
|
54
|
+
exports.EpicModels = __importStar(require("./models/epic/index.js"));
|
|
@@ -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,9 @@
|
|
|
1
|
+
export * from './BusMessage.js';
|
|
2
|
+
export * from './Counter.js';
|
|
3
|
+
export * from './Email.js';
|
|
4
|
+
export * from './ExcelSheet.js';
|
|
5
|
+
export * from './ExtractTable.js';
|
|
6
|
+
export * from './IDictionary.js';
|
|
7
|
+
export * from './KimobyResult.js';
|
|
8
|
+
export * from './PdfReader.js';
|
|
9
|
+
export * from './Primaco.js';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./BusMessage.js"), exports);
|
|
18
|
+
__exportStar(require("./Counter.js"), exports);
|
|
19
|
+
__exportStar(require("./Email.js"), exports);
|
|
20
|
+
__exportStar(require("./ExcelSheet.js"), exports);
|
|
21
|
+
__exportStar(require("./ExtractTable.js"), exports);
|
|
22
|
+
__exportStar(require("./IDictionary.js"), exports);
|
|
23
|
+
__exportStar(require("./KimobyResult.js"), exports);
|
|
24
|
+
__exportStar(require("./PdfReader.js"), exports);
|
|
25
|
+
__exportStar(require("./Primaco.js"), exports);
|
|
@@ -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?: DetailValue;
|
|
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?: DetailValue;
|
|
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 DetailValue {
|
|
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,47 @@
|
|
|
1
|
+
export interface Attachment {
|
|
2
|
+
AccountId: string;
|
|
3
|
+
AccountType: string;
|
|
4
|
+
AgencyCode: string;
|
|
5
|
+
AssociedId: string[];
|
|
6
|
+
AttachedDate: string;
|
|
7
|
+
ClientAccessible: boolean;
|
|
8
|
+
Id: string;
|
|
9
|
+
Comments: string;
|
|
10
|
+
Description: string;
|
|
11
|
+
EditedDate: string;
|
|
12
|
+
FileLength: number;
|
|
13
|
+
FileType: string;
|
|
14
|
+
InsertBy: string;
|
|
15
|
+
ReceivedDate: string;
|
|
16
|
+
SecurityAccesLevel: string;
|
|
17
|
+
Summary: string;
|
|
18
|
+
Type: string[];
|
|
19
|
+
Folder: string;
|
|
20
|
+
SubFolder1: string;
|
|
21
|
+
SubFolder2: string;
|
|
22
|
+
IsInactive: boolean;
|
|
23
|
+
SortOrder: number;
|
|
24
|
+
SortType: number;
|
|
25
|
+
UserCode?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface CreateAttachment {
|
|
28
|
+
AccountId: string;
|
|
29
|
+
AssociedId: string[];
|
|
30
|
+
Description: string;
|
|
31
|
+
FileContentBase64: string;
|
|
32
|
+
FileName: string;
|
|
33
|
+
FileType: string;
|
|
34
|
+
Type: string[];
|
|
35
|
+
ClientAccessible?: boolean;
|
|
36
|
+
Folder?: string;
|
|
37
|
+
Summary?: string;
|
|
38
|
+
Comments?: string;
|
|
39
|
+
UserCode?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface AttachmentDetail {
|
|
42
|
+
ClientAccessible: boolean;
|
|
43
|
+
Code: string;
|
|
44
|
+
FileContentBase64: string;
|
|
45
|
+
FileLength: number;
|
|
46
|
+
FileType: string;
|
|
47
|
+
}
|
|
@@ -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
|
+
}
|