@openbox/shared-types 0.3.99 → 0.4.0
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/index.d.ts +0 -1
- package/lib/index.js +0 -1
- package/lib/index.js.map +1 -1
- package/lib/management/Company/UpdateCurrent/Request.d.ts +6 -6
- package/lib/management/Company/management.company.type.d.ts +2 -2
- package/lib/system/SV/Fields/index.d.ts +1 -0
- package/lib/{companies → system/SV/Fields}/index.js +1 -1
- package/lib/system/SV/Fields/index.js.map +1 -0
- package/lib/system/SV/Fields/system.sv.fields.types.d.ts +10 -0
- package/lib/{companies/CompaniesSVFields/companies.sv-fields.type.js → system/SV/Fields/system.sv.fields.types.js} +1 -1
- package/lib/system/SV/Fields/system.sv.fields.types.js.map +1 -0
- package/lib/system/SV/index.d.ts +1 -0
- package/lib/system/SV/index.js +1 -0
- package/lib/system/SV/index.js.map +1 -1
- package/package.json +1 -1
- package/src/System/SV/Fields/index.ts +1 -0
- package/src/System/SV/Fields/system.sv.fields.types.ts +11 -0
- package/src/System/SV/index.ts +1 -0
- package/src/index.ts +0 -1
- package/src/management/Company/UpdateCurrent/Request.ts +6 -6
- package/src/management/Company/management.company.type.ts +2 -2
- package/lib/companies/CompaniesSVFields/companies.sv-fields.type.d.ts +0 -10
- package/lib/companies/CompaniesSVFields/companies.sv-fields.type.js.map +0 -1
- package/lib/companies/CompaniesSVFields/index.d.ts +0 -1
- package/lib/companies/CompaniesSVFields/index.js +0 -18
- package/lib/companies/CompaniesSVFields/index.js.map +0 -1
- package/lib/companies/index.d.ts +0 -1
- package/lib/companies/index.js.map +0 -1
- package/src/companies/CompaniesSVFields/companies.sv-fields.type.ts +0 -11
- package/src/companies/CompaniesSVFields/index.ts +0 -1
- package/src/companies/index.ts +0 -1
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./accounting"), exports);
|
|
18
18
|
__exportStar(require("./auth"), exports);
|
|
19
|
-
__exportStar(require("./companies"), exports);
|
|
20
19
|
__exportStar(require("./customers"), exports);
|
|
21
20
|
__exportStar(require("./invoices"), exports);
|
|
22
21
|
__exportStar(require("./legal"), exports);
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,yCAAsB;AACtB,8CAA2B;AAC3B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,yCAAsB;AACtB,8CAA2B;AAC3B,6CAA0B;AAC1B,0CAAuB;AACvB,+CAA4B;AAC5B,6CAA0B;AAC1B,2CAAwB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SystemDirectoryUpdateSingleRequest } from '../../../system';
|
|
1
|
+
import { SystemDirectoryUpdateSingleRequest, SystemSvFields } from '../../../system';
|
|
3
2
|
import { ManagementCompany } from '../management.company.type';
|
|
4
3
|
export type ManagementCompanyUpdateCurrentRequest = Omit<ManagementCompany, 'id' | 'contacts' | 'companyType' | 'naturalType' | 'svFields'> & {
|
|
5
|
-
companyType:
|
|
6
|
-
naturalType
|
|
7
|
-
svFields: Required<Omit<
|
|
8
|
-
|
|
4
|
+
companyType: number;
|
|
5
|
+
naturalType?: number;
|
|
6
|
+
svFields: Required<Omit<SystemSvFields, 'id' | 'taxerType' | 'economicActivity' | 'dui'>> & {
|
|
7
|
+
dui?: string;
|
|
8
|
+
taxerType: number;
|
|
9
9
|
economicActivity: string;
|
|
10
10
|
};
|
|
11
11
|
contacts: Omit<SystemDirectoryUpdateSingleRequest, 'entityType' | 'entityId'> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SystemSvFields } from '../../system';
|
|
2
2
|
import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types';
|
|
3
3
|
import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types';
|
|
4
4
|
import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
|
|
@@ -7,6 +7,6 @@ export type ManagementCompany = {
|
|
|
7
7
|
name: string;
|
|
8
8
|
companyType: SystemPersonTypes;
|
|
9
9
|
naturalType: SystemNaturalTypes;
|
|
10
|
-
svFields:
|
|
10
|
+
svFields: SystemSvFields;
|
|
11
11
|
contacts: Array<SystemDirectoryResponse>;
|
|
12
12
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './system.sv.fields.types';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./system.sv.fields.types"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/system/SV/Fields/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAwC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SystemTaxerTypes } from '../../TaxerTypes/system.taxer-types.types';
|
|
2
|
+
import { SystemSvEconomicActivities } from '../EconomicActivities';
|
|
3
|
+
export type SystemSvFields = {
|
|
4
|
+
id: string;
|
|
5
|
+
nrc?: string;
|
|
6
|
+
nit?: string;
|
|
7
|
+
dui?: string;
|
|
8
|
+
taxerType?: SystemTaxerTypes;
|
|
9
|
+
economicActivity?: SystemSvEconomicActivities;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.sv.fields.types.js","sourceRoot":"","sources":["../../../../src/system/SV/Fields/system.sv.fields.types.ts"],"names":[],"mappings":""}
|
package/lib/system/SV/index.d.ts
CHANGED
package/lib/system/SV/index.js
CHANGED
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./EconomicActivities"), exports);
|
|
18
|
+
__exportStar(require("./Fields"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/SV/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/SV/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,2CAAwB"}
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './system.sv.fields.types'
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SystemTaxerTypes } from '../../TaxerTypes/system.taxer-types.types'
|
|
2
|
+
import { SystemSvEconomicActivities } from '../EconomicActivities'
|
|
3
|
+
|
|
4
|
+
export type SystemSvFields = {
|
|
5
|
+
id: string
|
|
6
|
+
nrc?: string
|
|
7
|
+
nit?: string
|
|
8
|
+
dui?: string
|
|
9
|
+
taxerType?: SystemTaxerTypes
|
|
10
|
+
economicActivity?: SystemSvEconomicActivities
|
|
11
|
+
}
|
package/src/System/SV/index.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SystemDirectoryUpdateSingleRequest } from '../../../system'
|
|
1
|
+
import { SystemDirectoryUpdateSingleRequest, SystemSvFields } from '../../../system'
|
|
3
2
|
import { ManagementCompany } from '../management.company.type'
|
|
4
3
|
|
|
5
4
|
export type ManagementCompanyUpdateCurrentRequest = Omit<
|
|
6
5
|
ManagementCompany,
|
|
7
6
|
'id' | 'contacts' | 'companyType' | 'naturalType' | 'svFields'
|
|
8
7
|
> & {
|
|
9
|
-
companyType:
|
|
10
|
-
naturalType
|
|
11
|
-
svFields: Required<Omit<
|
|
12
|
-
|
|
8
|
+
companyType: number
|
|
9
|
+
naturalType?: number
|
|
10
|
+
svFields: Required<Omit<SystemSvFields, 'id' | 'taxerType' | 'economicActivity' | 'dui'>> & {
|
|
11
|
+
dui?: string
|
|
12
|
+
taxerType: number
|
|
13
13
|
economicActivity: string
|
|
14
14
|
}
|
|
15
15
|
contacts: Omit<SystemDirectoryUpdateSingleRequest, 'entityType' | 'entityId'> & { id?: string }[]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SystemSvFields } from '../../system'
|
|
2
2
|
import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types'
|
|
3
3
|
import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types'
|
|
4
4
|
import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
|
|
@@ -8,6 +8,6 @@ export type ManagementCompany = {
|
|
|
8
8
|
name: string
|
|
9
9
|
companyType: SystemPersonTypes
|
|
10
10
|
naturalType: SystemNaturalTypes
|
|
11
|
-
svFields:
|
|
11
|
+
svFields: SystemSvFields
|
|
12
12
|
contacts: Array<SystemDirectoryResponse>
|
|
13
13
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SystemSvEconomicActivities } from '../../system';
|
|
2
|
-
import { SystemTaxerTypes } from '../../system/TaxerTypes/system.taxer-types.types';
|
|
3
|
-
export type CompaniesSvFields = {
|
|
4
|
-
id: string;
|
|
5
|
-
nrc?: string;
|
|
6
|
-
nit?: string;
|
|
7
|
-
dui?: string;
|
|
8
|
-
taxerType?: SystemTaxerTypes;
|
|
9
|
-
economicActivity?: SystemSvEconomicActivities;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"companies.sv-fields.type.js","sourceRoot":"","sources":["../../../src/companies/CompaniesSVFields/companies.sv-fields.type.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './companies.sv-fields.type';
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./companies.sv-fields.type"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/companies/CompaniesSVFields/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA0C"}
|
package/lib/companies/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './CompaniesSVFields';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/companies/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SystemSvEconomicActivities } from '../../system'
|
|
2
|
-
import { SystemTaxerTypes } from '../../system/TaxerTypes/system.taxer-types.types'
|
|
3
|
-
|
|
4
|
-
export type CompaniesSvFields = {
|
|
5
|
-
id: string
|
|
6
|
-
nrc?: string
|
|
7
|
-
nit?: string
|
|
8
|
-
dui?: string
|
|
9
|
-
taxerType?: SystemTaxerTypes
|
|
10
|
-
economicActivity?: SystemSvEconomicActivities
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './companies.sv-fields.type'
|
package/src/companies/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './CompaniesSVFields'
|