@openbox/shared-types 0.2.38 → 0.2.40
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/Customers/customers.types.d.ts +7 -7
- package/lib/customers/PersonType/GetMany/Response.d.ts +4 -0
- package/lib/customers/PersonType/GetMany/Response.js.map +1 -0
- package/lib/customers/PersonType/GetSingle/Response.d.ts +2 -0
- package/lib/customers/PersonType/GetSingle/Response.js.map +1 -0
- package/lib/customers/PersonType/customers.person-type.types.d.ts +4 -0
- package/lib/customers/{PersonTypes/customers.person-types.types.js → PersonType/customers.person-type.types.js} +1 -1
- package/lib/customers/PersonType/customers.person-type.types.js.map +1 -0
- package/lib/customers/PersonType/index.js.map +1 -0
- package/lib/customers/PersonTypeNatural/GetMany/Response.d.ts +4 -0
- package/lib/customers/PersonTypeNatural/GetMany/Response.js +3 -0
- package/lib/customers/PersonTypeNatural/GetMany/Response.js.map +1 -0
- package/lib/customers/PersonTypeNatural/GetSingle/Response.d.ts +2 -0
- package/lib/customers/PersonTypeNatural/GetSingle/Response.js +3 -0
- package/lib/customers/PersonTypeNatural/GetSingle/Response.js.map +1 -0
- package/lib/customers/PersonTypeNatural/customers.person-type-natural.types.d.ts +4 -0
- package/lib/customers/PersonTypeNatural/customers.person-type-natural.types.js +3 -0
- package/lib/customers/PersonTypeNatural/customers.person-type-natural.types.js.map +1 -0
- package/lib/customers/PersonTypeNatural/index.d.ts +2 -0
- package/lib/customers/PersonTypeNatural/index.js +19 -0
- package/lib/customers/PersonTypeNatural/index.js.map +1 -0
- package/lib/customers/Type/GetMany/Response.d.ts +4 -0
- package/lib/customers/Type/GetMany/Response.js +3 -0
- package/lib/customers/Type/GetMany/Response.js.map +1 -0
- package/lib/customers/Type/GetSingle/Response.d.ts +2 -0
- package/lib/customers/Type/GetSingle/Response.js +3 -0
- package/lib/customers/Type/GetSingle/Response.js.map +1 -0
- package/lib/customers/Type/customers.type.types.d.ts +4 -0
- package/lib/customers/Type/customers.type.types.js +3 -0
- package/lib/customers/Type/customers.type.types.js.map +1 -0
- package/lib/customers/Type/index.d.ts +2 -0
- package/lib/customers/Type/index.js +19 -0
- package/lib/customers/Type/index.js.map +1 -0
- package/lib/customers/index.d.ts +3 -1
- package/lib/customers/index.js +3 -1
- package/lib/customers/index.js.map +1 -1
- package/lib/system/Directory/GetMany/Request.d.ts +1 -2
- package/package.json +1 -1
- package/src/customers/Customers/customers.types.ts +7 -7
- package/src/customers/PersonType/GetMany/Response.ts +5 -0
- package/src/customers/PersonType/GetSingle/Response.ts +3 -0
- package/src/customers/PersonType/customers.person-type.types.ts +6 -0
- package/src/customers/PersonTypeNatural/GetMany/Response.ts +5 -0
- package/src/customers/PersonTypeNatural/GetSingle/Response.ts +3 -0
- package/src/customers/PersonTypeNatural/customers.person-type-natural.types.ts +6 -0
- package/src/customers/PersonTypeNatural/index.ts +2 -0
- package/src/customers/Type/GetMany/Response.ts +5 -0
- package/src/customers/Type/GetSingle/Response.ts +3 -0
- package/src/customers/Type/customers.type.types.ts +6 -0
- package/src/customers/Type/index.ts +2 -0
- package/src/customers/index.ts +3 -1
- package/src/system/Directory/GetMany/Request.ts +1 -2
- package/lib/customers/PersonTypes/GetMany/Response.d.ts +0 -4
- package/lib/customers/PersonTypes/GetMany/Response.js.map +0 -1
- package/lib/customers/PersonTypes/GetSingle/Response.d.ts +0 -2
- package/lib/customers/PersonTypes/GetSingle/Response.js.map +0 -1
- package/lib/customers/PersonTypes/customers.person-types.types.d.ts +0 -4
- package/lib/customers/PersonTypes/customers.person-types.types.js.map +0 -1
- package/lib/customers/PersonTypes/index.js.map +0 -1
- package/src/customers/PersonTypes/GetMany/Response.ts +0 -5
- package/src/customers/PersonTypes/GetSingle/Response.ts +0 -3
- package/src/customers/PersonTypes/customers.person-types.types.ts +0 -6
- /package/lib/customers/{PersonTypes → PersonType}/GetMany/Response.js +0 -0
- /package/lib/customers/{PersonTypes → PersonType}/GetSingle/Response.js +0 -0
- /package/lib/customers/{PersonTypes → PersonType}/index.d.ts +0 -0
- /package/lib/customers/{PersonTypes → PersonType}/index.js +0 -0
- /package/src/customers/{PersonTypes → PersonType}/index.ts +0 -0
|
@@ -26,17 +26,17 @@ export type Customers = {
|
|
|
26
26
|
duiIssuedDate?: Date;
|
|
27
27
|
duiExpirationDate?: Date;
|
|
28
28
|
nitIssuedDate?: Date;
|
|
29
|
-
|
|
29
|
+
type: SystemSellingTypeGetSingleResponse;
|
|
30
30
|
personType: SystemPersonTypeGetSingleResponse;
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
personTypeNatural: SystemNaturalTypesGetSingleResponse;
|
|
32
|
+
taxerType: SystemTaxerTypesGetSingleResponse;
|
|
33
33
|
branch?: CustomersBranchesResponse;
|
|
34
34
|
};
|
|
35
|
-
export type CustomersRequest = Omit<Customers, 'id' | '
|
|
36
|
-
|
|
35
|
+
export type CustomersRequest = Omit<Customers, 'id' | 'taxerType' | 'personType' | 'type' | 'personTypeNatural' | 'branch'> & {
|
|
36
|
+
taxerType: number;
|
|
37
37
|
personType: number;
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
type: number;
|
|
39
|
+
personTypeNatural: number;
|
|
40
40
|
branch: CustomersBranchesCreateSingleRequest;
|
|
41
41
|
};
|
|
42
42
|
export type CustomersResponse = Customers;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/PersonType/GetMany/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/PersonType/GetSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
|
|
2
|
+
export type CustomersPersonType = SystemPersonTypes;
|
|
3
|
+
export type CustomersPersonTypeRequest = Omit<CustomersPersonType, 'id'>;
|
|
4
|
+
export type CustomersPersonTypeResponse = CustomersPersonType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customers.person-type.types.js","sourceRoot":"","sources":["../../../src/customers/PersonType/customers.person-type.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/PersonType/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/PersonTypeNatural/GetMany/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/PersonTypeNatural/GetSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types';
|
|
2
|
+
export type CustomersPersonTypeNatural = SystemNaturalTypes;
|
|
3
|
+
export type CustomersPersonTypeNaturalRequest = Omit<CustomersPersonTypeNatural, 'id'>;
|
|
4
|
+
export type CustomersPersonTypeNaturalResponse = CustomersPersonTypeNatural;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customers.person-type-natural.types.js","sourceRoot":"","sources":["../../../src/customers/PersonTypeNatural/customers.person-type-natural.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./GetMany/Response"), exports);
|
|
18
|
+
__exportStar(require("./GetSingle/Response"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/PersonTypeNatural/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Type/GetMany/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Type/GetSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customers.type.types.js","sourceRoot":"","sources":["../../../src/customers/Type/customers.type.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./GetMany/Response"), exports);
|
|
18
|
+
__exportStar(require("./GetSingle/Response"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/Type/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
|
package/lib/customers/index.d.ts
CHANGED
package/lib/customers/index.js
CHANGED
|
@@ -16,5 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Branches"), exports);
|
|
18
18
|
__exportStar(require("./Customers"), exports);
|
|
19
|
-
__exportStar(require("./
|
|
19
|
+
__exportStar(require("./PersonType"), exports);
|
|
20
|
+
__exportStar(require("./PersonTypeNatural"), exports);
|
|
21
|
+
__exportStar(require("./Type"), exports);
|
|
20
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/customers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B;AAC3B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/customers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B;AAC3B,+CAA4B;AAC5B,sDAAmC;AACnC,yCAAsB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { GetManyRequest } from '../../../interfaces';
|
|
2
|
-
import { SystemDirectoryType } from '../system.directory.types';
|
|
3
2
|
export type SystemDirectoryGetManyRequest = GetManyRequest & {
|
|
4
|
-
types?: Array<
|
|
3
|
+
types?: Array<string>;
|
|
5
4
|
hasWhatsapp?: boolean;
|
|
6
5
|
};
|
package/package.json
CHANGED
|
@@ -27,20 +27,20 @@ export type Customers = {
|
|
|
27
27
|
duiIssuedDate?: Date
|
|
28
28
|
duiExpirationDate?: Date
|
|
29
29
|
nitIssuedDate?: Date
|
|
30
|
-
|
|
30
|
+
type: SystemSellingTypeGetSingleResponse
|
|
31
31
|
personType: SystemPersonTypeGetSingleResponse
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
personTypeNatural: SystemNaturalTypesGetSingleResponse
|
|
33
|
+
taxerType: SystemTaxerTypesGetSingleResponse
|
|
34
34
|
branch?: CustomersBranchesResponse
|
|
35
35
|
}
|
|
36
36
|
export type CustomersRequest = Omit<
|
|
37
37
|
Customers,
|
|
38
|
-
'id' | '
|
|
38
|
+
'id' | 'taxerType' | 'personType' | 'type' | 'personTypeNatural' | 'branch'
|
|
39
39
|
> & {
|
|
40
|
-
|
|
40
|
+
taxerType: number
|
|
41
41
|
personType: number
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
type: number
|
|
43
|
+
personTypeNatural: number
|
|
44
44
|
branch: CustomersBranchesCreateSingleRequest
|
|
45
45
|
}
|
|
46
46
|
export type CustomersResponse = Customers
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
|
|
2
|
+
|
|
3
|
+
export type CustomersPersonType = SystemPersonTypes
|
|
4
|
+
|
|
5
|
+
export type CustomersPersonTypeRequest = Omit<CustomersPersonType, 'id'>
|
|
6
|
+
export type CustomersPersonTypeResponse = CustomersPersonType
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types'
|
|
2
|
+
|
|
3
|
+
export type CustomersPersonTypeNatural = SystemNaturalTypes
|
|
4
|
+
|
|
5
|
+
export type CustomersPersonTypeNaturalRequest = Omit<CustomersPersonTypeNatural, 'id'>
|
|
6
|
+
export type CustomersPersonTypeNaturalResponse = CustomersPersonTypeNatural
|
package/src/customers/index.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { GetManyRequest } from '../../../interfaces'
|
|
2
|
-
import { SystemDirectoryType } from '../system.directory.types'
|
|
3
2
|
|
|
4
3
|
export type SystemDirectoryGetManyRequest = GetManyRequest & {
|
|
5
|
-
types?: Array<
|
|
4
|
+
types?: Array<string>
|
|
6
5
|
hasWhatsapp?: boolean
|
|
7
6
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/PersonTypes/GetMany/Response.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/PersonTypes/GetSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
|
|
2
|
-
export type CustomersPersonTypes = SystemPersonTypes;
|
|
3
|
-
export type CustomersPersonTypesRequest = Omit<CustomersPersonTypes, 'id'>;
|
|
4
|
-
export type CustomersPersonTypesResponse = CustomersPersonTypes;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"customers.person-types.types.js","sourceRoot":"","sources":["../../../src/customers/PersonTypes/customers.person-types.types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/PersonTypes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
|
|
2
|
-
|
|
3
|
-
export type CustomersPersonTypes = SystemPersonTypes
|
|
4
|
-
|
|
5
|
-
export type CustomersPersonTypesRequest = Omit<CustomersPersonTypes, 'id'>
|
|
6
|
-
export type CustomersPersonTypesResponse = CustomersPersonTypes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|