@tagsamurai/fats-api-services 1.0.0-alpha.244 → 1.0.0-alpha.246

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.
@@ -762,8 +762,8 @@ const LicenseAssetServices = {
762
762
  getFixedAssetPerGroup: (groupId, params) => {
763
763
  return API$v.get(`/${groupId}/assets`, { params });
764
764
  },
765
- deleteAssetData: (body) => {
766
- return API$v.delete("/assets", { data: body });
765
+ deleteAssetData: (params) => {
766
+ return API$v.delete("/assets", { params });
767
767
  }
768
768
  };
769
769
  const LicenseServices = {
@@ -769,8 +769,8 @@ System.register(["axios"], function(exports, module) {
769
769
  getFixedAssetPerGroup: (groupId, params) => {
770
770
  return API$v.get(`/${groupId}/assets`, { params });
771
771
  },
772
- deleteAssetData: (body) => {
773
- return API$v.delete("/assets", { data: body });
772
+ deleteAssetData: (params) => {
773
+ return API$v.delete("/assets", { params });
774
774
  }
775
775
  };
776
776
  const LicenseServices = exports("LicenseServices", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagsamurai/fats-api-services",
3
- "version": "1.0.0-alpha.244",
3
+ "version": "1.0.0-alpha.246",
4
4
  "author": "developer.tagsamurai",
5
5
  "description": "Fixed Asset Tag Samurai Services Library",
6
6
  "module": "./api-services.es.js",
@@ -5,8 +5,8 @@ import { PurchasedLicense } from '../types/licensePurchased.type';
5
5
  import { ConcurrentUser } from '../types/licenseConcurrent.type';
6
6
  declare const LicenseServices: {
7
7
  getFixedAssetPerGroup: (groupId: string, params?: BasicLicenseAssetFilterQuery) => Promise<AxiosResponse<GetBasicFixedAssetPerGroup>>;
8
- deleteAssetData: (body: {
9
- assets: string[];
8
+ deleteAssetData: (params: {
9
+ assets: string;
10
10
  }) => Promise<AxiosResponse>;
11
11
  getConcurrentUserData: () => Promise<AxiosResponse<FetchDetailResponse<{
12
12
  online: number;
@@ -7,6 +7,7 @@ type SettingTransaction = {
7
7
  confirmationTimeout: number;
8
8
  defaultBorrowingTime: number;
9
9
  maxBorrowingTime: number;
10
+ transactionTimeout: number;
10
11
  };
11
12
  transferAttrs: {
12
13
  transactionTimeout: number;