@openbox/shared-types 0.1.89 → 0.1.91

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.
@@ -11,6 +11,7 @@ export interface CustomerBranchesMany {
11
11
  };
12
12
  address1: string;
13
13
  address2: string;
14
+ zipcode: string;
14
15
  default: boolean;
15
16
  city: SystemCityMany;
16
17
  country: SystemCountryMany;
@@ -9,6 +9,7 @@ export interface CustomerBranchesSingle {
9
9
  };
10
10
  address1: string;
11
11
  address2: string;
12
+ zipcode: string;
12
13
  default: boolean;
13
14
  city: SystemCityMany;
14
15
  country: SystemCountryMany;
@@ -1,15 +1,4 @@
1
+ import { CustomerBranchesUpdateSingleRequest } from '../UpdateSingle/Request';
1
2
  export interface CustomerBranchesUpdateManyRequest {
2
- id: string;
3
- name?: string;
4
- contactName?: string;
5
- contactInfo?: string;
6
- default?: boolean;
7
- address1?: string;
8
- address2?: string;
9
- country?: string;
10
- state?: string;
11
- city?: string;
12
- }
13
- export interface CustomerBranchesUpdateManyRequest {
14
- branch: CustomerBranchesUpdateManyRequest;
3
+ branch: CustomerBranchesUpdateSingleRequest;
15
4
  }
@@ -1,14 +1,12 @@
1
- export interface CustomerBranchesUpdateSingle {
1
+ export interface CustomerBranchesUpdateSingleRequest {
2
2
  name?: string;
3
3
  contactName?: string;
4
4
  contactInfo?: string;
5
5
  default?: boolean;
6
6
  address1?: string;
7
7
  address2?: string;
8
+ zipcode?: string;
8
9
  country?: string;
9
10
  state?: string;
10
11
  city?: string;
11
12
  }
12
- export interface CustomerBranchesUpdateSingleRequest {
13
- branch: CustomerBranchesUpdateSingle;
14
- }
@@ -1,4 +1,4 @@
1
- import { CustomerBranchesUpdateSingle } from '../../Branches';
1
+ import { CustomerBranchesUpdateSingleRequest } from '../../Branches';
2
2
  export interface CustomersUpdateSingleRequest {
3
3
  name?: string;
4
4
  shortName?: string;
@@ -16,5 +16,5 @@ export interface CustomersUpdateSingleRequest {
16
16
  personType?: number;
17
17
  customerType?: number;
18
18
  customerTypeNatural?: number;
19
- branch?: CustomerBranchesUpdateSingle;
19
+ branch?: CustomerBranchesUpdateSingleRequest;
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.89",
3
+ "version": "0.1.91",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -9,6 +9,7 @@ export interface CustomerBranchesMany {
9
9
  contactInfo: { phone: string[]; emails: [] }
10
10
  address1: string
11
11
  address2: string
12
+ zipcode: string
12
13
  default: boolean
13
14
  city: SystemCityMany
14
15
  country: SystemCountryMany
@@ -7,6 +7,7 @@ export interface CustomerBranchesSingle {
7
7
  contactInfo: { phone: string[]; emails: [] }
8
8
  address1: string
9
9
  address2: string
10
+ zipcode: string
10
11
  default: boolean
11
12
  city: SystemCityMany
12
13
  country: SystemCountryMany
@@ -1,16 +1,5 @@
1
- export interface CustomerBranchesUpdateManyRequest {
2
- id: string
3
- name?: string
4
- contactName?: string
5
- contactInfo?: string
6
- default?: boolean
7
- address1?: string
8
- address2?: string
9
- country?: string
10
- state?: string
11
- city?: string
12
- }
1
+ import { CustomerBranchesUpdateSingleRequest } from '../UpdateSingle/Request'
13
2
 
14
3
  export interface CustomerBranchesUpdateManyRequest {
15
- branch: CustomerBranchesUpdateManyRequest
4
+ branch: CustomerBranchesUpdateSingleRequest
16
5
  }
@@ -1,15 +1,12 @@
1
- export interface CustomerBranchesUpdateSingle {
1
+ export interface CustomerBranchesUpdateSingleRequest {
2
2
  name?: string
3
3
  contactName?: string
4
4
  contactInfo?: string
5
5
  default?: boolean
6
6
  address1?: string
7
7
  address2?: string
8
+ zipcode?: string
8
9
  country?: string
9
10
  state?: string
10
11
  city?: string
11
12
  }
12
-
13
- export interface CustomerBranchesUpdateSingleRequest {
14
- branch: CustomerBranchesUpdateSingle
15
- }
@@ -1,4 +1,4 @@
1
- import { CustomerBranchesUpdateSingle } from '../../Branches'
1
+ import { CustomerBranchesUpdateSingleRequest } from '../../Branches'
2
2
 
3
3
  export interface CustomersUpdateSingleRequest {
4
4
  name?: string
@@ -17,5 +17,5 @@ export interface CustomersUpdateSingleRequest {
17
17
  personType?: number
18
18
  customerType?: number
19
19
  customerTypeNatural?: number
20
- branch?: CustomerBranchesUpdateSingle
20
+ branch?: CustomerBranchesUpdateSingleRequest
21
21
  }