tsv2-library 1.0.61-alpha.84 → 1.0.61-alpha.85
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/package.json
CHANGED
|
@@ -45,13 +45,11 @@ const getAvailableAssets = (
|
|
|
45
45
|
return API({ params }).get('/available');
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
const
|
|
49
|
-
type: 'All' | 'Available',
|
|
48
|
+
const postAssetAvailableList = (
|
|
50
49
|
params?: GetAllAssetsQueryParams | GetAvailableAssetsQueryParams,
|
|
51
50
|
): Promise<AxiosResponse> => {
|
|
52
|
-
const assetType = type === 'Available' ? '/available' : '';
|
|
53
51
|
const body = buildBodyParams(params);
|
|
54
|
-
return API().post(
|
|
52
|
+
return API().post('/available/list', body);
|
|
55
53
|
};
|
|
56
54
|
|
|
57
55
|
const scanAsset = (tag: string): Promise<AxiosResponse> => {
|
|
@@ -109,7 +107,7 @@ const matchAssetWithTag = (
|
|
|
109
107
|
export default {
|
|
110
108
|
getAllAssets,
|
|
111
109
|
getAvailableAssets,
|
|
112
|
-
|
|
110
|
+
postAssetAvailableList,
|
|
113
111
|
getAssetsById,
|
|
114
112
|
getAssetDetail,
|
|
115
113
|
matchAssetWithTag,
|