@antchain/insurance_saas 1.10.2 → 1.12.34

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,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.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.CallbackAasMktLiveeffectResponse = exports.CallbackAasMktLiveeffectRequest = 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 CallbackAasMktLiveeffectRequest 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.CallbackAasMktLiveeffectRequest = CallbackAasMktLiveeffectRequest;
386
+ class CallbackAasMktLiveeffectResponse 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.CallbackAasMktLiveeffectResponse = CallbackAasMktLiveeffectResponse;
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
  }
@@ -1931,109 +2165,651 @@ class NotifyInterestSupplierorderResponse extends $tea.Model {
1931
2165
  }
1932
2166
  }
1933
2167
  exports.NotifyInterestSupplierorderResponse = NotifyInterestSupplierorderResponse;
1934
- class Client {
1935
- /**
1936
- * Init client with Config
1937
- * @param config config contains the necessary information to create a client
1938
- */
1939
- constructor(config) {
1940
- if (tea_util_1.default.isUnset(config)) {
1941
- throw $tea.newError({
1942
- code: "ParameterMissing",
1943
- message: "'config' can not be unset",
1944
- });
1945
- }
1946
- this._accessKeyId = config.accessKeyId;
1947
- this._accessKeySecret = config.accessKeySecret;
1948
- this._securityToken = config.securityToken;
1949
- this._endpoint = config.endpoint;
1950
- this._protocol = config.protocol;
1951
- this._userAgent = config.userAgent;
1952
- this._readTimeout = tea_util_1.default.defaultNumber(config.readTimeout, 20000);
1953
- this._connectTimeout = tea_util_1.default.defaultNumber(config.connectTimeout, 20000);
1954
- this._httpProxy = config.httpProxy;
1955
- this._httpsProxy = config.httpsProxy;
1956
- this._noProxy = config.noProxy;
1957
- this._socks5Proxy = config.socks5Proxy;
1958
- this._socks5NetWork = config.socks5NetWork;
1959
- this._maxIdleConns = tea_util_1.default.defaultNumber(config.maxIdleConns, 60000);
1960
- this._maxIdleTimeMillis = tea_util_1.default.defaultNumber(config.maxIdleTimeMillis, 5);
1961
- this._keepAliveDurationMillis = tea_util_1.default.defaultNumber(config.keepAliveDurationMillis, 5000);
1962
- this._maxRequests = tea_util_1.default.defaultNumber(config.maxRequests, 100);
1963
- this._maxRequestsPerHost = tea_util_1.default.defaultNumber(config.maxRequestsPerHost, 100);
2168
+ class ReceiveLeadMarketRequest extends $tea.Model {
2169
+ constructor(map) {
2170
+ super(map);
1964
2171
  }
1965
- /**
1966
- * Encapsulate the request and invoke the network
1967
- * @param action api name
1968
- * @param protocol http or https
1969
- * @param method e.g. GET
1970
- * @param pathname pathname of every api
1971
- * @param request which contains request params
1972
- * @param runtime which controls some details of call api, such as retry times
1973
- * @return the response
1974
- */
1975
- async doRequest(version, action, protocol, method, pathname, request, headers, runtime) {
1976
- let _runtime = {
1977
- timeouted: "retry",
1978
- readTimeout: tea_util_1.default.defaultNumber(runtime.readTimeout, this._readTimeout),
1979
- connectTimeout: tea_util_1.default.defaultNumber(runtime.connectTimeout, this._connectTimeout),
1980
- httpProxy: tea_util_1.default.defaultString(runtime.httpProxy, this._httpProxy),
1981
- httpsProxy: tea_util_1.default.defaultString(runtime.httpsProxy, this._httpsProxy),
1982
- noProxy: tea_util_1.default.defaultString(runtime.noProxy, this._noProxy),
1983
- maxIdleConns: tea_util_1.default.defaultNumber(runtime.maxIdleConns, this._maxIdleConns),
1984
- maxIdleTimeMillis: this._maxIdleTimeMillis,
1985
- keepAliveDuration: this._keepAliveDurationMillis,
1986
- maxRequests: this._maxRequests,
1987
- maxRequestsPerHost: this._maxRequestsPerHost,
1988
- retry: {
1989
- retryable: runtime.autoretry,
1990
- maxAttempts: tea_util_1.default.defaultNumber(runtime.maxAttempts, 3),
1991
- },
1992
- backoff: {
1993
- policy: tea_util_1.default.defaultString(runtime.backoffPolicy, "no"),
1994
- period: tea_util_1.default.defaultNumber(runtime.backoffPeriod, 1),
1995
- },
1996
- ignoreSSL: runtime.ignoreSSL,
2172
+ static names() {
2173
+ return {
2174
+ authToken: 'auth_token',
2175
+ requestId: 'request_id',
2176
+ productCode: 'product_code',
2177
+ bizContent: 'biz_content',
1997
2178
  };
1998
- let _lastRequest = null;
1999
- let _now = Date.now();
2000
- let _retryTimes = 0;
2001
- while ($tea.allowRetry(_runtime['retry'], _retryTimes, _now)) {
2002
- if (_retryTimes > 0) {
2003
- let _backoffTime = $tea.getBackoffTime(_runtime['backoff'], _retryTimes);
2004
- if (_backoffTime > 0) {
2005
- await $tea.sleep(_backoffTime);
2006
- }
2007
- }
2008
- _retryTimes = _retryTimes + 1;
2009
- try {
2010
- let request_ = new $tea.Request();
2011
- request_.protocol = tea_util_1.default.defaultString(this._protocol, protocol);
2012
- request_.method = method;
2013
- request_.pathname = pathname;
2014
- request_.query = {
2015
- method: action,
2016
- version: version,
2017
- sign_type: "HmacSHA1",
2018
- req_time: alipay_util_1.default.getTimestamp(),
2019
- req_msg_id: alipay_util_1.default.getNonce(),
2020
- access_key: this._accessKeyId,
2021
- base_sdk_version: "TeaSDK-2.0",
2022
- sdk_version: "1.10.2",
2023
- _prod_code: "INSURANCE_SAAS",
2024
- _prod_channel: "undefined",
2025
- };
2026
- if (!tea_util_1.default.empty(this._securityToken)) {
2027
- request_.query["security_token"] = this._securityToken;
2028
- }
2029
- 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);
2030
- let tmp = tea_util_1.default.anyifyMapValue(rpc_util_1.default.query(request));
2031
- request_.body = new $tea.BytesReadable(tea_util_1.default.toFormString(tmp));
2032
- request_.headers["content-type"] = "application/x-www-form-urlencoded";
2033
- let signedParam = Object.assign(Object.assign({}, request_.query), rpc_util_1.default.query(request));
2034
- request_.query["sign"] = alipay_util_1.default.getSignature(signedParam, this._accessKeySecret);
2035
- _lastRequest = request_;
2036
- let response_ = await $tea.doAction(request_, _runtime);
2179
+ }
2180
+ static types() {
2181
+ return {
2182
+ authToken: 'string',
2183
+ requestId: 'string',
2184
+ productCode: 'string',
2185
+ bizContent: 'string',
2186
+ };
2187
+ }
2188
+ }
2189
+ exports.ReceiveLeadMarketRequest = ReceiveLeadMarketRequest;
2190
+ class ReceiveLeadMarketResponse extends $tea.Model {
2191
+ constructor(map) {
2192
+ super(map);
2193
+ }
2194
+ static names() {
2195
+ return {
2196
+ reqMsgId: 'req_msg_id',
2197
+ resultCode: 'result_code',
2198
+ resultMsg: 'result_msg',
2199
+ bizResult: 'biz_result',
2200
+ };
2201
+ }
2202
+ static types() {
2203
+ return {
2204
+ reqMsgId: 'string',
2205
+ resultCode: 'string',
2206
+ resultMsg: 'string',
2207
+ bizResult: 'string',
2208
+ };
2209
+ }
2210
+ }
2211
+ exports.ReceiveLeadMarketResponse = ReceiveLeadMarketResponse;
2212
+ class GetMarketingInsureurlRequest extends $tea.Model {
2213
+ constructor(map) {
2214
+ super(map);
2215
+ }
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',
2236
+ };
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.34",
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));
2810
+ request_.query["sign"] = alipay_util_1.default.getSignature(signedParam, this._accessKeySecret);
2811
+ _lastRequest = request_;
2812
+ let response_ = await $tea.doAction(request_, _runtime);
2037
2813
  let raw = await tea_util_1.default.readAsString(response_.body);
2038
2814
  let obj = tea_util_1.default.parseJSON(raw);
2039
2815
  let res = tea_util_1.default.assertAsMap(obj);
@@ -2057,6 +2833,83 @@ class Client {
2057
2833
  throw $tea.newUnretryableError(_lastRequest);
2058
2834
  }
2059
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 callbackAasMktLiveeffect(request) {
2898
+ let runtime = new $Util.RuntimeOptions({});
2899
+ let headers = {};
2900
+ return await this.callbackAasMktLiveeffectEx(request, headers, runtime);
2901
+ }
2902
+ /**
2903
+ * @remarks
2904
+ * Description: 保险营销效果回传接口——直播通道
2905
+ * Summary: 保险营销效果回传接口——直播通道
2906
+ */
2907
+ async callbackAasMktLiveeffectEx(request, headers, runtime) {
2908
+ tea_util_1.default.validateModel(request);
2909
+ return $tea.cast(await this.doRequest("1.0", "antcloud.insurancesaas.mkt.liveeffect.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackAasMktLiveeffectResponse({}));
2910
+ }
2911
+ /**
2912
+ * @remarks
2060
2913
  * Description: 保险询报价结果查询
2061
2914
  * Summary: 保险询报价结果查询
2062
2915
  */
@@ -2066,6 +2919,7 @@ class Client {
2066
2919
  return await this.queryInquiryEx(request, headers, runtime);
2067
2920
  }
2068
2921
  /**
2922
+ * @remarks
2069
2923
  * Description: 保险询报价结果查询
2070
2924
  * Summary: 保险询报价结果查询
2071
2925
  */
@@ -2074,6 +2928,7 @@ class Client {
2074
2928
  return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.inquiry.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInquiryResponse({}));
2075
2929
  }
2076
2930
  /**
2931
+ * @remarks
2077
2932
  * Description: 保险产品询价
2078
2933
  * Summary: 保险产品询价
2079
2934
  */
@@ -2083,6 +2938,7 @@ class Client {
2083
2938
  return await this.submitInquiryEx(request, headers, runtime);
2084
2939
  }
2085
2940
  /**
2941
+ * @remarks
2086
2942
  * Description: 保险产品询价
2087
2943
  * Summary: 保险产品询价
2088
2944
  */
@@ -2091,6 +2947,7 @@ class Client {
2091
2947
  return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.inquiry.submit", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SubmitInquiryResponse({}));
2092
2948
  }
2093
2949
  /**
2950
+ * @remarks
2094
2951
  * Description: 历史灾害查询
2095
2952
  * Summary: 历史灾害数据查询
2096
2953
  */
@@ -2100,6 +2957,7 @@ class Client {
2100
2957
  return await this.queryDataDisasterEx(request, headers, runtime);
2101
2958
  }
2102
2959
  /**
2960
+ * @remarks
2103
2961
  * Description: 历史灾害查询
2104
2962
  * Summary: 历史灾害数据查询
2105
2963
  */
@@ -2108,6 +2966,7 @@ class Client {
2108
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({}));
2109
2967
  }
2110
2968
  /**
2969
+ * @remarks
2111
2970
  * Description: 实时天气预警
2112
2971
  * Summary: 实时天气预警
2113
2972
  */
@@ -2117,6 +2976,7 @@ class Client {
2117
2976
  return await this.queryDataWeatherEx(request, headers, runtime);
2118
2977
  }
2119
2978
  /**
2979
+ * @remarks
2120
2980
  * Description: 实时天气预警
2121
2981
  * Summary: 实时天气预警
2122
2982
  */
@@ -2125,6 +2985,7 @@ class Client {
2125
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({}));
2126
2986
  }
2127
2987
  /**
2988
+ * @remarks
2128
2989
  * Description: 报价接口同步接口
2129
2990
  * Summary: 报价接口同步接口
2130
2991
  */
@@ -2134,6 +2995,7 @@ class Client {
2134
2995
  return await this.syncQuoteEx(request, headers, runtime);
2135
2996
  }
2136
2997
  /**
2998
+ * @remarks
2137
2999
  * Description: 报价接口同步接口
2138
3000
  * Summary: 报价接口同步接口
2139
3001
  */
@@ -2142,6 +3004,7 @@ class Client {
2142
3004
  return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.quote.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncQuoteResponse({}));
2143
3005
  }
2144
3006
  /**
3007
+ * @remarks
2145
3008
  * Description: 承保自核申请接口
2146
3009
  * Summary: 承保自核申请接口
2147
3010
  */
@@ -2151,6 +3014,7 @@ class Client {
2151
3014
  return await this.applyUnderwritingEx(request, headers, runtime);
2152
3015
  }
2153
3016
  /**
3017
+ * @remarks
2154
3018
  * Description: 承保自核申请接口
2155
3019
  * Summary: 承保自核申请接口
2156
3020
  */
@@ -2159,6 +3023,7 @@ class Client {
2159
3023
  return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.underwriting.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUnderwritingResponse({}));
2160
3024
  }
2161
3025
  /**
3026
+ * @remarks
2162
3027
  * Description: 承保自核结果查询接口
2163
3028
  * Summary: 承保自核结果查询接口
2164
3029
  */
@@ -2168,6 +3033,7 @@ class Client {
2168
3033
  return await this.queryUnderwritingEx(request, headers, runtime);
2169
3034
  }
2170
3035
  /**
3036
+ * @remarks
2171
3037
  * Description: 承保自核结果查询接口
2172
3038
  * Summary: 承保自核结果查询接口
2173
3039
  */
@@ -2176,6 +3042,7 @@ class Client {
2176
3042
  return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.underwriting.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUnderwritingResponse({}));
2177
3043
  }
2178
3044
  /**
3045
+ * @remarks
2179
3046
  * Description: 根据保单号查询保单附件,并返回一个有效期为7天的ossurl
2180
3047
  * Summary: 保险科技保单附件查询接口
2181
3048
  */
@@ -2185,6 +3052,7 @@ class Client {
2185
3052
  return await this.queryPolicyFileEx(request, headers, runtime);
2186
3053
  }
2187
3054
  /**
3055
+ * @remarks
2188
3056
  * Description: 根据保单号查询保单附件,并返回一个有效期为7天的ossurl
2189
3057
  * Summary: 保险科技保单附件查询接口
2190
3058
  */
@@ -2193,6 +3061,7 @@ class Client {
2193
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({}));
2194
3062
  }
2195
3063
  /**
3064
+ * @remarks
2196
3065
  * Description: 保险SaaS投保申请接口
2197
3066
  * Summary: 投保申请接口
2198
3067
  */
@@ -2202,6 +3071,7 @@ class Client {
2202
3071
  return await this.applyInsureEx(request, headers, runtime);
2203
3072
  }
2204
3073
  /**
3074
+ * @remarks
2205
3075
  * Description: 保险SaaS投保申请接口
2206
3076
  * Summary: 投保申请接口
2207
3077
  */
@@ -2210,6 +3080,7 @@ class Client {
2210
3080
  return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.insure.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyInsureResponse({}));
2211
3081
  }
2212
3082
  /**
3083
+ * @remarks
2213
3084
  * Description: 保单结果同步,注意:基于投保信息的保单结果同步。
2214
3085
  * Summary: 保单结果同步(依赖投保申请)
2215
3086
  */
@@ -2219,6 +3090,7 @@ class Client {
2219
3090
  return await this.notifyPolicyResultEx(request, headers, runtime);
2220
3091
  }
2221
3092
  /**
3093
+ * @remarks
2222
3094
  * Description: 保单结果同步,注意:基于投保信息的保单结果同步。
2223
3095
  * Summary: 保单结果同步(依赖投保申请)
2224
3096
  */
@@ -2227,6 +3099,7 @@ class Client {
2227
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({}));
2228
3100
  }
2229
3101
  /**
3102
+ * @remarks
2230
3103
  * Description: 报案接口
2231
3104
  * Summary: 保险科技 报案接口
2232
3105
  */
@@ -2236,6 +3109,7 @@ class Client {
2236
3109
  return await this.applyClaimEx(request, headers, runtime);
2237
3110
  }
2238
3111
  /**
3112
+ * @remarks
2239
3113
  * Description: 报案接口
2240
3114
  * Summary: 保险科技 报案接口
2241
3115
  */
@@ -2244,6 +3118,7 @@ class Client {
2244
3118
  return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.claim.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyClaimResponse({}));
2245
3119
  }
2246
3120
  /**
3121
+ * @remarks
2247
3122
  * Description: 报案撤销(场景端)
2248
3123
  * Summary: 报案撤销(场景端)
2249
3124
  */
@@ -2253,6 +3128,7 @@ class Client {
2253
3128
  return await this.cancelClaimEx(request, headers, runtime);
2254
3129
  }
2255
3130
  /**
3131
+ * @remarks
2256
3132
  * Description: 报案撤销(场景端)
2257
3133
  * Summary: 报案撤销(场景端)
2258
3134
  */
@@ -2261,6 +3137,7 @@ class Client {
2261
3137
  return $tea.cast(await this.doRequest("1.0", "antcloud.insurance.claim.cancel", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CancelClaimResponse({}));
2262
3138
  }
2263
3139
  /**
3140
+ * @remarks
2264
3141
  * Description: 报案材料更新(场景端)
2265
3142
  * Summary: 报案材料更新(场景端)
2266
3143
  */
@@ -2270,6 +3147,7 @@ class Client {
2270
3147
  return await this.updateClaimMaterialEx(request, headers, runtime);
2271
3148
  }
2272
3149
  /**
3150
+ * @remarks
2273
3151
  * Description: 报案材料更新(场景端)
2274
3152
  * Summary: 报案材料更新(场景端)
2275
3153
  */
@@ -2278,6 +3156,7 @@ class Client {
2278
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({}));
2279
3157
  }
2280
3158
  /**
3159
+ * @remarks
2281
3160
  * Description: 理赔结果确认(场景端)
2282
3161
  * Summary: 理赔结果确认(场景端)
2283
3162
  */
@@ -2287,6 +3166,7 @@ class Client {
2287
3166
  return await this.confirmClaimSettleEx(request, headers, runtime);
2288
3167
  }
2289
3168
  /**
3169
+ * @remarks
2290
3170
  * Description: 理赔结果确认(场景端)
2291
3171
  * Summary: 理赔结果确认(场景端)
2292
3172
  */
@@ -2295,6 +3175,7 @@ class Client {
2295
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({}));
2296
3176
  }
2297
3177
  /**
3178
+ * @remarks
2298
3179
  * Description: 理赔结案通知(保司端)
2299
3180
  * Summary: 理赔结案通知(保司端)
2300
3181
  */
@@ -2304,6 +3185,7 @@ class Client {
2304
3185
  return await this.finishClaimSettleEx(request, headers, runtime);
2305
3186
  }
2306
3187
  /**
3188
+ * @remarks
2307
3189
  * Description: 理赔结案通知(保司端)
2308
3190
  * Summary: 理赔结案通知(保司端)
2309
3191
  */
@@ -2312,6 +3194,7 @@ class Client {
2312
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({}));
2313
3195
  }
2314
3196
  /**
3197
+ * @remarks
2315
3198
  * Description: 保险批改自核接口
2316
3199
  * Summary: 保险批改自核接口
2317
3200
  */
@@ -2321,6 +3204,7 @@ class Client {
2321
3204
  return await this.applyEndorsementStrategyEx(request, headers, runtime);
2322
3205
  }
2323
3206
  /**
3207
+ * @remarks
2324
3208
  * Description: 保险批改自核接口
2325
3209
  * Summary: 保险批改自核接口
2326
3210
  */
@@ -2329,6 +3213,7 @@ class Client {
2329
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({}));
2330
3214
  }
2331
3215
  /**
3216
+ * @remarks
2332
3217
  * Description: 保单信息离线同步
2333
3218
  * Summary: 保单信息离线同步
2334
3219
  */
@@ -2338,6 +3223,7 @@ class Client {
2338
3223
  return await this.syncPolicyResultEx(request, headers, runtime);
2339
3224
  }
2340
3225
  /**
3226
+ * @remarks
2341
3227
  * Description: 保单信息离线同步
2342
3228
  * Summary: 保单信息离线同步
2343
3229
  */
@@ -2346,6 +3232,7 @@ class Client {
2346
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({}));
2347
3233
  }
2348
3234
  /**
3235
+ * @remarks
2349
3236
  * Description: 基于通知单号查询保险投保结果
2350
3237
  * Summary: 保险投保结果查询
2351
3238
  */
@@ -2355,6 +3242,7 @@ class Client {
2355
3242
  return await this.queryInsureResultEx(request, headers, runtime);
2356
3243
  }
2357
3244
  /**
3245
+ * @remarks
2358
3246
  * Description: 基于通知单号查询保险投保结果
2359
3247
  * Summary: 保险投保结果查询
2360
3248
  */
@@ -2363,6 +3251,7 @@ class Client {
2363
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({}));
2364
3252
  }
2365
3253
  /**
3254
+ * @remarks
2366
3255
  * Description: 投保测试接口
2367
3256
  * Summary: 投保测试接口
2368
3257
  */
@@ -2372,6 +3261,7 @@ class Client {
2372
3261
  return await this.applyInsureTestEx(request, headers, runtime);
2373
3262
  }
2374
3263
  /**
3264
+ * @remarks
2375
3265
  * Description: 投保测试接口
2376
3266
  * Summary: 投保测试接口
2377
3267
  */
@@ -2380,6 +3270,7 @@ class Client {
2380
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({}));
2381
3271
  }
2382
3272
  /**
3273
+ * @remarks
2383
3274
  * Description: 本接口用于调查报案数据的提交
2384
3275
  * Summary: 调查报案提交接口
2385
3276
  */
@@ -2389,6 +3280,7 @@ class Client {
2389
3280
  return await this.submitInvestigateCaseEx(request, headers, runtime);
2390
3281
  }
2391
3282
  /**
3283
+ * @remarks
2392
3284
  * Description: 本接口用于调查报案数据的提交
2393
3285
  * Summary: 调查报案提交接口
2394
3286
  */
@@ -2397,6 +3289,7 @@ class Client {
2397
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({}));
2398
3290
  }
2399
3291
  /**
3292
+ * @remarks
2400
3293
  * Description: 回销结果查询接口
2401
3294
  * Summary: 回销结果查询接口
2402
3295
  */
@@ -2406,6 +3299,7 @@ class Client {
2406
3299
  return await this.queryReverseCommissionEx(request, headers, runtime);
2407
3300
  }
2408
3301
  /**
3302
+ * @remarks
2409
3303
  * Description: 回销结果查询接口
2410
3304
  * Summary: 回销结果查询接口
2411
3305
  */
@@ -2414,6 +3308,7 @@ class Client {
2414
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({}));
2415
3309
  }
2416
3310
  /**
3311
+ * @remarks
2417
3312
  * Description: 嵌入式保险服务卡片url链接获取
2418
3313
  * Summary: 嵌入式保险服务卡片url链接获取
2419
3314
  */
@@ -2423,6 +3318,7 @@ class Client {
2423
3318
  return await this.getEmbedcardUrlEx(request, headers, runtime);
2424
3319
  }
2425
3320
  /**
3321
+ * @remarks
2426
3322
  * Description: 嵌入式保险服务卡片url链接获取
2427
3323
  * Summary: 嵌入式保险服务卡片url链接获取
2428
3324
  */
@@ -2431,6 +3327,7 @@ class Client {
2431
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({}));
2432
3328
  }
2433
3329
  /**
3330
+ * @remarks
2434
3331
  * Description: 嵌入式保险服务打款成功出单接口
2435
3332
  * Summary: 嵌入式保险服务打款成功出单接口
2436
3333
  */
@@ -2440,6 +3337,7 @@ class Client {
2440
3337
  return await this.issueEmbedcardPaysucEx(request, headers, runtime);
2441
3338
  }
2442
3339
  /**
3340
+ * @remarks
2443
3341
  * Description: 嵌入式保险服务打款成功出单接口
2444
3342
  * Summary: 嵌入式保险服务打款成功出单接口
2445
3343
  */
@@ -2448,6 +3346,7 @@ class Client {
2448
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({}));
2449
3347
  }
2450
3348
  /**
3349
+ * @remarks
2451
3350
  * Description: 嵌入式主机厂车险url链接获取
2452
3351
  * Summary: 嵌入式主机厂车险url链接获取
2453
3352
  */
@@ -2457,6 +3356,7 @@ class Client {
2457
3356
  return await this.getEmbedoemautoinsuranceUrlEx(request, headers, runtime);
2458
3357
  }
2459
3358
  /**
3359
+ * @remarks
2460
3360
  * Description: 嵌入式主机厂车险url链接获取
2461
3361
  * Summary: 嵌入式主机厂车险url链接获取
2462
3362
  */
@@ -2465,6 +3365,7 @@ class Client {
2465
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({}));
2466
3366
  }
2467
3367
  /**
3368
+ * @remarks
2468
3369
  * Description: 场景方获取权益链接
2469
3370
  * Summary: 场景方获取权益链接
2470
3371
  */
@@ -2474,6 +3375,7 @@ class Client {
2474
3375
  return await this.getRightplatformUrlEx(request, headers, runtime);
2475
3376
  }
2476
3377
  /**
3378
+ * @remarks
2477
3379
  * Description: 场景方获取权益链接
2478
3380
  * Summary: 场景方获取权益链接
2479
3381
  */
@@ -2482,6 +3384,7 @@ class Client {
2482
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({}));
2483
3385
  }
2484
3386
  /**
3387
+ * @remarks
2485
3388
  * Description: 更新申请额度状态&投保人信息
2486
3389
  * Summary: 更新申请额度状态&投保人信息
2487
3390
  */
@@ -2491,6 +3394,7 @@ class Client {
2491
3394
  return await this.updateRightplatformApplyinfoEx(request, headers, runtime);
2492
3395
  }
2493
3396
  /**
3397
+ * @remarks
2494
3398
  * Description: 更新申请额度状态&投保人信息
2495
3399
  * Summary: 更新申请额度状态&投保人信息
2496
3400
  */
@@ -2499,6 +3403,7 @@ class Client {
2499
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({}));
2500
3404
  }
2501
3405
  /**
3406
+ * @remarks
2502
3407
  * Description: 场景方标的信息通知
2503
3408
  * Summary: 场景方标的信息通知
2504
3409
  */
@@ -2508,6 +3413,7 @@ class Client {
2508
3413
  return await this.notifyInterestScenesubjectEx(request, headers, runtime);
2509
3414
  }
2510
3415
  /**
3416
+ * @remarks
2511
3417
  * Description: 场景方标的信息通知
2512
3418
  * Summary: 场景方标的信息通知
2513
3419
  */
@@ -2516,6 +3422,7 @@ class Client {
2516
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({}));
2517
3423
  }
2518
3424
  /**
3425
+ * @remarks
2519
3426
  * Description: 权益服务商标的信息查询
2520
3427
  * Summary: 权益服务商标的信息查询
2521
3428
  */
@@ -2525,6 +3432,7 @@ class Client {
2525
3432
  return await this.queryInterestSuppliersubjectEx(request, headers, runtime);
2526
3433
  }
2527
3434
  /**
3435
+ * @remarks
2528
3436
  * Description: 权益服务商标的信息查询
2529
3437
  * Summary: 权益服务商标的信息查询
2530
3438
  */
@@ -2533,6 +3441,7 @@ class Client {
2533
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({}));
2534
3442
  }
2535
3443
  /**
3444
+ * @remarks
2536
3445
  * Description: 权益服务商投保后通知保单信息
2537
3446
  * Summary: 权益服务商投保后通知保单信息
2538
3447
  */
@@ -2542,6 +3451,7 @@ class Client {
2542
3451
  return await this.notifyInterestSupplierpolicyEx(request, headers, runtime);
2543
3452
  }
2544
3453
  /**
3454
+ * @remarks
2545
3455
  * Description: 权益服务商投保后通知保单信息
2546
3456
  * Summary: 权益服务商投保后通知保单信息
2547
3457
  */
@@ -2550,6 +3460,7 @@ class Client {
2550
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({}));
2551
3461
  }
2552
3462
  /**
3463
+ * @remarks
2553
3464
  * Description: 场景方获取权益链接
2554
3465
  * Summary: 场景方获取权益链接
2555
3466
  */
@@ -2559,6 +3470,7 @@ class Client {
2559
3470
  return await this.getInterestUrlEx(request, headers, runtime);
2560
3471
  }
2561
3472
  /**
3473
+ * @remarks
2562
3474
  * Description: 场景方获取权益链接
2563
3475
  * Summary: 场景方获取权益链接
2564
3476
  */
@@ -2567,6 +3479,7 @@ class Client {
2567
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({}));
2568
3480
  }
2569
3481
  /**
3482
+ * @remarks
2570
3483
  * Description: 场景方订单信息查询
2571
3484
  * Summary: 场景方订单信息查询
2572
3485
  */
@@ -2576,6 +3489,7 @@ class Client {
2576
3489
  return await this.queryInterestSceneorderEx(request, headers, runtime);
2577
3490
  }
2578
3491
  /**
3492
+ * @remarks
2579
3493
  * Description: 场景方订单信息查询
2580
3494
  * Summary: 场景方订单信息查询
2581
3495
  */
@@ -2584,6 +3498,7 @@ class Client {
2584
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({}));
2585
3499
  }
2586
3500
  /**
3501
+ * @remarks
2587
3502
  * Description: 权益服务商订单状态通知
2588
3503
  * Summary: 权益服务商订单状态通知
2589
3504
  */
@@ -2593,6 +3508,7 @@ class Client {
2593
3508
  return await this.notifyInterestSupplierorderEx(request, headers, runtime);
2594
3509
  }
2595
3510
  /**
3511
+ * @remarks
2596
3512
  * Description: 权益服务商订单状态通知
2597
3513
  * Summary: 权益服务商订单状态通知
2598
3514
  */
@@ -2600,6 +3516,216 @@ class Client {
2600
3516
  tea_util_1.default.validateModel(request);
2601
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({}));
2602
3518
  }
3519
+ /**
3520
+ * @remarks
3521
+ * Description: 车险线索营销结果接收
3522
+ * Summary: 车险线索营销结果接收
3523
+ */
3524
+ async receiveLeadMarket(request) {
3525
+ let runtime = new $Util.RuntimeOptions({});
3526
+ let headers = {};
3527
+ return await this.receiveLeadMarketEx(request, headers, runtime);
3528
+ }
3529
+ /**
3530
+ * @remarks
3531
+ * Description: 车险线索营销结果接收
3532
+ * Summary: 车险线索营销结果接收
3533
+ */
3534
+ async receiveLeadMarketEx(request, headers, runtime) {
3535
+ tea_util_1.default.validateModel(request);
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({}));
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
+ }
2603
3729
  }
2604
3730
  exports.default = Client;
2605
3731
  //# sourceMappingURL=client.js.map