@freelog/tools-lib 0.1.130 → 0.1.132

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 (40) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +103 -103
  3. package/dist/service-API/activities.d.ts +6 -0
  4. package/dist/service-API/policies.d.ts +9 -0
  5. package/dist/tools-lib.cjs.development.js +26 -2
  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 +26 -2
  10. package/dist/tools-lib.esm.js.map +1 -1
  11. package/package.json +2 -2
  12. package/src/i18n/I18nNext.ts +154 -154
  13. package/src/i18n/index.ts +7 -7
  14. package/src/index.ts +9 -9
  15. package/src/service-API/activities.ts +231 -216
  16. package/src/service-API/captcha.ts +30 -30
  17. package/src/service-API/collections.ts +81 -81
  18. package/src/service-API/contracts.ts +101 -101
  19. package/src/service-API/events.ts +18 -18
  20. package/src/service-API/i18n.ts +35 -35
  21. package/src/service-API/index.ts +39 -39
  22. package/src/service-API/informalNodes.ts +238 -238
  23. package/src/service-API/nodes.ts +65 -65
  24. package/src/service-API/policies.ts +72 -45
  25. package/src/service-API/presentables.ts +287 -287
  26. package/src/service-API/recombinations/index.ts +69 -69
  27. package/src/service-API/resources.ts +532 -532
  28. package/src/service-API/statistics.ts +20 -20
  29. package/src/service-API/storages.ts +358 -358
  30. package/src/service-API/testQualifications.ts +109 -109
  31. package/src/service-API/tools/index.ts +10 -10
  32. package/src/service-API/transactions.ts +109 -109
  33. package/src/service-API/user.ts +270 -270
  34. package/src/utils/axios.ts +145 -145
  35. package/src/utils/format.ts +98 -98
  36. package/src/utils/index.ts +20 -20
  37. package/src/utils/linkTo.ts +399 -399
  38. package/src/utils/predefined.ts +37 -37
  39. package/src/utils/regexp.ts +52 -52
  40. 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
+ }