@tagsamurai/fats-api-services 1.0.3-alpha.6 → 1.0.3-alpha.7

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.
@@ -98,14 +98,16 @@ const ChangelogServices$1 = {
98
98
  getActionLog: (params) => {
99
99
  return API$K.get("/change-log", { params });
100
100
  },
101
- getActionLogOption: (params) => {
102
- return API$K.get("/change-log/options", { params });
101
+ getActionLogOption: () => {
102
+ return API$K.get("/change-log/options");
103
103
  },
104
104
  getSessionLogList: (params) => {
105
105
  return API$K.get("/session-log", { params });
106
106
  },
107
107
  getSessionLogListOptions: (params) => {
108
- return API$K.get("/session-log/options", { params });
108
+ return API$K.get("/session-log/options", {
109
+ params
110
+ });
109
111
  },
110
112
  getTransactionLog: (params) => {
111
113
  return API$K.get("/transaction-log", { params });
@@ -105,14 +105,16 @@ System.register(["axios"], function(exports, module) {
105
105
  getActionLog: (params) => {
106
106
  return API$K.get("/change-log", { params });
107
107
  },
108
- getActionLogOption: (params) => {
109
- return API$K.get("/change-log/options", { params });
108
+ getActionLogOption: () => {
109
+ return API$K.get("/change-log/options");
110
110
  },
111
111
  getSessionLogList: (params) => {
112
112
  return API$K.get("/session-log", { params });
113
113
  },
114
114
  getSessionLogListOptions: (params) => {
115
- return API$K.get("/session-log/options", { params });
115
+ return API$K.get("/session-log/options", {
116
+ params
117
+ });
116
118
  },
117
119
  getTransactionLog: (params) => {
118
120
  return API$K.get("/transaction-log", { params });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagsamurai/fats-api-services",
3
- "version": "1.0.3-alpha.6",
3
+ "version": "1.0.3-alpha.7",
4
4
  "author": "developer.tagsamurai",
5
5
  "description": "Fixed Asset Tag Samurai Services Library",
6
6
  "module": "./api-services.es.js",
@@ -1,6 +1,6 @@
1
1
  import { AxiosResponse } from 'axios';
2
2
  import { FetchListResponse, FetchOptionResponse } from '../types/fetchResponse.type';
3
- import { ActionLogFilterParams, ActionLogOptionParams, GetSessionLogListResponse, GetUserSystemLogListResponse, GetUserSystemLogOptionsResponse, SessionLogFetchParams, SessionOptionsQueryParams, SystemLogFetchParams, SystemLogLoadingFilters } from '../dto/log.dto';
3
+ import { ActionLogFilterParams, 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';
@@ -10,7 +10,7 @@ import { TransactionDataType } from '../types/assetDetail.type';
10
10
  import { FetchOptionFn } from '@fewangsit/wangsvue-fats/components/filtercontainer/FilterContainer.vue';
11
11
  declare const ChangelogServices: {
12
12
  getActionLog: (params?: ActionLogFilterParams) => Promise<AxiosResponse<FetchListResponse<ActionLogType>>>;
13
- getActionLogOption: (params?: ActionLogOptionParams) => Promise<AxiosResponse<FetchOptionResponse>>;
13
+ getActionLogOption: () => Promise<AxiosResponse<FetchOptionResponse>>;
14
14
  getSessionLogList: (params: SessionLogFetchParams) => Promise<AxiosResponse<GetSessionLogListResponse>>;
15
15
  getSessionLogListOptions: <T = SessionOptionsQueryParams>(params: T) => FetchOptionFn<T>;
16
16
  getTransactionLog: (params?: TransactionLogFilterParams) => Promise<AxiosResponse<FetchListResponse<TransactionDataType>>>;