@openbox/shared-types 0.6.6 → 0.6.7

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.
@@ -2,7 +2,7 @@ import { SystemDirectoryCreateSingleRequest, SystemSvFields, SystemSvFieldsReque
2
2
  import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types';
3
3
  import { SystemPersonTypeNaturalsGetSingleResponse } from '../../system/PersonTypeNaturals/GetSingle/Response';
4
4
  import { SystemPersonTypesGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response';
5
- import { SystemSellingTypeGetSingleResponse } from '../../system/SellingTypes/GetSingle/Response';
5
+ import { SystemSellingTypesGetSingleResponse } from '../../system/SellingTypes/GetSingle/Response';
6
6
  import { CustomersBranchesCreateSingleRequest } from '../Branches';
7
7
  export type Customers = {
8
8
  id: string;
@@ -22,7 +22,7 @@ export type Customers = {
22
22
  duiIssuedDate?: Date;
23
23
  duiExpirationDate?: Date;
24
24
  nitIssuedDate?: Date;
25
- type: SystemSellingTypeGetSingleResponse;
25
+ type: SystemSellingTypesGetSingleResponse;
26
26
  personType: SystemPersonTypesGetSingleResponse;
27
27
  personTypeNatural: SystemPersonTypeNaturalsGetSingleResponse;
28
28
  directory: SystemDirectoryResponse[];
@@ -2,7 +2,7 @@ import { SystemDirectoryCreateSingleRequest, SystemSvFields, SystemSvFieldsReque
2
2
  import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types';
3
3
  import { SystemPersonTypeNaturalsGetSingleResponse } from '../../system/PersonTypeNaturals/GetSingle/Response';
4
4
  import { SystemPersonTypesGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response';
5
- import { SystemSellingTypeGetSingleResponse } from '../../system/SellingTypes/GetSingle/Response';
5
+ import { SystemSellingTypesGetSingleResponse } from '../../system/SellingTypes/GetSingle/Response';
6
6
  import { ProvidersBranchesCreateSingleRequest } from '../Branches';
7
7
  export type Providers = {
8
8
  id: string;
@@ -18,7 +18,7 @@ export type Providers = {
18
18
  svFields: SystemSvFields;
19
19
  directory: SystemDirectoryResponse[];
20
20
  personType: SystemPersonTypesGetSingleResponse;
21
- type: SystemSellingTypeGetSingleResponse;
21
+ type: SystemSellingTypesGetSingleResponse;
22
22
  personTypeNatural: SystemPersonTypeNaturalsGetSingleResponse;
23
23
  };
24
24
  export type ProvidersRequest = Omit<Providers, 'id' | 'svFields' | 'directory' | 'personType' | 'type' | 'personTypeNatural'> & {
@@ -1,2 +1,4 @@
1
- import { SystemSellingTypeGetSingleResponse } from '../GetSingle/Response';
2
- export type SystemSellingTypeGetManyResponse = Array<SystemSellingTypeGetSingleResponse>;
1
+ import { SystemSellingTypesGetSingleResponse } from '../GetSingle/Response';
2
+ export type SystemSellingTypesGetManyResponse = {
3
+ data: Array<SystemSellingTypesGetSingleResponse>;
4
+ };
@@ -1,2 +1,2 @@
1
1
  import { SystemSellingTypesResponse } from '../system.selling-types.types';
2
- export type SystemSellingTypeGetSingleResponse = SystemSellingTypesResponse;
2
+ export type SystemSellingTypesGetSingleResponse = SystemSellingTypesResponse;
@@ -1 +1,2 @@
1
1
  export * from './GetMany/Response';
2
+ export * from './GetSingle/Response';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetMany/Response"), exports);
18
+ __exportStar(require("./GetSingle/Response"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/SellingTypes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/SellingTypes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
@@ -4,4 +4,4 @@ export type SystemSellingTypes = {
4
4
  isGravada: boolean;
5
5
  };
6
6
  export type SystemSellingTypesRequest = Omit<SystemSellingTypes, 'id'>;
7
- export type SystemSellingTypesResponse = SystemSellingTypes;
7
+ export type SystemSellingTypesResponse = Omit<SystemSellingTypes, 'isGravada'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.6.06",
3
+ "version": "0.6.07",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",