@choiceform/os-client-core 3.4.22 → 3.4.33

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/index.d.ts CHANGED
@@ -1507,11 +1507,19 @@ declare const enum DATA_TRANSFER_NAME {
1507
1507
  /**
1508
1508
  * 甄别失败转移url
1509
1509
  */
1510
- EXAMINE_SKIP = 'examine_skipped_url',
1510
+ EXAMINE_SKIPPED = 'examine_skipped_url',
1511
1511
  /**
1512
1512
  * 配置满转移url
1513
1513
  */
1514
- EXAMINE_FAIL = 'examine_failed_url',
1514
+ EXAMINE_FAILED = 'examine_failed_url',
1515
+ /**
1516
+ * 正式提交时发生配额失败
1517
+ */
1518
+ EXAMINE_FAILED_ON_COMMIT = 'examine_failed_on_commit_url',
1519
+ /**
1520
+ * 数据已满
1521
+ */
1522
+ OVERFLOW = 'overflow_url',
1515
1523
  /**
1516
1524
  * 提交成功转移url
1517
1525
  */
@@ -1521,6 +1529,19 @@ declare const enum DATA_TRANSFER_NAME {
1521
1529
  */
1522
1530
  INVALID = 'invalid_url',
1523
1531
  }
1532
+ /**
1533
+ * 数据转移类型结果
1534
+ */
1535
+ interface IDataTransferResult {
1536
+ /**
1537
+ * 转移类型
1538
+ */
1539
+ type: SAMPLE_METHOD;
1540
+ /**
1541
+ * 是否完成了数据转移
1542
+ */
1543
+ done: boolean;
1544
+ }
1524
1545
 
1525
1546
  /**
1526
1547
  * 进入答题页面的模式
@@ -3286,7 +3307,7 @@ interface ICFGiftNodeBackEnd extends Omit<ICFGiftNode, 'i18n'> {
3286
3307
  * 奖励节点
3287
3308
  * @ignore
3288
3309
  */
3289
- interface ICFGiftNode extends ICFInputNodeMixin {
3310
+ interface ICFGiftNode extends ICFInputNodeMixin, CFMediaNodeMixin {
3290
3311
  /**
3291
3312
  * 自带的多语言翻译包,可以不需要请求大翻译包就实现开始页面的语言切换。
3292
3313
  */
@@ -6560,6 +6581,7 @@ interface CFRewardState extends CFStateBase, ICFCustomLogo {
6560
6581
  phoneNumber: string;
6561
6582
  rewardId: string;
6562
6583
  images: CFImageInNode[];
6584
+ video: CFVideo;
6563
6585
  /**
6564
6586
  * 奖励类型,包含以下两种类型
6565
6587
  * 需要根据该类型渲染不同的内容.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choiceform/os-client-core",
3
- "version": "3.4.22",
3
+ "version": "3.4.33",
4
4
  "description": "choiceform survey client core",
5
5
  "main": "./dist/core.js",
6
6
  "repository": "https://github.com/choice-form/os-client-core",
@@ -75,4 +75,4 @@
75
75
  "webpack-cli": "^4.8.0",
76
76
  "webpack-dev-server": "^4.1.1"
77
77
  }
78
- }
78
+ }