@antchain/insurance_saas 1.12.49 → 1.12.56

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
@@ -181,6 +181,39 @@ export class Config extends $tea.Model {
181
181
  }
182
182
  }
183
183
 
184
+ // 转化数据条目
185
+ export class ConversionDataDTO extends $tea.Model {
186
+ // 转化目标类型
187
+ /**
188
+ * @example
189
+ * FORMBOOK
190
+ */
191
+ conversionType: string;
192
+ // 目标转化量
193
+ /**
194
+ * @example
195
+ * 100
196
+ */
197
+ conversionCount: number;
198
+ static names(): { [key: string]: string } {
199
+ return {
200
+ conversionType: 'conversion_type',
201
+ conversionCount: 'conversion_count',
202
+ };
203
+ }
204
+
205
+ static types(): { [key: string]: any } {
206
+ return {
207
+ conversionType: 'string',
208
+ conversionCount: 'number',
209
+ };
210
+ }
211
+
212
+ constructor(map?: { [key: string]: any }) {
213
+ super(map);
214
+ }
215
+ }
216
+
184
217
  // 文件结构
185
218
  export class FileNode extends $tea.Model {
186
219
  // 可访问的文件链接
@@ -214,6 +247,95 @@ export class FileNode extends $tea.Model {
214
247
  }
215
248
  }
216
249
 
250
+ // 媒体统计数据条目
251
+ export class StatisticalDataDTO extends $tea.Model {
252
+ // 项目标识
253
+ /**
254
+ * @example
255
+ * 2026072000000138312001
256
+ */
257
+ project: string;
258
+ // 统计维度id
259
+ /**
260
+ * @example
261
+ * 2026072000000138312001
262
+ */
263
+ dimensionId: string;
264
+ // 时间维度
265
+ /**
266
+ * @example
267
+ * hour
268
+ */
269
+ timePeriod: string;
270
+ // 开始时间
271
+ /**
272
+ * @example
273
+ * yyyy-MM-dd HH:mm
274
+ */
275
+ startTime: string;
276
+ // 结束时间
277
+ /**
278
+ * @example
279
+ * yyyy-MM-dd HH:mm
280
+ */
281
+ endTime: string;
282
+ // 花费金额
283
+ /**
284
+ * @example
285
+ * 6666.66
286
+ */
287
+ costMoney: string;
288
+ // 曝光量
289
+ /**
290
+ * @example
291
+ * 100
292
+ */
293
+ mediaImpressionCount: number;
294
+ // 点击量
295
+ /**
296
+ * @example
297
+ * 100
298
+ */
299
+ mediaClickCount: number;
300
+ // 目标转化量相关数据
301
+ /**
302
+ * @example
303
+ * undefined
304
+ */
305
+ conversionDataList: ConversionDataDTO[];
306
+ static names(): { [key: string]: string } {
307
+ return {
308
+ project: 'project',
309
+ dimensionId: 'dimension_id',
310
+ timePeriod: 'time_period',
311
+ startTime: 'start_time',
312
+ endTime: 'end_time',
313
+ costMoney: 'cost_money',
314
+ mediaImpressionCount: 'media_impression_count',
315
+ mediaClickCount: 'media_click_count',
316
+ conversionDataList: 'conversion_data_list',
317
+ };
318
+ }
319
+
320
+ static types(): { [key: string]: any } {
321
+ return {
322
+ project: 'string',
323
+ dimensionId: 'string',
324
+ timePeriod: 'string',
325
+ startTime: 'string',
326
+ endTime: 'string',
327
+ costMoney: 'string',
328
+ mediaImpressionCount: 'number',
329
+ mediaClickCount: 'number',
330
+ conversionDataList: { 'type': 'array', 'itemType': ConversionDataDTO },
331
+ };
332
+ }
333
+
334
+ constructor(map?: { [key: string]: any }) {
335
+ super(map);
336
+ }
337
+ }
338
+
217
339
  // 被保人
218
340
  export class Insured extends $tea.Model {
219
341
  // 被保人名称
@@ -1008,6 +1130,242 @@ export class NotifyEmbedoemautoinsuranceEventResponse extends $tea.Model {
1008
1130
  }
1009
1131
  }
1010
1132
 
1133
+ export class CallbackMktMediastatisticaldataRequest extends $tea.Model {
1134
+ // OAuth模式下的授权token
1135
+ authToken?: string;
1136
+ // 请求id
1137
+ requestId: string;
1138
+ // 项目id
1139
+ projectId: string;
1140
+ // 数据渠道来源,广点通(gdt) / 巨量引擎(oceanengine) / 快手(kuaishou) / 百度(baidu)
1141
+ mediaSource: string;
1142
+ // 统计维度,区分账号(ACCOUNT) 、广告计划(ADVERTISEMENT) 、 素材(MATERIAL)
1143
+ dimension: string;
1144
+ // 统计数据
1145
+ statisticalDataList: StatisticalDataDTO[];
1146
+ static names(): { [key: string]: string } {
1147
+ return {
1148
+ authToken: 'auth_token',
1149
+ requestId: 'request_id',
1150
+ projectId: 'project_id',
1151
+ mediaSource: 'media_source',
1152
+ dimension: 'dimension',
1153
+ statisticalDataList: 'statistical_data_list',
1154
+ };
1155
+ }
1156
+
1157
+ static types(): { [key: string]: any } {
1158
+ return {
1159
+ authToken: 'string',
1160
+ requestId: 'string',
1161
+ projectId: 'string',
1162
+ mediaSource: 'string',
1163
+ dimension: 'string',
1164
+ statisticalDataList: { 'type': 'array', 'itemType': StatisticalDataDTO },
1165
+ };
1166
+ }
1167
+
1168
+ constructor(map?: { [key: string]: any }) {
1169
+ super(map);
1170
+ }
1171
+ }
1172
+
1173
+ export class CallbackMktMediastatisticaldataResponse extends $tea.Model {
1174
+ // 请求唯一ID,用于链路跟踪和问题排查
1175
+ reqMsgId?: string;
1176
+ // 结果码,一般OK表示调用成功
1177
+ resultCode?: string;
1178
+ // 异常信息的文本描述
1179
+ resultMsg?: string;
1180
+ // 请求id
1181
+ requestId?: string;
1182
+ static names(): { [key: string]: string } {
1183
+ return {
1184
+ reqMsgId: 'req_msg_id',
1185
+ resultCode: 'result_code',
1186
+ resultMsg: 'result_msg',
1187
+ requestId: 'request_id',
1188
+ };
1189
+ }
1190
+
1191
+ static types(): { [key: string]: any } {
1192
+ return {
1193
+ reqMsgId: 'string',
1194
+ resultCode: 'string',
1195
+ resultMsg: 'string',
1196
+ requestId: 'string',
1197
+ };
1198
+ }
1199
+
1200
+ constructor(map?: { [key: string]: any }) {
1201
+ super(map);
1202
+ }
1203
+ }
1204
+
1205
+ export class CallbackMktEffectsimpleRequest extends $tea.Model {
1206
+ // OAuth模式下的授权token
1207
+ authToken?: string;
1208
+ // 请求id,每一次请求保持唯一;若重复,则更新原数据;
1209
+ requestId: string;
1210
+ // 项目ID,待蚂蚁分配
1211
+ projectId: string;
1212
+ // 营销模式,AI_HANGUP_SMS("AI挂短"), AI_OFFICIAL_ACCOUNT("AI公众号"), BPO_WECHAT("BPO企微"), AI_BPO("AI_BPO")
1213
+ marketingMode: string;
1214
+ // 投保特征短链
1215
+ insureShortUrl: string;
1216
+ // 加密类型:MD5,32位[小]
1217
+ encryptionType: string;
1218
+ // 加密用户标识
1219
+ encryptedUserId: string;
1220
+ // 应以识别当前用户点击投保页面的唯一标识
1221
+ landingVisitId: string;
1222
+ // 节点类型
1223
+ nodeType: string;
1224
+ // 节点状态(0-未完成;1-已完成)
1225
+ nodeStatus: string;
1226
+ // 事件完成时间(yyyy-MM-dd HH:mm:ss)
1227
+ eventTime: string;
1228
+ static names(): { [key: string]: string } {
1229
+ return {
1230
+ authToken: 'auth_token',
1231
+ requestId: 'request_id',
1232
+ projectId: 'project_id',
1233
+ marketingMode: 'marketing_mode',
1234
+ insureShortUrl: 'insure_short_url',
1235
+ encryptionType: 'encryption_type',
1236
+ encryptedUserId: 'encrypted_user_id',
1237
+ landingVisitId: 'landing_visit_id',
1238
+ nodeType: 'node_type',
1239
+ nodeStatus: 'node_status',
1240
+ eventTime: 'event_time',
1241
+ };
1242
+ }
1243
+
1244
+ static types(): { [key: string]: any } {
1245
+ return {
1246
+ authToken: 'string',
1247
+ requestId: 'string',
1248
+ projectId: 'string',
1249
+ marketingMode: 'string',
1250
+ insureShortUrl: 'string',
1251
+ encryptionType: 'string',
1252
+ encryptedUserId: 'string',
1253
+ landingVisitId: 'string',
1254
+ nodeType: 'string',
1255
+ nodeStatus: 'string',
1256
+ eventTime: 'string',
1257
+ };
1258
+ }
1259
+
1260
+ constructor(map?: { [key: string]: any }) {
1261
+ super(map);
1262
+ }
1263
+ }
1264
+
1265
+ export class CallbackMktEffectsimpleResponse extends $tea.Model {
1266
+ // 请求唯一ID,用于链路跟踪和问题排查
1267
+ reqMsgId?: string;
1268
+ // 结果码,一般OK表示调用成功
1269
+ resultCode?: string;
1270
+ // 异常信息的文本描述
1271
+ resultMsg?: string;
1272
+ // 请求id,每一次请求保持唯一;
1273
+ requestId?: string;
1274
+ static names(): { [key: string]: string } {
1275
+ return {
1276
+ reqMsgId: 'req_msg_id',
1277
+ resultCode: 'result_code',
1278
+ resultMsg: 'result_msg',
1279
+ requestId: 'request_id',
1280
+ };
1281
+ }
1282
+
1283
+ static types(): { [key: string]: any } {
1284
+ return {
1285
+ reqMsgId: 'string',
1286
+ resultCode: 'string',
1287
+ resultMsg: 'string',
1288
+ requestId: 'string',
1289
+ };
1290
+ }
1291
+
1292
+ constructor(map?: { [key: string]: any }) {
1293
+ super(map);
1294
+ }
1295
+ }
1296
+
1297
+ export class ApplyMktserviceproviderAudiencecircleRequest extends $tea.Model {
1298
+ // OAuth模式下的授权token
1299
+ authToken?: string;
1300
+ // 请求id,每一次请求保持唯一;
1301
+ requestId: string;
1302
+ // 项目ID,待蚂蚁分配
1303
+ projectId: string;
1304
+ // 业务场景标识
1305
+ bizScene: string;
1306
+ // 加密类型,MD5 32位小写
1307
+ encryptionType: string;
1308
+ // 加密用户标识
1309
+ encryptedUserIds: string[];
1310
+ static names(): { [key: string]: string } {
1311
+ return {
1312
+ authToken: 'auth_token',
1313
+ requestId: 'request_id',
1314
+ projectId: 'project_id',
1315
+ bizScene: 'biz_scene',
1316
+ encryptionType: 'encryption_type',
1317
+ encryptedUserIds: 'encrypted_user_ids',
1318
+ };
1319
+ }
1320
+
1321
+ static types(): { [key: string]: any } {
1322
+ return {
1323
+ authToken: 'string',
1324
+ requestId: 'string',
1325
+ projectId: 'string',
1326
+ bizScene: 'string',
1327
+ encryptionType: 'string',
1328
+ encryptedUserIds: { 'type': 'array', 'itemType': 'string' },
1329
+ };
1330
+ }
1331
+
1332
+ constructor(map?: { [key: string]: any }) {
1333
+ super(map);
1334
+ }
1335
+ }
1336
+
1337
+ export class ApplyMktserviceproviderAudiencecircleResponse extends $tea.Model {
1338
+ // 请求唯一ID,用于链路跟踪和问题排查
1339
+ reqMsgId?: string;
1340
+ // 结果码,一般OK表示调用成功
1341
+ resultCode?: string;
1342
+ // 异常信息的文本描述
1343
+ resultMsg?: string;
1344
+ // 请求id,每一次请求保持唯一;
1345
+ requestId?: string;
1346
+ static names(): { [key: string]: string } {
1347
+ return {
1348
+ reqMsgId: 'req_msg_id',
1349
+ resultCode: 'result_code',
1350
+ resultMsg: 'result_msg',
1351
+ requestId: 'request_id',
1352
+ };
1353
+ }
1354
+
1355
+ static types(): { [key: string]: any } {
1356
+ return {
1357
+ reqMsgId: 'string',
1358
+ resultCode: 'string',
1359
+ resultMsg: 'string',
1360
+ requestId: 'string',
1361
+ };
1362
+ }
1363
+
1364
+ constructor(map?: { [key: string]: any }) {
1365
+ super(map);
1366
+ }
1367
+ }
1368
+
1011
1369
  export class QueryInquiryRequest extends $tea.Model {
1012
1370
  // OAuth模式下的授权token
1013
1371
  authToken?: string;
@@ -4755,7 +5113,7 @@ export default class Client {
4755
5113
  req_msg_id: AntchainUtil.getNonce(),
4756
5114
  access_key: this._accessKeyId,
4757
5115
  base_sdk_version: "TeaSDK-2.0",
4758
- sdk_version: "1.12.49",
5116
+ sdk_version: "1.12.56",
4759
5117
  _prod_code: "INSURANCE_SAAS",
4760
5118
  _prod_channel: "undefined",
4761
5119
  };
@@ -4868,8 +5226,8 @@ export default class Client {
4868
5226
 
4869
5227
  /**
4870
5228
  * @remarks
4871
- * Description: 保险营销效果回传接口——直播通道
4872
- * Summary: 保险营销效果回传接口——直播通道
5229
+ * Description: 保险营销效果回传接口——媒体
5230
+ * Summary: 保险营销效果回传接口——媒体
4873
5231
  */
4874
5232
  async callbackMktLiveeffect(request: CallbackMktLiveeffectRequest): Promise<CallbackMktLiveeffectResponse> {
4875
5233
  let runtime = new $Util.RuntimeOptions({ });
@@ -4879,8 +5237,8 @@ export default class Client {
4879
5237
 
4880
5238
  /**
4881
5239
  * @remarks
4882
- * Description: 保险营销效果回传接口——直播通道
4883
- * Summary: 保险营销效果回传接口——直播通道
5240
+ * Description: 保险营销效果回传接口——媒体
5241
+ * Summary: 保险营销效果回传接口——媒体
4884
5242
  */
4885
5243
  async callbackMktLiveeffectEx(request: CallbackMktLiveeffectRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CallbackMktLiveeffectResponse> {
4886
5244
  Util.validateModel(request);
@@ -4950,6 +5308,69 @@ export default class Client {
4950
5308
  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({}));
4951
5309
  }
4952
5310
 
5311
+ /**
5312
+ * @remarks
5313
+ * Description: 媒体点击统计数据回传
5314
+ * Summary: 媒体点击统计数据回传
5315
+ */
5316
+ async callbackMktMediastatisticaldata(request: CallbackMktMediastatisticaldataRequest): Promise<CallbackMktMediastatisticaldataResponse> {
5317
+ let runtime = new $Util.RuntimeOptions({ });
5318
+ let headers : {[key: string ]: string} = { };
5319
+ return await this.callbackMktMediastatisticaldataEx(request, headers, runtime);
5320
+ }
5321
+
5322
+ /**
5323
+ * @remarks
5324
+ * Description: 媒体点击统计数据回传
5325
+ * Summary: 媒体点击统计数据回传
5326
+ */
5327
+ async callbackMktMediastatisticaldataEx(request: CallbackMktMediastatisticaldataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CallbackMktMediastatisticaldataResponse> {
5328
+ Util.validateModel(request);
5329
+ 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({}));
5330
+ }
5331
+
5332
+ /**
5333
+ * @remarks
5334
+ * Description: 营销效果节点数据(简版)
5335
+ * Summary: 营销效果节点数据(简版)
5336
+ */
5337
+ async callbackMktEffectsimple(request: CallbackMktEffectsimpleRequest): Promise<CallbackMktEffectsimpleResponse> {
5338
+ let runtime = new $Util.RuntimeOptions({ });
5339
+ let headers : {[key: string ]: string} = { };
5340
+ return await this.callbackMktEffectsimpleEx(request, headers, runtime);
5341
+ }
5342
+
5343
+ /**
5344
+ * @remarks
5345
+ * Description: 营销效果节点数据(简版)
5346
+ * Summary: 营销效果节点数据(简版)
5347
+ */
5348
+ async callbackMktEffectsimpleEx(request: CallbackMktEffectsimpleRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CallbackMktEffectsimpleResponse> {
5349
+ Util.validateModel(request);
5350
+ 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({}));
5351
+ }
5352
+
5353
+ /**
5354
+ * @remarks
5355
+ * Description: 保险营销服务商人群圈选
5356
+ * Summary: 保险营销服务商人群圈选
5357
+ */
5358
+ async applyMktserviceproviderAudiencecircle(request: ApplyMktserviceproviderAudiencecircleRequest): Promise<ApplyMktserviceproviderAudiencecircleResponse> {
5359
+ let runtime = new $Util.RuntimeOptions({ });
5360
+ let headers : {[key: string ]: string} = { };
5361
+ return await this.applyMktserviceproviderAudiencecircleEx(request, headers, runtime);
5362
+ }
5363
+
5364
+ /**
5365
+ * @remarks
5366
+ * Description: 保险营销服务商人群圈选
5367
+ * Summary: 保险营销服务商人群圈选
5368
+ */
5369
+ async applyMktserviceproviderAudiencecircleEx(request: ApplyMktserviceproviderAudiencecircleRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyMktserviceproviderAudiencecircleResponse> {
5370
+ Util.validateModel(request);
5371
+ 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({}));
5372
+ }
5373
+
4953
5374
  /**
4954
5375
  * @remarks
4955
5376
  * Description: 保险询报价结果查询