@tagsamurai/fats-api-services 1.0.0-beta.2 → 1.0.0-beta.3
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/api-services.es.js
CHANGED
|
@@ -75,6 +75,9 @@ const ChangelogServices$1 = {
|
|
|
75
75
|
getSessionLogList: (params) => {
|
|
76
76
|
return API$G.get("/session-log", { params });
|
|
77
77
|
},
|
|
78
|
+
getSessionLogListOptions: (params) => {
|
|
79
|
+
return API$G.get("/session-log/options", { params });
|
|
80
|
+
},
|
|
78
81
|
getTransactionLog: (params) => {
|
|
79
82
|
return API$G.get("/transaction-log", { params });
|
|
80
83
|
},
|
package/api-services.system.js
CHANGED
|
@@ -82,6 +82,9 @@ System.register(["axios"], function(exports, module) {
|
|
|
82
82
|
getSessionLogList: (params) => {
|
|
83
83
|
return API$G.get("/session-log", { params });
|
|
84
84
|
},
|
|
85
|
+
getSessionLogListOptions: (params) => {
|
|
86
|
+
return API$G.get("/session-log/options", { params });
|
|
87
|
+
},
|
|
85
88
|
getTransactionLog: (params) => {
|
|
86
89
|
return API$G.get("/transaction-log", { params });
|
|
87
90
|
},
|
package/package.json
CHANGED
package/src/dto/log.dto.d.ts
CHANGED
|
@@ -61,3 +61,8 @@ export type SystemLogFilterParams = {
|
|
|
61
61
|
export type SystemLogFetchParams = TableParams & SystemLogFilterParams & {
|
|
62
62
|
userId: string;
|
|
63
63
|
};
|
|
64
|
+
export interface SessionOptionsQueryParams {
|
|
65
|
+
userOptions?: boolean;
|
|
66
|
+
positionOptions?: boolean;
|
|
67
|
+
activityOptions?: boolean;
|
|
68
|
+
}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { AxiosResponse } from 'axios';
|
|
2
2
|
import { FetchListResponse, FetchOptionResponse } from '../types/fetchResponse.type';
|
|
3
|
-
import { ActionLogFilterParams, ActionLogOptionParams, GetSessionLogListResponse, GetUserSystemLogListResponse, GetUserSystemLogOptionsResponse, SessionLogFetchParams, SystemLogFetchParams, SystemLogLoadingFilters } from '../dto/log.dto';
|
|
3
|
+
import { ActionLogFilterParams, ActionLogOptionParams, GetSessionLogListResponse, GetUserSystemLogListResponse, GetUserSystemLogOptionsResponse, SessionLogFetchParams, SessionOptionsQueryParams, SystemLogFetchParams, SystemLogLoadingFilters } from '../dto/log.dto';
|
|
4
4
|
import { ActionLogType } from '../types/log.type';
|
|
5
5
|
import { GetUserLogAssignmentOptionsResponse, GetUserLogBorrowingOptionsResponse, UserLogAssignmentFetchParams, UserLogAssignmentLoadingFilters, UserLogBorrowingFetchParams, UserLogBorrowingLoadingFilters } from '../dto/user.dto';
|
|
6
6
|
import { UserLogAssignment, UserLogBorrowing } from '../types/userLog.type';
|
|
7
7
|
import { TransactionLogFilterParams } from '../dto/transactionLog.dto';
|
|
8
8
|
import { BasicAssetTransactionLogOptionBoolean, BasicAssetTransactionLogOptionFilter } from '../dto/assetDetail.dto';
|
|
9
9
|
import { TransactionDataType } from '../types/assetDetail.type';
|
|
10
|
+
import { FetchOptionFn } from '@fewangsit/wangsvue-fats/components/filtercontainer/FilterContainer.vue';
|
|
10
11
|
declare const ChangelogServices: {
|
|
11
12
|
getActionLog: (params?: ActionLogFilterParams) => Promise<AxiosResponse<FetchListResponse<ActionLogType>>>;
|
|
12
13
|
getActionLogOption: (params?: ActionLogOptionParams) => Promise<AxiosResponse<FetchOptionResponse>>;
|
|
13
14
|
getSessionLogList: (params: SessionLogFetchParams) => Promise<AxiosResponse<GetSessionLogListResponse>>;
|
|
15
|
+
getSessionLogListOptions: <T = SessionOptionsQueryParams>(params: T) => FetchOptionFn<T>;
|
|
14
16
|
getTransactionLog: (params?: TransactionLogFilterParams) => Promise<AxiosResponse<FetchListResponse<TransactionDataType>>>;
|
|
15
17
|
/**
|
|
16
18
|
* Retrieves the transaction log options.
|