@freelog/tools-lib 0.1.94 → 0.1.97
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/index.d.ts +2 -0
- package/dist/service-API/testQualifications.d.ts +7 -0
- package/dist/tools-lib.cjs.development.js +50 -1
- 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 +50 -1
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/index.ts +2 -0
- package/src/service-API/testQualifications.ts +56 -31
|
@@ -10,6 +10,7 @@ import * as Transaction from './transactions';
|
|
|
10
10
|
import * as Captcha from './captcha';
|
|
11
11
|
import * as Event from './events';
|
|
12
12
|
import * as Activity from './activities';
|
|
13
|
+
import * as TestQualification from './testQualifications';
|
|
13
14
|
declare const FServiceAPI: {
|
|
14
15
|
Node: typeof Node;
|
|
15
16
|
Exhibit: typeof Exhibit;
|
|
@@ -23,5 +24,6 @@ declare const FServiceAPI: {
|
|
|
23
24
|
Captcha: typeof Captcha;
|
|
24
25
|
Event: typeof Event;
|
|
25
26
|
Activity: typeof Activity;
|
|
27
|
+
TestQualification: typeof TestQualification;
|
|
26
28
|
};
|
|
27
29
|
export default FServiceAPI;
|
|
@@ -8,4 +8,11 @@ interface BetaApplyParamsType {
|
|
|
8
8
|
description: string;
|
|
9
9
|
}
|
|
10
10
|
export declare function betaApply({ ...params }: BetaApplyParamsType): Promise<any>;
|
|
11
|
+
interface GetBetaApply1ParamsType {
|
|
12
|
+
}
|
|
13
|
+
export declare function getBetaApply1({ ...params }?: GetBetaApply1ParamsType): Promise<any>;
|
|
14
|
+
interface GetBetaApply2ParamsType {
|
|
15
|
+
recordId: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function getBetaApply2({ recordId, ...params }: GetBetaApply2ParamsType): Promise<any>;
|
|
11
18
|
export {};
|
|
@@ -2210,6 +2210,54 @@ var Activity = {
|
|
|
2210
2210
|
adsDetails: adsDetails
|
|
2211
2211
|
};
|
|
2212
2212
|
|
|
2213
|
+
var _excluded$9 = ["recordId"];
|
|
2214
|
+
function betaCodesActivate(_ref) {
|
|
2215
|
+
var params = _extends({}, _ref);
|
|
2216
|
+
|
|
2217
|
+
return FUtil.Request({
|
|
2218
|
+
method: 'POST',
|
|
2219
|
+
url: "/v2/testQualifications/beta/codes/activate",
|
|
2220
|
+
data: params
|
|
2221
|
+
});
|
|
2222
|
+
}
|
|
2223
|
+
function betaApply(_ref2) {
|
|
2224
|
+
var params = _extends({}, _ref2);
|
|
2225
|
+
|
|
2226
|
+
return FUtil.Request({
|
|
2227
|
+
method: 'POST',
|
|
2228
|
+
url: "/v2/testQualifications/beta/apply",
|
|
2229
|
+
data: params
|
|
2230
|
+
});
|
|
2231
|
+
}
|
|
2232
|
+
function getBetaApply1(_temp) {
|
|
2233
|
+
var _ref3 = _temp === void 0 ? {} : _temp,
|
|
2234
|
+
params = _extends({}, _ref3);
|
|
2235
|
+
|
|
2236
|
+
return FUtil.Request({
|
|
2237
|
+
method: 'GET',
|
|
2238
|
+
url: "/v2/testQualifications/beta/apply/current",
|
|
2239
|
+
params: params
|
|
2240
|
+
});
|
|
2241
|
+
}
|
|
2242
|
+
function getBetaApply2(_ref4) {
|
|
2243
|
+
var recordId = _ref4.recordId,
|
|
2244
|
+
params = _objectWithoutPropertiesLoose(_ref4, _excluded$9);
|
|
2245
|
+
|
|
2246
|
+
return FUtil.Request({
|
|
2247
|
+
method: 'GET',
|
|
2248
|
+
url: "/v2/testQualifications/beta/apply/" + recordId,
|
|
2249
|
+
data: params
|
|
2250
|
+
});
|
|
2251
|
+
}
|
|
2252
|
+
|
|
2253
|
+
var TestQualification = {
|
|
2254
|
+
__proto__: null,
|
|
2255
|
+
betaCodesActivate: betaCodesActivate,
|
|
2256
|
+
betaApply: betaApply,
|
|
2257
|
+
getBetaApply1: getBetaApply1,
|
|
2258
|
+
getBetaApply2: getBetaApply2
|
|
2259
|
+
};
|
|
2260
|
+
|
|
2213
2261
|
var FServiceAPI = {
|
|
2214
2262
|
Node: Node,
|
|
2215
2263
|
Exhibit: Exhibit,
|
|
@@ -2222,7 +2270,8 @@ var FServiceAPI = {
|
|
|
2222
2270
|
Transaction: Transaction,
|
|
2223
2271
|
Captcha: Captcha,
|
|
2224
2272
|
Event: Event,
|
|
2225
|
-
Activity: Activity
|
|
2273
|
+
Activity: Activity,
|
|
2274
|
+
TestQualification: TestQualification
|
|
2226
2275
|
};
|
|
2227
2276
|
|
|
2228
2277
|
var codeMessage = {
|