@silexpert/core 0.4.170 → 0.4.174
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 +5 -0
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/api/resources/MachineLearning.js +1 -1
- package/es/api/resources/MachineLearning.js.map +1 -1
- package/es/api/resources/Tax.js.map +1 -1
- package/es/api/resources/Transaction.d.ts +1 -0
- package/es/api/resources/Transaction.d.ts.map +1 -1
- package/es/api/resources/Transaction.js +3 -0
- package/es/api/resources/Transaction.js.map +1 -1
- package/es/api/resources/VatDeclaration.js +1 -1
- package/es/api/resources/VatDeclaration.js.map +1 -1
- package/es/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/es/types/Enum/BalanceSheet.js +9 -5
- package/es/types/Enum/BalanceSheet.js.map +1 -1
- package/es/types/Enum/BrandClementine.js +1 -1
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandComptalib.js +3 -3
- package/es/types/Enum/BrandComptalib.js.map +1 -1
- package/es/types/Enum/Prestation.d.ts +2 -1
- package/es/types/Enum/Prestation.d.ts.map +1 -1
- package/es/types/Enum/Prestation.js +1 -0
- package/es/types/Enum/Prestation.js.map +1 -1
- package/es/types/Enum/VatRegime.js +1 -1
- package/es/types/Enum/VatRegime.js.map +1 -1
- package/es/types/Interface/api/BasePaginate.d.ts +6 -0
- package/es/types/Interface/api/BasePaginate.d.ts.map +1 -1
- package/es/types/Interface/api/BasePaginate.js.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +2 -0
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts +4 -0
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js +28 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +2 -0
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +5 -0
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/es/types/Interface/api/transactions/QueryUnexport.d.ts +2 -2
- package/es/types/Interface/api/transactions/QueryUnexport.d.ts.map +1 -1
- package/es/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.d.ts.map +1 -1
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +4 -2
- package/es/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +2 -2
- package/es/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/es/types/Interface/models/IVatDeclaration.d.ts +1 -1
- package/es/types/Interface/models/IVatDeclaration.js.map +1 -1
- package/js/api/resources/GeneralLedger.js +6 -0
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/api/resources/MachineLearning.js +1 -1
- package/js/api/resources/MachineLearning.js.map +1 -1
- package/js/api/resources/Tax.js.map +1 -1
- package/js/api/resources/Transaction.js +4 -0
- package/js/api/resources/Transaction.js.map +1 -1
- package/js/api/resources/VatDeclaration.js +1 -3
- package/js/api/resources/VatDeclaration.js.map +1 -1
- package/js/types/Enum/BalanceSheet.js +9 -5
- package/js/types/Enum/BalanceSheet.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +1 -1
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandComptalib.js +3 -3
- package/js/types/Enum/BrandComptalib.js.map +1 -1
- package/js/types/Enum/Prestation.js +1 -0
- package/js/types/Enum/Prestation.js.map +1 -1
- package/js/types/Enum/VatRegime.js +1 -1
- package/js/types/Enum/VatRegime.js.map +1 -1
- package/js/types/Interface/api/BasePaginate.js.map +1 -1
- package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js +14 -0
- package/js/types/Interface/api/generalLedger/QueryGeneralLedger.js.map +1 -1
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +7 -0
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/js/types/Interface/api/transactions/QueryUnexport.js.map +1 -1
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js +4 -2
- package/js/types/Interface/api/vatDeclaration/QueryVatDeclaration.js.map +1 -1
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js +1 -1
- package/js/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/GeneralLedger.ts +8 -1
- package/ts/api/resources/MachineLearning.ts +1 -1
- package/ts/api/resources/Tax.ts +1 -1
- package/ts/api/resources/Transaction.ts +4 -0
- package/ts/api/resources/VatDeclaration.ts +1 -1
- package/ts/types/Enum/BalanceSheet.ts +9 -5
- package/ts/types/Enum/BrandClementine.ts +1 -1
- package/ts/types/Enum/BrandComptalib.ts +3 -3
- package/ts/types/Enum/Prestation.ts +1 -0
- package/ts/types/Enum/VatRegime.ts +2 -2
- package/ts/types/Interface/api/BasePaginate.ts +7 -0
- package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +2 -0
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts +26 -1
- package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +4 -0
- package/ts/types/Interface/api/transactions/QueryUnexport.ts +2 -2
- package/ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts +5 -3
- package/ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts +2 -2
- package/ts/types/Interface/models/IVatDeclaration.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VatRegime.js","sourceRoot":"","sources":["../../../ts/types/Enum/VatRegime.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,+CAAW,CAAA;IACX,mDAAa,CAAA;IACb,qDAAc,CAAA;IACd,6DAAkB,CAAA;AACpB,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AAED,MAAM,CAAC,MAAM,aAAa,GAAS;IACjC;QACE,EAAE,EAAE,SAAS,CAAC,OAAO;QACrB,KAAK,EAAE,SAAS;KACjB;IACD;QACE,EAAE,EAAE,SAAS,CAAC,SAAS;QACvB,KAAK,EAAE,aAAa;KACrB;IACD;QACE,EAAE,EAAE,SAAS,CAAC,UAAU;QACxB,KAAK,EAAE,WAAW;KACnB;IACD;QACE,EAAE,EAAE,SAAS,CAAC,cAAc;QAC5B,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"VatRegime.js","sourceRoot":"","sources":["../../../ts/types/Enum/VatRegime.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,+CAAW,CAAA;IACX,mDAAa,CAAA;IACb,qDAAc,CAAA;IACd,6DAAkB,CAAA;AACpB,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AAED,MAAM,CAAC,MAAM,aAAa,GAAS;IACjC;QACE,EAAE,EAAE,SAAS,CAAC,OAAO;QACrB,KAAK,EAAE,SAAS;KACjB;IACD;QACE,EAAE,EAAE,SAAS,CAAC,SAAS;QACvB,KAAK,EAAE,aAAa;KACrB;IACD;QACE,EAAE,EAAE,SAAS,CAAC,UAAU;QACxB,KAAK,EAAE,WAAW;KACnB;IACD;QACE,EAAE,EAAE,SAAS,CAAC,cAAc;QAC5B,KAAK,EAAE,YAAY;KACpB;CACF,CAAC","sourcesContent":["import { List } from '../Interface/enum/Util';\n\nexport enum VatRegime {\n MONTHLY = 1,\n QUARTERLY = 2,\n SIMPLIFIED = 3,\n NOT_ATTRIBUTED = 4,\n}\n\nexport const VatRegimeList: List = [\n {\n id: VatRegime.MONTHLY,\n label: 'Mensuel',\n },\n {\n id: VatRegime.QUARTERLY,\n label: 'Trimestriel',\n },\n {\n id: VatRegime.SIMPLIFIED,\n label: 'Simplifié',\n },\n {\n id: VatRegime.NOT_ATTRIBUTED,\n label: 'Pas de TVA',\n },\n];\n"]}
|
|
@@ -4,6 +4,12 @@ export interface BasePaginate<T> {
|
|
|
4
4
|
totalItems: number;
|
|
5
5
|
data: T[];
|
|
6
6
|
}
|
|
7
|
+
export interface BasePaginateInterface<T> {
|
|
8
|
+
maxPages: number;
|
|
9
|
+
currentPage: number;
|
|
10
|
+
totalItems: number;
|
|
11
|
+
data: T;
|
|
12
|
+
}
|
|
7
13
|
export interface QueryPaginate {
|
|
8
14
|
page: number;
|
|
9
15
|
limit: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaginate.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/api/BasePaginate.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,YAAY,CAAC,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,CAAC,EAAE,CAAC;CACX;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,qBAAsB,YAAW,aAAa;IAKzD,IAAI,EAAE,MAAM,CAAC;IAMb,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
1
|
+
{"version":3,"file":"BasePaginate.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/api/BasePaginate.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,YAAY,CAAC,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,CAAC,EAAE,CAAC;CACX;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,CAAC,CAAC;CACT;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,qBAAsB,YAAW,aAAa;IAKzD,IAAI,EAAE,MAAM,CAAC;IAMb,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaginate.js","sourceRoot":"","sources":["../../../../ts/types/Interface/api/BasePaginate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"BasePaginate.js","sourceRoot":"","sources":["../../../../ts/types/Interface/api/BasePaginate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAqB/C,MAAM,OAAO,qBAAqB;CAYjC;AAPC;IAJC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,UAAU,EAAE;;mDACA;AAMb;IAJC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,UAAU,EAAE;;oDACC","sourcesContent":["import { IsInt, IsOptional, Min } from 'class-validator';\nimport { ApiPropertyOptional } from '../../..';\n\nexport interface BasePaginate<T> {\n maxPages: number;\n currentPage: number;\n totalItems: number;\n data: T[];\n}\n\nexport interface BasePaginateInterface<T> {\n maxPages: number;\n currentPage: number;\n totalItems: number;\n data: T;\n}\n\nexport interface QueryPaginate {\n page: number,\n limit: number,\n}\n\nexport class OptionalQueryPaginate implements QueryPaginate {\n @ApiPropertyOptional()\n @IsInt()\n @Min(1)\n @IsOptional()\n page: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @Min(1)\n @IsOptional()\n limit: number;\n}\n"]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IAccountingTransaction, IImmobilization } from '../../..';
|
|
2
|
+
import { IThirdParty } from '../../models/IThirdParty';
|
|
2
3
|
export declare type FormImmobilization = IImmobilization;
|
|
3
4
|
export declare class FormEntry {
|
|
4
5
|
vat?: number | {
|
|
@@ -35,5 +36,6 @@ export interface ReadFormattedAccountingTransaction extends IAccountingTransacti
|
|
|
35
36
|
credit: number;
|
|
36
37
|
autoAnnotateWithML: boolean;
|
|
37
38
|
entries?: AnnotateAccountingTransaction;
|
|
39
|
+
thirdPartySuggestions?: IThirdParty[];
|
|
38
40
|
}
|
|
39
41
|
//# sourceMappingURL=AnnotateAccountingTransaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnnotateAccountingTransaction.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"AnnotateAccountingTransaction.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTrans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I,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,6BAA6B,CAAC;IACxC,qBAAqB,CAAC,EAAE,WAAW,EAAE,CAAC;CACvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnnotateAccountingTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"AnnotateAccountingTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAI3E,MAAM,OAAO,SAAS;CAcrB;AAKD,MAAM,OAAO,2BAA2B;CAuBvC;AApBC;IAFC,mBAAmB,EAAE;;4DAEA;AAEtB;IADC,mBAAmB,EAAE;;4DACL;AAEjB;IADC,mBAAmB,EAAE;;qEACI;AAE1B;IADC,mBAAmB,EAAE;;6DACC;AAKvB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;4DACK;AAElB;IADC,mBAAmB,EAAE;8BACV,IAAI;8DAAC;AAEjB;IADC,mBAAmB,EAAE;;kEACC;AAEvB;IADC,mBAAmB,EAAE;;yDACR;AAEd;IADC,mBAAmB,EAAE;;yEACQ","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { IAccountingTransaction, IImmobilization } from '../../..';\nimport { IThirdParty } from '../../models/IThirdParty';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport type FormImmobilization = IImmobilization;\n\nexport class FormEntry {\n vat? : number | {\n idVat: number;\n amount: number;\n }[];\n isVatIntracom?: boolean;\n isVatImportation?: boolean;\n idAccount?: number;\n idThirdParty?: number;\n amountAllTaxIncludedPurchase?: number;\n designation?: string;\n amountAllTaxIncluded?: number;\n immobilization?: FormImmobilization; // pour la création d'une immo\n idImmobilization?: number; //\n}\n\n// Permet d'annoté une transaction bancaire Split, Marge, Intracom, Immo etc...\nexport type AnnotateAccountingTransaction = FormEntry[];\n\nexport class UpdateAccountingTransaction {\n @ApiPropertyOptional()\n // @Type(() => FormEntry)\n entries?: FormEntry[];\n @ApiPropertyOptional()\n comment?: string;\n @ApiPropertyOptional()\n idSocietyPartner?: number;\n @ApiPropertyOptional()\n exported?: Date | null;\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isAsset?: boolean;\n @ApiPropertyOptional()\n dateValue?: Date;\n @ApiPropertyOptional()\n invoiceNumber?: string;\n @ApiPropertyOptional()\n name?: string;\n @ApiPropertyOptional()\n amountAllTaxIncluded?: number;\n}\n\n// Permet d'afficher une transaction bancaire avec les informations de base ainsi que les informations d'annotations\nexport interface ReadFormattedAccountingTransaction extends IAccountingTransaction {\n amount: number;\n comment: string | null;\n designation: string | null;\n debit: number;\n credit: number;\n autoAnnotateWithML: boolean;\n entries?: AnnotateAccountingTransaction;\n thirdPartySuggestions?: IThirdParty[];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGeneralLedger.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueryGeneralLedger.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"names":[],"mappings":"AAMA,qBAAa,kBAAkB;IAE7B,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;IAMhB,KAAK,CAAC,EAAE,MAAM,CAAC;IAMf,IAAI,CAAC,EAAE,MAAM,CAAC;IAMd,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -7,7 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { IsBoolean, IsInt, IsOptional, Min, } from 'class-validator';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
11
13
|
export class QueryGeneralLedger {
|
|
12
14
|
}
|
|
13
15
|
__decorate([
|
|
@@ -18,4 +20,29 @@ __decorate([
|
|
|
18
20
|
ApiProperty(),
|
|
19
21
|
__metadata("design:type", String)
|
|
20
22
|
], QueryGeneralLedger.prototype, "dateEnd", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
ApiPropertyOptional(),
|
|
25
|
+
IsInt(),
|
|
26
|
+
Min(1),
|
|
27
|
+
IsOptional(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], QueryGeneralLedger.prototype, "limit", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
ApiPropertyOptional(),
|
|
32
|
+
IsInt(),
|
|
33
|
+
Min(1),
|
|
34
|
+
IsOptional(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], QueryGeneralLedger.prototype, "page", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
ApiPropertyOptional({ default: true }),
|
|
39
|
+
IsBoolean(),
|
|
40
|
+
ToBoolean(),
|
|
41
|
+
IsOptional(),
|
|
42
|
+
__metadata("design:type", Boolean)
|
|
43
|
+
], QueryGeneralLedger.prototype, "descending", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
ApiPropertyOptional(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], QueryGeneralLedger.prototype, "search", void 0);
|
|
21
48
|
//# sourceMappingURL=QueryGeneralLedger.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGeneralLedger.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryGeneralLedger.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedger.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,GAClC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,kBAAkB;CA2B9B;AAzBC;IADC,WAAW,EAAE;;qDACI;AAGlB;IADC,WAAW,EAAE;;mDACE;AAMhB;IAJC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,UAAU,EAAE;;iDACE;AAMf;IAJC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;IACN,UAAU,EAAE;;gDACC;AAMd;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;sDACQ;AAGrB;IADC,mBAAmB,EAAE;;kDACN","sourcesContent":["import {\n IsBoolean, IsInt, IsOptional, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryGeneralLedger {\n @ApiProperty()\n dateStart: string;\n\n @ApiProperty()\n dateEnd: string;\n\n @ApiPropertyOptional()\n @IsInt()\n @Min(1)\n @IsOptional()\n limit?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @Min(1)\n @IsOptional()\n page?: number;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n search?: string;\n}"]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { VatRegime, ToDoOrDone } from '../../..';
|
|
2
2
|
import { ComptaType } from '../../../Enum/ComptaType';
|
|
3
3
|
import { TaxSystem } from '../../../Enum/TaxSystem';
|
|
4
|
+
import { Supervision } from '../../../Enum/Supervision';
|
|
4
5
|
import { BalanceSheetState } from '../../../Enum/BalanceSheet';
|
|
5
6
|
export declare class QueryTaxDeadline {
|
|
6
7
|
idUser: number | number[];
|
|
@@ -16,6 +17,7 @@ export declare class QueryTaxDeadline {
|
|
|
16
17
|
additionalMonths?: number;
|
|
17
18
|
minimalEndDate?: string;
|
|
18
19
|
maximalEndDate?: string;
|
|
20
|
+
idSupervisionState?: Supervision;
|
|
19
21
|
idTaxStatus?: ToDoOrDone;
|
|
20
22
|
}
|
|
21
23
|
export declare class QueryTaxDeadlineStatistics {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTaxDeadline.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,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'../../..';
|
|
13
13
|
import { ComptaType } from '../../../Enum/ComptaType';
|
|
14
14
|
import { TaxSystem } from '../../../Enum/TaxSystem';
|
|
15
|
+
import { Supervision } from '../../../Enum/Supervision';
|
|
15
16
|
import { BalanceSheetState } from '../../../Enum/BalanceSheet';
|
|
16
17
|
export class QueryTaxDeadline {
|
|
17
18
|
}
|
|
@@ -67,6 +68,10 @@ __decorate([
|
|
|
67
68
|
ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' }),
|
|
68
69
|
__metadata("design:type", String)
|
|
69
70
|
], QueryTaxDeadline.prototype, "maximalEndDate", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
ApiPropertyOptional({ description: 'État de la supervision', enum: Supervision }),
|
|
73
|
+
__metadata("design:type", Number)
|
|
74
|
+
], QueryTaxDeadline.prototype, "idSupervisionState", void 0);
|
|
70
75
|
__decorate([
|
|
71
76
|
ApiPropertyOptional({ description: 'Statuts de l\'IS/IR' }),
|
|
72
77
|
IsOptional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTaxDeadline.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,MAAM,OAAO,gBAAgB;
|
|
1
|
+
{"version":3,"file":"QueryTaxDeadline.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/taxD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B;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,gCAAgC,EAAE,CAAC;;wDAC9C;AAGzB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,iCAAiC,EAAE,CAAC;;0DACxD;AAGhB;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,8FAA8F,EAAE,CAAC;;oEAC3G","sourcesContent":["import { IsOptional, IsEnum } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { VatRegime, ToDoOrDone } from '../../..';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { BalanceSheetState } from '../../../Enum/BalanceSheet';\n\nexport class QueryTaxDeadline {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM)' })\n closingDate?: string | string[];\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: number;\n\n @ApiPropertyOptional({ description: 'Date de clôture supérieure ou égale à (format YYYY-MM-DD)' })\n minimalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' })\n maximalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'État de la supervision', enum: Supervision })\n idSupervisionState?: Supervision;\n\n @ApiPropertyOptional({ description: 'Statuts de l\\'IS/IR' })\n @IsOptional()\n @IsEnum(ToDoOrDone)\n idTaxStatus?: ToDoOrDone;\n}\n\nexport class QueryTaxDeadlineStatistics {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM-DD)' })\n closingDate?: string;\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: string;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryUnexport.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/transactions/QueryUnexport.ts"],"names":[],"mappings":"AAOA,qBAAa,aAAa;IAGxB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAKhB,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryUnexport.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/transactions/QueryUnexport.ts"],"names":[],"mappings":"AAOA,qBAAa,aAAa;IAGxB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAKhB,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAM9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryUnexport.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/transactions/QueryUnexport.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,GACpC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAEnG,MAAM,OAAO,aAAa;CAmBzB;AAhBC;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;gDACN;AAIlB;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;8CACR;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"QueryUnexport.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/transactions/QueryUnexport.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,GACpC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAEnG,MAAM,OAAO,aAAa;CAmBzB;AAhBC;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;gDACN;AAIlB;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;8CACR;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;8BACM,KAAK;oDAAS;AAM9B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,IAAI,CAAC,CAAC,iBAAiB,CAAC,EAAE,EAAE,iBAAiB,CAAC,EAAE,CAAC,CAAC;;0DACtB","sourcesContent":["import {\n IsArray, IsIn, IsNumber, IsOptional,\n} from 'class-validator';\nimport { AccountingJournal } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\n\nexport class QueryUnexport {\n @ApiProperty()\n @IsFormattedDateString()\n startDate: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idBankAccount?: Array<number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @IsIn([AccountingJournal.AC, AccountingJournal.VE])\n idAccountingJournal?: number;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryVatDeclaration.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueryVatDeclaration.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":"AAOA,qBAAa,mBAAmB;IAI9B,eAAe,CAAC,EAAE,IAAI,CAAC;IAKvB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAE;IAI3B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAE;CAC1B"}
|
|
@@ -7,8 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsBoolean, IsDate, IsInt, IsOptional, } from 'class-validator';
|
|
10
|
+
import { IsBoolean, IsDate, IsInt, IsOptional, IsString, } from 'class-validator';
|
|
11
11
|
import { ApiPropertyOptional } from '../../../..';
|
|
12
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
12
13
|
export class QueryVatDeclaration {
|
|
13
14
|
}
|
|
14
15
|
__decorate([
|
|
@@ -33,6 +34,7 @@ __decorate([
|
|
|
33
34
|
ApiPropertyOptional(),
|
|
34
35
|
IsBoolean(),
|
|
35
36
|
IsOptional(),
|
|
37
|
+
ToBoolean(),
|
|
36
38
|
__metadata("design:type", Boolean)
|
|
37
39
|
], QueryVatDeclaration.prototype, "isComplete", void 0);
|
|
38
40
|
__decorate([
|
|
@@ -43,7 +45,7 @@ __decorate([
|
|
|
43
45
|
], QueryVatDeclaration.prototype, "idUser", void 0);
|
|
44
46
|
__decorate([
|
|
45
47
|
ApiPropertyOptional(),
|
|
46
|
-
|
|
48
|
+
IsString(),
|
|
47
49
|
IsOptional(),
|
|
48
50
|
__metadata("design:type", Object)
|
|
49
51
|
], QueryVatDeclaration.prototype, "idDeposit", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryVatDeclaration.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EAAE,KAAK,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"QueryVatDeclaration.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/QueryVatDeclaration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,GACpC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,mBAAmB;CAmC/B;AA/BC;IAHC,mBAAmB,EAAE;IACrB,MAAM,EAAE;IACR,UAAU,EAAE;8BACK,IAAI;4DAAC;AAKvB;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;uDACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;sDACM;AAMnB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,UAAU,EAAE;IACZ,SAAS,EAAE;;uDACS;AAKrB;IAHC,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;mDACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACc;AAI3B;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;oDACY","sourcesContent":["import {\n IsBoolean,\n IsDate, IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryVatDeclaration {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n declarationDate?: Date;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @IsOptional()\n @ToBoolean()\n isComplete?: boolean;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n idDeposit?: string | null ;\n\n @ApiPropertyOptional()\n @IsOptional()\n payload?: string | null ;\n}"]}
|
|
@@ -7,7 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
/* IsMimeType, */ IsNumber, IsOptional, IsString, } from 'class-validator';
|
|
11
12
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
13
|
export class PostAttachmentEmailFromLambdaParams {
|
|
13
14
|
}
|
|
@@ -19,7 +20,6 @@ __decorate([
|
|
|
19
20
|
__decorate([
|
|
20
21
|
ApiProperty(),
|
|
21
22
|
IsString(),
|
|
22
|
-
IsMimeType(),
|
|
23
23
|
__metadata("design:type", String)
|
|
24
24
|
], PostAttachmentEmailFromLambdaParams.prototype, "mime", void 0);
|
|
25
25
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"PostAttachmentEmailFromLambdaParams.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/webmail/PostAttachmentEmailFromLambdaParams.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO;AACL,kBAAkB,CAAA,QAAQ,EAAE,UAAU,EAAE,QAAQ,GACjD,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,mCAAmC;CAkB/C;AAfC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;kEACG;AAKd;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;;iEAEE;AAKb;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;sEACQ;AAInB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;qEACM;AAGnB,MAAM,OAAO,0BAA2B,SAAQ,mCAAmC;CAIlF;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;0DACI","sourcesContent":["import {\n /* IsMimeType, */IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsString()\n // @IsMimeType() -> désactivé car pose pb avec certaines PJ ayant un mimetype comme 'image/*'\n mime: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @ApiProperty()\n @IsString()\n filename: string;\n}\n\nexport class CreateAttachmentOldWebmail extends PostAttachmentEmailFromLambdaParams {\n @ApiProperty()\n @IsNumber()\n idMail: number;\n}"]}
|
|
@@ -11,7 +11,7 @@ export interface IVatDeclaration {
|
|
|
11
11
|
idUser: number | null;
|
|
12
12
|
idExercice: number | null;
|
|
13
13
|
idCerfaType: number | null;
|
|
14
|
-
|
|
14
|
+
idDeposit: string | null;
|
|
15
15
|
isComplete: boolean;
|
|
16
16
|
payload: string | null;
|
|
17
17
|
declarationDate: Date | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IVatDeclaration.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IVatDeclaration.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile } from './IFile';\nimport { ICerfaType } from './ICerfaType';\nimport { ICerfaValue } from './ICerfaValue';\nimport { IVatDeclarationCertificate } from './IVatDeclarationCertificate';\nimport { IUser } from './IUser';\nimport { ISociety } from './ISociety';\nimport { IAccountingTransaction } from '../..';\n\n// vatDeclaration\nexport interface IVatDeclaration {\n id?: number;\n idSociety: number;\n idUser: number | null;\n idExercice: number | null;\n idCerfaType: number | null;\n
|
|
1
|
+
{"version":3,"file":"IVatDeclaration.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IVatDeclaration.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile } from './IFile';\nimport { ICerfaType } from './ICerfaType';\nimport { ICerfaValue } from './ICerfaValue';\nimport { IVatDeclarationCertificate } from './IVatDeclarationCertificate';\nimport { IUser } from './IUser';\nimport { ISociety } from './ISociety';\nimport { IAccountingTransaction } from '../..';\n\n// vatDeclaration\nexport interface IVatDeclaration {\n id?: number;\n idSociety: number;\n idUser: number | null;\n idExercice: number | null;\n idCerfaType: number | null;\n idDeposit: string | null;\n isComplete: boolean;\n payload: string | null;\n declarationDate: Date | null;\n entriesGenerate: boolean;\n startDate: string;\n endDate: string;\n ligne01: number | null;\n ligne02: number | null;\n ligne2A: number | null;\n ligne03: number | null;\n ligne04: number | null;\n ligne05: number | null;\n ligne06: number | null;\n ligne07: number | null;\n ligne08: number | null;\n ligne08BaseHt: number | null;\n ligne08Tva: number | null;\n ligne09BaseHt: number | null;\n ligne09Tva: number | null;\n ligne9BBaseHt: number | null;\n ligne9BTva: number | null;\n ligne10BaseHt: number | null;\n ligne10Tva: number | null;\n ligne11BaseHt: number | null;\n ligne11Tva: number | null;\n ligne12: number | null;\n ligne13: number | null;\n ligne14: number | null;\n ligne15: number | null;\n ligne5B: number | null;\n ligne16: number | null;\n ligne7C: number | null;\n ligne17: number | null;\n ligne18: number | null;\n ligne19: number | null;\n ligne20: number | null;\n ligne21: number | null;\n ligne22: number | null;\n ligne23: number | null;\n ligne25: number | null;\n ligne26: number | null;\n ligne27: number | null;\n ligne28: number | null;\n ligne29: number | null;\n ligne32: number | null;\n amountPreleve: number | null;\n tvsPollution3310: number | null;\n tvsPuissance3310: number | null;\n contributionAudio3310: number | null;\n totalHTCompte70AvecTva: number | null;\n totalHTCompteAutreQue70AvecTva: number | null;\n totalHTCompte70sansTvaBiens: number | null;\n totalHTCompte70sansTvaServices: number | null;\n totalHTCompte70TVA20: number | null;\n totalTVACompte70TVA20: number | null;\n totalHTCompte70TVA5_5: number | null;\n totalTVACompte70TVA5_5: number | null;\n totalHTCompte70TVA10: number | null;\n totalTVACompte70TVA10: number | null;\n totalHTCompte70TVA8_5: number | null;\n totalTVACompte70TVA8_5: number | null;\n totalHTCompte70TVA2_1: number | null;\n totalTVACompte70TVA2_1: number | null;\n totalHTCompte70Intracom: number | null;\n totalTVACompte70Intracom: number | null;\n totalTVACompte70Intracom445662: number | null;\n totalHTCompte6Intracom: number | null;\n totalTVACompte6Intracom445200: number | null;\n totalTVACompte6Intracom445662: number | null;\n totalHTCompte6: number | null;\n totalTVACompte6: number | null;\n totalHTCompte2Immobilisation: number | null;\n totalTVACompte2Immobilisation: number | null;\n coefficientDeduction: number | null;\n creditDeTva: number | null;\n creditNeedToBeReported: number | null;\n totalTaxDue: number | null;\n totalTVADeductible: number | null;\n differenceTvaDueTvaDeductible: number | null;\n montantCreditDeTVATransfere: number | null;\n montantTaxesAssimilees: number | null;\n refundAsked: number | null;\n wantCreditTVAReport: boolean | null;\n isNil: boolean | null;\n hasOGA: boolean | null;\n typeRequest3519: number | null;\n dateTypeRequest3519: Date | null;\n comment: string | null;\n totalAPayer: number | null;\n lastCredit: number | null;\n idFile: number | null;\n idAccountingTransaction: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n vatDeclarationFile: IFile;\n cerfaType: ICerfaType;\n cerfaValues: ICerfaValue[];\n vatDeclarationCertificates: IVatDeclarationCertificate[];\n user: IUser;\n society: ISociety;\n accountingTransaction: IAccountingTransaction;\n}\n"]}
|
|
@@ -14,6 +14,12 @@ class GeneralLedger extends _Resource.Resource {
|
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
getBalanceBySociety(params) {
|
|
18
|
+
return this.axios.$get('/generalLedger/balance', {
|
|
19
|
+
params
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
17
23
|
getCsv(params) {
|
|
18
24
|
return this.axios.$get('/generalLedger/csv', {
|
|
19
25
|
params,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeneralLedger.js","mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"GeneralLedger.js","mappings":";;;;;;;AAEA;;AAEM,MAAOA,aAAP,SAA6BC,kBAA7B,CAAqC;AACzCC,cAAY,CAACC,MAAD,EAA2B;AACrC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,gBAAhB,EAAkC;AACvCF;AADuC,KAAlC,CAAP;AAGD;;AAEDG,qBAAmB,CAACH,MAAD,EAA2B;AAC5C,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,wBAAhB,EAA0C;AAC/CF;AAD+C,KAA1C,CAAP;AAGD;;AAEDI,QAAM,CAACJ,MAAD,EAA2B;AAC/B,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,EAAsC;AAC3CF,YAD2C;AAE3CK,kBAAY,EAAE,aAF6B;AAG3CC,aAAO,EAAE;AACPC,cAAM,EAAE;AADD;AAHkC,KAAtC,CAAP;AAOD;;AAEDC,eAAa,CAACR,MAAD,EAA2B;AACtC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,4BAAhB,EAA8C;AACnDF,YADmD;AAEnDK,kBAAY,EAAE,aAFqC;AAGnDC,aAAO,EAAE;AACPC,cAAM,EAAE;AADD;AAH0C,KAA9C,CAAP;AAOD;;AAEDE,QAAM,CAACT,MAAD,EAA2B;AAC/B,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,oBAAhB,EAAsC;AAC3CF,YAD2C;AAE3CK,kBAAY,EAAE,aAF6B;AAG3CC,aAAO,EAAE;AACPC,cAAM,EAAE;AADD;AAHkC,KAAtC,CAAP;AAOD;;AAEDG,eAAa,CAACV,MAAD,EAA2B;AACtC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,4BAAhB,EAA8C;AACnDF,YADmD;AAEnDK,kBAAY,EAAE,aAFqC;AAGnDC,aAAO,EAAE;AACPC,cAAM,EAAE;AADD;AAH0C,KAA9C,CAAP;AAOD;;AAnDwC;;QAA9BV,a,GAAAA,a","names":["GeneralLedger","Resource","getBySociety","params","axios","$get","getBalanceBySociety","getCsv","responseType","headers","Accept","getBalanceCsv","getPdf","getBalancePdf"],"sourceRoot":"","sources":["../../../ts/api/resources/GeneralLedger.ts"],"sourcesContent":["import { BasePaginateInterface, IGeneralLedgerAccount } 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(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/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}"]}
|
|
@@ -13,7 +13,7 @@ class MachineLearning extends _Resource.Resource {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
annotateBankAccountWithMachineLearning(idBankAccount, params) {
|
|
16
|
-
return this.axios.$post(`/transactions/
|
|
16
|
+
return this.axios.$post(`/transactions/machine-learning/bankAccounts/${idBankAccount}`, {
|
|
17
17
|
startDate: params.startDate,
|
|
18
18
|
endDate: params.endDate
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MachineLearning.js","mappings":";;;;;;;AAIA;;AAEM,MAAOA,eAAP,SAA+BC,kBAA/B,CAAuC;AAC3CC,2BAAyB;AACvB,WAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,gCAAjB,CAAP;AACD;;AACDC,wCAAsC,CAACC,aAAD,EAAwBC,MAAxB,EAA2D;AAC/F,WAAO,KAAKJ,KAAL,CAAWC,KAAX,CAAiB,
|
|
1
|
+
{"version":3,"file":"MachineLearning.js","mappings":";;;;;;;AAIA;;AAEM,MAAOA,eAAP,SAA+BC,kBAA/B,CAAuC;AAC3CC,2BAAyB;AACvB,WAAO,KAAKC,KAAL,CAAWC,KAAX,CAAiB,gCAAjB,CAAP;AACD;;AACDC,wCAAsC,CAACC,aAAD,EAAwBC,MAAxB,EAA2D;AAC/F,WAAO,KAAKJ,KAAL,CAAWC,KAAX,CAAiB,+CAA+CE,aAAa,EAA7E,EAAiF;AACtFE,eAAS,EAAED,MAAM,CAACC,SADoE;AAEtFC,aAAO,EAAEF,MAAM,CAACE;AAFsE,KAAjF,CAAP;AAID;;AAT0C;;QAAhCT,e,GAAAA,e","names":["MachineLearning","Resource","machineLearningAnnotation","axios","$post","annotateBankAccountWithMachineLearning","idBankAccount","params","startDate","endDate"],"sourceRoot":"","sources":["../../../ts/api/resources/MachineLearning.ts"],"sourcesContent":["import {\n GetTransactionsBetweenDates,\n ResultCreateMachineLearningAnnotation,\n} from '../..';\nimport { Resource } from '../Resource';\n\nexport class MachineLearning extends Resource {\n machineLearningAnnotation(): Promise<ResultCreateMachineLearningAnnotation> {\n return this.axios.$post('/transactions/machine-learning');\n }\n annotateBankAccountWithMachineLearning(idBankAccount: number, params: GetTransactionsBetweenDates): Promise<ResultCreateMachineLearningAnnotation> {\n return this.axios.$post(`/transactions/machine-learning/bankAccounts/${idBankAccount}`, {\n startDate: params.startDate,\n endDate: params.endDate,\n });\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tax.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,GAAP,SAAmBC,kBAAnB,CAA2B;AAC/BC,QAAM,CAACC,EAAD,EAAW;AACf,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,aAAaF,EAAE,QAA/B,CAAP;AACD;;AACDG,QAAM,CAACH,EAAD,EAAaI,OAAb,EAA+B;AACnC,WAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,aAAaL,EAAE,QAAhC,EAA0CI,OAA1C,CAAP;AACD;;AAEDE,kBAAgB,CAACC,UAAD,EAAmB;AACjC,WAAO,KAAKN,KAAL,CAAWI,KAAX,CAAiB,cAAcE,UAAU,gBAAzC,CAAP;AACD;;AAEDC,eAAa,CAACD,UAAD,EAAmB;AAC9B,WAAO,KAAKN,KAAL,CAAWC,IAAX,CAAgB,cAAcK,UAAU,gBAAxC,CAAP;AACD;;AAd8B;;QAApBV,G,GAAAA,G","names":["Tax","Resource","getAll","id","axios","$get","create","payload","$post","createCompanyTax","idExercice","getCompanyTax"],"sourceRoot":"","sources":["../../../ts/api/resources/Tax.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n ReadTax, CreateTax, ICustomerIsRegime, ReadCompanyTax, IAccountingTransaction,\n} from '../../types';\n\nexport class Tax extends Resource {\n getAll(id: number): Promise<ReadTax> {\n return this.axios.$get(`/exercice/${id}/taxes`);\n }\n create(id: number, payload: CreateTax): Promise<ICustomerIsRegime> {\n return this.axios.$post(`/exercice/${id}/taxes`, payload);\n }\n\n createCompanyTax(idExercice: number): Promise<ReadCompanyTax> {\n return this.axios.$post(`/exercices/${idExercice}/company-taxes`);\n }\n\n getCompanyTax(idExercice: number): Promise<IAccountingTransaction> {\n return this.axios.$get(`/exercices/${idExercice}/company-taxes`);\n }\n}"]}
|
|
1
|
+
{"version":3,"file":"Tax.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,GAAP,SAAmBC,kBAAnB,CAA2B;AAC/BC,QAAM,CAACC,EAAD,EAAW;AACf,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,aAAaF,EAAE,QAA/B,CAAP;AACD;;AACDG,QAAM,CAACH,EAAD,EAAaI,OAAb,EAA+B;AACnC,WAAO,KAAKH,KAAL,CAAWI,KAAX,CAAiB,aAAaL,EAAE,QAAhC,EAA0CI,OAA1C,CAAP;AACD;;AAEDE,kBAAgB,CAACC,UAAD,EAAmB;AACjC,WAAO,KAAKN,KAAL,CAAWI,KAAX,CAAiB,cAAcE,UAAU,gBAAzC,CAAP;AACD;;AAEDC,eAAa,CAACD,UAAD,EAAmB;AAC9B,WAAO,KAAKN,KAAL,CAAWC,IAAX,CAAgB,cAAcK,UAAU,gBAAxC,CAAP;AACD;;AAd8B;;QAApBV,G,GAAAA,G","names":["Tax","Resource","getAll","id","axios","$get","create","payload","$post","createCompanyTax","idExercice","getCompanyTax"],"sourceRoot":"","sources":["../../../ts/api/resources/Tax.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n ReadTax, CreateTax, ICustomerIsRegime, ReadCompanyTax, IAccountingTransaction,\n} from '../../types';\n\nexport class Tax extends Resource {\n getAll(id: number): Promise<ReadTax> {\n return this.axios.$get(`/exercice/${id}/taxes`);\n }\n create(id: number, payload: CreateTax): Promise<ICustomerIsRegime> {\n return this.axios.$post(`/exercice/${id}/taxes`, payload);\n }\n\n createCompanyTax(idExercice: number): Promise<ReadCompanyTax> {\n return this.axios.$post(`/exercices/${idExercice}/company-taxes`);\n }\n\n getCompanyTax(idExercice: number): Promise<IAccountingTransaction> {\n return this.axios.$get(`/exercices/${idExercice}/company-taxes`);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transaction.js","mappings":";;;;;;;AAAA;;AAOM,MAAOA,WAAP,SAA2BC,kBAA3B,CAAmC;AACvCC,sBAAoB,CAACC,SAAD,EAAoBC,MAApB,EASH;AACf,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAYH,SAAS,eAArC,EAAsD;AAC3DC;AAD2D,KAAtD,CAAP;AAGD;;AACDG,QAAM,CAACJ,SAAD,EAAoBK,KAApB,EAAkD;AACtD,WAAO,KAAKH,KAAL,CAAWC,IAAX,CAAgB,YAAYH,SAAS,oBAArC,EAA2D;AAAEC,YAAM,EAAEI;AAAV,KAA3D,CAAP;AACD;;AACDC,UAAQ,CAACN,SAAD,EAAoBC,MAApB,EAAyC;AAC/C,WAAO,KAAKC,KAAL,CAAWK,IAAX,CAAgB,YAAYP,SAAS,wBAArC,EAA+DC,MAA/D,CAAP;AACD;;AACDO,UAAQ,CAACC,EAAD,EAAaC,IAAb,EAA8C;AACpD,WAAO,KAAKR,KAAL,CAAWK,IAAX,CAAgB,iBAAiBE,EAAE,EAAnC,EAAuCC,IAAvC,CAAP;AACD;;AACDC,QAAM,CAACX,SAAD,EAAoBS,EAApB,EAA8B;AAClC,WAAO,KAAKP,KAAL,CAAWU,OAAX,CAAmB,YAAYZ,SAAS,gBAAgBS,EAAE,EAA1D,CAAP;AACD;;AACDI,oBAAkB,CAACJ,EAAD,EAAaC,IAAb,EAAqC;AACrD,WAAO,KAAKR,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,EAEbC,MAFa,EAEuB;AAEpC,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,YAAYH,SAAS,iCAArC,EAAwE;AAAEC;AAAF,KAAxE,CAAP;AACD;;AAEDoB,mBAAiB,CAAChB,KAAD,EAA2B;AAC1C,WAAO,KAAKH,KAAL,CAAWC,IAAX,CAAgB,wCAAhB,EAA0D;AAAEF,YAAM,EAAEI;AAAV,KAA1D,CAAP;AACD;;AAEDiB,KAAG,CAACb,EAAD,EAAW;AACZ,WAAO,KAAKP,KAAL,CAAWC,IAAX,CAAgB,iBAAiBM,EAAE,EAAnC,CAAP;AACD;;AA5DsC;;QAA5BZ,W,GAAAA,W","names":["Transaction","Resource","getFormattedPaginate","idSociety","params","axios","$get","getAll","query","unexport","$put","annotate","id","data","delete","$delete","deleteTransactions","getBalanceQuotaShare","idExercice","createManual","$post","getAllManual","deleteMultipleInvoices","toAnnotateCount","getBankAccountSum","get"],"sourceRoot":"","sources":["../../../ts/api/resources/Transaction.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n AccountingJournal,\n BasePaginate,\n QueryPaginate, ReadFormattedAccountingTransaction, UpdateAccountingTransaction, DeleteTransactions, QueryUnexport, QueryGetAllTransactions, IAccountingTransaction, ReadAccountantBalance, CreateManualEntry, IAccountingEntry, QueryDeleteInvoices, ReadDeletedInvoices, QuerySocietyTransactionCount, ReadSocietyTransactionCount, ReadBankAccountSum, QueryBankAccountSum,\n} from '../../types';\n\nexport class Transaction extends Resource {\n getFormattedPaginate(idSociety: number, params: {\n idAccountingJournal: AccountingJournal,\n idBankAccount?: Array<number>,\n orderBy?: string,\n descending?: boolean,\n startDate?: string,\n endDate?: string,\n onlyDebit?: boolean\n onlyCredit?: boolean\n } & QueryPaginate): Promise<BasePaginate<ReadFormattedAccountingTransaction> | Error> {\n return this.axios.$get(`/society/${idSociety}/transactions`, {\n params,\n });\n }\n getAll(idSociety: number, query: QueryGetAllTransactions): Promise<IAccountingTransaction[]> {\n return this.axios.$get(`/society/${idSociety}/transactions/list`, { params: query });\n }\n unexport(idSociety: number, params: QueryUnexport): Promise<void> {\n return this.axios.$put(`/society/${idSociety}/transactions/unexport`, params);\n }\n annotate(id: number, data: UpdateAccountingTransaction): Promise<ReadFormattedAccountingTransaction | Error> {\n return this.axios.$put(`/transactions/${id}`, data);\n }\n delete(idSociety: number, id: number): Promise<number> {\n return this.axios.$delete(`/society/${idSociety}/transaction/${id}`);\n }\n deleteTransactions(id: number, data: DeleteTransactions): Promise<number | Error> {\n return this.axios.$delete(`/bankAccount/${id}/transactions`, { params: data });\n }\n\n getBalanceQuotaShare(idExercice: number): Promise<Array<ReadAccountantBalance>> {\n return this.axios.$get(`/society/balance/${idExercice}`);\n }\n\n createManual(data: Array<CreateManualEntry>): Promise<IAccountingTransaction> {\n return this.axios.$post('/society/manual-transactions', data);\n }\n\n getAllManual(idExercice: number): Promise<Array<Array<IAccountingEntry>>> {\n return this.axios.$get(`/society/manual-transactions/exercices/${idExercice}`);\n }\n\n deleteMultipleInvoices(idSociety: number, query: QueryDeleteInvoices): Promise<ReadDeletedInvoices> {\n return this.axios.$delete(`/society/${idSociety}/invoice-transactions`, { params: query });\n }\n\n toAnnotateCount(\n idSociety: number,\n params: QuerySocietyTransactionCount,\n ): Promise<ReadSocietyTransactionCount> {\n return this.axios.$get(`/society/${idSociety}/transactions/to-annotate/count`, { params });\n }\n\n getBankAccountSum(query: QueryBankAccountSum): Promise<ReadBankAccountSum> {\n return this.axios.$get('/society/transactions/bank-account-sum', { params: query });\n }\n\n get(id: number): Promise<ReadFormattedAccountingTransaction> {\n return this.axios.$get(`/transactions/${id}`);\n }\n}"]}
|
|
@@ -16,9 +16,7 @@ class VatDeclaration extends _Resource.Resource {
|
|
|
16
16
|
payload: null,
|
|
17
17
|
idDeposit: null
|
|
18
18
|
};
|
|
19
|
-
return this.axios.$put(`/vat-declarations/${id}`,
|
|
20
|
-
params
|
|
21
|
-
});
|
|
19
|
+
return this.axios.$put(`/vat-declarations/${id}`, params);
|
|
22
20
|
}
|
|
23
21
|
|
|
24
22
|
getVariousOperations(id) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VatDeclaration.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,cAAP,SAA8BC,kBAA9B,CAAsC;AAC1CC,4BAA0B,CAACC,EAAD,EAAaC,MAAb,EAA2B;AACnD,UAAMC,MAAM,GAAwB;AAClCD,YADkC;AAC1BE,gBAAU,EAAE,IADc;AACRC,qBAAe,EAAE,IAAIC,IAAJ,EADT;AACqBC,aAAO,EAAE,IAD9B;AACoCC,eAAS,EAAE;AAD/C,KAApC;AAGA,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,qBAAqBT,EAAE,EAAvC,
|
|
1
|
+
{"version":3,"file":"VatDeclaration.js","mappings":";;;;;;;AACA;;AAEM,MAAOA,cAAP,SAA8BC,kBAA9B,CAAsC;AAC1CC,4BAA0B,CAACC,EAAD,EAAaC,MAAb,EAA2B;AACnD,UAAMC,MAAM,GAAwB;AAClCD,YADkC;AAC1BE,gBAAU,EAAE,IADc;AACRC,qBAAe,EAAE,IAAIC,IAAJ,EADT;AACqBC,aAAO,EAAE,IAD9B;AACoCC,eAAS,EAAE;AAD/C,KAApC;AAGA,WAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,qBAAqBT,EAAE,EAAvC,EAA2CE,MAA3C,CAAP;AACD;;AAEDQ,sBAAoB,CAACV,EAAD,EAAW;AAC7B,WAAO,KAAKQ,KAAL,CAAWG,IAAX,CAAgB,qBAAqBX,EAAE,qBAAvC,CAAP;AACD;;AAEDY,yBAAuB,CAACZ,EAAD,EAAW;AAChC,WAAO,KAAKQ,KAAL,CAAWK,KAAX,CAAiB,qBAAqBb,EAAE,qBAAxC,CAAP;AACD;;AAdyC;;QAA/BH,c,GAAAA,c","names":["VatDeclaration","Resource","updateToRegisteredManually","id","idUser","params","isComplete","declarationDate","Date","payload","idDeposit","axios","$put","getVariousOperations","$get","createVariousOperations","$post"],"sourceRoot":"","sources":["../../../ts/api/resources/VatDeclaration.ts"],"sourcesContent":["import { IAccountingTransaction, QueryVatDeclaration, ReadVatVariousOperations } from '../..';\nimport { Resource } from '../Resource';\n\nexport class VatDeclaration extends Resource {\n updateToRegisteredManually(id: number, idUser: number): Promise<boolean> {\n const params: QueryVatDeclaration = {\n idUser, isComplete: true, declarationDate: new Date(), payload: null, idDeposit: null,\n };\n return this.axios.$put(`/vat-declarations/${id}`, params);\n }\n\n getVariousOperations(id: number): Promise<ReadVatVariousOperations[]> {\n return this.axios.$get(`/vat-declarations/${id}/various-operations`);\n }\n\n createVariousOperations(id: number): Promise<IAccountingTransaction[]> {\n return this.axios.$post(`/vat-declarations/${id}/various-operations`);\n }\n}\n"]}
|
|
@@ -139,7 +139,7 @@ const BALANCE_SHEET_LIST_ACTIVE = exports.BALANCE_SHEET_LIST_ACTIVE = [{
|
|
|
139
139
|
total: 0,
|
|
140
140
|
totalDeducted: 0,
|
|
141
141
|
calculation: true,
|
|
142
|
-
calculationAdd: ['fixedAsset'
|
|
142
|
+
calculationAdd: ['fixedAsset'],
|
|
143
143
|
isTotal: true
|
|
144
144
|
}, {
|
|
145
145
|
name: 'ACTIF CIRCULANT',
|
|
@@ -176,11 +176,13 @@ const BALANCE_SHEET_LIST_ACTIVE = exports.BALANCE_SHEET_LIST_ACTIVE = [{
|
|
|
176
176
|
key: 'financialFixedAssets',
|
|
177
177
|
isSubcategory: true,
|
|
178
178
|
fields: [{
|
|
179
|
+
// créance client = lorsque les clients te doivent de l'argent = somme débit > crédit
|
|
179
180
|
name: 'Créances clients et comptes rattachés',
|
|
180
181
|
accounts: ['411', '413', '416', '418'],
|
|
181
182
|
idThirdPartyTypeToAdd: [_ThirdPartyType.ThirdPartyType.CUSTOMER, _Util.MathematicalSign.PLUS],
|
|
182
183
|
accountsDeducted: ['491']
|
|
183
184
|
}, {
|
|
185
|
+
// autres = lorsque les fournisseurs te doivent de l'argent = somme débit > crédit
|
|
184
186
|
name: 'Autres',
|
|
185
187
|
accounts: ['401', '4096', '4097', '4098', '42', '43', '44', '45', '46', '48'],
|
|
186
188
|
idThirdPartyTypeToAdd: [_ThirdPartyType.ThirdPartyType.PROVIDER, _Util.MathematicalSign.PLUS],
|
|
@@ -211,7 +213,7 @@ const BALANCE_SHEET_LIST_ACTIVE = exports.BALANCE_SHEET_LIST_ACTIVE = [{
|
|
|
211
213
|
}, {
|
|
212
214
|
name: 'Disponibilités',
|
|
213
215
|
key: 'availabilities',
|
|
214
|
-
accounts: ['511', '512', '514', '515', '516', '517', '5187', '53', '54'],
|
|
216
|
+
accounts: ['511', '512', '514', '515', '516', '517', '5187', '53', '54', '58'],
|
|
215
217
|
type: 'active'
|
|
216
218
|
}, {
|
|
217
219
|
name: 'Charges constatées d\'avance',
|
|
@@ -303,7 +305,7 @@ const BALANCE_SHEET_LIST_PASSIVE = exports.BALANCE_SHEET_LIST_PASSIVE = [{
|
|
|
303
305
|
}, {
|
|
304
306
|
name: 'Report à nouveau',
|
|
305
307
|
key: 'postponement',
|
|
306
|
-
accounts: ['11'],
|
|
308
|
+
accounts: ['11', '120'],
|
|
307
309
|
isSubcategory: true,
|
|
308
310
|
total: 0
|
|
309
311
|
}, {
|
|
@@ -372,7 +374,7 @@ const BALANCE_SHEET_LIST_PASSIVE = exports.BALANCE_SHEET_LIST_PASSIVE = [{
|
|
|
372
374
|
}, {
|
|
373
375
|
name: 'Emprunts et dettes auprès établissements de crédits (1)',
|
|
374
376
|
key: 'loansCredits',
|
|
375
|
-
accounts: ['164', '16884', '512', '514', '517', '5186', '519'],
|
|
377
|
+
accounts: ['164', '16884', '512', '514', '517', '5186', '519', '53'],
|
|
376
378
|
isSubcategory: true,
|
|
377
379
|
total: 0,
|
|
378
380
|
type: 'passive'
|
|
@@ -394,6 +396,7 @@ const BALANCE_SHEET_LIST_PASSIVE = exports.BALANCE_SHEET_LIST_PASSIVE = [{
|
|
|
394
396
|
name: 'Dettes Fournisseurs et Comptes rattachés',
|
|
395
397
|
key: 'payables',
|
|
396
398
|
accounts: ['401', '403', '4081', '4088'],
|
|
399
|
+
// PASSIF dette fournisseurs = lorsque l'entreprise doit de l'argent au fournisseurs = somme crédit > débit
|
|
397
400
|
idThirdPartyTypeToAdd: [_ThirdPartyType.ThirdPartyType.PROVIDER, _Util.MathematicalSign.LESS],
|
|
398
401
|
isSubcategory: true,
|
|
399
402
|
total: 0,
|
|
@@ -415,7 +418,8 @@ const BALANCE_SHEET_LIST_PASSIVE = exports.BALANCE_SHEET_LIST_PASSIVE = [{
|
|
|
415
418
|
}, {
|
|
416
419
|
name: 'Autres dettes',
|
|
417
420
|
key: 'OtherDebts',
|
|
418
|
-
accounts: ['411', '4196', '4197', '4198', '464', '467', '4686', '478', '509'],
|
|
421
|
+
accounts: ['411', '4196', '4197', '4198', '464', '467', '4686', '471', '478', '509'],
|
|
422
|
+
// PASSIF Autres = lorsque l'entreprise doit de l'argent au client = somme débit > crédit (modifié)
|
|
419
423
|
idThirdPartyTypeToAdd: [_ThirdPartyType.ThirdPartyType.CUSTOMER, _Util.MathematicalSign.LESS],
|
|
420
424
|
isSubcategory: true,
|
|
421
425
|
total: 0,
|