@silexpert/core 1.3.208 → 1.3.209-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/resources/InformationRequest.d.ts +6 -0
- package/dist/cjs/api/resources/InformationRequest.d.ts.map +1 -1
- package/dist/cjs/api/resources/InformationRequest.js +8 -0
- package/dist/cjs/api/resources/InformationRequest.js.map +1 -1
- package/dist/cjs/api/resources/Project.d.ts +1 -1
- package/dist/cjs/api/resources/Project.d.ts.map +1 -1
- package/dist/cjs/api/resources/Project.js +2 -3
- package/dist/cjs/api/resources/Project.js.map +1 -1
- package/dist/cjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.d.ts +5 -0
- package/dist/cjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.js +5 -0
- package/dist/cjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.js.map +1 -1
- package/dist/cjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.d.ts +5 -0
- package/dist/cjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.js +5 -0
- package/dist/cjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.js.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts +23 -0
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js +78 -1
- package/dist/cjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
- package/dist/cjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.d.ts +1 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.js +7 -0
- package/dist/cjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.d.ts +0 -1
- package/dist/cjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/cjs/types/Interface/models/IUserSocietyPermission.d.ts +1 -0
- package/dist/cjs/types/Interface/models/IUserSocietyPermission.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUserSocietyPermission.js.map +1 -1
- package/dist/mjs/api/resources/InformationRequest.d.ts +6 -0
- package/dist/mjs/api/resources/InformationRequest.d.ts.map +1 -1
- package/dist/mjs/api/resources/InformationRequest.js +10 -0
- package/dist/mjs/api/resources/InformationRequest.js.map +1 -1
- package/dist/mjs/api/resources/Project.d.ts +1 -1
- package/dist/mjs/api/resources/Project.d.ts.map +1 -1
- package/dist/mjs/api/resources/Project.js +2 -3
- package/dist/mjs/api/resources/Project.js.map +1 -1
- package/dist/mjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.d.ts +5 -0
- package/dist/mjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.js +6 -0
- package/dist/mjs/types/Interface/api/businessPartner/CreateBusinessPartnerParams.js.map +1 -1
- package/dist/mjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.d.ts +5 -0
- package/dist/mjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.js +6 -0
- package/dist/mjs/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.js.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts +23 -0
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js +77 -1
- package/dist/mjs/types/Interface/api/revenue/revenueMovement.js.map +1 -1
- package/dist/mjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.d.ts +1 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.js +8 -0
- package/dist/mjs/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.d.ts +0 -1
- package/dist/mjs/types/Interface/models/IUser.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUser.js.map +1 -1
- package/dist/mjs/types/Interface/models/IUserSocietyPermission.d.ts +1 -0
- package/dist/mjs/types/Interface/models/IUserSocietyPermission.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUserSocietyPermission.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/InformationRequest.ts +10 -0
- package/ts/api/resources/Project.ts +6 -11
- package/ts/types/Interface/api/businessPartner/CreateBusinessPartnerParams.ts +8 -0
- package/ts/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.ts +8 -0
- package/ts/types/Interface/api/revenue/revenueMovement.ts +86 -1
- package/ts/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.ts +6 -0
- package/ts/types/Interface/models/IUser.ts +0 -1
- package/ts/types/Interface/models/IUserSocietyPermission.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InformationRequest.js","sourceRoot":"","sources":["../../../../ts/api/resources/InformationRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,kBAAmB,SAAQ,QAAQ;IAC9C,MAAM,CAAC,IAA8B;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,IAA8B;QAC/C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IAED,eAAe,CAAC,SAAiB,EAAE,KAA+B,EAAE,MAAoB;QACtF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iCAAiC,SAAS,EAAE,EAAE;YACnE,GAAG,MAAM,IAAI,EAAE,MAAM,EAAE;YACvB,GAAG,KAAK,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE;SAC9B,CAAC,CAAC;IACL,CAAC;IAED,mBAAmB,CAAC,SAAiB,EAAE,KAA+B,EAAE,MAAoB;QAC1F,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iCAAiC,SAAS,EAAE,EAAE;YACnE,GAAG,MAAM,IAAI,EAAE,MAAM,EAAE;YACvB,GAAG,KAAK,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE;SAC9B,CAAC,CAAC;IACL,CAAC;IAED,OAAO,CAAC,EAAU,EAAE,MAAoB;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,EAAE;YACpD,GAAG,MAAM,IAAI,EAAE,MAAM,EAAE;SACxB,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,yBAAyB,EAAE,EAAE,CAAC,CAAC;IAC3D,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateInformationRequest, IInformationRequest, QueryInformationRequest, UpdateInformationRequest } from '../../types';\n\nexport class InformationRequest extends Resource {\n create(body: CreateInformationRequest): Promise<IInformationRequest> {\n return this.axios.$post('/information-requests', body);\n }\n\n update(id: number, body: UpdateInformationRequest): Promise<IInformationRequest> {\n return this.axios.$put(`/information-requests/${id}`, body);\n }\n\n getAllBySociety(idSociety: number, query?: QueryInformationRequest, signal?: AbortSignal): Promise<IInformationRequest[]> {\n return this.axios.$get(`/information-requests/society/${idSociety}`, {\n ...signal && { signal },\n ...query && { params: query },\n });\n }\n\n getPendingBySociety(idSociety: number, query?: QueryInformationRequest, signal?: AbortSignal): Promise<IInformationRequest[]> {\n return this.axios.$get(`/information-requests/pending/${idSociety}`, {\n ...signal && { signal },\n ...query && { params: query },\n });\n }\n\n getById(id: number, signal?: AbortSignal): Promise<IInformationRequest> {\n return this.axios.$get(`/information-requests/${id}`, {\n ...signal && { signal },\n });\n }\n\n delete(id: number): Promise<void> {\n return this.axios.$delete(`/information-requests/${id}`);\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"InformationRequest.js","sourceRoot":"","sources":["../../../../ts/api/resources/InformationRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,MAAM,OAAO,kBAAmB,SAAQ,QAAQ;IAC9C,MAAM,CAAC,IAA8B;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,IAA8B;QAC/C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IAED,eAAe,CAAC,SAAiB,EAAE,KAA+B,EAAE,MAAoB;QACtF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iCAAiC,SAAS,EAAE,EAAE;YACnE,GAAG,MAAM,IAAI,EAAE,MAAM,EAAE;YACvB,GAAG,KAAK,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE;SAC9B,CAAC,CAAC;IACL,CAAC;IAED,mBAAmB,CAAC,SAAiB,EAAE,KAA+B,EAAE,MAAoB;QAC1F,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,iCAAiC,SAAS,EAAE,EAAE;YACnE,GAAG,MAAM,IAAI,EAAE,MAAM,EAAE;YACvB,GAAG,KAAK,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE;SAC9B,CAAC,CAAC;IACL,CAAC;IAED,OAAO,CAAC,EAAU,EAAE,MAAoB;QACtC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,EAAE;YACpD,GAAG,MAAM,IAAI,EAAE,MAAM,EAAE;SACxB,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,yBAAyB,EAAE,EAAE,CAAC,CAAC;IAC3D,CAAC;IACD;;;;OAIG;IACH,YAAY,CAAC,IAAY,EAAE,MAAoB;QAC7C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,mCAAmC,kBAAkB,CAAC,IAAI,CAAC,EAAE,EAAE;YACpF,GAAG,MAAM,IAAI,EAAE,MAAM,EAAE;SACxB,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport { CreateInformationRequest, IInformationRequest, QueryInformationRequest, UpdateInformationRequest } from '../../types';\n\nexport class InformationRequest extends Resource {\n create(body: CreateInformationRequest): Promise<IInformationRequest> {\n return this.axios.$post('/information-requests', body);\n }\n\n update(id: number, body: UpdateInformationRequest): Promise<IInformationRequest> {\n return this.axios.$put(`/information-requests/${id}`, body);\n }\n\n getAllBySociety(idSociety: number, query?: QueryInformationRequest, signal?: AbortSignal): Promise<IInformationRequest[]> {\n return this.axios.$get(`/information-requests/society/${idSociety}`, {\n ...signal && { signal },\n ...query && { params: query },\n });\n }\n\n getPendingBySociety(idSociety: number, query?: QueryInformationRequest, signal?: AbortSignal): Promise<IInformationRequest[]> {\n return this.axios.$get(`/information-requests/pending/${idSociety}`, {\n ...signal && { signal },\n ...query && { params: query },\n });\n }\n\n getById(id: number, signal?: AbortSignal): Promise<IInformationRequest> {\n return this.axios.$get(`/information-requests/${id}`, {\n ...signal && { signal },\n });\n }\n\n delete(id: number): Promise<void> {\n return this.axios.$delete(`/information-requests/${id}`);\n }\n /**\n * Récupère l'horoscope du jour pour un signe donné\n * @param sign string (ex: 'aries', 'taurus', ...)\n * @returns object JSON avec les infos de l'horoscope\n */\n getHoroscope(sign: string, signal?: AbortSignal): Promise<any> {\n return this.axios.$get(`/information-requests/horoscope/${encodeURIComponent(sign)}`, {\n ...signal && { signal },\n });\n }\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QueryExerciceProject } from '../../types';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
export declare class Project extends Resource {
|
|
4
|
-
create(idExercice: number,
|
|
4
|
+
create(idExercice: number, params?: QueryExerciceProject): Promise<Buffer>;
|
|
5
5
|
}
|
|
6
6
|
//# sourceMappingURL=Project.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Project.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Project.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"Project.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Project.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;CAQ3E"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
2
|
export class Project extends Resource {
|
|
3
|
-
create(idExercice,
|
|
4
|
-
return this.axios.$post(`/exercices/${idExercice}/projects`,
|
|
3
|
+
create(idExercice, params) {
|
|
4
|
+
return this.axios.$post(`/exercices/${idExercice}/projects`, params, {
|
|
5
5
|
responseType: 'arraybuffer',
|
|
6
6
|
headers: {
|
|
7
7
|
Accept: 'application/pdf',
|
|
8
8
|
},
|
|
9
|
-
params: query,
|
|
10
9
|
});
|
|
11
10
|
}
|
|
12
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Project.js","sourceRoot":"","sources":["../../../../ts/api/resources/Project.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,MAAM,CAAC,UAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"Project.js","sourceRoot":"","sources":["../../../../ts/api/resources/Project.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IACnC,MAAM,CAAC,UAAkB,EAAE,MAA6B;QACtD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,UAAU,WAAW,EAAE,MAAM,EAAE;YACnE,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { QueryExerciceProject } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class Project extends Resource {\n create(idExercice: number, params?: QueryExerciceProject): Promise<Buffer> {\n return this.axios.$post(`/exercices/${idExercice}/projects`, params, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}\n"]}
|
|
@@ -25,5 +25,10 @@ export declare class CreateBusinessPartnerParams {
|
|
|
25
25
|
gedFileKbis?: TFile;
|
|
26
26
|
gedFileIC?: TFile;
|
|
27
27
|
gedFileStatus?: TFile;
|
|
28
|
+
usersSocietiesPermissions?: Array<{
|
|
29
|
+
idSociety?: number;
|
|
30
|
+
toContact?: boolean;
|
|
31
|
+
isOwner?: boolean;
|
|
32
|
+
}>;
|
|
28
33
|
}
|
|
29
34
|
//# sourceMappingURL=CreateBusinessPartnerParams.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateBusinessPartnerParams.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/businessPartner/CreateBusinessPartnerParams.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,2BAA2B;IAKtC,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,IAAI,CAAC,EAAE,MAAM,CAAC;IAMd,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,6BAA6B,CAAC,EAAE,IAAI,CAAC;IAKrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,eAAe,CAAC,EAAE,MAAM,CAAC;IAIzB,WAAW,CAAC,EAAE,KAAK,CAAC;IAIpB,SAAS,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ChC,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC,CAAC;CACJ"}
|
|
@@ -37,6 +37,7 @@ export class CreateBusinessPartnerParams {
|
|
|
37
37
|
gedFileKbis;
|
|
38
38
|
gedFileIC;
|
|
39
39
|
gedFileStatus;
|
|
40
|
+
usersSocietiesPermissions;
|
|
40
41
|
}
|
|
41
42
|
__decorate([
|
|
42
43
|
ApiPropertyOptional(),
|
|
@@ -188,4 +189,9 @@ __decorate([
|
|
|
188
189
|
IsOptional(),
|
|
189
190
|
__metadata("design:type", Object)
|
|
190
191
|
], CreateBusinessPartnerParams.prototype, "gedFileStatus", void 0);
|
|
192
|
+
__decorate([
|
|
193
|
+
ApiPropertyOptional(),
|
|
194
|
+
IsOptional(),
|
|
195
|
+
__metadata("design:type", Array)
|
|
196
|
+
], CreateBusinessPartnerParams.prototype, "usersSocietiesPermissions", void 0);
|
|
191
197
|
//# sourceMappingURL=CreateBusinessPartnerParams.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateBusinessPartnerParams.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/businessPartner/CreateBusinessPartnerParams.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAClG,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGlD,MAAM,OAAO,2BAA2B;IAKtC,UAAU,CAAW;IAKrB,SAAS,CAAU;IAKnB,UAAU,CAAU;IAKpB,QAAQ,CAAU;IAKlB,SAAS,CAAU;IAKn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IACZ,QAAQ,EAAE;;2DACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;0DACI;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;2DACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;oEACiB;AAKzB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;+DACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACuB,IAAI;kFAAC;AAKrC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2DACQ;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;oEACiB;AAIzB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;gEACO;AAIpB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;8DACK;AAIlB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;kEACS;AAItB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;8BACe,KAAK;8EAI9B","sourcesContent":["import { IsBoolean, IsDate, IsEmail, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { CountryId } from '../../../Enum/Country';\nimport { TFile } from '../file/TFile';\n\nexport class CreateBusinessPartnerParams {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isPhysical?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idQuality?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idCivility?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n firstname?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n birthdate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cityOfBirth?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(CountryId)\n idCountryBirth?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n streetNumber?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n address?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n zipCode?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n city?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(CountryId)\n idCountry?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEmail()\n email?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n prefix?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phone?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phone2?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idMaritalStatus?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n sharesHeld?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n validityDateOfResidencePermit?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSocietyParent?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n gedFileKbis?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n gedFileIC?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n gedFileStatus?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n usersSocietiesPermissions?: Array<{\n idSociety?: number;\n toContact?: boolean;\n isOwner?: boolean;\n }>;\n}\n"]}
|
|
@@ -26,5 +26,10 @@ export declare class UpdateBusinessPartnerParams {
|
|
|
26
26
|
gedFileKbis?: TFile;
|
|
27
27
|
gedFileIC?: TFile;
|
|
28
28
|
gedFileStatus?: TFile;
|
|
29
|
+
usersSocietiesPermissions?: Array<{
|
|
30
|
+
idSociety?: number;
|
|
31
|
+
toContact?: boolean;
|
|
32
|
+
isOwner?: boolean;
|
|
33
|
+
}>;
|
|
29
34
|
}
|
|
30
35
|
//# sourceMappingURL=UpdateBusinessPartnerParams.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateBusinessPartnerParams.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,qBAAa,2BAA2B;IAKtC,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,IAAI,CAAC,EAAE,MAAM,CAAC;IAMd,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,6BAA6B,CAAC,EAAE,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AAC,EAAE,MAAM,CAAC;IAKzB,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,WAAW,CAAC,EAAE,KAAK,CAAC;IAIpB,SAAS,CAAC,EAAE,KAAK,CAAC;IAIlB,aAAa,CAAC,EAAE,KAAK,CAAC;IAItB,yBAAyB,CAAC,EAAE,KAAK,CAAC;QAChC,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC,CAAC;CACJ"}
|
|
@@ -38,6 +38,7 @@ export class UpdateBusinessPartnerParams {
|
|
|
38
38
|
gedFileKbis;
|
|
39
39
|
gedFileIC;
|
|
40
40
|
gedFileStatus;
|
|
41
|
+
usersSocietiesPermissions;
|
|
41
42
|
}
|
|
42
43
|
__decorate([
|
|
43
44
|
ApiPropertyOptional(),
|
|
@@ -195,4 +196,9 @@ __decorate([
|
|
|
195
196
|
IsOptional(),
|
|
196
197
|
__metadata("design:type", Object)
|
|
197
198
|
], UpdateBusinessPartnerParams.prototype, "gedFileStatus", void 0);
|
|
199
|
+
__decorate([
|
|
200
|
+
ApiPropertyOptional(),
|
|
201
|
+
IsOptional(),
|
|
202
|
+
__metadata("design:type", Array)
|
|
203
|
+
], UpdateBusinessPartnerParams.prototype, "usersSocietiesPermissions", void 0);
|
|
198
204
|
//# sourceMappingURL=UpdateBusinessPartnerParams.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateBusinessPartnerParams.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/businessPartner/UpdateBusinessPartnerParams.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAClG,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,E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rB,UAAU,EAAE;IACZ,QAAQ,EAAE;;yDACG;AAMd;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,MAAM,CAAC,SAAS,CAAC;;8DACC;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;0DACK;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;2DACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;0DACI;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;2DACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;oEACiB;AAKzB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;+DACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,EAAE;8BACuB,IAAI;kFAAC;AAKrC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2DACQ;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;oEACiB;AAKzB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;8DACW;AAInB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;gEACO;AAIpB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;8DACK;AAIlB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;kEACS;AAItB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;8BACe,KAAK;8EAI9B","sourcesContent":["import { IsBoolean, IsDate, IsEmail, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { CountryId } from '../../../Enum/Country';\nimport { TFile } from '../file/TFile';\n\nexport class UpdateBusinessPartnerParams {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isPhysical?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idQuality?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idCivility?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n firstname?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n birthdate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cityOfBirth?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(CountryId)\n idCountryBirth?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n streetNumber?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n address?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n zipCode?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n city?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @IsEnum(CountryId)\n idCountry?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEmail()\n email?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n prefix?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phone?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phone2?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idMaritalStatus?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n sharesHeld?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n validityDateOfResidencePermit?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSocietyParent?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n gedFileKbis?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n gedFileIC?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n gedFileStatus?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n usersSocietiesPermissions?: Array<{\n idSociety?: number;\n toContact?: boolean;\n isOwner?: boolean;\n }>;\n}\n"]}
|
|
@@ -128,5 +128,28 @@ export interface IGenerateRetroactiveMovementsBatchResponse {
|
|
|
128
128
|
error: string;
|
|
129
129
|
}>;
|
|
130
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* DTO pour backfill des PCA sur exercices clôturés
|
|
133
|
+
*/
|
|
134
|
+
export declare class IGenerateClosedExercicesPcaBackfillBatchRequest {
|
|
135
|
+
idSociety?: number[];
|
|
136
|
+
date?: Date;
|
|
137
|
+
limit?: number;
|
|
138
|
+
offset?: number;
|
|
139
|
+
batchSize?: number;
|
|
140
|
+
includePendingBalanceSheet?: boolean;
|
|
141
|
+
includePendingApproval?: boolean;
|
|
142
|
+
}
|
|
143
|
+
export interface IGenerateClosedExercicesPcaBackfillBatchResponse {
|
|
144
|
+
message: string;
|
|
145
|
+
totalSocietiesProcessed: number;
|
|
146
|
+
totalExercisesProcessed: number;
|
|
147
|
+
results: IGenerateRetroactiveMovementsResponse[];
|
|
148
|
+
errors: Array<{
|
|
149
|
+
idSociety: number;
|
|
150
|
+
idExercice: number;
|
|
151
|
+
error: string;
|
|
152
|
+
}>;
|
|
153
|
+
}
|
|
131
154
|
export { IGenerateRetroactiveMovementsRequest as GenerateRetroactiveMovements };
|
|
132
155
|
//# sourceMappingURL=revenueMovement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueMovement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"revenueMovement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueMovement.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D;;GAEG;AACH,qBAAa,6BAA6B;IAGxC,IAAI,EAAE,mBAAmB,CAAC;IAI1B,SAAS,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,eAAe,CAAC,EAAE,MAAM,CAAC;IAIzB,MAAM,EAAE,MAAM,CAAC;IAIf,GAAG,EAAE,MAAM,CAAC;IAIZ,GAAG,EAAE,MAAM,CAAC;IAIZ,YAAY,EAAE,IAAI,CAAC;IAKnB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,qBAAa,6BAA6B;IAIxC,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAK3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAK3B,eAAe,CAAC,EAAE,MAAM,CAAC;IAKzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAK7B,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,qBAAa,2BAA2B;IAItC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,YAAY,CAAC,EAAE,MAAM,CAAC;IAKt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ChB,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,OAAO,EAAE,qCAAqC,EAAE,CAAC;IACjD,MAAM,EAAE,KAAK,CAAC;QACZ,SAAS,EAAE,MAAM,CAAC;QAClB,UAAU,EAAE,MAAM,CAAC;QACnB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC,CAAC;CACJ;AAED,OAAO,EAAE,oCAAoC,IAAI,4BAA4B,EAAE,CAAC"}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsDate, IsInt, IsOptional, IsEnum, IsNumber, IsString, IsObject, IsArray, Min } from 'class-validator';
|
|
10
|
+
import { IsDate, IsInt, IsOptional, IsEnum, IsNumber, IsString, IsObject, IsArray, Min, IsBoolean, } from 'class-validator';
|
|
11
11
|
import { RevenueMovementType } from '../../../Enum/Revenue';
|
|
12
12
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
13
13
|
/**
|
|
@@ -357,5 +357,81 @@ __decorate([
|
|
|
357
357
|
Min(1),
|
|
358
358
|
__metadata("design:type", Number)
|
|
359
359
|
], IGenerateRetroactiveMovementsBatchRequest.prototype, "batchSize", void 0);
|
|
360
|
+
/**
|
|
361
|
+
* DTO pour backfill des PCA sur exercices clôturés
|
|
362
|
+
*/
|
|
363
|
+
export class IGenerateClosedExercicesPcaBackfillBatchRequest {
|
|
364
|
+
idSociety;
|
|
365
|
+
date;
|
|
366
|
+
limit = 100;
|
|
367
|
+
offset = 0;
|
|
368
|
+
batchSize = 5;
|
|
369
|
+
includePendingBalanceSheet = true;
|
|
370
|
+
includePendingApproval = true;
|
|
371
|
+
}
|
|
372
|
+
__decorate([
|
|
373
|
+
ApiPropertyOptional({
|
|
374
|
+
description: "Liste d'IDs de sociétés à traiter explicitement",
|
|
375
|
+
example: [101, 202, 303],
|
|
376
|
+
}),
|
|
377
|
+
IsOptional(),
|
|
378
|
+
IsArray(),
|
|
379
|
+
IsInt({ each: true }),
|
|
380
|
+
__metadata("design:type", Array)
|
|
381
|
+
], IGenerateClosedExercicesPcaBackfillBatchRequest.prototype, "idSociety", void 0);
|
|
382
|
+
__decorate([
|
|
383
|
+
ApiPropertyOptional({
|
|
384
|
+
description: 'Date de référence (on traite les exercices dont la fin est antérieure à cette date)',
|
|
385
|
+
}),
|
|
386
|
+
IsOptional(),
|
|
387
|
+
IsDate(),
|
|
388
|
+
__metadata("design:type", Date)
|
|
389
|
+
], IGenerateClosedExercicesPcaBackfillBatchRequest.prototype, "date", void 0);
|
|
390
|
+
__decorate([
|
|
391
|
+
ApiPropertyOptional({
|
|
392
|
+
description: "Limite du nombre d'exercices à traiter",
|
|
393
|
+
example: 100,
|
|
394
|
+
}),
|
|
395
|
+
IsOptional(),
|
|
396
|
+
IsInt(),
|
|
397
|
+
__metadata("design:type", Number)
|
|
398
|
+
], IGenerateClosedExercicesPcaBackfillBatchRequest.prototype, "limit", void 0);
|
|
399
|
+
__decorate([
|
|
400
|
+
ApiPropertyOptional({
|
|
401
|
+
description: 'Offset pour pagination',
|
|
402
|
+
example: 0,
|
|
403
|
+
}),
|
|
404
|
+
IsOptional(),
|
|
405
|
+
IsInt(),
|
|
406
|
+
__metadata("design:type", Number)
|
|
407
|
+
], IGenerateClosedExercicesPcaBackfillBatchRequest.prototype, "offset", void 0);
|
|
408
|
+
__decorate([
|
|
409
|
+
ApiPropertyOptional({
|
|
410
|
+
description: 'Taille du lot de traitement en parallèle',
|
|
411
|
+
example: 5,
|
|
412
|
+
}),
|
|
413
|
+
IsOptional(),
|
|
414
|
+
IsInt(),
|
|
415
|
+
Min(1),
|
|
416
|
+
__metadata("design:type", Number)
|
|
417
|
+
], IGenerateClosedExercicesPcaBackfillBatchRequest.prototype, "batchSize", void 0);
|
|
418
|
+
__decorate([
|
|
419
|
+
ApiPropertyOptional({
|
|
420
|
+
description: 'Inclure les exercices avec bilan non finalisé',
|
|
421
|
+
example: true,
|
|
422
|
+
}),
|
|
423
|
+
IsOptional(),
|
|
424
|
+
IsBoolean(),
|
|
425
|
+
__metadata("design:type", Boolean)
|
|
426
|
+
], IGenerateClosedExercicesPcaBackfillBatchRequest.prototype, "includePendingBalanceSheet", void 0);
|
|
427
|
+
__decorate([
|
|
428
|
+
ApiPropertyOptional({
|
|
429
|
+
description: 'Inclure les exercices avec approbation des comptes non finalisée',
|
|
430
|
+
example: true,
|
|
431
|
+
}),
|
|
432
|
+
IsOptional(),
|
|
433
|
+
IsBoolean(),
|
|
434
|
+
__metadata("design:type", Boolean)
|
|
435
|
+
], IGenerateClosedExercicesPcaBackfillBatchRequest.prototype, "includePendingApproval", void 0);
|
|
360
436
|
export { IGenerateRetroactiveMovementsRequest as GenerateRetroactiveMovements };
|
|
361
437
|
//# sourceMappingURL=revenueMovement.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueMovement.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAChH,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE;;GAEG;AACH,MAAM,OAAO,6BAA6B;IAGxC,IAAI,CAAsB;IAI1B,SAAS,CAAS;IAKlB,UAAU,CAAU;IAKpB,YAAY,CAAU;IAKtB,iBAAiB,CAAU;IAK3B,eAAe,CAAU;IAIzB,MAAM,CAAS;IAIf,GAAG,CAAS;IA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IANC,mBAAmB,CAAC;QACnB,WAAW,EAAE,wCAAwC;QACrD,OAAO,EAAE,EAAE;KACZ,CAAC;IACD,UAAU,EAAE;IACZ,KAAK,EAAE;;wEACY;AAQpB;IANC,mBAAmB,CAAC;QACnB,WAAW,EAAE,wBAAwB;QACrC,OAAO,EAAE,CAAC;KACX,CAAC;IACD,UAAU,EAAE;IACZ,KAAK,EAAE;;yEACY;AAOpB;IALC,mBAAmB,CAAC;QACnB,WAAW,EAAE,yCAAyC;KACvD,CAAC;IACD,UAAU,EAAE;IACZ,MAAM,EAAE;8BACF,IAAI;uEAAC;AASZ;IAPC,mBAAmB,CAAC;QACnB,WAAW,EAAE,iDAAiD;QAC9D,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;KACzB,CAAC;IACD,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;4EACD;AASrB;IAPC,mBAAmB,CAAC;QACnB,WAAW,EAAE,0CAA0C;QACvD,OAAO,EAAE,CAAC;KACX,CAAC;IACD,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;4EACgB;AAgBzB,OAAO,EAAE,oCAAoC,IAAI,4BAA4B,EAAE,CAAC","sourcesContent":["import { IsDate, IsInt, IsOptional, IsEnum, IsNumber, IsString, IsObject, IsArray, Min } from 'class-validator';\nimport { RevenueMovementType } from '../../../Enum/Revenue';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport class ICreateRevenueMovementRequest {\n @ApiProperty()\n @IsEnum(RevenueMovementType)\n type: RevenueMovementType;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiProperty()\n @IsInt()\n amount: number;\n\n @ApiProperty()\n @IsInt()\n mrr: number;\n\n @ApiProperty()\n @IsInt()\n arr: number;\n\n @ApiProperty()\n @IsDate()\n movementDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport class IUpdateRevenueMovementRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(RevenueMovementType)\n type?: RevenueMovementType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n mrr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n arr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n movementDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport class IGetRevenueMovementsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsEnum(RevenueMovementType, { each: true })\n type?: RevenueMovementType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n startDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n page?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les mouvements de revenu\n */\nexport interface IGetRevenueMovementsResponse {\n movements: any[]; // IRevenueMovement[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * DTO pour générer un snapshot de revenu\n */\nexport class IGenerateSnapshotRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport class IGenerateAllSnapshotsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n}\n\n/**\n * DTO pour générer les mouvements de revenu rétroactifs\n */\nexport class IGenerateRetroactiveMovementsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: Date;\n}\n\n/**\n * Réponse pour la génération de mouvements rétroactifs\n */\nexport interface IGenerateRetroactiveMovementsResponse {\n idSociety: number;\n idExercice: number[];\n exerciceStartDate: Date[];\n exerciceEndDate: Date[];\n movementsCreated: {\n bookings: number;\n churns: number;\n recognitions: number;\n provisions: number;\n pca: number;\n mothballingBookings: number;\n };\n prestationsProcessed: number;\n monthsProcessed: number;\n details: {\n type: string;\n idPrestation?: number;\n idExercice?: number;\n prestationName?: string;\n date: Date;\n amount: number;\n mrr: number;\n arr: number;\n }[];\n}\n\n/**\n * DTO pour générer les mouvements rétroactifs en batch pour toutes les sociétés sans mouvements\n */\nexport class IGenerateRetroactiveMovementsBatchRequest {\n @ApiPropertyOptional({\n description: 'Limite du nombre de sociétés à traiter',\n example: 10,\n })\n @IsOptional()\n @IsInt()\n limit?: number = 10;\n\n @ApiPropertyOptional({\n description: 'Offset pour pagination',\n example: 0,\n })\n @IsOptional()\n @IsInt()\n offset?: number = 0;\n\n @ApiPropertyOptional({\n description: 'Date de référence pour la rétroactivité',\n })\n @IsOptional()\n @IsDate()\n date?: Date;\n\n @ApiPropertyOptional({\n description: \"Liste d'IDs de sociétés à traiter explicitement\",\n example: [101, 202, 303],\n })\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idSociety?: number[];\n\n @ApiPropertyOptional({\n description: 'Taille du lot de traitement en parallèle',\n example: 5,\n })\n @IsOptional()\n @IsInt()\n @Min(1)\n batchSize?: number = 5;\n}\n\n/**\n * Réponse pour la génération batch de mouvements rétroactifs\n */\nexport interface IGenerateRetroactiveMovementsBatchResponse {\n message: string;\n totalSocietiesProcessed: number;\n results: IGenerateRetroactiveMovementsResponse[];\n errors: Array<{\n idSociety: number;\n error: string;\n }>;\n}\n\nexport { IGenerateRetroactiveMovementsRequest as GenerateRetroactiveMovements };\n"]}
|
|
1
|
+
{"version":3,"file":"revenueMovement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revenue/revenueMovement.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,GAAG,EACH,SAAS,GACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE;;GAEG;AACH,MAAM,O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C9D,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;KACzB,CAAC;IACD,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kFACD;AAOrB;IALC,mBAAmB,CAAC;QACnB,WAAW,EAAE,qFAAqF;KACnG,CAAC;IACD,UAAU,EAAE;IACZ,MAAM,EAAE;8BACF,IAAI;6EAAC;AAQZ;IANC,mBAAmB,CAAC;QACnB,WAAW,EAAE,wCAAwC;QACrD,OAAO,EAAE,GAAG;KACb,CAAC;IACD,UAAU,EAAE;IACZ,KAAK,EAAE;;8EACa;AAQrB;IANC,mBAAmB,CAAC;QACnB,WAAW,EAAE,wBAAwB;QACrC,OAAO,EAAE,CAAC;KACX,CAAC;IACD,UAAU,EAAE;IACZ,KAAK,EAAE;;+EACY;AASpB;IAPC,mBAAmB,CAAC;QACnB,WAAW,EAAE,0CAA0C;QACvD,OAAO,EAAE,CAAC;KACX,CAAC;IACD,UAAU,EAAE;IACZ,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;kFACgB;AAQvB;IANC,mBAAmB,CAAC;QACnB,WAAW,EAAE,+CAA+C;QAC5D,OAAO,EAAE,IAAI;KACd,CAAC;IACD,UAAU,EAAE;IACZ,SAAS,EAAE;;mGACgC;AAQ5C;IANC,mBAAmB,CAAC;QACnB,WAAW,EAAE,kEAAkE;QAC/E,OAAO,EAAE,IAAI;KACd,CAAC;IACD,UAAU,EAAE;IACZ,SAAS,EAAE;;+FAC4B;AAe1C,OAAO,EAAE,oCAAoC,IAAI,4BAA4B,EAAE,CAAC","sourcesContent":["import {\n IsDate,\n IsInt,\n IsOptional,\n IsEnum,\n IsNumber,\n IsString,\n IsObject,\n IsArray,\n Min,\n IsBoolean,\n} from 'class-validator';\nimport { RevenueMovementType } from '../../../Enum/Revenue';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\n/**\n * DTO pour créer un mouvement de revenu\n */\nexport class ICreateRevenueMovementRequest {\n @ApiProperty()\n @IsEnum(RevenueMovementType)\n type: RevenueMovementType;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiProperty()\n @IsInt()\n amount: number;\n\n @ApiProperty()\n @IsInt()\n mrr: number;\n\n @ApiProperty()\n @IsInt()\n arr: number;\n\n @ApiProperty()\n @IsDate()\n movementDate: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * DTO pour mettre à jour un mouvement de revenu\n */\nexport class IUpdateRevenueMovementRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(RevenueMovementType)\n type?: RevenueMovementType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n mrr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n arr?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n movementDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n description?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n metadata?: Record<string, any>;\n}\n\n/**\n * Filtres pour récupérer les mouvements de revenu\n */\nexport class IGetRevenueMovementsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestation?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTerminationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idChurnMovement?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsEnum(RevenueMovementType, { each: true })\n type?: RevenueMovementType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n startDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n endDate?: Date | string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n page?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n limit?: number;\n}\n\n/**\n * Réponse paginée pour les mouvements de revenu\n */\nexport interface IGetRevenueMovementsResponse {\n movements: any[]; // IRevenueMovement[]\n total: number;\n page: number;\n limit: number;\n totalPages: number;\n}\n\n/**\n * DTO pour générer un snapshot de revenu\n */\nexport class IGenerateSnapshotRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n}\n\n/**\n * DTO pour générer tous les snapshots de revenu\n */\nexport class IGenerateAllSnapshotsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: string;\n}\n\n/**\n * DTO pour générer les mouvements de revenu rétroactifs\n */\nexport class IGenerateRetroactiveMovementsRequest {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idExercice?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n date?: Date;\n}\n\n/**\n * Réponse pour la génération de mouvements rétroactifs\n */\nexport interface IGenerateRetroactiveMovementsResponse {\n idSociety: number;\n idExercice: number[];\n exerciceStartDate: Date[];\n exerciceEndDate: Date[];\n movementsCreated: {\n bookings: number;\n churns: number;\n recognitions: number;\n provisions: number;\n pca: number;\n mothballingBookings: number;\n };\n prestationsProcessed: number;\n monthsProcessed: number;\n details: {\n type: string;\n idPrestation?: number;\n idExercice?: number;\n prestationName?: string;\n date: Date;\n amount: number;\n mrr: number;\n arr: number;\n }[];\n}\n\n/**\n * DTO pour générer les mouvements rétroactifs en batch pour toutes les sociétés sans mouvements\n */\nexport class IGenerateRetroactiveMovementsBatchRequest {\n @ApiPropertyOptional({\n description: 'Limite du nombre de sociétés à traiter',\n example: 10,\n })\n @IsOptional()\n @IsInt()\n limit?: number = 10;\n\n @ApiPropertyOptional({\n description: 'Offset pour pagination',\n example: 0,\n })\n @IsOptional()\n @IsInt()\n offset?: number = 0;\n\n @ApiPropertyOptional({\n description: 'Date de référence pour la rétroactivité',\n })\n @IsOptional()\n @IsDate()\n date?: Date;\n\n @ApiPropertyOptional({\n description: \"Liste d'IDs de sociétés à traiter explicitement\",\n example: [101, 202, 303],\n })\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idSociety?: number[];\n\n @ApiPropertyOptional({\n description: 'Taille du lot de traitement en parallèle',\n example: 5,\n })\n @IsOptional()\n @IsInt()\n @Min(1)\n batchSize?: number = 5;\n}\n\n/**\n * Réponse pour la génération batch de mouvements rétroactifs\n */\nexport interface IGenerateRetroactiveMovementsBatchResponse {\n message: string;\n totalSocietiesProcessed: number;\n results: IGenerateRetroactiveMovementsResponse[];\n errors: Array<{\n idSociety: number;\n error: string;\n }>;\n}\n\n/**\n * DTO pour backfill des PCA sur exercices clôturés\n */\nexport class IGenerateClosedExercicesPcaBackfillBatchRequest {\n @ApiPropertyOptional({\n description: \"Liste d'IDs de sociétés à traiter explicitement\",\n example: [101, 202, 303],\n })\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idSociety?: number[];\n\n @ApiPropertyOptional({\n description: 'Date de référence (on traite les exercices dont la fin est antérieure à cette date)',\n })\n @IsOptional()\n @IsDate()\n date?: Date;\n\n @ApiPropertyOptional({\n description: \"Limite du nombre d'exercices à traiter\",\n example: 100,\n })\n @IsOptional()\n @IsInt()\n limit?: number = 100;\n\n @ApiPropertyOptional({\n description: 'Offset pour pagination',\n example: 0,\n })\n @IsOptional()\n @IsInt()\n offset?: number = 0;\n\n @ApiPropertyOptional({\n description: 'Taille du lot de traitement en parallèle',\n example: 5,\n })\n @IsOptional()\n @IsInt()\n @Min(1)\n batchSize?: number = 5;\n\n @ApiPropertyOptional({\n description: 'Inclure les exercices avec bilan non finalisé',\n example: true,\n })\n @IsOptional()\n @IsBoolean()\n includePendingBalanceSheet?: boolean = true;\n\n @ApiPropertyOptional({\n description: 'Inclure les exercices avec approbation des comptes non finalisée',\n example: true,\n })\n @IsOptional()\n @IsBoolean()\n includePendingApproval?: boolean = true;\n}\n\nexport interface IGenerateClosedExercicesPcaBackfillBatchResponse {\n message: string;\n totalSocietiesProcessed: number;\n totalExercisesProcessed: number;\n results: IGenerateRetroactiveMovementsResponse[];\n errors: Array<{\n idSociety: number;\n idExercice: number;\n error: string;\n }>;\n}\n\nexport { IGenerateRetroactiveMovementsRequest as GenerateRetroactiveMovements };\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateSocietyPermission.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG5E,qBAAa,uBAAuB;IAIlC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,WAAW,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAMnC,OAAO,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateSocietyPermission.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG5E,qBAAa,uBAAuB;IAIlC,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,WAAW,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAMnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAMlB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,IAAI,CAAC,EAAE,KAAK,CAAC;IAMb,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAIjB,QAAQ,CAAC,EAAE,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAK3C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -15,6 +15,7 @@ export class UpdateSocietyPermission {
|
|
|
15
15
|
idUser;
|
|
16
16
|
permissions;
|
|
17
17
|
isOwner;
|
|
18
|
+
toContact;
|
|
18
19
|
user;
|
|
19
20
|
roles;
|
|
20
21
|
newOwner;
|
|
@@ -44,6 +45,13 @@ __decorate([
|
|
|
44
45
|
IsOptional(),
|
|
45
46
|
__metadata("design:type", Boolean)
|
|
46
47
|
], UpdateSocietyPermission.prototype, "isOwner", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
ApiPropertyOptional(),
|
|
50
|
+
IsBoolean(),
|
|
51
|
+
ToBoolean(),
|
|
52
|
+
IsOptional(),
|
|
53
|
+
__metadata("design:type", Boolean)
|
|
54
|
+
], UpdateSocietyPermission.prototype, "toContact", void 0);
|
|
47
55
|
__decorate([
|
|
48
56
|
ApiPropertyOptional(),
|
|
49
57
|
IsOptional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateSocietyPermission.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,uBAAuB;IAIlC,SAAS,CAAU;IAKnB,MAAM,CAAU;IAIhB,WAAW,CAAwB;IAMnC,OAAO,CAAW;
|
|
1
|
+
{"version":3,"file":"UpdateSocietyPermission.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/userSocietyPermission/UpdateSocietyPermission.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,uBAAuB;IAIlC,SAAS,CAAU;IAKnB,MAAM,CAAU;IAIhB,WAAW,CAAwB;IAMnC,OAAO,CAAW;IAMlB,SAAS,CAAW;IAIpB,IAAI,CAAS;IAMb,KAAK,CAAY;IAIjB,QAAQ,CAAmC;IAK3C,YAAY,CAAU;CACvB;AAzCC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;0DACW;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;uDACQ;AAIhB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;4DACsB;AAMnC;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;wDACK;AAMlB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;0DACO;AAIpB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;qDACA;AAMb;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sDACL;AAIjB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;yDAC8B;AAK3C;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;6DACc","sourcesContent":["import { IsArray, IsBoolean, IsInt, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { IUser, IUserSocietyPermission, IPermission } from '../../../index';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateSocietyPermission {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n permissions?: Partial<IPermission>;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isOwner?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n toContact?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n user?: IUser;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n roles?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n newOwner?: Partial<IUserSocietyPermission>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPermission?: number;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IUser.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,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E,CAAC;IACtC,eAAe,CAAC,EAAE,KAAK,EAAE,CAAC;IAC1B,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;IACd,aAAa,CAAC,EAAE,aAAa,EAAE,CAAC;IAChC,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,EAAE,CAAC;IAChC,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAC/B,0BAA0B,CAAC,EAAE,2BAA2B,EAAE,CAAC;IAC3D,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,cAAc,CAAC,EAAE,aAAa,EAAE,CAAC;IACjC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUser.ts"],"names":[],"mappings":"","sourcesContent":["import { ICalendarEvent } from './ICalendarEvent';\nimport { IRole } from './IRole';\nimport { ICivility } from './ICivility';\nimport { IFile } from './IFile';\nimport { IUserSocietyPermission } from './IUserSocietyPermission';\nimport { IWorkingSchedule } from './IWorkingSchedule';\nimport { IRecontactHistory } from './IRecontactHistory';\nimport { IAllowedIp } from './IAllowedIp';\nimport { IBusinessPartner } from './IBusinessPartner';\nimport { ILog } from './ILog';\nimport { INotification } from './INotification';\nimport { ISociety } from './ISociety';\nimport { ITeam } from './ITeam';\nimport { IMobile } from './IMobile';\nimport { IRoleUser } from './IRoleUser';\nimport { ITimeRecorder } from './ITimeRecorder';\nimport { EntityType } from '../../Enum/EntityType';\nimport { IMailAddress } from './IMailAddress';\nimport { IAccountingStatementHistory } from './IAccountingStatementHistory';\nimport { ICountry } from './ICountry';\nimport { INationality } from './INationality';\nimport { IUserBrand } from './IUserBrand';\nimport { ICollaboraterDetail } from './ICollaboraterDetail';\nimport { IUserTimeSlot } from './IUserTimeSlot';\nimport { IUserTeam } from './IUserTeam';\nimport { MfaMode } from '../../Enum/MfaMode';\n\n// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents\ntype isAny<T> = T | any;\n\n// users\nexport interface IUser {\n id?: number;\n firstname?: string | null;\n lastname?: string | null;\n fullname?: string | null;\n avatarLink?: string;\n email?: string | null;\n email2?: string | null;\n isMigrated?: boolean;\n username?: string | null;\n stripeCustomerId?: string | null;\n stripeCustomerIdErp?: string | null;\n positionLabel?: string | null;\n sha?: string | null;\n hash?: string | null;\n password?: string | null;\n idFile?: number | null;\n quality?: string | null; //FIXME: à supprimer ?\n phone?: string | null;\n phone2?: string | null;\n textMessageNumber?: string | null;\n prefix?: string | null;\n tokenLostPassword?: string | null;\n twoFactorEnabled?: boolean | null;\n mfaMode?: MfaMode | null;\n tokenApi?: string | null;\n tokenNotification?: string | null;\n tokenSocket?: string | null;\n authyId?: string | null;\n authCode?: string | null;\n authCodeDate?: Date | null;\n tutoTransaction?: boolean | null;\n lastConnection?: Date | null;\n beforeLastConnection?: Date | null;\n active?: boolean | null;\n
|
|
1
|
+
{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUser.ts"],"names":[],"mappings":"","sourcesContent":["import { ICalendarEvent } from './ICalendarEvent';\nimport { IRole } from './IRole';\nimport { ICivility } from './ICivility';\nimport { IFile } from './IFile';\nimport { IUserSocietyPermission } from './IUserSocietyPermission';\nimport { IWorkingSchedule } from './IWorkingSchedule';\nimport { IRecontactHistory } from './IRecontactHistory';\nimport { IAllowedIp } from './IAllowedIp';\nimport { IBusinessPartner } from './IBusinessPartner';\nimport { ILog } from './ILog';\nimport { INotification } from './INotification';\nimport { ISociety } from './ISociety';\nimport { ITeam } from './ITeam';\nimport { IMobile } from './IMobile';\nimport { IRoleUser } from './IRoleUser';\nimport { ITimeRecorder } from './ITimeRecorder';\nimport { EntityType } from '../../Enum/EntityType';\nimport { IMailAddress } from './IMailAddress';\nimport { IAccountingStatementHistory } from './IAccountingStatementHistory';\nimport { ICountry } from './ICountry';\nimport { INationality } from './INationality';\nimport { IUserBrand } from './IUserBrand';\nimport { ICollaboraterDetail } from './ICollaboraterDetail';\nimport { IUserTimeSlot } from './IUserTimeSlot';\nimport { IUserTeam } from './IUserTeam';\nimport { MfaMode } from '../../Enum/MfaMode';\n\n// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents\ntype isAny<T> = T | any;\n\n// users\nexport interface IUser {\n id?: number;\n firstname?: string | null;\n lastname?: string | null;\n fullname?: string | null;\n avatarLink?: string;\n email?: string | null;\n email2?: string | null;\n isMigrated?: boolean;\n username?: string | null;\n stripeCustomerId?: string | null;\n stripeCustomerIdErp?: string | null;\n positionLabel?: string | null;\n sha?: string | null;\n hash?: string | null;\n password?: string | null;\n idFile?: number | null;\n quality?: string | null; //FIXME: à supprimer ?\n phone?: string | null;\n phone2?: string | null;\n textMessageNumber?: string | null;\n prefix?: string | null;\n tokenLostPassword?: string | null;\n twoFactorEnabled?: boolean | null;\n mfaMode?: MfaMode | null;\n tokenApi?: string | null;\n tokenNotification?: string | null;\n tokenSocket?: string | null;\n authyId?: string | null;\n authCode?: string | null;\n authCodeDate?: Date | null;\n tutoTransaction?: boolean | null;\n lastConnection?: Date | null;\n beforeLastConnection?: Date | null;\n active?: boolean | null;\n stateProspect?: boolean | null;\n birthdate?: Date | null;\n arrivalDate?: Date | null;\n entity?: EntityType | null;\n validityDateOfResidencePermit?: Date | null;\n isNewProspect?: boolean;\n hasAccountNumberDisplay?: boolean;\n isResponderActive?: boolean;\n suppDoublon?: boolean | null;\n calendlyUrl?: string | null;\n idCivility?: number | null;\n idCommercialDoublon?: number | null;\n idProspectIsWith?: number | null;\n apprentice?: boolean;\n flexitime?: boolean;\n idOffice?: number | null;\n /**\n * @deprecated\n */\n idCommercialGrade?: number | null;\n smsNotAllowed?: boolean;\n restDaysAbsence?: number | null;\n startOnboarding?: Date | null;\n societyByDefault?: number | null;\n longAbsence?: boolean | null;\n isDailyContract?: boolean | null;\n internationalPhone?: string | null;\n isThemeLight?: boolean;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n confirmedAt?: Date | null;\n tokenConfirmedAt?: string | null;\n idPoleLeader?: number | null;\n affiliateTrackingId?: number | null;\n streetNumber?: string | null;\n address?: string;\n zipCodeBirth?: string;\n //@deprecated Use cityOfBirth instead\n birthPlace?: string;\n departmentBirth?: string;\n idCountryBirth?: number;\n birthname?: string;\n cityOfBirth?: string;\n idCountry?: number;\n zipCode?: string | null;\n city?: string | null;\n idNationality?: number;\n maritalStatus?: string;\n idMaritalStatus?: number;\n\n // Associations\n userHasEvent?: isAny<ICalendarEvent>[];\n roles?: IRole[];\n roleUser?: IRoleUser;\n genders?: ICivility;\n commercial?: IUser;\n prospectPrincipal?: IUser;\n avatar?: IFile;\n userPermissions?: IUserSocietyPermission[];\n workingSchedules?: IWorkingSchedule[];\n recontactHistories?: IRecontactHistory[];\n poleLeader?: IUser;\n allowedIps?: IAllowedIp[];\n businessPartners?: IBusinessPartner[];\n poleAccountants?: IUser[];\n logs?: ILog[];\n notifications?: INotification[];\n societies?: ISociety[];\n teams?: ITeam[];\n userTeams?: IUserTeam[];\n mobile?: IMobile;\n timeRecorders?: ITimeRecorder[];\n mailAddresses?: IMailAddress[];\n accountingStatementHistory?: IAccountingStatementHistory[];\n country?: ICountry;\n countryLiving?: ICountry;\n nationality?: INationality;\n usersBrands?: IUserBrand[];\n usersTimeSlots?: IUserTimeSlot[];\n collaboraterDetails?: ICollaboraterDetail;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IUserSocietyPermission.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUserSocietyPermission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,sBAAsB;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
|
|
1
|
+
{"version":3,"file":"IUserSocietyPermission.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUserSocietyPermission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,sBAAsB;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IUserSocietyPermission.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUserSocietyPermission.ts"],"names":[],"mappings":"","sourcesContent":["import { IPermission } from './IPermission';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\n\n// usersSocietiesPermissions\nexport interface IUserSocietyPermission {\n id?: number;\n idUser: number | null;\n idPermission: number | null;\n idSociety: number | null;\n isOwner: boolean | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n permission?: IPermission;\n society?: ISociety;\n user?: IUser;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IUserSocietyPermission.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUserSocietyPermission.ts"],"names":[],"mappings":"","sourcesContent":["import { IPermission } from './IPermission';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\n\n// usersSocietiesPermissions\nexport interface IUserSocietyPermission {\n id?: number;\n idUser: number | null;\n idPermission: number | null;\n idSociety: number | null;\n isOwner: boolean | null;\n toContact?: boolean;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n permission?: IPermission;\n society?: ISociety;\n user?: IUser;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.209-1",
|
|
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": "dist/cjs/index.js",
|
|
@@ -33,4 +33,14 @@ export class InformationRequest extends Resource {
|
|
|
33
33
|
delete(id: number): Promise<void> {
|
|
34
34
|
return this.axios.$delete(`/information-requests/${id}`);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Récupère l'horoscope du jour pour un signe donné
|
|
38
|
+
* @param sign string (ex: 'aries', 'taurus', ...)
|
|
39
|
+
* @returns object JSON avec les infos de l'horoscope
|
|
40
|
+
*/
|
|
41
|
+
getHoroscope(sign: string, signal?: AbortSignal): Promise<any> {
|
|
42
|
+
return this.axios.$get(`/information-requests/horoscope/${encodeURIComponent(sign)}`, {
|
|
43
|
+
...signal && { signal },
|
|
44
|
+
});
|
|
45
|
+
}
|
|
36
46
|
}
|
|
@@ -2,17 +2,12 @@ import { QueryExerciceProject } from '../../types';
|
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
|
|
4
4
|
export class Project extends Resource {
|
|
5
|
-
create(idExercice: number,
|
|
6
|
-
return this.axios.$post(
|
|
7
|
-
|
|
8
|
-
{
|
|
9
|
-
|
|
10
|
-
responseType: 'arraybuffer',
|
|
11
|
-
headers: {
|
|
12
|
-
Accept: 'application/pdf',
|
|
13
|
-
},
|
|
14
|
-
params: query,
|
|
5
|
+
create(idExercice: number, params?: QueryExerciceProject): Promise<Buffer> {
|
|
6
|
+
return this.axios.$post(`/exercices/${idExercice}/projects`, params, {
|
|
7
|
+
responseType: 'arraybuffer',
|
|
8
|
+
headers: {
|
|
9
|
+
Accept: 'application/pdf',
|
|
15
10
|
},
|
|
16
|
-
);
|
|
11
|
+
});
|
|
17
12
|
}
|
|
18
13
|
}
|
|
@@ -129,4 +129,12 @@ export class CreateBusinessPartnerParams {
|
|
|
129
129
|
@ApiPropertyOptional()
|
|
130
130
|
@IsOptional()
|
|
131
131
|
gedFileStatus?: TFile;
|
|
132
|
+
|
|
133
|
+
@ApiPropertyOptional()
|
|
134
|
+
@IsOptional()
|
|
135
|
+
usersSocietiesPermissions?: Array<{
|
|
136
|
+
idSociety?: number;
|
|
137
|
+
toContact?: boolean;
|
|
138
|
+
isOwner?: boolean;
|
|
139
|
+
}>;
|
|
132
140
|
}
|
|
@@ -134,4 +134,12 @@ export class UpdateBusinessPartnerParams {
|
|
|
134
134
|
@ApiPropertyOptional()
|
|
135
135
|
@IsOptional()
|
|
136
136
|
gedFileStatus?: TFile;
|
|
137
|
+
|
|
138
|
+
@ApiPropertyOptional()
|
|
139
|
+
@IsOptional()
|
|
140
|
+
usersSocietiesPermissions?: Array<{
|
|
141
|
+
idSociety?: number;
|
|
142
|
+
toContact?: boolean;
|
|
143
|
+
isOwner?: boolean;
|
|
144
|
+
}>;
|
|
137
145
|
}
|