@openbox/shared-types 0.2.55 → 0.2.56

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.
@@ -21,8 +21,8 @@ export type CustomersBranchesRequest = Omit<CustomersBranches, 'id' | 'city' | '
21
21
  city: number;
22
22
  country: number;
23
23
  state: number;
24
- phone: string;
25
- email: string;
26
- cellphone: string;
24
+ phone?: string;
25
+ email?: string;
26
+ cellphone?: string;
27
27
  };
28
28
  export type CustomersBranchesResponse = CustomersBranches;
@@ -14,4 +14,4 @@ export type SystemDirectoryRequest = Omit<SystemDirectory, 'id' | 'customer' | '
14
14
  entityType: SystemDirectoryEntityType;
15
15
  entityId: string;
16
16
  };
17
- export type SystemDirectoryResponse = SystemDirectory;
17
+ export type SystemDirectoryResponse = Omit<SystemDirectory, 'customer' | 'customerBranch'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.55",
3
+ "version": "0.2.56",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -31,8 +31,8 @@ export type CustomersBranchesRequest = Omit<
31
31
  city: number
32
32
  country: number
33
33
  state: number
34
- phone: string
35
- email: string
36
- cellphone: string
34
+ phone?: string
35
+ email?: string
36
+ cellphone?: string
37
37
  }
38
38
  export type CustomersBranchesResponse = CustomersBranches
@@ -34,4 +34,4 @@ export type SystemDirectoryRequest = Omit<
34
34
  entityType: SystemDirectoryEntityType
35
35
  entityId: string
36
36
  }
37
- export type SystemDirectoryResponse = SystemDirectory
37
+ export type SystemDirectoryResponse = Omit<SystemDirectory, 'customer' | 'customerBranch'>