@tagsamurai/fats-api-services 1.0.0-alpha.155 → 1.0.0-alpha.156

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagsamurai/fats-api-services",
3
- "version": "1.0.0-alpha.155",
3
+ "version": "1.0.0-alpha.156",
4
4
  "author": "developer.tagsamurai",
5
5
  "description": "Fixed Asset Tag Samurai Services Library",
6
6
  "module": "./api-services.es.js",
@@ -1,4 +1,4 @@
1
- import { AssetBasicRegister, AssetDataOptionFilter, AssetDataParams } from '../types/asset.type';
1
+ import { AssetDataOptionFilter, AssetDataParams } from '../types/asset.type';
2
2
  export interface DialogSelectAssetFilterModels {
3
3
  assetName?: string[];
4
4
  name?: string[];
@@ -31,7 +31,7 @@ export interface RegisterAssetBulkBody {
31
31
  }
32
32
  export interface RegisterAssetBasicBulkBody {
33
33
  group: number;
34
- data: AssetBasicRegister[];
34
+ data: AssetBasicFormDto[];
35
35
  }
36
36
  export type AssetTreeNode = {
37
37
  _id: string;
@@ -95,6 +95,24 @@ export interface AssetFormDto {
95
95
  customFields: AssetCustomFieldType[];
96
96
  dataAttribute?: AssetTableDto[];
97
97
  }
98
+ export interface AssetBasicFormDto {
99
+ brand: number;
100
+ model: number;
101
+ name: number;
102
+ measurement: number;
103
+ usefulLife?: string;
104
+ category?: number;
105
+ firstImage?: File;
106
+ firstImageBig?: string;
107
+ firstImageMedium?: string;
108
+ firstImageSmall?: string;
109
+ secondImage?: File;
110
+ secondImageBig?: string;
111
+ secondImageMedium?: string;
112
+ secondImageSmall?: string;
113
+ setDefault?: string | number;
114
+ customFields: AssetCustomFieldType[];
115
+ }
98
116
  export interface AssetTableDto {
99
117
  rowId: string;
100
118
  num: number;