@freelog/tools-lib 0.1.96 → 0.1.99
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/statistics.d.ts +9 -0
- package/dist/service-API/testQualifications.d.ts +8 -1
- package/dist/tools-lib.cjs.development.js +26 -3
- 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 +26 -3
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/statistics.ts +20 -0
- package/src/service-API/testQualifications.ts +56 -31
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface TransactionsCommonParamsType {
|
|
2
|
+
ownerId: string | number;
|
|
3
|
+
ownerType?: 1 | 2;
|
|
4
|
+
objectId?: string;
|
|
5
|
+
objectType?: 2 | 3;
|
|
6
|
+
beginDate?: string;
|
|
7
|
+
endDate?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function transactionsCommon(params: TransactionsCommonParamsType): Promise<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface BetaCodesActivateParamsType {
|
|
2
|
-
|
|
2
|
+
code: string;
|
|
3
3
|
}
|
|
4
4
|
export declare function betaCodesActivate({ ...params }: BetaCodesActivateParamsType): Promise<any>;
|
|
5
5
|
interface BetaApplyParamsType {
|
|
@@ -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,12 +2210,13 @@ var Activity = {
|
|
|
2210
2210
|
adsDetails: adsDetails
|
|
2211
2211
|
};
|
|
2212
2212
|
|
|
2213
|
+
var _excluded$9 = ["recordId"];
|
|
2213
2214
|
function betaCodesActivate(_ref) {
|
|
2214
2215
|
var params = _extends({}, _ref);
|
|
2215
2216
|
|
|
2216
2217
|
return FUtil.Request({
|
|
2217
2218
|
method: 'POST',
|
|
2218
|
-
url:
|
|
2219
|
+
url: "/v2/testQualifications/beta/codes/activate",
|
|
2219
2220
|
data: params
|
|
2220
2221
|
});
|
|
2221
2222
|
}
|
|
@@ -2224,7 +2225,27 @@ function betaApply(_ref2) {
|
|
|
2224
2225
|
|
|
2225
2226
|
return FUtil.Request({
|
|
2226
2227
|
method: 'POST',
|
|
2227
|
-
url:
|
|
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,
|
|
2228
2249
|
data: params
|
|
2229
2250
|
});
|
|
2230
2251
|
}
|
|
@@ -2232,7 +2253,9 @@ function betaApply(_ref2) {
|
|
|
2232
2253
|
var TestQualification = {
|
|
2233
2254
|
__proto__: null,
|
|
2234
2255
|
betaCodesActivate: betaCodesActivate,
|
|
2235
|
-
betaApply: betaApply
|
|
2256
|
+
betaApply: betaApply,
|
|
2257
|
+
getBetaApply1: getBetaApply1,
|
|
2258
|
+
getBetaApply2: getBetaApply2
|
|
2236
2259
|
};
|
|
2237
2260
|
|
|
2238
2261
|
var FServiceAPI = {
|