@tagsamurai/fats-api-services 1.0.0-alpha.255 → 1.0.0-alpha.257

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.
@@ -2217,7 +2217,7 @@ const TransactionSettingServices = {
2217
2217
  }
2218
2218
  };
2219
2219
  const API$2 = createAxiosInstance({
2220
- prefix: "/settings-attribute-go/v2/asset-name"
2220
+ prefix: "/settings-attribute/v2/asset-name"
2221
2221
  });
2222
2222
  const SettingAssetNameServiceGo = {
2223
2223
  getAssetNameList: (params) => API$2.get("/", { params }),
@@ -2281,7 +2281,7 @@ const SettingAssetNameServiceGo = {
2281
2281
  }
2282
2282
  };
2283
2283
  const API$1 = createAxiosInstance({
2284
- prefix: "settings-attribute-go/v2/brands"
2284
+ prefix: "settings-attribute/v2/brands"
2285
2285
  });
2286
2286
  const SettingBrandServiceGo = {
2287
2287
  getBrandList: (params) => {
@@ -2335,7 +2335,7 @@ const SettingBrandServiceGo = {
2335
2335
  }
2336
2336
  };
2337
2337
  const API = createAxiosInstance({
2338
- prefix: "/settings-attribute-go/v2/measurement"
2338
+ prefix: "/settings-attribute/v2/measurement"
2339
2339
  });
2340
2340
  const SettingMeasurementServiceGo = {
2341
2341
  getMeasurementList: (params) => {
@@ -2224,7 +2224,7 @@ System.register(["axios"], function(exports, module) {
2224
2224
  }
2225
2225
  });
2226
2226
  const API$2 = createAxiosInstance({
2227
- prefix: "/settings-attribute-go/v2/asset-name"
2227
+ prefix: "/settings-attribute/v2/asset-name"
2228
2228
  });
2229
2229
  const SettingAssetNameServiceGo = exports("SettingAssetNameService", {
2230
2230
  getAssetNameList: (params) => API$2.get("/", { params }),
@@ -2288,7 +2288,7 @@ System.register(["axios"], function(exports, module) {
2288
2288
  }
2289
2289
  });
2290
2290
  const API$1 = createAxiosInstance({
2291
- prefix: "settings-attribute-go/v2/brands"
2291
+ prefix: "settings-attribute/v2/brands"
2292
2292
  });
2293
2293
  const SettingBrandServiceGo = exports("SettingBrandService", {
2294
2294
  getBrandList: (params) => {
@@ -2342,7 +2342,7 @@ System.register(["axios"], function(exports, module) {
2342
2342
  }
2343
2343
  });
2344
2344
  const API = createAxiosInstance({
2345
- prefix: "/settings-attribute-go/v2/measurement"
2345
+ prefix: "/settings-attribute/v2/measurement"
2346
2346
  });
2347
2347
  const SettingMeasurementServiceGo = exports("SettingMeasurementService", {
2348
2348
  getMeasurementList: (params) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagsamurai/fats-api-services",
3
- "version": "1.0.0-alpha.255",
3
+ "version": "1.0.0-alpha.257",
4
4
  "author": "developer.tagsamurai",
5
5
  "description": "Fixed Asset Tag Samurai Services Library",
6
6
  "module": "./api-services.es.js",
@@ -1,47 +1,47 @@
1
1
  import { QueryParams } from '../types/fetchResponse.type';
2
2
  export interface BaseFilterQueryParams extends QueryParams {
3
- page: number;
4
- limit: number;
5
- sortOrder: number;
6
- sortBy: string;
7
- search: string;
3
+ page?: number;
4
+ limit?: number;
5
+ sortOrder?: number;
6
+ sortBy?: string;
7
+ search?: string;
8
8
  }
9
9
  export interface GetAssetNameListQueryParams extends BaseFilterQueryParams {
10
- name: string[];
11
- aliasCode: string[];
12
- category: number[];
13
- measurement: string[];
14
- brands: number[];
15
- models: number[];
16
- depreciationGroup: number[];
17
- accountCode: string[];
18
- accountName: string[];
19
- tagType: string[];
20
- group: number[];
21
- status: string[];
22
- updatedAt: number[];
23
- isActive: boolean[];
24
- viewBy: string[];
25
- maintenanceAuditStatus: string[];
26
- rfidExist: string[];
27
- qrExist: string[];
10
+ name?: string[];
11
+ aliasCode?: string[];
12
+ category?: number[];
13
+ measurement?: string[];
14
+ brands?: number[];
15
+ models?: number[];
16
+ depreciationGroup?: number[];
17
+ accountCode?: string[];
18
+ accountName?: string[];
19
+ tagType?: string[];
20
+ group?: number[];
21
+ status?: string[];
22
+ updatedAt?: number[];
23
+ isActive?: boolean[];
24
+ viewBy?: string[];
25
+ maintenanceAuditStatus?: string[];
26
+ rfidExist?: string[];
27
+ qrExist?: string[];
28
28
  }
29
29
  export interface GetAssetNameListOptionsQueryParams extends QueryParams {
30
- nameOptions: boolean;
31
- measurementOptions: boolean;
32
- brandsOptions: boolean;
33
- modelOptions: boolean;
34
- depreciationGroupOptions: boolean;
35
- accountCodeOptions: boolean;
36
- accountNameOptions: boolean;
37
- aliasCodeOptions: boolean;
30
+ nameOptions?: boolean;
31
+ measurementOptions?: boolean;
32
+ brandsOptions?: boolean;
33
+ modelOptions?: boolean;
34
+ depreciationGroupOptions?: boolean;
35
+ accountCodeOptions?: boolean;
36
+ accountNameOptions?: boolean;
37
+ aliasCodeOptions?: boolean;
38
38
  }
39
39
  export type GetAssetNameDropdownQueryParams = GetAssetNameListQueryParams;
40
40
  export interface GetUnpairedAssetNameListQueryParams extends BaseFilterQueryParams {
41
- name: string[];
42
- excludeKey: number[];
43
- tagType: string[];
44
- group: number[];
41
+ name?: string[];
42
+ excludeKey?: number[];
43
+ tagType?: string[];
44
+ group?: number[];
45
45
  }
46
46
  export type GetUnpairedAssetNameListOptionsQueryParams = GetAssetNameListOptionsQueryParams;
47
47
  export type GetAssetNameBrands = {
@@ -13,10 +13,10 @@ export interface GetBrandListQueryParameter extends QueryParams {
13
13
  models?: number[];
14
14
  }
15
15
  export interface GetBrandListOptionsFAQueryParameter extends GetBrandListQueryParameter {
16
- brandOptions: boolean;
17
- modelOptions: boolean;
18
- assetNameOptions: boolean;
19
- categoryOptions: boolean;
16
+ brandOptions?: boolean;
17
+ modelOptions?: boolean;
18
+ assetNameOptions?: boolean;
19
+ categoryOptions?: boolean;
20
20
  }
21
21
  export type GetBrandDropdownQueryParameter = GetBrandListQueryParameter;
22
22
  export type GetBrandListCategoryQueryParameter = GetBrandListQueryParameter;