@antchain/insurance_saas 1.7.10 → 1.8.13

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.js CHANGED
@@ -22,7 +22,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
22
22
  return (mod && mod.__esModule) ? mod : { "default": mod };
23
23
  };
24
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;
25
+ exports.GetEmbedomeautoinsuranceUrlResponse = exports.GetEmbedomeautoinsuranceUrlRequest = exports.IssueEmbedcardPaysucResponse = exports.IssueEmbedcardPaysucRequest = exports.GetEmbedcardUrlResponse = exports.GetEmbedcardUrlRequest = exports.QueryReverseCommissionResponse = exports.QueryReverseCommissionRequest = exports.SubmitInvestigateCaseResponse = exports.SubmitInvestigateCaseRequest = exports.ApplyInsureTestResponse = exports.ApplyInsureTestRequest = 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.EntrustGuaranteeProduct = exports.Applicant = exports.Insured = exports.FileNode = exports.Config = void 0;
26
26
  // This file is auto-generated, don't edit it
27
27
  const alipay_util_1 = __importDefault(require("@antchain/alipay-util"));
28
28
  const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
@@ -81,6 +81,100 @@ class Config extends $tea.Model {
81
81
  }
82
82
  }
83
83
  exports.Config = Config;
84
+ // 文件结构
85
+ class FileNode extends $tea.Model {
86
+ constructor(map) {
87
+ super(map);
88
+ }
89
+ static names() {
90
+ return {
91
+ url: 'url',
92
+ name: 'name',
93
+ };
94
+ }
95
+ static types() {
96
+ return {
97
+ url: 'string',
98
+ name: 'string',
99
+ };
100
+ }
101
+ }
102
+ exports.FileNode = FileNode;
103
+ // 被保人
104
+ class Insured extends $tea.Model {
105
+ constructor(map) {
106
+ super(map);
107
+ }
108
+ static names() {
109
+ return {
110
+ insuredName: 'insured_name',
111
+ insuredCardType: 'insured_card_type',
112
+ insuredCardCode: 'insured_card_code',
113
+ insuredContactInfo: 'insured_contact_info',
114
+ };
115
+ }
116
+ static types() {
117
+ return {
118
+ insuredName: 'string',
119
+ insuredCardType: 'string',
120
+ insuredCardCode: 'string',
121
+ insuredContactInfo: 'string',
122
+ };
123
+ }
124
+ }
125
+ exports.Insured = Insured;
126
+ // 投保人
127
+ class Applicant extends $tea.Model {
128
+ constructor(map) {
129
+ super(map);
130
+ }
131
+ static names() {
132
+ return {
133
+ applicantName: 'applicant_name',
134
+ applicantCardType: 'applicant_card_type',
135
+ applicantCardCode: 'applicant_card_code',
136
+ applicantContactInfo: 'applicant_contact_info',
137
+ };
138
+ }
139
+ static types() {
140
+ return {
141
+ applicantName: 'string',
142
+ applicantCardType: 'string',
143
+ applicantCardCode: 'string',
144
+ applicantContactInfo: 'string',
145
+ };
146
+ }
147
+ }
148
+ exports.Applicant = Applicant;
149
+ // 委托险种信息
150
+ class EntrustGuaranteeProduct extends $tea.Model {
151
+ constructor(map) {
152
+ super(map);
153
+ }
154
+ static names() {
155
+ return {
156
+ guaranteeExpiryDate: 'guarantee_expiry_date',
157
+ guaranteeEffectiveDate: 'guarantee_effective_date',
158
+ waitingPeriodDeadLine: 'waiting_period_dead_line',
159
+ policyNo: 'policy_no',
160
+ guaranteeProductCode: 'guarantee_product_code',
161
+ insuranceProductCode: 'insurance_product_code',
162
+ insuranceProductName: 'insurance_product_name',
163
+ };
164
+ }
165
+ static types() {
166
+ return {
167
+ guaranteeExpiryDate: 'number',
168
+ guaranteeEffectiveDate: 'number',
169
+ waitingPeriodDeadLine: 'number',
170
+ policyNo: 'string',
171
+ guaranteeProductCode: 'string',
172
+ insuranceProductCode: 'string',
173
+ insuranceProductName: 'string',
174
+ };
175
+ }
176
+ }
177
+ exports.EntrustGuaranteeProduct = EntrustGuaranteeProduct;
84
178
  class QueryInquiryRequest extends $tea.Model {
85
179
  constructor(map) {
86
180
  super(map);
@@ -1037,6 +1131,404 @@ class QueryInsureResultResponse extends $tea.Model {
1037
1131
  }
1038
1132
  }
1039
1133
  exports.QueryInsureResultResponse = QueryInsureResultResponse;
1134
+ class ApplyInsureTestRequest extends $tea.Model {
1135
+ constructor(map) {
1136
+ super(map);
1137
+ }
1138
+ static names() {
1139
+ return {
1140
+ authToken: 'auth_token',
1141
+ insuranceApplicationNo: 'insurance_application_no',
1142
+ insuranceCompanyNo: 'insurance_company_no',
1143
+ trustworthyValueInsuranceTypeCode: 'trustworthy_value_insurance_type_code',
1144
+ insuranceProjectCode: 'insurance_project_code',
1145
+ insuranceOptionsCode: 'insurance_options_code',
1146
+ applicant: 'applicant',
1147
+ insuredList: 'insured_list',
1148
+ beneficiaryList: 'beneficiary_list',
1149
+ insurancePeriodStart: 'insurance_period_start',
1150
+ insurancePeriodEnd: 'insurance_period_end',
1151
+ appliedInsuranceAmount: 'applied_insurance_amount',
1152
+ insurancePeriod: 'insurance_period',
1153
+ insuredObjectList: 'insured_object_list',
1154
+ };
1155
+ }
1156
+ static types() {
1157
+ return {
1158
+ authToken: 'string',
1159
+ insuranceApplicationNo: 'string',
1160
+ insuranceCompanyNo: 'string',
1161
+ trustworthyValueInsuranceTypeCode: 'string',
1162
+ insuranceProjectCode: 'string',
1163
+ insuranceOptionsCode: 'string',
1164
+ applicant: 'string',
1165
+ insuredList: 'string',
1166
+ beneficiaryList: 'string',
1167
+ insurancePeriodStart: 'string',
1168
+ insurancePeriodEnd: 'string',
1169
+ appliedInsuranceAmount: 'string',
1170
+ insurancePeriod: 'string',
1171
+ insuredObjectList: 'string',
1172
+ };
1173
+ }
1174
+ }
1175
+ exports.ApplyInsureTestRequest = ApplyInsureTestRequest;
1176
+ class ApplyInsureTestResponse extends $tea.Model {
1177
+ constructor(map) {
1178
+ super(map);
1179
+ }
1180
+ static names() {
1181
+ return {
1182
+ reqMsgId: 'req_msg_id',
1183
+ resultCode: 'result_code',
1184
+ resultMsg: 'result_msg',
1185
+ bizResult: 'biz_result',
1186
+ };
1187
+ }
1188
+ static types() {
1189
+ return {
1190
+ reqMsgId: 'string',
1191
+ resultCode: 'string',
1192
+ resultMsg: 'string',
1193
+ bizResult: 'string',
1194
+ };
1195
+ }
1196
+ }
1197
+ exports.ApplyInsureTestResponse = ApplyInsureTestResponse;
1198
+ class SubmitInvestigateCaseRequest extends $tea.Model {
1199
+ constructor(map) {
1200
+ super(map);
1201
+ }
1202
+ static names() {
1203
+ return {
1204
+ authToken: 'auth_token',
1205
+ reportNo: 'report_no',
1206
+ outCaseNo: 'out_case_no',
1207
+ policyNo: 'policy_no',
1208
+ entrustInsuranceCompanyId: 'entrust_insurance_company_id',
1209
+ investEndTime: 'invest_end_time',
1210
+ entrustName: 'entrust_name',
1211
+ entrustTel: 'entrust_tel',
1212
+ entrustTime: 'entrust_time',
1213
+ accidentTel: 'accident_tel',
1214
+ accidentName: 'accident_name',
1215
+ accidentCardNo: 'accident_card_no',
1216
+ accidentCardType: 'accident_card_type',
1217
+ accidentDesc: 'accident_desc',
1218
+ accidentAddressInfo: 'accident_address_info',
1219
+ accidentAddressDetail: 'accident_address_detail',
1220
+ accidentTime: 'accident_time',
1221
+ reporterTel: 'reporter_tel',
1222
+ reporterName: 'reporter_name',
1223
+ reporterCardNo: 'reporter_card_no',
1224
+ reporterCardType: 'reporter_card_type',
1225
+ reporterRelationToAccident: 'reporter_relation_to_accident',
1226
+ reportTime: 'report_time',
1227
+ eventAddressInfo: 'event_address_info',
1228
+ eventAddressDetail: 'event_address_detail',
1229
+ confirmHospital: 'confirm_hospital',
1230
+ confirmHospitalAddressInfo: 'confirm_hospital_address_info',
1231
+ confirmIllnessName: 'confirm_illness_name',
1232
+ productType: 'product_type',
1233
+ fileList: 'file_list',
1234
+ entrustGuaranteeProductList: 'entrust_guarantee_product_list',
1235
+ };
1236
+ }
1237
+ static types() {
1238
+ return {
1239
+ authToken: 'string',
1240
+ reportNo: 'string',
1241
+ outCaseNo: 'string',
1242
+ policyNo: 'string',
1243
+ entrustInsuranceCompanyId: 'string',
1244
+ investEndTime: 'number',
1245
+ entrustName: 'string',
1246
+ entrustTel: 'string',
1247
+ entrustTime: 'number',
1248
+ accidentTel: 'string',
1249
+ accidentName: 'string',
1250
+ accidentCardNo: 'string',
1251
+ accidentCardType: 'string',
1252
+ accidentDesc: 'string',
1253
+ accidentAddressInfo: 'string',
1254
+ accidentAddressDetail: 'string',
1255
+ accidentTime: 'number',
1256
+ reporterTel: 'string',
1257
+ reporterName: 'string',
1258
+ reporterCardNo: 'string',
1259
+ reporterCardType: 'string',
1260
+ reporterRelationToAccident: 'string',
1261
+ reportTime: 'number',
1262
+ eventAddressInfo: 'string',
1263
+ eventAddressDetail: 'string',
1264
+ confirmHospital: 'string',
1265
+ confirmHospitalAddressInfo: 'string',
1266
+ confirmIllnessName: 'string',
1267
+ productType: 'string',
1268
+ fileList: { 'type': 'array', 'itemType': FileNode },
1269
+ entrustGuaranteeProductList: { 'type': 'array', 'itemType': EntrustGuaranteeProduct },
1270
+ };
1271
+ }
1272
+ }
1273
+ exports.SubmitInvestigateCaseRequest = SubmitInvestigateCaseRequest;
1274
+ class SubmitInvestigateCaseResponse extends $tea.Model {
1275
+ constructor(map) {
1276
+ super(map);
1277
+ }
1278
+ static names() {
1279
+ return {
1280
+ reqMsgId: 'req_msg_id',
1281
+ resultCode: 'result_code',
1282
+ resultMsg: 'result_msg',
1283
+ };
1284
+ }
1285
+ static types() {
1286
+ return {
1287
+ reqMsgId: 'string',
1288
+ resultCode: 'string',
1289
+ resultMsg: 'string',
1290
+ };
1291
+ }
1292
+ }
1293
+ exports.SubmitInvestigateCaseResponse = SubmitInvestigateCaseResponse;
1294
+ class QueryReverseCommissionRequest extends $tea.Model {
1295
+ constructor(map) {
1296
+ super(map);
1297
+ }
1298
+ static names() {
1299
+ return {
1300
+ authToken: 'auth_token',
1301
+ outCaseNo: 'out_case_no',
1302
+ entrustInsuranceCompanyId: 'entrust_insurance_company_id',
1303
+ };
1304
+ }
1305
+ static types() {
1306
+ return {
1307
+ authToken: 'string',
1308
+ outCaseNo: 'string',
1309
+ entrustInsuranceCompanyId: 'string',
1310
+ };
1311
+ }
1312
+ }
1313
+ exports.QueryReverseCommissionRequest = QueryReverseCommissionRequest;
1314
+ class QueryReverseCommissionResponse extends $tea.Model {
1315
+ constructor(map) {
1316
+ super(map);
1317
+ }
1318
+ static names() {
1319
+ return {
1320
+ reqMsgId: 'req_msg_id',
1321
+ resultCode: 'result_code',
1322
+ resultMsg: 'result_msg',
1323
+ bizResult: 'biz_result',
1324
+ };
1325
+ }
1326
+ static types() {
1327
+ return {
1328
+ reqMsgId: 'string',
1329
+ resultCode: 'string',
1330
+ resultMsg: 'string',
1331
+ bizResult: 'string',
1332
+ };
1333
+ }
1334
+ }
1335
+ exports.QueryReverseCommissionResponse = QueryReverseCommissionResponse;
1336
+ class GetEmbedcardUrlRequest extends $tea.Model {
1337
+ constructor(map) {
1338
+ super(map);
1339
+ }
1340
+ static names() {
1341
+ return {
1342
+ authToken: 'auth_token',
1343
+ insuranceTypeCode: 'insurance_type_code',
1344
+ insuranceCompanyNo: 'insurance_company_no',
1345
+ embedProductCode: 'embed_product_code',
1346
+ isNeedInquiry: 'is_need_inquiry',
1347
+ tradeNo: 'trade_no',
1348
+ schemeName: 'scheme_name',
1349
+ applicant: 'applicant',
1350
+ insured: 'insured',
1351
+ subjectInfo: 'subject_info',
1352
+ };
1353
+ }
1354
+ static types() {
1355
+ return {
1356
+ authToken: 'string',
1357
+ insuranceTypeCode: 'string',
1358
+ insuranceCompanyNo: 'string',
1359
+ embedProductCode: 'string',
1360
+ isNeedInquiry: 'boolean',
1361
+ tradeNo: 'string',
1362
+ schemeName: 'string',
1363
+ applicant: Applicant,
1364
+ insured: Insured,
1365
+ subjectInfo: 'string',
1366
+ };
1367
+ }
1368
+ }
1369
+ exports.GetEmbedcardUrlRequest = GetEmbedcardUrlRequest;
1370
+ class GetEmbedcardUrlResponse extends $tea.Model {
1371
+ constructor(map) {
1372
+ super(map);
1373
+ }
1374
+ static names() {
1375
+ return {
1376
+ reqMsgId: 'req_msg_id',
1377
+ resultCode: 'result_code',
1378
+ resultMsg: 'result_msg',
1379
+ tradeNo: 'trade_no',
1380
+ insuranceTypeCode: 'insurance_type_code',
1381
+ insuranceCompanyNo: 'insurance_company_no',
1382
+ embedProductCode: 'embed_product_code',
1383
+ embedProductUrl: 'embed_product_url',
1384
+ schemeName: 'scheme_name',
1385
+ premium: 'premium',
1386
+ inquiryNo: 'inquiry_no',
1387
+ };
1388
+ }
1389
+ static types() {
1390
+ return {
1391
+ reqMsgId: 'string',
1392
+ resultCode: 'string',
1393
+ resultMsg: 'string',
1394
+ tradeNo: 'string',
1395
+ insuranceTypeCode: 'string',
1396
+ insuranceCompanyNo: 'string',
1397
+ embedProductCode: 'string',
1398
+ embedProductUrl: 'string',
1399
+ schemeName: 'string',
1400
+ premium: 'string',
1401
+ inquiryNo: 'string',
1402
+ };
1403
+ }
1404
+ }
1405
+ exports.GetEmbedcardUrlResponse = GetEmbedcardUrlResponse;
1406
+ class IssueEmbedcardPaysucRequest extends $tea.Model {
1407
+ constructor(map) {
1408
+ super(map);
1409
+ }
1410
+ static names() {
1411
+ return {
1412
+ authToken: 'auth_token',
1413
+ insuranceTypeCode: 'insurance_type_code',
1414
+ insuranceCompanyNo: 'insurance_company_no',
1415
+ embedProductCode: 'embed_product_code',
1416
+ tradeNo: 'trade_no',
1417
+ schemeName: 'scheme_name',
1418
+ premium: 'premium',
1419
+ premiumPaymentChannel: 'premium_payment_channel',
1420
+ premiumPaymentNo: 'premium_payment_no',
1421
+ premiumPaymentAmount: 'premium_payment_amount',
1422
+ premiumPaymentTime: 'premium_payment_time',
1423
+ inquiryNo: 'inquiry_no',
1424
+ };
1425
+ }
1426
+ static types() {
1427
+ return {
1428
+ authToken: 'string',
1429
+ insuranceTypeCode: 'string',
1430
+ insuranceCompanyNo: 'string',
1431
+ embedProductCode: 'string',
1432
+ tradeNo: 'string',
1433
+ schemeName: 'string',
1434
+ premium: 'string',
1435
+ premiumPaymentChannel: 'string',
1436
+ premiumPaymentNo: 'string',
1437
+ premiumPaymentAmount: 'string',
1438
+ premiumPaymentTime: 'string',
1439
+ inquiryNo: 'string',
1440
+ };
1441
+ }
1442
+ }
1443
+ exports.IssueEmbedcardPaysucRequest = IssueEmbedcardPaysucRequest;
1444
+ class IssueEmbedcardPaysucResponse extends $tea.Model {
1445
+ constructor(map) {
1446
+ super(map);
1447
+ }
1448
+ static names() {
1449
+ return {
1450
+ reqMsgId: 'req_msg_id',
1451
+ resultCode: 'result_code',
1452
+ resultMsg: 'result_msg',
1453
+ tradeNo: 'trade_no',
1454
+ insuranceTypeCode: 'insurance_type_code',
1455
+ insuranceCompanyNo: 'insurance_company_no',
1456
+ embedProductCode: 'embed_product_code',
1457
+ schemeName: 'scheme_name',
1458
+ insureStart: 'insure_start',
1459
+ insureEnd: 'insure_end',
1460
+ premium: 'premium',
1461
+ amount: 'amount',
1462
+ inquiryNo: 'inquiry_no',
1463
+ voucherNo: 'voucher_no',
1464
+ };
1465
+ }
1466
+ static types() {
1467
+ return {
1468
+ reqMsgId: 'string',
1469
+ resultCode: 'string',
1470
+ resultMsg: 'string',
1471
+ tradeNo: 'string',
1472
+ insuranceTypeCode: 'string',
1473
+ insuranceCompanyNo: 'string',
1474
+ embedProductCode: 'string',
1475
+ schemeName: 'string',
1476
+ insureStart: 'string',
1477
+ insureEnd: 'string',
1478
+ premium: 'string',
1479
+ amount: 'string',
1480
+ inquiryNo: 'string',
1481
+ voucherNo: 'string',
1482
+ };
1483
+ }
1484
+ }
1485
+ exports.IssueEmbedcardPaysucResponse = IssueEmbedcardPaysucResponse;
1486
+ class GetEmbedomeautoinsuranceUrlRequest extends $tea.Model {
1487
+ constructor(map) {
1488
+ super(map);
1489
+ }
1490
+ static names() {
1491
+ return {
1492
+ authToken: 'auth_token',
1493
+ requestNo: 'request_no',
1494
+ productCode: 'product_code',
1495
+ bizInfo: 'biz_info',
1496
+ };
1497
+ }
1498
+ static types() {
1499
+ return {
1500
+ authToken: 'string',
1501
+ requestNo: 'string',
1502
+ productCode: 'string',
1503
+ bizInfo: 'string',
1504
+ };
1505
+ }
1506
+ }
1507
+ exports.GetEmbedomeautoinsuranceUrlRequest = GetEmbedomeautoinsuranceUrlRequest;
1508
+ class GetEmbedomeautoinsuranceUrlResponse extends $tea.Model {
1509
+ constructor(map) {
1510
+ super(map);
1511
+ }
1512
+ static names() {
1513
+ return {
1514
+ reqMsgId: 'req_msg_id',
1515
+ resultCode: 'result_code',
1516
+ resultMsg: 'result_msg',
1517
+ url: 'url',
1518
+ requestNo: 'request_no',
1519
+ };
1520
+ }
1521
+ static types() {
1522
+ return {
1523
+ reqMsgId: 'string',
1524
+ resultCode: 'string',
1525
+ resultMsg: 'string',
1526
+ url: 'string',
1527
+ requestNo: 'string',
1528
+ };
1529
+ }
1530
+ }
1531
+ exports.GetEmbedomeautoinsuranceUrlResponse = GetEmbedomeautoinsuranceUrlResponse;
1040
1532
  class Client {
1041
1533
  /**
1042
1534
  * Init client with Config
@@ -1125,7 +1617,7 @@ class Client {
1125
1617
  req_msg_id: alipay_util_1.default.getNonce(),
1126
1618
  access_key: this._accessKeyId,
1127
1619
  base_sdk_version: "TeaSDK-2.0",
1128
- sdk_version: "1.7.10",
1620
+ sdk_version: "1.8.13",
1129
1621
  _prod_code: "INSURANCE_SAAS",
1130
1622
  _prod_channel: "undefined",
1131
1623
  };
@@ -1468,6 +1960,108 @@ class Client {
1468
1960
  tea_util_1.default.validateModel(request);
1469
1961
  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
1962
  }
1963
+ /**
1964
+ * Description: 投保测试接口
1965
+ * Summary: 投保测试接口
1966
+ */
1967
+ async applyInsureTest(request) {
1968
+ let runtime = new $Util.RuntimeOptions({});
1969
+ let headers = {};
1970
+ return await this.applyInsureTestEx(request, headers, runtime);
1971
+ }
1972
+ /**
1973
+ * Description: 投保测试接口
1974
+ * Summary: 投保测试接口
1975
+ */
1976
+ async applyInsureTestEx(request, headers, runtime) {
1977
+ tea_util_1.default.validateModel(request);
1978
+ return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.insure.test.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyInsureTestResponse({}));
1979
+ }
1980
+ /**
1981
+ * Description: 本接口用于调查报案数据的提交
1982
+ * Summary: 调查报案提交接口
1983
+ */
1984
+ async submitInvestigateCase(request) {
1985
+ let runtime = new $Util.RuntimeOptions({});
1986
+ let headers = {};
1987
+ return await this.submitInvestigateCaseEx(request, headers, runtime);
1988
+ }
1989
+ /**
1990
+ * Description: 本接口用于调查报案数据的提交
1991
+ * Summary: 调查报案提交接口
1992
+ */
1993
+ async submitInvestigateCaseEx(request, headers, runtime) {
1994
+ tea_util_1.default.validateModel(request);
1995
+ return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.investigate.case.submit", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SubmitInvestigateCaseResponse({}));
1996
+ }
1997
+ /**
1998
+ * Description: 回销结果查询接口
1999
+ * Summary: 回销结果查询接口
2000
+ */
2001
+ async queryReverseCommission(request) {
2002
+ let runtime = new $Util.RuntimeOptions({});
2003
+ let headers = {};
2004
+ return await this.queryReverseCommissionEx(request, headers, runtime);
2005
+ }
2006
+ /**
2007
+ * Description: 回销结果查询接口
2008
+ * Summary: 回销结果查询接口
2009
+ */
2010
+ async queryReverseCommissionEx(request, headers, runtime) {
2011
+ tea_util_1.default.validateModel(request);
2012
+ return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.reverse.commission.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryReverseCommissionResponse({}));
2013
+ }
2014
+ /**
2015
+ * Description: 嵌入式保险服务卡片url链接获取
2016
+ * Summary: 嵌入式保险服务卡片url链接获取
2017
+ */
2018
+ async getEmbedcardUrl(request) {
2019
+ let runtime = new $Util.RuntimeOptions({});
2020
+ let headers = {};
2021
+ return await this.getEmbedcardUrlEx(request, headers, runtime);
2022
+ }
2023
+ /**
2024
+ * Description: 嵌入式保险服务卡片url链接获取
2025
+ * Summary: 嵌入式保险服务卡片url链接获取
2026
+ */
2027
+ async getEmbedcardUrlEx(request, headers, runtime) {
2028
+ tea_util_1.default.validateModel(request);
2029
+ return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.embedcard.url.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetEmbedcardUrlResponse({}));
2030
+ }
2031
+ /**
2032
+ * Description: 嵌入式保险服务打款成功出单接口
2033
+ * Summary: 嵌入式保险服务打款成功出单接口
2034
+ */
2035
+ async issueEmbedcardPaysuc(request) {
2036
+ let runtime = new $Util.RuntimeOptions({});
2037
+ let headers = {};
2038
+ return await this.issueEmbedcardPaysucEx(request, headers, runtime);
2039
+ }
2040
+ /**
2041
+ * Description: 嵌入式保险服务打款成功出单接口
2042
+ * Summary: 嵌入式保险服务打款成功出单接口
2043
+ */
2044
+ async issueEmbedcardPaysucEx(request, headers, runtime) {
2045
+ tea_util_1.default.validateModel(request);
2046
+ return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.embedcard.paysuc.issue", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new IssueEmbedcardPaysucResponse({}));
2047
+ }
2048
+ /**
2049
+ * Description: 嵌入式主机厂车险url链接获取
2050
+ * Summary: 嵌入式主机厂车险url链接获取
2051
+ */
2052
+ async getEmbedomeautoinsuranceUrl(request) {
2053
+ let runtime = new $Util.RuntimeOptions({});
2054
+ let headers = {};
2055
+ return await this.getEmbedomeautoinsuranceUrlEx(request, headers, runtime);
2056
+ }
2057
+ /**
2058
+ * Description: 嵌入式主机厂车险url链接获取
2059
+ * Summary: 嵌入式主机厂车险url链接获取
2060
+ */
2061
+ async getEmbedomeautoinsuranceUrlEx(request, headers, runtime) {
2062
+ tea_util_1.default.validateModel(request);
2063
+ return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.embedomeautoinsurance.url.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetEmbedomeautoinsuranceUrlResponse({}));
2064
+ }
1471
2065
  }
1472
2066
  exports.default = Client;
1473
2067
  //# sourceMappingURL=client.js.map