@openbox/shared-types 0.6.56 → 0.6.58

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.
Files changed (23) hide show
  1. package/lib/accounting/Settings/GetGenerals/Response.d.ts +1 -1
  2. package/lib/accounting/Settings/UpdateGenerals/Request.d.ts +11 -2
  3. package/lib/accounting/Settings/accounting.settings.types.d.ts +4 -0
  4. package/lib/reports/Accounting/BalanceSheetPreview/Request.d.ts +2 -0
  5. package/lib/reports/Accounting/BalanceSheetPreview/Request.js.map +1 -0
  6. package/lib/reports/Accounting/BalanceSheetPreview/Response.d.ts +3 -0
  7. package/lib/reports/Accounting/BalanceSheetPreview/Response.js.map +1 -0
  8. package/lib/reports/Accounting/index.d.ts +4 -4
  9. package/lib/reports/Accounting/index.js +4 -4
  10. package/lib/reports/Accounting/index.js.map +1 -1
  11. package/package.json +1 -1
  12. package/lib/reports/Accounting/BalanceSheetReport/Request.d.ts +0 -5
  13. package/lib/reports/Accounting/BalanceSheetReport/Request.js.map +0 -1
  14. package/lib/reports/Accounting/BalanceSheetReport/Response.d.ts +0 -3
  15. package/lib/reports/Accounting/BalanceSheetReport/Response.js.map +0 -1
  16. package/lib/reports/Accounting/BalanceSheetReportPreview/Request.d.ts +0 -2
  17. package/lib/reports/Accounting/BalanceSheetReportPreview/Request.js +0 -3
  18. package/lib/reports/Accounting/BalanceSheetReportPreview/Request.js.map +0 -1
  19. package/lib/reports/Accounting/BalanceSheetReportPreview/Response.d.ts +0 -3
  20. package/lib/reports/Accounting/BalanceSheetReportPreview/Response.js +0 -3
  21. package/lib/reports/Accounting/BalanceSheetReportPreview/Response.js.map +0 -1
  22. /package/lib/reports/Accounting/{BalanceSheetReport → BalanceSheetPreview}/Request.js +0 -0
  23. /package/lib/reports/Accounting/{BalanceSheetReport → BalanceSheetPreview}/Response.js +0 -0
@@ -1,2 +1,2 @@
1
1
  import { AccountingSettings } from '../accounting.settings.types';
2
- export type AccountingSettingsGetGeneralsResponse = Pick<AccountingSettings, 'periodStart' | 'periodEnd' | 'legal' | 'accountant' | 'auditor'>;
2
+ export type AccountingSettingsGetGeneralsResponse = Pick<AccountingSettings, 'periodStart' | 'periodEnd' | 'legal' | 'accountant' | 'auditor' | 'accountingCurrentGain' | 'accountingCurrentLoss' | 'accountingAccumulatedGain' | 'accountingAccumulatedLoss'>;
@@ -1,2 +1,11 @@
1
- import { AccountingSettingsGetGeneralsResponse } from '../GetGenerals/Response';
2
- export type AccountingSettingsUpdateGeneralsRequest = AccountingSettingsGetGeneralsResponse;
1
+ export type AccountingSettingsUpdateGeneralsRequest = {
2
+ periodStart: number;
3
+ periodEnd: number;
4
+ legal: string;
5
+ accountant: string;
6
+ auditor: string;
7
+ accountingCurrentGain?: string;
8
+ accountingCurrentLoss?: string;
9
+ accountingAccumulatedGain?: string;
10
+ accountingAccumulatedLoss?: string;
11
+ };
@@ -10,6 +10,10 @@ export type AccountingSettings = {
10
10
  auditor: string;
11
11
  accountingDebitCatalog: AccountingCatalogs;
12
12
  accountingCreditCatalog: AccountingCatalogs;
13
+ accountingCurrentGain?: AccountingCatalogs;
14
+ accountingCurrentLoss?: AccountingCatalogs;
15
+ accountingAccumulatedGain?: AccountingCatalogs;
16
+ accountingAccumulatedLoss?: AccountingCatalogs;
13
17
  };
14
18
  export type AccountingIncomeStatementsSettings = {
15
19
  name: string;
@@ -0,0 +1,2 @@
1
+ import { ReportsAccountingBalanceSheetRequest } from '../BalanceSheet/Request';
2
+ export type ReportsAccountingBalanceSheetPreviewRequest = Omit<ReportsAccountingBalanceSheetRequest, 'type'>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/reports/Accounting/BalanceSheetPreview/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export type ReportsAccountingBalanceSheetPreviewResponse = {
2
+ url: string;
3
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/reports/Accounting/BalanceSheetPreview/Response.ts"],"names":[],"mappings":""}
@@ -6,10 +6,10 @@ export * from './AccountsCatalog/Request';
6
6
  export * from './AccountsCatalog/Response';
7
7
  export * from './AccountsCatalogPreview/Request';
8
8
  export * from './AccountsCatalogPreview/Response';
9
- export * from './BalanceSheetReport/Request';
10
- export * from './BalanceSheetReport/Response';
11
- export * from './BalanceSheetReportPreview/Request';
12
- export * from './BalanceSheetReportPreview/Response';
9
+ export * from './BalanceSheet/Request';
10
+ export * from './BalanceSheet/Response';
11
+ export * from './BalanceSheetPreview/Request';
12
+ export * from './BalanceSheetPreview/Response';
13
13
  export * from './CheckingBalance/Request';
14
14
  export * from './CheckingBalance/Response';
15
15
  export * from './CheckingBalancePreview/Request';
@@ -22,10 +22,10 @@ __exportStar(require("./AccountsCatalog/Request"), exports);
22
22
  __exportStar(require("./AccountsCatalog/Response"), exports);
23
23
  __exportStar(require("./AccountsCatalogPreview/Request"), exports);
24
24
  __exportStar(require("./AccountsCatalogPreview/Response"), exports);
25
- __exportStar(require("./BalanceSheetReport/Request"), exports);
26
- __exportStar(require("./BalanceSheetReport/Response"), exports);
27
- __exportStar(require("./BalanceSheetReportPreview/Request"), exports);
28
- __exportStar(require("./BalanceSheetReportPreview/Response"), exports);
25
+ __exportStar(require("./BalanceSheet/Request"), exports);
26
+ __exportStar(require("./BalanceSheet/Response"), exports);
27
+ __exportStar(require("./BalanceSheetPreview/Request"), exports);
28
+ __exportStar(require("./BalanceSheetPreview/Response"), exports);
29
29
  __exportStar(require("./CheckingBalance/Request"), exports);
30
30
  __exportStar(require("./CheckingBalance/Response"), exports);
31
31
  __exportStar(require("./CheckingBalancePreview/Request"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/reports/Accounting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA0C;AAC1C,8DAA2C;AAC3C,oEAAiD;AACjD,qEAAkD;AAClD,4DAAyC;AACzC,6DAA0C;AAC1C,mEAAgD;AAChD,oEAAiD;AACjD,+DAA4C;AAC5C,gEAA6C;AAC7C,sEAAmD;AACnD,uEAAoD;AACpD,4DAAyC;AACzC,6DAA0C;AAC1C,mEAAgD;AAChD,oEAAiD;AACjD,0DAAuC;AACvC,2DAAwC;AACxC,iEAA8C;AAC9C,kEAA+C;AAC/C,6DAA0C;AAC1C,8DAA2C;AAC3C,oEAAiD;AACjD,qEAAkD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/reports/Accounting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA0C;AAC1C,8DAA2C;AAC3C,oEAAiD;AACjD,qEAAkD;AAClD,4DAAyC;AACzC,6DAA0C;AAC1C,mEAAgD;AAChD,oEAAiD;AACjD,yDAAsC;AACtC,0DAAuC;AACvC,gEAA6C;AAC7C,iEAA8C;AAC9C,4DAAyC;AACzC,6DAA0C;AAC1C,mEAAgD;AAChD,oEAAiD;AACjD,0DAAuC;AACvC,2DAAwC;AACxC,iEAA8C;AAC9C,kEAA+C;AAC/C,6DAA0C;AAC1C,8DAA2C;AAC3C,oEAAiD;AACjD,qEAAkD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.6.56",
3
+ "version": "0.6.58",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,5 +0,0 @@
1
- export type ReportsAccountingBalanceSheetReportRequest = {
2
- type: 'pdf';
3
- startDate: Date;
4
- endDate: Date;
5
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/reports/Accounting/BalanceSheetReport/Request.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export type ReportsAccountingBalanceSheetReportResponse = {
2
- url: string;
3
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/reports/Accounting/BalanceSheetReport/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { ReportsAccountingBalanceSheetReportRequest } from '../BalanceSheetReport/Request';
2
- export type ReportsAccountingBalanceSheetReportPreviewRequest = Omit<ReportsAccountingBalanceSheetReportRequest, 'type'>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/reports/Accounting/BalanceSheetReportPreview/Request.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export type ReportsAccountingBalanceSheetReportPreviewResponse = {
2
- url: string;
3
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/reports/Accounting/BalanceSheetReportPreview/Response.ts"],"names":[],"mappings":""}