@openbox/shared-types 0.2.15 → 0.2.17

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.
@@ -12,15 +12,16 @@ export interface CustomersBranches {
12
12
  contactName: string;
13
13
  contactInfo: CustomerBranchesContactInfo;
14
14
  address1: string;
15
- address2: string;
16
- zipcode: string;
17
- default: boolean;
15
+ address2?: string;
16
+ zipcode?: string;
17
+ default?: boolean;
18
18
  customer: Customers;
19
19
  city: SystemCities;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.15",
3
+ "version": "0.2.17",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -14,9 +14,9 @@ export interface CustomersBranches {
14
14
  contactName: string
15
15
  contactInfo: CustomerBranchesContactInfo
16
16
  address1: string
17
- address2: string
18
- zipcode: string
19
- default: boolean
17
+ address2?: string
18
+ zipcode?: string
19
+ default?: boolean
20
20
  customer: Customers
21
21
  city: SystemCities
22
22
  country: SystemCountries
@@ -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