@freelog/tools-lib 0.1.132 → 0.1.133

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.
Files changed (41) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +103 -103
  3. package/dist/service-API/policies.d.ts +1 -1
  4. package/dist/service-API/recombinations/index.d.ts +4 -1
  5. package/dist/tools-lib.cjs.development.js +214 -197
  6. package/dist/tools-lib.cjs.development.js.map +1 -1
  7. package/dist/tools-lib.cjs.production.min.js +1 -1
  8. package/dist/tools-lib.cjs.production.min.js.map +1 -1
  9. package/dist/tools-lib.esm.js +214 -197
  10. package/dist/tools-lib.esm.js.map +1 -1
  11. package/dist/utils/format.d.ts +0 -4
  12. package/package.json +1 -1
  13. package/src/i18n/I18nNext.ts +154 -154
  14. package/src/i18n/index.ts +7 -7
  15. package/src/index.ts +9 -9
  16. package/src/service-API/activities.ts +231 -231
  17. package/src/service-API/captcha.ts +30 -30
  18. package/src/service-API/collections.ts +81 -81
  19. package/src/service-API/contracts.ts +101 -101
  20. package/src/service-API/events.ts +18 -18
  21. package/src/service-API/i18n.ts +35 -35
  22. package/src/service-API/index.ts +39 -39
  23. package/src/service-API/informalNodes.ts +238 -238
  24. package/src/service-API/nodes.ts +65 -65
  25. package/src/service-API/policies.ts +75 -72
  26. package/src/service-API/presentables.ts +287 -287
  27. package/src/service-API/recombinations/index.ts +92 -69
  28. package/src/service-API/resources.ts +532 -532
  29. package/src/service-API/statistics.ts +20 -20
  30. package/src/service-API/storages.ts +358 -358
  31. package/src/service-API/testQualifications.ts +109 -109
  32. package/src/service-API/tools/index.ts +10 -10
  33. package/src/service-API/transactions.ts +109 -109
  34. package/src/service-API/user.ts +270 -270
  35. package/src/utils/axios.ts +145 -145
  36. package/src/utils/format.ts +98 -98
  37. package/src/utils/index.ts +20 -20
  38. package/src/utils/linkTo.ts +399 -399
  39. package/src/utils/predefined.ts +37 -37
  40. package/src/utils/regexp.ts +52 -52
  41. package/src/utils/tools.ts +85 -85
@@ -1,20 +1,20 @@
1
- import FUtil from '../utils';
2
- // import {AxiosRequestConfig, Canceler} from 'axios';
3
-
4
- // 查询通用交易统计信息
5
- export interface TransactionsCommonParamsType {
6
- ownerId: string | number;
7
- ownerType?: 1 | 2;
8
- objectId?: string;
9
- objectType?: 2 | 3;
10
- beginDate?: string;
11
- endDate?: string;
12
- }
13
-
14
- export function transactionsCommon(params: TransactionsCommonParamsType) {
15
- return FUtil.Request({
16
- method: 'GET',
17
- url: `/v2/statistics/transactions/common`,
18
- params: params,
19
- });
20
- }
1
+ import FUtil from '../utils';
2
+ // import {AxiosRequestConfig, Canceler} from 'axios';
3
+
4
+ // 查询通用交易统计信息
5
+ export interface TransactionsCommonParamsType {
6
+ ownerId: string | number;
7
+ ownerType?: 1 | 2;
8
+ objectId?: string;
9
+ objectType?: 2 | 3;
10
+ beginDate?: string;
11
+ endDate?: string;
12
+ }
13
+
14
+ export function transactionsCommon(params: TransactionsCommonParamsType) {
15
+ return FUtil.Request({
16
+ method: 'GET',
17
+ url: `/v2/statistics/transactions/common`,
18
+ params: params,
19
+ });
20
+ }