@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/src/client.ts
ADDED
|
@@ -0,0 +1,2069 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import AntchainUtil from '@antchain/alipay-util';
|
|
3
|
+
import Util, * as $Util from '@alicloud/tea-util';
|
|
4
|
+
import RPCUtil from '@alicloud/rpc-util';
|
|
5
|
+
import * as $tea from '@alicloud/tea-typescript';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Model for initing client
|
|
9
|
+
*/
|
|
10
|
+
export class Config extends $tea.Model {
|
|
11
|
+
accessKeyId?: string;
|
|
12
|
+
accessKeySecret?: string;
|
|
13
|
+
securityToken?: string;
|
|
14
|
+
protocol?: string;
|
|
15
|
+
readTimeout?: number;
|
|
16
|
+
connectTimeout?: number;
|
|
17
|
+
httpProxy?: string;
|
|
18
|
+
httpsProxy?: string;
|
|
19
|
+
endpoint?: string;
|
|
20
|
+
noProxy?: string;
|
|
21
|
+
maxIdleConns?: number;
|
|
22
|
+
userAgent?: string;
|
|
23
|
+
socks5Proxy?: string;
|
|
24
|
+
socks5NetWork?: string;
|
|
25
|
+
maxIdleTimeMillis?: number;
|
|
26
|
+
keepAliveDurationMillis?: number;
|
|
27
|
+
maxRequests?: number;
|
|
28
|
+
maxRequestsPerHost?: number;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
accessKeyId: 'accessKeyId',
|
|
32
|
+
accessKeySecret: 'accessKeySecret',
|
|
33
|
+
securityToken: 'securityToken',
|
|
34
|
+
protocol: 'protocol',
|
|
35
|
+
readTimeout: 'readTimeout',
|
|
36
|
+
connectTimeout: 'connectTimeout',
|
|
37
|
+
httpProxy: 'httpProxy',
|
|
38
|
+
httpsProxy: 'httpsProxy',
|
|
39
|
+
endpoint: 'endpoint',
|
|
40
|
+
noProxy: 'noProxy',
|
|
41
|
+
maxIdleConns: 'maxIdleConns',
|
|
42
|
+
userAgent: 'userAgent',
|
|
43
|
+
socks5Proxy: 'socks5Proxy',
|
|
44
|
+
socks5NetWork: 'socks5NetWork',
|
|
45
|
+
maxIdleTimeMillis: 'maxIdleTimeMillis',
|
|
46
|
+
keepAliveDurationMillis: 'keepAliveDurationMillis',
|
|
47
|
+
maxRequests: 'maxRequests',
|
|
48
|
+
maxRequestsPerHost: 'maxRequestsPerHost',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
static types(): { [key: string]: any } {
|
|
53
|
+
return {
|
|
54
|
+
accessKeyId: 'string',
|
|
55
|
+
accessKeySecret: 'string',
|
|
56
|
+
securityToken: 'string',
|
|
57
|
+
protocol: 'string',
|
|
58
|
+
readTimeout: 'number',
|
|
59
|
+
connectTimeout: 'number',
|
|
60
|
+
httpProxy: 'string',
|
|
61
|
+
httpsProxy: 'string',
|
|
62
|
+
endpoint: 'string',
|
|
63
|
+
noProxy: 'string',
|
|
64
|
+
maxIdleConns: 'number',
|
|
65
|
+
userAgent: 'string',
|
|
66
|
+
socks5Proxy: 'string',
|
|
67
|
+
socks5NetWork: 'string',
|
|
68
|
+
maxIdleTimeMillis: 'number',
|
|
69
|
+
keepAliveDurationMillis: 'number',
|
|
70
|
+
maxRequests: 'number',
|
|
71
|
+
maxRequestsPerHost: 'number',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
constructor(map?: { [key: string]: any }) {
|
|
76
|
+
super(map);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export class QueryInquiryRequest extends $tea.Model {
|
|
81
|
+
// OAuth模式下的授权token
|
|
82
|
+
authToken?: string;
|
|
83
|
+
// 询价id
|
|
84
|
+
inquiryNoInner: string;
|
|
85
|
+
static names(): { [key: string]: string } {
|
|
86
|
+
return {
|
|
87
|
+
authToken: 'auth_token',
|
|
88
|
+
inquiryNoInner: 'inquiry_no_inner',
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
static types(): { [key: string]: any } {
|
|
93
|
+
return {
|
|
94
|
+
authToken: 'string',
|
|
95
|
+
inquiryNoInner: 'string',
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
constructor(map?: { [key: string]: any }) {
|
|
100
|
+
super(map);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export class QueryInquiryResponse extends $tea.Model {
|
|
105
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
106
|
+
reqMsgId?: string;
|
|
107
|
+
// 结果码,一般OK表示调用成功
|
|
108
|
+
resultCode?: string;
|
|
109
|
+
// 异常信息的文本描述
|
|
110
|
+
resultMsg?: string;
|
|
111
|
+
// 报价内容
|
|
112
|
+
bizResult?: string;
|
|
113
|
+
static names(): { [key: string]: string } {
|
|
114
|
+
return {
|
|
115
|
+
reqMsgId: 'req_msg_id',
|
|
116
|
+
resultCode: 'result_code',
|
|
117
|
+
resultMsg: 'result_msg',
|
|
118
|
+
bizResult: 'biz_result',
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
static types(): { [key: string]: any } {
|
|
123
|
+
return {
|
|
124
|
+
reqMsgId: 'string',
|
|
125
|
+
resultCode: 'string',
|
|
126
|
+
resultMsg: 'string',
|
|
127
|
+
bizResult: 'string',
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
constructor(map?: { [key: string]: any }) {
|
|
132
|
+
super(map);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export class SubmitInquiryRequest extends $tea.Model {
|
|
137
|
+
// OAuth模式下的授权token
|
|
138
|
+
authToken?: string;
|
|
139
|
+
// inquiryNo
|
|
140
|
+
inquiryNo: string;
|
|
141
|
+
// 询价平台
|
|
142
|
+
inquirePlatform: string;
|
|
143
|
+
// 单次保额
|
|
144
|
+
singleInsuranceAmount: string;
|
|
145
|
+
// 总保额
|
|
146
|
+
totalInsuranceAmount: string;
|
|
147
|
+
// 询价基础材料列表
|
|
148
|
+
materialList?: string;
|
|
149
|
+
// 询价标的列表
|
|
150
|
+
objectList?: string;
|
|
151
|
+
// 保司编号
|
|
152
|
+
insuranceCompanyNo: string;
|
|
153
|
+
// 保险产品编码
|
|
154
|
+
trustworthyValueInsuranceTypeCode: string;
|
|
155
|
+
// 保司项目代码
|
|
156
|
+
insuranceProjectCode: string;
|
|
157
|
+
// 保司方案代码
|
|
158
|
+
insuranceOptionsCode: string;
|
|
159
|
+
// 询价人(名称、证件号、证件类型)
|
|
160
|
+
inquirer: string;
|
|
161
|
+
// 投保人(可空)
|
|
162
|
+
applicant?: string;
|
|
163
|
+
// 被保人列表(可空)
|
|
164
|
+
insuredList?: string;
|
|
165
|
+
static names(): { [key: string]: string } {
|
|
166
|
+
return {
|
|
167
|
+
authToken: 'auth_token',
|
|
168
|
+
inquiryNo: 'inquiry_no',
|
|
169
|
+
inquirePlatform: 'inquire_platform',
|
|
170
|
+
singleInsuranceAmount: 'single_insurance_amount',
|
|
171
|
+
totalInsuranceAmount: 'total_insurance_amount',
|
|
172
|
+
materialList: 'material_list',
|
|
173
|
+
objectList: 'object_list',
|
|
174
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
175
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
176
|
+
insuranceProjectCode: 'insurance_project_code',
|
|
177
|
+
insuranceOptionsCode: 'insurance_options_code',
|
|
178
|
+
inquirer: 'inquirer',
|
|
179
|
+
applicant: 'applicant',
|
|
180
|
+
insuredList: 'insured_list',
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
static types(): { [key: string]: any } {
|
|
185
|
+
return {
|
|
186
|
+
authToken: 'string',
|
|
187
|
+
inquiryNo: 'string',
|
|
188
|
+
inquirePlatform: 'string',
|
|
189
|
+
singleInsuranceAmount: 'string',
|
|
190
|
+
totalInsuranceAmount: 'string',
|
|
191
|
+
materialList: 'string',
|
|
192
|
+
objectList: 'string',
|
|
193
|
+
insuranceCompanyNo: 'string',
|
|
194
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
195
|
+
insuranceProjectCode: 'string',
|
|
196
|
+
insuranceOptionsCode: 'string',
|
|
197
|
+
inquirer: 'string',
|
|
198
|
+
applicant: 'string',
|
|
199
|
+
insuredList: 'string',
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
constructor(map?: { [key: string]: any }) {
|
|
204
|
+
super(map);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export class SubmitInquiryResponse extends $tea.Model {
|
|
209
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
210
|
+
reqMsgId?: string;
|
|
211
|
+
// 结果码,一般OK表示调用成功
|
|
212
|
+
resultCode?: string;
|
|
213
|
+
// 异常信息的文本描述
|
|
214
|
+
resultMsg?: string;
|
|
215
|
+
// 报价内容
|
|
216
|
+
bizResult?: string;
|
|
217
|
+
static names(): { [key: string]: string } {
|
|
218
|
+
return {
|
|
219
|
+
reqMsgId: 'req_msg_id',
|
|
220
|
+
resultCode: 'result_code',
|
|
221
|
+
resultMsg: 'result_msg',
|
|
222
|
+
bizResult: 'biz_result',
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
static types(): { [key: string]: any } {
|
|
227
|
+
return {
|
|
228
|
+
reqMsgId: 'string',
|
|
229
|
+
resultCode: 'string',
|
|
230
|
+
resultMsg: 'string',
|
|
231
|
+
bizResult: 'string',
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
constructor(map?: { [key: string]: any }) {
|
|
236
|
+
super(map);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export class QueryDataDisasterRequest extends $tea.Model {
|
|
241
|
+
// OAuth模式下的授权token
|
|
242
|
+
authToken?: string;
|
|
243
|
+
// 行政区域代码
|
|
244
|
+
areaCode: string;
|
|
245
|
+
// 灾害类型:df:⼤⻛,by:暴⾬,xz:雪灾
|
|
246
|
+
disasterType: string;
|
|
247
|
+
// 查询起始日期
|
|
248
|
+
startDate: string;
|
|
249
|
+
// 查询截止日期
|
|
250
|
+
endDate: string;
|
|
251
|
+
static names(): { [key: string]: string } {
|
|
252
|
+
return {
|
|
253
|
+
authToken: 'auth_token',
|
|
254
|
+
areaCode: 'area_code',
|
|
255
|
+
disasterType: 'disaster_type',
|
|
256
|
+
startDate: 'start_date',
|
|
257
|
+
endDate: 'end_date',
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
static types(): { [key: string]: any } {
|
|
262
|
+
return {
|
|
263
|
+
authToken: 'string',
|
|
264
|
+
areaCode: 'string',
|
|
265
|
+
disasterType: 'string',
|
|
266
|
+
startDate: 'string',
|
|
267
|
+
endDate: 'string',
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
constructor(map?: { [key: string]: any }) {
|
|
272
|
+
super(map);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export class QueryDataDisasterResponse extends $tea.Model {
|
|
277
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
278
|
+
reqMsgId?: string;
|
|
279
|
+
// 结果码,一般OK表示调用成功
|
|
280
|
+
resultCode?: string;
|
|
281
|
+
// 异常信息的文本描述
|
|
282
|
+
resultMsg?: string;
|
|
283
|
+
// 历史灾害内容
|
|
284
|
+
bizResult?: string;
|
|
285
|
+
static names(): { [key: string]: string } {
|
|
286
|
+
return {
|
|
287
|
+
reqMsgId: 'req_msg_id',
|
|
288
|
+
resultCode: 'result_code',
|
|
289
|
+
resultMsg: 'result_msg',
|
|
290
|
+
bizResult: 'biz_result',
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
static types(): { [key: string]: any } {
|
|
295
|
+
return {
|
|
296
|
+
reqMsgId: 'string',
|
|
297
|
+
resultCode: 'string',
|
|
298
|
+
resultMsg: 'string',
|
|
299
|
+
bizResult: 'string',
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
constructor(map?: { [key: string]: any }) {
|
|
304
|
+
super(map);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export class QueryDataWeatherRequest extends $tea.Model {
|
|
309
|
+
// OAuth模式下的授权token
|
|
310
|
+
authToken?: string;
|
|
311
|
+
// 行政区域代码
|
|
312
|
+
areaCode?: string;
|
|
313
|
+
static names(): { [key: string]: string } {
|
|
314
|
+
return {
|
|
315
|
+
authToken: 'auth_token',
|
|
316
|
+
areaCode: 'area_code',
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
static types(): { [key: string]: any } {
|
|
321
|
+
return {
|
|
322
|
+
authToken: 'string',
|
|
323
|
+
areaCode: 'string',
|
|
324
|
+
};
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
constructor(map?: { [key: string]: any }) {
|
|
328
|
+
super(map);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export class QueryDataWeatherResponse extends $tea.Model {
|
|
333
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
334
|
+
reqMsgId?: string;
|
|
335
|
+
// 结果码,一般OK表示调用成功
|
|
336
|
+
resultCode?: string;
|
|
337
|
+
// 异常信息的文本描述
|
|
338
|
+
resultMsg?: string;
|
|
339
|
+
// 实时气象内容
|
|
340
|
+
bizResult?: string;
|
|
341
|
+
static names(): { [key: string]: string } {
|
|
342
|
+
return {
|
|
343
|
+
reqMsgId: 'req_msg_id',
|
|
344
|
+
resultCode: 'result_code',
|
|
345
|
+
resultMsg: 'result_msg',
|
|
346
|
+
bizResult: 'biz_result',
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
static types(): { [key: string]: any } {
|
|
351
|
+
return {
|
|
352
|
+
reqMsgId: 'string',
|
|
353
|
+
resultCode: 'string',
|
|
354
|
+
resultMsg: 'string',
|
|
355
|
+
bizResult: 'string',
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
constructor(map?: { [key: string]: any }) {
|
|
360
|
+
super(map);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export class SyncQuoteRequest extends $tea.Model {
|
|
365
|
+
// OAuth模式下的授权token
|
|
366
|
+
authToken?: string;
|
|
367
|
+
// 询价申请号
|
|
368
|
+
inquiryNo?: string;
|
|
369
|
+
// 询价平台
|
|
370
|
+
inquirePlatform?: string;
|
|
371
|
+
// 单次保额
|
|
372
|
+
singleInsuranceAmount: string;
|
|
373
|
+
// 总保额
|
|
374
|
+
totalInsuranceAmount: string;
|
|
375
|
+
// 询价基础材料
|
|
376
|
+
materialList?: string;
|
|
377
|
+
// 标的材料列表
|
|
378
|
+
objectList?: string;
|
|
379
|
+
// 保司编号
|
|
380
|
+
insuranceCompanyNo: string;
|
|
381
|
+
// 保险产品编码
|
|
382
|
+
trustworthyValueInsuranceTypeCode: string;
|
|
383
|
+
// 保司项目代码
|
|
384
|
+
insuranceProjectCode: string;
|
|
385
|
+
// 保司方案代码
|
|
386
|
+
insuranceOptionsCode: string;
|
|
387
|
+
// 询价人
|
|
388
|
+
inquirer?: string;
|
|
389
|
+
// 投保人
|
|
390
|
+
applicant?: string;
|
|
391
|
+
// 被保人列表
|
|
392
|
+
insuredList?: string;
|
|
393
|
+
// 报价结果
|
|
394
|
+
quotation?: string;
|
|
395
|
+
static names(): { [key: string]: string } {
|
|
396
|
+
return {
|
|
397
|
+
authToken: 'auth_token',
|
|
398
|
+
inquiryNo: 'inquiry_no',
|
|
399
|
+
inquirePlatform: 'inquire_platform',
|
|
400
|
+
singleInsuranceAmount: 'single_insurance_amount',
|
|
401
|
+
totalInsuranceAmount: 'total_insurance_amount',
|
|
402
|
+
materialList: 'material_list',
|
|
403
|
+
objectList: 'object_list',
|
|
404
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
405
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
406
|
+
insuranceProjectCode: 'insurance_project_code',
|
|
407
|
+
insuranceOptionsCode: 'insurance_options_code',
|
|
408
|
+
inquirer: 'inquirer',
|
|
409
|
+
applicant: 'applicant',
|
|
410
|
+
insuredList: 'insured_list',
|
|
411
|
+
quotation: 'quotation',
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
static types(): { [key: string]: any } {
|
|
416
|
+
return {
|
|
417
|
+
authToken: 'string',
|
|
418
|
+
inquiryNo: 'string',
|
|
419
|
+
inquirePlatform: 'string',
|
|
420
|
+
singleInsuranceAmount: 'string',
|
|
421
|
+
totalInsuranceAmount: 'string',
|
|
422
|
+
materialList: 'string',
|
|
423
|
+
objectList: 'string',
|
|
424
|
+
insuranceCompanyNo: 'string',
|
|
425
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
426
|
+
insuranceProjectCode: 'string',
|
|
427
|
+
insuranceOptionsCode: 'string',
|
|
428
|
+
inquirer: 'string',
|
|
429
|
+
applicant: 'string',
|
|
430
|
+
insuredList: 'string',
|
|
431
|
+
quotation: 'string',
|
|
432
|
+
};
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
constructor(map?: { [key: string]: any }) {
|
|
436
|
+
super(map);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export class SyncQuoteResponse extends $tea.Model {
|
|
441
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
442
|
+
reqMsgId?: string;
|
|
443
|
+
// 结果码,一般OK表示调用成功
|
|
444
|
+
resultCode?: string;
|
|
445
|
+
// 异常信息的文本描述
|
|
446
|
+
resultMsg?: string;
|
|
447
|
+
// 业务返回值
|
|
448
|
+
bizResult?: string;
|
|
449
|
+
static names(): { [key: string]: string } {
|
|
450
|
+
return {
|
|
451
|
+
reqMsgId: 'req_msg_id',
|
|
452
|
+
resultCode: 'result_code',
|
|
453
|
+
resultMsg: 'result_msg',
|
|
454
|
+
bizResult: 'biz_result',
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
static types(): { [key: string]: any } {
|
|
459
|
+
return {
|
|
460
|
+
reqMsgId: 'string',
|
|
461
|
+
resultCode: 'string',
|
|
462
|
+
resultMsg: 'string',
|
|
463
|
+
bizResult: 'string',
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
constructor(map?: { [key: string]: any }) {
|
|
468
|
+
super(map);
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export class ApplyUnderwritingRequest extends $tea.Model {
|
|
473
|
+
// OAuth模式下的授权token
|
|
474
|
+
authToken?: string;
|
|
475
|
+
// 报价单编号(蚂蚁内部)
|
|
476
|
+
quotationNoInner?: string;
|
|
477
|
+
// 承保申请号(保司)
|
|
478
|
+
insuranceApplicationNo: string;
|
|
479
|
+
// 保司编码
|
|
480
|
+
insuranceCompanyNo: string;
|
|
481
|
+
// 保险产品编码
|
|
482
|
+
trustworthyValueInsuranceTypeCode: string;
|
|
483
|
+
// 保司项目代码
|
|
484
|
+
insuranceProjectCode: string;
|
|
485
|
+
// 保司方案代码
|
|
486
|
+
insuranceOptionsCode: string;
|
|
487
|
+
// 投保人信息(名称、证件号、证件类型)
|
|
488
|
+
applicant: string;
|
|
489
|
+
// 被保人列表(可空)
|
|
490
|
+
insuredList?: string;
|
|
491
|
+
// 受益人列表(可空)
|
|
492
|
+
beneficiaryList?: string;
|
|
493
|
+
// 投保标的列表
|
|
494
|
+
objectList?: string;
|
|
495
|
+
// 保险起期 yyyy-MM-dd HH:mm:ss
|
|
496
|
+
insurancePeriodStart: string;
|
|
497
|
+
// 保险止期 yyyy-MM-dd HH:mm:ss
|
|
498
|
+
insurancePeriodEnd?: string;
|
|
499
|
+
// 保期(天)
|
|
500
|
+
insurancePeriod: number;
|
|
501
|
+
// 申请保额, {
|
|
502
|
+
// "cent": 20000,
|
|
503
|
+
// "currency": "CNY"
|
|
504
|
+
// }
|
|
505
|
+
appliedInsuranceAmount: string;
|
|
506
|
+
// 保费
|
|
507
|
+
appliedPremium: string;
|
|
508
|
+
// 保费费率
|
|
509
|
+
premiumRate: string;
|
|
510
|
+
// 承保申请的报价相关内容
|
|
511
|
+
quotation?: string;
|
|
512
|
+
static names(): { [key: string]: string } {
|
|
513
|
+
return {
|
|
514
|
+
authToken: 'auth_token',
|
|
515
|
+
quotationNoInner: 'quotation_no_inner',
|
|
516
|
+
insuranceApplicationNo: 'insurance_application_no',
|
|
517
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
518
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
519
|
+
insuranceProjectCode: 'insurance_project_code',
|
|
520
|
+
insuranceOptionsCode: 'insurance_options_code',
|
|
521
|
+
applicant: 'applicant',
|
|
522
|
+
insuredList: 'insured_list',
|
|
523
|
+
beneficiaryList: 'beneficiary_list',
|
|
524
|
+
objectList: 'object_list',
|
|
525
|
+
insurancePeriodStart: 'insurance_period_start',
|
|
526
|
+
insurancePeriodEnd: 'insurance_period_end',
|
|
527
|
+
insurancePeriod: 'insurance_period',
|
|
528
|
+
appliedInsuranceAmount: 'applied_insurance_amount',
|
|
529
|
+
appliedPremium: 'applied_premium',
|
|
530
|
+
premiumRate: 'premium_rate',
|
|
531
|
+
quotation: 'quotation',
|
|
532
|
+
};
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
static types(): { [key: string]: any } {
|
|
536
|
+
return {
|
|
537
|
+
authToken: 'string',
|
|
538
|
+
quotationNoInner: 'string',
|
|
539
|
+
insuranceApplicationNo: 'string',
|
|
540
|
+
insuranceCompanyNo: 'string',
|
|
541
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
542
|
+
insuranceProjectCode: 'string',
|
|
543
|
+
insuranceOptionsCode: 'string',
|
|
544
|
+
applicant: 'string',
|
|
545
|
+
insuredList: 'string',
|
|
546
|
+
beneficiaryList: 'string',
|
|
547
|
+
objectList: 'string',
|
|
548
|
+
insurancePeriodStart: 'string',
|
|
549
|
+
insurancePeriodEnd: 'string',
|
|
550
|
+
insurancePeriod: 'number',
|
|
551
|
+
appliedInsuranceAmount: 'string',
|
|
552
|
+
appliedPremium: 'string',
|
|
553
|
+
premiumRate: 'string',
|
|
554
|
+
quotation: 'string',
|
|
555
|
+
};
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
constructor(map?: { [key: string]: any }) {
|
|
559
|
+
super(map);
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export class ApplyUnderwritingResponse extends $tea.Model {
|
|
564
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
565
|
+
reqMsgId?: string;
|
|
566
|
+
// 结果码,一般OK表示调用成功
|
|
567
|
+
resultCode?: string;
|
|
568
|
+
// 异常信息的文本描述
|
|
569
|
+
resultMsg?: string;
|
|
570
|
+
// 承保申请结果
|
|
571
|
+
bizResult?: string;
|
|
572
|
+
static names(): { [key: string]: string } {
|
|
573
|
+
return {
|
|
574
|
+
reqMsgId: 'req_msg_id',
|
|
575
|
+
resultCode: 'result_code',
|
|
576
|
+
resultMsg: 'result_msg',
|
|
577
|
+
bizResult: 'biz_result',
|
|
578
|
+
};
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
static types(): { [key: string]: any } {
|
|
582
|
+
return {
|
|
583
|
+
reqMsgId: 'string',
|
|
584
|
+
resultCode: 'string',
|
|
585
|
+
resultMsg: 'string',
|
|
586
|
+
bizResult: 'string',
|
|
587
|
+
};
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
constructor(map?: { [key: string]: any }) {
|
|
591
|
+
super(map);
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
export class QueryUnderwritingRequest extends $tea.Model {
|
|
596
|
+
// OAuth模式下的授权token
|
|
597
|
+
authToken?: string;
|
|
598
|
+
// 承保申请号(蚂蚁内部)
|
|
599
|
+
insuranceApplicationNoInner: string;
|
|
600
|
+
static names(): { [key: string]: string } {
|
|
601
|
+
return {
|
|
602
|
+
authToken: 'auth_token',
|
|
603
|
+
insuranceApplicationNoInner: 'insurance_application_no_inner',
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
static types(): { [key: string]: any } {
|
|
608
|
+
return {
|
|
609
|
+
authToken: 'string',
|
|
610
|
+
insuranceApplicationNoInner: 'string',
|
|
611
|
+
};
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
constructor(map?: { [key: string]: any }) {
|
|
615
|
+
super(map);
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
export class QueryUnderwritingResponse extends $tea.Model {
|
|
620
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
621
|
+
reqMsgId?: string;
|
|
622
|
+
// 结果码,一般OK表示调用成功
|
|
623
|
+
resultCode?: string;
|
|
624
|
+
// 异常信息的文本描述
|
|
625
|
+
resultMsg?: string;
|
|
626
|
+
// 承保申请结果
|
|
627
|
+
bizResult?: string;
|
|
628
|
+
static names(): { [key: string]: string } {
|
|
629
|
+
return {
|
|
630
|
+
reqMsgId: 'req_msg_id',
|
|
631
|
+
resultCode: 'result_code',
|
|
632
|
+
resultMsg: 'result_msg',
|
|
633
|
+
bizResult: 'biz_result',
|
|
634
|
+
};
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
static types(): { [key: string]: any } {
|
|
638
|
+
return {
|
|
639
|
+
reqMsgId: 'string',
|
|
640
|
+
resultCode: 'string',
|
|
641
|
+
resultMsg: 'string',
|
|
642
|
+
bizResult: 'string',
|
|
643
|
+
};
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
constructor(map?: { [key: string]: any }) {
|
|
647
|
+
super(map);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export class QueryPolicyFileRequest extends $tea.Model {
|
|
652
|
+
// OAuth模式下的授权token
|
|
653
|
+
authToken?: string;
|
|
654
|
+
// 蚂蚁侧保单唯一ID
|
|
655
|
+
insurancePolicyNoInner: string;
|
|
656
|
+
static names(): { [key: string]: string } {
|
|
657
|
+
return {
|
|
658
|
+
authToken: 'auth_token',
|
|
659
|
+
insurancePolicyNoInner: 'insurance_policy_no_inner',
|
|
660
|
+
};
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
static types(): { [key: string]: any } {
|
|
664
|
+
return {
|
|
665
|
+
authToken: 'string',
|
|
666
|
+
insurancePolicyNoInner: 'string',
|
|
667
|
+
};
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
constructor(map?: { [key: string]: any }) {
|
|
671
|
+
super(map);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
export class QueryPolicyFileResponse extends $tea.Model {
|
|
676
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
677
|
+
reqMsgId?: string;
|
|
678
|
+
// 结果码,一般OK表示调用成功
|
|
679
|
+
resultCode?: string;
|
|
680
|
+
// 异常信息的文本描述
|
|
681
|
+
resultMsg?: string;
|
|
682
|
+
// 查询的保单信息
|
|
683
|
+
ossUrl?: string;
|
|
684
|
+
static names(): { [key: string]: string } {
|
|
685
|
+
return {
|
|
686
|
+
reqMsgId: 'req_msg_id',
|
|
687
|
+
resultCode: 'result_code',
|
|
688
|
+
resultMsg: 'result_msg',
|
|
689
|
+
ossUrl: 'oss_url',
|
|
690
|
+
};
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
static types(): { [key: string]: any } {
|
|
694
|
+
return {
|
|
695
|
+
reqMsgId: 'string',
|
|
696
|
+
resultCode: 'string',
|
|
697
|
+
resultMsg: 'string',
|
|
698
|
+
ossUrl: 'string',
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
constructor(map?: { [key: string]: any }) {
|
|
703
|
+
super(map);
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
export class ApplyInsureRequest extends $tea.Model {
|
|
708
|
+
// OAuth模式下的授权token
|
|
709
|
+
authToken?: string;
|
|
710
|
+
// 投保申请号-外部,业务侧需保证唯一
|
|
711
|
+
insuranceApplicationNo: string;
|
|
712
|
+
// 保司编码
|
|
713
|
+
insuranceCompanyNo: string;
|
|
714
|
+
// 保险产品编码
|
|
715
|
+
trustworthyValueInsuranceTypeCode: string;
|
|
716
|
+
// 保司项目代码
|
|
717
|
+
insuranceProjectCode: string;
|
|
718
|
+
// 保司方案代码
|
|
719
|
+
insuranceOptionsCode: string;
|
|
720
|
+
// 投保人信息(名称-memberName、证件号-certNo、证件类型-certType、手机号-memberMobileNo)
|
|
721
|
+
applicant: string;
|
|
722
|
+
// 被保人列表(可空),json格式参见投保人信息
|
|
723
|
+
insuredList?: string;
|
|
724
|
+
// 受益人列表(可空)
|
|
725
|
+
beneficiaryList?: string;
|
|
726
|
+
// 保险起期
|
|
727
|
+
insurancePeriodStart: string;
|
|
728
|
+
// 保险止期
|
|
729
|
+
insurancePeriodEnd?: string;
|
|
730
|
+
// 申请保额,支持多币种, { "cent": 10000, "currency": "CNY" }
|
|
731
|
+
appliedInsuranceAmount: string;
|
|
732
|
+
// 保期,单位:天
|
|
733
|
+
insurancePeriod?: number;
|
|
734
|
+
// 投保标的List,动态字段,根据险种所配置的标的传值
|
|
735
|
+
insuredObjectList?: string;
|
|
736
|
+
static names(): { [key: string]: string } {
|
|
737
|
+
return {
|
|
738
|
+
authToken: 'auth_token',
|
|
739
|
+
insuranceApplicationNo: 'insurance_application_no',
|
|
740
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
741
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
742
|
+
insuranceProjectCode: 'insurance_project_code',
|
|
743
|
+
insuranceOptionsCode: 'insurance_options_code',
|
|
744
|
+
applicant: 'applicant',
|
|
745
|
+
insuredList: 'insured_list',
|
|
746
|
+
beneficiaryList: 'beneficiary_list',
|
|
747
|
+
insurancePeriodStart: 'insurance_period_start',
|
|
748
|
+
insurancePeriodEnd: 'insurance_period_end',
|
|
749
|
+
appliedInsuranceAmount: 'applied_insurance_amount',
|
|
750
|
+
insurancePeriod: 'insurance_period',
|
|
751
|
+
insuredObjectList: 'insured_object_list',
|
|
752
|
+
};
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
static types(): { [key: string]: any } {
|
|
756
|
+
return {
|
|
757
|
+
authToken: 'string',
|
|
758
|
+
insuranceApplicationNo: 'string',
|
|
759
|
+
insuranceCompanyNo: 'string',
|
|
760
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
761
|
+
insuranceProjectCode: 'string',
|
|
762
|
+
insuranceOptionsCode: 'string',
|
|
763
|
+
applicant: 'string',
|
|
764
|
+
insuredList: 'string',
|
|
765
|
+
beneficiaryList: 'string',
|
|
766
|
+
insurancePeriodStart: 'string',
|
|
767
|
+
insurancePeriodEnd: 'string',
|
|
768
|
+
appliedInsuranceAmount: 'string',
|
|
769
|
+
insurancePeriod: 'number',
|
|
770
|
+
insuredObjectList: 'string',
|
|
771
|
+
};
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
constructor(map?: { [key: string]: any }) {
|
|
775
|
+
super(map);
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
export class ApplyInsureResponse extends $tea.Model {
|
|
780
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
781
|
+
reqMsgId?: string;
|
|
782
|
+
// 结果码,一般OK表示调用成功
|
|
783
|
+
resultCode?: string;
|
|
784
|
+
// 异常信息的文本描述
|
|
785
|
+
resultMsg?: string;
|
|
786
|
+
// 投保申请结果,不同险种可能返回不同,具体参见相关文档
|
|
787
|
+
bizResult?: string;
|
|
788
|
+
static names(): { [key: string]: string } {
|
|
789
|
+
return {
|
|
790
|
+
reqMsgId: 'req_msg_id',
|
|
791
|
+
resultCode: 'result_code',
|
|
792
|
+
resultMsg: 'result_msg',
|
|
793
|
+
bizResult: 'biz_result',
|
|
794
|
+
};
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
static types(): { [key: string]: any } {
|
|
798
|
+
return {
|
|
799
|
+
reqMsgId: 'string',
|
|
800
|
+
resultCode: 'string',
|
|
801
|
+
resultMsg: 'string',
|
|
802
|
+
bizResult: 'string',
|
|
803
|
+
};
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
constructor(map?: { [key: string]: any }) {
|
|
807
|
+
super(map);
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
export class NotifyPolicyResultRequest extends $tea.Model {
|
|
812
|
+
// OAuth模式下的授权token
|
|
813
|
+
authToken?: string;
|
|
814
|
+
// 蚂蚁承保申请号
|
|
815
|
+
insuranceApplicationNoInner: string;
|
|
816
|
+
// 保单号
|
|
817
|
+
policyNo: string;
|
|
818
|
+
// 保额,JSON格式
|
|
819
|
+
insuranceAmount: string;
|
|
820
|
+
// 保费,json格式
|
|
821
|
+
insurancePremium: string;
|
|
822
|
+
// 保险起期 yyyy-MM-dd HH:mm:ss
|
|
823
|
+
insurancePeriodStart: string;
|
|
824
|
+
// 保险止期 yyyy-MM-dd HH:mm:ss
|
|
825
|
+
insurancePeriodEnd: string;
|
|
826
|
+
// 电子保单URL
|
|
827
|
+
policyUrl?: string;
|
|
828
|
+
static names(): { [key: string]: string } {
|
|
829
|
+
return {
|
|
830
|
+
authToken: 'auth_token',
|
|
831
|
+
insuranceApplicationNoInner: 'insurance_application_no_inner',
|
|
832
|
+
policyNo: 'policy_no',
|
|
833
|
+
insuranceAmount: 'insurance_amount',
|
|
834
|
+
insurancePremium: 'insurance_premium',
|
|
835
|
+
insurancePeriodStart: 'insurance_period_start',
|
|
836
|
+
insurancePeriodEnd: 'insurance_period_end',
|
|
837
|
+
policyUrl: 'policy_url',
|
|
838
|
+
};
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
static types(): { [key: string]: any } {
|
|
842
|
+
return {
|
|
843
|
+
authToken: 'string',
|
|
844
|
+
insuranceApplicationNoInner: 'string',
|
|
845
|
+
policyNo: 'string',
|
|
846
|
+
insuranceAmount: 'string',
|
|
847
|
+
insurancePremium: 'string',
|
|
848
|
+
insurancePeriodStart: 'string',
|
|
849
|
+
insurancePeriodEnd: 'string',
|
|
850
|
+
policyUrl: 'string',
|
|
851
|
+
};
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
constructor(map?: { [key: string]: any }) {
|
|
855
|
+
super(map);
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
export class NotifyPolicyResultResponse extends $tea.Model {
|
|
860
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
861
|
+
reqMsgId?: string;
|
|
862
|
+
// 结果码,一般OK表示调用成功
|
|
863
|
+
resultCode?: string;
|
|
864
|
+
// 异常信息的文本描述
|
|
865
|
+
resultMsg?: string;
|
|
866
|
+
// 保单同步结果
|
|
867
|
+
bizResult?: string;
|
|
868
|
+
static names(): { [key: string]: string } {
|
|
869
|
+
return {
|
|
870
|
+
reqMsgId: 'req_msg_id',
|
|
871
|
+
resultCode: 'result_code',
|
|
872
|
+
resultMsg: 'result_msg',
|
|
873
|
+
bizResult: 'biz_result',
|
|
874
|
+
};
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
static types(): { [key: string]: any } {
|
|
878
|
+
return {
|
|
879
|
+
reqMsgId: 'string',
|
|
880
|
+
resultCode: 'string',
|
|
881
|
+
resultMsg: 'string',
|
|
882
|
+
bizResult: 'string',
|
|
883
|
+
};
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
constructor(map?: { [key: string]: any }) {
|
|
887
|
+
super(map);
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
export class ApplyClaimRequest extends $tea.Model {
|
|
892
|
+
// OAuth模式下的授权token
|
|
893
|
+
authToken?: string;
|
|
894
|
+
// 报案单号
|
|
895
|
+
claimNotificationFormNo: string;
|
|
896
|
+
// 保单号
|
|
897
|
+
insurancePolicyNo: string;
|
|
898
|
+
// 保司编号
|
|
899
|
+
insuranceCompanyNo: string;
|
|
900
|
+
// 保险产品代码
|
|
901
|
+
trustworthyValueInsuranceTypeCode?: string;
|
|
902
|
+
// 保司项目代码
|
|
903
|
+
insuranceOptionsCode?: string;
|
|
904
|
+
// 保司项目代码
|
|
905
|
+
insuranceProjectCode?: string;
|
|
906
|
+
// 出险时间
|
|
907
|
+
lossOccurredTime: string;
|
|
908
|
+
// 出险原因
|
|
909
|
+
lossOccurredReason: string;
|
|
910
|
+
// 出险地点
|
|
911
|
+
lossOccurredAddress: string;
|
|
912
|
+
// 出险标的列表
|
|
913
|
+
objectList?: string;
|
|
914
|
+
// 报案金额
|
|
915
|
+
claimNotificationAmountLocalCurrency: string;
|
|
916
|
+
// 报案人
|
|
917
|
+
reporter: string;
|
|
918
|
+
// 报案材料列表
|
|
919
|
+
materialList?: string;
|
|
920
|
+
static names(): { [key: string]: string } {
|
|
921
|
+
return {
|
|
922
|
+
authToken: 'auth_token',
|
|
923
|
+
claimNotificationFormNo: 'claim_notification_form_no',
|
|
924
|
+
insurancePolicyNo: 'insurance_policy_no',
|
|
925
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
926
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
927
|
+
insuranceOptionsCode: 'insurance_options_code',
|
|
928
|
+
insuranceProjectCode: 'insurance_project_code',
|
|
929
|
+
lossOccurredTime: 'loss_occurred_time',
|
|
930
|
+
lossOccurredReason: 'loss_occurred_reason',
|
|
931
|
+
lossOccurredAddress: 'loss_occurred_address',
|
|
932
|
+
objectList: 'object_list',
|
|
933
|
+
claimNotificationAmountLocalCurrency: 'claim_notification_amount_local_currency',
|
|
934
|
+
reporter: 'reporter',
|
|
935
|
+
materialList: 'material_list',
|
|
936
|
+
};
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
static types(): { [key: string]: any } {
|
|
940
|
+
return {
|
|
941
|
+
authToken: 'string',
|
|
942
|
+
claimNotificationFormNo: 'string',
|
|
943
|
+
insurancePolicyNo: 'string',
|
|
944
|
+
insuranceCompanyNo: 'string',
|
|
945
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
946
|
+
insuranceOptionsCode: 'string',
|
|
947
|
+
insuranceProjectCode: 'string',
|
|
948
|
+
lossOccurredTime: 'string',
|
|
949
|
+
lossOccurredReason: 'string',
|
|
950
|
+
lossOccurredAddress: 'string',
|
|
951
|
+
objectList: 'string',
|
|
952
|
+
claimNotificationAmountLocalCurrency: 'string',
|
|
953
|
+
reporter: 'string',
|
|
954
|
+
materialList: 'string',
|
|
955
|
+
};
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
constructor(map?: { [key: string]: any }) {
|
|
959
|
+
super(map);
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
export class ApplyClaimResponse extends $tea.Model {
|
|
964
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
965
|
+
reqMsgId?: string;
|
|
966
|
+
// 结果码,一般OK表示调用成功
|
|
967
|
+
resultCode?: string;
|
|
968
|
+
// 异常信息的文本描述
|
|
969
|
+
resultMsg?: string;
|
|
970
|
+
// 报案响应
|
|
971
|
+
bizResult?: string;
|
|
972
|
+
static names(): { [key: string]: string } {
|
|
973
|
+
return {
|
|
974
|
+
reqMsgId: 'req_msg_id',
|
|
975
|
+
resultCode: 'result_code',
|
|
976
|
+
resultMsg: 'result_msg',
|
|
977
|
+
bizResult: 'biz_result',
|
|
978
|
+
};
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
static types(): { [key: string]: any } {
|
|
982
|
+
return {
|
|
983
|
+
reqMsgId: 'string',
|
|
984
|
+
resultCode: 'string',
|
|
985
|
+
resultMsg: 'string',
|
|
986
|
+
bizResult: 'string',
|
|
987
|
+
};
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
constructor(map?: { [key: string]: any }) {
|
|
991
|
+
super(map);
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
export class CancelClaimRequest extends $tea.Model {
|
|
996
|
+
// OAuth模式下的授权token
|
|
997
|
+
authToken?: string;
|
|
998
|
+
// 报案单编号(蚂蚁内部)
|
|
999
|
+
claimNotificationFormNoInner: string;
|
|
1000
|
+
// 报案撤销附加内容
|
|
1001
|
+
bizInfo?: string;
|
|
1002
|
+
static names(): { [key: string]: string } {
|
|
1003
|
+
return {
|
|
1004
|
+
authToken: 'auth_token',
|
|
1005
|
+
claimNotificationFormNoInner: 'claim_notification_form_no_inner',
|
|
1006
|
+
bizInfo: 'biz_info',
|
|
1007
|
+
};
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
static types(): { [key: string]: any } {
|
|
1011
|
+
return {
|
|
1012
|
+
authToken: 'string',
|
|
1013
|
+
claimNotificationFormNoInner: 'string',
|
|
1014
|
+
bizInfo: 'string',
|
|
1015
|
+
};
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
constructor(map?: { [key: string]: any }) {
|
|
1019
|
+
super(map);
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
export class CancelClaimResponse extends $tea.Model {
|
|
1024
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
1025
|
+
reqMsgId?: string;
|
|
1026
|
+
// 结果码,一般OK表示调用成功
|
|
1027
|
+
resultCode?: string;
|
|
1028
|
+
// 异常信息的文本描述
|
|
1029
|
+
resultMsg?: string;
|
|
1030
|
+
// biz_result
|
|
1031
|
+
bizResult?: string;
|
|
1032
|
+
static names(): { [key: string]: string } {
|
|
1033
|
+
return {
|
|
1034
|
+
reqMsgId: 'req_msg_id',
|
|
1035
|
+
resultCode: 'result_code',
|
|
1036
|
+
resultMsg: 'result_msg',
|
|
1037
|
+
bizResult: 'biz_result',
|
|
1038
|
+
};
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
static types(): { [key: string]: any } {
|
|
1042
|
+
return {
|
|
1043
|
+
reqMsgId: 'string',
|
|
1044
|
+
resultCode: 'string',
|
|
1045
|
+
resultMsg: 'string',
|
|
1046
|
+
bizResult: 'string',
|
|
1047
|
+
};
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
constructor(map?: { [key: string]: any }) {
|
|
1051
|
+
super(map);
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
export class UpdateClaimMaterialRequest extends $tea.Model {
|
|
1056
|
+
// OAuth模式下的授权token
|
|
1057
|
+
authToken?: string;
|
|
1058
|
+
// 报案单号(蚂蚁内部)
|
|
1059
|
+
claimNotificationFormNoInner: string;
|
|
1060
|
+
// 报案号(保司)
|
|
1061
|
+
claimNotificationNo: string;
|
|
1062
|
+
// 报案材料列表
|
|
1063
|
+
materialList: string;
|
|
1064
|
+
// 不传值,默认(1-已完毕)
|
|
1065
|
+
// 0:未完毕
|
|
1066
|
+
// 1:已完毕
|
|
1067
|
+
isFinished?: string;
|
|
1068
|
+
static names(): { [key: string]: string } {
|
|
1069
|
+
return {
|
|
1070
|
+
authToken: 'auth_token',
|
|
1071
|
+
claimNotificationFormNoInner: 'claim_notification_form_no_inner',
|
|
1072
|
+
claimNotificationNo: 'claim_notification_no',
|
|
1073
|
+
materialList: 'material_list',
|
|
1074
|
+
isFinished: 'is_finished',
|
|
1075
|
+
};
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
static types(): { [key: string]: any } {
|
|
1079
|
+
return {
|
|
1080
|
+
authToken: 'string',
|
|
1081
|
+
claimNotificationFormNoInner: 'string',
|
|
1082
|
+
claimNotificationNo: 'string',
|
|
1083
|
+
materialList: 'string',
|
|
1084
|
+
isFinished: 'string',
|
|
1085
|
+
};
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
constructor(map?: { [key: string]: any }) {
|
|
1089
|
+
super(map);
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
export class UpdateClaimMaterialResponse extends $tea.Model {
|
|
1094
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
1095
|
+
reqMsgId?: string;
|
|
1096
|
+
// 结果码,一般OK表示调用成功
|
|
1097
|
+
resultCode?: string;
|
|
1098
|
+
// 异常信息的文本描述
|
|
1099
|
+
resultMsg?: string;
|
|
1100
|
+
// biz_result
|
|
1101
|
+
bizResult?: string;
|
|
1102
|
+
static names(): { [key: string]: string } {
|
|
1103
|
+
return {
|
|
1104
|
+
reqMsgId: 'req_msg_id',
|
|
1105
|
+
resultCode: 'result_code',
|
|
1106
|
+
resultMsg: 'result_msg',
|
|
1107
|
+
bizResult: 'biz_result',
|
|
1108
|
+
};
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
static types(): { [key: string]: any } {
|
|
1112
|
+
return {
|
|
1113
|
+
reqMsgId: 'string',
|
|
1114
|
+
resultCode: 'string',
|
|
1115
|
+
resultMsg: 'string',
|
|
1116
|
+
bizResult: 'string',
|
|
1117
|
+
};
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
constructor(map?: { [key: string]: any }) {
|
|
1121
|
+
super(map);
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
export class ConfirmClaimSettleRequest extends $tea.Model {
|
|
1126
|
+
// OAuth模式下的授权token
|
|
1127
|
+
authToken?: string;
|
|
1128
|
+
// 报案单编号(蚂蚁内部)
|
|
1129
|
+
claimNotificationFormNoInner: string;
|
|
1130
|
+
// 附加内容
|
|
1131
|
+
bizInfo?: string;
|
|
1132
|
+
static names(): { [key: string]: string } {
|
|
1133
|
+
return {
|
|
1134
|
+
authToken: 'auth_token',
|
|
1135
|
+
claimNotificationFormNoInner: 'claim_notification_form_no_inner',
|
|
1136
|
+
bizInfo: 'biz_info',
|
|
1137
|
+
};
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
static types(): { [key: string]: any } {
|
|
1141
|
+
return {
|
|
1142
|
+
authToken: 'string',
|
|
1143
|
+
claimNotificationFormNoInner: 'string',
|
|
1144
|
+
bizInfo: 'string',
|
|
1145
|
+
};
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
constructor(map?: { [key: string]: any }) {
|
|
1149
|
+
super(map);
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
export class ConfirmClaimSettleResponse extends $tea.Model {
|
|
1154
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
1155
|
+
reqMsgId?: string;
|
|
1156
|
+
// 结果码,一般OK表示调用成功
|
|
1157
|
+
resultCode?: string;
|
|
1158
|
+
// 异常信息的文本描述
|
|
1159
|
+
resultMsg?: string;
|
|
1160
|
+
// biz_result
|
|
1161
|
+
bizResult?: string;
|
|
1162
|
+
static names(): { [key: string]: string } {
|
|
1163
|
+
return {
|
|
1164
|
+
reqMsgId: 'req_msg_id',
|
|
1165
|
+
resultCode: 'result_code',
|
|
1166
|
+
resultMsg: 'result_msg',
|
|
1167
|
+
bizResult: 'biz_result',
|
|
1168
|
+
};
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
static types(): { [key: string]: any } {
|
|
1172
|
+
return {
|
|
1173
|
+
reqMsgId: 'string',
|
|
1174
|
+
resultCode: 'string',
|
|
1175
|
+
resultMsg: 'string',
|
|
1176
|
+
bizResult: 'string',
|
|
1177
|
+
};
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
constructor(map?: { [key: string]: any }) {
|
|
1181
|
+
super(map);
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
export class FinishClaimSettleRequest extends $tea.Model {
|
|
1186
|
+
// OAuth模式下的授权token
|
|
1187
|
+
authToken?: string;
|
|
1188
|
+
// 报案单编号(蚂蚁内部)
|
|
1189
|
+
claimNotificationFormNoInner: string;
|
|
1190
|
+
// 报案号(保司)
|
|
1191
|
+
claimNotificationNo?: string;
|
|
1192
|
+
// 赔付受理结果:01--受理、02--拒赔
|
|
1193
|
+
acceptResult: string;
|
|
1194
|
+
// 受理结论
|
|
1195
|
+
acceptNote?: string;
|
|
1196
|
+
// 支付信息
|
|
1197
|
+
tradeInfo?: string;
|
|
1198
|
+
static names(): { [key: string]: string } {
|
|
1199
|
+
return {
|
|
1200
|
+
authToken: 'auth_token',
|
|
1201
|
+
claimNotificationFormNoInner: 'claim_notification_form_no_inner',
|
|
1202
|
+
claimNotificationNo: 'claim_notification_no',
|
|
1203
|
+
acceptResult: 'accept_result',
|
|
1204
|
+
acceptNote: 'accept_note',
|
|
1205
|
+
tradeInfo: 'trade_info',
|
|
1206
|
+
};
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
static types(): { [key: string]: any } {
|
|
1210
|
+
return {
|
|
1211
|
+
authToken: 'string',
|
|
1212
|
+
claimNotificationFormNoInner: 'string',
|
|
1213
|
+
claimNotificationNo: 'string',
|
|
1214
|
+
acceptResult: 'string',
|
|
1215
|
+
acceptNote: 'string',
|
|
1216
|
+
tradeInfo: 'string',
|
|
1217
|
+
};
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
constructor(map?: { [key: string]: any }) {
|
|
1221
|
+
super(map);
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
export class FinishClaimSettleResponse extends $tea.Model {
|
|
1226
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
1227
|
+
reqMsgId?: string;
|
|
1228
|
+
// 结果码,一般OK表示调用成功
|
|
1229
|
+
resultCode?: string;
|
|
1230
|
+
// 异常信息的文本描述
|
|
1231
|
+
resultMsg?: string;
|
|
1232
|
+
// biz_result
|
|
1233
|
+
bizResult?: string;
|
|
1234
|
+
static names(): { [key: string]: string } {
|
|
1235
|
+
return {
|
|
1236
|
+
reqMsgId: 'req_msg_id',
|
|
1237
|
+
resultCode: 'result_code',
|
|
1238
|
+
resultMsg: 'result_msg',
|
|
1239
|
+
bizResult: 'biz_result',
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
static types(): { [key: string]: any } {
|
|
1244
|
+
return {
|
|
1245
|
+
reqMsgId: 'string',
|
|
1246
|
+
resultCode: 'string',
|
|
1247
|
+
resultMsg: 'string',
|
|
1248
|
+
bizResult: 'string',
|
|
1249
|
+
};
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
constructor(map?: { [key: string]: any }) {
|
|
1253
|
+
super(map);
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
export class ApplyEndorsementStrategyRequest extends $tea.Model {
|
|
1258
|
+
// OAuth模式下的授权token
|
|
1259
|
+
authToken?: string;
|
|
1260
|
+
// 承保申请编号(蚂蚁内部)
|
|
1261
|
+
insuranceApplicationNoInner: string;
|
|
1262
|
+
// 投保人信息(名称、证件号、证件类型)
|
|
1263
|
+
applicant?: string;
|
|
1264
|
+
// 被保人列表
|
|
1265
|
+
insuredList?: string;
|
|
1266
|
+
// 受益人列表
|
|
1267
|
+
beneficiaryList?: string;
|
|
1268
|
+
// 投保标的列表
|
|
1269
|
+
objectList?: string;
|
|
1270
|
+
// 保险起期 yyyy-MM-dd HH:mm:ss
|
|
1271
|
+
insurancePeriodStart?: string;
|
|
1272
|
+
// 保险止期 yyyy-MM-dd HH:mm:ss
|
|
1273
|
+
insurancePeriodEnd?: string;
|
|
1274
|
+
// 保期(天)
|
|
1275
|
+
insurancePeriod?: number;
|
|
1276
|
+
// 申请保额, { "cent": 20000, "currency": "CNY" }
|
|
1277
|
+
appliedInsuranceAmount?: string;
|
|
1278
|
+
// 保费, { "cent": 20000, "currency": "CNY" }
|
|
1279
|
+
appliedPremium?: string;
|
|
1280
|
+
// 保费费率
|
|
1281
|
+
premiumRate?: string;
|
|
1282
|
+
static names(): { [key: string]: string } {
|
|
1283
|
+
return {
|
|
1284
|
+
authToken: 'auth_token',
|
|
1285
|
+
insuranceApplicationNoInner: 'insurance_application_no_inner',
|
|
1286
|
+
applicant: 'applicant',
|
|
1287
|
+
insuredList: 'insured_list',
|
|
1288
|
+
beneficiaryList: 'beneficiary_list',
|
|
1289
|
+
objectList: 'object_list',
|
|
1290
|
+
insurancePeriodStart: 'insurance_period_start',
|
|
1291
|
+
insurancePeriodEnd: 'insurance_period_end',
|
|
1292
|
+
insurancePeriod: 'insurance_period',
|
|
1293
|
+
appliedInsuranceAmount: 'applied_insurance_amount',
|
|
1294
|
+
appliedPremium: 'applied_premium',
|
|
1295
|
+
premiumRate: 'premium_rate',
|
|
1296
|
+
};
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
static types(): { [key: string]: any } {
|
|
1300
|
+
return {
|
|
1301
|
+
authToken: 'string',
|
|
1302
|
+
insuranceApplicationNoInner: 'string',
|
|
1303
|
+
applicant: 'string',
|
|
1304
|
+
insuredList: 'string',
|
|
1305
|
+
beneficiaryList: 'string',
|
|
1306
|
+
objectList: 'string',
|
|
1307
|
+
insurancePeriodStart: 'string',
|
|
1308
|
+
insurancePeriodEnd: 'string',
|
|
1309
|
+
insurancePeriod: 'number',
|
|
1310
|
+
appliedInsuranceAmount: 'string',
|
|
1311
|
+
appliedPremium: 'string',
|
|
1312
|
+
premiumRate: 'string',
|
|
1313
|
+
};
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
constructor(map?: { [key: string]: any }) {
|
|
1317
|
+
super(map);
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
export class ApplyEndorsementStrategyResponse extends $tea.Model {
|
|
1322
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
1323
|
+
reqMsgId?: string;
|
|
1324
|
+
// 结果码,一般OK表示调用成功
|
|
1325
|
+
resultCode?: string;
|
|
1326
|
+
// 异常信息的文本描述
|
|
1327
|
+
resultMsg?: string;
|
|
1328
|
+
// 承保申请结果
|
|
1329
|
+
bizResult?: string;
|
|
1330
|
+
static names(): { [key: string]: string } {
|
|
1331
|
+
return {
|
|
1332
|
+
reqMsgId: 'req_msg_id',
|
|
1333
|
+
resultCode: 'result_code',
|
|
1334
|
+
resultMsg: 'result_msg',
|
|
1335
|
+
bizResult: 'biz_result',
|
|
1336
|
+
};
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
static types(): { [key: string]: any } {
|
|
1340
|
+
return {
|
|
1341
|
+
reqMsgId: 'string',
|
|
1342
|
+
resultCode: 'string',
|
|
1343
|
+
resultMsg: 'string',
|
|
1344
|
+
bizResult: 'string',
|
|
1345
|
+
};
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
constructor(map?: { [key: string]: any }) {
|
|
1349
|
+
super(map);
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
export class SyncPolicyResultRequest extends $tea.Model {
|
|
1354
|
+
// OAuth模式下的授权token
|
|
1355
|
+
authToken?: string;
|
|
1356
|
+
// 投保申请号-外部,业务侧需保证唯一
|
|
1357
|
+
insuranceApplicationNo: string;
|
|
1358
|
+
// 保司编码
|
|
1359
|
+
insuranceCompanyNo: string;
|
|
1360
|
+
// 保险产品编码
|
|
1361
|
+
trustworthyValueInsuranceTypeCode: string;
|
|
1362
|
+
// 保司项目代码
|
|
1363
|
+
insuranceProjectCode: string;
|
|
1364
|
+
// 保司方案代码
|
|
1365
|
+
insuranceOptionsCode: string;
|
|
1366
|
+
// 投保人信息(名称-memberName、证件号-certNo、证件类型-certType、手机号-memberMobileNo)
|
|
1367
|
+
applicant: string;
|
|
1368
|
+
// 被保人列表(可空)
|
|
1369
|
+
insuredList?: string;
|
|
1370
|
+
// 受益人列表(可空)
|
|
1371
|
+
beneficiaryList?: string;
|
|
1372
|
+
// 投保标的List,动态字段,根据险种所配置的标的传值
|
|
1373
|
+
objectList: string;
|
|
1374
|
+
// 保单号
|
|
1375
|
+
policyNo: string;
|
|
1376
|
+
// 保额,JSON格式
|
|
1377
|
+
insuranceAmount: string;
|
|
1378
|
+
// 保费,json格式
|
|
1379
|
+
//
|
|
1380
|
+
insurancePremium: string;
|
|
1381
|
+
// 保险起期 yyyy-MM-dd HH:mm:ss
|
|
1382
|
+
insurancePeriodStart: string;
|
|
1383
|
+
// 保险止期 yyyy-MM-dd HH:mm:ss
|
|
1384
|
+
insurancePeriodEnd: string;
|
|
1385
|
+
// 电子保单URL
|
|
1386
|
+
policyUrl?: string;
|
|
1387
|
+
static names(): { [key: string]: string } {
|
|
1388
|
+
return {
|
|
1389
|
+
authToken: 'auth_token',
|
|
1390
|
+
insuranceApplicationNo: 'insurance_application_no',
|
|
1391
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
1392
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
1393
|
+
insuranceProjectCode: 'insurance_project_code',
|
|
1394
|
+
insuranceOptionsCode: 'insurance_options_code',
|
|
1395
|
+
applicant: 'applicant',
|
|
1396
|
+
insuredList: 'insured_list',
|
|
1397
|
+
beneficiaryList: 'beneficiary_list',
|
|
1398
|
+
objectList: 'object_list',
|
|
1399
|
+
policyNo: 'policy_no',
|
|
1400
|
+
insuranceAmount: 'insurance_amount',
|
|
1401
|
+
insurancePremium: 'insurance_premium',
|
|
1402
|
+
insurancePeriodStart: 'insurance_period_start',
|
|
1403
|
+
insurancePeriodEnd: 'insurance_period_end',
|
|
1404
|
+
policyUrl: 'policy_url',
|
|
1405
|
+
};
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
static types(): { [key: string]: any } {
|
|
1409
|
+
return {
|
|
1410
|
+
authToken: 'string',
|
|
1411
|
+
insuranceApplicationNo: 'string',
|
|
1412
|
+
insuranceCompanyNo: 'string',
|
|
1413
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
1414
|
+
insuranceProjectCode: 'string',
|
|
1415
|
+
insuranceOptionsCode: 'string',
|
|
1416
|
+
applicant: 'string',
|
|
1417
|
+
insuredList: 'string',
|
|
1418
|
+
beneficiaryList: 'string',
|
|
1419
|
+
objectList: 'string',
|
|
1420
|
+
policyNo: 'string',
|
|
1421
|
+
insuranceAmount: 'string',
|
|
1422
|
+
insurancePremium: 'string',
|
|
1423
|
+
insurancePeriodStart: 'string',
|
|
1424
|
+
insurancePeriodEnd: 'string',
|
|
1425
|
+
policyUrl: 'string',
|
|
1426
|
+
};
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
constructor(map?: { [key: string]: any }) {
|
|
1430
|
+
super(map);
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
export class SyncPolicyResultResponse extends $tea.Model {
|
|
1435
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
1436
|
+
reqMsgId?: string;
|
|
1437
|
+
// 结果码,一般OK表示调用成功
|
|
1438
|
+
resultCode?: string;
|
|
1439
|
+
// 异常信息的文本描述
|
|
1440
|
+
resultMsg?: string;
|
|
1441
|
+
// 保单同步结果
|
|
1442
|
+
bizResult?: string;
|
|
1443
|
+
static names(): { [key: string]: string } {
|
|
1444
|
+
return {
|
|
1445
|
+
reqMsgId: 'req_msg_id',
|
|
1446
|
+
resultCode: 'result_code',
|
|
1447
|
+
resultMsg: 'result_msg',
|
|
1448
|
+
bizResult: 'biz_result',
|
|
1449
|
+
};
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
static types(): { [key: string]: any } {
|
|
1453
|
+
return {
|
|
1454
|
+
reqMsgId: 'string',
|
|
1455
|
+
resultCode: 'string',
|
|
1456
|
+
resultMsg: 'string',
|
|
1457
|
+
bizResult: 'string',
|
|
1458
|
+
};
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
constructor(map?: { [key: string]: any }) {
|
|
1462
|
+
super(map);
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
export class QueryInsureResultRequest extends $tea.Model {
|
|
1467
|
+
// OAuth模式下的授权token
|
|
1468
|
+
authToken?: string;
|
|
1469
|
+
// 保险产品编码
|
|
1470
|
+
trustworthyValueInsuranceTypeCode: string;
|
|
1471
|
+
// 保司编码
|
|
1472
|
+
insuranceCompanyNo: string;
|
|
1473
|
+
// 通知单号,投保申请时会返回
|
|
1474
|
+
noticeNo: string;
|
|
1475
|
+
static names(): { [key: string]: string } {
|
|
1476
|
+
return {
|
|
1477
|
+
authToken: 'auth_token',
|
|
1478
|
+
trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
|
|
1479
|
+
insuranceCompanyNo: 'insurance_company_no',
|
|
1480
|
+
noticeNo: 'notice_no',
|
|
1481
|
+
};
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
static types(): { [key: string]: any } {
|
|
1485
|
+
return {
|
|
1486
|
+
authToken: 'string',
|
|
1487
|
+
trustworthyValueInsuranceTypeCode: 'string',
|
|
1488
|
+
insuranceCompanyNo: 'string',
|
|
1489
|
+
noticeNo: 'string',
|
|
1490
|
+
};
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
constructor(map?: { [key: string]: any }) {
|
|
1494
|
+
super(map);
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
export class QueryInsureResultResponse extends $tea.Model {
|
|
1499
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
1500
|
+
reqMsgId?: string;
|
|
1501
|
+
// 结果码,一般OK表示调用成功
|
|
1502
|
+
resultCode?: string;
|
|
1503
|
+
// 异常信息的文本描述
|
|
1504
|
+
resultMsg?: string;
|
|
1505
|
+
// 通知单号
|
|
1506
|
+
noticeNo?: string;
|
|
1507
|
+
// 付款状态
|
|
1508
|
+
paymentStatus?: string;
|
|
1509
|
+
// 保单号
|
|
1510
|
+
policyNo?: string;
|
|
1511
|
+
// 保额(人民币)
|
|
1512
|
+
insuranceAmount?: string;
|
|
1513
|
+
// 保费(人民币)
|
|
1514
|
+
insurancePremium?: string;
|
|
1515
|
+
// 保险起期
|
|
1516
|
+
effectDate?: string;
|
|
1517
|
+
// 保险止期
|
|
1518
|
+
expireDate?: string;
|
|
1519
|
+
// 电子保单URL
|
|
1520
|
+
outPolicyUrl?: string;
|
|
1521
|
+
// 投保申请号-外部
|
|
1522
|
+
insuranceApplicationNo?: string;
|
|
1523
|
+
// 交易流水号
|
|
1524
|
+
insuranceApplicationNoInner?: string;
|
|
1525
|
+
static names(): { [key: string]: string } {
|
|
1526
|
+
return {
|
|
1527
|
+
reqMsgId: 'req_msg_id',
|
|
1528
|
+
resultCode: 'result_code',
|
|
1529
|
+
resultMsg: 'result_msg',
|
|
1530
|
+
noticeNo: 'notice_no',
|
|
1531
|
+
paymentStatus: 'payment_status',
|
|
1532
|
+
policyNo: 'policy_no',
|
|
1533
|
+
insuranceAmount: 'insurance_amount',
|
|
1534
|
+
insurancePremium: 'insurance_premium',
|
|
1535
|
+
effectDate: 'effect_date',
|
|
1536
|
+
expireDate: 'expire_date',
|
|
1537
|
+
outPolicyUrl: 'out_policy_url',
|
|
1538
|
+
insuranceApplicationNo: 'insurance_application_no',
|
|
1539
|
+
insuranceApplicationNoInner: 'insurance_application_no_inner',
|
|
1540
|
+
};
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
static types(): { [key: string]: any } {
|
|
1544
|
+
return {
|
|
1545
|
+
reqMsgId: 'string',
|
|
1546
|
+
resultCode: 'string',
|
|
1547
|
+
resultMsg: 'string',
|
|
1548
|
+
noticeNo: 'string',
|
|
1549
|
+
paymentStatus: 'string',
|
|
1550
|
+
policyNo: 'string',
|
|
1551
|
+
insuranceAmount: 'string',
|
|
1552
|
+
insurancePremium: 'string',
|
|
1553
|
+
effectDate: 'string',
|
|
1554
|
+
expireDate: 'string',
|
|
1555
|
+
outPolicyUrl: 'string',
|
|
1556
|
+
insuranceApplicationNo: 'string',
|
|
1557
|
+
insuranceApplicationNoInner: 'string',
|
|
1558
|
+
};
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
constructor(map?: { [key: string]: any }) {
|
|
1562
|
+
super(map);
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
export default class Client {
|
|
1568
|
+
_endpoint: string;
|
|
1569
|
+
_regionId: string;
|
|
1570
|
+
_accessKeyId: string;
|
|
1571
|
+
_accessKeySecret: string;
|
|
1572
|
+
_protocol: string;
|
|
1573
|
+
_userAgent: string;
|
|
1574
|
+
_readTimeout: number;
|
|
1575
|
+
_connectTimeout: number;
|
|
1576
|
+
_httpProxy: string;
|
|
1577
|
+
_httpsProxy: string;
|
|
1578
|
+
_socks5Proxy: string;
|
|
1579
|
+
_socks5NetWork: string;
|
|
1580
|
+
_noProxy: string;
|
|
1581
|
+
_maxIdleConns: number;
|
|
1582
|
+
_securityToken: string;
|
|
1583
|
+
_maxIdleTimeMillis: number;
|
|
1584
|
+
_keepAliveDurationMillis: number;
|
|
1585
|
+
_maxRequests: number;
|
|
1586
|
+
_maxRequestsPerHost: number;
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* Init client with Config
|
|
1590
|
+
* @param config config contains the necessary information to create a client
|
|
1591
|
+
*/
|
|
1592
|
+
constructor(config: Config) {
|
|
1593
|
+
if (Util.isUnset(config)) {
|
|
1594
|
+
throw $tea.newError({
|
|
1595
|
+
code: "ParameterMissing",
|
|
1596
|
+
message: "'config' can not be unset",
|
|
1597
|
+
});
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
this._accessKeyId = config.accessKeyId;
|
|
1601
|
+
this._accessKeySecret = config.accessKeySecret;
|
|
1602
|
+
this._securityToken = config.securityToken;
|
|
1603
|
+
this._endpoint = config.endpoint;
|
|
1604
|
+
this._protocol = config.protocol;
|
|
1605
|
+
this._userAgent = config.userAgent;
|
|
1606
|
+
this._readTimeout = Util.defaultNumber(config.readTimeout, 20000);
|
|
1607
|
+
this._connectTimeout = Util.defaultNumber(config.connectTimeout, 20000);
|
|
1608
|
+
this._httpProxy = config.httpProxy;
|
|
1609
|
+
this._httpsProxy = config.httpsProxy;
|
|
1610
|
+
this._noProxy = config.noProxy;
|
|
1611
|
+
this._socks5Proxy = config.socks5Proxy;
|
|
1612
|
+
this._socks5NetWork = config.socks5NetWork;
|
|
1613
|
+
this._maxIdleConns = Util.defaultNumber(config.maxIdleConns, 60000);
|
|
1614
|
+
this._maxIdleTimeMillis = Util.defaultNumber(config.maxIdleTimeMillis, 5);
|
|
1615
|
+
this._keepAliveDurationMillis = Util.defaultNumber(config.keepAliveDurationMillis, 5000);
|
|
1616
|
+
this._maxRequests = Util.defaultNumber(config.maxRequests, 100);
|
|
1617
|
+
this._maxRequestsPerHost = Util.defaultNumber(config.maxRequestsPerHost, 100);
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
/**
|
|
1621
|
+
* Encapsulate the request and invoke the network
|
|
1622
|
+
* @param action api name
|
|
1623
|
+
* @param protocol http or https
|
|
1624
|
+
* @param method e.g. GET
|
|
1625
|
+
* @param pathname pathname of every api
|
|
1626
|
+
* @param request which contains request params
|
|
1627
|
+
* @param runtime which controls some details of call api, such as retry times
|
|
1628
|
+
* @return the response
|
|
1629
|
+
*/
|
|
1630
|
+
async doRequest(version: string, action: string, protocol: string, method: string, pathname: string, request: {[key: string]: any}, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<{[key: string]: any}> {
|
|
1631
|
+
let _runtime: { [key: string]: any } = {
|
|
1632
|
+
timeouted: "retry",
|
|
1633
|
+
readTimeout: Util.defaultNumber(runtime.readTimeout, this._readTimeout),
|
|
1634
|
+
connectTimeout: Util.defaultNumber(runtime.connectTimeout, this._connectTimeout),
|
|
1635
|
+
httpProxy: Util.defaultString(runtime.httpProxy, this._httpProxy),
|
|
1636
|
+
httpsProxy: Util.defaultString(runtime.httpsProxy, this._httpsProxy),
|
|
1637
|
+
noProxy: Util.defaultString(runtime.noProxy, this._noProxy),
|
|
1638
|
+
maxIdleConns: Util.defaultNumber(runtime.maxIdleConns, this._maxIdleConns),
|
|
1639
|
+
maxIdleTimeMillis: this._maxIdleTimeMillis,
|
|
1640
|
+
keepAliveDuration: this._keepAliveDurationMillis,
|
|
1641
|
+
maxRequests: this._maxRequests,
|
|
1642
|
+
maxRequestsPerHost: this._maxRequestsPerHost,
|
|
1643
|
+
retry: {
|
|
1644
|
+
retryable: runtime.autoretry,
|
|
1645
|
+
maxAttempts: Util.defaultNumber(runtime.maxAttempts, 3),
|
|
1646
|
+
},
|
|
1647
|
+
backoff: {
|
|
1648
|
+
policy: Util.defaultString(runtime.backoffPolicy, "no"),
|
|
1649
|
+
period: Util.defaultNumber(runtime.backoffPeriod, 1),
|
|
1650
|
+
},
|
|
1651
|
+
ignoreSSL: runtime.ignoreSSL,
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
let _lastRequest = null;
|
|
1655
|
+
let _now = Date.now();
|
|
1656
|
+
let _retryTimes = 0;
|
|
1657
|
+
while ($tea.allowRetry(_runtime['retry'], _retryTimes, _now)) {
|
|
1658
|
+
if (_retryTimes > 0) {
|
|
1659
|
+
let _backoffTime = $tea.getBackoffTime(_runtime['backoff'], _retryTimes);
|
|
1660
|
+
if (_backoffTime > 0) {
|
|
1661
|
+
await $tea.sleep(_backoffTime);
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
_retryTimes = _retryTimes + 1;
|
|
1666
|
+
try {
|
|
1667
|
+
let request_ = new $tea.Request();
|
|
1668
|
+
request_.protocol = Util.defaultString(this._protocol, protocol);
|
|
1669
|
+
request_.method = method;
|
|
1670
|
+
request_.pathname = pathname;
|
|
1671
|
+
request_.query = {
|
|
1672
|
+
method: action,
|
|
1673
|
+
version: version,
|
|
1674
|
+
sign_type: "HmacSHA1",
|
|
1675
|
+
req_time: AntchainUtil.getTimestamp(),
|
|
1676
|
+
req_msg_id: AntchainUtil.getNonce(),
|
|
1677
|
+
access_key: this._accessKeyId,
|
|
1678
|
+
base_sdk_version: "TeaSDK-2.0",
|
|
1679
|
+
sdk_version: "1.7.10",
|
|
1680
|
+
_prod_code: "INSURANCE_SAAS",
|
|
1681
|
+
_prod_channel: "undefined",
|
|
1682
|
+
};
|
|
1683
|
+
if (!Util.empty(this._securityToken)) {
|
|
1684
|
+
request_.query["security_token"] = this._securityToken;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
request_.headers = {
|
|
1688
|
+
host: Util.defaultString(this._endpoint, "openapi.antchain.antgroup.com"),
|
|
1689
|
+
'user-agent': Util.getUserAgent(this._userAgent),
|
|
1690
|
+
...headers,
|
|
1691
|
+
};
|
|
1692
|
+
let tmp = Util.anyifyMapValue(RPCUtil.query(request));
|
|
1693
|
+
request_.body = new $tea.BytesReadable(Util.toFormString(tmp));
|
|
1694
|
+
request_.headers["content-type"] = "application/x-www-form-urlencoded";
|
|
1695
|
+
let signedParam = {
|
|
1696
|
+
...request_.query,
|
|
1697
|
+
...RPCUtil.query(request),
|
|
1698
|
+
};
|
|
1699
|
+
request_.query["sign"] = AntchainUtil.getSignature(signedParam, this._accessKeySecret);
|
|
1700
|
+
_lastRequest = request_;
|
|
1701
|
+
let response_ = await $tea.doAction(request_, _runtime);
|
|
1702
|
+
|
|
1703
|
+
let raw = await Util.readAsString(response_.body);
|
|
1704
|
+
let obj = Util.parseJSON(raw);
|
|
1705
|
+
let res = Util.assertAsMap(obj);
|
|
1706
|
+
let resp = Util.assertAsMap(res["response"]);
|
|
1707
|
+
if (AntchainUtil.hasError(raw, this._accessKeySecret)) {
|
|
1708
|
+
throw $tea.newError({
|
|
1709
|
+
message: resp["result_msg"],
|
|
1710
|
+
data: resp,
|
|
1711
|
+
code: resp["result_code"],
|
|
1712
|
+
});
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
return resp;
|
|
1716
|
+
} catch (ex) {
|
|
1717
|
+
if ($tea.isRetryable(ex)) {
|
|
1718
|
+
continue;
|
|
1719
|
+
}
|
|
1720
|
+
throw ex;
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
throw $tea.newUnretryableError(_lastRequest);
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
/**
|
|
1728
|
+
* Description: 保险询报价结果查询
|
|
1729
|
+
* Summary: 保险询报价结果查询
|
|
1730
|
+
*/
|
|
1731
|
+
async queryInquiry(request: QueryInquiryRequest): Promise<QueryInquiryResponse> {
|
|
1732
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1733
|
+
let headers : {[key: string ]: string} = { };
|
|
1734
|
+
return await this.queryInquiryEx(request, headers, runtime);
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* Description: 保险询报价结果查询
|
|
1739
|
+
* Summary: 保险询报价结果查询
|
|
1740
|
+
*/
|
|
1741
|
+
async queryInquiryEx(request: QueryInquiryRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInquiryResponse> {
|
|
1742
|
+
Util.validateModel(request);
|
|
1743
|
+
return $tea.cast<QueryInquiryResponse>(await this.doRequest("1.0", "antcloud.insurance.inquiry.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInquiryResponse({}));
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* Description: 保险产品询价
|
|
1748
|
+
* Summary: 保险产品询价
|
|
1749
|
+
*/
|
|
1750
|
+
async submitInquiry(request: SubmitInquiryRequest): Promise<SubmitInquiryResponse> {
|
|
1751
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1752
|
+
let headers : {[key: string ]: string} = { };
|
|
1753
|
+
return await this.submitInquiryEx(request, headers, runtime);
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
/**
|
|
1757
|
+
* Description: 保险产品询价
|
|
1758
|
+
* Summary: 保险产品询价
|
|
1759
|
+
*/
|
|
1760
|
+
async submitInquiryEx(request: SubmitInquiryRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SubmitInquiryResponse> {
|
|
1761
|
+
Util.validateModel(request);
|
|
1762
|
+
return $tea.cast<SubmitInquiryResponse>(await this.doRequest("1.0", "antcloud.insurance.inquiry.submit", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SubmitInquiryResponse({}));
|
|
1763
|
+
}
|
|
1764
|
+
|
|
1765
|
+
/**
|
|
1766
|
+
* Description: 历史灾害查询
|
|
1767
|
+
* Summary: 历史灾害数据查询
|
|
1768
|
+
*/
|
|
1769
|
+
async queryDataDisaster(request: QueryDataDisasterRequest): Promise<QueryDataDisasterResponse> {
|
|
1770
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1771
|
+
let headers : {[key: string ]: string} = { };
|
|
1772
|
+
return await this.queryDataDisasterEx(request, headers, runtime);
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* Description: 历史灾害查询
|
|
1777
|
+
* Summary: 历史灾害数据查询
|
|
1778
|
+
*/
|
|
1779
|
+
async queryDataDisasterEx(request: QueryDataDisasterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDataDisasterResponse> {
|
|
1780
|
+
Util.validateModel(request);
|
|
1781
|
+
return $tea.cast<QueryDataDisasterResponse>(await this.doRequest("1.0", "antcloud.insurance.data.disaster.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDataDisasterResponse({}));
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
/**
|
|
1785
|
+
* Description: 实时天气预警
|
|
1786
|
+
* Summary: 实时天气预警
|
|
1787
|
+
*/
|
|
1788
|
+
async queryDataWeather(request: QueryDataWeatherRequest): Promise<QueryDataWeatherResponse> {
|
|
1789
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1790
|
+
let headers : {[key: string ]: string} = { };
|
|
1791
|
+
return await this.queryDataWeatherEx(request, headers, runtime);
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
/**
|
|
1795
|
+
* Description: 实时天气预警
|
|
1796
|
+
* Summary: 实时天气预警
|
|
1797
|
+
*/
|
|
1798
|
+
async queryDataWeatherEx(request: QueryDataWeatherRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDataWeatherResponse> {
|
|
1799
|
+
Util.validateModel(request);
|
|
1800
|
+
return $tea.cast<QueryDataWeatherResponse>(await this.doRequest("1.0", "antcloud.insurance.data.weather.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDataWeatherResponse({}));
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
/**
|
|
1804
|
+
* Description: 报价接口同步接口
|
|
1805
|
+
* Summary: 报价接口同步接口
|
|
1806
|
+
*/
|
|
1807
|
+
async syncQuote(request: SyncQuoteRequest): Promise<SyncQuoteResponse> {
|
|
1808
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1809
|
+
let headers : {[key: string ]: string} = { };
|
|
1810
|
+
return await this.syncQuoteEx(request, headers, runtime);
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
/**
|
|
1814
|
+
* Description: 报价接口同步接口
|
|
1815
|
+
* Summary: 报价接口同步接口
|
|
1816
|
+
*/
|
|
1817
|
+
async syncQuoteEx(request: SyncQuoteRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncQuoteResponse> {
|
|
1818
|
+
Util.validateModel(request);
|
|
1819
|
+
return $tea.cast<SyncQuoteResponse>(await this.doRequest("1.0", "antcloud.insurance.quote.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncQuoteResponse({}));
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
/**
|
|
1823
|
+
* Description: 承保自核申请接口
|
|
1824
|
+
* Summary: 承保自核申请接口
|
|
1825
|
+
*/
|
|
1826
|
+
async applyUnderwriting(request: ApplyUnderwritingRequest): Promise<ApplyUnderwritingResponse> {
|
|
1827
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1828
|
+
let headers : {[key: string ]: string} = { };
|
|
1829
|
+
return await this.applyUnderwritingEx(request, headers, runtime);
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* Description: 承保自核申请接口
|
|
1834
|
+
* Summary: 承保自核申请接口
|
|
1835
|
+
*/
|
|
1836
|
+
async applyUnderwritingEx(request: ApplyUnderwritingRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyUnderwritingResponse> {
|
|
1837
|
+
Util.validateModel(request);
|
|
1838
|
+
return $tea.cast<ApplyUnderwritingResponse>(await this.doRequest("1.0", "antcloud.insurance.underwriting.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUnderwritingResponse({}));
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
/**
|
|
1842
|
+
* Description: 承保自核结果查询接口
|
|
1843
|
+
* Summary: 承保自核结果查询接口
|
|
1844
|
+
*/
|
|
1845
|
+
async queryUnderwriting(request: QueryUnderwritingRequest): Promise<QueryUnderwritingResponse> {
|
|
1846
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1847
|
+
let headers : {[key: string ]: string} = { };
|
|
1848
|
+
return await this.queryUnderwritingEx(request, headers, runtime);
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
/**
|
|
1852
|
+
* Description: 承保自核结果查询接口
|
|
1853
|
+
* Summary: 承保自核结果查询接口
|
|
1854
|
+
*/
|
|
1855
|
+
async queryUnderwritingEx(request: QueryUnderwritingRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryUnderwritingResponse> {
|
|
1856
|
+
Util.validateModel(request);
|
|
1857
|
+
return $tea.cast<QueryUnderwritingResponse>(await this.doRequest("1.0", "antcloud.insurance.underwriting.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUnderwritingResponse({}));
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
/**
|
|
1861
|
+
* Description: 根据保单号查询保单附件,并返回一个有效期为7天的ossurl
|
|
1862
|
+
* Summary: 保险科技保单附件查询接口
|
|
1863
|
+
*/
|
|
1864
|
+
async queryPolicyFile(request: QueryPolicyFileRequest): Promise<QueryPolicyFileResponse> {
|
|
1865
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1866
|
+
let headers : {[key: string ]: string} = { };
|
|
1867
|
+
return await this.queryPolicyFileEx(request, headers, runtime);
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* Description: 根据保单号查询保单附件,并返回一个有效期为7天的ossurl
|
|
1872
|
+
* Summary: 保险科技保单附件查询接口
|
|
1873
|
+
*/
|
|
1874
|
+
async queryPolicyFileEx(request: QueryPolicyFileRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryPolicyFileResponse> {
|
|
1875
|
+
Util.validateModel(request);
|
|
1876
|
+
return $tea.cast<QueryPolicyFileResponse>(await this.doRequest("1.0", "antcloud.insurance.policy.file.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryPolicyFileResponse({}));
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
/**
|
|
1880
|
+
* Description: 保险SaaS投保申请接口
|
|
1881
|
+
* Summary: 投保申请接口
|
|
1882
|
+
*/
|
|
1883
|
+
async applyInsure(request: ApplyInsureRequest): Promise<ApplyInsureResponse> {
|
|
1884
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1885
|
+
let headers : {[key: string ]: string} = { };
|
|
1886
|
+
return await this.applyInsureEx(request, headers, runtime);
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
/**
|
|
1890
|
+
* Description: 保险SaaS投保申请接口
|
|
1891
|
+
* Summary: 投保申请接口
|
|
1892
|
+
*/
|
|
1893
|
+
async applyInsureEx(request: ApplyInsureRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyInsureResponse> {
|
|
1894
|
+
Util.validateModel(request);
|
|
1895
|
+
return $tea.cast<ApplyInsureResponse>(await this.doRequest("1.0", "antcloud.insurance.insure.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyInsureResponse({}));
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
/**
|
|
1899
|
+
* Description: 保单结果同步,注意:基于投保信息的保单结果同步。
|
|
1900
|
+
* Summary: 保单结果同步(依赖投保申请)
|
|
1901
|
+
*/
|
|
1902
|
+
async notifyPolicyResult(request: NotifyPolicyResultRequest): Promise<NotifyPolicyResultResponse> {
|
|
1903
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1904
|
+
let headers : {[key: string ]: string} = { };
|
|
1905
|
+
return await this.notifyPolicyResultEx(request, headers, runtime);
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
/**
|
|
1909
|
+
* Description: 保单结果同步,注意:基于投保信息的保单结果同步。
|
|
1910
|
+
* Summary: 保单结果同步(依赖投保申请)
|
|
1911
|
+
*/
|
|
1912
|
+
async notifyPolicyResultEx(request: NotifyPolicyResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<NotifyPolicyResultResponse> {
|
|
1913
|
+
Util.validateModel(request);
|
|
1914
|
+
return $tea.cast<NotifyPolicyResultResponse>(await this.doRequest("1.0", "antcloud.insurance.policy.result.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyPolicyResultResponse({}));
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
/**
|
|
1918
|
+
* Description: 报案接口
|
|
1919
|
+
* Summary: 保险科技 报案接口
|
|
1920
|
+
*/
|
|
1921
|
+
async applyClaim(request: ApplyClaimRequest): Promise<ApplyClaimResponse> {
|
|
1922
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1923
|
+
let headers : {[key: string ]: string} = { };
|
|
1924
|
+
return await this.applyClaimEx(request, headers, runtime);
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* Description: 报案接口
|
|
1929
|
+
* Summary: 保险科技 报案接口
|
|
1930
|
+
*/
|
|
1931
|
+
async applyClaimEx(request: ApplyClaimRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyClaimResponse> {
|
|
1932
|
+
Util.validateModel(request);
|
|
1933
|
+
return $tea.cast<ApplyClaimResponse>(await this.doRequest("1.0", "antcloud.insurance.claim.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyClaimResponse({}));
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* Description: 报案撤销(场景端)
|
|
1938
|
+
* Summary: 报案撤销(场景端)
|
|
1939
|
+
*/
|
|
1940
|
+
async cancelClaim(request: CancelClaimRequest): Promise<CancelClaimResponse> {
|
|
1941
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1942
|
+
let headers : {[key: string ]: string} = { };
|
|
1943
|
+
return await this.cancelClaimEx(request, headers, runtime);
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
/**
|
|
1947
|
+
* Description: 报案撤销(场景端)
|
|
1948
|
+
* Summary: 报案撤销(场景端)
|
|
1949
|
+
*/
|
|
1950
|
+
async cancelClaimEx(request: CancelClaimRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelClaimResponse> {
|
|
1951
|
+
Util.validateModel(request);
|
|
1952
|
+
return $tea.cast<CancelClaimResponse>(await this.doRequest("1.0", "antcloud.insurance.claim.cancel", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CancelClaimResponse({}));
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* Description: 报案材料更新(场景端)
|
|
1957
|
+
* Summary: 报案材料更新(场景端)
|
|
1958
|
+
*/
|
|
1959
|
+
async updateClaimMaterial(request: UpdateClaimMaterialRequest): Promise<UpdateClaimMaterialResponse> {
|
|
1960
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1961
|
+
let headers : {[key: string ]: string} = { };
|
|
1962
|
+
return await this.updateClaimMaterialEx(request, headers, runtime);
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* Description: 报案材料更新(场景端)
|
|
1967
|
+
* Summary: 报案材料更新(场景端)
|
|
1968
|
+
*/
|
|
1969
|
+
async updateClaimMaterialEx(request: UpdateClaimMaterialRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateClaimMaterialResponse> {
|
|
1970
|
+
Util.validateModel(request);
|
|
1971
|
+
return $tea.cast<UpdateClaimMaterialResponse>(await this.doRequest("1.0", "antcloud.insurance.claim.material.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateClaimMaterialResponse({}));
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
/**
|
|
1975
|
+
* Description: 理赔结果确认(场景端)
|
|
1976
|
+
* Summary: 理赔结果确认(场景端)
|
|
1977
|
+
*/
|
|
1978
|
+
async confirmClaimSettle(request: ConfirmClaimSettleRequest): Promise<ConfirmClaimSettleResponse> {
|
|
1979
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1980
|
+
let headers : {[key: string ]: string} = { };
|
|
1981
|
+
return await this.confirmClaimSettleEx(request, headers, runtime);
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
/**
|
|
1985
|
+
* Description: 理赔结果确认(场景端)
|
|
1986
|
+
* Summary: 理赔结果确认(场景端)
|
|
1987
|
+
*/
|
|
1988
|
+
async confirmClaimSettleEx(request: ConfirmClaimSettleRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ConfirmClaimSettleResponse> {
|
|
1989
|
+
Util.validateModel(request);
|
|
1990
|
+
return $tea.cast<ConfirmClaimSettleResponse>(await this.doRequest("1.0", "antcloud.insurance.claim.settle.confirm", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ConfirmClaimSettleResponse({}));
|
|
1991
|
+
}
|
|
1992
|
+
|
|
1993
|
+
/**
|
|
1994
|
+
* Description: 理赔结案通知(保司端)
|
|
1995
|
+
* Summary: 理赔结案通知(保司端)
|
|
1996
|
+
*/
|
|
1997
|
+
async finishClaimSettle(request: FinishClaimSettleRequest): Promise<FinishClaimSettleResponse> {
|
|
1998
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
1999
|
+
let headers : {[key: string ]: string} = { };
|
|
2000
|
+
return await this.finishClaimSettleEx(request, headers, runtime);
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* Description: 理赔结案通知(保司端)
|
|
2005
|
+
* Summary: 理赔结案通知(保司端)
|
|
2006
|
+
*/
|
|
2007
|
+
async finishClaimSettleEx(request: FinishClaimSettleRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<FinishClaimSettleResponse> {
|
|
2008
|
+
Util.validateModel(request);
|
|
2009
|
+
return $tea.cast<FinishClaimSettleResponse>(await this.doRequest("1.0", "antcloud.insurance.claim.settle.finish", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new FinishClaimSettleResponse({}));
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
/**
|
|
2013
|
+
* Description: 保险批改自核接口
|
|
2014
|
+
* Summary: 保险批改自核接口
|
|
2015
|
+
*/
|
|
2016
|
+
async applyEndorsementStrategy(request: ApplyEndorsementStrategyRequest): Promise<ApplyEndorsementStrategyResponse> {
|
|
2017
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2018
|
+
let headers : {[key: string ]: string} = { };
|
|
2019
|
+
return await this.applyEndorsementStrategyEx(request, headers, runtime);
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* Description: 保险批改自核接口
|
|
2024
|
+
* Summary: 保险批改自核接口
|
|
2025
|
+
*/
|
|
2026
|
+
async applyEndorsementStrategyEx(request: ApplyEndorsementStrategyRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyEndorsementStrategyResponse> {
|
|
2027
|
+
Util.validateModel(request);
|
|
2028
|
+
return $tea.cast<ApplyEndorsementStrategyResponse>(await this.doRequest("1.0", "antcloud.insurance.endorsement.strategy.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyEndorsementStrategyResponse({}));
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* Description: 保单信息离线同步
|
|
2033
|
+
* Summary: 保单信息离线同步
|
|
2034
|
+
*/
|
|
2035
|
+
async syncPolicyResult(request: SyncPolicyResultRequest): Promise<SyncPolicyResultResponse> {
|
|
2036
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2037
|
+
let headers : {[key: string ]: string} = { };
|
|
2038
|
+
return await this.syncPolicyResultEx(request, headers, runtime);
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
/**
|
|
2042
|
+
* Description: 保单信息离线同步
|
|
2043
|
+
* Summary: 保单信息离线同步
|
|
2044
|
+
*/
|
|
2045
|
+
async syncPolicyResultEx(request: SyncPolicyResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncPolicyResultResponse> {
|
|
2046
|
+
Util.validateModel(request);
|
|
2047
|
+
return $tea.cast<SyncPolicyResultResponse>(await this.doRequest("1.0", "antcloud.insurance.policy.result.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncPolicyResultResponse({}));
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* Description: 基于通知单号查询保险投保结果
|
|
2052
|
+
* Summary: 保险投保结果查询
|
|
2053
|
+
*/
|
|
2054
|
+
async queryInsureResult(request: QueryInsureResultRequest): Promise<QueryInsureResultResponse> {
|
|
2055
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2056
|
+
let headers : {[key: string ]: string} = { };
|
|
2057
|
+
return await this.queryInsureResultEx(request, headers, runtime);
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* Description: 基于通知单号查询保险投保结果
|
|
2062
|
+
* Summary: 保险投保结果查询
|
|
2063
|
+
*/
|
|
2064
|
+
async queryInsureResultEx(request: QueryInsureResultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInsureResultResponse> {
|
|
2065
|
+
Util.validateModel(request);
|
|
2066
|
+
return $tea.cast<QueryInsureResultResponse>(await this.doRequest("1.0", "antcloud.insurance.insure.result.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInsureResultResponse({}));
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
}
|