@freelog/tools-lib 0.1.119 → 0.1.122
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.
- package/dist/service-API/testQualifications.d.ts +14 -0
- package/dist/tools-lib.cjs.development.js +36 -9
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +36 -9
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/testQualifications.ts +96 -56
|
@@ -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;
|
|
@@ -2776,8 +2776,23 @@ var Activity = {
|
|
|
2776
2776
|
};
|
|
2777
2777
|
|
|
2778
2778
|
var _excluded$9 = ["recordId"];
|
|
2779
|
-
function
|
|
2780
|
-
var
|
|
2779
|
+
function codeDetails1(_ref) {
|
|
2780
|
+
var code = _ref.code;
|
|
2781
|
+
return FUtil.Request({
|
|
2782
|
+
method: 'GET',
|
|
2783
|
+
url: "/v2/testQualifications/beta/codes/" + code
|
|
2784
|
+
});
|
|
2785
|
+
}
|
|
2786
|
+
function codeDetails2(_ref2) {
|
|
2787
|
+
_objectDestructuringEmpty(_ref2);
|
|
2788
|
+
|
|
2789
|
+
return FUtil.Request({
|
|
2790
|
+
method: 'GET',
|
|
2791
|
+
url: "/v2/testQualifications/beta/codes/userActivateCode"
|
|
2792
|
+
});
|
|
2793
|
+
}
|
|
2794
|
+
function betaCodesActivate(_ref3) {
|
|
2795
|
+
var params = _extends({}, _ref3);
|
|
2781
2796
|
|
|
2782
2797
|
return FUtil.Request({
|
|
2783
2798
|
method: 'POST',
|
|
@@ -2785,8 +2800,17 @@ function betaCodesActivate(_ref) {
|
|
|
2785
2800
|
data: params
|
|
2786
2801
|
});
|
|
2787
2802
|
}
|
|
2788
|
-
function
|
|
2789
|
-
var params = _extends({},
|
|
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);
|
|
2790
2814
|
|
|
2791
2815
|
return FUtil.Request({
|
|
2792
2816
|
method: 'POST',
|
|
@@ -2795,8 +2819,8 @@ function betaApply(_ref2) {
|
|
|
2795
2819
|
});
|
|
2796
2820
|
}
|
|
2797
2821
|
function getBetaApply1(_temp) {
|
|
2798
|
-
var
|
|
2799
|
-
params = _extends({},
|
|
2822
|
+
var _ref6 = _temp === void 0 ? {} : _temp,
|
|
2823
|
+
params = _extends({}, _ref6);
|
|
2800
2824
|
|
|
2801
2825
|
return FUtil.Request({
|
|
2802
2826
|
method: 'GET',
|
|
@@ -2804,9 +2828,9 @@ function getBetaApply1(_temp) {
|
|
|
2804
2828
|
params: params
|
|
2805
2829
|
});
|
|
2806
2830
|
}
|
|
2807
|
-
function getBetaApply2(
|
|
2808
|
-
var recordId =
|
|
2809
|
-
params = _objectWithoutPropertiesLoose(
|
|
2831
|
+
function getBetaApply2(_ref7) {
|
|
2832
|
+
var recordId = _ref7.recordId,
|
|
2833
|
+
params = _objectWithoutPropertiesLoose(_ref7, _excluded$9);
|
|
2810
2834
|
|
|
2811
2835
|
return FUtil.Request({
|
|
2812
2836
|
method: 'GET',
|
|
@@ -2817,7 +2841,10 @@ function getBetaApply2(_ref4) {
|
|
|
2817
2841
|
|
|
2818
2842
|
var TestQualification = {
|
|
2819
2843
|
__proto__: null,
|
|
2844
|
+
codeDetails1: codeDetails1,
|
|
2845
|
+
codeDetails2: codeDetails2,
|
|
2820
2846
|
betaCodesActivate: betaCodesActivate,
|
|
2847
|
+
usedRecords: usedRecords,
|
|
2821
2848
|
betaApply: betaApply,
|
|
2822
2849
|
getBetaApply1: getBetaApply1,
|
|
2823
2850
|
getBetaApply2: getBetaApply2
|