@freelog/tools-lib 0.1.97 → 0.1.100

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.
@@ -11,6 +11,7 @@ import * as Captcha from './captcha';
11
11
  import * as Event from './events';
12
12
  import * as Activity from './activities';
13
13
  import * as TestQualification from './testQualifications';
14
+ import * as Statistic from './statistics';
14
15
  declare const FServiceAPI: {
15
16
  Node: typeof Node;
16
17
  Exhibit: typeof Exhibit;
@@ -25,5 +26,6 @@ declare const FServiceAPI: {
25
26
  Event: typeof Event;
26
27
  Activity: typeof Activity;
27
28
  TestQualification: typeof TestQualification;
29
+ Statistic: typeof Statistic;
28
30
  };
29
31
  export default FServiceAPI;
@@ -0,0 +1,9 @@
1
+ export interface TransactionsCommonParamsType {
2
+ ownerId: string | number;
3
+ ownerType?: 1 | 2;
4
+ objectId?: string;
5
+ objectType?: 2 | 3;
6
+ beginDate?: string;
7
+ endDate?: string;
8
+ }
9
+ export declare function transactionsCommon(params: TransactionsCommonParamsType): Promise<any>;
@@ -1,5 +1,5 @@
1
1
  interface BetaCodesActivateParamsType {
2
- codes: string;
2
+ code: string;
3
3
  }
4
4
  export declare function betaCodesActivate({ ...params }: BetaCodesActivateParamsType): Promise<any>;
5
5
  interface BetaApplyParamsType {
@@ -2258,6 +2258,19 @@ var TestQualification = {
2258
2258
  getBetaApply2: getBetaApply2
2259
2259
  };
2260
2260
 
2261
+ function transactionsCommon(params) {
2262
+ return FUtil.Request({
2263
+ method: 'GET',
2264
+ url: "/v2/statistics/transactions/common",
2265
+ params: params
2266
+ });
2267
+ }
2268
+
2269
+ var Statistic = {
2270
+ __proto__: null,
2271
+ transactionsCommon: transactionsCommon
2272
+ };
2273
+
2261
2274
  var FServiceAPI = {
2262
2275
  Node: Node,
2263
2276
  Exhibit: Exhibit,
@@ -2271,7 +2284,8 @@ var FServiceAPI = {
2271
2284
  Captcha: Captcha,
2272
2285
  Event: Event,
2273
2286
  Activity: Activity,
2274
- TestQualification: TestQualification
2287
+ TestQualification: TestQualification,
2288
+ Statistic: Statistic
2275
2289
  };
2276
2290
 
2277
2291
  var codeMessage = {