@antchain/insurance_saas 1.10.4 → 1.12.36
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 +921 -9
- package/dist/client.js +1166 -101
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +2923 -1218
package/dist/client.js
CHANGED
|
@@ -22,13 +22,14 @@ 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.ReceiveLeadMarketResponse = exports.ReceiveLeadMarketRequest = exports.NotifyInterestSupplierorderResponse = exports.NotifyInterestSupplierorderRequest = exports.QueryInterestSceneorderResponse = exports.QueryInterestSceneorderRequest = exports.GetInterestUrlResponse = exports.GetInterestUrlRequest = exports.NotifyInterestSupplierpolicyResponse = exports.NotifyInterestSupplierpolicyRequest = exports.QueryInterestSuppliersubjectResponse = exports.QueryInterestSuppliersubjectRequest = exports.NotifyInterestScenesubjectResponse = exports.NotifyInterestScenesubjectRequest = exports.UpdateRightplatformApplyinfoResponse = exports.UpdateRightplatformApplyinfoRequest = exports.GetRightplatformUrlResponse = exports.GetRightplatformUrlRequest = exports.GetEmbedoemautoinsuranceUrlResponse = exports.GetEmbedoemautoinsuranceUrlRequest = 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;
|
|
25
|
+
exports.CreateAntcloudGatewayxFileUploadResponse = exports.CreateAntcloudGatewayxFileUploadRequest = exports.ReceiveBusinessOpportunitiesResponse = exports.ReceiveBusinessOpportunitiesRequest = exports.CallbackMktEffectResponse = exports.CallbackMktEffectRequest = exports.UploadMktFileResponse = exports.UploadMktFileRequest = exports.NotifyAutoinsuranceEventResponse = exports.NotifyAutoinsuranceEventRequest = exports.QueryLeadMarketResponse = exports.QueryLeadMarketRequest = exports.CallbackMarketingPolicycancelResponse = exports.CallbackMarketingPolicycancelRequest = exports.CallbackMarketingEventResponse = exports.CallbackMarketingEventRequest = exports.GetMarketingInsureurlResponse = exports.GetMarketingInsureurlRequest = exports.ReceiveLeadMarketResponse = exports.ReceiveLeadMarketRequest = exports.NotifyInterestSupplierorderResponse = exports.NotifyInterestSupplierorderRequest = exports.QueryInterestSceneorderResponse = exports.QueryInterestSceneorderRequest = exports.GetInterestUrlResponse = exports.GetInterestUrlRequest = exports.NotifyInterestSupplierpolicyResponse = exports.NotifyInterestSupplierpolicyRequest = exports.QueryInterestSuppliersubjectResponse = exports.QueryInterestSuppliersubjectRequest = exports.NotifyInterestScenesubjectResponse = exports.NotifyInterestScenesubjectRequest = exports.UpdateRightplatformApplyinfoResponse = exports.UpdateRightplatformApplyinfoRequest = exports.GetRightplatformUrlResponse = exports.GetRightplatformUrlRequest = exports.GetEmbedoemautoinsuranceUrlResponse = exports.GetEmbedoemautoinsuranceUrlRequest = 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.CallbackMktLiveeffectResponse = exports.CallbackMktLiveeffectRequest = exports.GetAasButleragentChaturlResponse = exports.GetAasButleragentChaturlRequest = exports.GetAasButleragentPlanurlResponse = exports.GetAasButleragentPlanurlRequest = exports.QueryAasButleragentSessionResponse = exports.QueryAasButleragentSessionRequest = exports.XNameValuePair = 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;
|
|
29
29
|
const rpc_util_1 = __importDefault(require("@alicloud/rpc-util"));
|
|
30
30
|
const $tea = __importStar(require("@alicloud/tea-typescript"));
|
|
31
31
|
/**
|
|
32
|
+
* @remarks
|
|
32
33
|
* Model for initing client
|
|
33
34
|
*/
|
|
34
35
|
class Config extends $tea.Model {
|
|
@@ -175,6 +176,235 @@ class EntrustGuaranteeProduct extends $tea.Model {
|
|
|
175
176
|
}
|
|
176
177
|
}
|
|
177
178
|
exports.EntrustGuaranteeProduct = EntrustGuaranteeProduct;
|
|
179
|
+
// 键值对
|
|
180
|
+
class XNameValuePair extends $tea.Model {
|
|
181
|
+
constructor(map) {
|
|
182
|
+
super(map);
|
|
183
|
+
}
|
|
184
|
+
static names() {
|
|
185
|
+
return {
|
|
186
|
+
name: 'name',
|
|
187
|
+
value: 'value',
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
static types() {
|
|
191
|
+
return {
|
|
192
|
+
name: 'string',
|
|
193
|
+
value: 'string',
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
exports.XNameValuePair = XNameValuePair;
|
|
198
|
+
class QueryAasButleragentSessionRequest extends $tea.Model {
|
|
199
|
+
constructor(map) {
|
|
200
|
+
super(map);
|
|
201
|
+
}
|
|
202
|
+
static names() {
|
|
203
|
+
return {
|
|
204
|
+
authToken: 'auth_token',
|
|
205
|
+
productCode: 'product_code',
|
|
206
|
+
requestId: 'request_id',
|
|
207
|
+
customerId: 'customer_id',
|
|
208
|
+
startTime: 'start_time',
|
|
209
|
+
endTime: 'end_time',
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
static types() {
|
|
213
|
+
return {
|
|
214
|
+
authToken: 'string',
|
|
215
|
+
productCode: 'string',
|
|
216
|
+
requestId: 'string',
|
|
217
|
+
customerId: 'string',
|
|
218
|
+
startTime: 'string',
|
|
219
|
+
endTime: 'string',
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
exports.QueryAasButleragentSessionRequest = QueryAasButleragentSessionRequest;
|
|
224
|
+
class QueryAasButleragentSessionResponse extends $tea.Model {
|
|
225
|
+
constructor(map) {
|
|
226
|
+
super(map);
|
|
227
|
+
}
|
|
228
|
+
static names() {
|
|
229
|
+
return {
|
|
230
|
+
reqMsgId: 'req_msg_id',
|
|
231
|
+
resultCode: 'result_code',
|
|
232
|
+
resultMsg: 'result_msg',
|
|
233
|
+
bizResult: 'biz_result',
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
static types() {
|
|
237
|
+
return {
|
|
238
|
+
reqMsgId: 'string',
|
|
239
|
+
resultCode: 'string',
|
|
240
|
+
resultMsg: 'string',
|
|
241
|
+
bizResult: 'string',
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
exports.QueryAasButleragentSessionResponse = QueryAasButleragentSessionResponse;
|
|
246
|
+
class GetAasButleragentPlanurlRequest extends $tea.Model {
|
|
247
|
+
constructor(map) {
|
|
248
|
+
super(map);
|
|
249
|
+
}
|
|
250
|
+
static names() {
|
|
251
|
+
return {
|
|
252
|
+
authToken: 'auth_token',
|
|
253
|
+
productCode: 'product_code',
|
|
254
|
+
requestId: 'request_id',
|
|
255
|
+
planNo: 'plan_no',
|
|
256
|
+
customerId: 'customer_id',
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
static types() {
|
|
260
|
+
return {
|
|
261
|
+
authToken: 'string',
|
|
262
|
+
productCode: 'string',
|
|
263
|
+
requestId: 'string',
|
|
264
|
+
planNo: 'string',
|
|
265
|
+
customerId: 'string',
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
exports.GetAasButleragentPlanurlRequest = GetAasButleragentPlanurlRequest;
|
|
270
|
+
class GetAasButleragentPlanurlResponse extends $tea.Model {
|
|
271
|
+
constructor(map) {
|
|
272
|
+
super(map);
|
|
273
|
+
}
|
|
274
|
+
static names() {
|
|
275
|
+
return {
|
|
276
|
+
reqMsgId: 'req_msg_id',
|
|
277
|
+
resultCode: 'result_code',
|
|
278
|
+
resultMsg: 'result_msg',
|
|
279
|
+
bizResult: 'biz_result',
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
static types() {
|
|
283
|
+
return {
|
|
284
|
+
reqMsgId: 'string',
|
|
285
|
+
resultCode: 'string',
|
|
286
|
+
resultMsg: 'string',
|
|
287
|
+
bizResult: 'string',
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
exports.GetAasButleragentPlanurlResponse = GetAasButleragentPlanurlResponse;
|
|
292
|
+
class GetAasButleragentChaturlRequest extends $tea.Model {
|
|
293
|
+
constructor(map) {
|
|
294
|
+
super(map);
|
|
295
|
+
}
|
|
296
|
+
static names() {
|
|
297
|
+
return {
|
|
298
|
+
authToken: 'auth_token',
|
|
299
|
+
requestId: 'request_id',
|
|
300
|
+
customerAuthInfo: 'customer_auth_info',
|
|
301
|
+
productCode: 'product_code',
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
static types() {
|
|
305
|
+
return {
|
|
306
|
+
authToken: 'string',
|
|
307
|
+
requestId: 'string',
|
|
308
|
+
customerAuthInfo: 'string',
|
|
309
|
+
productCode: 'string',
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
exports.GetAasButleragentChaturlRequest = GetAasButleragentChaturlRequest;
|
|
314
|
+
class GetAasButleragentChaturlResponse extends $tea.Model {
|
|
315
|
+
constructor(map) {
|
|
316
|
+
super(map);
|
|
317
|
+
}
|
|
318
|
+
static names() {
|
|
319
|
+
return {
|
|
320
|
+
reqMsgId: 'req_msg_id',
|
|
321
|
+
resultCode: 'result_code',
|
|
322
|
+
resultMsg: 'result_msg',
|
|
323
|
+
bizResult: 'biz_result',
|
|
324
|
+
};
|
|
325
|
+
}
|
|
326
|
+
static types() {
|
|
327
|
+
return {
|
|
328
|
+
reqMsgId: 'string',
|
|
329
|
+
resultCode: 'string',
|
|
330
|
+
resultMsg: 'string',
|
|
331
|
+
bizResult: 'string',
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
exports.GetAasButleragentChaturlResponse = GetAasButleragentChaturlResponse;
|
|
336
|
+
class CallbackMktLiveeffectRequest extends $tea.Model {
|
|
337
|
+
constructor(map) {
|
|
338
|
+
super(map);
|
|
339
|
+
}
|
|
340
|
+
static names() {
|
|
341
|
+
return {
|
|
342
|
+
authToken: 'auth_token',
|
|
343
|
+
requestId: 'request_id',
|
|
344
|
+
projectId: 'project_id',
|
|
345
|
+
marketingMode: 'marketing_mode',
|
|
346
|
+
encryptionType: 'encryption_type',
|
|
347
|
+
encryptedUserId: 'encrypted_user_id',
|
|
348
|
+
eventTime: 'event_time',
|
|
349
|
+
nodeType: 'node_type',
|
|
350
|
+
nodeInfo: 'node_info',
|
|
351
|
+
landingPageUrl: 'landing_page_url',
|
|
352
|
+
clickId: 'click_id',
|
|
353
|
+
productId: 'product_id',
|
|
354
|
+
ip: 'ip',
|
|
355
|
+
ua: 'ua',
|
|
356
|
+
liveRoomId: 'live_room_id',
|
|
357
|
+
liveStartTime: 'live_start_time',
|
|
358
|
+
extInfo: 'ext_info',
|
|
359
|
+
liveSessionId: 'live_session_id',
|
|
360
|
+
};
|
|
361
|
+
}
|
|
362
|
+
static types() {
|
|
363
|
+
return {
|
|
364
|
+
authToken: 'string',
|
|
365
|
+
requestId: 'string',
|
|
366
|
+
projectId: 'string',
|
|
367
|
+
marketingMode: 'string',
|
|
368
|
+
encryptionType: 'string',
|
|
369
|
+
encryptedUserId: 'string',
|
|
370
|
+
eventTime: 'string',
|
|
371
|
+
nodeType: 'string',
|
|
372
|
+
nodeInfo: 'string',
|
|
373
|
+
landingPageUrl: 'string',
|
|
374
|
+
clickId: 'string',
|
|
375
|
+
productId: 'string',
|
|
376
|
+
ip: 'string',
|
|
377
|
+
ua: 'string',
|
|
378
|
+
liveRoomId: 'string',
|
|
379
|
+
liveStartTime: 'string',
|
|
380
|
+
extInfo: 'string',
|
|
381
|
+
liveSessionId: 'string',
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
exports.CallbackMktLiveeffectRequest = CallbackMktLiveeffectRequest;
|
|
386
|
+
class CallbackMktLiveeffectResponse extends $tea.Model {
|
|
387
|
+
constructor(map) {
|
|
388
|
+
super(map);
|
|
389
|
+
}
|
|
390
|
+
static names() {
|
|
391
|
+
return {
|
|
392
|
+
reqMsgId: 'req_msg_id',
|
|
393
|
+
resultCode: 'result_code',
|
|
394
|
+
resultMsg: 'result_msg',
|
|
395
|
+
requestId: 'request_id',
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
static types() {
|
|
399
|
+
return {
|
|
400
|
+
reqMsgId: 'string',
|
|
401
|
+
resultCode: 'string',
|
|
402
|
+
resultMsg: 'string',
|
|
403
|
+
requestId: 'string',
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
exports.CallbackMktLiveeffectResponse = CallbackMktLiveeffectResponse;
|
|
178
408
|
class QueryInquiryRequest extends $tea.Model {
|
|
179
409
|
constructor(map) {
|
|
180
410
|
super(map);
|
|
@@ -1892,6 +2122,8 @@ class NotifyInterestSupplierorderRequest extends $tea.Model {
|
|
|
1892
2122
|
refundAmount: 'refund_amount',
|
|
1893
2123
|
refundTime: 'refund_time',
|
|
1894
2124
|
notaryStatus: 'notary_status',
|
|
2125
|
+
paymentTime: 'payment_time',
|
|
2126
|
+
interestVersion: 'interest_version',
|
|
1895
2127
|
};
|
|
1896
2128
|
}
|
|
1897
2129
|
static types() {
|
|
@@ -1905,6 +2137,8 @@ class NotifyInterestSupplierorderRequest extends $tea.Model {
|
|
|
1905
2137
|
refundAmount: 'string',
|
|
1906
2138
|
refundTime: 'string',
|
|
1907
2139
|
notaryStatus: 'string',
|
|
2140
|
+
paymentTime: 'string',
|
|
2141
|
+
interestVersion: 'string',
|
|
1908
2142
|
};
|
|
1909
2143
|
}
|
|
1910
2144
|
}
|
|
@@ -1938,7 +2172,7 @@ class ReceiveLeadMarketRequest extends $tea.Model {
|
|
|
1938
2172
|
static names() {
|
|
1939
2173
|
return {
|
|
1940
2174
|
authToken: 'auth_token',
|
|
1941
|
-
|
|
2175
|
+
requestId: 'request_id',
|
|
1942
2176
|
productCode: 'product_code',
|
|
1943
2177
|
bizContent: 'biz_content',
|
|
1944
2178
|
};
|
|
@@ -1946,7 +2180,7 @@ class ReceiveLeadMarketRequest extends $tea.Model {
|
|
|
1946
2180
|
static types() {
|
|
1947
2181
|
return {
|
|
1948
2182
|
authToken: 'string',
|
|
1949
|
-
|
|
2183
|
+
requestId: 'string',
|
|
1950
2184
|
productCode: 'string',
|
|
1951
2185
|
bizContent: 'string',
|
|
1952
2186
|
};
|
|
@@ -1975,106 +2209,604 @@ class ReceiveLeadMarketResponse extends $tea.Model {
|
|
|
1975
2209
|
}
|
|
1976
2210
|
}
|
|
1977
2211
|
exports.ReceiveLeadMarketResponse = ReceiveLeadMarketResponse;
|
|
1978
|
-
class
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
* @param config config contains the necessary information to create a client
|
|
1982
|
-
*/
|
|
1983
|
-
constructor(config) {
|
|
1984
|
-
if (tea_util_1.default.isUnset(config)) {
|
|
1985
|
-
throw $tea.newError({
|
|
1986
|
-
code: "ParameterMissing",
|
|
1987
|
-
message: "'config' can not be unset",
|
|
1988
|
-
});
|
|
1989
|
-
}
|
|
1990
|
-
this._accessKeyId = config.accessKeyId;
|
|
1991
|
-
this._accessKeySecret = config.accessKeySecret;
|
|
1992
|
-
this._securityToken = config.securityToken;
|
|
1993
|
-
this._endpoint = config.endpoint;
|
|
1994
|
-
this._protocol = config.protocol;
|
|
1995
|
-
this._userAgent = config.userAgent;
|
|
1996
|
-
this._readTimeout = tea_util_1.default.defaultNumber(config.readTimeout, 20000);
|
|
1997
|
-
this._connectTimeout = tea_util_1.default.defaultNumber(config.connectTimeout, 20000);
|
|
1998
|
-
this._httpProxy = config.httpProxy;
|
|
1999
|
-
this._httpsProxy = config.httpsProxy;
|
|
2000
|
-
this._noProxy = config.noProxy;
|
|
2001
|
-
this._socks5Proxy = config.socks5Proxy;
|
|
2002
|
-
this._socks5NetWork = config.socks5NetWork;
|
|
2003
|
-
this._maxIdleConns = tea_util_1.default.defaultNumber(config.maxIdleConns, 60000);
|
|
2004
|
-
this._maxIdleTimeMillis = tea_util_1.default.defaultNumber(config.maxIdleTimeMillis, 5);
|
|
2005
|
-
this._keepAliveDurationMillis = tea_util_1.default.defaultNumber(config.keepAliveDurationMillis, 5000);
|
|
2006
|
-
this._maxRequests = tea_util_1.default.defaultNumber(config.maxRequests, 100);
|
|
2007
|
-
this._maxRequestsPerHost = tea_util_1.default.defaultNumber(config.maxRequestsPerHost, 100);
|
|
2212
|
+
class GetMarketingInsureurlRequest extends $tea.Model {
|
|
2213
|
+
constructor(map) {
|
|
2214
|
+
super(map);
|
|
2008
2215
|
}
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
keepAliveDuration: this._keepAliveDurationMillis,
|
|
2030
|
-
maxRequests: this._maxRequests,
|
|
2031
|
-
maxRequestsPerHost: this._maxRequestsPerHost,
|
|
2032
|
-
retry: {
|
|
2033
|
-
retryable: runtime.autoretry,
|
|
2034
|
-
maxAttempts: tea_util_1.default.defaultNumber(runtime.maxAttempts, 3),
|
|
2035
|
-
},
|
|
2036
|
-
backoff: {
|
|
2037
|
-
policy: tea_util_1.default.defaultString(runtime.backoffPolicy, "no"),
|
|
2038
|
-
period: tea_util_1.default.defaultNumber(runtime.backoffPeriod, 1),
|
|
2039
|
-
},
|
|
2040
|
-
ignoreSSL: runtime.ignoreSSL,
|
|
2216
|
+
static names() {
|
|
2217
|
+
return {
|
|
2218
|
+
authToken: 'auth_token',
|
|
2219
|
+
requestId: 'request_id',
|
|
2220
|
+
productCode: 'product_code',
|
|
2221
|
+
channelCode: 'channel_code',
|
|
2222
|
+
issueOrg: 'issue_org',
|
|
2223
|
+
channelProductCode: 'channel_product_code',
|
|
2224
|
+
channelProductType: 'channel_product_type',
|
|
2225
|
+
insurancePlan: 'insurance_plan',
|
|
2226
|
+
firstChannel: 'first_channel',
|
|
2227
|
+
secondChannel: 'second_channel',
|
|
2228
|
+
advertisingPosition: 'advertising_position',
|
|
2229
|
+
deviceType: 'device_type',
|
|
2230
|
+
deviceId: 'device_id',
|
|
2231
|
+
clickTime: 'click_time',
|
|
2232
|
+
sceneOrderNo: 'scene_order_no',
|
|
2233
|
+
applicantName: 'applicant_name',
|
|
2234
|
+
applicantCertNo: 'applicant_cert_no',
|
|
2235
|
+
applicantPhone: 'applicant_phone',
|
|
2041
2236
|
};
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2237
|
+
}
|
|
2238
|
+
static types() {
|
|
2239
|
+
return {
|
|
2240
|
+
authToken: 'string',
|
|
2241
|
+
requestId: 'string',
|
|
2242
|
+
productCode: 'string',
|
|
2243
|
+
channelCode: 'string',
|
|
2244
|
+
issueOrg: 'string',
|
|
2245
|
+
channelProductCode: 'string',
|
|
2246
|
+
channelProductType: 'string',
|
|
2247
|
+
insurancePlan: 'string',
|
|
2248
|
+
firstChannel: 'string',
|
|
2249
|
+
secondChannel: 'string',
|
|
2250
|
+
advertisingPosition: 'string',
|
|
2251
|
+
deviceType: 'string',
|
|
2252
|
+
deviceId: 'string',
|
|
2253
|
+
clickTime: 'string',
|
|
2254
|
+
sceneOrderNo: 'string',
|
|
2255
|
+
applicantName: 'string',
|
|
2256
|
+
applicantCertNo: 'string',
|
|
2257
|
+
applicantPhone: 'string',
|
|
2258
|
+
};
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
exports.GetMarketingInsureurlRequest = GetMarketingInsureurlRequest;
|
|
2262
|
+
class GetMarketingInsureurlResponse extends $tea.Model {
|
|
2263
|
+
constructor(map) {
|
|
2264
|
+
super(map);
|
|
2265
|
+
}
|
|
2266
|
+
static names() {
|
|
2267
|
+
return {
|
|
2268
|
+
reqMsgId: 'req_msg_id',
|
|
2269
|
+
resultCode: 'result_code',
|
|
2270
|
+
resultMsg: 'result_msg',
|
|
2271
|
+
requestId: 'request_id',
|
|
2272
|
+
firstChannel: 'first_channel',
|
|
2273
|
+
secondChannel: 'second_channel',
|
|
2274
|
+
advertisingPosition: 'advertising_position',
|
|
2275
|
+
sceneOrderNo: 'scene_order_no',
|
|
2276
|
+
clickId: 'click_id',
|
|
2277
|
+
insureUrl: 'insure_url',
|
|
2278
|
+
};
|
|
2279
|
+
}
|
|
2280
|
+
static types() {
|
|
2281
|
+
return {
|
|
2282
|
+
reqMsgId: 'string',
|
|
2283
|
+
resultCode: 'string',
|
|
2284
|
+
resultMsg: 'string',
|
|
2285
|
+
requestId: 'string',
|
|
2286
|
+
firstChannel: 'string',
|
|
2287
|
+
secondChannel: 'string',
|
|
2288
|
+
advertisingPosition: 'string',
|
|
2289
|
+
sceneOrderNo: 'string',
|
|
2290
|
+
clickId: 'string',
|
|
2291
|
+
insureUrl: 'string',
|
|
2292
|
+
};
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
exports.GetMarketingInsureurlResponse = GetMarketingInsureurlResponse;
|
|
2296
|
+
class CallbackMarketingEventRequest extends $tea.Model {
|
|
2297
|
+
constructor(map) {
|
|
2298
|
+
super(map);
|
|
2299
|
+
}
|
|
2300
|
+
static names() {
|
|
2301
|
+
return {
|
|
2302
|
+
authToken: 'auth_token',
|
|
2303
|
+
requestId: 'request_id',
|
|
2304
|
+
clickId: 'click_id',
|
|
2305
|
+
clickTime: 'click_time',
|
|
2306
|
+
eventCode: 'event_code',
|
|
2307
|
+
eventTime: 'event_time',
|
|
2308
|
+
firstChannel: 'first_channel',
|
|
2309
|
+
secondChannel: 'second_channel',
|
|
2310
|
+
advertisingPosition: 'advertising_position',
|
|
2311
|
+
eventInfo: 'event_info',
|
|
2312
|
+
};
|
|
2313
|
+
}
|
|
2314
|
+
static types() {
|
|
2315
|
+
return {
|
|
2316
|
+
authToken: 'string',
|
|
2317
|
+
requestId: 'string',
|
|
2318
|
+
clickId: 'string',
|
|
2319
|
+
clickTime: 'string',
|
|
2320
|
+
eventCode: 'string',
|
|
2321
|
+
eventTime: 'string',
|
|
2322
|
+
firstChannel: 'string',
|
|
2323
|
+
secondChannel: 'string',
|
|
2324
|
+
advertisingPosition: 'string',
|
|
2325
|
+
eventInfo: 'string',
|
|
2326
|
+
};
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2329
|
+
exports.CallbackMarketingEventRequest = CallbackMarketingEventRequest;
|
|
2330
|
+
class CallbackMarketingEventResponse extends $tea.Model {
|
|
2331
|
+
constructor(map) {
|
|
2332
|
+
super(map);
|
|
2333
|
+
}
|
|
2334
|
+
static names() {
|
|
2335
|
+
return {
|
|
2336
|
+
reqMsgId: 'req_msg_id',
|
|
2337
|
+
resultCode: 'result_code',
|
|
2338
|
+
resultMsg: 'result_msg',
|
|
2339
|
+
requestId: 'request_id',
|
|
2340
|
+
};
|
|
2341
|
+
}
|
|
2342
|
+
static types() {
|
|
2343
|
+
return {
|
|
2344
|
+
reqMsgId: 'string',
|
|
2345
|
+
resultCode: 'string',
|
|
2346
|
+
resultMsg: 'string',
|
|
2347
|
+
requestId: 'string',
|
|
2348
|
+
};
|
|
2349
|
+
}
|
|
2350
|
+
}
|
|
2351
|
+
exports.CallbackMarketingEventResponse = CallbackMarketingEventResponse;
|
|
2352
|
+
class CallbackMarketingPolicycancelRequest extends $tea.Model {
|
|
2353
|
+
constructor(map) {
|
|
2354
|
+
super(map);
|
|
2355
|
+
}
|
|
2356
|
+
static names() {
|
|
2357
|
+
return {
|
|
2358
|
+
authToken: 'auth_token',
|
|
2359
|
+
requestId: 'request_id',
|
|
2360
|
+
policyNo: 'policy_no',
|
|
2361
|
+
cancelTime: 'cancel_time',
|
|
2362
|
+
endTime: 'end_time',
|
|
2363
|
+
};
|
|
2364
|
+
}
|
|
2365
|
+
static types() {
|
|
2366
|
+
return {
|
|
2367
|
+
authToken: 'string',
|
|
2368
|
+
requestId: 'string',
|
|
2369
|
+
policyNo: 'string',
|
|
2370
|
+
cancelTime: 'string',
|
|
2371
|
+
endTime: 'string',
|
|
2372
|
+
};
|
|
2373
|
+
}
|
|
2374
|
+
}
|
|
2375
|
+
exports.CallbackMarketingPolicycancelRequest = CallbackMarketingPolicycancelRequest;
|
|
2376
|
+
class CallbackMarketingPolicycancelResponse extends $tea.Model {
|
|
2377
|
+
constructor(map) {
|
|
2378
|
+
super(map);
|
|
2379
|
+
}
|
|
2380
|
+
static names() {
|
|
2381
|
+
return {
|
|
2382
|
+
reqMsgId: 'req_msg_id',
|
|
2383
|
+
resultCode: 'result_code',
|
|
2384
|
+
resultMsg: 'result_msg',
|
|
2385
|
+
requestId: 'request_id',
|
|
2386
|
+
};
|
|
2387
|
+
}
|
|
2388
|
+
static types() {
|
|
2389
|
+
return {
|
|
2390
|
+
reqMsgId: 'string',
|
|
2391
|
+
resultCode: 'string',
|
|
2392
|
+
resultMsg: 'string',
|
|
2393
|
+
requestId: 'string',
|
|
2394
|
+
};
|
|
2395
|
+
}
|
|
2396
|
+
}
|
|
2397
|
+
exports.CallbackMarketingPolicycancelResponse = CallbackMarketingPolicycancelResponse;
|
|
2398
|
+
class QueryLeadMarketRequest extends $tea.Model {
|
|
2399
|
+
constructor(map) {
|
|
2400
|
+
super(map);
|
|
2401
|
+
}
|
|
2402
|
+
static names() {
|
|
2403
|
+
return {
|
|
2404
|
+
authToken: 'auth_token',
|
|
2405
|
+
productCode: 'product_code',
|
|
2406
|
+
bizContent: 'biz_content',
|
|
2407
|
+
leadId: 'lead_id',
|
|
2408
|
+
};
|
|
2409
|
+
}
|
|
2410
|
+
static types() {
|
|
2411
|
+
return {
|
|
2412
|
+
authToken: 'string',
|
|
2413
|
+
productCode: 'string',
|
|
2414
|
+
bizContent: 'string',
|
|
2415
|
+
leadId: 'string',
|
|
2416
|
+
};
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
exports.QueryLeadMarketRequest = QueryLeadMarketRequest;
|
|
2420
|
+
class QueryLeadMarketResponse extends $tea.Model {
|
|
2421
|
+
constructor(map) {
|
|
2422
|
+
super(map);
|
|
2423
|
+
}
|
|
2424
|
+
static names() {
|
|
2425
|
+
return {
|
|
2426
|
+
reqMsgId: 'req_msg_id',
|
|
2427
|
+
resultCode: 'result_code',
|
|
2428
|
+
resultMsg: 'result_msg',
|
|
2429
|
+
bizResult: 'biz_result',
|
|
2430
|
+
};
|
|
2431
|
+
}
|
|
2432
|
+
static types() {
|
|
2433
|
+
return {
|
|
2434
|
+
reqMsgId: 'string',
|
|
2435
|
+
resultCode: 'string',
|
|
2436
|
+
resultMsg: 'string',
|
|
2437
|
+
bizResult: 'string',
|
|
2438
|
+
};
|
|
2439
|
+
}
|
|
2440
|
+
}
|
|
2441
|
+
exports.QueryLeadMarketResponse = QueryLeadMarketResponse;
|
|
2442
|
+
class NotifyAutoinsuranceEventRequest extends $tea.Model {
|
|
2443
|
+
constructor(map) {
|
|
2444
|
+
super(map);
|
|
2445
|
+
}
|
|
2446
|
+
static names() {
|
|
2447
|
+
return {
|
|
2448
|
+
authToken: 'auth_token',
|
|
2449
|
+
requestNo: 'request_no',
|
|
2450
|
+
vin: 'vin',
|
|
2451
|
+
noticeType: 'notice_type',
|
|
2452
|
+
insureType: 'insure_type',
|
|
2453
|
+
happenTime: 'happen_time',
|
|
2454
|
+
extraInfo: 'extra_info',
|
|
2455
|
+
};
|
|
2456
|
+
}
|
|
2457
|
+
static types() {
|
|
2458
|
+
return {
|
|
2459
|
+
authToken: 'string',
|
|
2460
|
+
requestNo: 'string',
|
|
2461
|
+
vin: 'string',
|
|
2462
|
+
noticeType: 'string',
|
|
2463
|
+
insureType: 'string',
|
|
2464
|
+
happenTime: 'string',
|
|
2465
|
+
extraInfo: 'string',
|
|
2466
|
+
};
|
|
2467
|
+
}
|
|
2468
|
+
}
|
|
2469
|
+
exports.NotifyAutoinsuranceEventRequest = NotifyAutoinsuranceEventRequest;
|
|
2470
|
+
class NotifyAutoinsuranceEventResponse extends $tea.Model {
|
|
2471
|
+
constructor(map) {
|
|
2472
|
+
super(map);
|
|
2473
|
+
}
|
|
2474
|
+
static names() {
|
|
2475
|
+
return {
|
|
2476
|
+
reqMsgId: 'req_msg_id',
|
|
2477
|
+
resultCode: 'result_code',
|
|
2478
|
+
resultMsg: 'result_msg',
|
|
2479
|
+
requestNo: 'request_no',
|
|
2480
|
+
};
|
|
2481
|
+
}
|
|
2482
|
+
static types() {
|
|
2483
|
+
return {
|
|
2484
|
+
reqMsgId: 'string',
|
|
2485
|
+
resultCode: 'string',
|
|
2486
|
+
resultMsg: 'string',
|
|
2487
|
+
requestNo: 'string',
|
|
2488
|
+
};
|
|
2489
|
+
}
|
|
2490
|
+
}
|
|
2491
|
+
exports.NotifyAutoinsuranceEventResponse = NotifyAutoinsuranceEventResponse;
|
|
2492
|
+
class UploadMktFileRequest extends $tea.Model {
|
|
2493
|
+
constructor(map) {
|
|
2494
|
+
super(map);
|
|
2495
|
+
}
|
|
2496
|
+
static names() {
|
|
2497
|
+
return {
|
|
2498
|
+
authToken: 'auth_token',
|
|
2499
|
+
fileObject: 'fileObject',
|
|
2500
|
+
fileObjectName: 'fileObjectName',
|
|
2501
|
+
fileId: 'file_id',
|
|
2502
|
+
bizContent: 'biz_content',
|
|
2503
|
+
requestId: 'request_id',
|
|
2504
|
+
productCode: 'product_code',
|
|
2505
|
+
dataType: 'data_type',
|
|
2506
|
+
};
|
|
2507
|
+
}
|
|
2508
|
+
static types() {
|
|
2509
|
+
return {
|
|
2510
|
+
authToken: 'string',
|
|
2511
|
+
fileObject: 'Readable',
|
|
2512
|
+
fileObjectName: 'string',
|
|
2513
|
+
fileId: 'string',
|
|
2514
|
+
bizContent: 'string',
|
|
2515
|
+
requestId: 'string',
|
|
2516
|
+
productCode: 'string',
|
|
2517
|
+
dataType: 'string',
|
|
2518
|
+
};
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2521
|
+
exports.UploadMktFileRequest = UploadMktFileRequest;
|
|
2522
|
+
class UploadMktFileResponse extends $tea.Model {
|
|
2523
|
+
constructor(map) {
|
|
2524
|
+
super(map);
|
|
2525
|
+
}
|
|
2526
|
+
static names() {
|
|
2527
|
+
return {
|
|
2528
|
+
reqMsgId: 'req_msg_id',
|
|
2529
|
+
resultCode: 'result_code',
|
|
2530
|
+
resultMsg: 'result_msg',
|
|
2531
|
+
requestId: 'request_id',
|
|
2532
|
+
};
|
|
2533
|
+
}
|
|
2534
|
+
static types() {
|
|
2535
|
+
return {
|
|
2536
|
+
reqMsgId: 'string',
|
|
2537
|
+
resultCode: 'string',
|
|
2538
|
+
resultMsg: 'string',
|
|
2539
|
+
requestId: 'string',
|
|
2540
|
+
};
|
|
2541
|
+
}
|
|
2542
|
+
}
|
|
2543
|
+
exports.UploadMktFileResponse = UploadMktFileResponse;
|
|
2544
|
+
class CallbackMktEffectRequest extends $tea.Model {
|
|
2545
|
+
constructor(map) {
|
|
2546
|
+
super(map);
|
|
2547
|
+
}
|
|
2548
|
+
static names() {
|
|
2549
|
+
return {
|
|
2550
|
+
authToken: 'auth_token',
|
|
2551
|
+
requestId: 'request_id',
|
|
2552
|
+
projectId: 'project_id',
|
|
2553
|
+
marketingMode: 'marketing_mode',
|
|
2554
|
+
insureShortUrl: 'insure_short_url',
|
|
2555
|
+
encryptionType: 'encryption_type',
|
|
2556
|
+
encryptedUserId: 'encrypted_user_id',
|
|
2557
|
+
landingVisitId: 'landing_visit_id',
|
|
2558
|
+
clickTime: 'click_time',
|
|
2559
|
+
eventTime: 'event_time',
|
|
2560
|
+
nodeType: 'node_type',
|
|
2561
|
+
nodeInfo: 'node_info',
|
|
2562
|
+
};
|
|
2563
|
+
}
|
|
2564
|
+
static types() {
|
|
2565
|
+
return {
|
|
2566
|
+
authToken: 'string',
|
|
2567
|
+
requestId: 'string',
|
|
2568
|
+
projectId: 'string',
|
|
2569
|
+
marketingMode: 'string',
|
|
2570
|
+
insureShortUrl: 'string',
|
|
2571
|
+
encryptionType: 'string',
|
|
2572
|
+
encryptedUserId: 'string',
|
|
2573
|
+
landingVisitId: 'string',
|
|
2574
|
+
clickTime: 'string',
|
|
2575
|
+
eventTime: 'string',
|
|
2576
|
+
nodeType: 'string',
|
|
2577
|
+
nodeInfo: 'string',
|
|
2578
|
+
};
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2581
|
+
exports.CallbackMktEffectRequest = CallbackMktEffectRequest;
|
|
2582
|
+
class CallbackMktEffectResponse extends $tea.Model {
|
|
2583
|
+
constructor(map) {
|
|
2584
|
+
super(map);
|
|
2585
|
+
}
|
|
2586
|
+
static names() {
|
|
2587
|
+
return {
|
|
2588
|
+
reqMsgId: 'req_msg_id',
|
|
2589
|
+
resultCode: 'result_code',
|
|
2590
|
+
resultMsg: 'result_msg',
|
|
2591
|
+
requestId: 'request_id',
|
|
2592
|
+
};
|
|
2593
|
+
}
|
|
2594
|
+
static types() {
|
|
2595
|
+
return {
|
|
2596
|
+
reqMsgId: 'string',
|
|
2597
|
+
resultCode: 'string',
|
|
2598
|
+
resultMsg: 'string',
|
|
2599
|
+
requestId: 'string',
|
|
2600
|
+
};
|
|
2601
|
+
}
|
|
2602
|
+
}
|
|
2603
|
+
exports.CallbackMktEffectResponse = CallbackMktEffectResponse;
|
|
2604
|
+
class ReceiveBusinessOpportunitiesRequest extends $tea.Model {
|
|
2605
|
+
constructor(map) {
|
|
2606
|
+
super(map);
|
|
2607
|
+
}
|
|
2608
|
+
static names() {
|
|
2609
|
+
return {
|
|
2610
|
+
authToken: 'auth_token',
|
|
2611
|
+
requestId: 'request_id',
|
|
2612
|
+
channelCode: 'channel_code',
|
|
2613
|
+
productCode: 'product_code',
|
|
2614
|
+
bizContent: 'biz_content',
|
|
2615
|
+
};
|
|
2616
|
+
}
|
|
2617
|
+
static types() {
|
|
2618
|
+
return {
|
|
2619
|
+
authToken: 'string',
|
|
2620
|
+
requestId: 'string',
|
|
2621
|
+
channelCode: 'string',
|
|
2622
|
+
productCode: 'string',
|
|
2623
|
+
bizContent: 'string',
|
|
2624
|
+
};
|
|
2625
|
+
}
|
|
2626
|
+
}
|
|
2627
|
+
exports.ReceiveBusinessOpportunitiesRequest = ReceiveBusinessOpportunitiesRequest;
|
|
2628
|
+
class ReceiveBusinessOpportunitiesResponse extends $tea.Model {
|
|
2629
|
+
constructor(map) {
|
|
2630
|
+
super(map);
|
|
2631
|
+
}
|
|
2632
|
+
static names() {
|
|
2633
|
+
return {
|
|
2634
|
+
reqMsgId: 'req_msg_id',
|
|
2635
|
+
resultCode: 'result_code',
|
|
2636
|
+
resultMsg: 'result_msg',
|
|
2637
|
+
bizResult: 'biz_result',
|
|
2638
|
+
};
|
|
2639
|
+
}
|
|
2640
|
+
static types() {
|
|
2641
|
+
return {
|
|
2642
|
+
reqMsgId: 'string',
|
|
2643
|
+
resultCode: 'string',
|
|
2644
|
+
resultMsg: 'string',
|
|
2645
|
+
bizResult: 'string',
|
|
2646
|
+
};
|
|
2647
|
+
}
|
|
2648
|
+
}
|
|
2649
|
+
exports.ReceiveBusinessOpportunitiesResponse = ReceiveBusinessOpportunitiesResponse;
|
|
2650
|
+
class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
2651
|
+
constructor(map) {
|
|
2652
|
+
super(map);
|
|
2653
|
+
}
|
|
2654
|
+
static names() {
|
|
2655
|
+
return {
|
|
2656
|
+
authToken: 'auth_token',
|
|
2657
|
+
apiCode: 'api_code',
|
|
2658
|
+
fileLabel: 'file_label',
|
|
2659
|
+
fileMetadata: 'file_metadata',
|
|
2660
|
+
fileName: 'file_name',
|
|
2661
|
+
mimeType: 'mime_type',
|
|
2662
|
+
apiCluster: 'api_cluster',
|
|
2663
|
+
};
|
|
2664
|
+
}
|
|
2665
|
+
static types() {
|
|
2666
|
+
return {
|
|
2667
|
+
authToken: 'string',
|
|
2668
|
+
apiCode: 'string',
|
|
2669
|
+
fileLabel: 'string',
|
|
2670
|
+
fileMetadata: 'string',
|
|
2671
|
+
fileName: 'string',
|
|
2672
|
+
mimeType: 'string',
|
|
2673
|
+
apiCluster: 'string',
|
|
2674
|
+
};
|
|
2675
|
+
}
|
|
2676
|
+
}
|
|
2677
|
+
exports.CreateAntcloudGatewayxFileUploadRequest = CreateAntcloudGatewayxFileUploadRequest;
|
|
2678
|
+
class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
|
|
2679
|
+
constructor(map) {
|
|
2680
|
+
super(map);
|
|
2681
|
+
}
|
|
2682
|
+
static names() {
|
|
2683
|
+
return {
|
|
2684
|
+
reqMsgId: 'req_msg_id',
|
|
2685
|
+
resultCode: 'result_code',
|
|
2686
|
+
resultMsg: 'result_msg',
|
|
2687
|
+
expiredTime: 'expired_time',
|
|
2688
|
+
fileId: 'file_id',
|
|
2689
|
+
uploadHeaders: 'upload_headers',
|
|
2690
|
+
uploadUrl: 'upload_url',
|
|
2691
|
+
};
|
|
2692
|
+
}
|
|
2693
|
+
static types() {
|
|
2694
|
+
return {
|
|
2695
|
+
reqMsgId: 'string',
|
|
2696
|
+
resultCode: 'string',
|
|
2697
|
+
resultMsg: 'string',
|
|
2698
|
+
expiredTime: 'string',
|
|
2699
|
+
fileId: 'string',
|
|
2700
|
+
uploadHeaders: { 'type': 'array', 'itemType': XNameValuePair },
|
|
2701
|
+
uploadUrl: 'string',
|
|
2702
|
+
};
|
|
2703
|
+
}
|
|
2704
|
+
}
|
|
2705
|
+
exports.CreateAntcloudGatewayxFileUploadResponse = CreateAntcloudGatewayxFileUploadResponse;
|
|
2706
|
+
class Client {
|
|
2707
|
+
/**
|
|
2708
|
+
* @remarks
|
|
2709
|
+
* Init client with Config
|
|
2710
|
+
*
|
|
2711
|
+
* @param config - config contains the necessary information to create a client
|
|
2712
|
+
*/
|
|
2713
|
+
constructor(config) {
|
|
2714
|
+
if (tea_util_1.default.isUnset(config)) {
|
|
2715
|
+
throw $tea.newError({
|
|
2716
|
+
code: "ParameterMissing",
|
|
2717
|
+
message: "'config' can not be unset",
|
|
2718
|
+
});
|
|
2719
|
+
}
|
|
2720
|
+
this._accessKeyId = config.accessKeyId;
|
|
2721
|
+
this._accessKeySecret = config.accessKeySecret;
|
|
2722
|
+
this._securityToken = config.securityToken;
|
|
2723
|
+
this._endpoint = config.endpoint;
|
|
2724
|
+
this._protocol = config.protocol;
|
|
2725
|
+
this._userAgent = config.userAgent;
|
|
2726
|
+
this._readTimeout = tea_util_1.default.defaultNumber(config.readTimeout, 20000);
|
|
2727
|
+
this._connectTimeout = tea_util_1.default.defaultNumber(config.connectTimeout, 20000);
|
|
2728
|
+
this._httpProxy = config.httpProxy;
|
|
2729
|
+
this._httpsProxy = config.httpsProxy;
|
|
2730
|
+
this._noProxy = config.noProxy;
|
|
2731
|
+
this._socks5Proxy = config.socks5Proxy;
|
|
2732
|
+
this._socks5NetWork = config.socks5NetWork;
|
|
2733
|
+
this._maxIdleConns = tea_util_1.default.defaultNumber(config.maxIdleConns, 60000);
|
|
2734
|
+
this._maxIdleTimeMillis = tea_util_1.default.defaultNumber(config.maxIdleTimeMillis, 5);
|
|
2735
|
+
this._keepAliveDurationMillis = tea_util_1.default.defaultNumber(config.keepAliveDurationMillis, 5000);
|
|
2736
|
+
this._maxRequests = tea_util_1.default.defaultNumber(config.maxRequests, 100);
|
|
2737
|
+
this._maxRequestsPerHost = tea_util_1.default.defaultNumber(config.maxRequestsPerHost, 100);
|
|
2738
|
+
}
|
|
2739
|
+
/**
|
|
2740
|
+
* @remarks
|
|
2741
|
+
* Encapsulate the request and invoke the network
|
|
2742
|
+
*
|
|
2743
|
+
* @param action - api name
|
|
2744
|
+
* @param protocol - http or https
|
|
2745
|
+
* @param method - e.g. GET
|
|
2746
|
+
* @param pathname - pathname of every api
|
|
2747
|
+
* @param request - which contains request params
|
|
2748
|
+
* @param runtime - which controls some details of call api, such as retry times
|
|
2749
|
+
* @returns the response
|
|
2750
|
+
*/
|
|
2751
|
+
async doRequest(version, action, protocol, method, pathname, request, headers, runtime) {
|
|
2752
|
+
let _runtime = {
|
|
2753
|
+
timeouted: "retry",
|
|
2754
|
+
readTimeout: tea_util_1.default.defaultNumber(runtime.readTimeout, this._readTimeout),
|
|
2755
|
+
connectTimeout: tea_util_1.default.defaultNumber(runtime.connectTimeout, this._connectTimeout),
|
|
2756
|
+
httpProxy: tea_util_1.default.defaultString(runtime.httpProxy, this._httpProxy),
|
|
2757
|
+
httpsProxy: tea_util_1.default.defaultString(runtime.httpsProxy, this._httpsProxy),
|
|
2758
|
+
noProxy: tea_util_1.default.defaultString(runtime.noProxy, this._noProxy),
|
|
2759
|
+
maxIdleConns: tea_util_1.default.defaultNumber(runtime.maxIdleConns, this._maxIdleConns),
|
|
2760
|
+
maxIdleTimeMillis: this._maxIdleTimeMillis,
|
|
2761
|
+
keepAliveDuration: this._keepAliveDurationMillis,
|
|
2762
|
+
maxRequests: this._maxRequests,
|
|
2763
|
+
maxRequestsPerHost: this._maxRequestsPerHost,
|
|
2764
|
+
retry: {
|
|
2765
|
+
retryable: runtime.autoretry,
|
|
2766
|
+
maxAttempts: tea_util_1.default.defaultNumber(runtime.maxAttempts, 3),
|
|
2767
|
+
},
|
|
2768
|
+
backoff: {
|
|
2769
|
+
policy: tea_util_1.default.defaultString(runtime.backoffPolicy, "no"),
|
|
2770
|
+
period: tea_util_1.default.defaultNumber(runtime.backoffPeriod, 1),
|
|
2771
|
+
},
|
|
2772
|
+
ignoreSSL: runtime.ignoreSSL,
|
|
2773
|
+
};
|
|
2774
|
+
let _lastRequest = null;
|
|
2775
|
+
let _now = Date.now();
|
|
2776
|
+
let _retryTimes = 0;
|
|
2777
|
+
while ($tea.allowRetry(_runtime['retry'], _retryTimes, _now)) {
|
|
2778
|
+
if (_retryTimes > 0) {
|
|
2779
|
+
let _backoffTime = $tea.getBackoffTime(_runtime['backoff'], _retryTimes);
|
|
2780
|
+
if (_backoffTime > 0) {
|
|
2781
|
+
await $tea.sleep(_backoffTime);
|
|
2782
|
+
}
|
|
2783
|
+
}
|
|
2784
|
+
_retryTimes = _retryTimes + 1;
|
|
2785
|
+
try {
|
|
2786
|
+
let request_ = new $tea.Request();
|
|
2787
|
+
request_.protocol = tea_util_1.default.defaultString(this._protocol, protocol);
|
|
2788
|
+
request_.method = method;
|
|
2789
|
+
request_.pathname = pathname;
|
|
2790
|
+
request_.query = {
|
|
2791
|
+
method: action,
|
|
2792
|
+
version: version,
|
|
2793
|
+
sign_type: "HmacSHA1",
|
|
2794
|
+
req_time: alipay_util_1.default.getTimestamp(),
|
|
2795
|
+
req_msg_id: alipay_util_1.default.getNonce(),
|
|
2796
|
+
access_key: this._accessKeyId,
|
|
2797
|
+
base_sdk_version: "TeaSDK-2.0",
|
|
2798
|
+
sdk_version: "1.12.36",
|
|
2799
|
+
_prod_code: "INSURANCE_SAAS",
|
|
2800
|
+
_prod_channel: "undefined",
|
|
2801
|
+
};
|
|
2802
|
+
if (!tea_util_1.default.empty(this._securityToken)) {
|
|
2803
|
+
request_.query["security_token"] = this._securityToken;
|
|
2804
|
+
}
|
|
2805
|
+
request_.headers = Object.assign({ host: tea_util_1.default.defaultString(this._endpoint, "openapi.antchain.antgroup.com"), 'user-agent': tea_util_1.default.getUserAgent(this._userAgent) }, headers);
|
|
2806
|
+
let tmp = tea_util_1.default.anyifyMapValue(rpc_util_1.default.query(request));
|
|
2807
|
+
request_.body = new $tea.BytesReadable(tea_util_1.default.toFormString(tmp));
|
|
2808
|
+
request_.headers["content-type"] = "application/x-www-form-urlencoded";
|
|
2809
|
+
let signedParam = Object.assign(Object.assign({}, request_.query), rpc_util_1.default.query(request));
|
|
2078
2810
|
request_.query["sign"] = alipay_util_1.default.getSignature(signedParam, this._accessKeySecret);
|
|
2079
2811
|
_lastRequest = request_;
|
|
2080
2812
|
let response_ = await $tea.doAction(request_, _runtime);
|
|
@@ -2101,6 +2833,83 @@ class Client {
|
|
|
2101
2833
|
throw $tea.newUnretryableError(_lastRequest);
|
|
2102
2834
|
}
|
|
2103
2835
|
/**
|
|
2836
|
+
* @remarks
|
|
2837
|
+
* Description: 客户查询会话记录
|
|
2838
|
+
* Summary: 客户查询会话记录
|
|
2839
|
+
*/
|
|
2840
|
+
async queryAasButleragentSession(request) {
|
|
2841
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2842
|
+
let headers = {};
|
|
2843
|
+
return await this.queryAasButleragentSessionEx(request, headers, runtime);
|
|
2844
|
+
}
|
|
2845
|
+
/**
|
|
2846
|
+
* @remarks
|
|
2847
|
+
* Description: 客户查询会话记录
|
|
2848
|
+
* Summary: 客户查询会话记录
|
|
2849
|
+
*/
|
|
2850
|
+
async queryAasButleragentSessionEx(request, headers, runtime) {
|
|
2851
|
+
tea_util_1.default.validateModel(request);
|
|
2852
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurancesaas.butleragent.session.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryAasButleragentSessionResponse({}));
|
|
2853
|
+
}
|
|
2854
|
+
/**
|
|
2855
|
+
* @remarks
|
|
2856
|
+
* Description: 智能保顾完整方案url获取
|
|
2857
|
+
* Summary: 智能保顾完整方案url获取
|
|
2858
|
+
*/
|
|
2859
|
+
async getAasButleragentPlanurl(request) {
|
|
2860
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2861
|
+
let headers = {};
|
|
2862
|
+
return await this.getAasButleragentPlanurlEx(request, headers, runtime);
|
|
2863
|
+
}
|
|
2864
|
+
/**
|
|
2865
|
+
* @remarks
|
|
2866
|
+
* Description: 智能保顾完整方案url获取
|
|
2867
|
+
* Summary: 智能保顾完整方案url获取
|
|
2868
|
+
*/
|
|
2869
|
+
async getAasButleragentPlanurlEx(request, headers, runtime) {
|
|
2870
|
+
tea_util_1.default.validateModel(request);
|
|
2871
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurancesaas.butleragent.planurl.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetAasButleragentPlanurlResponse({}));
|
|
2872
|
+
}
|
|
2873
|
+
/**
|
|
2874
|
+
* @remarks
|
|
2875
|
+
* Description: 获取智能保顾会话聊天url
|
|
2876
|
+
* Summary: 获取智能保顾会话聊天url
|
|
2877
|
+
*/
|
|
2878
|
+
async getAasButleragentChaturl(request) {
|
|
2879
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2880
|
+
let headers = {};
|
|
2881
|
+
return await this.getAasButleragentChaturlEx(request, headers, runtime);
|
|
2882
|
+
}
|
|
2883
|
+
/**
|
|
2884
|
+
* @remarks
|
|
2885
|
+
* Description: 获取智能保顾会话聊天url
|
|
2886
|
+
* Summary: 获取智能保顾会话聊天url
|
|
2887
|
+
*/
|
|
2888
|
+
async getAasButleragentChaturlEx(request, headers, runtime) {
|
|
2889
|
+
tea_util_1.default.validateModel(request);
|
|
2890
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurancesaas.butleragent.chaturl.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetAasButleragentChaturlResponse({}));
|
|
2891
|
+
}
|
|
2892
|
+
/**
|
|
2893
|
+
* @remarks
|
|
2894
|
+
* Description: 保险营销效果回传接口——直播通道
|
|
2895
|
+
* Summary: 保险营销效果回传接口——直播通道
|
|
2896
|
+
*/
|
|
2897
|
+
async callbackMktLiveeffect(request) {
|
|
2898
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2899
|
+
let headers = {};
|
|
2900
|
+
return await this.callbackMktLiveeffectEx(request, headers, runtime);
|
|
2901
|
+
}
|
|
2902
|
+
/**
|
|
2903
|
+
* @remarks
|
|
2904
|
+
* Description: 保险营销效果回传接口——直播通道
|
|
2905
|
+
* Summary: 保险营销效果回传接口——直播通道
|
|
2906
|
+
*/
|
|
2907
|
+
async callbackMktLiveeffectEx(request, headers, runtime) {
|
|
2908
|
+
tea_util_1.default.validateModel(request);
|
|
2909
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.mkt.liveeffect.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackMktLiveeffectResponse({}));
|
|
2910
|
+
}
|
|
2911
|
+
/**
|
|
2912
|
+
* @remarks
|
|
2104
2913
|
* Description: 保险询报价结果查询
|
|
2105
2914
|
* Summary: 保险询报价结果查询
|
|
2106
2915
|
*/
|
|
@@ -2110,6 +2919,7 @@ class Client {
|
|
|
2110
2919
|
return await this.queryInquiryEx(request, headers, runtime);
|
|
2111
2920
|
}
|
|
2112
2921
|
/**
|
|
2922
|
+
* @remarks
|
|
2113
2923
|
* Description: 保险询报价结果查询
|
|
2114
2924
|
* Summary: 保险询报价结果查询
|
|
2115
2925
|
*/
|
|
@@ -2118,6 +2928,7 @@ class Client {
|
|
|
2118
2928
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.inquiry.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInquiryResponse({}));
|
|
2119
2929
|
}
|
|
2120
2930
|
/**
|
|
2931
|
+
* @remarks
|
|
2121
2932
|
* Description: 保险产品询价
|
|
2122
2933
|
* Summary: 保险产品询价
|
|
2123
2934
|
*/
|
|
@@ -2127,6 +2938,7 @@ class Client {
|
|
|
2127
2938
|
return await this.submitInquiryEx(request, headers, runtime);
|
|
2128
2939
|
}
|
|
2129
2940
|
/**
|
|
2941
|
+
* @remarks
|
|
2130
2942
|
* Description: 保险产品询价
|
|
2131
2943
|
* Summary: 保险产品询价
|
|
2132
2944
|
*/
|
|
@@ -2135,6 +2947,7 @@ class Client {
|
|
|
2135
2947
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.inquiry.submit", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SubmitInquiryResponse({}));
|
|
2136
2948
|
}
|
|
2137
2949
|
/**
|
|
2950
|
+
* @remarks
|
|
2138
2951
|
* Description: 历史灾害查询
|
|
2139
2952
|
* Summary: 历史灾害数据查询
|
|
2140
2953
|
*/
|
|
@@ -2144,6 +2957,7 @@ class Client {
|
|
|
2144
2957
|
return await this.queryDataDisasterEx(request, headers, runtime);
|
|
2145
2958
|
}
|
|
2146
2959
|
/**
|
|
2960
|
+
* @remarks
|
|
2147
2961
|
* Description: 历史灾害查询
|
|
2148
2962
|
* Summary: 历史灾害数据查询
|
|
2149
2963
|
*/
|
|
@@ -2152,6 +2966,7 @@ class Client {
|
|
|
2152
2966
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.data.disaster.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDataDisasterResponse({}));
|
|
2153
2967
|
}
|
|
2154
2968
|
/**
|
|
2969
|
+
* @remarks
|
|
2155
2970
|
* Description: 实时天气预警
|
|
2156
2971
|
* Summary: 实时天气预警
|
|
2157
2972
|
*/
|
|
@@ -2161,6 +2976,7 @@ class Client {
|
|
|
2161
2976
|
return await this.queryDataWeatherEx(request, headers, runtime);
|
|
2162
2977
|
}
|
|
2163
2978
|
/**
|
|
2979
|
+
* @remarks
|
|
2164
2980
|
* Description: 实时天气预警
|
|
2165
2981
|
* Summary: 实时天气预警
|
|
2166
2982
|
*/
|
|
@@ -2169,6 +2985,7 @@ class Client {
|
|
|
2169
2985
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.data.weather.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDataWeatherResponse({}));
|
|
2170
2986
|
}
|
|
2171
2987
|
/**
|
|
2988
|
+
* @remarks
|
|
2172
2989
|
* Description: 报价接口同步接口
|
|
2173
2990
|
* Summary: 报价接口同步接口
|
|
2174
2991
|
*/
|
|
@@ -2178,6 +2995,7 @@ class Client {
|
|
|
2178
2995
|
return await this.syncQuoteEx(request, headers, runtime);
|
|
2179
2996
|
}
|
|
2180
2997
|
/**
|
|
2998
|
+
* @remarks
|
|
2181
2999
|
* Description: 报价接口同步接口
|
|
2182
3000
|
* Summary: 报价接口同步接口
|
|
2183
3001
|
*/
|
|
@@ -2186,6 +3004,7 @@ class Client {
|
|
|
2186
3004
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.quote.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncQuoteResponse({}));
|
|
2187
3005
|
}
|
|
2188
3006
|
/**
|
|
3007
|
+
* @remarks
|
|
2189
3008
|
* Description: 承保自核申请接口
|
|
2190
3009
|
* Summary: 承保自核申请接口
|
|
2191
3010
|
*/
|
|
@@ -2195,6 +3014,7 @@ class Client {
|
|
|
2195
3014
|
return await this.applyUnderwritingEx(request, headers, runtime);
|
|
2196
3015
|
}
|
|
2197
3016
|
/**
|
|
3017
|
+
* @remarks
|
|
2198
3018
|
* Description: 承保自核申请接口
|
|
2199
3019
|
* Summary: 承保自核申请接口
|
|
2200
3020
|
*/
|
|
@@ -2203,6 +3023,7 @@ class Client {
|
|
|
2203
3023
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.underwriting.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUnderwritingResponse({}));
|
|
2204
3024
|
}
|
|
2205
3025
|
/**
|
|
3026
|
+
* @remarks
|
|
2206
3027
|
* Description: 承保自核结果查询接口
|
|
2207
3028
|
* Summary: 承保自核结果查询接口
|
|
2208
3029
|
*/
|
|
@@ -2212,6 +3033,7 @@ class Client {
|
|
|
2212
3033
|
return await this.queryUnderwritingEx(request, headers, runtime);
|
|
2213
3034
|
}
|
|
2214
3035
|
/**
|
|
3036
|
+
* @remarks
|
|
2215
3037
|
* Description: 承保自核结果查询接口
|
|
2216
3038
|
* Summary: 承保自核结果查询接口
|
|
2217
3039
|
*/
|
|
@@ -2220,6 +3042,7 @@ class Client {
|
|
|
2220
3042
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.underwriting.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUnderwritingResponse({}));
|
|
2221
3043
|
}
|
|
2222
3044
|
/**
|
|
3045
|
+
* @remarks
|
|
2223
3046
|
* Description: 根据保单号查询保单附件,并返回一个有效期为7天的ossurl
|
|
2224
3047
|
* Summary: 保险科技保单附件查询接口
|
|
2225
3048
|
*/
|
|
@@ -2229,6 +3052,7 @@ class Client {
|
|
|
2229
3052
|
return await this.queryPolicyFileEx(request, headers, runtime);
|
|
2230
3053
|
}
|
|
2231
3054
|
/**
|
|
3055
|
+
* @remarks
|
|
2232
3056
|
* Description: 根据保单号查询保单附件,并返回一个有效期为7天的ossurl
|
|
2233
3057
|
* Summary: 保险科技保单附件查询接口
|
|
2234
3058
|
*/
|
|
@@ -2237,6 +3061,7 @@ class Client {
|
|
|
2237
3061
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.policy.file.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryPolicyFileResponse({}));
|
|
2238
3062
|
}
|
|
2239
3063
|
/**
|
|
3064
|
+
* @remarks
|
|
2240
3065
|
* Description: 保险SaaS投保申请接口
|
|
2241
3066
|
* Summary: 投保申请接口
|
|
2242
3067
|
*/
|
|
@@ -2246,6 +3071,7 @@ class Client {
|
|
|
2246
3071
|
return await this.applyInsureEx(request, headers, runtime);
|
|
2247
3072
|
}
|
|
2248
3073
|
/**
|
|
3074
|
+
* @remarks
|
|
2249
3075
|
* Description: 保险SaaS投保申请接口
|
|
2250
3076
|
* Summary: 投保申请接口
|
|
2251
3077
|
*/
|
|
@@ -2254,6 +3080,7 @@ class Client {
|
|
|
2254
3080
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.insure.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyInsureResponse({}));
|
|
2255
3081
|
}
|
|
2256
3082
|
/**
|
|
3083
|
+
* @remarks
|
|
2257
3084
|
* Description: 保单结果同步,注意:基于投保信息的保单结果同步。
|
|
2258
3085
|
* Summary: 保单结果同步(依赖投保申请)
|
|
2259
3086
|
*/
|
|
@@ -2263,6 +3090,7 @@ class Client {
|
|
|
2263
3090
|
return await this.notifyPolicyResultEx(request, headers, runtime);
|
|
2264
3091
|
}
|
|
2265
3092
|
/**
|
|
3093
|
+
* @remarks
|
|
2266
3094
|
* Description: 保单结果同步,注意:基于投保信息的保单结果同步。
|
|
2267
3095
|
* Summary: 保单结果同步(依赖投保申请)
|
|
2268
3096
|
*/
|
|
@@ -2271,6 +3099,7 @@ class Client {
|
|
|
2271
3099
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.policy.result.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyPolicyResultResponse({}));
|
|
2272
3100
|
}
|
|
2273
3101
|
/**
|
|
3102
|
+
* @remarks
|
|
2274
3103
|
* Description: 报案接口
|
|
2275
3104
|
* Summary: 保险科技 报案接口
|
|
2276
3105
|
*/
|
|
@@ -2280,6 +3109,7 @@ class Client {
|
|
|
2280
3109
|
return await this.applyClaimEx(request, headers, runtime);
|
|
2281
3110
|
}
|
|
2282
3111
|
/**
|
|
3112
|
+
* @remarks
|
|
2283
3113
|
* Description: 报案接口
|
|
2284
3114
|
* Summary: 保险科技 报案接口
|
|
2285
3115
|
*/
|
|
@@ -2288,6 +3118,7 @@ class Client {
|
|
|
2288
3118
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.claim.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyClaimResponse({}));
|
|
2289
3119
|
}
|
|
2290
3120
|
/**
|
|
3121
|
+
* @remarks
|
|
2291
3122
|
* Description: 报案撤销(场景端)
|
|
2292
3123
|
* Summary: 报案撤销(场景端)
|
|
2293
3124
|
*/
|
|
@@ -2297,6 +3128,7 @@ class Client {
|
|
|
2297
3128
|
return await this.cancelClaimEx(request, headers, runtime);
|
|
2298
3129
|
}
|
|
2299
3130
|
/**
|
|
3131
|
+
* @remarks
|
|
2300
3132
|
* Description: 报案撤销(场景端)
|
|
2301
3133
|
* Summary: 报案撤销(场景端)
|
|
2302
3134
|
*/
|
|
@@ -2305,6 +3137,7 @@ class Client {
|
|
|
2305
3137
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.claim.cancel", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CancelClaimResponse({}));
|
|
2306
3138
|
}
|
|
2307
3139
|
/**
|
|
3140
|
+
* @remarks
|
|
2308
3141
|
* Description: 报案材料更新(场景端)
|
|
2309
3142
|
* Summary: 报案材料更新(场景端)
|
|
2310
3143
|
*/
|
|
@@ -2314,6 +3147,7 @@ class Client {
|
|
|
2314
3147
|
return await this.updateClaimMaterialEx(request, headers, runtime);
|
|
2315
3148
|
}
|
|
2316
3149
|
/**
|
|
3150
|
+
* @remarks
|
|
2317
3151
|
* Description: 报案材料更新(场景端)
|
|
2318
3152
|
* Summary: 报案材料更新(场景端)
|
|
2319
3153
|
*/
|
|
@@ -2322,6 +3156,7 @@ class Client {
|
|
|
2322
3156
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.claim.material.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateClaimMaterialResponse({}));
|
|
2323
3157
|
}
|
|
2324
3158
|
/**
|
|
3159
|
+
* @remarks
|
|
2325
3160
|
* Description: 理赔结果确认(场景端)
|
|
2326
3161
|
* Summary: 理赔结果确认(场景端)
|
|
2327
3162
|
*/
|
|
@@ -2331,6 +3166,7 @@ class Client {
|
|
|
2331
3166
|
return await this.confirmClaimSettleEx(request, headers, runtime);
|
|
2332
3167
|
}
|
|
2333
3168
|
/**
|
|
3169
|
+
* @remarks
|
|
2334
3170
|
* Description: 理赔结果确认(场景端)
|
|
2335
3171
|
* Summary: 理赔结果确认(场景端)
|
|
2336
3172
|
*/
|
|
@@ -2339,6 +3175,7 @@ class Client {
|
|
|
2339
3175
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.claim.settle.confirm", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ConfirmClaimSettleResponse({}));
|
|
2340
3176
|
}
|
|
2341
3177
|
/**
|
|
3178
|
+
* @remarks
|
|
2342
3179
|
* Description: 理赔结案通知(保司端)
|
|
2343
3180
|
* Summary: 理赔结案通知(保司端)
|
|
2344
3181
|
*/
|
|
@@ -2348,6 +3185,7 @@ class Client {
|
|
|
2348
3185
|
return await this.finishClaimSettleEx(request, headers, runtime);
|
|
2349
3186
|
}
|
|
2350
3187
|
/**
|
|
3188
|
+
* @remarks
|
|
2351
3189
|
* Description: 理赔结案通知(保司端)
|
|
2352
3190
|
* Summary: 理赔结案通知(保司端)
|
|
2353
3191
|
*/
|
|
@@ -2356,6 +3194,7 @@ class Client {
|
|
|
2356
3194
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.claim.settle.finish", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new FinishClaimSettleResponse({}));
|
|
2357
3195
|
}
|
|
2358
3196
|
/**
|
|
3197
|
+
* @remarks
|
|
2359
3198
|
* Description: 保险批改自核接口
|
|
2360
3199
|
* Summary: 保险批改自核接口
|
|
2361
3200
|
*/
|
|
@@ -2365,6 +3204,7 @@ class Client {
|
|
|
2365
3204
|
return await this.applyEndorsementStrategyEx(request, headers, runtime);
|
|
2366
3205
|
}
|
|
2367
3206
|
/**
|
|
3207
|
+
* @remarks
|
|
2368
3208
|
* Description: 保险批改自核接口
|
|
2369
3209
|
* Summary: 保险批改自核接口
|
|
2370
3210
|
*/
|
|
@@ -2373,6 +3213,7 @@ class Client {
|
|
|
2373
3213
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.endorsement.strategy.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyEndorsementStrategyResponse({}));
|
|
2374
3214
|
}
|
|
2375
3215
|
/**
|
|
3216
|
+
* @remarks
|
|
2376
3217
|
* Description: 保单信息离线同步
|
|
2377
3218
|
* Summary: 保单信息离线同步
|
|
2378
3219
|
*/
|
|
@@ -2382,6 +3223,7 @@ class Client {
|
|
|
2382
3223
|
return await this.syncPolicyResultEx(request, headers, runtime);
|
|
2383
3224
|
}
|
|
2384
3225
|
/**
|
|
3226
|
+
* @remarks
|
|
2385
3227
|
* Description: 保单信息离线同步
|
|
2386
3228
|
* Summary: 保单信息离线同步
|
|
2387
3229
|
*/
|
|
@@ -2390,6 +3232,7 @@ class Client {
|
|
|
2390
3232
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.policy.result.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncPolicyResultResponse({}));
|
|
2391
3233
|
}
|
|
2392
3234
|
/**
|
|
3235
|
+
* @remarks
|
|
2393
3236
|
* Description: 基于通知单号查询保险投保结果
|
|
2394
3237
|
* Summary: 保险投保结果查询
|
|
2395
3238
|
*/
|
|
@@ -2399,6 +3242,7 @@ class Client {
|
|
|
2399
3242
|
return await this.queryInsureResultEx(request, headers, runtime);
|
|
2400
3243
|
}
|
|
2401
3244
|
/**
|
|
3245
|
+
* @remarks
|
|
2402
3246
|
* Description: 基于通知单号查询保险投保结果
|
|
2403
3247
|
* Summary: 保险投保结果查询
|
|
2404
3248
|
*/
|
|
@@ -2407,6 +3251,7 @@ class Client {
|
|
|
2407
3251
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.insure.result.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInsureResultResponse({}));
|
|
2408
3252
|
}
|
|
2409
3253
|
/**
|
|
3254
|
+
* @remarks
|
|
2410
3255
|
* Description: 投保测试接口
|
|
2411
3256
|
* Summary: 投保测试接口
|
|
2412
3257
|
*/
|
|
@@ -2416,6 +3261,7 @@ class Client {
|
|
|
2416
3261
|
return await this.applyInsureTestEx(request, headers, runtime);
|
|
2417
3262
|
}
|
|
2418
3263
|
/**
|
|
3264
|
+
* @remarks
|
|
2419
3265
|
* Description: 投保测试接口
|
|
2420
3266
|
* Summary: 投保测试接口
|
|
2421
3267
|
*/
|
|
@@ -2424,6 +3270,7 @@ class Client {
|
|
|
2424
3270
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.insure.test.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyInsureTestResponse({}));
|
|
2425
3271
|
}
|
|
2426
3272
|
/**
|
|
3273
|
+
* @remarks
|
|
2427
3274
|
* Description: 本接口用于调查报案数据的提交
|
|
2428
3275
|
* Summary: 调查报案提交接口
|
|
2429
3276
|
*/
|
|
@@ -2433,6 +3280,7 @@ class Client {
|
|
|
2433
3280
|
return await this.submitInvestigateCaseEx(request, headers, runtime);
|
|
2434
3281
|
}
|
|
2435
3282
|
/**
|
|
3283
|
+
* @remarks
|
|
2436
3284
|
* Description: 本接口用于调查报案数据的提交
|
|
2437
3285
|
* Summary: 调查报案提交接口
|
|
2438
3286
|
*/
|
|
@@ -2441,6 +3289,7 @@ class Client {
|
|
|
2441
3289
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.investigate.case.submit", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SubmitInvestigateCaseResponse({}));
|
|
2442
3290
|
}
|
|
2443
3291
|
/**
|
|
3292
|
+
* @remarks
|
|
2444
3293
|
* Description: 回销结果查询接口
|
|
2445
3294
|
* Summary: 回销结果查询接口
|
|
2446
3295
|
*/
|
|
@@ -2450,6 +3299,7 @@ class Client {
|
|
|
2450
3299
|
return await this.queryReverseCommissionEx(request, headers, runtime);
|
|
2451
3300
|
}
|
|
2452
3301
|
/**
|
|
3302
|
+
* @remarks
|
|
2453
3303
|
* Description: 回销结果查询接口
|
|
2454
3304
|
* Summary: 回销结果查询接口
|
|
2455
3305
|
*/
|
|
@@ -2458,6 +3308,7 @@ class Client {
|
|
|
2458
3308
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.reverse.commission.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryReverseCommissionResponse({}));
|
|
2459
3309
|
}
|
|
2460
3310
|
/**
|
|
3311
|
+
* @remarks
|
|
2461
3312
|
* Description: 嵌入式保险服务卡片url链接获取
|
|
2462
3313
|
* Summary: 嵌入式保险服务卡片url链接获取
|
|
2463
3314
|
*/
|
|
@@ -2467,6 +3318,7 @@ class Client {
|
|
|
2467
3318
|
return await this.getEmbedcardUrlEx(request, headers, runtime);
|
|
2468
3319
|
}
|
|
2469
3320
|
/**
|
|
3321
|
+
* @remarks
|
|
2470
3322
|
* Description: 嵌入式保险服务卡片url链接获取
|
|
2471
3323
|
* Summary: 嵌入式保险服务卡片url链接获取
|
|
2472
3324
|
*/
|
|
@@ -2475,6 +3327,7 @@ class Client {
|
|
|
2475
3327
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.embedcard.url.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetEmbedcardUrlResponse({}));
|
|
2476
3328
|
}
|
|
2477
3329
|
/**
|
|
3330
|
+
* @remarks
|
|
2478
3331
|
* Description: 嵌入式保险服务打款成功出单接口
|
|
2479
3332
|
* Summary: 嵌入式保险服务打款成功出单接口
|
|
2480
3333
|
*/
|
|
@@ -2484,6 +3337,7 @@ class Client {
|
|
|
2484
3337
|
return await this.issueEmbedcardPaysucEx(request, headers, runtime);
|
|
2485
3338
|
}
|
|
2486
3339
|
/**
|
|
3340
|
+
* @remarks
|
|
2487
3341
|
* Description: 嵌入式保险服务打款成功出单接口
|
|
2488
3342
|
* Summary: 嵌入式保险服务打款成功出单接口
|
|
2489
3343
|
*/
|
|
@@ -2492,6 +3346,7 @@ class Client {
|
|
|
2492
3346
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.embedcard.paysuc.issue", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new IssueEmbedcardPaysucResponse({}));
|
|
2493
3347
|
}
|
|
2494
3348
|
/**
|
|
3349
|
+
* @remarks
|
|
2495
3350
|
* Description: 嵌入式主机厂车险url链接获取
|
|
2496
3351
|
* Summary: 嵌入式主机厂车险url链接获取
|
|
2497
3352
|
*/
|
|
@@ -2501,6 +3356,7 @@ class Client {
|
|
|
2501
3356
|
return await this.getEmbedoemautoinsuranceUrlEx(request, headers, runtime);
|
|
2502
3357
|
}
|
|
2503
3358
|
/**
|
|
3359
|
+
* @remarks
|
|
2504
3360
|
* Description: 嵌入式主机厂车险url链接获取
|
|
2505
3361
|
* Summary: 嵌入式主机厂车险url链接获取
|
|
2506
3362
|
*/
|
|
@@ -2509,6 +3365,7 @@ class Client {
|
|
|
2509
3365
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.embedoemautoinsurance.url.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetEmbedoemautoinsuranceUrlResponse({}));
|
|
2510
3366
|
}
|
|
2511
3367
|
/**
|
|
3368
|
+
* @remarks
|
|
2512
3369
|
* Description: 场景方获取权益链接
|
|
2513
3370
|
* Summary: 场景方获取权益链接
|
|
2514
3371
|
*/
|
|
@@ -2518,6 +3375,7 @@ class Client {
|
|
|
2518
3375
|
return await this.getRightplatformUrlEx(request, headers, runtime);
|
|
2519
3376
|
}
|
|
2520
3377
|
/**
|
|
3378
|
+
* @remarks
|
|
2521
3379
|
* Description: 场景方获取权益链接
|
|
2522
3380
|
* Summary: 场景方获取权益链接
|
|
2523
3381
|
*/
|
|
@@ -2526,6 +3384,7 @@ class Client {
|
|
|
2526
3384
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.rightplatform.url.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetRightplatformUrlResponse({}));
|
|
2527
3385
|
}
|
|
2528
3386
|
/**
|
|
3387
|
+
* @remarks
|
|
2529
3388
|
* Description: 更新申请额度状态&投保人信息
|
|
2530
3389
|
* Summary: 更新申请额度状态&投保人信息
|
|
2531
3390
|
*/
|
|
@@ -2535,6 +3394,7 @@ class Client {
|
|
|
2535
3394
|
return await this.updateRightplatformApplyinfoEx(request, headers, runtime);
|
|
2536
3395
|
}
|
|
2537
3396
|
/**
|
|
3397
|
+
* @remarks
|
|
2538
3398
|
* Description: 更新申请额度状态&投保人信息
|
|
2539
3399
|
* Summary: 更新申请额度状态&投保人信息
|
|
2540
3400
|
*/
|
|
@@ -2543,6 +3403,7 @@ class Client {
|
|
|
2543
3403
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.rightplatform.applyinfo.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateRightplatformApplyinfoResponse({}));
|
|
2544
3404
|
}
|
|
2545
3405
|
/**
|
|
3406
|
+
* @remarks
|
|
2546
3407
|
* Description: 场景方标的信息通知
|
|
2547
3408
|
* Summary: 场景方标的信息通知
|
|
2548
3409
|
*/
|
|
@@ -2552,6 +3413,7 @@ class Client {
|
|
|
2552
3413
|
return await this.notifyInterestScenesubjectEx(request, headers, runtime);
|
|
2553
3414
|
}
|
|
2554
3415
|
/**
|
|
3416
|
+
* @remarks
|
|
2555
3417
|
* Description: 场景方标的信息通知
|
|
2556
3418
|
* Summary: 场景方标的信息通知
|
|
2557
3419
|
*/
|
|
@@ -2560,6 +3422,7 @@ class Client {
|
|
|
2560
3422
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.interest.scenesubject.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyInterestScenesubjectResponse({}));
|
|
2561
3423
|
}
|
|
2562
3424
|
/**
|
|
3425
|
+
* @remarks
|
|
2563
3426
|
* Description: 权益服务商标的信息查询
|
|
2564
3427
|
* Summary: 权益服务商标的信息查询
|
|
2565
3428
|
*/
|
|
@@ -2569,6 +3432,7 @@ class Client {
|
|
|
2569
3432
|
return await this.queryInterestSuppliersubjectEx(request, headers, runtime);
|
|
2570
3433
|
}
|
|
2571
3434
|
/**
|
|
3435
|
+
* @remarks
|
|
2572
3436
|
* Description: 权益服务商标的信息查询
|
|
2573
3437
|
* Summary: 权益服务商标的信息查询
|
|
2574
3438
|
*/
|
|
@@ -2577,6 +3441,7 @@ class Client {
|
|
|
2577
3441
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.interest.suppliersubject.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInterestSuppliersubjectResponse({}));
|
|
2578
3442
|
}
|
|
2579
3443
|
/**
|
|
3444
|
+
* @remarks
|
|
2580
3445
|
* Description: 权益服务商投保后通知保单信息
|
|
2581
3446
|
* Summary: 权益服务商投保后通知保单信息
|
|
2582
3447
|
*/
|
|
@@ -2586,6 +3451,7 @@ class Client {
|
|
|
2586
3451
|
return await this.notifyInterestSupplierpolicyEx(request, headers, runtime);
|
|
2587
3452
|
}
|
|
2588
3453
|
/**
|
|
3454
|
+
* @remarks
|
|
2589
3455
|
* Description: 权益服务商投保后通知保单信息
|
|
2590
3456
|
* Summary: 权益服务商投保后通知保单信息
|
|
2591
3457
|
*/
|
|
@@ -2594,6 +3460,7 @@ class Client {
|
|
|
2594
3460
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.interest.supplierpolicy.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyInterestSupplierpolicyResponse({}));
|
|
2595
3461
|
}
|
|
2596
3462
|
/**
|
|
3463
|
+
* @remarks
|
|
2597
3464
|
* Description: 场景方获取权益链接
|
|
2598
3465
|
* Summary: 场景方获取权益链接
|
|
2599
3466
|
*/
|
|
@@ -2603,6 +3470,7 @@ class Client {
|
|
|
2603
3470
|
return await this.getInterestUrlEx(request, headers, runtime);
|
|
2604
3471
|
}
|
|
2605
3472
|
/**
|
|
3473
|
+
* @remarks
|
|
2606
3474
|
* Description: 场景方获取权益链接
|
|
2607
3475
|
* Summary: 场景方获取权益链接
|
|
2608
3476
|
*/
|
|
@@ -2611,6 +3479,7 @@ class Client {
|
|
|
2611
3479
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.interest.url.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetInterestUrlResponse({}));
|
|
2612
3480
|
}
|
|
2613
3481
|
/**
|
|
3482
|
+
* @remarks
|
|
2614
3483
|
* Description: 场景方订单信息查询
|
|
2615
3484
|
* Summary: 场景方订单信息查询
|
|
2616
3485
|
*/
|
|
@@ -2620,6 +3489,7 @@ class Client {
|
|
|
2620
3489
|
return await this.queryInterestSceneorderEx(request, headers, runtime);
|
|
2621
3490
|
}
|
|
2622
3491
|
/**
|
|
3492
|
+
* @remarks
|
|
2623
3493
|
* Description: 场景方订单信息查询
|
|
2624
3494
|
* Summary: 场景方订单信息查询
|
|
2625
3495
|
*/
|
|
@@ -2628,6 +3498,7 @@ class Client {
|
|
|
2628
3498
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.interest.sceneorder.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInterestSceneorderResponse({}));
|
|
2629
3499
|
}
|
|
2630
3500
|
/**
|
|
3501
|
+
* @remarks
|
|
2631
3502
|
* Description: 权益服务商订单状态通知
|
|
2632
3503
|
* Summary: 权益服务商订单状态通知
|
|
2633
3504
|
*/
|
|
@@ -2637,6 +3508,7 @@ class Client {
|
|
|
2637
3508
|
return await this.notifyInterestSupplierorderEx(request, headers, runtime);
|
|
2638
3509
|
}
|
|
2639
3510
|
/**
|
|
3511
|
+
* @remarks
|
|
2640
3512
|
* Description: 权益服务商订单状态通知
|
|
2641
3513
|
* Summary: 权益服务商订单状态通知
|
|
2642
3514
|
*/
|
|
@@ -2645,6 +3517,7 @@ class Client {
|
|
|
2645
3517
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.interest.supplierorder.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyInterestSupplierorderResponse({}));
|
|
2646
3518
|
}
|
|
2647
3519
|
/**
|
|
3520
|
+
* @remarks
|
|
2648
3521
|
* Description: 车险线索营销结果接收
|
|
2649
3522
|
* Summary: 车险线索营销结果接收
|
|
2650
3523
|
*/
|
|
@@ -2654,6 +3527,7 @@ class Client {
|
|
|
2654
3527
|
return await this.receiveLeadMarketEx(request, headers, runtime);
|
|
2655
3528
|
}
|
|
2656
3529
|
/**
|
|
3530
|
+
* @remarks
|
|
2657
3531
|
* Description: 车险线索营销结果接收
|
|
2658
3532
|
* Summary: 车险线索营销结果接收
|
|
2659
3533
|
*/
|
|
@@ -2661,6 +3535,197 @@ class Client {
|
|
|
2661
3535
|
tea_util_1.default.validateModel(request);
|
|
2662
3536
|
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.lead.market.receive", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ReceiveLeadMarketResponse({}));
|
|
2663
3537
|
}
|
|
3538
|
+
/**
|
|
3539
|
+
* @remarks
|
|
3540
|
+
* Description: 营销投保短链获取
|
|
3541
|
+
* Summary: 营销投保短链获取
|
|
3542
|
+
*/
|
|
3543
|
+
async getMarketingInsureurl(request) {
|
|
3544
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3545
|
+
let headers = {};
|
|
3546
|
+
return await this.getMarketingInsureurlEx(request, headers, runtime);
|
|
3547
|
+
}
|
|
3548
|
+
/**
|
|
3549
|
+
* @remarks
|
|
3550
|
+
* Description: 营销投保短链获取
|
|
3551
|
+
* Summary: 营销投保短链获取
|
|
3552
|
+
*/
|
|
3553
|
+
async getMarketingInsureurlEx(request, headers, runtime) {
|
|
3554
|
+
tea_util_1.default.validateModel(request);
|
|
3555
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.marketing.insureurl.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetMarketingInsureurlResponse({}));
|
|
3556
|
+
}
|
|
3557
|
+
/**
|
|
3558
|
+
* @remarks
|
|
3559
|
+
* Description: 营销保单出单信息事件回传
|
|
3560
|
+
* Summary: 营销保单出单信息事件回传
|
|
3561
|
+
*/
|
|
3562
|
+
async callbackMarketingEvent(request) {
|
|
3563
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3564
|
+
let headers = {};
|
|
3565
|
+
return await this.callbackMarketingEventEx(request, headers, runtime);
|
|
3566
|
+
}
|
|
3567
|
+
/**
|
|
3568
|
+
* @remarks
|
|
3569
|
+
* Description: 营销保单出单信息事件回传
|
|
3570
|
+
* Summary: 营销保单出单信息事件回传
|
|
3571
|
+
*/
|
|
3572
|
+
async callbackMarketingEventEx(request, headers, runtime) {
|
|
3573
|
+
tea_util_1.default.validateModel(request);
|
|
3574
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.marketing.event.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackMarketingEventResponse({}));
|
|
3575
|
+
}
|
|
3576
|
+
/**
|
|
3577
|
+
* @remarks
|
|
3578
|
+
* Description: 营销退保信息回传
|
|
3579
|
+
* Summary: 营销退保事件回传
|
|
3580
|
+
*/
|
|
3581
|
+
async callbackMarketingPolicycancel(request) {
|
|
3582
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3583
|
+
let headers = {};
|
|
3584
|
+
return await this.callbackMarketingPolicycancelEx(request, headers, runtime);
|
|
3585
|
+
}
|
|
3586
|
+
/**
|
|
3587
|
+
* @remarks
|
|
3588
|
+
* Description: 营销退保信息回传
|
|
3589
|
+
* Summary: 营销退保事件回传
|
|
3590
|
+
*/
|
|
3591
|
+
async callbackMarketingPolicycancelEx(request, headers, runtime) {
|
|
3592
|
+
tea_util_1.default.validateModel(request);
|
|
3593
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.marketing.policycancel.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackMarketingPolicycancelResponse({}));
|
|
3594
|
+
}
|
|
3595
|
+
/**
|
|
3596
|
+
* @remarks
|
|
3597
|
+
* Description: 车险线索查询
|
|
3598
|
+
* Summary: 车险线索查询
|
|
3599
|
+
*/
|
|
3600
|
+
async queryLeadMarket(request) {
|
|
3601
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3602
|
+
let headers = {};
|
|
3603
|
+
return await this.queryLeadMarketEx(request, headers, runtime);
|
|
3604
|
+
}
|
|
3605
|
+
/**
|
|
3606
|
+
* @remarks
|
|
3607
|
+
* Description: 车险线索查询
|
|
3608
|
+
* Summary: 车险线索查询
|
|
3609
|
+
*/
|
|
3610
|
+
async queryLeadMarketEx(request, headers, runtime) {
|
|
3611
|
+
tea_util_1.default.validateModel(request);
|
|
3612
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.lead.market.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryLeadMarketResponse({}));
|
|
3613
|
+
}
|
|
3614
|
+
/**
|
|
3615
|
+
* @remarks
|
|
3616
|
+
* Description: 理想车险事件通知
|
|
3617
|
+
* Summary: 理想车险事件通知
|
|
3618
|
+
*/
|
|
3619
|
+
async notifyAutoinsuranceEvent(request) {
|
|
3620
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3621
|
+
let headers = {};
|
|
3622
|
+
return await this.notifyAutoinsuranceEventEx(request, headers, runtime);
|
|
3623
|
+
}
|
|
3624
|
+
/**
|
|
3625
|
+
* @remarks
|
|
3626
|
+
* Description: 理想车险事件通知
|
|
3627
|
+
* Summary: 理想车险事件通知
|
|
3628
|
+
*/
|
|
3629
|
+
async notifyAutoinsuranceEventEx(request, headers, runtime) {
|
|
3630
|
+
tea_util_1.default.validateModel(request);
|
|
3631
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.autoinsurance.event.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyAutoinsuranceEventResponse({}));
|
|
3632
|
+
}
|
|
3633
|
+
/**
|
|
3634
|
+
* @remarks
|
|
3635
|
+
* Description: 保险营销文件上传,营销链路中涉及到文件上传,均可使用本接口,根据上传的数据类型做区分
|
|
3636
|
+
* Summary: 保险营销文件上传,营销链路中涉及到文件上传,均可使用本接口,根据上传的数据类型做区分
|
|
3637
|
+
*/
|
|
3638
|
+
async uploadMktFile(request) {
|
|
3639
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3640
|
+
let headers = {};
|
|
3641
|
+
return await this.uploadMktFileEx(request, headers, runtime);
|
|
3642
|
+
}
|
|
3643
|
+
/**
|
|
3644
|
+
* @remarks
|
|
3645
|
+
* Description: 保险营销文件上传,营销链路中涉及到文件上传,均可使用本接口,根据上传的数据类型做区分
|
|
3646
|
+
* Summary: 保险营销文件上传,营销链路中涉及到文件上传,均可使用本接口,根据上传的数据类型做区分
|
|
3647
|
+
*/
|
|
3648
|
+
async uploadMktFileEx(request, headers, runtime) {
|
|
3649
|
+
if (!tea_util_1.default.isUnset(request.fileObject)) {
|
|
3650
|
+
let uploadReq = new CreateAntcloudGatewayxFileUploadRequest({
|
|
3651
|
+
authToken: request.authToken,
|
|
3652
|
+
apiCode: "antcloud.insurance.mkt.file.upload",
|
|
3653
|
+
fileName: request.fileObjectName,
|
|
3654
|
+
});
|
|
3655
|
+
let uploadResp = await this.createAntcloudGatewayxFileUploadEx(uploadReq, headers, runtime);
|
|
3656
|
+
if (!alipay_util_1.default.isSuccess(uploadResp.resultCode, "ok")) {
|
|
3657
|
+
let uploadMktFileResponse = new UploadMktFileResponse({
|
|
3658
|
+
reqMsgId: uploadResp.reqMsgId,
|
|
3659
|
+
resultCode: uploadResp.resultCode,
|
|
3660
|
+
resultMsg: uploadResp.resultMsg,
|
|
3661
|
+
});
|
|
3662
|
+
return uploadMktFileResponse;
|
|
3663
|
+
}
|
|
3664
|
+
let uploadHeaders = alipay_util_1.default.parseUploadHeaders(uploadResp.uploadHeaders);
|
|
3665
|
+
await alipay_util_1.default.putObject(request.fileObject, uploadHeaders, uploadResp.uploadUrl);
|
|
3666
|
+
request.fileId = uploadResp.fileId;
|
|
3667
|
+
request.fileObject = null;
|
|
3668
|
+
}
|
|
3669
|
+
tea_util_1.default.validateModel(request);
|
|
3670
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.mkt.file.upload", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UploadMktFileResponse({}));
|
|
3671
|
+
}
|
|
3672
|
+
/**
|
|
3673
|
+
* @remarks
|
|
3674
|
+
* Description: 保险营销效果回传
|
|
3675
|
+
* Summary: 保险营销效果回传
|
|
3676
|
+
*/
|
|
3677
|
+
async callbackMktEffect(request) {
|
|
3678
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3679
|
+
let headers = {};
|
|
3680
|
+
return await this.callbackMktEffectEx(request, headers, runtime);
|
|
3681
|
+
}
|
|
3682
|
+
/**
|
|
3683
|
+
* @remarks
|
|
3684
|
+
* Description: 保险营销效果回传
|
|
3685
|
+
* Summary: 保险营销效果回传
|
|
3686
|
+
*/
|
|
3687
|
+
async callbackMktEffectEx(request, headers, runtime) {
|
|
3688
|
+
tea_util_1.default.validateModel(request);
|
|
3689
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.mkt.effect.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackMktEffectResponse({}));
|
|
3690
|
+
}
|
|
3691
|
+
/**
|
|
3692
|
+
* @remarks
|
|
3693
|
+
* Description: 商机数量推送接口
|
|
3694
|
+
* Summary: 商机数量接收
|
|
3695
|
+
*/
|
|
3696
|
+
async receiveBusinessOpportunities(request) {
|
|
3697
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3698
|
+
let headers = {};
|
|
3699
|
+
return await this.receiveBusinessOpportunitiesEx(request, headers, runtime);
|
|
3700
|
+
}
|
|
3701
|
+
/**
|
|
3702
|
+
* @remarks
|
|
3703
|
+
* Description: 商机数量推送接口
|
|
3704
|
+
* Summary: 商机数量接收
|
|
3705
|
+
*/
|
|
3706
|
+
async receiveBusinessOpportunitiesEx(request, headers, runtime) {
|
|
3707
|
+
tea_util_1.default.validateModel(request);
|
|
3708
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.business.opportunities.receive", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ReceiveBusinessOpportunitiesResponse({}));
|
|
3709
|
+
}
|
|
3710
|
+
/**
|
|
3711
|
+
* @remarks
|
|
3712
|
+
* Description: 创建HTTP PUT提交的文件上传
|
|
3713
|
+
* Summary: 文件上传创建
|
|
3714
|
+
*/
|
|
3715
|
+
async createAntcloudGatewayxFileUpload(request) {
|
|
3716
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3717
|
+
let headers = {};
|
|
3718
|
+
return await this.createAntcloudGatewayxFileUploadEx(request, headers, runtime);
|
|
3719
|
+
}
|
|
3720
|
+
/**
|
|
3721
|
+
* @remarks
|
|
3722
|
+
* Description: 创建HTTP PUT提交的文件上传
|
|
3723
|
+
* Summary: 文件上传创建
|
|
3724
|
+
*/
|
|
3725
|
+
async createAntcloudGatewayxFileUploadEx(request, headers, runtime) {
|
|
3726
|
+
tea_util_1.default.validateModel(request);
|
|
3727
|
+
return $tea.cast(await this.doRequest("1.0", "antcloud.gatewayx.file.upload.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateAntcloudGatewayxFileUploadResponse({}));
|
|
3728
|
+
}
|
|
2664
3729
|
}
|
|
2665
3730
|
exports.default = Client;
|
|
2666
3731
|
//# sourceMappingURL=client.js.map
|