zyjj-web-sdk 1.0.24 → 1.0.26

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.
@@ -1,4 +1,4 @@
1
- import { g as E } from "./index-DBXZL4A-.js";
1
+ import { w as E } from "./index-DT3bFTPD.js";
2
2
  function S(T, L) {
3
3
  for (var f = 0; f < L.length; f++) {
4
4
  const h = L[f];
@@ -1,4 +1,4 @@
1
- import { g as So, c as Io } from "./index-DBXZL4A-.js";
1
+ import { w as So, o as Io } from "./index-DT3bFTPD.js";
2
2
  function Lo(pe, Ze) {
3
3
  for (var J = 0; J < Ze.length; J++) {
4
4
  const U = Ze[J];
package/lib/api/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AddTaskReq, GetCosResp, GetPageInfo, MqttClientInfo, PayCodeInfo, PayMethodInfo, PointRecordInfo, UserLoginReq, GetPageReq, GetToolDetailResp } from './entity.ts';
1
+ import { AddTaskReq, GetCosResp, GetPageInfo, MqttClientInfo, UserLoginReq, GetPageReq, GetToolDetailResp } from './entity.ts';
2
2
  import { AppInfo, TaskInfo, ToolInfo, UserInfo } from "../types/cloud.ts";
3
3
  export declare const UserLogin: (data: UserLoginReq) => Promise<string>;
4
4
  export declare const GetAppInfo: (os: string, version: string, uid?: string) => Promise<AppInfo>;
@@ -9,12 +9,6 @@ export declare const GetUserInfo: () => Promise<UserInfo>;
9
9
  export declare const UpdateUserInfo: (data: {
10
10
  tool_id_list?: string[];
11
11
  }) => Promise<unknown>;
12
- export declare const UserCheckIn: () => Promise<void>;
13
- export declare const PointExchange: (code: string) => Promise<void>;
14
- export declare const GetPointRecordList: (no: number, size: number) => Promise<GetPageInfo<PointRecordInfo>>;
15
- export declare const GetPayMethodsList: () => Promise<PayMethodInfo[]>;
16
- export declare const GetPayCode: (id: number, price: number) => Promise<PayCodeInfo>;
17
- export declare const GetPayStatus: (id: string) => Promise<number>;
18
12
  export declare const CostPoint: (data: {
19
13
  name: string;
20
14
  point: number;
@@ -25,7 +19,6 @@ export declare const GetToolList: (req: GetPageReq) => Promise<GetPageInfo<ToolI
25
19
  export declare const GetAllToolList: () => Promise<GetPageInfo<ToolInfo>>;
26
20
  export declare const GetToolDetail: (id: string) => Promise<GetToolDetailResp>;
27
21
  export declare const GetToolTagList: () => Promise<string[]>;
28
- export declare const ToolCountInc: (id: string) => Promise<void>;
29
22
  export declare const GetTencentCosInfo: () => Promise<GetCosResp>;
30
23
  export declare const AddTask: (data: AddTaskReq) => Promise<string>;
31
24
  export declare const GetTaskInfo: (id: string) => Promise<TaskInfo>;
@@ -41,25 +41,6 @@ export interface MqttClientInfo {
41
41
  username: string;
42
42
  password: string;
43
43
  }
44
- export interface PointRecordInfo {
45
- id: string;
46
- uid: string;
47
- name: string;
48
- point: number;
49
- desc: string;
50
- create_time: number;
51
- }
52
- export interface PayMethodInfo {
53
- id: number;
54
- name: string;
55
- pic?: string;
56
- msg?: string;
57
- support: boolean;
58
- }
59
- export interface PayCodeInfo {
60
- html: string;
61
- no: string;
62
- }
63
44
  export interface GetToolDetailResp {
64
45
  tool: ToolInfo;
65
46
  detail: ToolDetailInfo;