@silexpert/core 1.1.112 → 1.1.113
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/Authenticate.d.ts +2 -1
- package/es/api/resources/Authenticate.d.ts.map +1 -1
- package/es/api/resources/Authenticate.js +5 -0
- package/es/api/resources/Authenticate.js.map +1 -1
- package/es/api/resources/Society.d.ts +2 -2
- package/es/api/resources/Society.d.ts.map +1 -1
- package/es/api/resources/Society.js.map +1 -1
- package/es/types/Enum/Role.d.ts +1 -0
- package/es/types/Enum/Role.d.ts.map +1 -1
- package/es/types/Enum/Role.js +11 -0
- package/es/types/Enum/Role.js.map +1 -1
- package/es/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.d.ts +1 -1
- 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/authentification/ReadAuthenticateCollaborater.d.ts +5 -0
- package/es/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
- package/es/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +2 -0
- package/es/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
- package/es/types/Interface/api/balanceSheet/Read.d.ts +4 -2
- package/es/types/Interface/api/balanceSheet/Read.d.ts.map +1 -1
- package/es/types/Interface/api/balanceSheet/Read.js.map +1 -1
- package/es/types/Interface/api/budgetInsight/Query.d.ts +1 -0
- package/es/types/Interface/api/budgetInsight/Query.d.ts.map +1 -1
- package/es/types/Interface/api/budgetInsight/Query.js.map +1 -1
- package/js/api/resources/Authenticate.js +5 -0
- package/js/api/resources/Authenticate.js.map +1 -1
- package/js/api/resources/Society.js.map +1 -1
- package/js/types/Enum/Role.js +1 -0
- package/js/types/Enum/Role.js.map +1 -1
- package/js/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.js.map +1 -1
- package/js/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +2 -0
- package/js/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
- package/js/types/Interface/api/balanceSheet/Read.js.map +1 -1
- package/js/types/Interface/api/budgetInsight/Query.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Authenticate.ts +5 -1
- package/ts/api/resources/Society.ts +2 -1
- package/ts/types/Enum/Role.ts +13 -1
- package/ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts +1 -1
- package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +7 -0
- package/ts/types/Interface/api/balanceSheet/Read.ts +1 -2
- package/ts/types/Interface/api/budgetInsight/Query.ts +1 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { FormAuthenticate } from '../../types';
|
|
1
|
+
import { FormAuthenticate, ReadConnectAs } from '../../types';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
export declare class Authenticate extends Resource {
|
|
4
4
|
authentificateCollaborater(payload: FormAuthenticate): Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
connectAs(idSociety: number): Promise<ReadConnectAs>;
|
|
5
6
|
}
|
|
6
7
|
//# sourceMappingURL=Authenticate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authenticate.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Authenticate.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,YAAa,SAAQ,QAAQ;IAClC,0BAA0B,CAAC,OAAO,EAAE,gBAAgB;IAIpD,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAG3D"}
|
|
@@ -14,5 +14,10 @@ export class Authenticate extends Resource {
|
|
|
14
14
|
return this.axios.$post('/authenticate/collaborater', payload);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
+
connectAs(idSociety) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
return this.axios.$post(`/authenticate/societies/${idSociety}`);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
17
22
|
}
|
|
18
23
|
//# sourceMappingURL=Authenticate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authenticate.js","sourceRoot":"","sources":["../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IAClC,0BAA0B,CAAC,OAAyB;;YACxD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;QACjE,CAAC;KAAA;CACF","sourcesContent":["import { FormAuthenticate } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Authenticate extends Resource {\n async authentificateCollaborater(payload: FormAuthenticate) {\n return this.axios.$post('/authenticate/collaborater', payload);\n }\n}"]}
|
|
1
|
+
{"version":3,"file":"Authenticate.js","sourceRoot":"","sources":["../../../ts/api/resources/Authenticate.ts"],"names":[],"mappings":";;;;;;;;;AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IAClC,0BAA0B,CAAC,OAAyB;;YACxD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;QACjE,CAAC;KAAA;IAEK,SAAS,CAAC,SAAiB;;YAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,SAAS,EAAE,CAAC,CAAC;QAClE,CAAC;KAAA;CACF","sourcesContent":["import { FormAuthenticate, ReadConnectAs } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Authenticate extends Resource {\n async authentificateCollaborater(payload: FormAuthenticate) {\n return this.axios.$post('/authenticate/collaborater', payload);\n }\n\n async connectAs(idSociety: number): Promise<ReadConnectAs> {\n return this.axios.$post(`/authenticate/societies/${idSociety}`);\n }\n}"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CancelToken } from 'axios';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
|
-
import { CreateInvoiceMail, UpdateInvoiceMail, IMailSociety, ISociety, LegalFormSiren, GetDataSociety, CreateSociety, CreateSynchronization, UpdateSociety, CreateBudgetBalanceBankAccount, IUser, ListUserSociety, CreateUserToSocietyWithPermission, UpdateUserToSocietyWithPermission, ReadSocietyUsers, QuerySociety, UpdateSocietyPayload, QueryPaginatedSociety, ReadInvalidFieldState } from '../../types';
|
|
3
|
+
import { CreateInvoiceMail, UpdateInvoiceMail, IMailSociety, ISociety, LegalFormSiren, GetDataSociety, CreateSociety, CreateSynchronization, UpdateSociety, CreateBudgetBalanceBankAccount, IUser, ListUserSociety, CreateUserToSocietyWithPermission, UpdateUserToSocietyWithPermission, ReadSocietyUsers, QuerySociety, UpdateSocietyPayload, QueryPaginatedSociety, ReadInvalidFieldState, BasePaginate } from '../../types';
|
|
4
4
|
export declare class Society extends Resource {
|
|
5
5
|
get(params: QuerySociety): Promise<ISociety>;
|
|
6
|
-
getPaginated(params: QueryPaginatedSociety, cancelToken?: CancelToken): Promise<ISociety
|
|
6
|
+
getPaginated(params: QueryPaginatedSociety, cancelToken?: CancelToken): Promise<BasePaginate<ISociety>>;
|
|
7
7
|
getInvoiceEmail(): Promise<IMailSociety | Error>;
|
|
8
8
|
createInvoiceEmail(data: CreateInvoiceMail): Promise<IMailSociety | Error>;
|
|
9
9
|
updateInvoiceEmail(data: UpdateInvoiceMail): Promise<IMailSociety | Error>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Society.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Society.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,aAAa,EACb,8BAA8B,EAC9B,KAAK,EACL,eAAe,EACf,iCAAiC,EACjC,iCAAiC,EACjC,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"Society.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Society.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,aAAa,EACb,8BAA8B,EAC9B,KAAK,EACL,eAAe,EACf,iCAAiC,EACjC,iCAAiC,EACjC,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,YAAY,EACb,MAAM,aAAa,CAAC;AAErB,qBAAa,OAAQ,SAAQ,QAAQ;IAC5B,GAAG,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAAC,QAAQ,CAAC;IAI5C,YAAY,CAAC,MAAM,EAAE,qBAAqB,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAO9G,eAAe,IAAI,OAAO,CAAC,YAAY,GAAG,KAAK,C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AG7G,iCAAiC,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,iCAAiC,GAAG,OAAO,CAAC,KAAK,CAAC;IAGzH,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAGnC,yBAAyB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,EAAE,CAAC;IAIvE,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;CAGrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Society.js","sourceRoot":"","sources":["../../../ts/api/resources/Society.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Society.js","sourceRoot":"","sources":["../../../ts/api/resources/Society.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAwBvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IAC5B,GAAG,CAAC,MAAoB;QAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjD,CAAC;IAEM,YAAY,CAAC,MAA6B,EAAE,WAAyB;QAC1E,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,kCACtC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KACvC,MAAM,IACN,CAAC;IACL,CAAC;IAED,eAAe;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IAClD,CAAC;IAED,kBAAkB,CAAC,IAAuB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAED,kBAAkB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\n CreateInvoiceMail,\n UpdateInvoiceMail,\n IMailSociety,\n ISociety,\n LegalFormSiren,\n GetDataSociety,\n CreateSociety,\n CreateSynchronization,\n UpdateSociety,\n CreateBudgetBalanceBankAccount,\n IUser,\n ListUserSociety,\n CreateUserToSocietyWithPermission,\n UpdateUserToSocietyWithPermission,\n ReadSocietyUsers,\n QuerySociety,\n UpdateSocietyPayload,\n QueryPaginatedSociety,\n ReadInvalidFieldState,\n BasePaginate,\n} from '../../types';\n\nexport class Society extends Resource {\n public get(params: QuerySociety): Promise<ISociety> {\n return this.axios.$get('/society', { params });\n }\n\n public getPaginated(params: QueryPaginatedSociety, cancelToken?: CancelToken): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n getInvoiceEmail(): Promise<IMailSociety | Error> {\n return this.axios.$get('/society/invoiceEmail');\n }\n\n createInvoiceEmail(data: CreateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$post('/society/invoiceEmail', data);\n }\n\n updateInvoiceEmail(data: UpdateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$put('/society/invoiceEmail', data);\n }\n createSociety(data: CreateSociety, fromSubscription: boolean | string, isCreatedInApp: boolean): Promise<ISociety> {\n return this.axios.$post(`/society/create?fromSubscription=${fromSubscription}&isCreatedInApp=${isCreatedInApp}`, data);\n }\n updateSociety(id: number, data: UpdateSociety): Promise<ISociety> {\n return this.axios.$put(`/society/${id}/updateSociety`, data);\n }\n\n update(id: number, payload: UpdateSocietyPayload): Promise<ISociety> {\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n archive(id: number): Promise<ISociety> {\n const payload: UpdateSocietyPayload = { society: { archive: true, archiveDate: new Date() } };\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n // this endpoint is used to fetch from extern api for legalForm\n getDataSociety(params: GetDataSociety): Promise<LegalFormSiren[]> {\n return this.axios.$get('/society/dataSociety', { params });\n }\n synchronize(id: number, params: CreateSynchronization): Promise<string> {\n return this.axios.$post(`/society/${id}/synchronize`, params);\n }\n autoImportationTransactions(): Promise<void> {\n return this.axios.$post('/society/bankAccount/autoImportationTransactions');\n }\n importBalanceBankAccount(idSociety: number, idBankAccount: number, params: CreateBudgetBalanceBankAccount): Promise<number> {\n return this.axios.$post(`/society/${idSociety}/bankAccount/${idBankAccount}/importBalance`, params);\n }\n listUserSociety(idSociety: number, params: ListUserSociety):Promise<ReadSocietyUsers> {\n return this.axios.$get(`/society/${idSociety}/users`, { params });\n }\n getAccountant(): Promise<IUser | null> {\n return this.axios.$get('/society/accountant');\n }\n deleteUser(idSociety: number, idUser: number): Promise<true> {\n return this.axios.$delete(`/society/${idSociety}/user/${idUser}`);\n }\n createUserToSocietyWithPermission(idSociety: number, data: CreateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$post(`/society/${idSociety}/userToSocietyWithPermission`, data);\n }\n updateUserToSocietyWithPermission(idSociety: number, id: number, data: UpdateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$put(`/society/${idSociety}/userToSocietyWithPermission/${id}`, data);\n }\n delete(id: number): Promise<number> {\n return this.axios.$delete(`/society/${id}`);\n }\n getAllMissingInformations(id: number): Promise<ReadInvalidFieldState[]> {\n return this.axios.$get(`/society/${id}/informations-statements`);\n }\n\n getOwner(id: number): Promise<IUser> {\n return this.axios.$get(`/societies/${id}/owner`);\n }\n}\n"]}
|
package/es/types/Enum/Role.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Role.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/Role.ts"],"names":[],"mappings":"AAAA,oBAAY,IAAI;IACd,MAAM,IAAI;IACV,KAAK,IAAI;IACT,YAAY,IAAI;IAChB,UAAU,IAAI;IACd,UAAU,IAAI;IACd,gBAAgB,KAAK;IACrB,MAAM,KAAK;IACX,OAAO,KAAK;IAGZ,oBAAoB,KAAK;IACzB,WAAW,KAAK;IAChB,qBAAqB,KAAK;IAC1B,UAAU,KAAK;IACf,OAAO,KAAK;IACZ,iBAAiB,KAAK;IAGtB,QAAQ,KAAK;IACb,SAAS,KAAK;IACd,GAAG,KAAK;IAOR,WAAW,KAAK;IAChB,gBAAgB,KAAK;IACrB,oBAAoB,KAAK;IACzB,GAAG,KAAK;IACR,gBAAgB,KAAK;IAErB,eAAe,KAAK;IAEpB,mBAAmB,KAAK;IACxB,iBAAiB,KAAK;IACtB,MAAM,KAAK;IACX,SAAS,KAAK;IACd,QAAQ,KAAK;IACb,eAAe,KAAK;IACpB,eAAe,KAAK;CACrB"}
|
|
1
|
+
{"version":3,"file":"Role.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/Role.ts"],"names":[],"mappings":"AAAA,oBAAY,IAAI;IACd,MAAM,IAAI;IACV,KAAK,IAAI;IACT,YAAY,IAAI;IAChB,UAAU,IAAI;IACd,UAAU,IAAI;IACd,gBAAgB,KAAK;IACrB,MAAM,KAAK;IACX,OAAO,KAAK;IAGZ,oBAAoB,KAAK;IACzB,WAAW,KAAK;IAChB,qBAAqB,KAAK;IAC1B,UAAU,KAAK;IACf,OAAO,KAAK;IACZ,iBAAiB,KAAK;IAGtB,QAAQ,KAAK;IACb,SAAS,KAAK;IACd,GAAG,KAAK;IAOR,WAAW,KAAK;IAChB,gBAAgB,KAAK;IACrB,oBAAoB,KAAK;IACzB,GAAG,KAAK;IACR,gBAAgB,KAAK;IAErB,eAAe,KAAK;IAEpB,mBAAmB,KAAK;IACxB,iBAAiB,KAAK;IACtB,MAAM,KAAK;IACX,SAAS,KAAK;IACd,QAAQ,KAAK;IACb,eAAe,KAAK;IACpB,eAAe,KAAK;CACrB;AAED,eAAO,MAAM,0BAA0B,QAUtC,CAAC"}
|
package/es/types/Enum/Role.js
CHANGED
|
@@ -43,4 +43,15 @@ export var Role;
|
|
|
43
43
|
Role[Role["REFERENT_LITIGE"] = 47] = "REFERENT_LITIGE";
|
|
44
44
|
Role[Role["REFERENT_CLIENT"] = 48] = "REFERENT_CLIENT";
|
|
45
45
|
})(Role || (Role = {}));
|
|
46
|
+
export const RoleAllowedToLogInAsClient = [
|
|
47
|
+
Role.ADMIN,
|
|
48
|
+
Role.ACCOUNTANT,
|
|
49
|
+
Role.SUPER_ADMIN,
|
|
50
|
+
Role.COMMERCIAL,
|
|
51
|
+
Role.CUSTOMER_SUCCESS,
|
|
52
|
+
Role.SOCIAL,
|
|
53
|
+
Role.JURIDIC,
|
|
54
|
+
Role.DEVELOPER,
|
|
55
|
+
Role.PARTNERED_ACCOUNTANT,
|
|
56
|
+
];
|
|
46
57
|
//# sourceMappingURL=Role.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Role.js","sourceRoot":"","sources":["../../../ts/types/Enum/Role.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,IA2CX;AA3CD,WAAY,IAAI;IACd,mCAAU,CAAA;IACV,iCAAS,CAAA;IACT,+CAAgB,CAAA;IAChB,2CAAc,CAAA;IACd,2CAAc,CAAA;IACd,wDAAqB,CAAA;IACrB,oCAAW,CAAA;IACX,sCAAY,CAAA;IACZ,yBAAyB;IACzB,mBAAmB;IACnB,gEAAyB,CAAA;IACzB,8CAAgB,CAAA;IAChB,kEAA0B,CAAA;IAC1B,4CAAe,CAAA;IACf,sCAAY,CAAA;IACZ,0DAAsB,CAAA;IACtB,oBAAoB;IACpB,YAAY;IACZ,wCAAa,CAAA;IACb,0CAAc,CAAA;IACd,8BAAQ,CAAA;IACR,oBAAoB;IACpB,4BAA4B;IAC5B,qBAAqB;IACrB,sBAAsB;IACtB,iCAAiC;IACjC,2BAA2B;IAC3B,8CAAgB,CAAA;IAChB,wDAAqB,CAAA;IACrB,gEAAyB,CAAA;IACzB,8BAAQ,CAAA;IACR,wDAAqB,CAAA;IACrB,4BAA4B;IAC5B,sDAAoB,CAAA;IACpB,yBAAyB;IACzB,8DAAwB,CAAA;IACxB,0DAAsB,CAAA;IACtB,oCAAW,CAAA;IACX,0CAAc,CAAA;IACd,wCAAa,CAAA;IACb,sDAAoB,CAAA;IACpB,sDAAoB,CAAA;AACtB,CAAC,EA3CW,IAAI,KAAJ,IAAI,QA2Cf","sourcesContent":["export enum Role {\n CLIENT = 1,\n ADMIN = 2,\n FRONT_OFFICE = 3,\n ACCOUNTANT = 3,\n COMMERCIAL = 9,\n CUSTOMER_SUCCESS = 10,\n SOCIAL = 11,\n JURIDIC = 12,\n // CHIEF_ACCOUNTANT = 13,\n // SUPERVISOR = 14,\n FRONT_OFFICE_EXPRESS = 15,\n SUPER_ADMIN = 16,\n EXPERT_SUB_CONTRACTOR = 17,\n MAINTAINER = 18,\n MANAGER = 19,\n EXPERT_ACCOUNTANT = 20,\n // MFA_PENDING = 21,\n // VAT = 22,\n CANDIDAT = 24,\n DEVELOPER = 25,\n API = 26,\n // BACK_OFFICE = 27,\n // BACK_OFFICE_EXPRESS = 28,\n // BACK_MANAGER = 30,\n // FRONT_MANAGER = 31,\n // CUSTOMER_SUCCESS_MANAGER = 32,\n // COMMERCIAL_MANAGER = 33,\n FACTURATION = 34,\n HUMAN_RESSOURCES = 35,\n PARTNERED_ACCOUNTANT = 36,\n SDR = 37,\n FORECAST_MANAGER = 38,\n // TERMINATION_MANAGER = 39,\n EXPRESS_MANAGER = 40,\n // CONFLICT_MANAGER = 41,\n ATTESTATION_MANAGER = 42,\n JURIDICAL_SUPPORT = 43,\n INTERN = 44,\n ALTERNATE = 45,\n DIRECTOR = 46,\n REFERENT_LITIGE = 47,\n REFERENT_CLIENT = 48,\n}"]}
|
|
1
|
+
{"version":3,"file":"Role.js","sourceRoot":"","sources":["../../../ts/types/Enum/Role.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,IA2CX;AA3CD,WAAY,IAAI;IACd,mCAAU,CAAA;IACV,iCAAS,CAAA;IACT,+CAAgB,CAAA;IAChB,2CAAc,CAAA;IACd,2CAAc,CAAA;IACd,wDAAqB,CAAA;IACrB,oCAAW,CAAA;IACX,sCAAY,CAAA;IACZ,yBAAyB;IACzB,mBAAmB;IACnB,gEAAyB,CAAA;IACzB,8CAAgB,CAAA;IAChB,kEAA0B,CAAA;IAC1B,4CAAe,CAAA;IACf,sCAAY,CAAA;IACZ,0DAAsB,CAAA;IACtB,oBAAoB;IACpB,YAAY;IACZ,wCAAa,CAAA;IACb,0CAAc,CAAA;IACd,8BAAQ,CAAA;IACR,oBAAoB;IACpB,4BAA4B;IAC5B,qBAAqB;IACrB,sBAAsB;IACtB,iCAAiC;IACjC,2BAA2B;IAC3B,8CAAgB,CAAA;IAChB,wDAAqB,CAAA;IACrB,gEAAyB,CAAA;IACzB,8BAAQ,CAAA;IACR,wDAAqB,CAAA;IACrB,4BAA4B;IAC5B,sDAAoB,CAAA;IACpB,yBAAyB;IACzB,8DAAwB,CAAA;IACxB,0DAAsB,CAAA;IACtB,oCAAW,CAAA;IACX,0CAAc,CAAA;IACd,wCAAa,CAAA;IACb,sDAAoB,CAAA;IACpB,sDAAoB,CAAA;AACtB,CAAC,EA3CW,IAAI,KAAJ,IAAI,QA2Cf;AAED,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,IAAI,CAAC,KAAK;IACV,IAAI,CAAC,UAAU;IACf,IAAI,CAAC,WAAW;IAChB,IAAI,CAAC,UAAU;IACf,IAAI,CAAC,gBAAgB;IACrB,IAAI,CAAC,MAAM;IACX,IAAI,CAAC,OAAO;IACZ,IAAI,CAAC,SAAS;IACd,IAAI,CAAC,oBAAoB;CAC1B,CAAC","sourcesContent":["export enum Role {\n CLIENT = 1,\n ADMIN = 2,\n FRONT_OFFICE = 3,\n ACCOUNTANT = 3,\n COMMERCIAL = 9,\n CUSTOMER_SUCCESS = 10,\n SOCIAL = 11,\n JURIDIC = 12,\n // CHIEF_ACCOUNTANT = 13,\n // SUPERVISOR = 14,\n FRONT_OFFICE_EXPRESS = 15,\n SUPER_ADMIN = 16,\n EXPERT_SUB_CONTRACTOR = 17,\n MAINTAINER = 18,\n MANAGER = 19,\n EXPERT_ACCOUNTANT = 20,\n // MFA_PENDING = 21,\n // VAT = 22,\n CANDIDAT = 24,\n DEVELOPER = 25,\n API = 26,\n // BACK_OFFICE = 27,\n // BACK_OFFICE_EXPRESS = 28,\n // BACK_MANAGER = 30,\n // FRONT_MANAGER = 31,\n // CUSTOMER_SUCCESS_MANAGER = 32,\n // COMMERCIAL_MANAGER = 33,\n FACTURATION = 34,\n HUMAN_RESSOURCES = 35,\n PARTNERED_ACCOUNTANT = 36,\n SDR = 37,\n FORECAST_MANAGER = 38,\n // TERMINATION_MANAGER = 39,\n EXPRESS_MANAGER = 40,\n // CONFLICT_MANAGER = 41,\n ATTESTATION_MANAGER = 42,\n JURIDICAL_SUPPORT = 43,\n INTERN = 44,\n ALTERNATE = 45,\n DIRECTOR = 46,\n REFERENT_LITIGE = 47,\n REFERENT_CLIENT = 48,\n}\n\nexport const RoleAllowedToLogInAsClient = [\n Role.ADMIN,\n Role.ACCOUNTANT,\n Role.SUPER_ADMIN,\n Role.COMMERCIAL,\n Role.CUSTOMER_SUCCESS,\n Role.SOCIAL,\n Role.JURIDIC,\n Role.DEVELOPER,\n Role.PARTNERED_ACCOUNTANT,\n];"]}
|
|
@@ -2,7 +2,7 @@ import { IAccountingTransaction, IImmobilization } from '../../..';
|
|
|
2
2
|
import { IThirdParty } from '../../models/IThirdParty';
|
|
3
3
|
export type FormImmobilization = IImmobilization;
|
|
4
4
|
export declare class FormEntry {
|
|
5
|
-
vat?: number | {
|
|
5
|
+
vat?: number | null | {
|
|
6
6
|
idVat: number;
|
|
7
7
|
amount: number;
|
|
8
8
|
}[];
|
|
@@ -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;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAEjD,qBAAa,SAAS;IACpB,GAAG,CAAC,EAAG,MAAM,GAAG;
|
|
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;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAEjD,qBAAa,SAAS;IACpB,GAAG,CAAC,EAAG,MAAM,GAAG,IAAI,GAAG;QACrB,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;IACJ,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAGD,MAAM,MAAM,6BAA6B,GAAG,SAAS,EAAE,CAAC;AAExD,qBAAa,2BAA2B;IAGpC,OAAO,CAAC,EAAE,SAAS,EAAE,CAAC;IAEtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAKvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,SAAS,CAAC,EAAE,IAAI,CAAC;IAEjB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAK9B,YAAY,CAAC,EAAE,MAAM,CAAC;CAEzB;AAGD,MAAM,WAAW,kCAAmC,SAAQ,sBAAsB;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,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,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAI3E,MAAM,OAAO,SAAS;CAcrB;AAKD,MAAM,OAAO,2BAA2B;CA6BvC;AA5BC;IAAC,mBAAmB,EAAE;IACtB,yBAAyB;;;4DACD;AACxB;IAAC,mBAAmB,EAAE;;4DACH;AACnB;IAAC,mBAAmB,EAAE;;qEACM;AAC5B;IAAC,mBAAmB,EAAE;;6DACG;AACzB;IAAC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;4DACO;AACpB;IAAC,mBAAmB,EAAE;8BACR,IAAI;8DAAC;AACnB;IAAC,mBAAmB,EAAE;;kEACG;AACzB;IAAC,mBAAmB,EAAE;;yDACN;AAChB;IAAC,mBAAmB,EAAE;;yEACU;AAEhC;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;iEACa","sourcesContent":["import { IsBoolean, IsNumber, 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 @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idAccountant?: number;\n\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
|
+
{"version":3,"file":"AnnotateAccountingTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAI3E,MAAM,OAAO,SAAS;CAcrB;AAKD,MAAM,OAAO,2BAA2B;CA6BvC;AA5BC;IAAC,mBAAmB,EAAE;IACtB,yBAAyB;;;4DACD;AACxB;IAAC,mBAAmB,EAAE;;4DACH;AACnB;IAAC,mBAAmB,EAAE;;qEACM;AAC5B;IAAC,mBAAmB,EAAE;;6DACG;AACzB;IAAC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;4DACO;AACpB;IAAC,mBAAmB,EAAE;8BACR,IAAI;8DAAC;AACnB;IAAC,mBAAmB,EAAE;;kEACG;AACzB;IAAC,mBAAmB,EAAE;;yDACN;AAChB;IAAC,mBAAmB,EAAE;;yEACU;AAEhC;IAAC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;iEACa","sourcesContent":["import { IsBoolean, IsNumber, 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 | null | {\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 @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idAccountant?: number;\n\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":"ReadAuthenticateCollaborater.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts"],"names":[],"mappings":"AAAA,qBAAa,4BAA4B;IACvC,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
1
|
+
{"version":3,"file":"ReadAuthenticateCollaborater.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,qBAAa,4BAA4B;IACvC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,aAAa;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC;CACb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadAuthenticateCollaborater.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReadAuthenticateCollaborater.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,4BAA4B;CAExC;AAED,MAAM,OAAO,aAAa;CAGzB","sourcesContent":["import { IUser } from '../../models/IUser';\n\nexport class ReadAuthenticateCollaborater {\n token: string;\n}\n\nexport class ReadConnectAs {\n token: string;\n user: IUser;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Read.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheet/Read.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,GAAG;IAC1C,
|
|
1
|
+
{"version":3,"file":"Read.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheet/Read.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,GAAG;IAC1C,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;CAChF,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE;QACV,mBAAmB,EAAE,6BAA6B,CAAC;QACnD,oBAAoB,EAAE,6BAA6B,CAAC;QACpD,kBAAkB,EAAE,6BAA6B,CAAC;QAClD,kBAAkB,EAAE,6BAA6B,CAAC;QAClD,UAAU,EAAE,6BAA6B,CAAC;QAC1C,iBAAiB,EAAE,6BAA6B,CAAC;KAClD,CAAA;CACF,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Read.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheet/Read.ts"],"names":[],"mappings":"","sourcesContent":["export type ReadBalanceSheetYearStatistic = {\n
|
|
1
|
+
{"version":3,"file":"Read.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceSheet/Read.ts"],"names":[],"mappings":"","sourcesContent":["export type ReadBalanceSheetYearStatistic = {\n doneIsBack: number; doneNoBack: number; todoIsBack: number; todoNoBack: number;\n};\n\nexport type ReadBalanceSheetStatistic = {\n id: number;\n firstname: string;\n lastname: string;\n statistics: {\n actualYearMinusFour: ReadBalanceSheetYearStatistic;\n actualYearMinusThree: ReadBalanceSheetYearStatistic;\n actualYearMinusTwo: ReadBalanceSheetYearStatistic;\n actualYearMinusOne: ReadBalanceSheetYearStatistic;\n actualYear: ReadBalanceSheetYearStatistic;\n actualYearPlusOne: ReadBalanceSheetYearStatistic;\n }\n};\n\nexport type ReadBalanceSheetMonthlyStatistic = {\n idMonth: number;\n done: number;\n todo: number;\n};"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/budgetInsight/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AAE/F,qBAAa,UAAU;IAGnB,KAAK,EAAE,MAAM,CAAC;IAId,KAAK,EAAE,kBAAkB,CAAC;CAC7B;AAED,KAAK,cAAc,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,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hB;IAAC,WAAW,EAAE;IACb,MAAM,CAAC,kBAAkB,CAAC;;yCACC","sourcesContent":["import { IsEnum, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { BudgetInsightEvent, BudgetInsightConnectionState } from '../../../Enum/BudgetInsight';\n\nexport class QueryHooks {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsEnum(BudgetInsightEvent)\n event: BudgetInsightEvent;\n}\n\ntype BudgetCurrency = {\n id: string; // Currency code (ISO 4217).\n name: string; // Display name of the currency.\n symbol: string; // Display symbol of the currency.\n precision: number; // number precision of the currency.\n prefix: boolean;\n crypto: boolean;\n};\n\ntype BudgetInsightAccountTypeName =\n 'article83' | // Article 83\n 'capitalisation' | // Capitalization contract\n 'card' | // Card\n 'checking' | // Checking account\n 'crowdlending' | // Crowdlending\n 'deposit' | // Deposit account\n 'joint' | // Joint account\n 'lifeinsurance' | // Life insurance account\n 'loan' | // Loan\n 'madelin' | // Madelin retirement contract\n 'market' | // Market account\n 'pea' | // Shared savings plan (Plan d'Epargne en Actions)\n 'pee' | // Company savings plan (Plan d'Epargne Entreprise)\n 'per' | // Retirement savings plan (Plan d'Epargne Retraite)\n 'perco' | // Group retirement savings plan (Plan d'Epargne pour la Retraite Collectif)\n 'perp' | // Popular retirement savings plan (Plan d'Epargne Retraite Populaire)\n 'real_estate' | // Real estate placement\n 'rsp' | // Special profit-sharing reserve (Réserve Spéciale de Participation)\n 'savings' | // Savings account\n 'unknown'; // Unknown account type\n\ntype BudgetInsightTransactionType =\n 'transfer' | // Transfer\n 'order' | // Order\n 'check' | // Check\n 'deposit' | // Deposit\n 'payback' | // Payback\n 'withdrawal' | // Withdrawal\n 'loan_payment' | // Loan payment\n 'bank' | // Bank fees\n 'card' | // Card operation\n 'deferred_card' | // Deferred card operation\n 'summary_card' | // Mensual debit of a deferred card\n 'unknown'; // Unknown transaction type\n\ntype BudgetInsightBankAccountUsage =\n'PRIV' |// Private account.\n'ORGA' |// Professional account.\n'ASSO'; // Association account.\n\ntype BudgetInsightBankAccountOwnerShip =\n 'owner' | // Account holder.\n 'co-owner' | // Holder on a joint account.\n 'attorney'; // Account authorized agent.\n\ntype BudgetInsightLoan = {\n total_amount: number | null; // Total amount of the loan.\n available_amount: number | null; // Amount of the loan not yet released and still available.\n used_amount: number | null; // Amount of the load already used.\n subscription_date: Date | null; // Subscription date of the loan.\n maturity_date: Date | null; // Estimated end date of the loan.\n next_payment_amount: number | null; // Amount of the next payment.\n next_payment_date: Date | null; // Date of the next payment.\n rate: number | null; // Rate of the loan.\n nb_payments_left: number | null; // Number of payments still due.\n nb_payments_done: number | null; // Number of payments done.\n nb_payments_total: number | null; // Total number of payments.\n last_payment_amount: Date | null; // Amount of the last payment.\n last_payment_date: Date | null; // Date of the last payment.\n account_label: string | null; // Name of the debited account.\n insurance_label: string | null; // Label of the insurance.\n duration: number | null; // Duration of the loan, in months.\n type: string | null; // Type of the loan (mortgage, consumercredit or revolvingcredit).\n};\n\nexport type BudgetInsightTransaction = {\n id: number; // ID of the transaction.\n id_account: number; // ID of the related account.\n application_date: Date | null; // Date considered by PFM services. This date can be edited.\n date: Date; // Date when the transaction is posted to the account.\n datetime: Date | null; // Date and time when the transaction is posted to the account, if available, in UTC.\n vdate: Date | null; // Value date of the transaction. In most cases, equivalent to date.\n vdatetime: Date | null; // Value date and time of the transaction, if available, in UTC. In most cases, equivalent to datetime.\n rdate: Date; // Date when the transaction order has been given.\n rdatetime: Date | null; // Date and time when the transaction order has been given, if available, in UTC.\n bdate: Date | null; // Date displayed by the bank for the transaction.\n bdatetime: number | null; // Date and time displayed by the bank for the transaction, if available, in UTC.\n value: number | null; // Value of the transaction.\n gross_value: number | null; // Gross value of the transaction.\n type: BudgetInsightTransactionType; // Type of transaction.\n original_wording: string; // Full label of the transaction, as seen on the bank.\n simplified_wording: string; // Simplified label of the transaction.\n wording:string | null; // Label of the transaction, can be edited.\n id_category: number | null; // ID of the related category.\n date_scraped: Date; // Date and time when the transaction was seen.\n coming: boolean; // If true, this transaction has not yet been posted to the account.\n active: boolean; // If false, PFM services will ignore this transaction.\n id_cluster: number | null; // If the transaction is part of a cluster.\n comment:string | null; // User comment.\n last_update: Date | null; // Last update of the transaction.\n deleted: number | null; // If set, this transaction has been removed from the bank.\n original_value: number | null; // Value in the original currency.\n original_gross_value: number | null; // Gross value in the original currency.\n original_currency: BudgetCurrency | null; // Original currency.\n commission: number | null; // Commission taken on the transaction.\n commission_currency: BudgetCurrency | null; // Commission currency.\n country:string | null; // Original country.\n card:string | null; // Card number associated with the transaction.\n};\n\nexport type BudgetInsightAccountSyncedQuery = {\n id: number; // ID of the bank account.\n id_connection: number | null; // ID of the related connection.\n id_user: number | null; // ID of the related user.\n id_source: number | null; // ID of the related connection source.\n id_parent: number | null; // ID of the parent account.\n number: string | null; // Account number.\n original_name: string; // Original name of the account, as seen on the bank.\n balance: number | null; // Balance of the account.\n coming: number | null; // Amount of coming operations not yet debited.\n display: boolean; // Whether the bank account should be presented.\n last_update: Date | null; // Last successful update of the account.\n deleted: Date | null; // If set, this account is not found on the website anymore.\n disabled: Date | null; // If set, this account has been disabled by user and will not be synchronized anymore.\n iban: string | null; // Account IBAN.\n currency: BudgetCurrency | null; // Account currency.\n type: BudgetInsightAccountTypeName; // Technical code of the account type.\n id_type: number; // ID of the account type.\n bookmarked: number; // This account has been bookmarked by user.\n name: string; // The name of the account.\n error: string | null; // If the last update has failed, the error code.\n usage: BudgetInsightBankAccountUsage; // Account usage. If not overridden, the value of original_usage is returned.\n ownership: BudgetInsightBankAccountOwnerShip | null; // Relationship between the credentials owner and the account.\n company_name: string | null; // Name of the company holding the employee savings of the account.\n loan: BudgetInsightLoan | null; // For loan accounts, the loan details.\n transactions: BudgetInsightTransaction[];\n};\n\nexport type BudgetInsightBankAccount = {\n id: number; // ID of the bank account.\n id_connection: number | null;// ID of the related connection.\n id_user: number | null;// ID of the related user.\n id_source: number | null;// ID of the related connection source.\n id_parent: number | null;// ID of the parent account.\n number: string | null;// String Account number.\n original_name: string;// String Original name of the account, as seen on the bank.\n balance: number | null;// Decimal Balance of the account.\n coming: number | null;// Decimal Amount of coming operations not yet debited.\n display: boolean | null;// Boolean Whether the bank account should be presented.\n last_update: Date | null;// DateTime Last successful update of the account.\n deleted: Date | null;// DateTime If set, this account is not found on the website anymore.\n disabled: Date | null;// DateTime If set, this account has been disabled by user and will not be synchronized anymore.\n iban: string | null;// String Account IBAN.\n};\n\ntype BudgetInsightUser = {\n id: number;\n signin: Date;\n platform: string;\n};\n\ntype BudgetInsightConnection = {\n id: number; // ID of the connection.\n id_user: number | null; // ID of the related user.\n id_connector: number; // ID of the related connector.\n state: BudgetInsightConnectionState | null; // If the last update failed, the state code. The null value indicates a successful sync.\n error: BudgetInsightConnectionState | null; // (Deprecated) If the last update failed, the state code. The null value indicates a successful sync.\n error_message: string | null; // If the last update failed, an optional message from the connector to guide the user into recovering from the error.\n fields: string[]; // of ConnectorField objects For connections in an error state, an optional list of connector fields that must be prompted to the end-user.\n last_update: Date | null; // Last successful update.\n created: Date | null; // Creation date of the connection.\n active: boolean; // Whether this connection is active and will be automatically synced.\n last_push: Date | null; // Last successful push.\n expire: Date | null; // Highest value among expiration dates of connection sources.\n connector_uuid: string; // UUID of the related connector.\n next_try: Date | null; // Scheduled date of next synchronization.\n};\n\nexport type BudgetInsightConnectionSyncedQuery = {\n user: BudgetInsightUser;\n connection: BudgetInsightConnection & { connector: any; sources: any; accounts: any; };\n};\n\nexport type BudgetEditBankAccount = {\n display?: boolean;// Whether the bank account should be deisplayed and included in aggregated metrics.\n name?: string; // Display name of the account.\n disabled?: boolean; // Whether the bank account should be synchronized.\n bookmarked?: boolean; // Whether the bank account is bookmarked.\n usage?:BudgetInsightBankAccountUsage // Account usage.\n};\n\nexport type BudgetInsightGetAllTransactions = {\n income?: boolean, // Filter on incomes or expenditures.\n deleted?: boolean, // Filter on deleted transactions.\n all?: boolean, // If set, cancels the implicit filtering.\n last_update?: string, // DateTime Filter transactions updated after the specified date.\n wording?: string, // Filter transactions containing the given string.\n min_value?: number, // Minimal (inclusive) value.\n max_value?: number, // Maximum (inclusive) value.\n search?: string, // Search in wording, dates, values, categories.\n value?: number, // Decimal or Value of the transaction. \"XX|-XX\" and \"±XX\" syntaxes are also accepted.\n};"]}
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/budgetInsight/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAgC,MAAM,6BAA6B,CAAC;AAE/F,MAAM,OAAO,UAAU;CAQtB;AAPC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;yCACK;AAEhB;IAAC,WAAW,EAAE;IACb,MAAM,CAAC,kBAAkB,CAAC;;yCACC","sourcesContent":["import { IsEnum, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { BudgetInsightEvent, BudgetInsightConnectionState } from '../../../Enum/BudgetInsight';\n\nexport class QueryHooks {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsEnum(BudgetInsightEvent)\n event: BudgetInsightEvent;\n}\n\ntype BudgetCurrency = {\n id: string; // Currency code (ISO 4217).\n name: string; // Display name of the currency.\n symbol: string; // Display symbol of the currency.\n precision: number; // number precision of the currency.\n prefix: boolean;\n crypto: boolean;\n};\n\ntype BudgetInsightAccountTypeName =\n 'article83' | // Article 83\n 'capitalisation' | // Capitalization contract\n 'card' | // Card\n 'checking' | // Checking account\n 'crowdlending' | // Crowdlending\n 'deposit' | // Deposit account\n 'joint' | // Joint account\n 'lifeinsurance' | // Life insurance account\n 'loan' | // Loan\n 'madelin' | // Madelin retirement contract\n 'market' | // Market account\n 'pea' | // Shared savings plan (Plan d'Epargne en Actions)\n 'pee' | // Company savings plan (Plan d'Epargne Entreprise)\n 'per' | // Retirement savings plan (Plan d'Epargne Retraite)\n 'perco' | // Group retirement savings plan (Plan d'Epargne pour la Retraite Collectif)\n 'perp' | // Popular retirement savings plan (Plan d'Epargne Retraite Populaire)\n 'real_estate' | // Real estate placement\n 'rsp' | // Special profit-sharing reserve (Réserve Spéciale de Participation)\n 'savings' | // Savings account\n 'unknown'; // Unknown account type\n\ntype BudgetInsightTransactionType =\n 'transfer' | // Transfer\n 'order' | // Order\n 'check' | // Check\n 'deposit' | // Deposit\n 'payback' | // Payback\n 'withdrawal' | // Withdrawal\n 'loan_payment' | // Loan payment\n 'bank' | // Bank fees\n 'card' | // Card operation\n 'deferred_card' | // Deferred card operation\n 'summary_card' | // Mensual debit of a deferred card\n 'unknown'; // Unknown transaction type\n\ntype BudgetInsightBankAccountUsage =\n'PRIV' |// Private account.\n'ORGA' |// Professional account.\n'ASSO'; // Association account.\n\ntype BudgetInsightBankAccountOwnerShip =\n 'owner' | // Account holder.\n 'co-owner' | // Holder on a joint account.\n 'attorney'; // Account authorized agent.\n\ntype BudgetInsightLoan = {\n total_amount: number | null; // Total amount of the loan.\n available_amount: number | null; // Amount of the loan not yet released and still available.\n used_amount: number | null; // Amount of the load already used.\n subscription_date: Date | null; // Subscription date of the loan.\n maturity_date: Date | null; // Estimated end date of the loan.\n next_payment_amount: number | null; // Amount of the next payment.\n next_payment_date: Date | null; // Date of the next payment.\n rate: number | null; // Rate of the loan.\n nb_payments_left: number | null; // Number of payments still due.\n nb_payments_done: number | null; // Number of payments done.\n nb_payments_total: number | null; // Total number of payments.\n last_payment_amount: Date | null; // Amount of the last payment.\n last_payment_date: Date | null; // Date of the last payment.\n account_label: string | null; // Name of the debited account.\n insurance_label: string | null; // Label of the insurance.\n duration: number | null; // Duration of the loan, in months.\n type: string | null; // Type of the loan (mortgage, consumercredit or revolvingcredit).\n};\n\nexport type BudgetInsightTransaction = {\n id: number; // ID of the transaction.\n id_account: number; // ID of the related account.\n application_date: Date | null; // Date considered by PFM services. This date can be edited.\n date: Date; // Date when the transaction is posted to the account.\n datetime: Date | null; // Date and time when the transaction is posted to the account, if available, in UTC.\n vdate: Date | null; // Value date of the transaction. In most cases, equivalent to date.\n vdatetime: Date | null; // Value date and time of the transaction, if available, in UTC. In most cases, equivalent to datetime.\n rdate: Date; // Date when the transaction order has been given.\n rdatetime: Date | null; // Date and time when the transaction order has been given, if available, in UTC.\n bdate: Date | null; // Date displayed by the bank for the transaction.\n bdatetime: number | null; // Date and time displayed by the bank for the transaction, if available, in UTC.\n value: number | null; // Value of the transaction.\n gross_value: number | null; // Gross value of the transaction.\n type: BudgetInsightTransactionType; // Type of transaction.\n original_wording: string; // Full label of the transaction, as seen on the bank.\n simplified_wording: string; // Simplified label of the transaction.\n wording:string | null; // Label of the transaction, can be edited.\n id_category: number | null; // ID of the related category.\n date_scraped: Date; // Date and time when the transaction was seen.\n coming: boolean; // If true, this transaction has not yet been posted to the account.\n active: boolean; // If false, PFM services will ignore this transaction.\n id_cluster: number | null; // If the transaction is part of a cluster.\n comment:string | null; // User comment.\n last_update: Date | null; // Last update of the transaction.\n deleted: number | null; // If set, this transaction has been removed from the bank.\n original_value: number | null; // Value in the original currency.\n original_gross_value: number | null; // Gross value in the original currency.\n original_currency: BudgetCurrency | null; // Original currency.\n commission: number | null; // Commission taken on the transaction.\n commission_currency: BudgetCurrency | null; // Commission currency.\n country:string | null; // Original country.\n card:string | null; // Card number associated with the transaction.\n};\n\nexport type BudgetInsightAccountSyncedQuery = {\n id: number; // ID of the bank account.\n id_connection: number | null; // ID of the related connection.\n id_user: number | null; // ID of the related user.\n id_source: number | null; // ID of the related connection source.\n id_parent: number | null; // ID of the parent account.\n number: string | null; // Account number.\n original_name: string; // Original name of the account, as seen on the bank.\n balance: number | null; // Balance of the account.\n coming: number | null; // Amount of coming operations not yet debited.\n display: boolean; // Whether the bank account should be presented.\n last_update: Date | null; // Last successful update of the account.\n deleted: Date | null; // If set, this account is not found on the website anymore.\n disabled: Date | null; // If set, this account has been disabled by user and will not be synchronized anymore.\n iban: string | null; // Account IBAN.\n currency: BudgetCurrency | null; // Account currency.\n type: BudgetInsightAccountTypeName; // Technical code of the account type.\n id_type: number; // ID of the account type.\n bookmarked: number; // This account has been bookmarked by user.\n name: string; // The name of the account.\n error: string | null; // If the last update has failed, the error code.\n usage: BudgetInsightBankAccountUsage; // Account usage. If not overridden, the value of original_usage is returned.\n ownership: BudgetInsightBankAccountOwnerShip | null; // Relationship between the credentials owner and the account.\n company_name: string | null; // Name of the company holding the employee savings of the account.\n loan: BudgetInsightLoan | null; // For loan accounts, the loan details.\n transactions: BudgetInsightTransaction[];\n};\n\nexport type BudgetInsightBankAccount = {\n id: number; // ID of the bank account.\n id_connection: number | null;// ID of the related connection.\n id_user: number | null;// ID of the related user.\n id_source: number | null;// ID of the related connection source.\n id_parent: number | null;// ID of the parent account.\n number: string | null;// String Account number.\n original_name: string;// String Original name of the account, as seen on the bank.\n balance: number | null;// Decimal Balance of the account.\n coming: number | null;// Decimal Amount of coming operations not yet debited.\n display: boolean | null;// Boolean Whether the bank account should be presented.\n last_update: Date | null;// DateTime Last successful update of the account.\n deleted: Date | null;// DateTime If set, this account is not found on the website anymore.\n disabled: Date | null;// DateTime If set, this account has been disabled by user and will not be synchronized anymore.\n iban: string | null;// String Account IBAN.\n};\n\ntype BudgetInsightUser = {\n id: number;\n signin: Date;\n platform: string;\n};\n\ntype BudgetInsightConnection = {\n id: number; // ID of the connection.\n id_user: number | null; // ID of the related user.\n id_connector: number; // ID of the related connector.\n state: BudgetInsightConnectionState | null; // If the last update failed, the state code. The null value indicates a successful sync.\n error: BudgetInsightConnectionState | null; // (Deprecated) If the last update failed, the state code. The null value indicates a successful sync.\n error_message: string | null; // If the last update failed, an optional message from the connector to guide the user into recovering from the error.\n fields: string[]; // of ConnectorField objects For connections in an error state, an optional list of connector fields that must be prompted to the end-user.\n last_update: Date | null; // Last successful update.\n created: Date | null; // Creation date of the connection.\n active: boolean; // Whether this connection is active and will be automatically synced.\n last_push: Date | null; // Last successful push.\n expire: Date | null; // Highest value among expiration dates of connection sources.\n connector_uuid: string; // UUID of the related connector.\n next_try: Date | null; // Scheduled date of next synchronization.\n};\n\nexport type BudgetInsightConnectionSyncedQuery = {\n user: BudgetInsightUser;\n connection: BudgetInsightConnection & { connector: any; sources: any; accounts: any; };\n};\n\nexport type BudgetEditBankAccount = {\n display?: boolean;// Whether the bank account should be deisplayed and included in aggregated metrics.\n name?: string; // Display name of the account.\n disabled?: boolean; // Whether the bank account should be synchronized.\n bookmarked?: boolean; // Whether the bank account is bookmarked.\n usage?:BudgetInsightBankAccountUsage // Account usage.\n};\n\nexport type BudgetInsightGetAllTransactions = {\n income?: boolean, // Filter on incomes or expenditures.\n deleted?: boolean, // Filter on deleted transactions.\n all?: boolean, // If set, cancels the implicit filtering.\n last_update?: string, // DateTime Filter transactions updated after the specified date.\n wording?: string, // Filter transactions containing the given string.\n min_value?: number, // Minimal (inclusive) value.\n max_value?: number, // Maximum (inclusive) value.\n search?: string, // Search in wording, dates, values, categories.\n value?: number, // Decimal or Value of the transaction. \"XX|-XX\" and \"±XX\" syntaxes are also accepted.\n limit: number // devient obligatoire depuis le 1er octobre 2023. Max 1000 et si 100 si expand\n};"]}
|
|
@@ -38,6 +38,11 @@ class Authenticate extends _Resource.Resource {
|
|
|
38
38
|
return this.axios.$post('/authenticate/collaborater', payload);
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
+
connectAs(idSociety) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
return this.axios.$post(`/authenticate/societies/${idSociety}`);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
41
46
|
}
|
|
42
47
|
exports.Authenticate = Authenticate;
|
|
43
48
|
//# sourceMappingURL=Authenticate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authenticate.js","names":["_Resource","require","Authenticate","Resource","authentificateCollaborater","payload","axios","$post","exports"],"sources":["../../../ts/api/resources/Authenticate.ts"],"sourcesContent":["import { FormAuthenticate } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Authenticate extends Resource {\n async authentificateCollaborater(payload: FormAuthenticate) {\n return this.axios.$post('/authenticate/collaborater', payload);\n }\n}"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEM,MAAOC,YAAa,SAAQC,kBAAQ;EAClCC,0BAA0BA,CAACC,OAAyB;;MACxD,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,4BAA4B,EAAEF,OAAO,CAAC;IAChE,CAAC;;;
|
|
1
|
+
{"version":3,"file":"Authenticate.js","names":["_Resource","require","Authenticate","Resource","authentificateCollaborater","payload","axios","$post","connectAs","idSociety","exports"],"sources":["../../../ts/api/resources/Authenticate.ts"],"sourcesContent":["import { FormAuthenticate, ReadConnectAs } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Authenticate extends Resource {\n async authentificateCollaborater(payload: FormAuthenticate) {\n return this.axios.$post('/authenticate/collaborater', payload);\n }\n\n async connectAs(idSociety: number): Promise<ReadConnectAs> {\n return this.axios.$post(`/authenticate/societies/${idSociety}`);\n }\n}"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEM,MAAOC,YAAa,SAAQC,kBAAQ;EAClCC,0BAA0BA,CAACC,OAAyB;;MACxD,OAAO,IAAI,CAACC,KAAK,CAACC,KAAK,CAAC,4BAA4B,EAAEF,OAAO,CAAC;IAChE,CAAC;;EAEKG,SAASA,CAACC,SAAiB;;MAC/B,OAAO,IAAI,CAACH,KAAK,CAACC,KAAK,CAAC,2BAA2BE,SAAS,EAAE,CAAC;IACjE,CAAC;;;AACFC,OAAA,CARYR,YAAa,GAAbA,YAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Society.js","names":["_Resource","require","Society","Resource","get","params","axios","$get","getPaginated","cancelToken","Object","assign","getInvoiceEmail","createInvoiceEmail","data","$post","updateInvoiceEmail","$put","createSociety","fromSubscription","isCreatedInApp","updateSociety","id","update","payload","patch","archive","society","archiveDate","Date","getDataSociety","synchronize","autoImportationTransactions","importBalanceBankAccount","idSociety","idBankAccount","listUserSociety","getAccountant","deleteUser","idUser","$delete","createUserToSocietyWithPermission","updateUserToSocietyWithPermission","delete","getAllMissingInformations","getOwner","exports"],"sources":["../../../ts/api/resources/Society.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n CreateInvoiceMail,\n UpdateInvoiceMail,\n IMailSociety,\n ISociety,\n LegalFormSiren,\n GetDataSociety,\n CreateSociety,\n CreateSynchronization,\n UpdateSociety,\n CreateBudgetBalanceBankAccount,\n IUser,\n ListUserSociety,\n CreateUserToSocietyWithPermission,\n UpdateUserToSocietyWithPermission,\n ReadSocietyUsers,\n QuerySociety,\n UpdateSocietyPayload,\n QueryPaginatedSociety,\n ReadInvalidFieldState,\n} from '../../types';\n\nexport class Society extends Resource {\n public get(params: QuerySociety): Promise<ISociety> {\n return this.axios.$get('/society', { params });\n }\n\n public getPaginated(params: QueryPaginatedSociety, cancelToken?: CancelToken): Promise<ISociety
|
|
1
|
+
{"version":3,"file":"Society.js","names":["_Resource","require","Society","Resource","get","params","axios","$get","getPaginated","cancelToken","Object","assign","getInvoiceEmail","createInvoiceEmail","data","$post","updateInvoiceEmail","$put","createSociety","fromSubscription","isCreatedInApp","updateSociety","id","update","payload","patch","archive","society","archiveDate","Date","getDataSociety","synchronize","autoImportationTransactions","importBalanceBankAccount","idSociety","idBankAccount","listUserSociety","getAccountant","deleteUser","idUser","$delete","createUserToSocietyWithPermission","updateUserToSocietyWithPermission","delete","getAllMissingInformations","getOwner","exports"],"sources":["../../../ts/api/resources/Society.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport {\n CreateInvoiceMail,\n UpdateInvoiceMail,\n IMailSociety,\n ISociety,\n LegalFormSiren,\n GetDataSociety,\n CreateSociety,\n CreateSynchronization,\n UpdateSociety,\n CreateBudgetBalanceBankAccount,\n IUser,\n ListUserSociety,\n CreateUserToSocietyWithPermission,\n UpdateUserToSocietyWithPermission,\n ReadSocietyUsers,\n QuerySociety,\n UpdateSocietyPayload,\n QueryPaginatedSociety,\n ReadInvalidFieldState,\n BasePaginate,\n} from '../../types';\n\nexport class Society extends Resource {\n public get(params: QuerySociety): Promise<ISociety> {\n return this.axios.$get('/society', { params });\n }\n\n public getPaginated(params: QueryPaginatedSociety, cancelToken?: CancelToken): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n getInvoiceEmail(): Promise<IMailSociety | Error> {\n return this.axios.$get('/society/invoiceEmail');\n }\n\n createInvoiceEmail(data: CreateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$post('/society/invoiceEmail', data);\n }\n\n updateInvoiceEmail(data: UpdateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$put('/society/invoiceEmail', data);\n }\n createSociety(data: CreateSociety, fromSubscription: boolean | string, isCreatedInApp: boolean): Promise<ISociety> {\n return this.axios.$post(`/society/create?fromSubscription=${fromSubscription}&isCreatedInApp=${isCreatedInApp}`, data);\n }\n updateSociety(id: number, data: UpdateSociety): Promise<ISociety> {\n return this.axios.$put(`/society/${id}/updateSociety`, data);\n }\n\n update(id: number, payload: UpdateSocietyPayload): Promise<ISociety> {\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n archive(id: number): Promise<ISociety> {\n const payload: UpdateSocietyPayload = { society: { archive: true, archiveDate: new Date() } };\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n // this endpoint is used to fetch from extern api for legalForm\n getDataSociety(params: GetDataSociety): Promise<LegalFormSiren[]> {\n return this.axios.$get('/society/dataSociety', { params });\n }\n synchronize(id: number, params: CreateSynchronization): Promise<string> {\n return this.axios.$post(`/society/${id}/synchronize`, params);\n }\n autoImportationTransactions(): Promise<void> {\n return this.axios.$post('/society/bankAccount/autoImportationTransactions');\n }\n importBalanceBankAccount(idSociety: number, idBankAccount: number, params: CreateBudgetBalanceBankAccount): Promise<number> {\n return this.axios.$post(`/society/${idSociety}/bankAccount/${idBankAccount}/importBalance`, params);\n }\n listUserSociety(idSociety: number, params: ListUserSociety):Promise<ReadSocietyUsers> {\n return this.axios.$get(`/society/${idSociety}/users`, { params });\n }\n getAccountant(): Promise<IUser | null> {\n return this.axios.$get('/society/accountant');\n }\n deleteUser(idSociety: number, idUser: number): Promise<true> {\n return this.axios.$delete(`/society/${idSociety}/user/${idUser}`);\n }\n createUserToSocietyWithPermission(idSociety: number, data: CreateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$post(`/society/${idSociety}/userToSocietyWithPermission`, data);\n }\n updateUserToSocietyWithPermission(idSociety: number, id: number, data: UpdateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$put(`/society/${idSociety}/userToSocietyWithPermission/${id}`, data);\n }\n delete(id: number): Promise<number> {\n return this.axios.$delete(`/society/${id}`);\n }\n getAllMissingInformations(id: number): Promise<ReadInvalidFieldState[]> {\n return this.axios.$get(`/society/${id}/informations-statements`);\n }\n\n getOwner(id: number): Promise<IUser> {\n return this.axios.$get(`/societies/${id}/owner`);\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AAwBM,MAAOC,OAAQ,SAAQC,kBAAQ;EAC5BC,GAAGA,CAACC,MAAoB;IAC7B,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,UAAU,EAAE;MAAEF;IAAM,CAAE,CAAC;EAChD;EAEOG,YAAYA,CAACH,MAA6B,EAAEI,WAAyB;IAC1E,OAAO,IAAI,CAACH,KAAK,CAACC,IAAI,CAAC,oBAAoB,EAAAG,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAC,MAAA,KACrCF,WAAW,GAAG;MAAEA;IAAW,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AAE,0BAA0B,CAAC;EAClE;EAEAuB,QAAQA,CAACvB,EAAU;IACjB,OAAO,IAAI,CAAChB,KAAK,CAACC,IAAI,CAAC,cAAce,EAAE,QAAQ,CAAC;EAClD;;AACDwB,OAAA,CA7EY5C,OAAQ,GAARA,OAAQ"}
|
package/js/types/Enum/Role.js
CHANGED
|
@@ -48,4 +48,5 @@ var Role = exports.Role = undefined;
|
|
|
48
48
|
Role[Role["REFERENT_LITIGE"] = 47] = "REFERENT_LITIGE";
|
|
49
49
|
Role[Role["REFERENT_CLIENT"] = 48] = "REFERENT_CLIENT";
|
|
50
50
|
})(Role || (exports.Role = Role = {}));
|
|
51
|
+
const RoleAllowedToLogInAsClient = exports.RoleAllowedToLogInAsClient = [Role.ADMIN, Role.ACCOUNTANT, Role.SUPER_ADMIN, Role.COMMERCIAL, Role.CUSTOMER_SUCCESS, Role.SOCIAL, Role.JURIDIC, Role.DEVELOPER, Role.PARTNERED_ACCOUNTANT];
|
|
51
52
|
//# sourceMappingURL=Role.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Role.js","names":["Role","exports","undefined"],"sources":["../../../ts/types/Enum/Role.ts"],"sourcesContent":["export enum Role {\n CLIENT = 1,\n ADMIN = 2,\n FRONT_OFFICE = 3,\n ACCOUNTANT = 3,\n COMMERCIAL = 9,\n CUSTOMER_SUCCESS = 10,\n SOCIAL = 11,\n JURIDIC = 12,\n // CHIEF_ACCOUNTANT = 13,\n // SUPERVISOR = 14,\n FRONT_OFFICE_EXPRESS = 15,\n SUPER_ADMIN = 16,\n EXPERT_SUB_CONTRACTOR = 17,\n MAINTAINER = 18,\n MANAGER = 19,\n EXPERT_ACCOUNTANT = 20,\n // MFA_PENDING = 21,\n // VAT = 22,\n CANDIDAT = 24,\n DEVELOPER = 25,\n API = 26,\n // BACK_OFFICE = 27,\n // BACK_OFFICE_EXPRESS = 28,\n // BACK_MANAGER = 30,\n // FRONT_MANAGER = 31,\n // CUSTOMER_SUCCESS_MANAGER = 32,\n // COMMERCIAL_MANAGER = 33,\n FACTURATION = 34,\n HUMAN_RESSOURCES = 35,\n PARTNERED_ACCOUNTANT = 36,\n SDR = 37,\n FORECAST_MANAGER = 38,\n // TERMINATION_MANAGER = 39,\n EXPRESS_MANAGER = 40,\n // CONFLICT_MANAGER = 41,\n ATTESTATION_MANAGER = 42,\n JURIDICAL_SUPPORT = 43,\n INTERN = 44,\n ALTERNATE = 45,\n DIRECTOR = 46,\n REFERENT_LITIGE = 47,\n REFERENT_CLIENT = 48,\n}"],"mappings":";;;;;AAAA,IAAYA,IA2CX,GAAAC,OAAA,CA3CWD,IA2CX,GAAAE,SAAA;AA3CD,WAAYF,IAAI;EACdA,IAAA,CAAAA,IAAA,0BAAU;EACVA,IAAA,CAAAA,IAAA,wBAAS;EACTA,IAAA,CAAAA,IAAA,sCAAgB;EAChBA,IAAA,CAAAA,IAAA,kCAAc;EACdA,IAAA,CAAAA,IAAA,kCAAc;EACdA,IAAA,CAAAA,IAAA,+CAAqB;EACrBA,IAAA,CAAAA,IAAA,2BAAW;EACXA,IAAA,CAAAA,IAAA,6BAAY;EACZ;EACA;EACAA,IAAA,CAAAA,IAAA,uDAAyB;EACzBA,IAAA,CAAAA,IAAA,qCAAgB;EAChBA,IAAA,CAAAA,IAAA,yDAA0B;EAC1BA,IAAA,CAAAA,IAAA,mCAAe;EACfA,IAAA,CAAAA,IAAA,6BAAY;EACZA,IAAA,CAAAA,IAAA,iDAAsB;EACtB;EACA;EACAA,IAAA,CAAAA,IAAA,+BAAa;EACbA,IAAA,CAAAA,IAAA,iCAAc;EACdA,IAAA,CAAAA,IAAA,qBAAQ;EACR;EACA;EACA;EACA;EACA;EACA;EACAA,IAAA,CAAAA,IAAA,qCAAgB;EAChBA,IAAA,CAAAA,IAAA,+CAAqB;EACrBA,IAAA,CAAAA,IAAA,uDAAyB;EACzBA,IAAA,CAAAA,IAAA,qBAAQ;EACRA,IAAA,CAAAA,IAAA,+CAAqB;EACrB;EACAA,IAAA,CAAAA,IAAA,6CAAoB;EACpB;EACAA,IAAA,CAAAA,IAAA,qDAAwB;EACxBA,IAAA,CAAAA,IAAA,iDAAsB;EACtBA,IAAA,CAAAA,IAAA,2BAAW;EACXA,IAAA,CAAAA,IAAA,iCAAc;EACdA,IAAA,CAAAA,IAAA,+BAAa;EACbA,IAAA,CAAAA,IAAA,6CAAoB;EACpBA,IAAA,CAAAA,IAAA,6CAAoB;AACtB,CAAC,EA3CWA,IAAI,KAAAC,OAAA,CAAJD,IA2CX,GA3CWA,IAAI"}
|
|
1
|
+
{"version":3,"file":"Role.js","names":["Role","exports","undefined","RoleAllowedToLogInAsClient","ADMIN","ACCOUNTANT","SUPER_ADMIN","COMMERCIAL","CUSTOMER_SUCCESS","SOCIAL","JURIDIC","DEVELOPER","PARTNERED_ACCOUNTANT"],"sources":["../../../ts/types/Enum/Role.ts"],"sourcesContent":["export enum Role {\n CLIENT = 1,\n ADMIN = 2,\n FRONT_OFFICE = 3,\n ACCOUNTANT = 3,\n COMMERCIAL = 9,\n CUSTOMER_SUCCESS = 10,\n SOCIAL = 11,\n JURIDIC = 12,\n // CHIEF_ACCOUNTANT = 13,\n // SUPERVISOR = 14,\n FRONT_OFFICE_EXPRESS = 15,\n SUPER_ADMIN = 16,\n EXPERT_SUB_CONTRACTOR = 17,\n MAINTAINER = 18,\n MANAGER = 19,\n EXPERT_ACCOUNTANT = 20,\n // MFA_PENDING = 21,\n // VAT = 22,\n CANDIDAT = 24,\n DEVELOPER = 25,\n API = 26,\n // BACK_OFFICE = 27,\n // BACK_OFFICE_EXPRESS = 28,\n // BACK_MANAGER = 30,\n // FRONT_MANAGER = 31,\n // CUSTOMER_SUCCESS_MANAGER = 32,\n // COMMERCIAL_MANAGER = 33,\n FACTURATION = 34,\n HUMAN_RESSOURCES = 35,\n PARTNERED_ACCOUNTANT = 36,\n SDR = 37,\n FORECAST_MANAGER = 38,\n // TERMINATION_MANAGER = 39,\n EXPRESS_MANAGER = 40,\n // CONFLICT_MANAGER = 41,\n ATTESTATION_MANAGER = 42,\n JURIDICAL_SUPPORT = 43,\n INTERN = 44,\n ALTERNATE = 45,\n DIRECTOR = 46,\n REFERENT_LITIGE = 47,\n REFERENT_CLIENT = 48,\n}\n\nexport const RoleAllowedToLogInAsClient = [\n Role.ADMIN,\n Role.ACCOUNTANT,\n Role.SUPER_ADMIN,\n Role.COMMERCIAL,\n Role.CUSTOMER_SUCCESS,\n Role.SOCIAL,\n Role.JURIDIC,\n Role.DEVELOPER,\n Role.PARTNERED_ACCOUNTANT,\n];"],"mappings":";;;;;AAAA,IAAYA,IA2CX,GAAAC,OAAA,CA3CWD,IA2CX,GAAAE,SAAA;AA3CD,WAAYF,IAAI;EACdA,IAAA,CAAAA,IAAA,0BAAU;EACVA,IAAA,CAAAA,IAAA,wBAAS;EACTA,IAAA,CAAAA,IAAA,sCAAgB;EAChBA,IAAA,CAAAA,IAAA,kCAAc;EACdA,IAAA,CAAAA,IAAA,kCAAc;EACdA,IAAA,CAAAA,IAAA,+CAAqB;EACrBA,IAAA,CAAAA,IAAA,2BAAW;EACXA,IAAA,CAAAA,IAAA,6BAAY;EACZ;EACA;EACAA,IAAA,CAAAA,IAAA,uDAAyB;EACzBA,IAAA,CAAAA,IAAA,qCAAgB;EAChBA,IAAA,CAAAA,IAAA,yDAA0B;EAC1BA,IAAA,CAAAA,IAAA,mCAAe;EACfA,IAAA,CAAAA,IAAA,6BAAY;EACZA,IAAA,CAAAA,IAAA,iDAAsB;EACtB;EACA;EACAA,IAAA,CAAAA,IAAA,+BAAa;EACbA,IAAA,CAAAA,IAAA,iCAAc;EACdA,IAAA,CAAAA,IAAA,qBAAQ;EACR;EACA;EACA;EACA;EACA;EACA;EACAA,IAAA,CAAAA,IAAA,qCAAgB;EAChBA,IAAA,CAAAA,IAAA,+CAAqB;EACrBA,IAAA,CAAAA,IAAA,uDAAyB;EACzBA,IAAA,CAAAA,IAAA,qBAAQ;EACRA,IAAA,CAAAA,IAAA,+CAAqB;EACrB;EACAA,IAAA,CAAAA,IAAA,6CAAoB;EACpB;EACAA,IAAA,CAAAA,IAAA,qDAAwB;EACxBA,IAAA,CAAAA,IAAA,iDAAsB;EACtBA,IAAA,CAAAA,IAAA,2BAAW;EACXA,IAAA,CAAAA,IAAA,iCAAc;EACdA,IAAA,CAAAA,IAAA,+BAAa;EACbA,IAAA,CAAAA,IAAA,6CAAoB;EACpBA,IAAA,CAAAA,IAAA,6CAAoB;AACtB,CAAC,EA3CWA,IAAI,KAAAC,OAAA,CAAJD,IA2CX,GA3CWA,IAAI;AA6CT,MAAMG,0BAA0B,GAAAF,OAAA,CAA1BE,0BAA0B,GAAG,CACxCH,IAAI,CAACI,KAAK,EACVJ,IAAI,CAACK,UAAU,EACfL,IAAI,CAACM,WAAW,EAChBN,IAAI,CAACO,UAAU,EACfP,IAAI,CAACQ,gBAAgB,EACrBR,IAAI,CAACS,MAAM,EACXT,IAAI,CAACU,OAAO,EACZV,IAAI,CAACW,SAAS,EACdX,IAAI,CAACY,oBAAoB,CAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnnotateAccountingTransaction.js","names":["_classValidator","require","_utils","_boolean","FormEntry","exports","UpdateAccountingTransaction","__decorate","ApiPropertyOptional","IsBoolean","ToBoolean","IsOptional","Date","IsNumber"],"sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"sourcesContent":["import { IsBoolean, IsNumber, 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 @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idAccountant?: number;\n\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"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;;;;;;;;;;;AAIM,MAAOG,SAAS;AAcrBC,OAAA,CAdYD,SAAS,GAATA,SAAS;AAmBhB,MAAOE,2BAA2B;AA6BvCD,OAAA,CA7BYC,2BAA2B,GAA3BA,2BAA2B;AACtCC,UAAA,EAAC,IAAAC,0BAAmB;AACpB;AAAA,E,4FACwB;AACxBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,6FACH;AACnBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,sGACM;AAC5BD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,8FACG;AACzBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,EACX,IAAAC,0BAAU,GAAE,E,8FACO;AACpBJ,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,0BACRI,IAAI,E,6DAAC;AACnBL,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,mGACG;AACzBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,0FACN;AAChBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,0GACU;AAEhCD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAG,0BAAU,GAAE,EACZ,IAAAE,wBAAQ,GAAE,E,kGACa"}
|
|
1
|
+
{"version":3,"file":"AnnotateAccountingTransaction.js","names":["_classValidator","require","_utils","_boolean","FormEntry","exports","UpdateAccountingTransaction","__decorate","ApiPropertyOptional","IsBoolean","ToBoolean","IsOptional","Date","IsNumber"],"sources":["../../../../../ts/types/Interface/api/accountingEntry/AnnotateAccountingTransaction.ts"],"sourcesContent":["import { IsBoolean, IsNumber, 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 | null | {\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 @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idAccountant?: number;\n\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"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;;;;;;;;;;;AAIM,MAAOG,SAAS;AAcrBC,OAAA,CAdYD,SAAS,GAATA,SAAS;AAmBhB,MAAOE,2BAA2B;AA6BvCD,OAAA,CA7BYC,2BAA2B,GAA3BA,2BAA2B;AACtCC,UAAA,EAAC,IAAAC,0BAAmB;AACpB;AAAA,E,4FACwB;AACxBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,6FACH;AACnBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,sGACM;AAC5BD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,8FACG;AACzBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,EACX,IAAAC,0BAAU,GAAE,E,8FACO;AACpBJ,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,0BACRI,IAAI,E,6DAAC;AACnBL,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,mGACG;AACzBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,0FACN;AAChBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,0GACU;AAEhCD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAG,0BAAU,GAAE,EACZ,IAAAE,wBAAQ,GAAE,E,kGACa"}
|
|
@@ -5,4 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
class ReadAuthenticateCollaborater {}
|
|
7
7
|
exports.ReadAuthenticateCollaborater = ReadAuthenticateCollaborater;
|
|
8
|
+
class ReadConnectAs {}
|
|
9
|
+
exports.ReadConnectAs = ReadConnectAs;
|
|
8
10
|
//# sourceMappingURL=ReadAuthenticateCollaborater.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadAuthenticateCollaborater.js","names":["ReadAuthenticateCollaborater","exports"],"sources":["../../../../../ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"ReadAuthenticateCollaborater.js","names":["ReadAuthenticateCollaborater","exports","ReadConnectAs"],"sources":["../../../../../ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts"],"sourcesContent":["import { IUser } from '../../models/IUser';\n\nexport class ReadAuthenticateCollaborater {\n token: string;\n}\n\nexport class ReadConnectAs {\n token: string;\n user: IUser;\n}"],"mappings":";;;;;AAEM,MAAOA,4BAA4B;AAExCC,OAAA,CAFYD,4BAA4B,GAA5BA,4BAA4B;AAInC,MAAOE,aAAa;AAGzBD,OAAA,CAHYC,aAAa,GAAbA,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Read.js","names":[],"sources":["../../../../../ts/types/Interface/api/balanceSheet/Read.ts"],"sourcesContent":["export type ReadBalanceSheetYearStatistic = {\n
|
|
1
|
+
{"version":3,"file":"Read.js","names":[],"sources":["../../../../../ts/types/Interface/api/balanceSheet/Read.ts"],"sourcesContent":["export type ReadBalanceSheetYearStatistic = {\n doneIsBack: number; doneNoBack: number; todoIsBack: number; todoNoBack: number;\n};\n\nexport type ReadBalanceSheetStatistic = {\n id: number;\n firstname: string;\n lastname: string;\n statistics: {\n actualYearMinusFour: ReadBalanceSheetYearStatistic;\n actualYearMinusThree: ReadBalanceSheetYearStatistic;\n actualYearMinusTwo: ReadBalanceSheetYearStatistic;\n actualYearMinusOne: ReadBalanceSheetYearStatistic;\n actualYear: ReadBalanceSheetYearStatistic;\n actualYearPlusOne: ReadBalanceSheetYearStatistic;\n }\n};\n\nexport type ReadBalanceSheetMonthlyStatistic = {\n idMonth: number;\n done: number;\n todo: number;\n};"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","names":["_classValidator","require","_utils","_BudgetInsight","QueryHooks","exports","__decorate","ApiProperty","IsString","IsEnum","BudgetInsightEvent"],"sources":["../../../../../ts/types/Interface/api/budgetInsight/Query.ts"],"sourcesContent":["import { IsEnum, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { BudgetInsightEvent, BudgetInsightConnectionState } from '../../../Enum/BudgetInsight';\n\nexport class QueryHooks {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsEnum(BudgetInsightEvent)\n event: BudgetInsightEvent;\n}\n\ntype BudgetCurrency = {\n id: string; // Currency code (ISO 4217).\n name: string; // Display name of the currency.\n symbol: string; // Display symbol of the currency.\n precision: number; // number precision of the currency.\n prefix: boolean;\n crypto: boolean;\n};\n\ntype BudgetInsightAccountTypeName =\n 'article83' | // Article 83\n 'capitalisation' | // Capitalization contract\n 'card' | // Card\n 'checking' | // Checking account\n 'crowdlending' | // Crowdlending\n 'deposit' | // Deposit account\n 'joint' | // Joint account\n 'lifeinsurance' | // Life insurance account\n 'loan' | // Loan\n 'madelin' | // Madelin retirement contract\n 'market' | // Market account\n 'pea' | // Shared savings plan (Plan d'Epargne en Actions)\n 'pee' | // Company savings plan (Plan d'Epargne Entreprise)\n 'per' | // Retirement savings plan (Plan d'Epargne Retraite)\n 'perco' | // Group retirement savings plan (Plan d'Epargne pour la Retraite Collectif)\n 'perp' | // Popular retirement savings plan (Plan d'Epargne Retraite Populaire)\n 'real_estate' | // Real estate placement\n 'rsp' | // Special profit-sharing reserve (Réserve Spéciale de Participation)\n 'savings' | // Savings account\n 'unknown'; // Unknown account type\n\ntype BudgetInsightTransactionType =\n 'transfer' | // Transfer\n 'order' | // Order\n 'check' | // Check\n 'deposit' | // Deposit\n 'payback' | // Payback\n 'withdrawal' | // Withdrawal\n 'loan_payment' | // Loan payment\n 'bank' | // Bank fees\n 'card' | // Card operation\n 'deferred_card' | // Deferred card operation\n 'summary_card' | // Mensual debit of a deferred card\n 'unknown'; // Unknown transaction type\n\ntype BudgetInsightBankAccountUsage =\n'PRIV' |// Private account.\n'ORGA' |// Professional account.\n'ASSO'; // Association account.\n\ntype BudgetInsightBankAccountOwnerShip =\n 'owner' | // Account holder.\n 'co-owner' | // Holder on a joint account.\n 'attorney'; // Account authorized agent.\n\ntype BudgetInsightLoan = {\n total_amount: number | null; // Total amount of the loan.\n available_amount: number | null; // Amount of the loan not yet released and still available.\n used_amount: number | null; // Amount of the load already used.\n subscription_date: Date | null; // Subscription date of the loan.\n maturity_date: Date | null; // Estimated end date of the loan.\n next_payment_amount: number | null; // Amount of the next payment.\n next_payment_date: Date | null; // Date of the next payment.\n rate: number | null; // Rate of the loan.\n nb_payments_left: number | null; // Number of payments still due.\n nb_payments_done: number | null; // Number of payments done.\n nb_payments_total: number | null; // Total number of payments.\n last_payment_amount: Date | null; // Amount of the last payment.\n last_payment_date: Date | null; // Date of the last payment.\n account_label: string | null; // Name of the debited account.\n insurance_label: string | null; // Label of the insurance.\n duration: number | null; // Duration of the loan, in months.\n type: string | null; // Type of the loan (mortgage, consumercredit or revolvingcredit).\n};\n\nexport type BudgetInsightTransaction = {\n id: number; // ID of the transaction.\n id_account: number; // ID of the related account.\n application_date: Date | null; // Date considered by PFM services. This date can be edited.\n date: Date; // Date when the transaction is posted to the account.\n datetime: Date | null; // Date and time when the transaction is posted to the account, if available, in UTC.\n vdate: Date | null; // Value date of the transaction. In most cases, equivalent to date.\n vdatetime: Date | null; // Value date and time of the transaction, if available, in UTC. In most cases, equivalent to datetime.\n rdate: Date; // Date when the transaction order has been given.\n rdatetime: Date | null; // Date and time when the transaction order has been given, if available, in UTC.\n bdate: Date | null; // Date displayed by the bank for the transaction.\n bdatetime: number | null; // Date and time displayed by the bank for the transaction, if available, in UTC.\n value: number | null; // Value of the transaction.\n gross_value: number | null; // Gross value of the transaction.\n type: BudgetInsightTransactionType; // Type of transaction.\n original_wording: string; // Full label of the transaction, as seen on the bank.\n simplified_wording: string; // Simplified label of the transaction.\n wording:string | null; // Label of the transaction, can be edited.\n id_category: number | null; // ID of the related category.\n date_scraped: Date; // Date and time when the transaction was seen.\n coming: boolean; // If true, this transaction has not yet been posted to the account.\n active: boolean; // If false, PFM services will ignore this transaction.\n id_cluster: number | null; // If the transaction is part of a cluster.\n comment:string | null; // User comment.\n last_update: Date | null; // Last update of the transaction.\n deleted: number | null; // If set, this transaction has been removed from the bank.\n original_value: number | null; // Value in the original currency.\n original_gross_value: number | null; // Gross value in the original currency.\n original_currency: BudgetCurrency | null; // Original currency.\n commission: number | null; // Commission taken on the transaction.\n commission_currency: BudgetCurrency | null; // Commission currency.\n country:string | null; // Original country.\n card:string | null; // Card number associated with the transaction.\n};\n\nexport type BudgetInsightAccountSyncedQuery = {\n id: number; // ID of the bank account.\n id_connection: number | null; // ID of the related connection.\n id_user: number | null; // ID of the related user.\n id_source: number | null; // ID of the related connection source.\n id_parent: number | null; // ID of the parent account.\n number: string | null; // Account number.\n original_name: string; // Original name of the account, as seen on the bank.\n balance: number | null; // Balance of the account.\n coming: number | null; // Amount of coming operations not yet debited.\n display: boolean; // Whether the bank account should be presented.\n last_update: Date | null; // Last successful update of the account.\n deleted: Date | null; // If set, this account is not found on the website anymore.\n disabled: Date | null; // If set, this account has been disabled by user and will not be synchronized anymore.\n iban: string | null; // Account IBAN.\n currency: BudgetCurrency | null; // Account currency.\n type: BudgetInsightAccountTypeName; // Technical code of the account type.\n id_type: number; // ID of the account type.\n bookmarked: number; // This account has been bookmarked by user.\n name: string; // The name of the account.\n error: string | null; // If the last update has failed, the error code.\n usage: BudgetInsightBankAccountUsage; // Account usage. If not overridden, the value of original_usage is returned.\n ownership: BudgetInsightBankAccountOwnerShip | null; // Relationship between the credentials owner and the account.\n company_name: string | null; // Name of the company holding the employee savings of the account.\n loan: BudgetInsightLoan | null; // For loan accounts, the loan details.\n transactions: BudgetInsightTransaction[];\n};\n\nexport type BudgetInsightBankAccount = {\n id: number; // ID of the bank account.\n id_connection: number | null;// ID of the related connection.\n id_user: number | null;// ID of the related user.\n id_source: number | null;// ID of the related connection source.\n id_parent: number | null;// ID of the parent account.\n number: string | null;// String Account number.\n original_name: string;// String Original name of the account, as seen on the bank.\n balance: number | null;// Decimal Balance of the account.\n coming: number | null;// Decimal Amount of coming operations not yet debited.\n display: boolean | null;// Boolean Whether the bank account should be presented.\n last_update: Date | null;// DateTime Last successful update of the account.\n deleted: Date | null;// DateTime If set, this account is not found on the website anymore.\n disabled: Date | null;// DateTime If set, this account has been disabled by user and will not be synchronized anymore.\n iban: string | null;// String Account IBAN.\n};\n\ntype BudgetInsightUser = {\n id: number;\n signin: Date;\n platform: string;\n};\n\ntype BudgetInsightConnection = {\n id: number; // ID of the connection.\n id_user: number | null; // ID of the related user.\n id_connector: number; // ID of the related connector.\n state: BudgetInsightConnectionState | null; // If the last update failed, the state code. The null value indicates a successful sync.\n error: BudgetInsightConnectionState | null; // (Deprecated) If the last update failed, the state code. The null value indicates a successful sync.\n error_message: string | null; // If the last update failed, an optional message from the connector to guide the user into recovering from the error.\n fields: string[]; // of ConnectorField objects For connections in an error state, an optional list of connector fields that must be prompted to the end-user.\n last_update: Date | null; // Last successful update.\n created: Date | null; // Creation date of the connection.\n active: boolean; // Whether this connection is active and will be automatically synced.\n last_push: Date | null; // Last successful push.\n expire: Date | null; // Highest value among expiration dates of connection sources.\n connector_uuid: string; // UUID of the related connector.\n next_try: Date | null; // Scheduled date of next synchronization.\n};\n\nexport type BudgetInsightConnectionSyncedQuery = {\n user: BudgetInsightUser;\n connection: BudgetInsightConnection & { connector: any; sources: any; accounts: any; };\n};\n\nexport type BudgetEditBankAccount = {\n display?: boolean;// Whether the bank account should be deisplayed and included in aggregated metrics.\n name?: string; // Display name of the account.\n disabled?: boolean; // Whether the bank account should be synchronized.\n bookmarked?: boolean; // Whether the bank account is bookmarked.\n usage?:BudgetInsightBankAccountUsage // Account usage.\n};\n\nexport type BudgetInsightGetAllTransactions = {\n income?: boolean, // Filter on incomes or expenditures.\n deleted?: boolean, // Filter on deleted transactions.\n all?: boolean, // If set, cancels the implicit filtering.\n last_update?: string, // DateTime Filter transactions updated after the specified date.\n wording?: string, // Filter transactions containing the given string.\n min_value?: number, // Minimal (inclusive) value.\n max_value?: number, // Maximum (inclusive) value.\n search?: string, // Search in wording, dates, values, categories.\n value?: number, // Decimal or Value of the transaction. \"XX|-XX\" and \"±XX\" syntaxes are also accepted.\n};"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,UAAU;AAQtBC,OAAA,CARYD,UAAU,GAAVA,UAAU;AACrBE,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,wBAAQ,GAAE,E,0EACK;AAEhBF,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAE,sBAAM,EAACC,iCAAkB,CAAC,E,0EACC"}
|
|
1
|
+
{"version":3,"file":"Query.js","names":["_classValidator","require","_utils","_BudgetInsight","QueryHooks","exports","__decorate","ApiProperty","IsString","IsEnum","BudgetInsightEvent"],"sources":["../../../../../ts/types/Interface/api/budgetInsight/Query.ts"],"sourcesContent":["import { IsEnum, IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { BudgetInsightEvent, BudgetInsightConnectionState } from '../../../Enum/BudgetInsight';\n\nexport class QueryHooks {\n @ApiProperty()\n @IsString()\n token: string;\n\n @ApiProperty()\n @IsEnum(BudgetInsightEvent)\n event: BudgetInsightEvent;\n}\n\ntype BudgetCurrency = {\n id: string; // Currency code (ISO 4217).\n name: string; // Display name of the currency.\n symbol: string; // Display symbol of the currency.\n precision: number; // number precision of the currency.\n prefix: boolean;\n crypto: boolean;\n};\n\ntype BudgetInsightAccountTypeName =\n 'article83' | // Article 83\n 'capitalisation' | // Capitalization contract\n 'card' | // Card\n 'checking' | // Checking account\n 'crowdlending' | // Crowdlending\n 'deposit' | // Deposit account\n 'joint' | // Joint account\n 'lifeinsurance' | // Life insurance account\n 'loan' | // Loan\n 'madelin' | // Madelin retirement contract\n 'market' | // Market account\n 'pea' | // Shared savings plan (Plan d'Epargne en Actions)\n 'pee' | // Company savings plan (Plan d'Epargne Entreprise)\n 'per' | // Retirement savings plan (Plan d'Epargne Retraite)\n 'perco' | // Group retirement savings plan (Plan d'Epargne pour la Retraite Collectif)\n 'perp' | // Popular retirement savings plan (Plan d'Epargne Retraite Populaire)\n 'real_estate' | // Real estate placement\n 'rsp' | // Special profit-sharing reserve (Réserve Spéciale de Participation)\n 'savings' | // Savings account\n 'unknown'; // Unknown account type\n\ntype BudgetInsightTransactionType =\n 'transfer' | // Transfer\n 'order' | // Order\n 'check' | // Check\n 'deposit' | // Deposit\n 'payback' | // Payback\n 'withdrawal' | // Withdrawal\n 'loan_payment' | // Loan payment\n 'bank' | // Bank fees\n 'card' | // Card operation\n 'deferred_card' | // Deferred card operation\n 'summary_card' | // Mensual debit of a deferred card\n 'unknown'; // Unknown transaction type\n\ntype BudgetInsightBankAccountUsage =\n'PRIV' |// Private account.\n'ORGA' |// Professional account.\n'ASSO'; // Association account.\n\ntype BudgetInsightBankAccountOwnerShip =\n 'owner' | // Account holder.\n 'co-owner' | // Holder on a joint account.\n 'attorney'; // Account authorized agent.\n\ntype BudgetInsightLoan = {\n total_amount: number | null; // Total amount of the loan.\n available_amount: number | null; // Amount of the loan not yet released and still available.\n used_amount: number | null; // Amount of the load already used.\n subscription_date: Date | null; // Subscription date of the loan.\n maturity_date: Date | null; // Estimated end date of the loan.\n next_payment_amount: number | null; // Amount of the next payment.\n next_payment_date: Date | null; // Date of the next payment.\n rate: number | null; // Rate of the loan.\n nb_payments_left: number | null; // Number of payments still due.\n nb_payments_done: number | null; // Number of payments done.\n nb_payments_total: number | null; // Total number of payments.\n last_payment_amount: Date | null; // Amount of the last payment.\n last_payment_date: Date | null; // Date of the last payment.\n account_label: string | null; // Name of the debited account.\n insurance_label: string | null; // Label of the insurance.\n duration: number | null; // Duration of the loan, in months.\n type: string | null; // Type of the loan (mortgage, consumercredit or revolvingcredit).\n};\n\nexport type BudgetInsightTransaction = {\n id: number; // ID of the transaction.\n id_account: number; // ID of the related account.\n application_date: Date | null; // Date considered by PFM services. This date can be edited.\n date: Date; // Date when the transaction is posted to the account.\n datetime: Date | null; // Date and time when the transaction is posted to the account, if available, in UTC.\n vdate: Date | null; // Value date of the transaction. In most cases, equivalent to date.\n vdatetime: Date | null; // Value date and time of the transaction, if available, in UTC. In most cases, equivalent to datetime.\n rdate: Date; // Date when the transaction order has been given.\n rdatetime: Date | null; // Date and time when the transaction order has been given, if available, in UTC.\n bdate: Date | null; // Date displayed by the bank for the transaction.\n bdatetime: number | null; // Date and time displayed by the bank for the transaction, if available, in UTC.\n value: number | null; // Value of the transaction.\n gross_value: number | null; // Gross value of the transaction.\n type: BudgetInsightTransactionType; // Type of transaction.\n original_wording: string; // Full label of the transaction, as seen on the bank.\n simplified_wording: string; // Simplified label of the transaction.\n wording:string | null; // Label of the transaction, can be edited.\n id_category: number | null; // ID of the related category.\n date_scraped: Date; // Date and time when the transaction was seen.\n coming: boolean; // If true, this transaction has not yet been posted to the account.\n active: boolean; // If false, PFM services will ignore this transaction.\n id_cluster: number | null; // If the transaction is part of a cluster.\n comment:string | null; // User comment.\n last_update: Date | null; // Last update of the transaction.\n deleted: number | null; // If set, this transaction has been removed from the bank.\n original_value: number | null; // Value in the original currency.\n original_gross_value: number | null; // Gross value in the original currency.\n original_currency: BudgetCurrency | null; // Original currency.\n commission: number | null; // Commission taken on the transaction.\n commission_currency: BudgetCurrency | null; // Commission currency.\n country:string | null; // Original country.\n card:string | null; // Card number associated with the transaction.\n};\n\nexport type BudgetInsightAccountSyncedQuery = {\n id: number; // ID of the bank account.\n id_connection: number | null; // ID of the related connection.\n id_user: number | null; // ID of the related user.\n id_source: number | null; // ID of the related connection source.\n id_parent: number | null; // ID of the parent account.\n number: string | null; // Account number.\n original_name: string; // Original name of the account, as seen on the bank.\n balance: number | null; // Balance of the account.\n coming: number | null; // Amount of coming operations not yet debited.\n display: boolean; // Whether the bank account should be presented.\n last_update: Date | null; // Last successful update of the account.\n deleted: Date | null; // If set, this account is not found on the website anymore.\n disabled: Date | null; // If set, this account has been disabled by user and will not be synchronized anymore.\n iban: string | null; // Account IBAN.\n currency: BudgetCurrency | null; // Account currency.\n type: BudgetInsightAccountTypeName; // Technical code of the account type.\n id_type: number; // ID of the account type.\n bookmarked: number; // This account has been bookmarked by user.\n name: string; // The name of the account.\n error: string | null; // If the last update has failed, the error code.\n usage: BudgetInsightBankAccountUsage; // Account usage. If not overridden, the value of original_usage is returned.\n ownership: BudgetInsightBankAccountOwnerShip | null; // Relationship between the credentials owner and the account.\n company_name: string | null; // Name of the company holding the employee savings of the account.\n loan: BudgetInsightLoan | null; // For loan accounts, the loan details.\n transactions: BudgetInsightTransaction[];\n};\n\nexport type BudgetInsightBankAccount = {\n id: number; // ID of the bank account.\n id_connection: number | null;// ID of the related connection.\n id_user: number | null;// ID of the related user.\n id_source: number | null;// ID of the related connection source.\n id_parent: number | null;// ID of the parent account.\n number: string | null;// String Account number.\n original_name: string;// String Original name of the account, as seen on the bank.\n balance: number | null;// Decimal Balance of the account.\n coming: number | null;// Decimal Amount of coming operations not yet debited.\n display: boolean | null;// Boolean Whether the bank account should be presented.\n last_update: Date | null;// DateTime Last successful update of the account.\n deleted: Date | null;// DateTime If set, this account is not found on the website anymore.\n disabled: Date | null;// DateTime If set, this account has been disabled by user and will not be synchronized anymore.\n iban: string | null;// String Account IBAN.\n};\n\ntype BudgetInsightUser = {\n id: number;\n signin: Date;\n platform: string;\n};\n\ntype BudgetInsightConnection = {\n id: number; // ID of the connection.\n id_user: number | null; // ID of the related user.\n id_connector: number; // ID of the related connector.\n state: BudgetInsightConnectionState | null; // If the last update failed, the state code. The null value indicates a successful sync.\n error: BudgetInsightConnectionState | null; // (Deprecated) If the last update failed, the state code. The null value indicates a successful sync.\n error_message: string | null; // If the last update failed, an optional message from the connector to guide the user into recovering from the error.\n fields: string[]; // of ConnectorField objects For connections in an error state, an optional list of connector fields that must be prompted to the end-user.\n last_update: Date | null; // Last successful update.\n created: Date | null; // Creation date of the connection.\n active: boolean; // Whether this connection is active and will be automatically synced.\n last_push: Date | null; // Last successful push.\n expire: Date | null; // Highest value among expiration dates of connection sources.\n connector_uuid: string; // UUID of the related connector.\n next_try: Date | null; // Scheduled date of next synchronization.\n};\n\nexport type BudgetInsightConnectionSyncedQuery = {\n user: BudgetInsightUser;\n connection: BudgetInsightConnection & { connector: any; sources: any; accounts: any; };\n};\n\nexport type BudgetEditBankAccount = {\n display?: boolean;// Whether the bank account should be deisplayed and included in aggregated metrics.\n name?: string; // Display name of the account.\n disabled?: boolean; // Whether the bank account should be synchronized.\n bookmarked?: boolean; // Whether the bank account is bookmarked.\n usage?:BudgetInsightBankAccountUsage // Account usage.\n};\n\nexport type BudgetInsightGetAllTransactions = {\n income?: boolean, // Filter on incomes or expenditures.\n deleted?: boolean, // Filter on deleted transactions.\n all?: boolean, // If set, cancels the implicit filtering.\n last_update?: string, // DateTime Filter transactions updated after the specified date.\n wording?: string, // Filter transactions containing the given string.\n min_value?: number, // Minimal (inclusive) value.\n max_value?: number, // Maximum (inclusive) value.\n search?: string, // Search in wording, dates, values, categories.\n value?: number, // Decimal or Value of the transaction. \"XX|-XX\" and \"±XX\" syntaxes are also accepted.\n limit: number // devient obligatoire depuis le 1er octobre 2023. Max 1000 et si 100 si expand\n};"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,UAAU;AAQtBC,OAAA,CARYD,UAAU,GAAVA,UAAU;AACrBE,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,wBAAQ,GAAE,E,0EACK;AAEhBF,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAE,sBAAM,EAACC,iCAAkB,CAAC,E,0EACC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.113",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "js/index.js",
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { FormAuthenticate } from '../../types';
|
|
1
|
+
import { FormAuthenticate, ReadConnectAs } from '../../types';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
|
|
4
4
|
export class Authenticate extends Resource {
|
|
5
5
|
async authentificateCollaborater(payload: FormAuthenticate) {
|
|
6
6
|
return this.axios.$post('/authenticate/collaborater', payload);
|
|
7
7
|
}
|
|
8
|
+
|
|
9
|
+
async connectAs(idSociety: number): Promise<ReadConnectAs> {
|
|
10
|
+
return this.axios.$post(`/authenticate/societies/${idSociety}`);
|
|
11
|
+
}
|
|
8
12
|
}
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
UpdateSocietyPayload,
|
|
21
21
|
QueryPaginatedSociety,
|
|
22
22
|
ReadInvalidFieldState,
|
|
23
|
+
BasePaginate,
|
|
23
24
|
} from '../../types';
|
|
24
25
|
|
|
25
26
|
export class Society extends Resource {
|
|
@@ -27,7 +28,7 @@ export class Society extends Resource {
|
|
|
27
28
|
return this.axios.$get('/society', { params });
|
|
28
29
|
}
|
|
29
30
|
|
|
30
|
-
public getPaginated(params: QueryPaginatedSociety, cancelToken?: CancelToken): Promise<ISociety
|
|
31
|
+
public getPaginated(params: QueryPaginatedSociety, cancelToken?: CancelToken): Promise<BasePaginate<ISociety>> {
|
|
31
32
|
return this.axios.$get('/society/paginated', {
|
|
32
33
|
...(cancelToken ? { cancelToken } : {}),
|
|
33
34
|
params,
|
package/ts/types/Enum/Role.ts
CHANGED
|
@@ -41,4 +41,16 @@ export enum Role {
|
|
|
41
41
|
DIRECTOR = 46,
|
|
42
42
|
REFERENT_LITIGE = 47,
|
|
43
43
|
REFERENT_CLIENT = 48,
|
|
44
|
-
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export const RoleAllowedToLogInAsClient = [
|
|
47
|
+
Role.ADMIN,
|
|
48
|
+
Role.ACCOUNTANT,
|
|
49
|
+
Role.SUPER_ADMIN,
|
|
50
|
+
Role.COMMERCIAL,
|
|
51
|
+
Role.CUSTOMER_SUCCESS,
|
|
52
|
+
Role.SOCIAL,
|
|
53
|
+
Role.JURIDIC,
|
|
54
|
+
Role.DEVELOPER,
|
|
55
|
+
Role.PARTNERED_ACCOUNTANT,
|
|
56
|
+
];
|
|
@@ -213,4 +213,5 @@ export type BudgetInsightGetAllTransactions = {
|
|
|
213
213
|
max_value?: number, // Maximum (inclusive) value.
|
|
214
214
|
search?: string, // Search in wording, dates, values, categories.
|
|
215
215
|
value?: number, // Decimal or Value of the transaction. "XX|-XX" and "±XX" syntaxes are also accepted.
|
|
216
|
+
limit: number // devient obligatoire depuis le 1er octobre 2023. Max 1000 et si 100 si expand
|
|
216
217
|
};
|