@silexpert/core 1.1.268 → 1.1.271
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/dist/cjs/api/resources/TerminationList.d.ts +2 -1
- package/dist/cjs/api/resources/TerminationList.d.ts.map +1 -1
- package/dist/cjs/api/resources/TerminationList.js +3 -0
- package/dist/cjs/api/resources/TerminationList.js.map +1 -1
- package/dist/cjs/api/resources/Transaction.d.ts +2 -2
- package/dist/cjs/api/resources/Transaction.d.ts.map +1 -1
- package/dist/cjs/api/resources/Transaction.js.map +1 -1
- package/dist/cjs/types/Enum/AccountType.d.ts +28 -0
- package/dist/cjs/types/Enum/AccountType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/AccountType.js +28 -0
- package/dist/cjs/types/Enum/AccountType.js.map +1 -1
- package/dist/cjs/types/Enum/AppointmentState.d.ts +30 -0
- package/dist/cjs/types/Enum/AppointmentState.d.ts.map +1 -0
- package/dist/cjs/types/Enum/AppointmentState.js +34 -0
- package/dist/cjs/types/Enum/AppointmentState.js.map +1 -0
- package/dist/cjs/types/Interface/api/account/Create.d.ts +2 -0
- package/dist/cjs/types/Interface/api/account/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/account/Create.js +12 -0
- package/dist/cjs/types/Interface/api/account/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/account/Update.d.ts +2 -0
- package/dist/cjs/types/Interface/api/account/Update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/account/Update.js +12 -0
- package/dist/cjs/types/Interface/api/account/Update.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +3 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Read.d.ts +2 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Read.js.map +1 -1
- package/dist/cjs/types/Interface/api/prestation/Query.d.ts +1 -0
- package/dist/cjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/prestation/Query.js +6 -0
- package/dist/cjs/types/Interface/api/prestation/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +0 -2
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/QueryPaginateTerminationList.d.ts +2 -0
- package/dist/cjs/types/Interface/api/terminationList/QueryPaginateTerminationList.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js +12 -0
- package/dist/cjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js.map +1 -1
- package/dist/cjs/types/Interface/api/terminationList/Read.d.ts +6 -0
- package/dist/cjs/types/Interface/api/terminationList/Read.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/terminationList/Read.js +3 -0
- package/dist/cjs/types/Interface/api/terminationList/Read.js.map +1 -0
- package/dist/cjs/types/Interface/models/IPrestation.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IPrestation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPrestation.js.map +1 -1
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/document.d.ts.map +1 -1
- package/dist/cjs/utils/commercialManagement/document.js +21 -11
- package/dist/cjs/utils/commercialManagement/document.js.map +1 -1
- package/dist/cjs/utils/commercialManagement/vat.d.ts.map +1 -1
- package/dist/cjs/utils/commercialManagement/vat.js +3 -1
- package/dist/cjs/utils/commercialManagement/vat.js.map +1 -1
- package/dist/mjs/api/resources/TerminationList.d.ts +2 -1
- package/dist/mjs/api/resources/TerminationList.d.ts.map +1 -1
- package/dist/mjs/api/resources/TerminationList.js +3 -0
- package/dist/mjs/api/resources/TerminationList.js.map +1 -1
- package/dist/mjs/api/resources/Transaction.d.ts +2 -2
- package/dist/mjs/api/resources/Transaction.d.ts.map +1 -1
- package/dist/mjs/api/resources/Transaction.js.map +1 -1
- package/dist/mjs/types/Enum/AccountType.d.ts +28 -0
- package/dist/mjs/types/Enum/AccountType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/AccountType.js +28 -0
- package/dist/mjs/types/Enum/AccountType.js.map +1 -1
- package/dist/mjs/types/Enum/AppointmentState.d.ts +30 -0
- package/dist/mjs/types/Enum/AppointmentState.d.ts.map +1 -0
- package/dist/mjs/types/Enum/AppointmentState.js +31 -0
- package/dist/mjs/types/Enum/AppointmentState.js.map +1 -0
- package/dist/mjs/types/Interface/api/account/Create.d.ts +2 -0
- package/dist/mjs/types/Interface/api/account/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/account/Create.js +15 -1
- package/dist/mjs/types/Interface/api/account/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/account/Update.d.ts +2 -0
- package/dist/mjs/types/Interface/api/account/Update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/account/Update.js +15 -1
- package/dist/mjs/types/Interface/api/account/Update.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +3 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js +2 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Read.d.ts +2 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Read.js.map +1 -1
- package/dist/mjs/types/Interface/api/prestation/Query.d.ts +1 -0
- package/dist/mjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/prestation/Query.js +7 -0
- package/dist/mjs/types/Interface/api/prestation/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts +0 -2
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/taxDeadline/ReadTaxDeadline.js.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/QueryPaginateTerminationList.d.ts +2 -0
- package/dist/mjs/types/Interface/api/terminationList/QueryPaginateTerminationList.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js +14 -0
- package/dist/mjs/types/Interface/api/terminationList/QueryPaginateTerminationList.js.map +1 -1
- package/dist/mjs/types/Interface/api/terminationList/Read.d.ts +6 -0
- package/dist/mjs/types/Interface/api/terminationList/Read.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/terminationList/Read.js +2 -0
- package/dist/mjs/types/Interface/api/terminationList/Read.js.map +1 -0
- package/dist/mjs/types/Interface/models/IPrestation.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IPrestation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPrestation.js.map +1 -1
- package/dist/mjs/types/index.d.ts +2 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +2 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/document.d.ts.map +1 -1
- package/dist/mjs/utils/commercialManagement/document.js +14 -0
- package/dist/mjs/utils/commercialManagement/document.js.map +1 -1
- package/dist/mjs/utils/commercialManagement/vat.d.ts.map +1 -1
- package/dist/mjs/utils/commercialManagement/vat.js +2 -0
- package/dist/mjs/utils/commercialManagement/vat.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/TerminationList.ts +5 -1
- package/ts/api/resources/Transaction.ts +2 -1
- package/ts/types/Enum/AccountType.ts +28 -0
- package/ts/types/Enum/AppointmentState.ts +31 -0
- package/ts/types/Interface/api/account/Create.ts +11 -1
- package/ts/types/Interface/api/account/Update.ts +12 -1
- package/ts/types/Interface/api/commercialManagement/Create.ts +3 -1
- package/ts/types/Interface/api/commercialManagement/Read.ts +2 -0
- package/ts/types/Interface/api/prestation/Query.ts +5 -0
- package/ts/types/Interface/api/taxDeadline/ReadTaxDeadline.ts +1 -2
- package/ts/types/Interface/api/terminationList/QueryPaginateTerminationList.ts +10 -0
- package/ts/types/Interface/api/terminationList/Read.ts +5 -0
- package/ts/types/Interface/models/IPrestation.ts +1 -0
- package/ts/types/index.ts +2 -0
- package/ts/utils/commercialManagement/document.ts +18 -1
- package/ts/utils/commercialManagement/vat.ts +2 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationList } from '../../types';
|
|
1
|
+
import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationList, TerminationStatistics } from '../../types';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
export declare class TerminationList extends Resource {
|
|
4
4
|
get(params: QueryTerminationList): Promise<ITerminationList>;
|
|
5
5
|
getPaginate(params: QueryPaginateTerminationList): Promise<BasePaginate<ITerminationList>>;
|
|
6
|
+
getStatistics(params: QueryPaginateTerminationList): Promise<TerminationStatistics>;
|
|
6
7
|
create(params: CreateTerminationList): Promise<ITerminationList>;
|
|
7
8
|
delete(params: DestroyTerminationList): Promise<number>;
|
|
8
9
|
update(id: number, params: Partial<ITerminationList>): Promise<ITerminationList>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TerminationList.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/TerminationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"TerminationList.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/TerminationList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACvL,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,eAAgB,SAAQ,QAAQ;IACpC,GAAG,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI5D,WAAW,CAAC,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC;IAI1F,aAAa,CAAC,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAInF,MAAM,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIhE,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC;IAIvD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAGxF"}
|
|
@@ -9,6 +9,9 @@ class TerminationList extends Resource_1.Resource {
|
|
|
9
9
|
getPaginate(params) {
|
|
10
10
|
return this.axios.$get('/termination-lists/paginate', { params });
|
|
11
11
|
}
|
|
12
|
+
getStatistics(params) {
|
|
13
|
+
return this.axios.$get('/termination-lists/statistics', { params });
|
|
14
|
+
}
|
|
12
15
|
create(params) {
|
|
13
16
|
return this.axios.$post('/termination-lists', params);
|
|
14
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TerminationList.js","sourceRoot":"","sources":["../../../../ts/api/resources/TerminationList.ts"],"names":[],"m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AAC;IACtE,CAAC;IAEM,MAAM,CAAC,MAA6B;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;IAEM,MAAM,CAAC,MAA8B;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9D,CAAC;IAEM,MAAM,CAAC,EAAU,EAAE,MAAiC;QACzD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;IAC/D,CAAC;CACF;AAxBD,0CAwBC","sourcesContent":["import { BasePaginate, CreateTerminationList, DestroyTerminationList, ITerminationList, QueryPaginateTerminationList, QueryTerminationList, TerminationStatistics } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class TerminationList extends Resource {\n public get(params: QueryTerminationList): Promise<ITerminationList> {\n return this.axios.$get('/termination-lists', { params });\n }\n\n public getPaginate(params: QueryPaginateTerminationList): Promise<BasePaginate<ITerminationList>> {\n return this.axios.$get('/termination-lists/paginate', { params });\n }\n\n public getStatistics(params: QueryPaginateTerminationList): Promise<TerminationStatistics> {\n return this.axios.$get('/termination-lists/statistics', { params });\n }\n\n public create(params: CreateTerminationList): Promise<ITerminationList> {\n return this.axios.$post('/termination-lists', params);\n }\n\n public delete(params: DestroyTerminationList): Promise<number> {\n return this.axios.$delete('/termination-lists', { params });\n }\n\n public update(id: number, params: Partial<ITerminationList>): Promise<ITerminationList> {\n return this.axios.$patch(`/termination-lists/${id}`, params);\n }\n}"]}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
|
-
import { BasePaginate, ReadFormattedAccountingTransaction, UpdateAccountingTransaction, DeleteTransactions, QueryUnexport, QueryGetAllTransactions, IAccountingTransaction, ReadAccountantBalance, CreateManualEntry, IAccountingEntry, QueryDeleteInvoices, ReadDeletedInvoices, QuerySocietyTransactionCount, ReadSocietyTransactionCount, ReadBankAccountSum, QueryBankAccountSum, QueryTransaction, ReadPartnerTransactionType, DuplicateAccountingTransaction, CreateWithMasterEntry } from '../../types';
|
|
3
|
+
import { BasePaginate, ReadFormattedAccountingTransaction, UpdateAccountingTransaction, DeleteTransactions, QueryUnexport, QueryGetAllTransactions, IAccountingTransaction, ReadAccountantBalance, CreateManualEntry, IAccountingEntry, QueryDeleteInvoices, ReadDeletedInvoices, QuerySocietyTransactionCount, ReadSocietyTransactionCount, ReadBankAccountSum, QueryBankAccountSum, QueryTransaction, ReadPartnerTransactionType, DuplicateAccountingTransaction, CreateWithMasterEntry, QueryExport } from '../../types';
|
|
4
4
|
export declare class Transaction extends Resource {
|
|
5
5
|
getFormattedPaginate(idSociety: number, params: QueryTransaction): Promise<BasePaginate<ReadFormattedAccountingTransaction>>;
|
|
6
6
|
exportInfo(idSociety: number, params: QueryTransaction): Promise<Buffer>;
|
|
7
7
|
update(id: number, params: Partial<IAccountingTransaction>): Promise<IAccountingTransaction>;
|
|
8
8
|
getAll(idSociety: number, query: QueryGetAllTransactions): Promise<IAccountingTransaction[]>;
|
|
9
9
|
unexport(idSociety: number, params: QueryUnexport): Promise<number>;
|
|
10
|
-
export(idSociety: number, params:
|
|
10
|
+
export(idSociety: number, params: QueryExport): Promise<number>;
|
|
11
11
|
annotate(id: number, data: UpdateAccountingTransaction): Promise<ReadFormattedAccountingTransaction>;
|
|
12
12
|
delete(idSociety: number, id: number): Promise<number>;
|
|
13
13
|
deleteTransactions(id: number, data: DeleteTransactions): Promise<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Transaction.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,YAAY,EACZ,kCAAkC,EAAE,2BAA2B,EAA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CAAC;IAIjC,kBAAkB,IAAI,OAAO,CAAC,0BAA0B,EAAE,CAAC;IAI3D,SAAS,CAAC,IAAI,EAAE,8BAA8B,GAAG,OAAO,CAAC,MAAM,CAAC;CAGjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transaction.js","sourceRoot":"","sources":["../../../../ts/api/resources/Transaction.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;
|
|
1
|
+
{"version":3,"file":"Transaction.js","sourceRoot":"","sources":["../../../../ts/api/resources/Transaction.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAOvC,MAAa,WAAY,SAAQ,mBAAQ;IACvC,oBAAoB,CAAC,SAAiB,EAAE,MAAwB;QAC9D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,SAAS,eAAe,EAAE;YAC3D,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED,UAAU,CAAC,SAAiB,EAAE,MAAwB;QACpD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,SAAS,sBAAsB,EAAE;YAClE,MAAM;YACN,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,MAAuC;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,iBAAiB,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC;IAED,MAAM,CAAC,SAAiB,EAAE,KAA8B;QACtD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,SAAS,oBAAoB,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IACvF,CAAC;IACD,QAAQ,CAAC,SAAiB,EAAE,MAAqB;QAC/C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,SAAS,wBAAwB,EAAE,MAAM,CAAC,CAAC;IAChF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,CAAC,YAAY,SAAS,uBAAuB,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED,eAAe,CACb,SAAiB,EACjB,MAAoC;QAEpC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,SAAS,iCAAiC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED,iBAAiB,CAAC,KAA0B;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,wCAAwC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IACtF,CAAC;IAED,GAAG,CAAC,EAAU;QACZ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;IAChD,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;IACjE,CAAC;IAED,kBAAkB;QAChB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;IACzD,CAAC;IAED,SAAS,CAAC,IAAoC;QAC5C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,yBAAyB,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;CACF;AAvFD,kCAuFC","sourcesContent":["import { Resource } from '../Resource';\nimport {\n BasePaginate,\n ReadFormattedAccountingTransaction, UpdateAccountingTransaction, DeleteTransactions, QueryUnexport, QueryGetAllTransactions, IAccountingTransaction, ReadAccountantBalance, CreateManualEntry, IAccountingEntry, QueryDeleteInvoices, ReadDeletedInvoices, QuerySocietyTransactionCount, ReadSocietyTransactionCount, ReadBankAccountSum, QueryBankAccountSum, QueryTransaction, ReadPartnerTransactionType, DuplicateAccountingTransaction, CreateWithMasterEntry,\n QueryExport,\n} from '../../types';\n\nexport class Transaction extends Resource {\n getFormattedPaginate(idSociety: number, params: QueryTransaction): Promise<BasePaginate<ReadFormattedAccountingTransaction>> {\n return this.axios.$get(`/society/${idSociety}/transactions`, {\n params,\n });\n }\n\n exportInfo(idSociety: number, params: QueryTransaction): Promise<Buffer> {\n return this.axios.$get(`/society/${idSociety}/transactions/export`, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n update(id: number, params: Partial<IAccountingTransaction>): Promise<IAccountingTransaction> {\n return this.axios.$patch(`/transactions/${id}`, 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<number> {\n return this.axios.$put(`/society/${idSociety}/transactions/unexport`, params);\n }\n\n export(idSociety: number, params: QueryExport): Promise<number> {\n return this.axios.$put(`/society/${idSociety}/transactions/export`, params);\n }\n annotate(id: number, data: UpdateAccountingTransaction): Promise<ReadFormattedAccountingTransaction> {\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> {\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(idSociety: number, data: Array<CreateManualEntry>): Promise<IAccountingTransaction> {\n return this.axios.$post(`/society/${idSociety}/manual-transactions`, data);\n }\n\n createWithMasterEntry(idSociety: number, data: Array<CreateWithMasterEntry>): Promise<IAccountingTransaction> {\n return this.axios.$post(`/society/${idSociety}/transactions`, data);\n }\n\n getAllManual(idSociety: number, idExercice: number): Promise<Array<Array<IAccountingEntry>>> {\n return this.axios.$get(`/society/${idSociety}/exercices/${idExercice}/manual-transactions`);\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\n getCashdeskSum(): Promise<number> {\n return this.axios.$get('/societies/transactions/cashdesk-sum');\n }\n\n getAllPartnerTypes(): Promise<ReadPartnerTransactionType[]> {\n return this.axios.$get('/transactions/partners-types');\n }\n\n duplicate(data: DuplicateAccountingTransaction): Promise<number> {\n return this.axios.$post('/transactions/duplicate', data);\n }\n}"]}
|
|
@@ -3,141 +3,169 @@ export declare const AccountType: {
|
|
|
3
3
|
id: number;
|
|
4
4
|
color: string;
|
|
5
5
|
icon: string;
|
|
6
|
+
name: string;
|
|
6
7
|
};
|
|
7
8
|
BANQUES: {
|
|
8
9
|
id: number;
|
|
9
10
|
color: string;
|
|
10
11
|
icon: string;
|
|
12
|
+
name: string;
|
|
11
13
|
};
|
|
12
14
|
DEPENSES_DIVERSES: {
|
|
13
15
|
id: number;
|
|
14
16
|
color: string;
|
|
15
17
|
icon: string;
|
|
18
|
+
name: string;
|
|
16
19
|
};
|
|
17
20
|
SOUS_TRAITANCES: {
|
|
18
21
|
id: number;
|
|
19
22
|
color: string;
|
|
20
23
|
icon: string;
|
|
24
|
+
name: string;
|
|
21
25
|
};
|
|
22
26
|
ACHAT_MARCHANDISES: {
|
|
23
27
|
id: number;
|
|
24
28
|
color: string;
|
|
25
29
|
icon: string;
|
|
30
|
+
name: string;
|
|
26
31
|
};
|
|
27
32
|
CHARGES_SOCIALES: {
|
|
28
33
|
id: number;
|
|
29
34
|
color: string;
|
|
30
35
|
icon: string;
|
|
36
|
+
name: string;
|
|
31
37
|
};
|
|
32
38
|
TAXES: {
|
|
33
39
|
id: number;
|
|
34
40
|
color: string;
|
|
35
41
|
icon: string;
|
|
42
|
+
name: string;
|
|
36
43
|
};
|
|
37
44
|
FONCTIONNEMENT: {
|
|
38
45
|
id: number;
|
|
39
46
|
color: string;
|
|
40
47
|
icon: string;
|
|
48
|
+
name: string;
|
|
41
49
|
};
|
|
42
50
|
RECETTES_PRODUCTION: {
|
|
43
51
|
id: number;
|
|
44
52
|
color: string;
|
|
45
53
|
icon: string;
|
|
54
|
+
name: string;
|
|
46
55
|
};
|
|
47
56
|
RECETTES_NEGOCE: {
|
|
48
57
|
id: number;
|
|
49
58
|
color: string;
|
|
50
59
|
icon: string;
|
|
60
|
+
name: string;
|
|
51
61
|
};
|
|
52
62
|
RECETTES_DIVERSES: {
|
|
53
63
|
id: number;
|
|
54
64
|
color: string;
|
|
55
65
|
icon: string;
|
|
66
|
+
name: string;
|
|
56
67
|
};
|
|
57
68
|
AUTRES: {
|
|
58
69
|
id: number;
|
|
59
70
|
color: string;
|
|
60
71
|
icon: string;
|
|
72
|
+
name: string;
|
|
61
73
|
};
|
|
62
74
|
ACHATS: {
|
|
63
75
|
id: number;
|
|
64
76
|
color: string;
|
|
65
77
|
icon: string;
|
|
78
|
+
name: string;
|
|
66
79
|
};
|
|
67
80
|
SALAIRES: {
|
|
68
81
|
id: number;
|
|
69
82
|
color: string;
|
|
70
83
|
icon: string;
|
|
84
|
+
name: string;
|
|
71
85
|
};
|
|
72
86
|
IMMOBILIER: {
|
|
73
87
|
id: number;
|
|
74
88
|
color: string;
|
|
75
89
|
icon: string;
|
|
90
|
+
name: string;
|
|
76
91
|
};
|
|
77
92
|
SERVICES: {
|
|
78
93
|
id: number;
|
|
79
94
|
color: string;
|
|
80
95
|
icon: string;
|
|
96
|
+
name: string;
|
|
81
97
|
};
|
|
82
98
|
ABONNEMENTS: {
|
|
83
99
|
id: number;
|
|
84
100
|
color: string;
|
|
85
101
|
icon: string;
|
|
102
|
+
name: string;
|
|
86
103
|
};
|
|
87
104
|
DEPENSES_COURANTES: {
|
|
88
105
|
id: number;
|
|
89
106
|
color: string;
|
|
90
107
|
icon: string;
|
|
108
|
+
name: string;
|
|
91
109
|
};
|
|
92
110
|
TRANSPORTS: {
|
|
93
111
|
id: number;
|
|
94
112
|
color: string;
|
|
95
113
|
icon: string;
|
|
114
|
+
name: string;
|
|
96
115
|
};
|
|
97
116
|
ADMINISTRATIF: {
|
|
98
117
|
id: number;
|
|
99
118
|
color: string;
|
|
100
119
|
icon: string;
|
|
120
|
+
name: string;
|
|
101
121
|
};
|
|
102
122
|
PUBLICITES_ET_MISSIONS: {
|
|
103
123
|
id: number;
|
|
104
124
|
color: string;
|
|
105
125
|
icon: string;
|
|
126
|
+
name: string;
|
|
106
127
|
};
|
|
107
128
|
DIVERS: {
|
|
108
129
|
id: number;
|
|
109
130
|
color: string;
|
|
110
131
|
icon: string;
|
|
132
|
+
name: string;
|
|
111
133
|
};
|
|
112
134
|
FINANCES: {
|
|
113
135
|
id: number;
|
|
114
136
|
color: string;
|
|
115
137
|
icon: string;
|
|
138
|
+
name: string;
|
|
116
139
|
};
|
|
117
140
|
IMMOBILISATIONS: {
|
|
118
141
|
id: number;
|
|
119
142
|
color: string;
|
|
120
143
|
icon: string;
|
|
144
|
+
name: string;
|
|
121
145
|
};
|
|
122
146
|
TIERS: {
|
|
123
147
|
id: number;
|
|
124
148
|
color: string;
|
|
125
149
|
icon: string;
|
|
150
|
+
name: string;
|
|
126
151
|
};
|
|
127
152
|
STOCKS: {
|
|
128
153
|
id: number;
|
|
129
154
|
color: string;
|
|
130
155
|
icon: string;
|
|
156
|
+
name: string;
|
|
131
157
|
};
|
|
132
158
|
ACHATS_MATIERE_PREMIERE: {
|
|
133
159
|
id: number;
|
|
134
160
|
color: string;
|
|
135
161
|
icon: string;
|
|
162
|
+
name: string;
|
|
136
163
|
};
|
|
137
164
|
ACHATS_EXTERNES: {
|
|
138
165
|
id: number;
|
|
139
166
|
color: string;
|
|
140
167
|
icon: string;
|
|
168
|
+
name: string;
|
|
141
169
|
};
|
|
142
170
|
};
|
|
143
171
|
//# sourceMappingURL=AccountType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/AccountType.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"AccountType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/AccountType.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyKvB,CAAC"}
|
|
@@ -6,141 +6,169 @@ exports.AccountType = {
|
|
|
6
6
|
id: 1,
|
|
7
7
|
color: '#8765D0',
|
|
8
8
|
icon: 'TravelExpenses',
|
|
9
|
+
name: 'Déplacement',
|
|
9
10
|
},
|
|
10
11
|
BANQUES: {
|
|
11
12
|
id: 2,
|
|
12
13
|
color: '#FF7E3C',
|
|
13
14
|
icon: 'BankFees',
|
|
15
|
+
name: 'Banque',
|
|
14
16
|
},
|
|
15
17
|
DEPENSES_DIVERSES: {
|
|
16
18
|
id: 3,
|
|
17
19
|
color: '#FFB13C',
|
|
18
20
|
icon: 'MiscExpenses',
|
|
21
|
+
name: 'Dépenses diverses',
|
|
19
22
|
},
|
|
20
23
|
SOUS_TRAITANCES: {
|
|
21
24
|
id: 4,
|
|
22
25
|
color: '#A35305',
|
|
23
26
|
icon: 'ServicesAndSubcontracting',
|
|
27
|
+
name: 'Sous-traitances',
|
|
24
28
|
},
|
|
25
29
|
ACHAT_MARCHANDISES: {
|
|
26
30
|
id: 5,
|
|
27
31
|
color: '#FFB13C',
|
|
28
32
|
icon: 'Buyings',
|
|
33
|
+
name: 'Achat marchandises',
|
|
29
34
|
},
|
|
30
35
|
CHARGES_SOCIALES: {
|
|
31
36
|
id: 6,
|
|
32
37
|
color: '#C72B16',
|
|
33
38
|
icon: 'SalariesAndSocialCharges',
|
|
39
|
+
name: 'charges sociales',
|
|
34
40
|
},
|
|
35
41
|
TAXES: {
|
|
36
42
|
id: 8,
|
|
37
43
|
color: '#C72B16',
|
|
38
44
|
icon: 'Taxes',
|
|
45
|
+
name: 'Taxes',
|
|
39
46
|
},
|
|
40
47
|
FONCTIONNEMENT: {
|
|
41
48
|
id: 9,
|
|
42
49
|
color: '#84908D',
|
|
43
50
|
icon: 'FixedChargesAndSubscriptions',
|
|
51
|
+
name: 'Fonctionnement',
|
|
44
52
|
},
|
|
45
53
|
RECETTES_PRODUCTION: {
|
|
46
54
|
id: 10,
|
|
47
55
|
color: '#65D09A',
|
|
48
56
|
icon: 'ProductionIncomes',
|
|
57
|
+
name: 'Recettes production',
|
|
49
58
|
},
|
|
50
59
|
RECETTES_NEGOCE: {
|
|
51
60
|
id: 11,
|
|
52
61
|
color: '#65D09A',
|
|
53
62
|
icon: 'TradingIncomes',
|
|
63
|
+
name: 'recettes négoce',
|
|
54
64
|
},
|
|
55
65
|
RECETTES_DIVERSES: {
|
|
56
66
|
id: 12,
|
|
57
67
|
color: '#65D09A',
|
|
58
68
|
icon: 'MiscIncomes',
|
|
69
|
+
name: 'Recettes diverses',
|
|
59
70
|
},
|
|
60
71
|
AUTRES: {
|
|
61
72
|
id: 13,
|
|
62
73
|
color: '#FFB13C',
|
|
63
74
|
icon: 'Others',
|
|
75
|
+
name: 'Autres',
|
|
64
76
|
},
|
|
65
77
|
ACHATS: {
|
|
66
78
|
id: 14,
|
|
67
79
|
color: '#FFB13C',
|
|
68
80
|
icon: 'Buyings',
|
|
81
|
+
name: 'Achats',
|
|
69
82
|
},
|
|
70
83
|
SALAIRES: {
|
|
71
84
|
id: 15,
|
|
72
85
|
color: '#C72B16',
|
|
73
86
|
icon: 'SalariesAndSocialCharges',
|
|
87
|
+
name: 'Salaires',
|
|
74
88
|
},
|
|
75
89
|
IMMOBILIER: {
|
|
76
90
|
id: 16,
|
|
77
91
|
color: '#088C4A',
|
|
78
92
|
icon: 'RealEstate',
|
|
93
|
+
name: 'Immobilier',
|
|
79
94
|
},
|
|
80
95
|
SERVICES: {
|
|
81
96
|
id: 17,
|
|
82
97
|
color: '#A35305',
|
|
83
98
|
icon: 'ServicesAndSubcontracting',
|
|
99
|
+
name: 'Services',
|
|
84
100
|
},
|
|
85
101
|
ABONNEMENTS: {
|
|
86
102
|
id: 18,
|
|
87
103
|
color: '#E74242',
|
|
88
104
|
icon: 'FixedChargesAndSubscriptions',
|
|
105
|
+
name: 'Abonnements',
|
|
89
106
|
},
|
|
90
107
|
DEPENSES_COURANTES: {
|
|
91
108
|
id: 19,
|
|
92
109
|
color: '#FFB13C',
|
|
93
110
|
icon: 'MiscExpenses',
|
|
111
|
+
name: 'Dépenses courantes',
|
|
94
112
|
},
|
|
95
113
|
TRANSPORTS: {
|
|
96
114
|
id: 20,
|
|
97
115
|
color: '#8765D0',
|
|
98
116
|
icon: 'FreightTransport',
|
|
117
|
+
name: 'Transports',
|
|
99
118
|
},
|
|
100
119
|
ADMINISTRATIF: {
|
|
101
120
|
id: 21,
|
|
102
121
|
color: '#5894EF',
|
|
103
122
|
icon: 'Administrative',
|
|
123
|
+
name: 'Administratif',
|
|
104
124
|
},
|
|
105
125
|
PUBLICITES_ET_MISSIONS: {
|
|
106
126
|
id: 22,
|
|
107
127
|
color: '#088C4A',
|
|
108
128
|
icon: 'AdvertisingCommunication',
|
|
129
|
+
name: 'Publicités et missions',
|
|
109
130
|
},
|
|
110
131
|
DIVERS: {
|
|
111
132
|
id: 23,
|
|
112
133
|
color: '#FFB13C',
|
|
113
134
|
icon: 'Others',
|
|
135
|
+
name: 'Divers',
|
|
114
136
|
},
|
|
115
137
|
FINANCES: {
|
|
116
138
|
id: 24,
|
|
117
139
|
color: '#FF7E3C',
|
|
118
140
|
icon: 'Finances',
|
|
141
|
+
name: 'Finances',
|
|
119
142
|
},
|
|
120
143
|
IMMOBILISATIONS: {
|
|
121
144
|
id: 25,
|
|
122
145
|
color: '#5894EF',
|
|
123
146
|
icon: 'CapitalAssets',
|
|
147
|
+
name: 'Immobilisations',
|
|
124
148
|
},
|
|
125
149
|
TIERS: {
|
|
126
150
|
id: 27,
|
|
127
151
|
color: '#26D395',
|
|
128
152
|
icon: 'Tiers',
|
|
153
|
+
name: 'Tiers',
|
|
129
154
|
},
|
|
130
155
|
STOCKS: {
|
|
131
156
|
id: 28,
|
|
132
157
|
color: '#C2C1C1',
|
|
133
158
|
icon: 'Stocks',
|
|
159
|
+
name: 'Stocks',
|
|
134
160
|
},
|
|
135
161
|
ACHATS_MATIERE_PREMIERE: {
|
|
136
162
|
id: 29,
|
|
137
163
|
color: '#FFB13C',
|
|
138
164
|
icon: 'Buyings',
|
|
165
|
+
name: 'Achats matière première',
|
|
139
166
|
},
|
|
140
167
|
ACHATS_EXTERNES: {
|
|
141
168
|
id: 30,
|
|
142
169
|
color: '#FFB13C',
|
|
143
170
|
icon: 'Buyings',
|
|
171
|
+
name: 'Achars Externes',
|
|
144
172
|
},
|
|
145
173
|
};
|
|
146
174
|
//# sourceMappingURL=AccountType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/AccountType.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,YAAY,EAAE;QACZ,EAAE,EAAE,CAAC;QACL,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,gBAAgB;
|
|
1
|
+
{"version":3,"file":"AccountType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/AccountType.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,YAAY,EAAE;QACZ,EAA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E,0BAA0B;QAChC,IAAI,EAAE,wBAAwB;KAC/B;IACD,MAAM,EAAE;QACN,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;KACf;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,UAAU;KACjB;IACD,eAAe,EAAE;QACf,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,iBAAiB;KACxB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,OAAO;KACd;IACD,MAAM,EAAE;QACN,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;KACf;IACD,uBAAuB,EAAE;QACvB,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,yBAAyB;KAChC;IACD,eAAe,EAAE;QACf,EAAE,EAAE,EAAE;QACN,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,iBAAiB;KACxB;CACF,CAAC","sourcesContent":["export const AccountType = {\n DEPLACEMENTS: {\n id: 1,\n color: '#8765D0',\n icon: 'TravelExpenses',\n name: 'Déplacement',\n },\n BANQUES: {\n id: 2,\n color: '#FF7E3C',\n icon: 'BankFees',\n name: 'Banque',\n },\n DEPENSES_DIVERSES: {\n id: 3,\n color: '#FFB13C',\n icon: 'MiscExpenses',\n name: 'Dépenses diverses',\n },\n SOUS_TRAITANCES: {\n id: 4,\n color: '#A35305',\n icon: 'ServicesAndSubcontracting',\n name: 'Sous-traitances',\n },\n ACHAT_MARCHANDISES: {\n id: 5,\n color: '#FFB13C',\n icon: 'Buyings',\n name: 'Achat marchandises',\n },\n CHARGES_SOCIALES: {\n id: 6,\n color: '#C72B16',\n icon: 'SalariesAndSocialCharges',\n name: 'charges sociales',\n },\n TAXES: {\n id: 8,\n color: '#C72B16',\n icon: 'Taxes',\n name: 'Taxes',\n },\n FONCTIONNEMENT: {\n id: 9,\n color: '#84908D',\n icon: 'FixedChargesAndSubscriptions',\n name: 'Fonctionnement',\n },\n RECETTES_PRODUCTION: {\n id: 10,\n color: '#65D09A',\n icon: 'ProductionIncomes',\n name: 'Recettes production',\n },\n RECETTES_NEGOCE: {\n id: 11,\n color: '#65D09A',\n icon: 'TradingIncomes',\n name: 'recettes négoce',\n },\n RECETTES_DIVERSES: {\n id: 12,\n color: '#65D09A',\n icon: 'MiscIncomes',\n name: 'Recettes diverses',\n },\n AUTRES: {\n id: 13,\n color: '#FFB13C',\n icon: 'Others',\n name: 'Autres',\n },\n ACHATS: {\n id: 14,\n color: '#FFB13C',\n icon: 'Buyings',\n name: 'Achats',\n },\n SALAIRES: {\n id: 15,\n color: '#C72B16',\n icon: 'SalariesAndSocialCharges',\n name: 'Salaires',\n },\n IMMOBILIER: {\n id: 16,\n color: '#088C4A',\n icon: 'RealEstate',\n name: 'Immobilier',\n },\n SERVICES: {\n id: 17,\n color: '#A35305',\n icon: 'ServicesAndSubcontracting',\n name: 'Services',\n },\n ABONNEMENTS: {\n id: 18,\n color: '#E74242',\n icon: 'FixedChargesAndSubscriptions',\n name: 'Abonnements',\n },\n DEPENSES_COURANTES: {\n id: 19,\n color: '#FFB13C',\n icon: 'MiscExpenses',\n name: 'Dépenses courantes',\n },\n TRANSPORTS: {\n id: 20,\n color: '#8765D0',\n icon: 'FreightTransport',\n name: 'Transports',\n },\n ADMINISTRATIF: {\n id: 21,\n color: '#5894EF',\n icon: 'Administrative',\n name: 'Administratif',\n },\n PUBLICITES_ET_MISSIONS: {\n id: 22,\n color: '#088C4A',\n icon: 'AdvertisingCommunication',\n name: 'Publicités et missions',\n },\n DIVERS: {\n id: 23,\n color: '#FFB13C',\n icon: 'Others',\n name: 'Divers',\n },\n FINANCES: {\n id: 24,\n color: '#FF7E3C',\n icon: 'Finances',\n name: 'Finances',\n },\n IMMOBILISATIONS: {\n id: 25,\n color: '#5894EF',\n icon: 'CapitalAssets',\n name: 'Immobilisations',\n },\n TIERS: {\n id: 27,\n color: '#26D395',\n icon: 'Tiers',\n name: 'Tiers',\n },\n STOCKS: {\n id: 28,\n color: '#C2C1C1',\n icon: 'Stocks',\n name: 'Stocks',\n },\n ACHATS_MATIERE_PREMIERE: {\n id: 29,\n color: '#FFB13C',\n icon: 'Buyings',\n name: 'Achats matière première',\n },\n ACHATS_EXTERNES: {\n id: 30,\n color: '#FFB13C',\n icon: 'Buyings',\n name: 'Achars Externes',\n },\n};\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare enum StateAppointment {
|
|
2
|
+
CUSTOMER_ON_LEAVE = 1,
|
|
3
|
+
CUSTOMER_ABROAD = 2,
|
|
4
|
+
SOCIETY_CANCELLED = 3,
|
|
5
|
+
MISSING_FILE = 4,
|
|
6
|
+
BUSINESS_CONTRIBUTOR = 5
|
|
7
|
+
}
|
|
8
|
+
export declare const StateAppointmentDetail: {
|
|
9
|
+
CUSTOMER_ON_LEAVE: {
|
|
10
|
+
id: StateAppointment;
|
|
11
|
+
name: string;
|
|
12
|
+
};
|
|
13
|
+
CUSTOMER_ABROAD: {
|
|
14
|
+
id: StateAppointment;
|
|
15
|
+
name: string;
|
|
16
|
+
};
|
|
17
|
+
SOCIETY_CANCELLED: {
|
|
18
|
+
id: StateAppointment;
|
|
19
|
+
name: string;
|
|
20
|
+
};
|
|
21
|
+
MISSING_FILE: {
|
|
22
|
+
id: StateAppointment;
|
|
23
|
+
name: string;
|
|
24
|
+
};
|
|
25
|
+
BUSINESS_CONTRIBUTOR: {
|
|
26
|
+
id: StateAppointment;
|
|
27
|
+
name: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=AppointmentState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppointmentState.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/AppointmentState.ts"],"names":[],"mappings":"AACA,oBAAY,gBAAgB;IAC1B,iBAAiB,IAAI;IACrB,eAAe,IAAI;IACnB,iBAAiB,IAAI;IACrB,YAAY,IAAI;IAChB,oBAAoB,IAAI;CACzB;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;CAqBlC,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StateAppointmentDetail = exports.StateAppointment = void 0;
|
|
4
|
+
var StateAppointment;
|
|
5
|
+
(function (StateAppointment) {
|
|
6
|
+
StateAppointment[StateAppointment["CUSTOMER_ON_LEAVE"] = 1] = "CUSTOMER_ON_LEAVE";
|
|
7
|
+
StateAppointment[StateAppointment["CUSTOMER_ABROAD"] = 2] = "CUSTOMER_ABROAD";
|
|
8
|
+
StateAppointment[StateAppointment["SOCIETY_CANCELLED"] = 3] = "SOCIETY_CANCELLED";
|
|
9
|
+
StateAppointment[StateAppointment["MISSING_FILE"] = 4] = "MISSING_FILE";
|
|
10
|
+
StateAppointment[StateAppointment["BUSINESS_CONTRIBUTOR"] = 5] = "BUSINESS_CONTRIBUTOR";
|
|
11
|
+
})(StateAppointment = exports.StateAppointment || (exports.StateAppointment = {}));
|
|
12
|
+
exports.StateAppointmentDetail = {
|
|
13
|
+
CUSTOMER_ON_LEAVE: {
|
|
14
|
+
id: StateAppointment.CUSTOMER_ON_LEAVE,
|
|
15
|
+
name: 'Client en congés',
|
|
16
|
+
},
|
|
17
|
+
CUSTOMER_ABROAD: {
|
|
18
|
+
id: StateAppointment.CUSTOMER_ABROAD,
|
|
19
|
+
name: 'Client à l\'étranger',
|
|
20
|
+
},
|
|
21
|
+
SOCIETY_CANCELLED: {
|
|
22
|
+
id: StateAppointment.SOCIETY_CANCELLED,
|
|
23
|
+
name: 'Dossier en cours de résiliation',
|
|
24
|
+
},
|
|
25
|
+
MISSING_FILE: {
|
|
26
|
+
id: StateAppointment.MISSING_FILE,
|
|
27
|
+
name: 'Documents manquants',
|
|
28
|
+
},
|
|
29
|
+
BUSINESS_CONTRIBUTOR: {
|
|
30
|
+
id: StateAppointment.BUSINESS_CONTRIBUTOR,
|
|
31
|
+
name: 'Apporteur d\'affaires',
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=AppointmentState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppointmentState.js","sourceRoot":"","sources":["../../../../ts/types/Enum/AppointmentState.ts"],"names":[],"mappings":";;;AACA,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iFAAqB,CAAA;IACrB,6EAAmB,CAAA;IACnB,iFAAqB,CAAA;IACrB,uEAAgB,CAAA;IAChB,uFAAwB,CAAA;AAC1B,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAEY,QAAA,sBAAsB,GAAG;IACpC,iBAAiB,EAAE;QACjB,EAAE,EAAE,gBAAgB,CAAC,iBAAiB;QACtC,IAAI,EAAE,kBAAkB;KACzB;IACD,eAAe,EAAE;QACf,EAAE,EAAE,gBAAgB,CAAC,eAAe;QACpC,IAAI,EAAE,sBAAsB;KAC7B;IACD,iBAAiB,EAAE;QACjB,EAAE,EAAE,gBAAgB,CAAC,iBAAiB;QACtC,IAAI,EAAE,iCAAiC;KACxC;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,gBAAgB,CAAC,YAAY;QACjC,IAAI,EAAE,qBAAqB;KAC5B;IACD,oBAAoB,EAAE;QACpB,EAAE,EAAE,gBAAgB,CAAC,oBAAoB;QACzC,IAAI,EAAE,uBAAuB;KAC9B;CACF,CAAC","sourcesContent":["\nexport enum StateAppointment {\n CUSTOMER_ON_LEAVE = 1,\n CUSTOMER_ABROAD = 2,\n SOCIETY_CANCELLED = 3,\n MISSING_FILE = 4,\n BUSINESS_CONTRIBUTOR = 5,\n}\n\nexport const StateAppointmentDetail = {\n CUSTOMER_ON_LEAVE: {\n id: StateAppointment.CUSTOMER_ON_LEAVE,\n name: 'Client en congés',\n },\n CUSTOMER_ABROAD: {\n id: StateAppointment.CUSTOMER_ABROAD,\n name: 'Client à l\\'étranger',\n },\n SOCIETY_CANCELLED: {\n id: StateAppointment.SOCIETY_CANCELLED,\n name: 'Dossier en cours de résiliation',\n },\n MISSING_FILE: {\n id: StateAppointment.MISSING_FILE,\n name: 'Documents manquants',\n },\n BUSINESS_CONTRIBUTOR: {\n id: StateAppointment.BUSINESS_CONTRIBUTOR,\n name: 'Apporteur d\\'affaires',\n },\n};"]}
|
|
@@ -7,7 +7,9 @@ export declare class CreateAccountSociety {
|
|
|
7
7
|
}
|
|
8
8
|
export declare class CreateAccount {
|
|
9
9
|
account: Partial<IAccount>;
|
|
10
|
+
idSociety?: number;
|
|
10
11
|
comment?: string | null;
|
|
11
12
|
tags?: string[];
|
|
13
|
+
idSectors?: Array<number>;
|
|
12
14
|
}
|
|
13
15
|
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/account/Create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,qBAAa,oBAAoB;IAE7B,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;IAGb,eAAe,EAAE,MAAM,CAAC;IAGxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAGD,qBAAa,aAAa;IAEtB,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAK3B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKxB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/account/Create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,qBAAa,oBAAoB;IAE7B,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;IAGb,eAAe,EAAE,MAAM,CAAC;IAGxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAGD,qBAAa,aAAa;IAEtB,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAK3B,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKxB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAKhB,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC7B"}
|
|
@@ -37,6 +37,12 @@ __decorate([
|
|
|
37
37
|
(0, utils_1.ApiProperty)(),
|
|
38
38
|
__metadata("design:type", Object)
|
|
39
39
|
], CreateAccount.prototype, "account", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
42
|
+
(0, class_validator_1.IsNumber)(),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], CreateAccount.prototype, "idSociety", void 0);
|
|
40
46
|
__decorate([
|
|
41
47
|
(0, utils_1.ApiPropertyOptional)(),
|
|
42
48
|
(0, class_validator_1.IsString)(),
|
|
@@ -49,5 +55,11 @@ __decorate([
|
|
|
49
55
|
(0, class_validator_1.IsOptional)(),
|
|
50
56
|
__metadata("design:type", Array)
|
|
51
57
|
], CreateAccount.prototype, "tags", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
61
|
+
(0, class_validator_1.IsArray)(),
|
|
62
|
+
__metadata("design:type", Array)
|
|
63
|
+
], CreateAccount.prototype, "idSectors", void 0);
|
|
52
64
|
exports.CreateAccount = CreateAccount;
|
|
53
65
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/account/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/account/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAE1E,6CAAqE;AAErE,MAAa,oBAAoB;CAYhC;AAXC;IAAC,IAAA,mBAAW,GAAE;;oDACG;AAEjB;IAAC,IAAA,mBAAW,GAAE;;kDACC;AAEf;IAAC,IAAA,mBAAW,GAAE;;6DACY;AAE1B;IAAC,IAAA,2BAAmB,GAAE;;mDACL;AAXnB,oDAYC;AAGD,MAAa,aAAa;CAuBzB;AAtBC;IAAC,IAAA,mBAAW,GAAE;;8CACe;AAE7B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACQ;AAErB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACa;AAE1B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;2CACK;AAElB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;8BACI,KAAK;gDAAS;AAtB9B,sCAuBC","sourcesContent":["import { IsArray, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { IAccount } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateAccountSociety {\n @ApiProperty()\n number: number;\n\n @ApiProperty()\n name: string;\n\n @ApiProperty()\n idParentAccount: number;\n\n @ApiPropertyOptional()\n idVat?: number;\n}\n\n\nexport class CreateAccount {\n @ApiProperty()\n account: Partial<IAccount>;\n \n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment?: string | null;\n\n @ApiPropertyOptional()\n @IsString({ each: true })\n @IsOptional()\n tags?: string[];\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idSectors?: Array<number>;\n}"]}
|
|
@@ -9,8 +9,10 @@ export declare class UpdateAccountSociety {
|
|
|
9
9
|
}
|
|
10
10
|
export declare class UpdateAccount {
|
|
11
11
|
account: Partial<IAccount>;
|
|
12
|
+
idSociety?: number;
|
|
12
13
|
comment?: string | null;
|
|
13
14
|
tagsToAdd?: string[];
|
|
14
15
|
tagsToRemove?: string[];
|
|
16
|
+
idSectors?: Array<number>;
|
|
15
17
|
}
|
|
16
18
|
//# sourceMappingURL=Update.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/account/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,qBAAa,oBAAoB;IAE7B,EAAE,EAAE,MAAM,CAAC;IAGX,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGhB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAGjB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,qBAAa,aAAa;IAEtB,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAK3B,OAAO,C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