@antchain/insurance_saas 1.8.13 → 1.9.2
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 +361 -5
- package/dist/client.js +538 -10
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +754 -7
package/src/client.ts
CHANGED
|
@@ -2284,7 +2284,7 @@ export class IssueEmbedcardPaysucResponse extends $tea.Model {
|
|
|
2284
2284
|
}
|
|
2285
2285
|
}
|
|
2286
2286
|
|
|
2287
|
-
export class
|
|
2287
|
+
export class GetEmbedoemautoinsuranceUrlRequest extends $tea.Model {
|
|
2288
2288
|
// OAuth模式下的授权token
|
|
2289
2289
|
authToken?: string;
|
|
2290
2290
|
// 调用方生成的唯一编码,参考格式: yyyyMMdd_xxxxx,已接口请求的当前日期开头;
|
|
@@ -2316,7 +2316,7 @@ export class GetEmbedomeautoinsuranceUrlRequest extends $tea.Model {
|
|
|
2316
2316
|
}
|
|
2317
2317
|
}
|
|
2318
2318
|
|
|
2319
|
-
export class
|
|
2319
|
+
export class GetEmbedoemautoinsuranceUrlResponse extends $tea.Model {
|
|
2320
2320
|
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2321
2321
|
reqMsgId?: string;
|
|
2322
2322
|
// 结果码,一般OK表示调用成功
|
|
@@ -2352,6 +2352,601 @@ export class GetEmbedomeautoinsuranceUrlResponse extends $tea.Model {
|
|
|
2352
2352
|
}
|
|
2353
2353
|
}
|
|
2354
2354
|
|
|
2355
|
+
export class GetRightplatformUrlRequest extends $tea.Model {
|
|
2356
|
+
// OAuth模式下的授权token
|
|
2357
|
+
authToken?: string;
|
|
2358
|
+
// 权益申请编号
|
|
2359
|
+
rightApplyNo: string;
|
|
2360
|
+
// 申请额度,最多保留小数点后两位
|
|
2361
|
+
applyLimitAmount: string;
|
|
2362
|
+
// 数据授权方名称
|
|
2363
|
+
dataLicensor: string;
|
|
2364
|
+
// 回调场景方地址
|
|
2365
|
+
callbackUrl: string;
|
|
2366
|
+
// 产品编码
|
|
2367
|
+
productCode: string;
|
|
2368
|
+
// 用户姓名 加密后传输
|
|
2369
|
+
tbrName: string;
|
|
2370
|
+
// 用户手机号,加密 && 脱敏传输
|
|
2371
|
+
tbrPhone: string;
|
|
2372
|
+
// 身份证, 加密 && 脱敏传输
|
|
2373
|
+
tbrIdCard: string;
|
|
2374
|
+
static names(): { [key: string]: string } {
|
|
2375
|
+
return {
|
|
2376
|
+
authToken: 'auth_token',
|
|
2377
|
+
rightApplyNo: 'right_apply_no',
|
|
2378
|
+
applyLimitAmount: 'apply_limit_amount',
|
|
2379
|
+
dataLicensor: 'data_licensor',
|
|
2380
|
+
callbackUrl: 'callback_url',
|
|
2381
|
+
productCode: 'product_code',
|
|
2382
|
+
tbrName: 'tbr_name',
|
|
2383
|
+
tbrPhone: 'tbr_phone',
|
|
2384
|
+
tbrIdCard: 'tbr_id_card',
|
|
2385
|
+
};
|
|
2386
|
+
}
|
|
2387
|
+
|
|
2388
|
+
static types(): { [key: string]: any } {
|
|
2389
|
+
return {
|
|
2390
|
+
authToken: 'string',
|
|
2391
|
+
rightApplyNo: 'string',
|
|
2392
|
+
applyLimitAmount: 'string',
|
|
2393
|
+
dataLicensor: 'string',
|
|
2394
|
+
callbackUrl: 'string',
|
|
2395
|
+
productCode: 'string',
|
|
2396
|
+
tbrName: 'string',
|
|
2397
|
+
tbrPhone: 'string',
|
|
2398
|
+
tbrIdCard: 'string',
|
|
2399
|
+
};
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2402
|
+
constructor(map?: { [key: string]: any }) {
|
|
2403
|
+
super(map);
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
export class GetRightplatformUrlResponse extends $tea.Model {
|
|
2408
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2409
|
+
reqMsgId?: string;
|
|
2410
|
+
// 结果码,一般OK表示调用成功
|
|
2411
|
+
resultCode?: string;
|
|
2412
|
+
// 异常信息的文本描述
|
|
2413
|
+
resultMsg?: string;
|
|
2414
|
+
// 权益申请编号
|
|
2415
|
+
rightApplyNo?: string;
|
|
2416
|
+
// 权益产品地址
|
|
2417
|
+
rightUrl?: string;
|
|
2418
|
+
// 两轮车延保险产品id
|
|
2419
|
+
//
|
|
2420
|
+
productId?: string;
|
|
2421
|
+
static names(): { [key: string]: string } {
|
|
2422
|
+
return {
|
|
2423
|
+
reqMsgId: 'req_msg_id',
|
|
2424
|
+
resultCode: 'result_code',
|
|
2425
|
+
resultMsg: 'result_msg',
|
|
2426
|
+
rightApplyNo: 'right_apply_no',
|
|
2427
|
+
rightUrl: 'right_url',
|
|
2428
|
+
productId: 'product_id',
|
|
2429
|
+
};
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
static types(): { [key: string]: any } {
|
|
2433
|
+
return {
|
|
2434
|
+
reqMsgId: 'string',
|
|
2435
|
+
resultCode: 'string',
|
|
2436
|
+
resultMsg: 'string',
|
|
2437
|
+
rightApplyNo: 'string',
|
|
2438
|
+
rightUrl: 'string',
|
|
2439
|
+
productId: 'string',
|
|
2440
|
+
};
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
constructor(map?: { [key: string]: any }) {
|
|
2444
|
+
super(map);
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2447
|
+
|
|
2448
|
+
export class UpdateRightplatformApplyinfoRequest extends $tea.Model {
|
|
2449
|
+
// OAuth模式下的授权token
|
|
2450
|
+
authToken?: string;
|
|
2451
|
+
// 申请权益编号
|
|
2452
|
+
rightApplyNo: string;
|
|
2453
|
+
// 申请额度
|
|
2454
|
+
applyLimitAmount: string;
|
|
2455
|
+
// 申请额度状态
|
|
2456
|
+
applyStatus: string;
|
|
2457
|
+
// 投保信息,json字符串
|
|
2458
|
+
applyInfo: string;
|
|
2459
|
+
// 产品编码
|
|
2460
|
+
productCode: string;
|
|
2461
|
+
static names(): { [key: string]: string } {
|
|
2462
|
+
return {
|
|
2463
|
+
authToken: 'auth_token',
|
|
2464
|
+
rightApplyNo: 'right_apply_no',
|
|
2465
|
+
applyLimitAmount: 'apply_limit_amount',
|
|
2466
|
+
applyStatus: 'apply_status',
|
|
2467
|
+
applyInfo: 'apply_info',
|
|
2468
|
+
productCode: 'product_code',
|
|
2469
|
+
};
|
|
2470
|
+
}
|
|
2471
|
+
|
|
2472
|
+
static types(): { [key: string]: any } {
|
|
2473
|
+
return {
|
|
2474
|
+
authToken: 'string',
|
|
2475
|
+
rightApplyNo: 'string',
|
|
2476
|
+
applyLimitAmount: 'string',
|
|
2477
|
+
applyStatus: 'string',
|
|
2478
|
+
applyInfo: 'string',
|
|
2479
|
+
productCode: 'string',
|
|
2480
|
+
};
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
constructor(map?: { [key: string]: any }) {
|
|
2484
|
+
super(map);
|
|
2485
|
+
}
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
export class UpdateRightplatformApplyinfoResponse extends $tea.Model {
|
|
2489
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2490
|
+
reqMsgId?: string;
|
|
2491
|
+
// 结果码,一般OK表示调用成功
|
|
2492
|
+
resultCode?: string;
|
|
2493
|
+
// 异常信息的文本描述
|
|
2494
|
+
resultMsg?: string;
|
|
2495
|
+
// 申请权益编号
|
|
2496
|
+
rightApplyNo?: string;
|
|
2497
|
+
static names(): { [key: string]: string } {
|
|
2498
|
+
return {
|
|
2499
|
+
reqMsgId: 'req_msg_id',
|
|
2500
|
+
resultCode: 'result_code',
|
|
2501
|
+
resultMsg: 'result_msg',
|
|
2502
|
+
rightApplyNo: 'right_apply_no',
|
|
2503
|
+
};
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
static types(): { [key: string]: any } {
|
|
2507
|
+
return {
|
|
2508
|
+
reqMsgId: 'string',
|
|
2509
|
+
resultCode: 'string',
|
|
2510
|
+
resultMsg: 'string',
|
|
2511
|
+
rightApplyNo: 'string',
|
|
2512
|
+
};
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
constructor(map?: { [key: string]: any }) {
|
|
2516
|
+
super(map);
|
|
2517
|
+
}
|
|
2518
|
+
}
|
|
2519
|
+
|
|
2520
|
+
export class NotifyInterestScenesubjectRequest extends $tea.Model {
|
|
2521
|
+
// OAuth模式下的授权token
|
|
2522
|
+
authToken?: string;
|
|
2523
|
+
// 请求流水号,每次请求不一样
|
|
2524
|
+
requestNo: string;
|
|
2525
|
+
// 权益流水号
|
|
2526
|
+
interestNo: string;
|
|
2527
|
+
// 产品编码
|
|
2528
|
+
productCode: string;
|
|
2529
|
+
// 申请审批额度,单位元
|
|
2530
|
+
applyLimitAmount: string;
|
|
2531
|
+
// 申请额度审批状态
|
|
2532
|
+
applyLimitStatus: string;
|
|
2533
|
+
// 权益标的信息,JSON字符串
|
|
2534
|
+
interestSubjectInfo: string;
|
|
2535
|
+
static names(): { [key: string]: string } {
|
|
2536
|
+
return {
|
|
2537
|
+
authToken: 'auth_token',
|
|
2538
|
+
requestNo: 'request_no',
|
|
2539
|
+
interestNo: 'interest_no',
|
|
2540
|
+
productCode: 'product_code',
|
|
2541
|
+
applyLimitAmount: 'apply_limit_amount',
|
|
2542
|
+
applyLimitStatus: 'apply_limit_status',
|
|
2543
|
+
interestSubjectInfo: 'interest_subject_info',
|
|
2544
|
+
};
|
|
2545
|
+
}
|
|
2546
|
+
|
|
2547
|
+
static types(): { [key: string]: any } {
|
|
2548
|
+
return {
|
|
2549
|
+
authToken: 'string',
|
|
2550
|
+
requestNo: 'string',
|
|
2551
|
+
interestNo: 'string',
|
|
2552
|
+
productCode: 'string',
|
|
2553
|
+
applyLimitAmount: 'string',
|
|
2554
|
+
applyLimitStatus: 'string',
|
|
2555
|
+
interestSubjectInfo: 'string',
|
|
2556
|
+
};
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
constructor(map?: { [key: string]: any }) {
|
|
2560
|
+
super(map);
|
|
2561
|
+
}
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2564
|
+
export class NotifyInterestScenesubjectResponse extends $tea.Model {
|
|
2565
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2566
|
+
reqMsgId?: string;
|
|
2567
|
+
// 结果码,一般OK表示调用成功
|
|
2568
|
+
resultCode?: string;
|
|
2569
|
+
// 异常信息的文本描述
|
|
2570
|
+
resultMsg?: string;
|
|
2571
|
+
// json字符串
|
|
2572
|
+
bizResult?: string;
|
|
2573
|
+
static names(): { [key: string]: string } {
|
|
2574
|
+
return {
|
|
2575
|
+
reqMsgId: 'req_msg_id',
|
|
2576
|
+
resultCode: 'result_code',
|
|
2577
|
+
resultMsg: 'result_msg',
|
|
2578
|
+
bizResult: 'biz_result',
|
|
2579
|
+
};
|
|
2580
|
+
}
|
|
2581
|
+
|
|
2582
|
+
static types(): { [key: string]: any } {
|
|
2583
|
+
return {
|
|
2584
|
+
reqMsgId: 'string',
|
|
2585
|
+
resultCode: 'string',
|
|
2586
|
+
resultMsg: 'string',
|
|
2587
|
+
bizResult: 'string',
|
|
2588
|
+
};
|
|
2589
|
+
}
|
|
2590
|
+
|
|
2591
|
+
constructor(map?: { [key: string]: any }) {
|
|
2592
|
+
super(map);
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
|
|
2596
|
+
export class QueryInterestSuppliersubjectRequest extends $tea.Model {
|
|
2597
|
+
// OAuth模式下的授权token
|
|
2598
|
+
authToken?: string;
|
|
2599
|
+
// 订单号
|
|
2600
|
+
orderNo: string;
|
|
2601
|
+
// 权益流水号
|
|
2602
|
+
interestNo: string;
|
|
2603
|
+
static names(): { [key: string]: string } {
|
|
2604
|
+
return {
|
|
2605
|
+
authToken: 'auth_token',
|
|
2606
|
+
orderNo: 'order_no',
|
|
2607
|
+
interestNo: 'interest_no',
|
|
2608
|
+
};
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2611
|
+
static types(): { [key: string]: any } {
|
|
2612
|
+
return {
|
|
2613
|
+
authToken: 'string',
|
|
2614
|
+
orderNo: 'string',
|
|
2615
|
+
interestNo: 'string',
|
|
2616
|
+
};
|
|
2617
|
+
}
|
|
2618
|
+
|
|
2619
|
+
constructor(map?: { [key: string]: any }) {
|
|
2620
|
+
super(map);
|
|
2621
|
+
}
|
|
2622
|
+
}
|
|
2623
|
+
|
|
2624
|
+
export class QueryInterestSuppliersubjectResponse extends $tea.Model {
|
|
2625
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2626
|
+
reqMsgId?: string;
|
|
2627
|
+
// 结果码,一般OK表示调用成功
|
|
2628
|
+
resultCode?: string;
|
|
2629
|
+
// 异常信息的文本描述
|
|
2630
|
+
resultMsg?: string;
|
|
2631
|
+
// json字符串
|
|
2632
|
+
bizResult?: string;
|
|
2633
|
+
static names(): { [key: string]: string } {
|
|
2634
|
+
return {
|
|
2635
|
+
reqMsgId: 'req_msg_id',
|
|
2636
|
+
resultCode: 'result_code',
|
|
2637
|
+
resultMsg: 'result_msg',
|
|
2638
|
+
bizResult: 'biz_result',
|
|
2639
|
+
};
|
|
2640
|
+
}
|
|
2641
|
+
|
|
2642
|
+
static types(): { [key: string]: any } {
|
|
2643
|
+
return {
|
|
2644
|
+
reqMsgId: 'string',
|
|
2645
|
+
resultCode: 'string',
|
|
2646
|
+
resultMsg: 'string',
|
|
2647
|
+
bizResult: 'string',
|
|
2648
|
+
};
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2651
|
+
constructor(map?: { [key: string]: any }) {
|
|
2652
|
+
super(map);
|
|
2653
|
+
}
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
export class NotifyInterestSupplierpolicyRequest extends $tea.Model {
|
|
2657
|
+
// OAuth模式下的授权token
|
|
2658
|
+
authToken?: string;
|
|
2659
|
+
// 请求流水号,每次推送需要唯一
|
|
2660
|
+
requestNo: string;
|
|
2661
|
+
// 权益订单号
|
|
2662
|
+
orderNo: string;
|
|
2663
|
+
// 保单信息 json字符串
|
|
2664
|
+
policyInfo: string;
|
|
2665
|
+
static names(): { [key: string]: string } {
|
|
2666
|
+
return {
|
|
2667
|
+
authToken: 'auth_token',
|
|
2668
|
+
requestNo: 'request_no',
|
|
2669
|
+
orderNo: 'order_no',
|
|
2670
|
+
policyInfo: 'policy_info',
|
|
2671
|
+
};
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
static types(): { [key: string]: any } {
|
|
2675
|
+
return {
|
|
2676
|
+
authToken: 'string',
|
|
2677
|
+
requestNo: 'string',
|
|
2678
|
+
orderNo: 'string',
|
|
2679
|
+
policyInfo: 'string',
|
|
2680
|
+
};
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
constructor(map?: { [key: string]: any }) {
|
|
2684
|
+
super(map);
|
|
2685
|
+
}
|
|
2686
|
+
}
|
|
2687
|
+
|
|
2688
|
+
export class NotifyInterestSupplierpolicyResponse extends $tea.Model {
|
|
2689
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2690
|
+
reqMsgId?: string;
|
|
2691
|
+
// 结果码,一般OK表示调用成功
|
|
2692
|
+
resultCode?: string;
|
|
2693
|
+
// 异常信息的文本描述
|
|
2694
|
+
resultMsg?: string;
|
|
2695
|
+
// json字符串
|
|
2696
|
+
bizResult?: string;
|
|
2697
|
+
static names(): { [key: string]: string } {
|
|
2698
|
+
return {
|
|
2699
|
+
reqMsgId: 'req_msg_id',
|
|
2700
|
+
resultCode: 'result_code',
|
|
2701
|
+
resultMsg: 'result_msg',
|
|
2702
|
+
bizResult: 'biz_result',
|
|
2703
|
+
};
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
static types(): { [key: string]: any } {
|
|
2707
|
+
return {
|
|
2708
|
+
reqMsgId: 'string',
|
|
2709
|
+
resultCode: 'string',
|
|
2710
|
+
resultMsg: 'string',
|
|
2711
|
+
bizResult: 'string',
|
|
2712
|
+
};
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
constructor(map?: { [key: string]: any }) {
|
|
2716
|
+
super(map);
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
export class GetInterestUrlRequest extends $tea.Model {
|
|
2721
|
+
// OAuth模式下的授权token
|
|
2722
|
+
authToken?: string;
|
|
2723
|
+
// 权益申请编号,重新提交需要不一样
|
|
2724
|
+
rightApplyNo: string;
|
|
2725
|
+
//
|
|
2726
|
+
// 申请额度,最多保留小数点后两位,单位元
|
|
2727
|
+
applyLimitAmount: string;
|
|
2728
|
+
//
|
|
2729
|
+
// 数据授权方名称
|
|
2730
|
+
dataLicensor: string;
|
|
2731
|
+
// 回调场景方地址
|
|
2732
|
+
callbackUrl?: string;
|
|
2733
|
+
// 权益产品编码,暂时固定
|
|
2734
|
+
productCode: string;
|
|
2735
|
+
// 用户姓名 明文
|
|
2736
|
+
tbrName: string;
|
|
2737
|
+
// 用户手机号,明文
|
|
2738
|
+
tbrPhone: string;
|
|
2739
|
+
// 用户身份证,明文
|
|
2740
|
+
tbrIdCard: string;
|
|
2741
|
+
static names(): { [key: string]: string } {
|
|
2742
|
+
return {
|
|
2743
|
+
authToken: 'auth_token',
|
|
2744
|
+
rightApplyNo: 'right_apply_no',
|
|
2745
|
+
applyLimitAmount: 'apply_limit_amount',
|
|
2746
|
+
dataLicensor: 'data_licensor',
|
|
2747
|
+
callbackUrl: 'callback_url',
|
|
2748
|
+
productCode: 'product_code',
|
|
2749
|
+
tbrName: 'tbr_name',
|
|
2750
|
+
tbrPhone: 'tbr_phone',
|
|
2751
|
+
tbrIdCard: 'tbr_id_card',
|
|
2752
|
+
};
|
|
2753
|
+
}
|
|
2754
|
+
|
|
2755
|
+
static types(): { [key: string]: any } {
|
|
2756
|
+
return {
|
|
2757
|
+
authToken: 'string',
|
|
2758
|
+
rightApplyNo: 'string',
|
|
2759
|
+
applyLimitAmount: 'string',
|
|
2760
|
+
dataLicensor: 'string',
|
|
2761
|
+
callbackUrl: 'string',
|
|
2762
|
+
productCode: 'string',
|
|
2763
|
+
tbrName: 'string',
|
|
2764
|
+
tbrPhone: 'string',
|
|
2765
|
+
tbrIdCard: 'string',
|
|
2766
|
+
};
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
constructor(map?: { [key: string]: any }) {
|
|
2770
|
+
super(map);
|
|
2771
|
+
}
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
export class GetInterestUrlResponse extends $tea.Model {
|
|
2775
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2776
|
+
reqMsgId?: string;
|
|
2777
|
+
// 结果码,一般OK表示调用成功
|
|
2778
|
+
resultCode?: string;
|
|
2779
|
+
// 异常信息的文本描述
|
|
2780
|
+
resultMsg?: string;
|
|
2781
|
+
// json字符串
|
|
2782
|
+
bizResult?: string;
|
|
2783
|
+
static names(): { [key: string]: string } {
|
|
2784
|
+
return {
|
|
2785
|
+
reqMsgId: 'req_msg_id',
|
|
2786
|
+
resultCode: 'result_code',
|
|
2787
|
+
resultMsg: 'result_msg',
|
|
2788
|
+
bizResult: 'biz_result',
|
|
2789
|
+
};
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
static types(): { [key: string]: any } {
|
|
2793
|
+
return {
|
|
2794
|
+
reqMsgId: 'string',
|
|
2795
|
+
resultCode: 'string',
|
|
2796
|
+
resultMsg: 'string',
|
|
2797
|
+
bizResult: 'string',
|
|
2798
|
+
};
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
constructor(map?: { [key: string]: any }) {
|
|
2802
|
+
super(map);
|
|
2803
|
+
}
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
export class QueryInterestSceneorderRequest extends $tea.Model {
|
|
2807
|
+
// OAuth模式下的授权token
|
|
2808
|
+
authToken?: string;
|
|
2809
|
+
// 请求流水号
|
|
2810
|
+
requestNo: string;
|
|
2811
|
+
// 我方权益申请流水号
|
|
2812
|
+
interestNo: string;
|
|
2813
|
+
// 产品编码
|
|
2814
|
+
productCode: string;
|
|
2815
|
+
static names(): { [key: string]: string } {
|
|
2816
|
+
return {
|
|
2817
|
+
authToken: 'auth_token',
|
|
2818
|
+
requestNo: 'request_no',
|
|
2819
|
+
interestNo: 'interest_no',
|
|
2820
|
+
productCode: 'product_code',
|
|
2821
|
+
};
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2824
|
+
static types(): { [key: string]: any } {
|
|
2825
|
+
return {
|
|
2826
|
+
authToken: 'string',
|
|
2827
|
+
requestNo: 'string',
|
|
2828
|
+
interestNo: 'string',
|
|
2829
|
+
productCode: 'string',
|
|
2830
|
+
};
|
|
2831
|
+
}
|
|
2832
|
+
|
|
2833
|
+
constructor(map?: { [key: string]: any }) {
|
|
2834
|
+
super(map);
|
|
2835
|
+
}
|
|
2836
|
+
}
|
|
2837
|
+
|
|
2838
|
+
export class QueryInterestSceneorderResponse extends $tea.Model {
|
|
2839
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2840
|
+
reqMsgId?: string;
|
|
2841
|
+
// 结果码,一般OK表示调用成功
|
|
2842
|
+
resultCode?: string;
|
|
2843
|
+
// 异常信息的文本描述
|
|
2844
|
+
resultMsg?: string;
|
|
2845
|
+
// json字符串
|
|
2846
|
+
bizResult?: string;
|
|
2847
|
+
static names(): { [key: string]: string } {
|
|
2848
|
+
return {
|
|
2849
|
+
reqMsgId: 'req_msg_id',
|
|
2850
|
+
resultCode: 'result_code',
|
|
2851
|
+
resultMsg: 'result_msg',
|
|
2852
|
+
bizResult: 'biz_result',
|
|
2853
|
+
};
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2856
|
+
static types(): { [key: string]: any } {
|
|
2857
|
+
return {
|
|
2858
|
+
reqMsgId: 'string',
|
|
2859
|
+
resultCode: 'string',
|
|
2860
|
+
resultMsg: 'string',
|
|
2861
|
+
bizResult: 'string',
|
|
2862
|
+
};
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
constructor(map?: { [key: string]: any }) {
|
|
2866
|
+
super(map);
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
|
|
2870
|
+
export class NotifyInterestSupplierorderRequest extends $tea.Model {
|
|
2871
|
+
// OAuth模式下的授权token
|
|
2872
|
+
authToken?: string;
|
|
2873
|
+
// 请求流水号,每次唯一
|
|
2874
|
+
requestNo: string;
|
|
2875
|
+
// 贵方订单号
|
|
2876
|
+
orderNo: string;
|
|
2877
|
+
// 我方权益编号
|
|
2878
|
+
interestNo: string;
|
|
2879
|
+
// 用户授权状态
|
|
2880
|
+
userPermitStatus: string;
|
|
2881
|
+
// 权益订单状态
|
|
2882
|
+
orderStatus: string;
|
|
2883
|
+
// 退款金额,单位元
|
|
2884
|
+
refundAmount?: string;
|
|
2885
|
+
// 退款时间
|
|
2886
|
+
refundTime?: string;
|
|
2887
|
+
static names(): { [key: string]: string } {
|
|
2888
|
+
return {
|
|
2889
|
+
authToken: 'auth_token',
|
|
2890
|
+
requestNo: 'request_no',
|
|
2891
|
+
orderNo: 'order_no',
|
|
2892
|
+
interestNo: 'interest_no',
|
|
2893
|
+
userPermitStatus: 'user_permit_status',
|
|
2894
|
+
orderStatus: 'order_status',
|
|
2895
|
+
refundAmount: 'refund_amount',
|
|
2896
|
+
refundTime: 'refund_time',
|
|
2897
|
+
};
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
static types(): { [key: string]: any } {
|
|
2901
|
+
return {
|
|
2902
|
+
authToken: 'string',
|
|
2903
|
+
requestNo: 'string',
|
|
2904
|
+
orderNo: 'string',
|
|
2905
|
+
interestNo: 'string',
|
|
2906
|
+
userPermitStatus: 'string',
|
|
2907
|
+
orderStatus: 'string',
|
|
2908
|
+
refundAmount: 'string',
|
|
2909
|
+
refundTime: 'string',
|
|
2910
|
+
};
|
|
2911
|
+
}
|
|
2912
|
+
|
|
2913
|
+
constructor(map?: { [key: string]: any }) {
|
|
2914
|
+
super(map);
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2918
|
+
export class NotifyInterestSupplierorderResponse extends $tea.Model {
|
|
2919
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2920
|
+
reqMsgId?: string;
|
|
2921
|
+
// 结果码,一般OK表示调用成功
|
|
2922
|
+
resultCode?: string;
|
|
2923
|
+
// 异常信息的文本描述
|
|
2924
|
+
resultMsg?: string;
|
|
2925
|
+
// json字符串
|
|
2926
|
+
bizResult?: string;
|
|
2927
|
+
static names(): { [key: string]: string } {
|
|
2928
|
+
return {
|
|
2929
|
+
reqMsgId: 'req_msg_id',
|
|
2930
|
+
resultCode: 'result_code',
|
|
2931
|
+
resultMsg: 'result_msg',
|
|
2932
|
+
bizResult: 'biz_result',
|
|
2933
|
+
};
|
|
2934
|
+
}
|
|
2935
|
+
|
|
2936
|
+
static types(): { [key: string]: any } {
|
|
2937
|
+
return {
|
|
2938
|
+
reqMsgId: 'string',
|
|
2939
|
+
resultCode: 'string',
|
|
2940
|
+
resultMsg: 'string',
|
|
2941
|
+
bizResult: 'string',
|
|
2942
|
+
};
|
|
2943
|
+
}
|
|
2944
|
+
|
|
2945
|
+
constructor(map?: { [key: string]: any }) {
|
|
2946
|
+
super(map);
|
|
2947
|
+
}
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2355
2950
|
|
|
2356
2951
|
export default class Client {
|
|
2357
2952
|
_endpoint: string;
|
|
@@ -2465,7 +3060,7 @@ export default class Client {
|
|
|
2465
3060
|
req_msg_id: AntchainUtil.getNonce(),
|
|
2466
3061
|
access_key: this._accessKeyId,
|
|
2467
3062
|
base_sdk_version: "TeaSDK-2.0",
|
|
2468
|
-
sdk_version: "1.
|
|
3063
|
+
sdk_version: "1.9.2",
|
|
2469
3064
|
_prod_code: "INSURANCE_SAAS",
|
|
2470
3065
|
_prod_channel: "undefined",
|
|
2471
3066
|
};
|
|
@@ -2954,19 +3549,171 @@ export default class Client {
|
|
|
2954
3549
|
* Description: 嵌入式主机厂车险url链接获取
|
|
2955
3550
|
* Summary: 嵌入式主机厂车险url链接获取
|
|
2956
3551
|
*/
|
|
2957
|
-
async
|
|
3552
|
+
async getEmbedoemautoinsuranceUrl(request: GetEmbedoemautoinsuranceUrlRequest): Promise<GetEmbedoemautoinsuranceUrlResponse> {
|
|
2958
3553
|
let runtime = new $Util.RuntimeOptions({ });
|
|
2959
3554
|
let headers : {[key: string ]: string} = { };
|
|
2960
|
-
return await this.
|
|
3555
|
+
return await this.getEmbedoemautoinsuranceUrlEx(request, headers, runtime);
|
|
2961
3556
|
}
|
|
2962
3557
|
|
|
2963
3558
|
/**
|
|
2964
3559
|
* Description: 嵌入式主机厂车险url链接获取
|
|
2965
3560
|
* Summary: 嵌入式主机厂车险url链接获取
|
|
2966
3561
|
*/
|
|
2967
|
-
async
|
|
3562
|
+
async getEmbedoemautoinsuranceUrlEx(request: GetEmbedoemautoinsuranceUrlRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetEmbedoemautoinsuranceUrlResponse> {
|
|
3563
|
+
Util.validateModel(request);
|
|
3564
|
+
return $tea.cast<GetEmbedoemautoinsuranceUrlResponse>(await this.doRequest("1.0", "antcloud.insurance.embedoemautoinsurance.url.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetEmbedoemautoinsuranceUrlResponse({}));
|
|
3565
|
+
}
|
|
3566
|
+
|
|
3567
|
+
/**
|
|
3568
|
+
* Description: 场景方获取权益链接
|
|
3569
|
+
* Summary: 场景方获取权益链接
|
|
3570
|
+
*/
|
|
3571
|
+
async getRightplatformUrl(request: GetRightplatformUrlRequest): Promise<GetRightplatformUrlResponse> {
|
|
3572
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3573
|
+
let headers : {[key: string ]: string} = { };
|
|
3574
|
+
return await this.getRightplatformUrlEx(request, headers, runtime);
|
|
3575
|
+
}
|
|
3576
|
+
|
|
3577
|
+
/**
|
|
3578
|
+
* Description: 场景方获取权益链接
|
|
3579
|
+
* Summary: 场景方获取权益链接
|
|
3580
|
+
*/
|
|
3581
|
+
async getRightplatformUrlEx(request: GetRightplatformUrlRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetRightplatformUrlResponse> {
|
|
3582
|
+
Util.validateModel(request);
|
|
3583
|
+
return $tea.cast<GetRightplatformUrlResponse>(await this.doRequest("1.0", "antcloud.insurance.rightplatform.url.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetRightplatformUrlResponse({}));
|
|
3584
|
+
}
|
|
3585
|
+
|
|
3586
|
+
/**
|
|
3587
|
+
* Description: 更新申请额度状态&投保人信息
|
|
3588
|
+
* Summary: 更新申请额度状态&投保人信息
|
|
3589
|
+
*/
|
|
3590
|
+
async updateRightplatformApplyinfo(request: UpdateRightplatformApplyinfoRequest): Promise<UpdateRightplatformApplyinfoResponse> {
|
|
3591
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3592
|
+
let headers : {[key: string ]: string} = { };
|
|
3593
|
+
return await this.updateRightplatformApplyinfoEx(request, headers, runtime);
|
|
3594
|
+
}
|
|
3595
|
+
|
|
3596
|
+
/**
|
|
3597
|
+
* Description: 更新申请额度状态&投保人信息
|
|
3598
|
+
* Summary: 更新申请额度状态&投保人信息
|
|
3599
|
+
*/
|
|
3600
|
+
async updateRightplatformApplyinfoEx(request: UpdateRightplatformApplyinfoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateRightplatformApplyinfoResponse> {
|
|
3601
|
+
Util.validateModel(request);
|
|
3602
|
+
return $tea.cast<UpdateRightplatformApplyinfoResponse>(await this.doRequest("1.0", "antcloud.insurance.rightplatform.applyinfo.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateRightplatformApplyinfoResponse({}));
|
|
3603
|
+
}
|
|
3604
|
+
|
|
3605
|
+
/**
|
|
3606
|
+
* Description: 场景方标的信息通知
|
|
3607
|
+
* Summary: 场景方标的信息通知
|
|
3608
|
+
*/
|
|
3609
|
+
async notifyInterestScenesubject(request: NotifyInterestScenesubjectRequest): Promise<NotifyInterestScenesubjectResponse> {
|
|
3610
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3611
|
+
let headers : {[key: string ]: string} = { };
|
|
3612
|
+
return await this.notifyInterestScenesubjectEx(request, headers, runtime);
|
|
3613
|
+
}
|
|
3614
|
+
|
|
3615
|
+
/**
|
|
3616
|
+
* Description: 场景方标的信息通知
|
|
3617
|
+
* Summary: 场景方标的信息通知
|
|
3618
|
+
*/
|
|
3619
|
+
async notifyInterestScenesubjectEx(request: NotifyInterestScenesubjectRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<NotifyInterestScenesubjectResponse> {
|
|
3620
|
+
Util.validateModel(request);
|
|
3621
|
+
return $tea.cast<NotifyInterestScenesubjectResponse>(await this.doRequest("1.0", "antcloud.insurance.interest.scenesubject.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyInterestScenesubjectResponse({}));
|
|
3622
|
+
}
|
|
3623
|
+
|
|
3624
|
+
/**
|
|
3625
|
+
* Description: 权益服务商标的信息查询
|
|
3626
|
+
* Summary: 权益服务商标的信息查询
|
|
3627
|
+
*/
|
|
3628
|
+
async queryInterestSuppliersubject(request: QueryInterestSuppliersubjectRequest): Promise<QueryInterestSuppliersubjectResponse> {
|
|
3629
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3630
|
+
let headers : {[key: string ]: string} = { };
|
|
3631
|
+
return await this.queryInterestSuppliersubjectEx(request, headers, runtime);
|
|
3632
|
+
}
|
|
3633
|
+
|
|
3634
|
+
/**
|
|
3635
|
+
* Description: 权益服务商标的信息查询
|
|
3636
|
+
* Summary: 权益服务商标的信息查询
|
|
3637
|
+
*/
|
|
3638
|
+
async queryInterestSuppliersubjectEx(request: QueryInterestSuppliersubjectRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInterestSuppliersubjectResponse> {
|
|
3639
|
+
Util.validateModel(request);
|
|
3640
|
+
return $tea.cast<QueryInterestSuppliersubjectResponse>(await this.doRequest("1.0", "antcloud.insurance.interest.suppliersubject.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInterestSuppliersubjectResponse({}));
|
|
3641
|
+
}
|
|
3642
|
+
|
|
3643
|
+
/**
|
|
3644
|
+
* Description: 权益服务商投保后通知保单信息
|
|
3645
|
+
* Summary: 权益服务商投保后通知保单信息
|
|
3646
|
+
*/
|
|
3647
|
+
async notifyInterestSupplierpolicy(request: NotifyInterestSupplierpolicyRequest): Promise<NotifyInterestSupplierpolicyResponse> {
|
|
3648
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3649
|
+
let headers : {[key: string ]: string} = { };
|
|
3650
|
+
return await this.notifyInterestSupplierpolicyEx(request, headers, runtime);
|
|
3651
|
+
}
|
|
3652
|
+
|
|
3653
|
+
/**
|
|
3654
|
+
* Description: 权益服务商投保后通知保单信息
|
|
3655
|
+
* Summary: 权益服务商投保后通知保单信息
|
|
3656
|
+
*/
|
|
3657
|
+
async notifyInterestSupplierpolicyEx(request: NotifyInterestSupplierpolicyRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<NotifyInterestSupplierpolicyResponse> {
|
|
3658
|
+
Util.validateModel(request);
|
|
3659
|
+
return $tea.cast<NotifyInterestSupplierpolicyResponse>(await this.doRequest("1.0", "antcloud.insurance.interest.supplierpolicy.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyInterestSupplierpolicyResponse({}));
|
|
3660
|
+
}
|
|
3661
|
+
|
|
3662
|
+
/**
|
|
3663
|
+
* Description: 场景方获取权益链接
|
|
3664
|
+
* Summary: 场景方获取权益链接
|
|
3665
|
+
*/
|
|
3666
|
+
async getInterestUrl(request: GetInterestUrlRequest): Promise<GetInterestUrlResponse> {
|
|
3667
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3668
|
+
let headers : {[key: string ]: string} = { };
|
|
3669
|
+
return await this.getInterestUrlEx(request, headers, runtime);
|
|
3670
|
+
}
|
|
3671
|
+
|
|
3672
|
+
/**
|
|
3673
|
+
* Description: 场景方获取权益链接
|
|
3674
|
+
* Summary: 场景方获取权益链接
|
|
3675
|
+
*/
|
|
3676
|
+
async getInterestUrlEx(request: GetInterestUrlRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetInterestUrlResponse> {
|
|
3677
|
+
Util.validateModel(request);
|
|
3678
|
+
return $tea.cast<GetInterestUrlResponse>(await this.doRequest("1.0", "antcloud.insurance.interest.url.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetInterestUrlResponse({}));
|
|
3679
|
+
}
|
|
3680
|
+
|
|
3681
|
+
/**
|
|
3682
|
+
* Description: 场景方订单信息查询
|
|
3683
|
+
* Summary: 场景方订单信息查询
|
|
3684
|
+
*/
|
|
3685
|
+
async queryInterestSceneorder(request: QueryInterestSceneorderRequest): Promise<QueryInterestSceneorderResponse> {
|
|
3686
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3687
|
+
let headers : {[key: string ]: string} = { };
|
|
3688
|
+
return await this.queryInterestSceneorderEx(request, headers, runtime);
|
|
3689
|
+
}
|
|
3690
|
+
|
|
3691
|
+
/**
|
|
3692
|
+
* Description: 场景方订单信息查询
|
|
3693
|
+
* Summary: 场景方订单信息查询
|
|
3694
|
+
*/
|
|
3695
|
+
async queryInterestSceneorderEx(request: QueryInterestSceneorderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInterestSceneorderResponse> {
|
|
3696
|
+
Util.validateModel(request);
|
|
3697
|
+
return $tea.cast<QueryInterestSceneorderResponse>(await this.doRequest("1.0", "antcloud.insurance.interest.sceneorder.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInterestSceneorderResponse({}));
|
|
3698
|
+
}
|
|
3699
|
+
|
|
3700
|
+
/**
|
|
3701
|
+
* Description: 权益服务商订单状态通知
|
|
3702
|
+
* Summary: 权益服务商订单状态通知
|
|
3703
|
+
*/
|
|
3704
|
+
async notifyInterestSupplierorder(request: NotifyInterestSupplierorderRequest): Promise<NotifyInterestSupplierorderResponse> {
|
|
3705
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3706
|
+
let headers : {[key: string ]: string} = { };
|
|
3707
|
+
return await this.notifyInterestSupplierorderEx(request, headers, runtime);
|
|
3708
|
+
}
|
|
3709
|
+
|
|
3710
|
+
/**
|
|
3711
|
+
* Description: 权益服务商订单状态通知
|
|
3712
|
+
* Summary: 权益服务商订单状态通知
|
|
3713
|
+
*/
|
|
3714
|
+
async notifyInterestSupplierorderEx(request: NotifyInterestSupplierorderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<NotifyInterestSupplierorderResponse> {
|
|
2968
3715
|
Util.validateModel(request);
|
|
2969
|
-
return $tea.cast<
|
|
3716
|
+
return $tea.cast<NotifyInterestSupplierorderResponse>(await this.doRequest("1.0", "antcloud.insurance.interest.supplierorder.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyInterestSupplierorderResponse({}));
|
|
2970
3717
|
}
|
|
2971
3718
|
|
|
2972
3719
|
}
|