@nomalism-com/types 0.22.38 → 0.22.39

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.
@@ -1,11 +1,13 @@
1
1
  import { ProductImage, UnitOfMeasure, VatTax, VatTaxZone } from "../../../shared/entities";
2
2
  import { IProductPromotionVirtuals, IProductVirtuals } from "../product/interface";
3
+ import { ProductSheet } from "../../../shared/entities";
3
4
  export declare const Route = "products_sheets";
4
5
  export declare const UpperName = "ProductsSheets";
5
6
  export declare const LowerName: string;
6
7
  export interface IProductsSheetsRequest {
7
8
  products_google_sheet_id: string;
8
9
  }
10
+ export type Entity = ProductSheet;
9
11
  export type IProductsForSheetsResponse = Record<string, any>;
10
12
  export type IProductFromSheetsValues = Record<string, any>;
11
13
  export type SheetsCreateOrUpdate = "create" | "update";
@@ -127,3 +127,4 @@ export import EmailTemplateAttachment = Integration.EmailTemplateAttachment;
127
127
  export import GoogleSheetImports = Stock.GoogleSheetImports;
128
128
  export import DocumentLineNote = Stock.DocumentLineNote;
129
129
  export import SavedProviderProposal = Stock.SavedProviderProposal;
130
+ export import ProductSheet = Stock.ProductSheet;
@@ -1212,3 +1212,29 @@ export type SavedProviderProposal = {
1212
1212
  created_by: string;
1213
1213
  updated_by: string;
1214
1214
  };
1215
+ export type ProductSheet = {
1216
+ id: string;
1217
+ reference: string;
1218
+ type: string;
1219
+ state: string;
1220
+ values: unknown;
1221
+ imported_from_sheets: boolean;
1222
+ imported_from_product_sheets: boolean;
1223
+ origin_cabide_product_id: string | null;
1224
+ vat_tax_id: string;
1225
+ unit_of_measure_quantity_id: string;
1226
+ cabide_product_color: string | null;
1227
+ weight: number | null;
1228
+ width: number | null;
1229
+ height: number | null;
1230
+ length: number | null;
1231
+ diameter: number | null;
1232
+ no_discount: boolean;
1233
+ provider_ref: string | null;
1234
+ margin: number | null;
1235
+ id_provider: number;
1236
+ created_at: Date;
1237
+ updated_at: Date;
1238
+ created_by: string;
1239
+ updated_by: string;
1240
+ };
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.22.38",
12
+ "version": "0.22.39",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [