@openbox/shared-types 0.2.9 → 0.2.11
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/CreateMany/Request.d.ts +2 -2
- package/lib/customers/Branches/CreateSingle/Request.d.ts +1 -1
- package/lib/customers/Branches/CreateSingle/Response.d.ts +1 -1
- package/lib/customers/Branches/DeleteMany/Request.d.ts +1 -1
- package/lib/customers/Branches/DeleteMany/Response.d.ts +1 -1
- package/lib/customers/Branches/DeleteSingle/Response.d.ts +1 -1
- package/lib/customers/Branches/GetMany/Request.d.ts +1 -1
- package/lib/customers/Branches/GetMany/Response.d.ts +1 -1
- package/lib/customers/Branches/GetSingle/Response.d.ts +1 -1
- package/lib/customers/Branches/UpdateMany/Request.d.ts +3 -3
- package/lib/customers/Branches/UpdateMany/Response.d.ts +1 -1
- package/lib/customers/Branches/UpdateSingle/Request.d.ts +1 -1
- package/lib/customers/Branches/UpdateSingle/Response.d.ts +1 -1
- package/lib/customers/Branches/index.d.ts +2 -0
- package/lib/customers/Branches/index.js +2 -0
- package/lib/customers/Branches/index.js.map +1 -1
- package/lib/customers/Customers/interfaces.d.ts +2 -2
- package/package.json +1 -1
- package/src/customers/Branches/CreateMany/Request.ts +2 -2
- package/src/customers/Branches/CreateSingle/Request.ts +1 -1
- package/src/customers/Branches/CreateSingle/Response.ts +1 -1
- package/src/customers/Branches/DeleteMany/Request.ts +1 -1
- package/src/customers/Branches/DeleteMany/Response.ts +1 -1
- package/src/customers/Branches/DeleteSingle/Response.ts +1 -1
- package/src/customers/Branches/GetMany/Request.ts +1 -1
- package/src/customers/Branches/GetMany/Response.ts +1 -1
- package/src/customers/Branches/GetSingle/Response.ts +1 -1
- package/src/customers/Branches/UpdateMany/Request.ts +3 -3
- package/src/customers/Branches/UpdateMany/Response.ts +1 -1
- package/src/customers/Branches/UpdateSingle/Request.ts +1 -1
- package/src/customers/Branches/UpdateSingle/Response.ts +1 -1
- package/src/customers/Branches/index.ts +2 -0
- package/src/customers/Customers/interfaces.ts +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomersBranchesCreateSingleRequest } from '../CreateSingle/Request';
|
|
2
2
|
export interface CustomersBranchesCreateManyRequest {
|
|
3
|
-
data:
|
|
3
|
+
data: CustomersBranchesCreateSingleRequest[];
|
|
4
4
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CustomersBranchesRequest } from '../interfaces';
|
|
2
|
-
export type
|
|
2
|
+
export type CustomersBranchesCreateSingleRequest = CustomersBranchesRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces';
|
|
2
2
|
import { CustomersBranchesResponse } from '../interfaces';
|
|
3
|
-
export type
|
|
3
|
+
export type CustomersBranchesGetManyResponse = GetManyResponse & {
|
|
4
4
|
data: CustomersBranchesResponse[];
|
|
5
5
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface
|
|
3
|
-
data:
|
|
1
|
+
import { CustomersBranchesUpdateSingleRequest } from '../UpdateSingle/Request';
|
|
2
|
+
export interface CustomersBranchesUpdateManyRequest {
|
|
3
|
+
data: CustomersBranchesUpdateSingleRequest[];
|
|
4
4
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CustomersBranchesRequest } from '../interfaces';
|
|
2
|
-
export type
|
|
2
|
+
export type CustomersBranchesUpdateSingleRequest = Partial<CustomersBranchesRequest>;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export * from './CreateMany/Request';
|
|
2
2
|
export * from './CreateMany/Response';
|
|
3
3
|
export * from './CreateSingle/Request';
|
|
4
|
+
export * from './CreateSingle/Response';
|
|
4
5
|
export * from './DeleteMany/Request';
|
|
5
6
|
export * from './DeleteMany/Response';
|
|
6
7
|
export * from './DeleteSingle/Response';
|
|
7
8
|
export * from './GetMany/Request';
|
|
8
9
|
export * from './GetMany/Response';
|
|
10
|
+
export * from './GetSingle/Response';
|
|
9
11
|
export * from './UpdateMany/Request';
|
|
10
12
|
export * from './UpdateMany/Response';
|
|
11
13
|
export * from './UpdateSingle/Request';
|
|
@@ -17,11 +17,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./CreateMany/Request"), exports);
|
|
18
18
|
__exportStar(require("./CreateMany/Response"), exports);
|
|
19
19
|
__exportStar(require("./CreateSingle/Request"), exports);
|
|
20
|
+
__exportStar(require("./CreateSingle/Response"), exports);
|
|
20
21
|
__exportStar(require("./DeleteMany/Request"), exports);
|
|
21
22
|
__exportStar(require("./DeleteMany/Response"), exports);
|
|
22
23
|
__exportStar(require("./DeleteSingle/Response"), exports);
|
|
23
24
|
__exportStar(require("./GetMany/Request"), exports);
|
|
24
25
|
__exportStar(require("./GetMany/Response"), exports);
|
|
26
|
+
__exportStar(require("./GetSingle/Response"), exports);
|
|
25
27
|
__exportStar(require("./UpdateMany/Request"), exports);
|
|
26
28
|
__exportStar(require("./UpdateMany/Response"), exports);
|
|
27
29
|
__exportStar(require("./UpdateSingle/Request"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/Branches/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,gEAA6C;AAC7C,iEAA8C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/Branches/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,gEAA6C;AAC7C,iEAA8C"}
|
|
@@ -2,7 +2,7 @@ import { SystemNaturalTypesGetSingleResponse } from '../../system/NaturalTypes/G
|
|
|
2
2
|
import { SystemPersonTypeGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response';
|
|
3
3
|
import { SystemSellingTypeGetSingleResponse } from '../../system/SellingTypes/GetSingle/Response';
|
|
4
4
|
import { SystemTaxerTypesGetSingleResponse } from '../../system/TaxerTypes/GetSingle/Response';
|
|
5
|
-
import {
|
|
5
|
+
import { CustomersBranchesCreateSingleRequest } from '../Branches';
|
|
6
6
|
export interface Customers {
|
|
7
7
|
id: string;
|
|
8
8
|
name: string;
|
|
@@ -36,6 +36,6 @@ export type CustomersRequest = Omit<Customers, 'id' | 'customerTaxerType' | 'per
|
|
|
36
36
|
personType: number;
|
|
37
37
|
customerType: number;
|
|
38
38
|
customerTypeNatural: number;
|
|
39
|
-
branch:
|
|
39
|
+
branch: CustomersBranchesCreateSingleRequest;
|
|
40
40
|
};
|
|
41
41
|
export type CustomersResponse = Customers;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomersBranchesCreateSingleRequest } from '../CreateSingle/Request'
|
|
2
2
|
|
|
3
3
|
export interface CustomersBranchesCreateManyRequest {
|
|
4
|
-
data:
|
|
4
|
+
data: CustomersBranchesCreateSingleRequest[]
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces'
|
|
2
2
|
import { CustomersBranchesResponse } from '../interfaces'
|
|
3
3
|
|
|
4
|
-
export type
|
|
4
|
+
export type CustomersBranchesGetManyResponse = GetManyResponse & {
|
|
5
5
|
data: CustomersBranchesResponse[]
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomersBranchesUpdateSingleRequest } from '../UpdateSingle/Request'
|
|
2
2
|
|
|
3
|
-
export interface
|
|
4
|
-
data:
|
|
3
|
+
export interface CustomersBranchesUpdateManyRequest {
|
|
4
|
+
data: CustomersBranchesUpdateSingleRequest[]
|
|
5
5
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export * from './CreateMany/Request'
|
|
2
2
|
export * from './CreateMany/Response'
|
|
3
3
|
export * from './CreateSingle/Request'
|
|
4
|
+
export * from './CreateSingle/Response'
|
|
4
5
|
export * from './DeleteMany/Request'
|
|
5
6
|
export * from './DeleteMany/Response'
|
|
6
7
|
export * from './DeleteSingle/Response'
|
|
7
8
|
export * from './GetMany/Request'
|
|
8
9
|
export * from './GetMany/Response'
|
|
10
|
+
export * from './GetSingle/Response'
|
|
9
11
|
export * from './UpdateMany/Request'
|
|
10
12
|
export * from './UpdateMany/Response'
|
|
11
13
|
export * from './UpdateSingle/Request'
|
|
@@ -2,7 +2,7 @@ import { SystemNaturalTypesGetSingleResponse } from '../../system/NaturalTypes/G
|
|
|
2
2
|
import { SystemPersonTypeGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response'
|
|
3
3
|
import { SystemSellingTypeGetSingleResponse } from '../../system/SellingTypes/GetSingle/Response'
|
|
4
4
|
import { SystemTaxerTypesGetSingleResponse } from '../../system/TaxerTypes/GetSingle/Response'
|
|
5
|
-
import {
|
|
5
|
+
import { CustomersBranchesCreateSingleRequest } from '../Branches'
|
|
6
6
|
|
|
7
7
|
export interface Customers {
|
|
8
8
|
id: string
|
|
@@ -40,6 +40,6 @@ export type CustomersRequest = Omit<
|
|
|
40
40
|
personType: number
|
|
41
41
|
customerType: number
|
|
42
42
|
customerTypeNatural: number
|
|
43
|
-
branch:
|
|
43
|
+
branch: CustomersBranchesCreateSingleRequest
|
|
44
44
|
}
|
|
45
45
|
export type CustomersResponse = Customers
|