@silexpert/core 1.1.61 → 1.1.63
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/es/api/resources/GeneralLedger.d.ts +3 -1
- package/es/api/resources/GeneralLedger.d.ts.map +1 -1
- package/es/api/resources/GeneralLedger.js +6 -0
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +13 -0
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +28 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/es/utils/vat/3310/century23.d.ts.map +1 -1
- package/es/utils/vat/3310/century23.js +28 -31
- package/es/utils/vat/3310/century23.js.map +1 -1
- package/es/utils/vat/3514/century23.d.ts.map +1 -1
- package/es/utils/vat/3514/century23.js +28 -31
- package/es/utils/vat/3514/century23.js.map +1 -1
- package/es/utils/vat/3517/century23.d.ts.map +1 -1
- package/es/utils/vat/3517/century23.js +99 -107
- package/es/utils/vat/3517/century23.js.map +1 -1
- package/es/utils/vat/3519/century23.d.ts.map +1 -1
- package/es/utils/vat/3519/century23.js +69 -70
- package/es/utils/vat/3519/century23.js.map +1 -1
- package/js/api/resources/GeneralLedger.js +10 -0
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +18 -0
- package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/js/utils/vat/3310/century23.js +23 -28
- package/js/utils/vat/3310/century23.js.map +1 -1
- package/js/utils/vat/3514/century23.js +22 -27
- package/js/utils/vat/3514/century23.js.map +1 -1
- package/js/utils/vat/3517/century23.js +85 -95
- package/js/utils/vat/3517/century23.js.map +1 -1
- package/js/utils/vat/3519/century23.js +60 -65
- package/js/utils/vat/3519/century23.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/GeneralLedger.ts +9 -1
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +25 -0
- package/ts/utils/vat/3310/century23.ts +28 -31
- package/ts/utils/vat/3514/century23.ts +28 -31
- package/ts/utils/vat/3517/century23.ts +98 -109
- package/ts/utils/vat/3519/century23.ts +68 -69
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { BasePaginateInterface, IGeneralLedgerAccount, IGeneralLedgerThirdParty, QueryGeneralLedgerAuxiliary } from '../../types';
|
|
2
|
+
import { BasePaginateInterface, IGeneralLedgerAccount, IGeneralLedgerThirdParty, QueryGeneralLedgerAuxiliary, QueryGeneralLedgerThirdParty, ReadGeneralLedgerSummary } from '../../types';
|
|
3
3
|
import { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';
|
|
4
4
|
import { Resource } from '../Resource';
|
|
5
5
|
export declare class GeneralLedger extends Resource {
|
|
@@ -10,5 +10,7 @@ export declare class GeneralLedger extends Resource {
|
|
|
10
10
|
getPdf(idSociety: number, params: QueryGeneralLedger): Promise<Buffer>;
|
|
11
11
|
getBalancePdf(params: QueryGeneralLedger): Promise<Buffer>;
|
|
12
12
|
getAuxiliary(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<IGeneralLedgerThirdParty[]>>;
|
|
13
|
+
getAuxiliarySummaries(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<ReadGeneralLedgerSummary[]>>;
|
|
14
|
+
getThirdParty(id: number, params: QueryGeneralLedgerThirdParty): Promise<IGeneralLedgerThirdParty>;
|
|
13
15
|
}
|
|
14
16
|
//# sourceMappingURL=GeneralLedger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeneralLedger.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,qBAAqB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,2BAA2B,
|
|
1
|
+
{"version":3,"file":"GeneralLedger.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,qBAAqB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,wBAAwB,EAC5J,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,aAAc,SAAQ,QAAQ;IACzC,YAAY,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,qBAAqB,CAAC,qBAAqB,EAAE,CAAC,CAAC;IAMjG,mBAAmB,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,qBAAqB,CAAC,qBAAqB,EAAE,CAAC,CAAC;IAMxG,MAAM,CAAC,MAAM,EAAE,kBAAkB,GAAE,OAAO,CAAC,MAAM,CAAC;IAUlD,aAAa,CAAC,MAAM,EAAE,kBAAkB,GAAE,OAAO,CAAC,MAAM,CAAC;IAUzD,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAE,OAAO,CAAC,MAAM,CAAC;IAUrE,aAAa,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC;IAU1D,YAAY,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,qBAAqB,CAAC,wBAAwB,EAAE,CAAC,CAAC;IAI7G,qBAAqB,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,qBAAqB,CAAC,wBAAwB,EAAE,CAAC,CAAC;IAItH,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAGnG"}
|
|
@@ -49,5 +49,11 @@ export class GeneralLedger extends Resource {
|
|
|
49
49
|
getAuxiliary(params) {
|
|
50
50
|
return this.axios.$get('/generalLedger/auxiliary', { params });
|
|
51
51
|
}
|
|
52
|
+
getAuxiliarySummaries(params) {
|
|
53
|
+
return this.axios.$get('/general-ledger/auxiliary/summaries', { params });
|
|
54
|
+
}
|
|
55
|
+
getThirdParty(id, params) {
|
|
56
|
+
return this.axios.$get(`/general-ledger/third-parties/${id}`, { params });
|
|
57
|
+
}
|
|
52
58
|
}
|
|
53
59
|
//# sourceMappingURL=GeneralLedger.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeneralLedger.js","sourceRoot":"","sources":["../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,YAAY,CAAC,MAA0B;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACvC,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED,mBAAmB,CAAC,MAA0B;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,EAAE;YAC/C,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,MAA0B;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC3C,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,aAAa,CAAC,MAA0B;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACnD,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,SAAiB,EAAE,MAA0B;QAClD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,qBAAqB,EAAE;YACnE,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,aAAa,CAAC,MAA0B;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACnD,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,YAAY,CAAC,MAAmC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;CACF","sourcesContent":["import {\n BasePaginateInterface, IGeneralLedgerAccount, IGeneralLedgerThirdParty, QueryGeneralLedgerAuxiliary,\n} from '../../types';\nimport { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n\n getBalanceBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger/balance', {\n params,\n });\n }\n\n getCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getBalanceCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getPdf(idSociety: number, params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get(`/societies/${idSociety}/general-ledger/pdf`, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getBalancePdf(params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getAuxiliary(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<IGeneralLedgerThirdParty[]>> {\n return this.axios.$get('/generalLedger/auxiliary', { params });\n }\n}"]}
|
|
1
|
+
{"version":3,"file":"GeneralLedger.js","sourceRoot":"","sources":["../../../ts/api/resources/GeneralLedger.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,aAAc,SAAQ,QAAQ;IACzC,YAAY,CAAC,MAA0B;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACvC,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED,mBAAmB,CAAC,MAA0B;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wBAAwB,EAAE;YAC/C,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,MAA0B;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC3C,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,aAAa,CAAC,MAA0B;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACnD,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,SAAiB,EAAE,MAA0B;QAClD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,qBAAqB,EAAE;YACnE,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,aAAa,CAAC,MAA0B;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACnD,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,YAAY,CAAC,MAAmC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,qBAAqB,CAAC,MAAmC;QACvD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,qCAAqC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,aAAa,CAAC,EAAU,EAAE,MAAoC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iCAAiC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5E,CAAC;CACF","sourcesContent":["import {\n BasePaginateInterface, IGeneralLedgerAccount, IGeneralLedgerThirdParty, QueryGeneralLedgerAuxiliary, QueryGeneralLedgerThirdParty, ReadGeneralLedgerSummary,\n} from '../../types';\nimport { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n\n getBalanceBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger/balance', {\n params,\n });\n }\n\n getCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getBalanceCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getPdf(idSociety: number, params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get(`/societies/${idSociety}/general-ledger/pdf`, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getBalancePdf(params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getAuxiliary(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<IGeneralLedgerThirdParty[]>> {\n return this.axios.$get('/generalLedger/auxiliary', { params });\n }\n\n getAuxiliarySummaries(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<ReadGeneralLedgerSummary[]>> {\n return this.axios.$get('/general-ledger/auxiliary/summaries', { params });\n }\n\n getThirdParty(id: number, params: QueryGeneralLedgerThirdParty): Promise<IGeneralLedgerThirdParty> {\n return this.axios.$get(`/general-ledger/third-parties/${id}`, { params });\n }\n}"]}
|
|
@@ -9,4 +9,17 @@ export interface IGeneralLedgerThirdParty {
|
|
|
9
9
|
identifier: string;
|
|
10
10
|
initialBalance: number;
|
|
11
11
|
}
|
|
12
|
+
export interface ReadGeneralLedgerSummary {
|
|
13
|
+
idThirdParty: number;
|
|
14
|
+
name: string;
|
|
15
|
+
credit: number;
|
|
16
|
+
debit: number;
|
|
17
|
+
balance: number;
|
|
18
|
+
identifier: string;
|
|
19
|
+
}
|
|
20
|
+
export declare class QueryGeneralLedgerThirdParty {
|
|
21
|
+
startDate: string;
|
|
22
|
+
endDate: string;
|
|
23
|
+
idSociety: number;
|
|
24
|
+
}
|
|
12
25
|
//# sourceMappingURL=IGeneralLedgerThirdParty.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IGeneralLedgerThirdParty.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IGeneralLedgerThirdParty.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAEhF,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,6BAA6B,EAAE,CAAC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,4BAA4B;IAGvC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1,2 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsDateString, IsNumber } from 'class-validator';
|
|
11
|
+
import { ApiProperty } from '../../../../utils';
|
|
12
|
+
export class QueryGeneralLedgerThirdParty {
|
|
13
|
+
}
|
|
14
|
+
__decorate([
|
|
15
|
+
ApiProperty(),
|
|
16
|
+
IsDateString(),
|
|
17
|
+
__metadata("design:type", String)
|
|
18
|
+
], QueryGeneralLedgerThirdParty.prototype, "startDate", void 0);
|
|
19
|
+
__decorate([
|
|
20
|
+
ApiProperty(),
|
|
21
|
+
IsDateString(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], QueryGeneralLedgerThirdParty.prototype, "endDate", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
ApiProperty(),
|
|
26
|
+
IsNumber(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], QueryGeneralLedgerThirdParty.prototype, "idSociety", void 0);
|
|
2
29
|
//# sourceMappingURL=IGeneralLedgerThirdParty.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IGeneralLedgerThirdParty.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts"],"names":[],"mappings":"","sourcesContent":["import { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';\n\nexport interface IGeneralLedgerThirdParty {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: IGeneralLedgerAccountingEntry[];\n identifier: string;\n initialBalance: number;\n}"]}
|
|
1
|
+
{"version":3,"file":"IGeneralLedgerThirdParty.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAuBhD,MAAM,OAAO,4BAA4B;CAYxC;AAXC;IAAC,WAAW,EAAE;IACb,YAAY,EAAE;;+DACG;AAElB;IAAC,WAAW,EAAE;IACb,YAAY,EAAE;;6DACC;AAEhB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;+DACO","sourcesContent":["import { IsDateString, IsNumber } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { IGeneralLedgerAccountingEntry } from './IGeneralLedgerAccountingEntry';\n\nexport interface IGeneralLedgerThirdParty {\n idThirdParty: number;\n name: string;\n totalCredit: number;\n totalDebit: number;\n totalSolde: number;\n entries: IGeneralLedgerAccountingEntry[];\n identifier: string;\n initialBalance: number;\n}\n\nexport interface ReadGeneralLedgerSummary {\n idThirdParty: number;\n name: string;\n credit: number;\n debit: number;\n balance: number;\n identifier: string;\n}\n\nexport class QueryGeneralLedgerThirdParty {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"century23.d.ts","sourceRoot":"","sources":["../../../../ts/utils/vat/3310/century23.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAKhG,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAClG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4DAA4D,CAAC;AAG/F,wBAAgB,4BAA4B,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,EAAE,OAAO,EAAE,qBAAqB,EAAE,cAAc,GAAE,iBAAsB,GAAG,cAAc,CAoV1K;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,
|
|
1
|
+
{"version":3,"file":"century23.d.ts","sourceRoot":"","sources":["../../../../ts/utils/vat/3310/century23.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAKhG,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAClG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4DAA4D,CAAC;AAG/F,wBAAgB,4BAA4B,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,EAAE,OAAO,EAAE,qBAAqB,EAAE,cAAc,GAAE,iBAAsB,GAAG,cAAc,CAoV1K;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CAi7B9F;AAED,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EAyLrD,CAAC"}
|
|
@@ -435,38 +435,35 @@ export function getCerfa3310Century23RegistrationFields(data) {
|
|
|
435
435
|
fields: [
|
|
436
436
|
{
|
|
437
437
|
key: 'BA',
|
|
438
|
-
|
|
439
|
-
isMultiple: false,
|
|
440
|
-
description: 'FTX Commentaires type 1, ligne 1 1ère zone de 512',
|
|
441
|
-
value: textFormatting(comment, 512),
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
key: 'BA',
|
|
445
|
-
tag: 'TexteLibre2',
|
|
446
|
-
isMultiple: false,
|
|
447
|
-
description: 'FTX Commentaires type 1, ligne 2 2ème zone de 512',
|
|
448
|
-
value: comment && ((_a = comment === null || comment === void 0 ? void 0 : comment.length) !== null && _a !== void 0 ? _a : 0) > 512 ? textFormatting(comment.slice(512, 1024)) : null,
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
key: 'BA',
|
|
452
|
-
tag: 'TexteLibre3',
|
|
453
|
-
isMultiple: false,
|
|
454
|
-
description: 'FTX Commentaires type 1, ligne 3 3ème zone de 512',
|
|
455
|
-
value: comment && ((_b = comment === null || comment === void 0 ? void 0 : comment.length) !== null && _b !== void 0 ? _b : 0) > 1024 ? textFormatting(comment.slice(1024, 1536)) : null,
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
key: 'BA',
|
|
459
|
-
tag: 'TexteLibre4',
|
|
460
|
-
isMultiple: false,
|
|
461
|
-
description: 'FTX Commentaires type 1, ligne 4 4ème zone de 512',
|
|
462
|
-
value: comment && ((_c = comment === null || comment === void 0 ? void 0 : comment.length) !== null && _c !== void 0 ? _c : 0) > 1536 ? textFormatting(comment.slice(1536, 2048)) : null,
|
|
463
|
-
},
|
|
464
|
-
{
|
|
465
|
-
key: 'BA',
|
|
466
|
-
tag: 'TexteLibre5',
|
|
438
|
+
value: null,
|
|
467
439
|
isMultiple: false,
|
|
468
|
-
|
|
469
|
-
|
|
440
|
+
tags: [
|
|
441
|
+
{
|
|
442
|
+
tag: 'TexteLibre1',
|
|
443
|
+
description: 'FTX Commentaires type 1, ligne 1 1ère zone de 512',
|
|
444
|
+
value: textFormatting(comment, 512),
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
tag: 'TexteLibre2',
|
|
448
|
+
description: 'FTX Commentaires type 1, ligne 2 2ème zone de 512',
|
|
449
|
+
value: comment && ((_a = comment === null || comment === void 0 ? void 0 : comment.length) !== null && _a !== void 0 ? _a : 0) > 512 ? textFormatting(comment.slice(512, 1024)) : null,
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
tag: 'TexteLibre3',
|
|
453
|
+
description: 'FTX Commentaires type 1, ligne 3 3ème zone de 512',
|
|
454
|
+
value: comment && ((_b = comment === null || comment === void 0 ? void 0 : comment.length) !== null && _b !== void 0 ? _b : 0) > 1024 ? textFormatting(comment.slice(1024, 1536)) : null,
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
tag: 'TexteLibre4',
|
|
458
|
+
description: 'FTX Commentaires type 1, ligne 4 4ème zone de 512',
|
|
459
|
+
value: comment && ((_c = comment === null || comment === void 0 ? void 0 : comment.length) !== null && _c !== void 0 ? _c : 0) > 1536 ? textFormatting(comment.slice(1536, 2048)) : null,
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
tag: 'TexteLibre5',
|
|
463
|
+
description: 'FTX Commentaires type 1, ligne 5 5ème zone de 512',
|
|
464
|
+
value: comment && ((_d = comment === null || comment === void 0 ? void 0 : comment.length) !== null && _d !== void 0 ? _d : 0) > 2048 ? textFormatting(comment.slice(2048, 2560)) : null,
|
|
465
|
+
},
|
|
466
|
+
],
|
|
470
467
|
},
|
|
471
468
|
{
|
|
472
469
|
key: 'BB',
|