@antchain/insurance_saas 1.12.45 → 1.12.53

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/src/client.ts CHANGED
@@ -662,7 +662,9 @@ export class CallbackMktLiveeffectRequest extends $tea.Model {
662
662
  requestId: string;
663
663
  // 项目ID,待蚂蚁分配
664
664
  projectId: string;
665
- // 营销模式,AI_HANGUP_SMS("AI挂短"), AI_OFFICIAL_ACCOUNT("AI公众号"), BPO_WECHAT("BPO企微"), AI_BPO("AI_BPO"), LIVE_STREAMING("直播")
665
+ // 营销模式
666
+ // LIVE_STREAMING("直播")
667
+ // ADVERTISING_TRAFFIC("广告投流")
666
668
  marketingMode: string;
667
669
  // 加密类型:MD5,32位[小]
668
670
  encryptionType?: string;
@@ -674,7 +676,7 @@ export class CallbackMktLiveeffectRequest extends $tea.Model {
674
676
  nodeType: string;
675
677
  // 节点详细信息
676
678
  nodeInfo?: string;
677
- // 用户转化的落地页 URL,H5 类落地页
679
+ // 只需要传输母链
678
680
  landingPageUrl: string;
679
681
  // N 点击 ID,来自落地页 URL、小程序 path 的埋点
680
682
  clickId?: string;
@@ -695,6 +697,14 @@ export class CallbackMktLiveeffectRequest extends $tea.Model {
695
697
  // 举例:若直播间 ID 为 kxz123456,开播时间为 2026-06-18 17:22,此时唯一 ID 为:562606181722
696
698
  // )
697
699
  liveSessionId?: string;
700
+ // 媒体渠道
701
+ marketingChannel?: string;
702
+ // 256 rta追踪 ID
703
+ rtaTraceId?: string;
704
+ // rta 实验 ID
705
+ rtaExpId?: string;
706
+ // RTB追踪ID
707
+ rtbTraceId?: string;
698
708
  static names(): { [key: string]: string } {
699
709
  return {
700
710
  authToken: 'auth_token',
@@ -715,6 +725,10 @@ export class CallbackMktLiveeffectRequest extends $tea.Model {
715
725
  liveStartTime: 'live_start_time',
716
726
  extInfo: 'ext_info',
717
727
  liveSessionId: 'live_session_id',
728
+ marketingChannel: 'marketing_channel',
729
+ rtaTraceId: 'rta_trace_id',
730
+ rtaExpId: 'rta_exp_id',
731
+ rtbTraceId: 'rtb_trace_id',
718
732
  };
719
733
  }
720
734
 
@@ -738,6 +752,10 @@ export class CallbackMktLiveeffectRequest extends $tea.Model {
738
752
  liveStartTime: 'string',
739
753
  extInfo: 'string',
740
754
  liveSessionId: 'string',
755
+ marketingChannel: 'string',
756
+ rtaTraceId: 'string',
757
+ rtaExpId: 'string',
758
+ rtbTraceId: 'string',
741
759
  };
742
760
  }
743
761
 
@@ -914,6 +932,318 @@ export class CallbackMktMonitordataResponse extends $tea.Model {
914
932
  }
915
933
  }
916
934
 
935
+ export class NotifyEmbedoemautoinsuranceEventRequest extends $tea.Model {
936
+ // OAuth模式下的授权token
937
+ authToken?: string;
938
+ // 请求唯一标识
939
+ requestNo: string;
940
+ // 事件类型
941
+ eventType: string;
942
+ // 事件发生时间,格式:yyyy-MM-dd HH:mm:ss
943
+ eventTime: string;
944
+ // 事件业务数据,JSON格式字符串
945
+ data: string;
946
+ static names(): { [key: string]: string } {
947
+ return {
948
+ authToken: 'auth_token',
949
+ requestNo: 'request_no',
950
+ eventType: 'event_type',
951
+ eventTime: 'event_time',
952
+ data: 'data',
953
+ };
954
+ }
955
+
956
+ static types(): { [key: string]: any } {
957
+ return {
958
+ authToken: 'string',
959
+ requestNo: 'string',
960
+ eventType: 'string',
961
+ eventTime: 'string',
962
+ data: 'string',
963
+ };
964
+ }
965
+
966
+ constructor(map?: { [key: string]: any }) {
967
+ super(map);
968
+ }
969
+ }
970
+
971
+ export class NotifyEmbedoemautoinsuranceEventResponse extends $tea.Model {
972
+ // 请求唯一ID,用于链路跟踪和问题排查
973
+ reqMsgId?: string;
974
+ // 结果码,一般OK表示调用成功
975
+ resultCode?: string;
976
+ // 异常信息的文本描述
977
+ resultMsg?: string;
978
+ // 0=成功,非0=失败
979
+ code?: number;
980
+ // 返回消息
981
+ message?: string;
982
+ // 是否成功
983
+ success?: boolean;
984
+ static names(): { [key: string]: string } {
985
+ return {
986
+ reqMsgId: 'req_msg_id',
987
+ resultCode: 'result_code',
988
+ resultMsg: 'result_msg',
989
+ code: 'code',
990
+ message: 'message',
991
+ success: 'success',
992
+ };
993
+ }
994
+
995
+ static types(): { [key: string]: any } {
996
+ return {
997
+ reqMsgId: 'string',
998
+ resultCode: 'string',
999
+ resultMsg: 'string',
1000
+ code: 'number',
1001
+ message: 'string',
1002
+ success: 'boolean',
1003
+ };
1004
+ }
1005
+
1006
+ constructor(map?: { [key: string]: any }) {
1007
+ super(map);
1008
+ }
1009
+ }
1010
+
1011
+ export class CallbackMktMediastatisticaldataRequest extends $tea.Model {
1012
+ // OAuth模式下的授权token
1013
+ authToken?: string;
1014
+ // 请求id
1015
+ requestId: string;
1016
+ // 项目id
1017
+ projectId: string;
1018
+ // 数据渠道来源,广点通(gdt) / 巨量引擎(oceanengine) / 快手(kuaishou) / 百度(baidu)
1019
+ mediaSource: string;
1020
+ // 统计维度,区分账号(ACCOUNT) 、广告计划(ADVERTISEMENT) 、 素材(MATERIAL)
1021
+ dimension: string;
1022
+ // 统计数据
1023
+ statisticalDataList: string;
1024
+ static names(): { [key: string]: string } {
1025
+ return {
1026
+ authToken: 'auth_token',
1027
+ requestId: 'request_id',
1028
+ projectId: 'project_id',
1029
+ mediaSource: 'media_source',
1030
+ dimension: 'dimension',
1031
+ statisticalDataList: 'statistical_data_list',
1032
+ };
1033
+ }
1034
+
1035
+ static types(): { [key: string]: any } {
1036
+ return {
1037
+ authToken: 'string',
1038
+ requestId: 'string',
1039
+ projectId: 'string',
1040
+ mediaSource: 'string',
1041
+ dimension: 'string',
1042
+ statisticalDataList: 'string',
1043
+ };
1044
+ }
1045
+
1046
+ constructor(map?: { [key: string]: any }) {
1047
+ super(map);
1048
+ }
1049
+ }
1050
+
1051
+ export class CallbackMktMediastatisticaldataResponse extends $tea.Model {
1052
+ // 请求唯一ID,用于链路跟踪和问题排查
1053
+ reqMsgId?: string;
1054
+ // 结果码,一般OK表示调用成功
1055
+ resultCode?: string;
1056
+ // 异常信息的文本描述
1057
+ resultMsg?: string;
1058
+ // 请求id
1059
+ requestId?: string;
1060
+ static names(): { [key: string]: string } {
1061
+ return {
1062
+ reqMsgId: 'req_msg_id',
1063
+ resultCode: 'result_code',
1064
+ resultMsg: 'result_msg',
1065
+ requestId: 'request_id',
1066
+ };
1067
+ }
1068
+
1069
+ static types(): { [key: string]: any } {
1070
+ return {
1071
+ reqMsgId: 'string',
1072
+ resultCode: 'string',
1073
+ resultMsg: 'string',
1074
+ requestId: 'string',
1075
+ };
1076
+ }
1077
+
1078
+ constructor(map?: { [key: string]: any }) {
1079
+ super(map);
1080
+ }
1081
+ }
1082
+
1083
+ export class CallbackMktEffectsimpleRequest extends $tea.Model {
1084
+ // OAuth模式下的授权token
1085
+ authToken?: string;
1086
+ // 请求id,每一次请求保持唯一;若重复,则更新原数据;
1087
+ requestId: string;
1088
+ // 项目ID,待蚂蚁分配
1089
+ projectId: string;
1090
+ // 营销模式,AI_HANGUP_SMS("AI挂短"), AI_OFFICIAL_ACCOUNT("AI公众号"), BPO_WECHAT("BPO企微"), AI_BPO("AI_BPO")
1091
+ marketingMode: string;
1092
+ // 投保特征短链
1093
+ insureShortUrl: string;
1094
+ // 加密类型:MD5,32位[小]
1095
+ encryptionType: string;
1096
+ // 加密用户标识
1097
+ encryptedUserId: string;
1098
+ // 应以识别当前用户点击投保页面的唯一标识
1099
+ landingVisitId: string;
1100
+ // 节点类型
1101
+ nodeType: string;
1102
+ // 节点状态(0-未完成;1-已完成)
1103
+ nodeStatus: string;
1104
+ // 事件完成时间(yyyy-MM-dd HH:mm:ss)
1105
+ eventTime: string;
1106
+ static names(): { [key: string]: string } {
1107
+ return {
1108
+ authToken: 'auth_token',
1109
+ requestId: 'request_id',
1110
+ projectId: 'project_id',
1111
+ marketingMode: 'marketing_mode',
1112
+ insureShortUrl: 'insure_short_url',
1113
+ encryptionType: 'encryption_type',
1114
+ encryptedUserId: 'encrypted_user_id',
1115
+ landingVisitId: 'landing_visit_id',
1116
+ nodeType: 'node_type',
1117
+ nodeStatus: 'node_status',
1118
+ eventTime: 'event_time',
1119
+ };
1120
+ }
1121
+
1122
+ static types(): { [key: string]: any } {
1123
+ return {
1124
+ authToken: 'string',
1125
+ requestId: 'string',
1126
+ projectId: 'string',
1127
+ marketingMode: 'string',
1128
+ insureShortUrl: 'string',
1129
+ encryptionType: 'string',
1130
+ encryptedUserId: 'string',
1131
+ landingVisitId: 'string',
1132
+ nodeType: 'string',
1133
+ nodeStatus: 'string',
1134
+ eventTime: 'string',
1135
+ };
1136
+ }
1137
+
1138
+ constructor(map?: { [key: string]: any }) {
1139
+ super(map);
1140
+ }
1141
+ }
1142
+
1143
+ export class CallbackMktEffectsimpleResponse extends $tea.Model {
1144
+ // 请求唯一ID,用于链路跟踪和问题排查
1145
+ reqMsgId?: string;
1146
+ // 结果码,一般OK表示调用成功
1147
+ resultCode?: string;
1148
+ // 异常信息的文本描述
1149
+ resultMsg?: string;
1150
+ // 请求id,每一次请求保持唯一;
1151
+ requestId?: string;
1152
+ static names(): { [key: string]: string } {
1153
+ return {
1154
+ reqMsgId: 'req_msg_id',
1155
+ resultCode: 'result_code',
1156
+ resultMsg: 'result_msg',
1157
+ requestId: 'request_id',
1158
+ };
1159
+ }
1160
+
1161
+ static types(): { [key: string]: any } {
1162
+ return {
1163
+ reqMsgId: 'string',
1164
+ resultCode: 'string',
1165
+ resultMsg: 'string',
1166
+ requestId: 'string',
1167
+ };
1168
+ }
1169
+
1170
+ constructor(map?: { [key: string]: any }) {
1171
+ super(map);
1172
+ }
1173
+ }
1174
+
1175
+ export class ApplyMktserviceproviderAudiencecircleRequest extends $tea.Model {
1176
+ // OAuth模式下的授权token
1177
+ authToken?: string;
1178
+ // 请求id,每一次请求保持唯一;
1179
+ requestId: string;
1180
+ // 项目ID,待蚂蚁分配
1181
+ projectId: string;
1182
+ // 业务场景标识
1183
+ bizScene: string;
1184
+ // 加密类型,MD5 32位小写
1185
+ encryptionType: string;
1186
+ // 加密用户标识
1187
+ encryptedUserIds: string[];
1188
+ static names(): { [key: string]: string } {
1189
+ return {
1190
+ authToken: 'auth_token',
1191
+ requestId: 'request_id',
1192
+ projectId: 'project_id',
1193
+ bizScene: 'biz_scene',
1194
+ encryptionType: 'encryption_type',
1195
+ encryptedUserIds: 'encrypted_user_ids',
1196
+ };
1197
+ }
1198
+
1199
+ static types(): { [key: string]: any } {
1200
+ return {
1201
+ authToken: 'string',
1202
+ requestId: 'string',
1203
+ projectId: 'string',
1204
+ bizScene: 'string',
1205
+ encryptionType: 'string',
1206
+ encryptedUserIds: { 'type': 'array', 'itemType': 'string' },
1207
+ };
1208
+ }
1209
+
1210
+ constructor(map?: { [key: string]: any }) {
1211
+ super(map);
1212
+ }
1213
+ }
1214
+
1215
+ export class ApplyMktserviceproviderAudiencecircleResponse extends $tea.Model {
1216
+ // 请求唯一ID,用于链路跟踪和问题排查
1217
+ reqMsgId?: string;
1218
+ // 结果码,一般OK表示调用成功
1219
+ resultCode?: string;
1220
+ // 异常信息的文本描述
1221
+ resultMsg?: string;
1222
+ // 请求id,每一次请求保持唯一;
1223
+ requestId?: string;
1224
+ static names(): { [key: string]: string } {
1225
+ return {
1226
+ reqMsgId: 'req_msg_id',
1227
+ resultCode: 'result_code',
1228
+ resultMsg: 'result_msg',
1229
+ requestId: 'request_id',
1230
+ };
1231
+ }
1232
+
1233
+ static types(): { [key: string]: any } {
1234
+ return {
1235
+ reqMsgId: 'string',
1236
+ resultCode: 'string',
1237
+ resultMsg: 'string',
1238
+ requestId: 'string',
1239
+ };
1240
+ }
1241
+
1242
+ constructor(map?: { [key: string]: any }) {
1243
+ super(map);
1244
+ }
1245
+ }
1246
+
917
1247
  export class QueryInquiryRequest extends $tea.Model {
918
1248
  // OAuth模式下的授权token
919
1249
  authToken?: string;
@@ -4661,7 +4991,7 @@ export default class Client {
4661
4991
  req_msg_id: AntchainUtil.getNonce(),
4662
4992
  access_key: this._accessKeyId,
4663
4993
  base_sdk_version: "TeaSDK-2.0",
4664
- sdk_version: "1.12.45",
4994
+ sdk_version: "1.12.53",
4665
4995
  _prod_code: "INSURANCE_SAAS",
4666
4996
  _prod_channel: "undefined",
4667
4997
  };
@@ -4774,8 +5104,8 @@ export default class Client {
4774
5104
 
4775
5105
  /**
4776
5106
  * @remarks
4777
- * Description: 保险营销效果回传接口——直播通道
4778
- * Summary: 保险营销效果回传接口——直播通道
5107
+ * Description: 保险营销效果回传接口——媒体
5108
+ * Summary: 保险营销效果回传接口——媒体
4779
5109
  */
4780
5110
  async callbackMktLiveeffect(request: CallbackMktLiveeffectRequest): Promise<CallbackMktLiveeffectResponse> {
4781
5111
  let runtime = new $Util.RuntimeOptions({ });
@@ -4785,8 +5115,8 @@ export default class Client {
4785
5115
 
4786
5116
  /**
4787
5117
  * @remarks
4788
- * Description: 保险营销效果回传接口——直播通道
4789
- * Summary: 保险营销效果回传接口——直播通道
5118
+ * Description: 保险营销效果回传接口——媒体
5119
+ * Summary: 保险营销效果回传接口——媒体
4790
5120
  */
4791
5121
  async callbackMktLiveeffectEx(request: CallbackMktLiveeffectRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CallbackMktLiveeffectResponse> {
4792
5122
  Util.validateModel(request);
@@ -4835,6 +5165,90 @@ export default class Client {
4835
5165
  return $tea.cast<CallbackMktMonitordataResponse>(await this.doRequest("1.0", "antcloud.insurance.mkt.monitordata.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackMktMonitordataResponse({}));
4836
5166
  }
4837
5167
 
5168
+ /**
5169
+ * @remarks
5170
+ * Description: 理想蚂蚁保项目
5171
+ * Summary: 理想蚂蚁保项目
5172
+ */
5173
+ async notifyEmbedoemautoinsuranceEvent(request: NotifyEmbedoemautoinsuranceEventRequest): Promise<NotifyEmbedoemautoinsuranceEventResponse> {
5174
+ let runtime = new $Util.RuntimeOptions({ });
5175
+ let headers : {[key: string ]: string} = { };
5176
+ return await this.notifyEmbedoemautoinsuranceEventEx(request, headers, runtime);
5177
+ }
5178
+
5179
+ /**
5180
+ * @remarks
5181
+ * Description: 理想蚂蚁保项目
5182
+ * Summary: 理想蚂蚁保项目
5183
+ */
5184
+ async notifyEmbedoemautoinsuranceEventEx(request: NotifyEmbedoemautoinsuranceEventRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<NotifyEmbedoemautoinsuranceEventResponse> {
5185
+ Util.validateModel(request);
5186
+ return $tea.cast<NotifyEmbedoemautoinsuranceEventResponse>(await this.doRequest("1.0", "antcloud.insurance.embedoemautoinsurance.event.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyEmbedoemautoinsuranceEventResponse({}));
5187
+ }
5188
+
5189
+ /**
5190
+ * @remarks
5191
+ * Description: 1
5192
+ * Summary: 1
5193
+ */
5194
+ async callbackMktMediastatisticaldata(request: CallbackMktMediastatisticaldataRequest): Promise<CallbackMktMediastatisticaldataResponse> {
5195
+ let runtime = new $Util.RuntimeOptions({ });
5196
+ let headers : {[key: string ]: string} = { };
5197
+ return await this.callbackMktMediastatisticaldataEx(request, headers, runtime);
5198
+ }
5199
+
5200
+ /**
5201
+ * @remarks
5202
+ * Description: 1
5203
+ * Summary: 1
5204
+ */
5205
+ async callbackMktMediastatisticaldataEx(request: CallbackMktMediastatisticaldataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CallbackMktMediastatisticaldataResponse> {
5206
+ Util.validateModel(request);
5207
+ return $tea.cast<CallbackMktMediastatisticaldataResponse>(await this.doRequest("1.0", "antcloud.insurance.mkt.mediastatisticaldata.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackMktMediastatisticaldataResponse({}));
5208
+ }
5209
+
5210
+ /**
5211
+ * @remarks
5212
+ * Description: 营销效果节点数据(简版)
5213
+ * Summary: 营销效果节点数据(简版)
5214
+ */
5215
+ async callbackMktEffectsimple(request: CallbackMktEffectsimpleRequest): Promise<CallbackMktEffectsimpleResponse> {
5216
+ let runtime = new $Util.RuntimeOptions({ });
5217
+ let headers : {[key: string ]: string} = { };
5218
+ return await this.callbackMktEffectsimpleEx(request, headers, runtime);
5219
+ }
5220
+
5221
+ /**
5222
+ * @remarks
5223
+ * Description: 营销效果节点数据(简版)
5224
+ * Summary: 营销效果节点数据(简版)
5225
+ */
5226
+ async callbackMktEffectsimpleEx(request: CallbackMktEffectsimpleRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CallbackMktEffectsimpleResponse> {
5227
+ Util.validateModel(request);
5228
+ return $tea.cast<CallbackMktEffectsimpleResponse>(await this.doRequest("1.0", "antcloud.insurance.mkt.effectsimple.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackMktEffectsimpleResponse({}));
5229
+ }
5230
+
5231
+ /**
5232
+ * @remarks
5233
+ * Description: 保险营销服务商人群圈选
5234
+ * Summary: 保险营销服务商人群圈选
5235
+ */
5236
+ async applyMktserviceproviderAudiencecircle(request: ApplyMktserviceproviderAudiencecircleRequest): Promise<ApplyMktserviceproviderAudiencecircleResponse> {
5237
+ let runtime = new $Util.RuntimeOptions({ });
5238
+ let headers : {[key: string ]: string} = { };
5239
+ return await this.applyMktserviceproviderAudiencecircleEx(request, headers, runtime);
5240
+ }
5241
+
5242
+ /**
5243
+ * @remarks
5244
+ * Description: 保险营销服务商人群圈选
5245
+ * Summary: 保险营销服务商人群圈选
5246
+ */
5247
+ async applyMktserviceproviderAudiencecircleEx(request: ApplyMktserviceproviderAudiencecircleRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyMktserviceproviderAudiencecircleResponse> {
5248
+ Util.validateModel(request);
5249
+ return $tea.cast<ApplyMktserviceproviderAudiencecircleResponse>(await this.doRequest("1.0", "antcloud.insurance.mktserviceprovider.audiencecircle.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyMktserviceproviderAudiencecircleResponse({}));
5250
+ }
5251
+
4838
5252
  /**
4839
5253
  * @remarks
4840
5254
  * Description: 保险询报价结果查询