@akad/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.
@@ -0,0 +1,189 @@
1
+ export interface quickQuoteType {
2
+ brokerIdentity?: string;
3
+ insured?: {
4
+ name?: string;
5
+ email?: string;
6
+ crea?: number;
7
+ gender?: string;
8
+ document?: string;
9
+ mobile?: string;
10
+ dateOfBirth?: string;
11
+ address?: {
12
+ postCode: string;
13
+ number: string;
14
+ ibge: number;
15
+ state: string;
16
+ city: string;
17
+ street: string;
18
+ suburb: string;
19
+ complement: string;
20
+ };
21
+ isHolding?: boolean;
22
+ };
23
+ responsibleTechnical?: {
24
+ name?: string;
25
+ email?: string;
26
+ crea?: number;
27
+ gender?: string;
28
+ document?: string;
29
+ mobile?: string;
30
+ dateOfBirth?: string;
31
+ address?: {
32
+ postCode: string;
33
+ number: string;
34
+ ibge: number;
35
+ state: string;
36
+ city: string;
37
+ street: string;
38
+ suburb: string;
39
+ complement: string;
40
+ };
41
+ };
42
+ claim?: {
43
+ reportedClaim?: string;
44
+ totalAmount?: number;
45
+ priorKnowledge?: boolean;
46
+ description?: string;
47
+ expectedNotification?: {
48
+ amount?: number;
49
+ occurence?: [
50
+ {
51
+ date?: Date;
52
+ claimValue?: number;
53
+ description?: string;
54
+ }
55
+ ];
56
+ };
57
+ inquireClaims?: {
58
+ amount?: number;
59
+ occurence?: [
60
+ {
61
+ date?: Date;
62
+ claimValue?: number;
63
+ description?: string;
64
+ }
65
+ ];
66
+ };
67
+ };
68
+ habitation?: {
69
+ isInsideCondominum?: boolean;
70
+ propertyType?: string;
71
+ apf?: string;
72
+ artOrRrt?: number;
73
+ insuredAmount?: number;
74
+ unit?: {
75
+ registrationNumber?: number;
76
+ parentRegistrationNumber?: number;
77
+ housingNumber?: number;
78
+ housingDate?: string;
79
+ registryName?: string;
80
+ bookNumber?: string;
81
+ startConstructionDate?: string;
82
+ endConstructionDate?: string;
83
+ address?: {
84
+ postCode: string;
85
+ number: string;
86
+ ibge: number;
87
+ state: string;
88
+ city: string;
89
+ street: string;
90
+ suburb: string;
91
+ complement: string;
92
+ };
93
+ };
94
+ };
95
+ broker?: {
96
+ identity?: string;
97
+ comission?: number;
98
+ contact?: {
99
+ phone?: string;
100
+ email?: string;
101
+ };
102
+ coBrokerage?: [
103
+ {
104
+ name?: string;
105
+ document?: string;
106
+ comission?: number;
107
+ susepNumber?: number;
108
+ }
109
+ ];
110
+ showBrokerageInfo?: boolean;
111
+ };
112
+ companyActivityStart?: string;
113
+ constitutionType?: string;
114
+ corporateControl?: string;
115
+ annualNetRevenue?: number;
116
+ netIncome?: number;
117
+ totalAssetAmount?: number;
118
+ totalLoanAmount?: number;
119
+ netWorth?: number;
120
+ judicialRecovery?: {
121
+ hasOccurence?: boolean;
122
+ occurence?: [
123
+ {
124
+ date?: Date;
125
+ description?: string;
126
+ }
127
+ ];
128
+ };
129
+ activities?: string[];
130
+ hasLoanWithAdministrationPublic?: boolean;
131
+ hasParticipationTendersPublic?: boolean;
132
+ hasContractsPublic?: boolean;
133
+ deductible?: string;
134
+ coveragePlan?: {
135
+ id?: number;
136
+ coverages?: [
137
+ {
138
+ id?: number;
139
+ lmg?: number;
140
+ }
141
+ ];
142
+ };
143
+ netPremium?: number;
144
+ discount?: number;
145
+ surcharge?: number;
146
+ multiQuoteRiskAnalysis?: [
147
+ {
148
+ insuredAmount?: number;
149
+ }
150
+ ];
151
+ companyModification?: {
152
+ corporateName?: {
153
+ hasOccurence?: boolean;
154
+ occurence?: [
155
+ {
156
+ date?: Date;
157
+ description?: string;
158
+ }
159
+ ];
160
+ };
161
+ shareholder?: {
162
+ hasOccurence?: boolean;
163
+ occurence?: [
164
+ {
165
+ date?: Date;
166
+ description?: string;
167
+ }
168
+ ];
169
+ };
170
+ acquirement?: {
171
+ hasOccurence?: boolean;
172
+ occurence?: [
173
+ {
174
+ date?: Date;
175
+ description?: string;
176
+ }
177
+ ];
178
+ };
179
+ affiliatedCompanies?: {
180
+ hasOccurence?: boolean;
181
+ occurence?: [
182
+ {
183
+ name?: string;
184
+ document?: string;
185
+ }
186
+ ];
187
+ };
188
+ };
189
+ }
@@ -0,0 +1,6 @@
1
+ import { Config } from '../base';
2
+ import { certificateReportType } from './types';
3
+
4
+ export declare const createReport: (config: Config) => {
5
+ getCertificateReport: (data: certificateReportType) => Promise<certificateReportType>;
6
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ export interface certificateReportType {
2
+ policyId: string;
3
+ }