@nomalism-com/types 0.25.8 → 0.25.10

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.
@@ -170,7 +170,7 @@ export interface IFindForMobileResponse {
170
170
  cabide_product_color: string | null;
171
171
  attributes: string;
172
172
  compositions: string;
173
- virtual: Pick<IProductVirtuals, "price_sale" | "available" | "ordered_quantity" | "prison" | "reserved" | "total"> | null;
173
+ virtual: Pick<IProductVirtuals, "price_sale" | "available" | "ordered_quantity" | "prison" | "reserved" | "total" | "inativa"> | null;
174
174
  unit_of_measure_quantity: Pick<UnitOfMeasure, "notation" | "integer_only">;
175
175
  origin_cabide_product: Pick<CabideProduct, "preco_final_1" | "preco_final_2"> | null;
176
176
  promotions: IDocumentLine.IPromotions[];
@@ -182,32 +182,33 @@ export type IFindForMobileRequest = {
182
182
  reference?: never;
183
183
  id: string;
184
184
  };
185
- export interface IProductFromSheets extends Record<string, string | number | undefined> {
186
- reference: string | number;
187
- name: string | number;
188
- designation: string | number;
189
- id_provider: string | number;
190
- provider_ref: string | number;
191
- price_cost: string | number;
192
- margin: string | number;
193
- price_sale: string | number;
194
- tax_value: string | number;
195
- max_discount: string | number;
196
- compositions: string | number;
197
- maintenances: string | number;
198
- attributes: string | number;
199
- width: string | number;
200
- height: string | number;
201
- length: string | number;
202
- diameter: string | number;
203
- weight: string | number;
204
- type: string | number;
205
- state: string | number;
206
- un: string | number;
207
- "promo.name": string | number;
208
- "promo.discount": string | number;
209
- "promo.initial_date": string | number;
210
- "promo.final_date": string | number;
185
+ export type IGoogleSheetCellType = string | number | null | undefined;
186
+ export interface IProductFromSheets extends Record<string, IGoogleSheetCellType> {
187
+ reference: IGoogleSheetCellType;
188
+ name: IGoogleSheetCellType;
189
+ designation: IGoogleSheetCellType;
190
+ id_provider: IGoogleSheetCellType;
191
+ provider_ref: IGoogleSheetCellType;
192
+ price_cost: IGoogleSheetCellType;
193
+ margin: IGoogleSheetCellType;
194
+ price_sale: IGoogleSheetCellType;
195
+ tax_value: IGoogleSheetCellType;
196
+ max_discount: IGoogleSheetCellType;
197
+ compositions: IGoogleSheetCellType;
198
+ maintenances: IGoogleSheetCellType;
199
+ attributes: IGoogleSheetCellType;
200
+ width: IGoogleSheetCellType;
201
+ height: IGoogleSheetCellType;
202
+ length: IGoogleSheetCellType;
203
+ diameter: IGoogleSheetCellType;
204
+ weight: IGoogleSheetCellType;
205
+ type: IGoogleSheetCellType;
206
+ state: IGoogleSheetCellType;
207
+ un: IGoogleSheetCellType;
208
+ "promo.name": IGoogleSheetCellType;
209
+ "promo.discount": IGoogleSheetCellType;
210
+ "promo.initial_date": IGoogleSheetCellType;
211
+ "promo.final_date": IGoogleSheetCellType;
211
212
  }
212
213
  export type AuthMode = "NONE" | "LIMITED" | "FULL";
213
214
  export type ChangeType = "INSERT_ROW" | "REMOVE_ROW" | "UPDATE_ROW" | "RESTORE_ROW" | "UPDATE_FROM_NOMA_ROW" | "CREATE_IMAGE";
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.25.8",
12
+ "version": "0.25.10",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [