@openbox/shared-types 0.2.1 → 0.2.3

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.
@@ -16,7 +16,7 @@ export interface CustomersBranches {
16
16
  country: SystemCountriesGetSingleReponse;
17
17
  state: SystemStatesGetSingleResponse;
18
18
  }
19
- export type CustomersBranchesRequest = Omit<CustomersBranches, 'id'> & {
19
+ export type CustomersBranchesRequest = Omit<CustomersBranches, 'id' | 'city' | 'country' | 'state'> & {
20
20
  city: number;
21
21
  country: number;
22
22
  state: number;
@@ -11,7 +11,7 @@ export type Services = {
11
11
  incRenta5?: boolean;
12
12
  sellingType: ServicesSellingTypes;
13
13
  };
14
- export type ServicesRequest = Omit<Services, 'id' | 'isUsed'> & {
14
+ export type ServicesRequest = Omit<Services, 'id' | 'isUsed' | 'sellingType'> & {
15
15
  sellingType: number;
16
16
  };
17
17
  export type ServicesResponse = Services;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -23,7 +23,10 @@ export interface CustomersBranches {
23
23
  state: SystemStatesGetSingleResponse
24
24
  }
25
25
 
26
- export type CustomersBranchesRequest = Omit<CustomersBranches, 'id'> & {
26
+ export type CustomersBranchesRequest = Omit<
27
+ CustomersBranches,
28
+ 'id' | 'city' | 'country' | 'state'
29
+ > & {
27
30
  city: number
28
31
  country: number
29
32
  state: number
@@ -13,7 +13,7 @@ export type Services = {
13
13
  sellingType: ServicesSellingTypes
14
14
  }
15
15
 
16
- export type ServicesRequest = Omit<Services, 'id' | 'isUsed'> & {
16
+ export type ServicesRequest = Omit<Services, 'id' | 'isUsed' | 'sellingType'> & {
17
17
  sellingType: number
18
18
  }
19
19
  export type ServicesResponse = Services