@openbox/shared-types 0.3.50 → 0.3.52
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/Catalogs/GetMany/Request.d.ts +2 -0
- package/lib/accounting/Catalogs/GetMany/Request.js +3 -0
- package/lib/accounting/Catalogs/GetMany/Request.js.map +1 -0
- package/lib/accounting/Catalogs/GetMany/Response.d.ts +3 -2
- package/lib/accounting/Catalogs/GetMany/Response.js +0 -4
- package/lib/accounting/Catalogs/GetMany/Response.js.map +1 -1
- package/lib/accounting/Catalogs/accounting.catalogs.types.d.ts +0 -2
- package/lib/accounting/Catalogs/index.d.ts +1 -0
- package/lib/accounting/Catalogs/index.js +1 -0
- package/lib/accounting/Catalogs/index.js.map +1 -1
- package/lib/accounting/Entries/CreateSingle/Request.d.ts +2 -4
- package/lib/accounting/Entries/UpdateSingle/Request.d.ts +4 -6
- package/lib/accounting/EntriesDetails/UpdateSingle/Request.d.ts +4 -0
- package/lib/accounting/EntriesDetails/UpdateSingle/Request.js +3 -0
- package/lib/accounting/EntriesDetails/UpdateSingle/Request.js.map +1 -0
- package/lib/accounting/EntriesDetails/index.d.ts +1 -0
- package/lib/accounting/EntriesDetails/index.js +1 -0
- package/lib/accounting/EntriesDetails/index.js.map +1 -1
- package/package.json +1 -1
- package/src/accounting/Catalogs/GetMany/Request.ts +3 -0
- package/src/accounting/Catalogs/GetMany/Response.ts +2 -1
- package/src/accounting/Catalogs/accounting.catalogs.types.ts +2 -2
- package/src/accounting/Catalogs/index.ts +1 -0
- package/src/accounting/Entries/CreateSingle/Request.ts +2 -4
- package/src/accounting/Entries/UpdateSingle/Request.ts +8 -11
- package/src/accounting/EntriesDetails/UpdateSingle/Request.ts +8 -0
- package/src/accounting/EntriesDetails/index.ts +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/GetMany/Request.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { GetManyResponse } from '../../../interfaces';
|
|
1
2
|
import { AccountingCatalogsGetSingleResponse } from '../GetSingle/Response';
|
|
2
|
-
export
|
|
3
|
+
export type AccountingCatalogsGetManyResponse = GetManyResponse & {
|
|
3
4
|
data: Array<AccountingCatalogsGetSingleResponse>;
|
|
4
|
-
}
|
|
5
|
+
};
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AccountingCatalogsGetManyResponse = void 0;
|
|
4
|
-
class AccountingCatalogsGetManyResponse {
|
|
5
|
-
}
|
|
6
|
-
exports.AccountingCatalogsGetManyResponse = AccountingCatalogsGetManyResponse;
|
|
7
3
|
//# sourceMappingURL=Response.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/GetMany/Response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/GetMany/Response.ts"],"names":[],"mappings":""}
|
|
@@ -14,6 +14,7 @@ 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("./GetMany/Request"), exports);
|
|
17
18
|
__exportStar(require("./GetMany/Response"), exports);
|
|
18
19
|
__exportStar(require("./GetSingle/Response"), exports);
|
|
19
20
|
__exportStar(require("./accounting.catalogs.types"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAkC;AAClC,uDAAoC;AACpC,8DAA2C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,8DAA2C"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AccountingEntriesDetailsCreateSingleRequest } from '../../EntriesDetails';
|
|
2
2
|
import { AccountingEntries } from '../accounting.entries.types';
|
|
3
3
|
export type AccountingEntriesCreateSingleRequest = Omit<AccountingEntries, 'id' | 'origin' | 'type' | 'status' | 'details'> & {
|
|
4
4
|
type: number;
|
|
5
5
|
status: number;
|
|
6
|
-
details:
|
|
7
|
-
accountingCatalog: string;
|
|
8
|
-
})[];
|
|
6
|
+
details: AccountingEntriesDetailsCreateSingleRequest[];
|
|
9
7
|
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AccountingEntriesDetailsUpdateSingleRequest } from '../../EntriesDetails/UpdateSingle/Request';
|
|
2
2
|
import { AccountingEntries } from '../accounting.entries.types';
|
|
3
|
-
export type AccountingEntriesUpdateSingleRequest = Omit<AccountingEntries, 'id' | 'origin' | 'type' | 'status' | 'details'> & {
|
|
3
|
+
export type AccountingEntriesUpdateSingleRequest = Partial<Omit<AccountingEntries, 'id' | 'origin' | 'type' | 'status' | 'details'> & {
|
|
4
4
|
type: number;
|
|
5
5
|
status: number;
|
|
6
|
-
details:
|
|
7
|
-
|
|
8
|
-
})[];
|
|
9
|
-
};
|
|
6
|
+
details: AccountingEntriesDetailsUpdateSingleRequest[];
|
|
7
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/EntriesDetails/UpdateSingle/Request.ts"],"names":[],"mappings":""}
|
|
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./CreateSingle/Request"), exports);
|
|
18
|
+
__exportStar(require("./UpdateSingle/Request"), exports);
|
|
18
19
|
__exportStar(require("./accounting.entries-details.types"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/EntriesDetails/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,qEAAkD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/EntriesDetails/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,yDAAsC;AACtC,qEAAkD"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { GetManyResponse } from '../../../interfaces'
|
|
1
2
|
import { AccountingCatalogsGetSingleResponse } from '../GetSingle/Response'
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
+
export type AccountingCatalogsGetManyResponse = GetManyResponse & {
|
|
4
5
|
data: Array<AccountingCatalogsGetSingleResponse>
|
|
5
6
|
}
|
|
@@ -3,9 +3,9 @@ export type AccountingCatalogs = {
|
|
|
3
3
|
code: string
|
|
4
4
|
name: string
|
|
5
5
|
description: string
|
|
6
|
-
level: number
|
|
6
|
+
// level: number
|
|
7
7
|
isParent: boolean
|
|
8
8
|
isAcreedora: boolean
|
|
9
9
|
isBalance: boolean
|
|
10
|
-
parentCatalog: AccountingCatalogs
|
|
10
|
+
// parentCatalog: AccountingCatalogs
|
|
11
11
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AccountingEntriesDetailsCreateSingleRequest } from '../../EntriesDetails'
|
|
2
2
|
import { AccountingEntries } from '../accounting.entries.types'
|
|
3
3
|
|
|
4
4
|
export type AccountingEntriesCreateSingleRequest = Omit<
|
|
@@ -7,7 +7,5 @@ export type AccountingEntriesCreateSingleRequest = Omit<
|
|
|
7
7
|
> & {
|
|
8
8
|
type: number
|
|
9
9
|
status: number
|
|
10
|
-
details:
|
|
11
|
-
accountingCatalog: string
|
|
12
|
-
})[]
|
|
10
|
+
details: AccountingEntriesDetailsCreateSingleRequest[]
|
|
13
11
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AccountingEntriesDetailsUpdateSingleRequest } from '../../EntriesDetails/UpdateSingle/Request'
|
|
2
2
|
import { AccountingEntries } from '../accounting.entries.types'
|
|
3
3
|
|
|
4
|
-
export type AccountingEntriesUpdateSingleRequest =
|
|
5
|
-
AccountingEntries,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
accountingCatalog: string
|
|
12
|
-
})[]
|
|
13
|
-
}
|
|
4
|
+
export type AccountingEntriesUpdateSingleRequest = Partial<
|
|
5
|
+
Omit<AccountingEntries, 'id' | 'origin' | 'type' | 'status' | 'details'> & {
|
|
6
|
+
type: number
|
|
7
|
+
status: number
|
|
8
|
+
details: AccountingEntriesDetailsUpdateSingleRequest[]
|
|
9
|
+
}
|
|
10
|
+
>
|