@nomalism-com/types 0.22.71 → 0.22.72

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.
@@ -11,6 +11,7 @@ import { IPhcDocumentType } from "../../modules/supply/clientCurrentAccount/inte
11
11
  import { ISavedEmPickingData } from "../../modules/stock/savedEmPicking/interfaces";
12
12
  import { IDocumentLineNoteType } from "../../modules/supply/documentLineNote/interfaces";
13
13
  import { IProductBase } from "../../modules/supply/cabideProduct/interface";
14
+ import { IProductState } from "../../modules/stock/productGoogleSheets/interface";
14
15
  export type Attribute = {
15
16
  id: string;
16
17
  name: string;
@@ -1214,38 +1215,32 @@ export type SavedProviderProposal = {
1214
1215
  updated_by: string;
1215
1216
  };
1216
1217
  export type ProductSheet = {
1217
- id: string | null;
1218
- reference: number | null;
1219
- id_provider: number | null;
1220
- provider_ref: string | null;
1221
- name_id: string | null;
1222
- designation: string | null;
1223
- designation_saft: string | null;
1224
- barcode: string | null;
1225
- online: boolean | null;
1226
- dnt_come_anymore: boolean | null;
1227
- comes_temporarily: boolean | null;
1228
- no_discount: boolean | null;
1229
- type: IProductType | null;
1218
+ id: string;
1219
+ reference: string;
1220
+ type: IProductType;
1221
+ state: IProductState;
1222
+ values: unknown;
1223
+ imported_from_sheets: boolean;
1224
+ imported_from_product_sheets: boolean;
1225
+ origin_cabide_product_id: string | null;
1226
+ vat_tax_id: string;
1227
+ unit_of_measure_quantity_id: string;
1228
+ cabide_product_color: string | null;
1230
1229
  weight: number | null;
1231
1230
  width: number | null;
1232
1231
  height: number | null;
1233
1232
  length: number | null;
1234
1233
  diameter: number | null;
1234
+ no_discount: boolean;
1235
+ provider_ref: string | null;
1235
1236
  margin: number | null;
1236
- cabide_product_color: string | null;
1237
- unit_of_measure_weight_id: string | null;
1238
- unit_of_measure_quantity_id: string | null;
1239
- type_of_inventory_id: string | null;
1240
- product_sub_category_id: string | null;
1241
- vat_tax_id: string | null;
1242
- cabide_product_id: string | null;
1243
- origin_cabide_product_id: string | null;
1244
- imported_from_sheets: boolean | null;
1245
- external_id: string | null;
1237
+ id_provider: number;
1238
+ name: string | null;
1239
+ designation: string;
1246
1240
  origin_id: string | null;
1247
- created_at: Date | null;
1248
- updated_at: Date | null;
1249
- created_by: string | null;
1250
- updated_by: string | null;
1241
+ type_of_inventory_id: string;
1242
+ created_at: Date;
1243
+ updated_at: Date;
1244
+ created_by: string;
1245
+ updated_by: string;
1251
1246
  };
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.22.71",
12
+ "version": "0.22.72",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [