@nomalism-com/types 0.22.30 → 0.22.32

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,29 +1,24 @@
1
- import * as IShared from '../../../shared/interface';
2
- import * as Product from '../../stock/product/interface';
3
- import { Cabide } from '../../../shared/entities';
1
+ import * as IShared from "../../../shared/interface";
2
+ import { Cabide } from "../../../shared/entities";
4
3
  export type Entity = Cabide;
5
4
  export declare const Route = "cabide";
6
5
  export declare const UpperName = "Cabide";
7
6
  export declare const LowerName = "cabide";
8
7
  export declare const CabideTypeEnum: {
9
- B: 'B';
10
- BL: 'BL';
11
- TA: 'TA';
12
- TAC: 'TAC';
13
- VA: 'VA';
14
- VAE: 'VAE';
15
- VAL: 'VAL';
16
- VAP: 'VAP';
17
- VAPP: 'VAPP';
8
+ B: "B";
9
+ BL: "BL";
10
+ TA: "TA";
11
+ TAC: "TAC";
12
+ VA: "VA";
13
+ VAE: "VAE";
14
+ VAL: "VAL";
15
+ VAP: "VAP";
16
+ VAPP: "VAPP";
18
17
  };
19
18
  export type ICabideType = (typeof CabideTypeEnum)[keyof typeof CabideTypeEnum];
20
- export type IStateType = 'Abertos' | 'Fechados';
19
+ export type IStateType = "Abertos" | "Fechados";
21
20
  export declare const cabideTypes: string[];
22
- export interface IFindByIdResponse extends Entity {
23
- product: {
24
- virtual: Pick<Product.IProductBaseVirtuals, 'reference'> | null;
25
- };
26
- }
21
+ export type IFindByIdResponse = Entity;
27
22
  export interface ICreateRequest {
28
23
  id_provider: number;
29
24
  code: string;
@@ -66,7 +61,7 @@ export interface IBasicSearchRequest extends IShared.IPaginationRequest {
66
61
  search_value: string | null;
67
62
  inactive?: boolean;
68
63
  }
69
- export interface IBasicSearchResponse extends Pick<Entity, 'id' | 'origin_id' | 'code'> {
64
+ export interface IBasicSearchResponse extends Pick<Entity, "id" | "origin_id" | "code"> {
70
65
  reference: string;
71
66
  product_counter: number;
72
67
  }
@@ -48,7 +48,7 @@ export interface IUpdateRequest {
48
48
  }
49
49
  export interface IFindCabideByOwnerResponse extends Entity {
50
50
  pre_artigo: {
51
- virtual: {
51
+ extended_virtual: {
52
52
  reference: string;
53
53
  designation: string;
54
54
  } | null;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.22.30",
12
+ "version": "0.22.32",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [