@antchain/insurance_saas 1.7.10
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/client.d.ts +915 -0
- package/dist/client.js +1473 -0
- package/dist/client.js.map +1 -0
- package/package.json +31 -0
- package/src/client.ts +2069 -0
package/dist/client.js
ADDED
|
@@ -0,0 +1,1473 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
14
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
+
if (mod && mod.__esModule) return mod;
|
|
16
|
+
var result = {};
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
22
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.QueryInsureResultResponse = exports.QueryInsureResultRequest = exports.SyncPolicyResultResponse = exports.SyncPolicyResultRequest = exports.ApplyEndorsementStrategyResponse = exports.ApplyEndorsementStrategyRequest = exports.FinishClaimSettleResponse = exports.FinishClaimSettleRequest = exports.ConfirmClaimSettleResponse = exports.ConfirmClaimSettleRequest = exports.UpdateClaimMaterialResponse = exports.UpdateClaimMaterialRequest = exports.CancelClaimResponse = exports.CancelClaimRequest = exports.ApplyClaimResponse = exports.ApplyClaimRequest = exports.NotifyPolicyResultResponse = exports.NotifyPolicyResultRequest = exports.ApplyInsureResponse = exports.ApplyInsureRequest = exports.QueryPolicyFileResponse = exports.QueryPolicyFileRequest = exports.QueryUnderwritingResponse = exports.QueryUnderwritingRequest = exports.ApplyUnderwritingResponse = exports.ApplyUnderwritingRequest = exports.SyncQuoteResponse = exports.SyncQuoteRequest = exports.QueryDataWeatherResponse = exports.QueryDataWeatherRequest = exports.QueryDataDisasterResponse = exports.QueryDataDisasterRequest = exports.SubmitInquiryResponse = exports.SubmitInquiryRequest = exports.QueryInquiryResponse = exports.QueryInquiryRequest = exports.Config = void 0;
|
|
26
|
+
// This file is auto-generated, don't edit it
|
|
27
|
+
const alipay_util_1 = __importDefault(require("@antchain/alipay-util"));
|
|
28
|
+
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
29
|
+
const rpc_util_1 = __importDefault(require("@alicloud/rpc-util"));
|
|
30
|
+
const $tea = __importStar(require("@alicloud/tea-typescript"));
|
|
31
|
+
/**
|
|
32
|
+
* Model for initing client
|
|
33
|
+
*/
|
|
34
|
+
class Config extends $tea.Model {
|
|
35
|
+
constructor(map) {
|
|
36
|
+
super(map);
|
|
37
|
+
}
|
|
38
|
+
static names() {
|
|
39
|
+
return {
|
|
40
|
+
accessKeyId: 'accessKeyId',
|
|
41
|
+
accessKeySecret: 'accessKeySecret',
|
|
42
|
+
securityToken: 'securityToken',
|
|
43
|
+
protocol: 'protocol',
|
|
44
|
+
readTimeout: 'readTimeout',
|
|
45
|
+
connectTimeout: 'connectTimeout',
|
|
46
|
+
httpProxy: 'httpProxy',
|
|
47
|
+
httpsProxy: 'httpsProxy',
|
|
48
|
+
endpoint: 'endpoint',
|
|
49
|
+
noProxy: 'noProxy',
|
|
50
|
+
maxIdleConns: 'maxIdleConns',
|
|
51
|
+
userAgent: 'userAgent',
|
|
52
|
+
socks5Proxy: 'socks5Proxy',
|
|
53
|
+
socks5NetWork: 'socks5NetWork',
|
|
54
|
+
maxIdleTimeMillis: 'maxIdleTimeMillis',
|
|
55
|
+
keepAliveDurationMillis: 'keepAliveDurationMillis',
|
|
56
|
+
maxRequests: 'maxRequests',
|
|
57
|
+
maxRequestsPerHost: 'maxRequestsPerHost',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
static types() {
|
|
61
|
+
return {
|
|
62
|
+
accessKeyId: 'string',
|
|
63
|
+
accessKeySecret: 'string',
|
|
64
|
+
securityToken: 'string',
|
|
65
|
+
protocol: 'string',
|
|
66
|
+
readTimeout: 'number',
|
|
67
|
+
connectTimeout: 'number',
|
|
68
|
+
httpProxy: 'string',
|
|
69
|
+
httpsProxy: 'string',
|
|
70
|
+
endpoint: 'string',
|
|
71
|
+
noProxy: 'string',
|
|
72
|
+
maxIdleConns: 'number',
|
|
73
|
+
userAgent: 'string',
|
|
74
|
+
socks5Proxy: 'string',
|
|
75
|
+
socks5NetWork: 'string',
|
|
76
|
+
maxIdleTimeMillis: 'number',
|
|
77
|
+
keepAliveDurationMillis: 'number',
|
|
78
|
+
maxRequests: 'number',
|
|
79
|
+
maxRequestsPerHost: 'number',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.Config = Config;
|
|
84
|
+
class QueryInquiryRequest extends $tea.Model {
|
|
85
|
+
constructor(map) {
|
|
86
|
+
super(map);
|
|
87
|
+
}
|
|
88
|
+
static names() {
|
|
89
|
+
return {
|
|
90
|
+
authToken: 'auth_token',
|
|
91
|
+
inquiryNoInner: 'inquiry_no_inner',
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
static types() {
|
|
95
|
+
return {
|
|
96
|
+
authToken: 'string',
|
|
97
|
+
inquiryNoInner: 'string',
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.QueryInquiryRequest = QueryInquiryRequest;
|
|
102
|
+
class QueryInquiryResponse extends $tea.Model {
|
|
103
|
+
constructor(map) {
|
|
104
|
+
super(map);
|
|
105
|
+
}
|
|
106
|
+
static names() {
|
|
107
|
+
return {
|
|
108
|
+
reqMsgId: 'req_msg_id',
|
|
109
|
+
resultCode: 'result_code',
|
|
110
|
+
resultMsg: 'result_msg',
|
|
111
|
+
bizResult: 'biz_result',
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
static types() {
|
|
115
|
+
return {
|
|
116
|
+
reqMsgId: 'string',
|
|
117
|
+
resultCode: 'string',
|
|
118
|
+
resultMsg: 'string',
|
|
119
|
+
bizResult: 'string',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.QueryInquiryResponse = QueryInquiryResponse;
|
|
124
|
+
class SubmitInquiryRequest extends $tea.Model {
|
|
125
|
+
constructor(map) {
|
|
126
|
+
super(map);
|
|
127
|
+
}
|
|
128
|
+
static names() {
|
|
129
|
+
return {
|
|
130
|
+
authToken: 'auth_token',
|
|
131
|
+
inquiryNo: 'inquiry_no',
|
|
132
|
+
inquirePlatform: 'inquire_platform',
|
|
133
|
+
singleInsuranceAmount: 'single_insurance_amount',
|
|
134
|
+
totalInsuranceAmount: 'total_insurance_amount',
|
|
135
|
+
materialList: 'material_list',
|
|
136
|
+
objectList: 'object_list',
|
|
137
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
138
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
139
|
+
insuranceProjectCode: 'insurance_project_code',
|
|
140
|
+
insuranceOptionsCode: 'insurance_options_code',
|
|
141
|
+
inquirer: 'inquirer',
|
|
142
|
+
applicant: 'applicant',
|
|
143
|
+
insuredList: 'insured_list',
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
static types() {
|
|
147
|
+
return {
|
|
148
|
+
authToken: 'string',
|
|
149
|
+
inquiryNo: 'string',
|
|
150
|
+
inquirePlatform: 'string',
|
|
151
|
+
singleInsuranceAmount: 'string',
|
|
152
|
+
totalInsuranceAmount: 'string',
|
|
153
|
+
materialList: 'string',
|
|
154
|
+
objectList: 'string',
|
|
155
|
+
insuranceCompanyNo: 'string',
|
|
156
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
157
|
+
insuranceProjectCode: 'string',
|
|
158
|
+
insuranceOptionsCode: 'string',
|
|
159
|
+
inquirer: 'string',
|
|
160
|
+
applicant: 'string',
|
|
161
|
+
insuredList: 'string',
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
exports.SubmitInquiryRequest = SubmitInquiryRequest;
|
|
166
|
+
class SubmitInquiryResponse extends $tea.Model {
|
|
167
|
+
constructor(map) {
|
|
168
|
+
super(map);
|
|
169
|
+
}
|
|
170
|
+
static names() {
|
|
171
|
+
return {
|
|
172
|
+
reqMsgId: 'req_msg_id',
|
|
173
|
+
resultCode: 'result_code',
|
|
174
|
+
resultMsg: 'result_msg',
|
|
175
|
+
bizResult: 'biz_result',
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
static types() {
|
|
179
|
+
return {
|
|
180
|
+
reqMsgId: 'string',
|
|
181
|
+
resultCode: 'string',
|
|
182
|
+
resultMsg: 'string',
|
|
183
|
+
bizResult: 'string',
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
exports.SubmitInquiryResponse = SubmitInquiryResponse;
|
|
188
|
+
class QueryDataDisasterRequest extends $tea.Model {
|
|
189
|
+
constructor(map) {
|
|
190
|
+
super(map);
|
|
191
|
+
}
|
|
192
|
+
static names() {
|
|
193
|
+
return {
|
|
194
|
+
authToken: 'auth_token',
|
|
195
|
+
areaCode: 'area_code',
|
|
196
|
+
disasterType: 'disaster_type',
|
|
197
|
+
startDate: 'start_date',
|
|
198
|
+
endDate: 'end_date',
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
static types() {
|
|
202
|
+
return {
|
|
203
|
+
authToken: 'string',
|
|
204
|
+
areaCode: 'string',
|
|
205
|
+
disasterType: 'string',
|
|
206
|
+
startDate: 'string',
|
|
207
|
+
endDate: 'string',
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
exports.QueryDataDisasterRequest = QueryDataDisasterRequest;
|
|
212
|
+
class QueryDataDisasterResponse extends $tea.Model {
|
|
213
|
+
constructor(map) {
|
|
214
|
+
super(map);
|
|
215
|
+
}
|
|
216
|
+
static names() {
|
|
217
|
+
return {
|
|
218
|
+
reqMsgId: 'req_msg_id',
|
|
219
|
+
resultCode: 'result_code',
|
|
220
|
+
resultMsg: 'result_msg',
|
|
221
|
+
bizResult: 'biz_result',
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
static types() {
|
|
225
|
+
return {
|
|
226
|
+
reqMsgId: 'string',
|
|
227
|
+
resultCode: 'string',
|
|
228
|
+
resultMsg: 'string',
|
|
229
|
+
bizResult: 'string',
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
exports.QueryDataDisasterResponse = QueryDataDisasterResponse;
|
|
234
|
+
class QueryDataWeatherRequest extends $tea.Model {
|
|
235
|
+
constructor(map) {
|
|
236
|
+
super(map);
|
|
237
|
+
}
|
|
238
|
+
static names() {
|
|
239
|
+
return {
|
|
240
|
+
authToken: 'auth_token',
|
|
241
|
+
areaCode: 'area_code',
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
static types() {
|
|
245
|
+
return {
|
|
246
|
+
authToken: 'string',
|
|
247
|
+
areaCode: 'string',
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
exports.QueryDataWeatherRequest = QueryDataWeatherRequest;
|
|
252
|
+
class QueryDataWeatherResponse extends $tea.Model {
|
|
253
|
+
constructor(map) {
|
|
254
|
+
super(map);
|
|
255
|
+
}
|
|
256
|
+
static names() {
|
|
257
|
+
return {
|
|
258
|
+
reqMsgId: 'req_msg_id',
|
|
259
|
+
resultCode: 'result_code',
|
|
260
|
+
resultMsg: 'result_msg',
|
|
261
|
+
bizResult: 'biz_result',
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
static types() {
|
|
265
|
+
return {
|
|
266
|
+
reqMsgId: 'string',
|
|
267
|
+
resultCode: 'string',
|
|
268
|
+
resultMsg: 'string',
|
|
269
|
+
bizResult: 'string',
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
exports.QueryDataWeatherResponse = QueryDataWeatherResponse;
|
|
274
|
+
class SyncQuoteRequest extends $tea.Model {
|
|
275
|
+
constructor(map) {
|
|
276
|
+
super(map);
|
|
277
|
+
}
|
|
278
|
+
static names() {
|
|
279
|
+
return {
|
|
280
|
+
authToken: 'auth_token',
|
|
281
|
+
inquiryNo: 'inquiry_no',
|
|
282
|
+
inquirePlatform: 'inquire_platform',
|
|
283
|
+
singleInsuranceAmount: 'single_insurance_amount',
|
|
284
|
+
totalInsuranceAmount: 'total_insurance_amount',
|
|
285
|
+
materialList: 'material_list',
|
|
286
|
+
objectList: 'object_list',
|
|
287
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
288
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
289
|
+
insuranceProjectCode: 'insurance_project_code',
|
|
290
|
+
insuranceOptionsCode: 'insurance_options_code',
|
|
291
|
+
inquirer: 'inquirer',
|
|
292
|
+
applicant: 'applicant',
|
|
293
|
+
insuredList: 'insured_list',
|
|
294
|
+
quotation: 'quotation',
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
static types() {
|
|
298
|
+
return {
|
|
299
|
+
authToken: 'string',
|
|
300
|
+
inquiryNo: 'string',
|
|
301
|
+
inquirePlatform: 'string',
|
|
302
|
+
singleInsuranceAmount: 'string',
|
|
303
|
+
totalInsuranceAmount: 'string',
|
|
304
|
+
materialList: 'string',
|
|
305
|
+
objectList: 'string',
|
|
306
|
+
insuranceCompanyNo: 'string',
|
|
307
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
308
|
+
insuranceProjectCode: 'string',
|
|
309
|
+
insuranceOptionsCode: 'string',
|
|
310
|
+
inquirer: 'string',
|
|
311
|
+
applicant: 'string',
|
|
312
|
+
insuredList: 'string',
|
|
313
|
+
quotation: 'string',
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
exports.SyncQuoteRequest = SyncQuoteRequest;
|
|
318
|
+
class SyncQuoteResponse extends $tea.Model {
|
|
319
|
+
constructor(map) {
|
|
320
|
+
super(map);
|
|
321
|
+
}
|
|
322
|
+
static names() {
|
|
323
|
+
return {
|
|
324
|
+
reqMsgId: 'req_msg_id',
|
|
325
|
+
resultCode: 'result_code',
|
|
326
|
+
resultMsg: 'result_msg',
|
|
327
|
+
bizResult: 'biz_result',
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
static types() {
|
|
331
|
+
return {
|
|
332
|
+
reqMsgId: 'string',
|
|
333
|
+
resultCode: 'string',
|
|
334
|
+
resultMsg: 'string',
|
|
335
|
+
bizResult: 'string',
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
exports.SyncQuoteResponse = SyncQuoteResponse;
|
|
340
|
+
class ApplyUnderwritingRequest extends $tea.Model {
|
|
341
|
+
constructor(map) {
|
|
342
|
+
super(map);
|
|
343
|
+
}
|
|
344
|
+
static names() {
|
|
345
|
+
return {
|
|
346
|
+
authToken: 'auth_token',
|
|
347
|
+
quotationNoInner: 'quotation_no_inner',
|
|
348
|
+
insuranceApplicationNo: 'insurance_application_no',
|
|
349
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
350
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
351
|
+
insuranceProjectCode: 'insurance_project_code',
|
|
352
|
+
insuranceOptionsCode: 'insurance_options_code',
|
|
353
|
+
applicant: 'applicant',
|
|
354
|
+
insuredList: 'insured_list',
|
|
355
|
+
beneficiaryList: 'beneficiary_list',
|
|
356
|
+
objectList: 'object_list',
|
|
357
|
+
insurancePeriodStart: 'insurance_period_start',
|
|
358
|
+
insurancePeriodEnd: 'insurance_period_end',
|
|
359
|
+
insurancePeriod: 'insurance_period',
|
|
360
|
+
appliedInsuranceAmount: 'applied_insurance_amount',
|
|
361
|
+
appliedPremium: 'applied_premium',
|
|
362
|
+
premiumRate: 'premium_rate',
|
|
363
|
+
quotation: 'quotation',
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
static types() {
|
|
367
|
+
return {
|
|
368
|
+
authToken: 'string',
|
|
369
|
+
quotationNoInner: 'string',
|
|
370
|
+
insuranceApplicationNo: 'string',
|
|
371
|
+
insuranceCompanyNo: 'string',
|
|
372
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
373
|
+
insuranceProjectCode: 'string',
|
|
374
|
+
insuranceOptionsCode: 'string',
|
|
375
|
+
applicant: 'string',
|
|
376
|
+
insuredList: 'string',
|
|
377
|
+
beneficiaryList: 'string',
|
|
378
|
+
objectList: 'string',
|
|
379
|
+
insurancePeriodStart: 'string',
|
|
380
|
+
insurancePeriodEnd: 'string',
|
|
381
|
+
insurancePeriod: 'number',
|
|
382
|
+
appliedInsuranceAmount: 'string',
|
|
383
|
+
appliedPremium: 'string',
|
|
384
|
+
premiumRate: 'string',
|
|
385
|
+
quotation: 'string',
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
exports.ApplyUnderwritingRequest = ApplyUnderwritingRequest;
|
|
390
|
+
class ApplyUnderwritingResponse extends $tea.Model {
|
|
391
|
+
constructor(map) {
|
|
392
|
+
super(map);
|
|
393
|
+
}
|
|
394
|
+
static names() {
|
|
395
|
+
return {
|
|
396
|
+
reqMsgId: 'req_msg_id',
|
|
397
|
+
resultCode: 'result_code',
|
|
398
|
+
resultMsg: 'result_msg',
|
|
399
|
+
bizResult: 'biz_result',
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
static types() {
|
|
403
|
+
return {
|
|
404
|
+
reqMsgId: 'string',
|
|
405
|
+
resultCode: 'string',
|
|
406
|
+
resultMsg: 'string',
|
|
407
|
+
bizResult: 'string',
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
exports.ApplyUnderwritingResponse = ApplyUnderwritingResponse;
|
|
412
|
+
class QueryUnderwritingRequest extends $tea.Model {
|
|
413
|
+
constructor(map) {
|
|
414
|
+
super(map);
|
|
415
|
+
}
|
|
416
|
+
static names() {
|
|
417
|
+
return {
|
|
418
|
+
authToken: 'auth_token',
|
|
419
|
+
insuranceApplicationNoInner: 'insurance_application_no_inner',
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
static types() {
|
|
423
|
+
return {
|
|
424
|
+
authToken: 'string',
|
|
425
|
+
insuranceApplicationNoInner: 'string',
|
|
426
|
+
};
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
exports.QueryUnderwritingRequest = QueryUnderwritingRequest;
|
|
430
|
+
class QueryUnderwritingResponse extends $tea.Model {
|
|
431
|
+
constructor(map) {
|
|
432
|
+
super(map);
|
|
433
|
+
}
|
|
434
|
+
static names() {
|
|
435
|
+
return {
|
|
436
|
+
reqMsgId: 'req_msg_id',
|
|
437
|
+
resultCode: 'result_code',
|
|
438
|
+
resultMsg: 'result_msg',
|
|
439
|
+
bizResult: 'biz_result',
|
|
440
|
+
};
|
|
441
|
+
}
|
|
442
|
+
static types() {
|
|
443
|
+
return {
|
|
444
|
+
reqMsgId: 'string',
|
|
445
|
+
resultCode: 'string',
|
|
446
|
+
resultMsg: 'string',
|
|
447
|
+
bizResult: 'string',
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
exports.QueryUnderwritingResponse = QueryUnderwritingResponse;
|
|
452
|
+
class QueryPolicyFileRequest extends $tea.Model {
|
|
453
|
+
constructor(map) {
|
|
454
|
+
super(map);
|
|
455
|
+
}
|
|
456
|
+
static names() {
|
|
457
|
+
return {
|
|
458
|
+
authToken: 'auth_token',
|
|
459
|
+
insurancePolicyNoInner: 'insurance_policy_no_inner',
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
static types() {
|
|
463
|
+
return {
|
|
464
|
+
authToken: 'string',
|
|
465
|
+
insurancePolicyNoInner: 'string',
|
|
466
|
+
};
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
exports.QueryPolicyFileRequest = QueryPolicyFileRequest;
|
|
470
|
+
class QueryPolicyFileResponse extends $tea.Model {
|
|
471
|
+
constructor(map) {
|
|
472
|
+
super(map);
|
|
473
|
+
}
|
|
474
|
+
static names() {
|
|
475
|
+
return {
|
|
476
|
+
reqMsgId: 'req_msg_id',
|
|
477
|
+
resultCode: 'result_code',
|
|
478
|
+
resultMsg: 'result_msg',
|
|
479
|
+
ossUrl: 'oss_url',
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
static types() {
|
|
483
|
+
return {
|
|
484
|
+
reqMsgId: 'string',
|
|
485
|
+
resultCode: 'string',
|
|
486
|
+
resultMsg: 'string',
|
|
487
|
+
ossUrl: 'string',
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
exports.QueryPolicyFileResponse = QueryPolicyFileResponse;
|
|
492
|
+
class ApplyInsureRequest extends $tea.Model {
|
|
493
|
+
constructor(map) {
|
|
494
|
+
super(map);
|
|
495
|
+
}
|
|
496
|
+
static names() {
|
|
497
|
+
return {
|
|
498
|
+
authToken: 'auth_token',
|
|
499
|
+
insuranceApplicationNo: 'insurance_application_no',
|
|
500
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
501
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
502
|
+
insuranceProjectCode: 'insurance_project_code',
|
|
503
|
+
insuranceOptionsCode: 'insurance_options_code',
|
|
504
|
+
applicant: 'applicant',
|
|
505
|
+
insuredList: 'insured_list',
|
|
506
|
+
beneficiaryList: 'beneficiary_list',
|
|
507
|
+
insurancePeriodStart: 'insurance_period_start',
|
|
508
|
+
insurancePeriodEnd: 'insurance_period_end',
|
|
509
|
+
appliedInsuranceAmount: 'applied_insurance_amount',
|
|
510
|
+
insurancePeriod: 'insurance_period',
|
|
511
|
+
insuredObjectList: 'insured_object_list',
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
static types() {
|
|
515
|
+
return {
|
|
516
|
+
authToken: 'string',
|
|
517
|
+
insuranceApplicationNo: 'string',
|
|
518
|
+
insuranceCompanyNo: 'string',
|
|
519
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
520
|
+
insuranceProjectCode: 'string',
|
|
521
|
+
insuranceOptionsCode: 'string',
|
|
522
|
+
applicant: 'string',
|
|
523
|
+
insuredList: 'string',
|
|
524
|
+
beneficiaryList: 'string',
|
|
525
|
+
insurancePeriodStart: 'string',
|
|
526
|
+
insurancePeriodEnd: 'string',
|
|
527
|
+
appliedInsuranceAmount: 'string',
|
|
528
|
+
insurancePeriod: 'number',
|
|
529
|
+
insuredObjectList: 'string',
|
|
530
|
+
};
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
exports.ApplyInsureRequest = ApplyInsureRequest;
|
|
534
|
+
class ApplyInsureResponse extends $tea.Model {
|
|
535
|
+
constructor(map) {
|
|
536
|
+
super(map);
|
|
537
|
+
}
|
|
538
|
+
static names() {
|
|
539
|
+
return {
|
|
540
|
+
reqMsgId: 'req_msg_id',
|
|
541
|
+
resultCode: 'result_code',
|
|
542
|
+
resultMsg: 'result_msg',
|
|
543
|
+
bizResult: 'biz_result',
|
|
544
|
+
};
|
|
545
|
+
}
|
|
546
|
+
static types() {
|
|
547
|
+
return {
|
|
548
|
+
reqMsgId: 'string',
|
|
549
|
+
resultCode: 'string',
|
|
550
|
+
resultMsg: 'string',
|
|
551
|
+
bizResult: 'string',
|
|
552
|
+
};
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
exports.ApplyInsureResponse = ApplyInsureResponse;
|
|
556
|
+
class NotifyPolicyResultRequest extends $tea.Model {
|
|
557
|
+
constructor(map) {
|
|
558
|
+
super(map);
|
|
559
|
+
}
|
|
560
|
+
static names() {
|
|
561
|
+
return {
|
|
562
|
+
authToken: 'auth_token',
|
|
563
|
+
insuranceApplicationNoInner: 'insurance_application_no_inner',
|
|
564
|
+
policyNo: 'policy_no',
|
|
565
|
+
insuranceAmount: 'insurance_amount',
|
|
566
|
+
insurancePremium: 'insurance_premium',
|
|
567
|
+
insurancePeriodStart: 'insurance_period_start',
|
|
568
|
+
insurancePeriodEnd: 'insurance_period_end',
|
|
569
|
+
policyUrl: 'policy_url',
|
|
570
|
+
};
|
|
571
|
+
}
|
|
572
|
+
static types() {
|
|
573
|
+
return {
|
|
574
|
+
authToken: 'string',
|
|
575
|
+
insuranceApplicationNoInner: 'string',
|
|
576
|
+
policyNo: 'string',
|
|
577
|
+
insuranceAmount: 'string',
|
|
578
|
+
insurancePremium: 'string',
|
|
579
|
+
insurancePeriodStart: 'string',
|
|
580
|
+
insurancePeriodEnd: 'string',
|
|
581
|
+
policyUrl: 'string',
|
|
582
|
+
};
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
exports.NotifyPolicyResultRequest = NotifyPolicyResultRequest;
|
|
586
|
+
class NotifyPolicyResultResponse extends $tea.Model {
|
|
587
|
+
constructor(map) {
|
|
588
|
+
super(map);
|
|
589
|
+
}
|
|
590
|
+
static names() {
|
|
591
|
+
return {
|
|
592
|
+
reqMsgId: 'req_msg_id',
|
|
593
|
+
resultCode: 'result_code',
|
|
594
|
+
resultMsg: 'result_msg',
|
|
595
|
+
bizResult: 'biz_result',
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
static types() {
|
|
599
|
+
return {
|
|
600
|
+
reqMsgId: 'string',
|
|
601
|
+
resultCode: 'string',
|
|
602
|
+
resultMsg: 'string',
|
|
603
|
+
bizResult: 'string',
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
exports.NotifyPolicyResultResponse = NotifyPolicyResultResponse;
|
|
608
|
+
class ApplyClaimRequest extends $tea.Model {
|
|
609
|
+
constructor(map) {
|
|
610
|
+
super(map);
|
|
611
|
+
}
|
|
612
|
+
static names() {
|
|
613
|
+
return {
|
|
614
|
+
authToken: 'auth_token',
|
|
615
|
+
claimNotificationFormNo: 'claim_notification_form_no',
|
|
616
|
+
insurancePolicyNo: 'insurance_policy_no',
|
|
617
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
618
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
619
|
+
insuranceOptionsCode: 'insurance_options_code',
|
|
620
|
+
insuranceProjectCode: 'insurance_project_code',
|
|
621
|
+
lossOccurredTime: 'loss_occurred_time',
|
|
622
|
+
lossOccurredReason: 'loss_occurred_reason',
|
|
623
|
+
lossOccurredAddress: 'loss_occurred_address',
|
|
624
|
+
objectList: 'object_list',
|
|
625
|
+
claimNotificationAmountLocalCurrency: 'claim_notification_amount_local_currency',
|
|
626
|
+
reporter: 'reporter',
|
|
627
|
+
materialList: 'material_list',
|
|
628
|
+
};
|
|
629
|
+
}
|
|
630
|
+
static types() {
|
|
631
|
+
return {
|
|
632
|
+
authToken: 'string',
|
|
633
|
+
claimNotificationFormNo: 'string',
|
|
634
|
+
insurancePolicyNo: 'string',
|
|
635
|
+
insuranceCompanyNo: 'string',
|
|
636
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
637
|
+
insuranceOptionsCode: 'string',
|
|
638
|
+
insuranceProjectCode: 'string',
|
|
639
|
+
lossOccurredTime: 'string',
|
|
640
|
+
lossOccurredReason: 'string',
|
|
641
|
+
lossOccurredAddress: 'string',
|
|
642
|
+
objectList: 'string',
|
|
643
|
+
claimNotificationAmountLocalCurrency: 'string',
|
|
644
|
+
reporter: 'string',
|
|
645
|
+
materialList: 'string',
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
exports.ApplyClaimRequest = ApplyClaimRequest;
|
|
650
|
+
class ApplyClaimResponse extends $tea.Model {
|
|
651
|
+
constructor(map) {
|
|
652
|
+
super(map);
|
|
653
|
+
}
|
|
654
|
+
static names() {
|
|
655
|
+
return {
|
|
656
|
+
reqMsgId: 'req_msg_id',
|
|
657
|
+
resultCode: 'result_code',
|
|
658
|
+
resultMsg: 'result_msg',
|
|
659
|
+
bizResult: 'biz_result',
|
|
660
|
+
};
|
|
661
|
+
}
|
|
662
|
+
static types() {
|
|
663
|
+
return {
|
|
664
|
+
reqMsgId: 'string',
|
|
665
|
+
resultCode: 'string',
|
|
666
|
+
resultMsg: 'string',
|
|
667
|
+
bizResult: 'string',
|
|
668
|
+
};
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
exports.ApplyClaimResponse = ApplyClaimResponse;
|
|
672
|
+
class CancelClaimRequest extends $tea.Model {
|
|
673
|
+
constructor(map) {
|
|
674
|
+
super(map);
|
|
675
|
+
}
|
|
676
|
+
static names() {
|
|
677
|
+
return {
|
|
678
|
+
authToken: 'auth_token',
|
|
679
|
+
claimNotificationFormNoInner: 'claim_notification_form_no_inner',
|
|
680
|
+
bizInfo: 'biz_info',
|
|
681
|
+
};
|
|
682
|
+
}
|
|
683
|
+
static types() {
|
|
684
|
+
return {
|
|
685
|
+
authToken: 'string',
|
|
686
|
+
claimNotificationFormNoInner: 'string',
|
|
687
|
+
bizInfo: 'string',
|
|
688
|
+
};
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
exports.CancelClaimRequest = CancelClaimRequest;
|
|
692
|
+
class CancelClaimResponse extends $tea.Model {
|
|
693
|
+
constructor(map) {
|
|
694
|
+
super(map);
|
|
695
|
+
}
|
|
696
|
+
static names() {
|
|
697
|
+
return {
|
|
698
|
+
reqMsgId: 'req_msg_id',
|
|
699
|
+
resultCode: 'result_code',
|
|
700
|
+
resultMsg: 'result_msg',
|
|
701
|
+
bizResult: 'biz_result',
|
|
702
|
+
};
|
|
703
|
+
}
|
|
704
|
+
static types() {
|
|
705
|
+
return {
|
|
706
|
+
reqMsgId: 'string',
|
|
707
|
+
resultCode: 'string',
|
|
708
|
+
resultMsg: 'string',
|
|
709
|
+
bizResult: 'string',
|
|
710
|
+
};
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
exports.CancelClaimResponse = CancelClaimResponse;
|
|
714
|
+
class UpdateClaimMaterialRequest extends $tea.Model {
|
|
715
|
+
constructor(map) {
|
|
716
|
+
super(map);
|
|
717
|
+
}
|
|
718
|
+
static names() {
|
|
719
|
+
return {
|
|
720
|
+
authToken: 'auth_token',
|
|
721
|
+
claimNotificationFormNoInner: 'claim_notification_form_no_inner',
|
|
722
|
+
claimNotificationNo: 'claim_notification_no',
|
|
723
|
+
materialList: 'material_list',
|
|
724
|
+
isFinished: 'is_finished',
|
|
725
|
+
};
|
|
726
|
+
}
|
|
727
|
+
static types() {
|
|
728
|
+
return {
|
|
729
|
+
authToken: 'string',
|
|
730
|
+
claimNotificationFormNoInner: 'string',
|
|
731
|
+
claimNotificationNo: 'string',
|
|
732
|
+
materialList: 'string',
|
|
733
|
+
isFinished: 'string',
|
|
734
|
+
};
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
exports.UpdateClaimMaterialRequest = UpdateClaimMaterialRequest;
|
|
738
|
+
class UpdateClaimMaterialResponse extends $tea.Model {
|
|
739
|
+
constructor(map) {
|
|
740
|
+
super(map);
|
|
741
|
+
}
|
|
742
|
+
static names() {
|
|
743
|
+
return {
|
|
744
|
+
reqMsgId: 'req_msg_id',
|
|
745
|
+
resultCode: 'result_code',
|
|
746
|
+
resultMsg: 'result_msg',
|
|
747
|
+
bizResult: 'biz_result',
|
|
748
|
+
};
|
|
749
|
+
}
|
|
750
|
+
static types() {
|
|
751
|
+
return {
|
|
752
|
+
reqMsgId: 'string',
|
|
753
|
+
resultCode: 'string',
|
|
754
|
+
resultMsg: 'string',
|
|
755
|
+
bizResult: 'string',
|
|
756
|
+
};
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
exports.UpdateClaimMaterialResponse = UpdateClaimMaterialResponse;
|
|
760
|
+
class ConfirmClaimSettleRequest extends $tea.Model {
|
|
761
|
+
constructor(map) {
|
|
762
|
+
super(map);
|
|
763
|
+
}
|
|
764
|
+
static names() {
|
|
765
|
+
return {
|
|
766
|
+
authToken: 'auth_token',
|
|
767
|
+
claimNotificationFormNoInner: 'claim_notification_form_no_inner',
|
|
768
|
+
bizInfo: 'biz_info',
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
static types() {
|
|
772
|
+
return {
|
|
773
|
+
authToken: 'string',
|
|
774
|
+
claimNotificationFormNoInner: 'string',
|
|
775
|
+
bizInfo: 'string',
|
|
776
|
+
};
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
exports.ConfirmClaimSettleRequest = ConfirmClaimSettleRequest;
|
|
780
|
+
class ConfirmClaimSettleResponse extends $tea.Model {
|
|
781
|
+
constructor(map) {
|
|
782
|
+
super(map);
|
|
783
|
+
}
|
|
784
|
+
static names() {
|
|
785
|
+
return {
|
|
786
|
+
reqMsgId: 'req_msg_id',
|
|
787
|
+
resultCode: 'result_code',
|
|
788
|
+
resultMsg: 'result_msg',
|
|
789
|
+
bizResult: 'biz_result',
|
|
790
|
+
};
|
|
791
|
+
}
|
|
792
|
+
static types() {
|
|
793
|
+
return {
|
|
794
|
+
reqMsgId: 'string',
|
|
795
|
+
resultCode: 'string',
|
|
796
|
+
resultMsg: 'string',
|
|
797
|
+
bizResult: 'string',
|
|
798
|
+
};
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
exports.ConfirmClaimSettleResponse = ConfirmClaimSettleResponse;
|
|
802
|
+
class FinishClaimSettleRequest extends $tea.Model {
|
|
803
|
+
constructor(map) {
|
|
804
|
+
super(map);
|
|
805
|
+
}
|
|
806
|
+
static names() {
|
|
807
|
+
return {
|
|
808
|
+
authToken: 'auth_token',
|
|
809
|
+
claimNotificationFormNoInner: 'claim_notification_form_no_inner',
|
|
810
|
+
claimNotificationNo: 'claim_notification_no',
|
|
811
|
+
acceptResult: 'accept_result',
|
|
812
|
+
acceptNote: 'accept_note',
|
|
813
|
+
tradeInfo: 'trade_info',
|
|
814
|
+
};
|
|
815
|
+
}
|
|
816
|
+
static types() {
|
|
817
|
+
return {
|
|
818
|
+
authToken: 'string',
|
|
819
|
+
claimNotificationFormNoInner: 'string',
|
|
820
|
+
claimNotificationNo: 'string',
|
|
821
|
+
acceptResult: 'string',
|
|
822
|
+
acceptNote: 'string',
|
|
823
|
+
tradeInfo: 'string',
|
|
824
|
+
};
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
exports.FinishClaimSettleRequest = FinishClaimSettleRequest;
|
|
828
|
+
class FinishClaimSettleResponse extends $tea.Model {
|
|
829
|
+
constructor(map) {
|
|
830
|
+
super(map);
|
|
831
|
+
}
|
|
832
|
+
static names() {
|
|
833
|
+
return {
|
|
834
|
+
reqMsgId: 'req_msg_id',
|
|
835
|
+
resultCode: 'result_code',
|
|
836
|
+
resultMsg: 'result_msg',
|
|
837
|
+
bizResult: 'biz_result',
|
|
838
|
+
};
|
|
839
|
+
}
|
|
840
|
+
static types() {
|
|
841
|
+
return {
|
|
842
|
+
reqMsgId: 'string',
|
|
843
|
+
resultCode: 'string',
|
|
844
|
+
resultMsg: 'string',
|
|
845
|
+
bizResult: 'string',
|
|
846
|
+
};
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
exports.FinishClaimSettleResponse = FinishClaimSettleResponse;
|
|
850
|
+
class ApplyEndorsementStrategyRequest extends $tea.Model {
|
|
851
|
+
constructor(map) {
|
|
852
|
+
super(map);
|
|
853
|
+
}
|
|
854
|
+
static names() {
|
|
855
|
+
return {
|
|
856
|
+
authToken: 'auth_token',
|
|
857
|
+
insuranceApplicationNoInner: 'insurance_application_no_inner',
|
|
858
|
+
applicant: 'applicant',
|
|
859
|
+
insuredList: 'insured_list',
|
|
860
|
+
beneficiaryList: 'beneficiary_list',
|
|
861
|
+
objectList: 'object_list',
|
|
862
|
+
insurancePeriodStart: 'insurance_period_start',
|
|
863
|
+
insurancePeriodEnd: 'insurance_period_end',
|
|
864
|
+
insurancePeriod: 'insurance_period',
|
|
865
|
+
appliedInsuranceAmount: 'applied_insurance_amount',
|
|
866
|
+
appliedPremium: 'applied_premium',
|
|
867
|
+
premiumRate: 'premium_rate',
|
|
868
|
+
};
|
|
869
|
+
}
|
|
870
|
+
static types() {
|
|
871
|
+
return {
|
|
872
|
+
authToken: 'string',
|
|
873
|
+
insuranceApplicationNoInner: 'string',
|
|
874
|
+
applicant: 'string',
|
|
875
|
+
insuredList: 'string',
|
|
876
|
+
beneficiaryList: 'string',
|
|
877
|
+
objectList: 'string',
|
|
878
|
+
insurancePeriodStart: 'string',
|
|
879
|
+
insurancePeriodEnd: 'string',
|
|
880
|
+
insurancePeriod: 'number',
|
|
881
|
+
appliedInsuranceAmount: 'string',
|
|
882
|
+
appliedPremium: 'string',
|
|
883
|
+
premiumRate: 'string',
|
|
884
|
+
};
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
exports.ApplyEndorsementStrategyRequest = ApplyEndorsementStrategyRequest;
|
|
888
|
+
class ApplyEndorsementStrategyResponse extends $tea.Model {
|
|
889
|
+
constructor(map) {
|
|
890
|
+
super(map);
|
|
891
|
+
}
|
|
892
|
+
static names() {
|
|
893
|
+
return {
|
|
894
|
+
reqMsgId: 'req_msg_id',
|
|
895
|
+
resultCode: 'result_code',
|
|
896
|
+
resultMsg: 'result_msg',
|
|
897
|
+
bizResult: 'biz_result',
|
|
898
|
+
};
|
|
899
|
+
}
|
|
900
|
+
static types() {
|
|
901
|
+
return {
|
|
902
|
+
reqMsgId: 'string',
|
|
903
|
+
resultCode: 'string',
|
|
904
|
+
resultMsg: 'string',
|
|
905
|
+
bizResult: 'string',
|
|
906
|
+
};
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
exports.ApplyEndorsementStrategyResponse = ApplyEndorsementStrategyResponse;
|
|
910
|
+
class SyncPolicyResultRequest extends $tea.Model {
|
|
911
|
+
constructor(map) {
|
|
912
|
+
super(map);
|
|
913
|
+
}
|
|
914
|
+
static names() {
|
|
915
|
+
return {
|
|
916
|
+
authToken: 'auth_token',
|
|
917
|
+
insuranceApplicationNo: 'insurance_application_no',
|
|
918
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
919
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
920
|
+
insuranceProjectCode: 'insurance_project_code',
|
|
921
|
+
insuranceOptionsCode: 'insurance_options_code',
|
|
922
|
+
applicant: 'applicant',
|
|
923
|
+
insuredList: 'insured_list',
|
|
924
|
+
beneficiaryList: 'beneficiary_list',
|
|
925
|
+
objectList: 'object_list',
|
|
926
|
+
policyNo: 'policy_no',
|
|
927
|
+
insuranceAmount: 'insurance_amount',
|
|
928
|
+
insurancePremium: 'insurance_premium',
|
|
929
|
+
insurancePeriodStart: 'insurance_period_start',
|
|
930
|
+
insurancePeriodEnd: 'insurance_period_end',
|
|
931
|
+
policyUrl: 'policy_url',
|
|
932
|
+
};
|
|
933
|
+
}
|
|
934
|
+
static types() {
|
|
935
|
+
return {
|
|
936
|
+
authToken: 'string',
|
|
937
|
+
insuranceApplicationNo: 'string',
|
|
938
|
+
insuranceCompanyNo: 'string',
|
|
939
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
940
|
+
insuranceProjectCode: 'string',
|
|
941
|
+
insuranceOptionsCode: 'string',
|
|
942
|
+
applicant: 'string',
|
|
943
|
+
insuredList: 'string',
|
|
944
|
+
beneficiaryList: 'string',
|
|
945
|
+
objectList: 'string',
|
|
946
|
+
policyNo: 'string',
|
|
947
|
+
insuranceAmount: 'string',
|
|
948
|
+
insurancePremium: 'string',
|
|
949
|
+
insurancePeriodStart: 'string',
|
|
950
|
+
insurancePeriodEnd: 'string',
|
|
951
|
+
policyUrl: 'string',
|
|
952
|
+
};
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
exports.SyncPolicyResultRequest = SyncPolicyResultRequest;
|
|
956
|
+
class SyncPolicyResultResponse extends $tea.Model {
|
|
957
|
+
constructor(map) {
|
|
958
|
+
super(map);
|
|
959
|
+
}
|
|
960
|
+
static names() {
|
|
961
|
+
return {
|
|
962
|
+
reqMsgId: 'req_msg_id',
|
|
963
|
+
resultCode: 'result_code',
|
|
964
|
+
resultMsg: 'result_msg',
|
|
965
|
+
bizResult: 'biz_result',
|
|
966
|
+
};
|
|
967
|
+
}
|
|
968
|
+
static types() {
|
|
969
|
+
return {
|
|
970
|
+
reqMsgId: 'string',
|
|
971
|
+
resultCode: 'string',
|
|
972
|
+
resultMsg: 'string',
|
|
973
|
+
bizResult: 'string',
|
|
974
|
+
};
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
exports.SyncPolicyResultResponse = SyncPolicyResultResponse;
|
|
978
|
+
class QueryInsureResultRequest extends $tea.Model {
|
|
979
|
+
constructor(map) {
|
|
980
|
+
super(map);
|
|
981
|
+
}
|
|
982
|
+
static names() {
|
|
983
|
+
return {
|
|
984
|
+
authToken: 'auth_token',
|
|
985
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
986
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
987
|
+
noticeNo: 'notice_no',
|
|
988
|
+
};
|
|
989
|
+
}
|
|
990
|
+
static types() {
|
|
991
|
+
return {
|
|
992
|
+
authToken: 'string',
|
|
993
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
994
|
+
insuranceCompanyNo: 'string',
|
|
995
|
+
noticeNo: 'string',
|
|
996
|
+
};
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
exports.QueryInsureResultRequest = QueryInsureResultRequest;
|
|
1000
|
+
class QueryInsureResultResponse extends $tea.Model {
|
|
1001
|
+
constructor(map) {
|
|
1002
|
+
super(map);
|
|
1003
|
+
}
|
|
1004
|
+
static names() {
|
|
1005
|
+
return {
|
|
1006
|
+
reqMsgId: 'req_msg_id',
|
|
1007
|
+
resultCode: 'result_code',
|
|
1008
|
+
resultMsg: 'result_msg',
|
|
1009
|
+
noticeNo: 'notice_no',
|
|
1010
|
+
paymentStatus: 'payment_status',
|
|
1011
|
+
policyNo: 'policy_no',
|
|
1012
|
+
insuranceAmount: 'insurance_amount',
|
|
1013
|
+
insurancePremium: 'insurance_premium',
|
|
1014
|
+
effectDate: 'effect_date',
|
|
1015
|
+
expireDate: 'expire_date',
|
|
1016
|
+
outPolicyUrl: 'out_policy_url',
|
|
1017
|
+
insuranceApplicationNo: 'insurance_application_no',
|
|
1018
|
+
insuranceApplicationNoInner: 'insurance_application_no_inner',
|
|
1019
|
+
};
|
|
1020
|
+
}
|
|
1021
|
+
static types() {
|
|
1022
|
+
return {
|
|
1023
|
+
reqMsgId: 'string',
|
|
1024
|
+
resultCode: 'string',
|
|
1025
|
+
resultMsg: 'string',
|
|
1026
|
+
noticeNo: 'string',
|
|
1027
|
+
paymentStatus: 'string',
|
|
1028
|
+
policyNo: 'string',
|
|
1029
|
+
insuranceAmount: 'string',
|
|
1030
|
+
insurancePremium: 'string',
|
|
1031
|
+
effectDate: 'string',
|
|
1032
|
+
expireDate: 'string',
|
|
1033
|
+
outPolicyUrl: 'string',
|
|
1034
|
+
insuranceApplicationNo: 'string',
|
|
1035
|
+
insuranceApplicationNoInner: 'string',
|
|
1036
|
+
};
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
exports.QueryInsureResultResponse = QueryInsureResultResponse;
|
|
1040
|
+
class Client {
|
|
1041
|
+
/**
|
|
1042
|
+
* Init client with Config
|
|
1043
|
+
* @param config config contains the necessary information to create a client
|
|
1044
|
+
*/
|
|
1045
|
+
constructor(config) {
|
|
1046
|
+
if (tea_util_1.default.isUnset(config)) {
|
|
1047
|
+
throw $tea.newError({
|
|
1048
|
+
code: "ParameterMissing",
|
|
1049
|
+
message: "'config' can not be unset",
|
|
1050
|
+
});
|
|
1051
|
+
}
|
|
1052
|
+
this._accessKeyId = config.accessKeyId;
|
|
1053
|
+
this._accessKeySecret = config.accessKeySecret;
|
|
1054
|
+
this._securityToken = config.securityToken;
|
|
1055
|
+
this._endpoint = config.endpoint;
|
|
1056
|
+
this._protocol = config.protocol;
|
|
1057
|
+
this._userAgent = config.userAgent;
|
|
1058
|
+
this._readTimeout = tea_util_1.default.defaultNumber(config.readTimeout, 20000);
|
|
1059
|
+
this._connectTimeout = tea_util_1.default.defaultNumber(config.connectTimeout, 20000);
|
|
1060
|
+
this._httpProxy = config.httpProxy;
|
|
1061
|
+
this._httpsProxy = config.httpsProxy;
|
|
1062
|
+
this._noProxy = config.noProxy;
|
|
1063
|
+
this._socks5Proxy = config.socks5Proxy;
|
|
1064
|
+
this._socks5NetWork = config.socks5NetWork;
|
|
1065
|
+
this._maxIdleConns = tea_util_1.default.defaultNumber(config.maxIdleConns, 60000);
|
|
1066
|
+
this._maxIdleTimeMillis = tea_util_1.default.defaultNumber(config.maxIdleTimeMillis, 5);
|
|
1067
|
+
this._keepAliveDurationMillis = tea_util_1.default.defaultNumber(config.keepAliveDurationMillis, 5000);
|
|
1068
|
+
this._maxRequests = tea_util_1.default.defaultNumber(config.maxRequests, 100);
|
|
1069
|
+
this._maxRequestsPerHost = tea_util_1.default.defaultNumber(config.maxRequestsPerHost, 100);
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* Encapsulate the request and invoke the network
|
|
1073
|
+
* @param action api name
|
|
1074
|
+
* @param protocol http or https
|
|
1075
|
+
* @param method e.g. GET
|
|
1076
|
+
* @param pathname pathname of every api
|
|
1077
|
+
* @param request which contains request params
|
|
1078
|
+
* @param runtime which controls some details of call api, such as retry times
|
|
1079
|
+
* @return the response
|
|
1080
|
+
*/
|
|
1081
|
+
async doRequest(version, action, protocol, method, pathname, request, headers, runtime) {
|
|
1082
|
+
let _runtime = {
|
|
1083
|
+
timeouted: "retry",
|
|
1084
|
+
readTimeout: tea_util_1.default.defaultNumber(runtime.readTimeout, this._readTimeout),
|
|
1085
|
+
connectTimeout: tea_util_1.default.defaultNumber(runtime.connectTimeout, this._connectTimeout),
|
|
1086
|
+
httpProxy: tea_util_1.default.defaultString(runtime.httpProxy, this._httpProxy),
|
|
1087
|
+
httpsProxy: tea_util_1.default.defaultString(runtime.httpsProxy, this._httpsProxy),
|
|
1088
|
+
noProxy: tea_util_1.default.defaultString(runtime.noProxy, this._noProxy),
|
|
1089
|
+
maxIdleConns: tea_util_1.default.defaultNumber(runtime.maxIdleConns, this._maxIdleConns),
|
|
1090
|
+
maxIdleTimeMillis: this._maxIdleTimeMillis,
|
|
1091
|
+
keepAliveDuration: this._keepAliveDurationMillis,
|
|
1092
|
+
maxRequests: this._maxRequests,
|
|
1093
|
+
maxRequestsPerHost: this._maxRequestsPerHost,
|
|
1094
|
+
retry: {
|
|
1095
|
+
retryable: runtime.autoretry,
|
|
1096
|
+
maxAttempts: tea_util_1.default.defaultNumber(runtime.maxAttempts, 3),
|
|
1097
|
+
},
|
|
1098
|
+
backoff: {
|
|
1099
|
+
policy: tea_util_1.default.defaultString(runtime.backoffPolicy, "no"),
|
|
1100
|
+
period: tea_util_1.default.defaultNumber(runtime.backoffPeriod, 1),
|
|
1101
|
+
},
|
|
1102
|
+
ignoreSSL: runtime.ignoreSSL,
|
|
1103
|
+
};
|
|
1104
|
+
let _lastRequest = null;
|
|
1105
|
+
let _now = Date.now();
|
|
1106
|
+
let _retryTimes = 0;
|
|
1107
|
+
while ($tea.allowRetry(_runtime['retry'], _retryTimes, _now)) {
|
|
1108
|
+
if (_retryTimes > 0) {
|
|
1109
|
+
let _backoffTime = $tea.getBackoffTime(_runtime['backoff'], _retryTimes);
|
|
1110
|
+
if (_backoffTime > 0) {
|
|
1111
|
+
await $tea.sleep(_backoffTime);
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
_retryTimes = _retryTimes + 1;
|
|
1115
|
+
try {
|
|
1116
|
+
let request_ = new $tea.Request();
|
|
1117
|
+
request_.protocol = tea_util_1.default.defaultString(this._protocol, protocol);
|
|
1118
|
+
request_.method = method;
|
|
1119
|
+
request_.pathname = pathname;
|
|
1120
|
+
request_.query = {
|
|
1121
|
+
method: action,
|
|
1122
|
+
version: version,
|
|
1123
|
+
sign_type: "HmacSHA1",
|
|
1124
|
+
req_time: alipay_util_1.default.getTimestamp(),
|
|
1125
|
+
req_msg_id: alipay_util_1.default.getNonce(),
|
|
1126
|
+
access_key: this._accessKeyId,
|
|
1127
|
+
base_sdk_version: "TeaSDK-2.0",
|
|
1128
|
+
sdk_version: "1.7.10",
|
|
1129
|
+
_prod_code: "INSURANCE_SAAS",
|
|
1130
|
+
_prod_channel: "undefined",
|
|
1131
|
+
};
|
|
1132
|
+
if (!tea_util_1.default.empty(this._securityToken)) {
|
|
1133
|
+
request_.query["security_token"] = this._securityToken;
|
|
1134
|
+
}
|
|
1135
|
+
request_.headers = Object.assign({ host: tea_util_1.default.defaultString(this._endpoint, "openapi.antchain.antgroup.com"), 'user-agent': tea_util_1.default.getUserAgent(this._userAgent) }, headers);
|
|
1136
|
+
let tmp = tea_util_1.default.anyifyMapValue(rpc_util_1.default.query(request));
|
|
1137
|
+
request_.body = new $tea.BytesReadable(tea_util_1.default.toFormString(tmp));
|
|
1138
|
+
request_.headers["content-type"] = "application/x-www-form-urlencoded";
|
|
1139
|
+
let signedParam = Object.assign(Object.assign({}, request_.query), rpc_util_1.default.query(request));
|
|
1140
|
+
request_.query["sign"] = alipay_util_1.default.getSignature(signedParam, this._accessKeySecret);
|
|
1141
|
+
_lastRequest = request_;
|
|
1142
|
+
let response_ = await $tea.doAction(request_, _runtime);
|
|
1143
|
+
let raw = await tea_util_1.default.readAsString(response_.body);
|
|
1144
|
+
let obj = tea_util_1.default.parseJSON(raw);
|
|
1145
|
+
let res = tea_util_1.default.assertAsMap(obj);
|
|
1146
|
+
let resp = tea_util_1.default.assertAsMap(res["response"]);
|
|
1147
|
+
if (alipay_util_1.default.hasError(raw, this._accessKeySecret)) {
|
|
1148
|
+
throw $tea.newError({
|
|
1149
|
+
message: resp["result_msg"],
|
|
1150
|
+
data: resp,
|
|
1151
|
+
code: resp["result_code"],
|
|
1152
|
+
});
|
|
1153
|
+
}
|
|
1154
|
+
return resp;
|
|
1155
|
+
}
|
|
1156
|
+
catch (ex) {
|
|
1157
|
+
if ($tea.isRetryable(ex)) {
|
|
1158
|
+
continue;
|
|
1159
|
+
}
|
|
1160
|
+
throw ex;
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
throw $tea.newUnretryableError(_lastRequest);
|
|
1164
|
+
}
|
|
1165
|
+
/**
|
|
1166
|
+
* Description: 保险询报价结果查询
|
|
1167
|
+
* Summary: 保险询报价结果查询
|
|
1168
|
+
*/
|
|
1169
|
+
async queryInquiry(request) {
|
|
1170
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1171
|
+
let headers = {};
|
|
1172
|
+
return await this.queryInquiryEx(request, headers, runtime);
|
|
1173
|
+
}
|
|
1174
|
+
/**
|
|
1175
|
+
* Description: 保险询报价结果查询
|
|
1176
|
+
* Summary: 保险询报价结果查询
|
|
1177
|
+
*/
|
|
1178
|
+
async queryInquiryEx(request, headers, runtime) {
|
|
1179
|
+
tea_util_1.default.validateModel(request);
|
|
1180
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.inquiry.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInquiryResponse({}));
|
|
1181
|
+
}
|
|
1182
|
+
/**
|
|
1183
|
+
* Description: 保险产品询价
|
|
1184
|
+
* Summary: 保险产品询价
|
|
1185
|
+
*/
|
|
1186
|
+
async submitInquiry(request) {
|
|
1187
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1188
|
+
let headers = {};
|
|
1189
|
+
return await this.submitInquiryEx(request, headers, runtime);
|
|
1190
|
+
}
|
|
1191
|
+
/**
|
|
1192
|
+
* Description: 保险产品询价
|
|
1193
|
+
* Summary: 保险产品询价
|
|
1194
|
+
*/
|
|
1195
|
+
async submitInquiryEx(request, headers, runtime) {
|
|
1196
|
+
tea_util_1.default.validateModel(request);
|
|
1197
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.inquiry.submit", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SubmitInquiryResponse({}));
|
|
1198
|
+
}
|
|
1199
|
+
/**
|
|
1200
|
+
* Description: 历史灾害查询
|
|
1201
|
+
* Summary: 历史灾害数据查询
|
|
1202
|
+
*/
|
|
1203
|
+
async queryDataDisaster(request) {
|
|
1204
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1205
|
+
let headers = {};
|
|
1206
|
+
return await this.queryDataDisasterEx(request, headers, runtime);
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* Description: 历史灾害查询
|
|
1210
|
+
* Summary: 历史灾害数据查询
|
|
1211
|
+
*/
|
|
1212
|
+
async queryDataDisasterEx(request, headers, runtime) {
|
|
1213
|
+
tea_util_1.default.validateModel(request);
|
|
1214
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.data.disaster.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDataDisasterResponse({}));
|
|
1215
|
+
}
|
|
1216
|
+
/**
|
|
1217
|
+
* Description: 实时天气预警
|
|
1218
|
+
* Summary: 实时天气预警
|
|
1219
|
+
*/
|
|
1220
|
+
async queryDataWeather(request) {
|
|
1221
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1222
|
+
let headers = {};
|
|
1223
|
+
return await this.queryDataWeatherEx(request, headers, runtime);
|
|
1224
|
+
}
|
|
1225
|
+
/**
|
|
1226
|
+
* Description: 实时天气预警
|
|
1227
|
+
* Summary: 实时天气预警
|
|
1228
|
+
*/
|
|
1229
|
+
async queryDataWeatherEx(request, headers, runtime) {
|
|
1230
|
+
tea_util_1.default.validateModel(request);
|
|
1231
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.data.weather.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDataWeatherResponse({}));
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* Description: 报价接口同步接口
|
|
1235
|
+
* Summary: 报价接口同步接口
|
|
1236
|
+
*/
|
|
1237
|
+
async syncQuote(request) {
|
|
1238
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1239
|
+
let headers = {};
|
|
1240
|
+
return await this.syncQuoteEx(request, headers, runtime);
|
|
1241
|
+
}
|
|
1242
|
+
/**
|
|
1243
|
+
* Description: 报价接口同步接口
|
|
1244
|
+
* Summary: 报价接口同步接口
|
|
1245
|
+
*/
|
|
1246
|
+
async syncQuoteEx(request, headers, runtime) {
|
|
1247
|
+
tea_util_1.default.validateModel(request);
|
|
1248
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.quote.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncQuoteResponse({}));
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* Description: 承保自核申请接口
|
|
1252
|
+
* Summary: 承保自核申请接口
|
|
1253
|
+
*/
|
|
1254
|
+
async applyUnderwriting(request) {
|
|
1255
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1256
|
+
let headers = {};
|
|
1257
|
+
return await this.applyUnderwritingEx(request, headers, runtime);
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* Description: 承保自核申请接口
|
|
1261
|
+
* Summary: 承保自核申请接口
|
|
1262
|
+
*/
|
|
1263
|
+
async applyUnderwritingEx(request, headers, runtime) {
|
|
1264
|
+
tea_util_1.default.validateModel(request);
|
|
1265
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.underwriting.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUnderwritingResponse({}));
|
|
1266
|
+
}
|
|
1267
|
+
/**
|
|
1268
|
+
* Description: 承保自核结果查询接口
|
|
1269
|
+
* Summary: 承保自核结果查询接口
|
|
1270
|
+
*/
|
|
1271
|
+
async queryUnderwriting(request) {
|
|
1272
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1273
|
+
let headers = {};
|
|
1274
|
+
return await this.queryUnderwritingEx(request, headers, runtime);
|
|
1275
|
+
}
|
|
1276
|
+
/**
|
|
1277
|
+
* Description: 承保自核结果查询接口
|
|
1278
|
+
* Summary: 承保自核结果查询接口
|
|
1279
|
+
*/
|
|
1280
|
+
async queryUnderwritingEx(request, headers, runtime) {
|
|
1281
|
+
tea_util_1.default.validateModel(request);
|
|
1282
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.underwriting.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUnderwritingResponse({}));
|
|
1283
|
+
}
|
|
1284
|
+
/**
|
|
1285
|
+
* Description: 根据保单号查询保单附件,并返回一个有效期为7天的ossurl
|
|
1286
|
+
* Summary: 保险科技保单附件查询接口
|
|
1287
|
+
*/
|
|
1288
|
+
async queryPolicyFile(request) {
|
|
1289
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1290
|
+
let headers = {};
|
|
1291
|
+
return await this.queryPolicyFileEx(request, headers, runtime);
|
|
1292
|
+
}
|
|
1293
|
+
/**
|
|
1294
|
+
* Description: 根据保单号查询保单附件,并返回一个有效期为7天的ossurl
|
|
1295
|
+
* Summary: 保险科技保单附件查询接口
|
|
1296
|
+
*/
|
|
1297
|
+
async queryPolicyFileEx(request, headers, runtime) {
|
|
1298
|
+
tea_util_1.default.validateModel(request);
|
|
1299
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.policy.file.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryPolicyFileResponse({}));
|
|
1300
|
+
}
|
|
1301
|
+
/**
|
|
1302
|
+
* Description: 保险SaaS投保申请接口
|
|
1303
|
+
* Summary: 投保申请接口
|
|
1304
|
+
*/
|
|
1305
|
+
async applyInsure(request) {
|
|
1306
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1307
|
+
let headers = {};
|
|
1308
|
+
return await this.applyInsureEx(request, headers, runtime);
|
|
1309
|
+
}
|
|
1310
|
+
/**
|
|
1311
|
+
* Description: 保险SaaS投保申请接口
|
|
1312
|
+
* Summary: 投保申请接口
|
|
1313
|
+
*/
|
|
1314
|
+
async applyInsureEx(request, headers, runtime) {
|
|
1315
|
+
tea_util_1.default.validateModel(request);
|
|
1316
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.insure.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyInsureResponse({}));
|
|
1317
|
+
}
|
|
1318
|
+
/**
|
|
1319
|
+
* Description: 保单结果同步,注意:基于投保信息的保单结果同步。
|
|
1320
|
+
* Summary: 保单结果同步(依赖投保申请)
|
|
1321
|
+
*/
|
|
1322
|
+
async notifyPolicyResult(request) {
|
|
1323
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1324
|
+
let headers = {};
|
|
1325
|
+
return await this.notifyPolicyResultEx(request, headers, runtime);
|
|
1326
|
+
}
|
|
1327
|
+
/**
|
|
1328
|
+
* Description: 保单结果同步,注意:基于投保信息的保单结果同步。
|
|
1329
|
+
* Summary: 保单结果同步(依赖投保申请)
|
|
1330
|
+
*/
|
|
1331
|
+
async notifyPolicyResultEx(request, headers, runtime) {
|
|
1332
|
+
tea_util_1.default.validateModel(request);
|
|
1333
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.policy.result.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyPolicyResultResponse({}));
|
|
1334
|
+
}
|
|
1335
|
+
/**
|
|
1336
|
+
* Description: 报案接口
|
|
1337
|
+
* Summary: 保险科技 报案接口
|
|
1338
|
+
*/
|
|
1339
|
+
async applyClaim(request) {
|
|
1340
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1341
|
+
let headers = {};
|
|
1342
|
+
return await this.applyClaimEx(request, headers, runtime);
|
|
1343
|
+
}
|
|
1344
|
+
/**
|
|
1345
|
+
* Description: 报案接口
|
|
1346
|
+
* Summary: 保险科技 报案接口
|
|
1347
|
+
*/
|
|
1348
|
+
async applyClaimEx(request, headers, runtime) {
|
|
1349
|
+
tea_util_1.default.validateModel(request);
|
|
1350
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.claim.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyClaimResponse({}));
|
|
1351
|
+
}
|
|
1352
|
+
/**
|
|
1353
|
+
* Description: 报案撤销(场景端)
|
|
1354
|
+
* Summary: 报案撤销(场景端)
|
|
1355
|
+
*/
|
|
1356
|
+
async cancelClaim(request) {
|
|
1357
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1358
|
+
let headers = {};
|
|
1359
|
+
return await this.cancelClaimEx(request, headers, runtime);
|
|
1360
|
+
}
|
|
1361
|
+
/**
|
|
1362
|
+
* Description: 报案撤销(场景端)
|
|
1363
|
+
* Summary: 报案撤销(场景端)
|
|
1364
|
+
*/
|
|
1365
|
+
async cancelClaimEx(request, headers, runtime) {
|
|
1366
|
+
tea_util_1.default.validateModel(request);
|
|
1367
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.claim.cancel", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CancelClaimResponse({}));
|
|
1368
|
+
}
|
|
1369
|
+
/**
|
|
1370
|
+
* Description: 报案材料更新(场景端)
|
|
1371
|
+
* Summary: 报案材料更新(场景端)
|
|
1372
|
+
*/
|
|
1373
|
+
async updateClaimMaterial(request) {
|
|
1374
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1375
|
+
let headers = {};
|
|
1376
|
+
return await this.updateClaimMaterialEx(request, headers, runtime);
|
|
1377
|
+
}
|
|
1378
|
+
/**
|
|
1379
|
+
* Description: 报案材料更新(场景端)
|
|
1380
|
+
* Summary: 报案材料更新(场景端)
|
|
1381
|
+
*/
|
|
1382
|
+
async updateClaimMaterialEx(request, headers, runtime) {
|
|
1383
|
+
tea_util_1.default.validateModel(request);
|
|
1384
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.claim.material.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateClaimMaterialResponse({}));
|
|
1385
|
+
}
|
|
1386
|
+
/**
|
|
1387
|
+
* Description: 理赔结果确认(场景端)
|
|
1388
|
+
* Summary: 理赔结果确认(场景端)
|
|
1389
|
+
*/
|
|
1390
|
+
async confirmClaimSettle(request) {
|
|
1391
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1392
|
+
let headers = {};
|
|
1393
|
+
return await this.confirmClaimSettleEx(request, headers, runtime);
|
|
1394
|
+
}
|
|
1395
|
+
/**
|
|
1396
|
+
* Description: 理赔结果确认(场景端)
|
|
1397
|
+
* Summary: 理赔结果确认(场景端)
|
|
1398
|
+
*/
|
|
1399
|
+
async confirmClaimSettleEx(request, headers, runtime) {
|
|
1400
|
+
tea_util_1.default.validateModel(request);
|
|
1401
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.claim.settle.confirm", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ConfirmClaimSettleResponse({}));
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* Description: 理赔结案通知(保司端)
|
|
1405
|
+
* Summary: 理赔结案通知(保司端)
|
|
1406
|
+
*/
|
|
1407
|
+
async finishClaimSettle(request) {
|
|
1408
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1409
|
+
let headers = {};
|
|
1410
|
+
return await this.finishClaimSettleEx(request, headers, runtime);
|
|
1411
|
+
}
|
|
1412
|
+
/**
|
|
1413
|
+
* Description: 理赔结案通知(保司端)
|
|
1414
|
+
* Summary: 理赔结案通知(保司端)
|
|
1415
|
+
*/
|
|
1416
|
+
async finishClaimSettleEx(request, headers, runtime) {
|
|
1417
|
+
tea_util_1.default.validateModel(request);
|
|
1418
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.claim.settle.finish", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new FinishClaimSettleResponse({}));
|
|
1419
|
+
}
|
|
1420
|
+
/**
|
|
1421
|
+
* Description: 保险批改自核接口
|
|
1422
|
+
* Summary: 保险批改自核接口
|
|
1423
|
+
*/
|
|
1424
|
+
async applyEndorsementStrategy(request) {
|
|
1425
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1426
|
+
let headers = {};
|
|
1427
|
+
return await this.applyEndorsementStrategyEx(request, headers, runtime);
|
|
1428
|
+
}
|
|
1429
|
+
/**
|
|
1430
|
+
* Description: 保险批改自核接口
|
|
1431
|
+
* Summary: 保险批改自核接口
|
|
1432
|
+
*/
|
|
1433
|
+
async applyEndorsementStrategyEx(request, headers, runtime) {
|
|
1434
|
+
tea_util_1.default.validateModel(request);
|
|
1435
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.endorsement.strategy.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyEndorsementStrategyResponse({}));
|
|
1436
|
+
}
|
|
1437
|
+
/**
|
|
1438
|
+
* Description: 保单信息离线同步
|
|
1439
|
+
* Summary: 保单信息离线同步
|
|
1440
|
+
*/
|
|
1441
|
+
async syncPolicyResult(request) {
|
|
1442
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1443
|
+
let headers = {};
|
|
1444
|
+
return await this.syncPolicyResultEx(request, headers, runtime);
|
|
1445
|
+
}
|
|
1446
|
+
/**
|
|
1447
|
+
* Description: 保单信息离线同步
|
|
1448
|
+
* Summary: 保单信息离线同步
|
|
1449
|
+
*/
|
|
1450
|
+
async syncPolicyResultEx(request, headers, runtime) {
|
|
1451
|
+
tea_util_1.default.validateModel(request);
|
|
1452
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.policy.result.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncPolicyResultResponse({}));
|
|
1453
|
+
}
|
|
1454
|
+
/**
|
|
1455
|
+
* Description: 基于通知单号查询保险投保结果
|
|
1456
|
+
* Summary: 保险投保结果查询
|
|
1457
|
+
*/
|
|
1458
|
+
async queryInsureResult(request) {
|
|
1459
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1460
|
+
let headers = {};
|
|
1461
|
+
return await this.queryInsureResultEx(request, headers, runtime);
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* Description: 基于通知单号查询保险投保结果
|
|
1465
|
+
* Summary: 保险投保结果查询
|
|
1466
|
+
*/
|
|
1467
|
+
async queryInsureResultEx(request, headers, runtime) {
|
|
1468
|
+
tea_util_1.default.validateModel(request);
|
|
1469
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.insure.result.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInsureResultResponse({}));
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1472
|
+
exports.default = Client;
|
|
1473
|
+
//# sourceMappingURL=client.js.map
|