@easecation/ecapi-sdk 3.0.2 → 3.0.6

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/apis.d.ts CHANGED
@@ -29,7 +29,7 @@ export interface AdminApiGetOperationLogsQuery extends QueryParams {
29
29
  export interface AdminApiGetOperationStatisticsQuery extends QueryParams {
30
30
  /** 管理员操作统计时间范围下限,包含该时间,格式 YYYY-MM-DD HH:MM:SS(UTC+8) */
31
31
  startTime: string;
32
- /** 管理员操作统计时间范围上限,包含该时间,格式 YYYY-MM-DD HH:MM:SS(UTC+8) */
32
+ /** 管理员操作统计时间范围上限,不包含该时间,格式 YYYY-MM-DD HH:MM:SS(UTC+8) */
33
33
  endTime: string;
34
34
  }
35
35
  export interface AdminApiGetOverwatchCaseQuery extends QueryParams {
@@ -13,7 +13,7 @@ export type AdminExtensionsControllerGetOperationLogStatisticParams = {
13
13
  */
14
14
  startTime: string;
15
15
  /**
16
- * 管理员操作统计时间范围上限,包含该时间,格式 YYYY-MM-DD HH:MM:SS(UTC+8)
16
+ * 管理员操作统计时间范围上限,不包含该时间,格式 YYYY-MM-DD HH:MM:SS(UTC+8)
17
17
  * @minLength 1
18
18
  * @pattern ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
19
19
  */
@@ -27,4 +27,6 @@ export type CreateMailBodyDtoGift = {
27
27
  exp?: number;
28
28
  /** 道具附件列表 */
29
29
  merchandises?: CreateMailBodyDtoGiftMerchandisesItem[];
30
+ /** 礼物领取条件表达式;不传表示无额外领取限制 */
31
+ condition?: string;
30
32
  };
@@ -19,4 +19,9 @@ export type TaskPageDataDtoDataItem = {
19
19
  * @nullable
20
20
  */
21
21
  taskData: string | null;
22
+ /**
23
+ * 任务完成时间;null 表示尚未完成或没有完成时间
24
+ * @nullable
25
+ */
26
+ completedAt: string | null;
22
27
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easecation/ecapi-sdk",
3
- "version": "3.0.2",
3
+ "version": "3.0.6",
4
4
  "description": "EaseCation Console API Node.js SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",