@openbox/shared-types 0.2.14 → 0.2.16

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.
@@ -20,7 +20,8 @@ export interface CustomersBranches {
20
20
  country: SystemCountries;
21
21
  state: SystemStates;
22
22
  }
23
- export type CustomersBranchesRequest = Omit<CustomersBranches, 'id' | 'city' | 'country' | 'state'> & {
23
+ export type CustomersBranchesRequest = Omit<CustomersBranches, 'id' | 'city' | 'country' | 'state' | 'customer'> & {
24
+ customer: string;
24
25
  city: number;
25
26
  country: number;
26
27
  state: number;
@@ -19,7 +19,6 @@ export interface Customers {
19
19
  nit?: string;
20
20
  giro?: string;
21
21
  active: boolean;
22
- used: boolean;
23
22
  passportIssuedDate?: Date;
24
23
  passportExpirationDate?: Date;
25
24
  profession?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -25,8 +25,9 @@ export interface CustomersBranches {
25
25
 
26
26
  export type CustomersBranchesRequest = Omit<
27
27
  CustomersBranches,
28
- 'id' | 'city' | 'country' | 'state'
28
+ 'id' | 'city' | 'country' | 'state' | 'customer'
29
29
  > & {
30
+ customer: string
30
31
  city: number
31
32
  country: number
32
33
  state: number
@@ -20,7 +20,6 @@ export interface Customers {
20
20
  nit?: string
21
21
  giro?: string
22
22
  active: boolean
23
- used: boolean
24
23
  passportIssuedDate?: Date
25
24
  passportExpirationDate?: Date
26
25
  profession?: string