@openbox/shared-types 0.1.90 → 0.1.92
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.
- package/lib/customers/Branches/UpdateMany/Request.d.ts +2 -14
- package/lib/customers/Branches/UpdateSingle/Request.d.ts +4 -7
- package/lib/customers/Customers/UpdateSingle/Request.d.ts +2 -2
- package/package.json +1 -1
- package/src/customers/Branches/UpdateMany/Request.ts +2 -14
- package/src/customers/Branches/UpdateSingle/Request.ts +4 -8
- package/src/customers/Customers/UpdateSingle/Request.ts +2 -2
|
@@ -1,16 +1,4 @@
|
|
|
1
|
+
import { CustomerBranchesUpdateSingleRequest } from '../UpdateSingle/Request';
|
|
1
2
|
export interface CustomerBranchesUpdateManyRequest {
|
|
2
|
-
|
|
3
|
-
name?: string;
|
|
4
|
-
contactName?: string;
|
|
5
|
-
contactInfo?: string;
|
|
6
|
-
default?: boolean;
|
|
7
|
-
address1?: string;
|
|
8
|
-
address2?: string;
|
|
9
|
-
zipcode?: string;
|
|
10
|
-
country?: string;
|
|
11
|
-
state?: string;
|
|
12
|
-
city?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface CustomerBranchesUpdateManyRequest {
|
|
15
|
-
branch: CustomerBranchesUpdateManyRequest;
|
|
3
|
+
branch: CustomerBranchesUpdateSingleRequest;
|
|
16
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface CustomerBranchesUpdateSingleRequest {
|
|
2
2
|
name?: string;
|
|
3
3
|
contactName?: string;
|
|
4
4
|
contactInfo?: string;
|
|
@@ -6,10 +6,7 @@ export interface CustomerBranchesUpdateSingle {
|
|
|
6
6
|
address1?: string;
|
|
7
7
|
address2?: string;
|
|
8
8
|
zipcode?: string;
|
|
9
|
-
country?:
|
|
10
|
-
state?:
|
|
11
|
-
city?:
|
|
12
|
-
}
|
|
13
|
-
export interface CustomerBranchesUpdateSingleRequest {
|
|
14
|
-
branch: CustomerBranchesUpdateSingle;
|
|
9
|
+
country?: number;
|
|
10
|
+
state?: number;
|
|
11
|
+
city?: number;
|
|
15
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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?:
|
|
19
|
+
branch?: CustomerBranchesUpdateSingleRequest;
|
|
20
20
|
}
|
package/package.json
CHANGED
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
id: string
|
|
3
|
-
name?: string
|
|
4
|
-
contactName?: string
|
|
5
|
-
contactInfo?: string
|
|
6
|
-
default?: boolean
|
|
7
|
-
address1?: string
|
|
8
|
-
address2?: string
|
|
9
|
-
zipcode?: string
|
|
10
|
-
country?: string
|
|
11
|
-
state?: string
|
|
12
|
-
city?: string
|
|
13
|
-
}
|
|
1
|
+
import { CustomerBranchesUpdateSingleRequest } from '../UpdateSingle/Request'
|
|
14
2
|
|
|
15
3
|
export interface CustomerBranchesUpdateManyRequest {
|
|
16
|
-
branch:
|
|
4
|
+
branch: CustomerBranchesUpdateSingleRequest
|
|
17
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface CustomerBranchesUpdateSingleRequest {
|
|
2
2
|
name?: string
|
|
3
3
|
contactName?: string
|
|
4
4
|
contactInfo?: string
|
|
@@ -6,11 +6,7 @@ export interface CustomerBranchesUpdateSingle {
|
|
|
6
6
|
address1?: string
|
|
7
7
|
address2?: string
|
|
8
8
|
zipcode?: string
|
|
9
|
-
country?:
|
|
10
|
-
state?:
|
|
11
|
-
city?:
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface CustomerBranchesUpdateSingleRequest {
|
|
15
|
-
branch: CustomerBranchesUpdateSingle
|
|
9
|
+
country?: number
|
|
10
|
+
state?: number
|
|
11
|
+
city?: number
|
|
16
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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?:
|
|
20
|
+
branch?: CustomerBranchesUpdateSingleRequest
|
|
21
21
|
}
|