@openbox/shared-types 0.4.57 → 0.4.59
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/accounting/Settings/GetIncomeStatements/Response.d.ts +2 -0
- package/lib/accounting/Settings/GetIncomeStatements/Response.js +3 -0
- package/lib/accounting/Settings/GetIncomeStatements/Response.js.map +1 -0
- package/lib/accounting/Settings/UpdateIncomeStatements/Request.d.ts +2 -0
- package/lib/accounting/Settings/UpdateIncomeStatements/Request.js +3 -0
- package/lib/accounting/Settings/UpdateIncomeStatements/Request.js.map +1 -0
- package/lib/accounting/Settings/UpdateIncomeStatements/Response.d.ts +3 -0
- package/lib/accounting/Settings/UpdateIncomeStatements/Response.js +3 -0
- package/lib/accounting/Settings/UpdateIncomeStatements/Response.js.map +1 -0
- package/lib/accounting/Settings/accounting.settings.types.d.ts +19 -1
- package/lib/accounting/Settings/index.d.ts +3 -0
- package/lib/accounting/Settings/index.js +3 -0
- package/lib/accounting/Settings/index.js.map +1 -1
- package/lib/invoices/Settings/ElectronincSv/Set/Request.d.ts +1 -1
- package/lib/invoices/Settings/ElectronincSv/invoices.settings.electronic-sv.type.d.ts +1 -0
- package/lib/invoices/invoices.enums.d.ts +2 -1
- package/lib/invoices/invoices.enums.js +1 -0
- package/lib/invoices/invoices.enums.js.map +1 -1
- package/package.json +1 -1
- package/src/accounting/Settings/GetIncomeStatements/Response.ts +6 -0
- package/src/accounting/Settings/UpdateIncomeStatements/Request.ts +4 -0
- package/src/accounting/Settings/UpdateIncomeStatements/Response.ts +3 -0
- package/src/accounting/Settings/accounting.settings.types.ts +21 -1
- package/src/accounting/Settings/index.ts +4 -0
- package/src/invoices/Settings/ElectronincSv/Set/Request.ts +1 -1
- package/src/invoices/Settings/ElectronincSv/invoices.settings.electronic-sv.type.ts +1 -0
- package/src/invoices/invoices.enums.ts +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Settings/GetIncomeStatements/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Settings/UpdateIncomeStatements/Request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Settings/UpdateIncomeStatements/Response.ts"],"names":[],"mappings":""}
|
|
@@ -2,7 +2,7 @@ import { AccountingCatalogs } from '../Catalogs';
|
|
|
2
2
|
export type AccountingSettings = {
|
|
3
3
|
id: string;
|
|
4
4
|
balanceGeneral: JSON;
|
|
5
|
-
estadoResultados:
|
|
5
|
+
estadoResultados: AccountingIncomeStatementsSettings[];
|
|
6
6
|
periodStart: number;
|
|
7
7
|
periodEnd: number;
|
|
8
8
|
legal: string;
|
|
@@ -11,3 +11,21 @@ export type AccountingSettings = {
|
|
|
11
11
|
accountingDebitCatalog: AccountingCatalogs;
|
|
12
12
|
accountingCreditCatalog: AccountingCatalogs;
|
|
13
13
|
};
|
|
14
|
+
export type AccountingIncomeStatementsSettings = {
|
|
15
|
+
name: string;
|
|
16
|
+
display: string;
|
|
17
|
+
showUpdateName: boolean;
|
|
18
|
+
showAdd: boolean;
|
|
19
|
+
show: boolean;
|
|
20
|
+
details: boolean;
|
|
21
|
+
id?: number;
|
|
22
|
+
bold: boolean;
|
|
23
|
+
children?: AccountingIncomeStatementsChildren[];
|
|
24
|
+
};
|
|
25
|
+
export type AccountingIncomeStatementsChildren = {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
display: string;
|
|
29
|
+
canDelete: boolean;
|
|
30
|
+
showUpdateName: boolean;
|
|
31
|
+
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export * from './GetGenerals/Response';
|
|
2
|
+
export * from './GetIncomeStatements/Response';
|
|
2
3
|
export * from './UpdateGenerals/Request';
|
|
3
4
|
export * from './UpdateGenerals/Response';
|
|
5
|
+
export * from './UpdateIncomeStatements/Request';
|
|
6
|
+
export * from './UpdateIncomeStatements/Response';
|
|
4
7
|
export * from './accounting.settings.types';
|
|
@@ -15,7 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./GetGenerals/Response"), exports);
|
|
18
|
+
__exportStar(require("./GetIncomeStatements/Response"), exports);
|
|
18
19
|
__exportStar(require("./UpdateGenerals/Request"), exports);
|
|
19
20
|
__exportStar(require("./UpdateGenerals/Response"), exports);
|
|
21
|
+
__exportStar(require("./UpdateIncomeStatements/Request"), exports);
|
|
22
|
+
__exportStar(require("./UpdateIncomeStatements/Response"), exports);
|
|
20
23
|
__exportStar(require("./accounting.settings.types"), exports);
|
|
21
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,2DAAwC;AACxC,4DAAyC;AACzC,8DAA2C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,iEAA8C;AAC9C,2DAAwC;AACxC,4DAAyC;AACzC,mEAAgD;AAChD,oEAAiD;AACjD,8DAA2C"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InvoicesSettingsElectronicSv } from '../invoices.settings.electronic-sv.type';
|
|
2
|
-
export type InvoicesSettingsElectronicSvSetRequest = Omit<InvoicesSettingsElectronicSv, 'id' | 'testEnvCertificatePath' | 'prodEnvCertificatePath'>;
|
|
2
|
+
export type InvoicesSettingsElectronicSvSetRequest = Omit<InvoicesSettingsElectronicSv, 'id' | 'testEnvCertificatePath' | 'prodEnvCertificatePath' | 'isContingency'>;
|
|
@@ -18,5 +18,6 @@ var InvoicesStatusesTypesEnum;
|
|
|
18
18
|
InvoicesStatusesTypesEnum[InvoicesStatusesTypesEnum["Reservada"] = 4] = "Reservada";
|
|
19
19
|
InvoicesStatusesTypesEnum[InvoicesStatusesTypesEnum["Pagada"] = 5] = "Pagada";
|
|
20
20
|
InvoicesStatusesTypesEnum[InvoicesStatusesTypesEnum["Presentada"] = 6] = "Presentada";
|
|
21
|
+
InvoicesStatusesTypesEnum[InvoicesStatusesTypesEnum["Contingencia"] = 7] = "Contingencia";
|
|
21
22
|
})(InvoicesStatusesTypesEnum = exports.InvoicesStatusesTypesEnum || (exports.InvoicesStatusesTypesEnum = {}));
|
|
22
23
|
//# sourceMappingURL=invoices.enums.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoices.enums.js","sourceRoot":"","sources":["../../src/invoices/invoices.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAOX;AAPD,WAAY,yBAAyB;IACnC,uEAAO,CAAA;IACP,uEAAO,CAAA;IACP,uEAAO,CAAA;IACP,qEAAM,CAAA;IACN,qEAAM,CAAA;IACN,qEAAM,CAAA;AACR,CAAC,EAPW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAOpC;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"invoices.enums.js","sourceRoot":"","sources":["../../src/invoices/invoices.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAOX;AAPD,WAAY,yBAAyB;IACnC,uEAAO,CAAA;IACP,uEAAO,CAAA;IACP,uEAAO,CAAA;IACP,qEAAM,CAAA;IACN,qEAAM,CAAA;IACN,qEAAM,CAAA;AACR,CAAC,EAPW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAOpC;AAED,IAAY,yBAQX;AARD,WAAY,yBAAyB;IACnC,+EAAW,CAAA;IACX,+EAAW,CAAA;IACX,+EAAW,CAAA;IACX,mFAAa,CAAA;IACb,6EAAU,CAAA;IACV,qFAAc,CAAA;IACd,yFAAgB,CAAA;AAClB,CAAC,EARW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAQpC"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import { AccountingCatalogs } from '../Catalogs'
|
|
|
3
3
|
export type AccountingSettings = {
|
|
4
4
|
id: string
|
|
5
5
|
balanceGeneral: JSON
|
|
6
|
-
estadoResultados:
|
|
6
|
+
estadoResultados: AccountingIncomeStatementsSettings[]
|
|
7
7
|
periodStart: number
|
|
8
8
|
periodEnd: number
|
|
9
9
|
legal: string
|
|
@@ -12,3 +12,23 @@ export type AccountingSettings = {
|
|
|
12
12
|
accountingDebitCatalog: AccountingCatalogs
|
|
13
13
|
accountingCreditCatalog: AccountingCatalogs
|
|
14
14
|
}
|
|
15
|
+
|
|
16
|
+
export type AccountingIncomeStatementsSettings = {
|
|
17
|
+
name: string
|
|
18
|
+
display: string
|
|
19
|
+
showUpdateName: boolean
|
|
20
|
+
showAdd: boolean
|
|
21
|
+
show: boolean
|
|
22
|
+
details: boolean
|
|
23
|
+
id?: number
|
|
24
|
+
bold: boolean
|
|
25
|
+
children?: AccountingIncomeStatementsChildren[]
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type AccountingIncomeStatementsChildren = {
|
|
29
|
+
id: string
|
|
30
|
+
name: string
|
|
31
|
+
display: string
|
|
32
|
+
canDelete: boolean
|
|
33
|
+
showUpdateName: boolean
|
|
34
|
+
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export * from './GetGenerals/Response'
|
|
2
|
+
export * from './GetIncomeStatements/Response'
|
|
2
3
|
export * from './UpdateGenerals/Request'
|
|
3
4
|
export * from './UpdateGenerals/Response'
|
|
5
|
+
export * from './UpdateIncomeStatements/Request'
|
|
6
|
+
export * from './UpdateIncomeStatements/Response'
|
|
4
7
|
export * from './accounting.settings.types'
|
|
8
|
+
|
|
@@ -2,5 +2,5 @@ import { InvoicesSettingsElectronicSv } from '../invoices.settings.electronic-sv
|
|
|
2
2
|
|
|
3
3
|
export type InvoicesSettingsElectronicSvSetRequest = Omit<
|
|
4
4
|
InvoicesSettingsElectronicSv,
|
|
5
|
-
'id' | 'testEnvCertificatePath' | 'prodEnvCertificatePath'
|
|
5
|
+
'id' | 'testEnvCertificatePath' | 'prodEnvCertificatePath' | 'isContingency'
|
|
6
6
|
>
|