@freelog/tools-lib 0.1.117 → 0.1.120

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.
@@ -19,4 +19,13 @@ interface AdsDetailsParamsType {
19
19
  place: 1 | 2 | 3 | 4;
20
20
  }
21
21
  export declare function adsDetails(params: AdsDetailsParamsType): Promise<any>;
22
+ interface GetBaseTaskInfoParamsType {
23
+ }
24
+ export declare function getBaseTaskInfo(params?: GetBaseTaskInfoParamsType): Promise<any>;
25
+ interface GetResourceTaskInfoParamsType {
26
+ }
27
+ export declare function getResourceTaskInfo(params?: GetResourceTaskInfoParamsType): Promise<any>;
28
+ interface GetNodeTaskInfoParamsType {
29
+ }
30
+ export declare function getNodeTaskInfo(params?: GetNodeTaskInfoParamsType): Promise<any>;
22
31
  export {};
@@ -1,7 +1,21 @@
1
+ interface CodeDetails1ParamsType {
2
+ code: string;
3
+ }
4
+ interface CodeDetails2ParamsType {
5
+ }
6
+ export declare function codeDetails1({ code }: CodeDetails1ParamsType): Promise<any>;
7
+ export declare function codeDetails2({}: CodeDetails2ParamsType): Promise<any>;
1
8
  interface BetaCodesActivateParamsType {
2
9
  code: string;
3
10
  }
4
11
  export declare function betaCodesActivate({ ...params }: BetaCodesActivateParamsType): Promise<any>;
12
+ interface UsedRecordsParamsType {
13
+ skip?: number;
14
+ limit?: number;
15
+ code?: string;
16
+ keywords?: string;
17
+ }
18
+ export declare function usedRecords({ ...params }: UsedRecordsParamsType): Promise<any>;
5
19
  interface BetaApplyParamsType {
6
20
  areaCode: string;
7
21
  occupation: string;
@@ -2730,18 +2730,69 @@ function adsDetails(params) {
2730
2730
  params: params
2731
2731
  });
2732
2732
  }
2733
+ function getBaseTaskInfo(params) {
2734
+ if (params === void 0) {
2735
+ params = {};
2736
+ }
2737
+
2738
+ return FUtil.Request({
2739
+ method: 'GET',
2740
+ url: "/v2/activities/facade/getBaseTaskInfo",
2741
+ params: params
2742
+ });
2743
+ }
2744
+ function getResourceTaskInfo(params) {
2745
+ if (params === void 0) {
2746
+ params = {};
2747
+ }
2748
+
2749
+ return FUtil.Request({
2750
+ method: 'GET',
2751
+ url: "/v2/activities/facade/getResourceTaskInfo",
2752
+ params: params
2753
+ });
2754
+ }
2755
+ function getNodeTaskInfo(params) {
2756
+ if (params === void 0) {
2757
+ params = {};
2758
+ }
2759
+
2760
+ return FUtil.Request({
2761
+ method: 'GET',
2762
+ url: "/v2/activities/facade/getNodeTaskInfo",
2763
+ params: params
2764
+ });
2765
+ }
2733
2766
 
2734
2767
  var Activity = {
2735
2768
  __proto__: null,
2736
2769
  list4Client: list4Client,
2737
2770
  find4Client: find4Client,
2738
2771
  adsList: adsList,
2739
- adsDetails: adsDetails
2772
+ adsDetails: adsDetails,
2773
+ getBaseTaskInfo: getBaseTaskInfo,
2774
+ getResourceTaskInfo: getResourceTaskInfo,
2775
+ getNodeTaskInfo: getNodeTaskInfo
2740
2776
  };
2741
2777
 
2742
2778
  var _excluded$9 = ["recordId"];
2743
- function betaCodesActivate(_ref) {
2744
- var params = _extends({}, _ref);
2779
+ function codeDetails1(_ref) {
2780
+ var code = _ref.code;
2781
+ return FUtil.Request({
2782
+ method: 'POST',
2783
+ url: "/v2/testQualifications/beta/codes/" + code
2784
+ });
2785
+ }
2786
+ function codeDetails2(_ref2) {
2787
+ _objectDestructuringEmpty(_ref2);
2788
+
2789
+ return FUtil.Request({
2790
+ method: 'POST',
2791
+ url: "/v2/testQualifications/beta/codes/userActivateCode"
2792
+ });
2793
+ }
2794
+ function betaCodesActivate(_ref3) {
2795
+ var params = _extends({}, _ref3);
2745
2796
 
2746
2797
  return FUtil.Request({
2747
2798
  method: 'POST',
@@ -2749,8 +2800,17 @@ function betaCodesActivate(_ref) {
2749
2800
  data: params
2750
2801
  });
2751
2802
  }
2752
- function betaApply(_ref2) {
2753
- var params = _extends({}, _ref2);
2803
+ function usedRecords(_ref4) {
2804
+ var params = _extends({}, _ref4);
2805
+
2806
+ return FUtil.Request({
2807
+ method: 'GET',
2808
+ url: "/v2/testQualifications/beta/codes/usedRecords",
2809
+ params: params
2810
+ });
2811
+ }
2812
+ function betaApply(_ref5) {
2813
+ var params = _extends({}, _ref5);
2754
2814
 
2755
2815
  return FUtil.Request({
2756
2816
  method: 'POST',
@@ -2759,8 +2819,8 @@ function betaApply(_ref2) {
2759
2819
  });
2760
2820
  }
2761
2821
  function getBetaApply1(_temp) {
2762
- var _ref3 = _temp === void 0 ? {} : _temp,
2763
- params = _extends({}, _ref3);
2822
+ var _ref6 = _temp === void 0 ? {} : _temp,
2823
+ params = _extends({}, _ref6);
2764
2824
 
2765
2825
  return FUtil.Request({
2766
2826
  method: 'GET',
@@ -2768,9 +2828,9 @@ function getBetaApply1(_temp) {
2768
2828
  params: params
2769
2829
  });
2770
2830
  }
2771
- function getBetaApply2(_ref4) {
2772
- var recordId = _ref4.recordId,
2773
- params = _objectWithoutPropertiesLoose(_ref4, _excluded$9);
2831
+ function getBetaApply2(_ref7) {
2832
+ var recordId = _ref7.recordId,
2833
+ params = _objectWithoutPropertiesLoose(_ref7, _excluded$9);
2774
2834
 
2775
2835
  return FUtil.Request({
2776
2836
  method: 'GET',
@@ -2781,7 +2841,10 @@ function getBetaApply2(_ref4) {
2781
2841
 
2782
2842
  var TestQualification = {
2783
2843
  __proto__: null,
2844
+ codeDetails1: codeDetails1,
2845
+ codeDetails2: codeDetails2,
2784
2846
  betaCodesActivate: betaCodesActivate,
2847
+ usedRecords: usedRecords,
2785
2848
  betaApply: betaApply,
2786
2849
  getBetaApply1: getBetaApply1,
2787
2850
  getBetaApply2: getBetaApply2