@tagsamurai/fats-api-services 1.0.3-alpha.124 → 1.0.3-alpha.125
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
|
@@ -2352,16 +2352,12 @@ const API$9 = createAxiosInstance({
|
|
|
2352
2352
|
prefix: "/settings-attribute/v2/asset-name"
|
|
2353
2353
|
});
|
|
2354
2354
|
const SettingAssetNameServiceGo = {
|
|
2355
|
-
getAssetNameList: (params) =>
|
|
2356
|
-
postAssetNameList: (params) => {
|
|
2355
|
+
getAssetNameList: (params) => {
|
|
2357
2356
|
const body = buildBodyParams(params);
|
|
2358
2357
|
return API$9.post("/list", body);
|
|
2359
2358
|
},
|
|
2360
2359
|
//https://dev-api.supply.tagsamurai.com/settings-attribute-go/v2/asset-name/options
|
|
2361
2360
|
getAssetNameListOptions: (params) => {
|
|
2362
|
-
return API$9.get("/options", { params });
|
|
2363
|
-
},
|
|
2364
|
-
postAssetNameListOptions: (params) => {
|
|
2365
2361
|
const body = buildBodyParams(params);
|
|
2366
2362
|
return API$9.post("/list/options", body);
|
|
2367
2363
|
},
|
|
@@ -2425,16 +2421,10 @@ const API$8 = createAxiosInstance({
|
|
|
2425
2421
|
});
|
|
2426
2422
|
const SettingBrandServiceGo = {
|
|
2427
2423
|
getBrandList: (params) => {
|
|
2428
|
-
return API$8.get("", { params });
|
|
2429
|
-
},
|
|
2430
|
-
postBrandsList: (params) => {
|
|
2431
2424
|
const body = buildBodyParams(params);
|
|
2432
2425
|
return API$8.post("/list", body);
|
|
2433
2426
|
},
|
|
2434
2427
|
getBrandListOptionsFA: (params) => {
|
|
2435
|
-
return API$8.get("/options", { params });
|
|
2436
|
-
},
|
|
2437
|
-
postBrandListOptionsFA: (params) => {
|
|
2438
2428
|
const body = buildBodyParams(params);
|
|
2439
2429
|
return API$8.post("/list/options", body);
|
|
2440
2430
|
},
|
package/api-services.system.js
CHANGED
|
@@ -2360,16 +2360,12 @@ System.register(["axios"], function(exports, module) {
|
|
|
2360
2360
|
prefix: "/settings-attribute/v2/asset-name"
|
|
2361
2361
|
});
|
|
2362
2362
|
const SettingAssetNameServiceGo = exports("SettingAssetNameService", {
|
|
2363
|
-
getAssetNameList: (params) =>
|
|
2364
|
-
postAssetNameList: (params) => {
|
|
2363
|
+
getAssetNameList: (params) => {
|
|
2365
2364
|
const body = buildBodyParams(params);
|
|
2366
2365
|
return API$9.post("/list", body);
|
|
2367
2366
|
},
|
|
2368
2367
|
//https://dev-api.supply.tagsamurai.com/settings-attribute-go/v2/asset-name/options
|
|
2369
2368
|
getAssetNameListOptions: (params) => {
|
|
2370
|
-
return API$9.get("/options", { params });
|
|
2371
|
-
},
|
|
2372
|
-
postAssetNameListOptions: (params) => {
|
|
2373
2369
|
const body = buildBodyParams(params);
|
|
2374
2370
|
return API$9.post("/list/options", body);
|
|
2375
2371
|
},
|
|
@@ -2433,16 +2429,10 @@ System.register(["axios"], function(exports, module) {
|
|
|
2433
2429
|
});
|
|
2434
2430
|
const SettingBrandServiceGo = exports("SettingBrandService", {
|
|
2435
2431
|
getBrandList: (params) => {
|
|
2436
|
-
return API$8.get("", { params });
|
|
2437
|
-
},
|
|
2438
|
-
postBrandsList: (params) => {
|
|
2439
2432
|
const body = buildBodyParams(params);
|
|
2440
2433
|
return API$8.post("/list", body);
|
|
2441
2434
|
},
|
|
2442
2435
|
getBrandListOptionsFA: (params) => {
|
|
2443
|
-
return API$8.get("/options", { params });
|
|
2444
|
-
},
|
|
2445
|
-
postBrandListOptionsFA: (params) => {
|
|
2446
2436
|
const body = buildBodyParams(params);
|
|
2447
2437
|
return API$8.post("/list/options", body);
|
|
2448
2438
|
},
|
package/package.json
CHANGED
|
@@ -4,9 +4,7 @@ import { FetchDetailResponse, FetchListResponse, FetchResponse, ShortFetchListRe
|
|
|
4
4
|
import { AssetNameAssets, AssetNameAssetsOptions, AssetNameBrands, AssetNameBrandsOptions, AssetNameDetail, AssetNameDropdown, AssetNameList, AssetNameListOptions, UnpairedAssetNameList, UnpairedAssetNameListOptions } from '../types/settingsAssetName.type';
|
|
5
5
|
declare const SettingAssetNameServiceGo: {
|
|
6
6
|
getAssetNameList: (params?: GetAssetNameListQueryParams) => Promise<AxiosResponse<FetchListResponse<AssetNameList>>>;
|
|
7
|
-
postAssetNameList: (params?: GetAssetNameListQueryParams) => Promise<AxiosResponse>;
|
|
8
7
|
getAssetNameListOptions: (params?: GetAssetNameListOptionsQueryParams) => Promise<AxiosResponse<FetchDetailResponse<AssetNameListOptions>>>;
|
|
9
|
-
postAssetNameListOptions: (params?: GetAssetNameListOptionsQueryParams) => Promise<AxiosResponse>;
|
|
10
8
|
getAssetNameDropdown: (params?: GetAssetNameDropdownQueryParams) => Promise<AxiosResponse<ShortFetchListResponse<AssetNameDropdown>>>;
|
|
11
9
|
getAssetUnpairedNameList: (params?: GetUnpairedAssetNameListQueryParams) => Promise<AxiosResponse<FetchListResponse<UnpairedAssetNameList>>>;
|
|
12
10
|
getAssetUnpairedNameListOptions: (params?: GetUnpairedAssetNameListOptionsQueryParams) => Promise<AxiosResponse<FetchDetailResponse<UnpairedAssetNameListOptions>>>;
|
|
@@ -4,9 +4,7 @@ import { FetchDetailResponse, FetchListResponse, FetchResponse, ShortFetchListRe
|
|
|
4
4
|
import { BrandDetail, BrandDropdown, BrandList, BrandListAsset, BrandListAssetOptions, BrandListCategory, BrandListCategoryOptions, BrandListOptionsFA } from '../types/settingsBrand.type';
|
|
5
5
|
declare const SettingBrandServiceGo: {
|
|
6
6
|
getBrandList: (params?: GetBrandListQueryParameter) => Promise<AxiosResponse<FetchListResponse<BrandList>>>;
|
|
7
|
-
postBrandsList: (params?: GetBrandListQueryParameter) => Promise<AxiosResponse>;
|
|
8
7
|
getBrandListOptionsFA: (params?: GetBrandListOptionsFAQueryParameter) => Promise<AxiosResponse<FetchDetailResponse<BrandListOptionsFA>>>;
|
|
9
|
-
postBrandListOptionsFA: (params?: GetBrandListOptionsFAQueryParameter) => Promise<AxiosResponse>;
|
|
10
8
|
getBrandDropdown: (params?: GetBrandDropdownQueryParameter) => Promise<AxiosResponse<ShortFetchListResponse<BrandDropdown>>>;
|
|
11
9
|
getBrandDetail: (id: string) => Promise<AxiosResponse<FetchDetailResponse<BrandDetail>>>;
|
|
12
10
|
getBrandListCategory: (id: string, params?: GetBrandListCategoryQueryParameter) => Promise<AxiosResponse<FetchListResponse<BrandListCategory>>>;
|