@silexpert/core 1.0.63 → 1.0.67
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/CalendarEvent.d.ts +2 -1
- package/es/api/resources/CalendarEvent.d.ts.map +1 -1
- package/es/api/resources/CalendarEvent.js +3 -0
- package/es/api/resources/CalendarEvent.js.map +1 -1
- package/es/api/resources/Commercial.d.ts +7 -0
- package/es/api/resources/Commercial.d.ts.map +1 -0
- package/es/api/resources/Commercial.js +7 -0
- package/es/api/resources/Commercial.js.map +1 -0
- package/es/api/resources/Sources.d.ts +6 -0
- package/es/api/resources/Sources.d.ts.map +1 -0
- package/es/api/resources/Sources.js +7 -0
- package/es/api/resources/Sources.js.map +1 -0
- package/es/api/resources/User.d.ts +1 -3
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js +0 -4
- package/es/api/resources/User.js.map +1 -1
- package/es/api/resources.d.ts +4 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +4 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/ConstitutionState.d.ts +65 -0
- package/es/types/Enum/ConstitutionState.d.ts.map +1 -0
- package/es/types/Enum/ConstitutionState.js +66 -0
- package/es/types/Enum/ConstitutionState.js.map +1 -0
- package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts +4 -0
- package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.d.ts.map +1 -0
- package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.js +19 -0
- package/es/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +1 -0
- package/es/types/Interface/api/commercialManagement/Create.d.ts +1 -1
- package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/es/types/Interface/api/commercialManagement/Create.js +2 -3
- package/es/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.d.ts +4 -0
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.d.ts.map +1 -1
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js +30 -2
- package/es/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/es/types/Interface/api/wallet/UpdateAttribution.js +1 -1
- package/es/types/Interface/api/wallet/UpdateAttribution.js.map +1 -1
- package/es/types/index.d.ts +2 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +2 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/commercialManagement/document.d.ts.map +1 -1
- package/es/utils/commercialManagement/document.js +2 -2
- package/es/utils/commercialManagement/document.js.map +1 -1
- package/es/utils/commercialManagement/templates/body.js +2 -2
- package/es/utils/commercialManagement/templates/body.js.map +1 -1
- package/js/api/resources/CalendarEvent.js +6 -0
- package/js/api/resources/CalendarEvent.js.map +1 -1
- package/js/api/resources/Commercial.js +22 -0
- package/js/api/resources/Commercial.js.map +1 -0
- package/js/api/resources/Sources.js +18 -0
- package/js/api/resources/Sources.js.map +1 -0
- package/js/api/resources/User.js +0 -9
- package/js/api/resources/User.js.map +1 -1
- package/js/api/resources.js +7 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/ConstitutionState.js +73 -0
- package/js/types/Enum/ConstitutionState.js.map +1 -0
- package/js/types/Interface/api/calendarEvent/getLastInvalidateEvent.js +29 -0
- package/js/types/Interface/api/calendarEvent/getLastInvalidateEvent.js.map +1 -0
- package/js/types/Interface/api/commercialManagement/Create.js +2 -2
- package/js/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/js/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js +11 -1
- package/js/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.js.map +1 -1
- package/js/types/Interface/api/wallet/UpdateAttribution.js +4 -4
- package/js/types/Interface/api/wallet/UpdateAttribution.js.map +1 -1
- package/js/types/index.js +24 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/commercialManagement/document.js +2 -0
- package/js/utils/commercialManagement/document.js.map +1 -1
- package/js/utils/commercialManagement/templates/body.js +2 -2
- package/js/utils/commercialManagement/templates/body.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/CalendarEvent.ts +5 -1
- package/ts/api/resources/Commercial.ts +9 -0
- package/ts/api/resources/Sources.ts +8 -0
- package/ts/api/resources/User.ts +1 -6
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/ConstitutionState.ts +64 -0
- package/ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts +8 -0
- package/ts/types/Interface/api/commercialManagement/Create.ts +2 -3
- package/ts/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.ts +26 -1
- package/ts/types/Interface/api/wallet/UpdateAttribution.ts +1 -1
- package/ts/types/index.ts +2 -0
- package/ts/utils/commercialManagement/document.ts +2 -0
- package/ts/utils/commercialManagement/templates/body.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarEvent.js","mappings":";;;;;;;AAIA;;AAEM,MAAOA,aAAP,SAA6BC,kBAA7B,CAAqC;EACzCC,MAAM,CAACC,OAAD,EAAqC;IACzC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,kBAAhB,EAAoCF,OAApC,CAAP;EACD;;EAEDG,MAAM,CAACH,OAAD,EAAqC;IACzC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,yBAAhB,EAA2CF,OAA3C,CAAP;EACD;;EAEDI,GAAG,CAACC,EAAD,
|
|
1
|
+
{"version":3,"file":"CalendarEvent.js","mappings":";;;;;;;AAIA;;AAEM,MAAOA,aAAP,SAA6BC,kBAA7B,CAAqC;EACzCC,MAAM,CAACC,OAAD,EAAqC;IACzC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,kBAAhB,EAAoCF,OAApC,CAAP;EACD;;EAEDG,MAAM,CAACH,OAAD,EAAqC;IACzC,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,yBAAhB,EAA2CF,OAA3C,CAAP;EACD;;EAEDI,gBAAgB,CAACC,MAAD,EAA+B;IAC7C,OAAO,KAAKJ,KAAL,CAAWK,GAAX,CAAe,oCAAf,EAAqD;MAAED;IAAF,CAArD,CAAP;EACD;;EAEDC,GAAG,CAACC,EAAD,EAAaF,MAAb,EAAuC;IACxC,OAAO,KAAKJ,KAAL,CAAWK,GAAX,CAAe,oBAAoBC,EAAE,EAArC,EAAyC;MAAEF;IAAF,CAAzC,CAAP;EACD;;EAEDG,MAAM,CAACH,MAAD,EAA8BI,WAA9B,EAAuD;IAC3D,OAAO,KAAKR,KAAL,CAAWK,GAAX,CAAe,sBAAf,EAAqCI,gCAAQD,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EAAxC,GAA2C;MAAEJ;IAAF,CAA3C,CAArC,CAAP;EACD;;EAEDM,MAAM,CAACJ,EAAD,EAAaP,OAAb,EAAyC;IAC7C,OAAO,KAAKC,KAAL,CAAWW,GAAX,CAAe,oBAAoBL,EAAE,EAArC,EAAyCP,OAAzC,CAAP;EACD;;EAEDa,MAAM,CAACN,EAAD,EAAW;IACf,OAAO,KAAKN,KAAL,CAAWY,MAAX,CAAkB,oBAAoBN,EAAE,EAAxC,CAAP;EACD;;AA3BwC;;QAA9BV,a,GAAAA,a","names":["CalendarEvent","Resource","create","payload","axios","post","verify","verifyInvalidate","params","get","id","getAll","cancelToken","Object","update","put","delete"],"sourceRoot":"","sources":["../../../ts/api/resources/CalendarEvent.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport {\n CreateCalendarEventForUsers, GetAllCalendarEvent, GetLastInvalidateEvent, ICalendarEvent, ICalendarEventUser, QueryCalendarEvent, ReadAllCalendarEvent, UpdateCalendarEvent, VerifyCalendarEvent,\n} from '../../types';\nimport { Resource } from '../Resource';\n\nexport class CalendarEvent extends Resource {\n create(payload: CreateCalendarEventForUsers): Promise<ICalendarEventUser[]> {\n return this.axios.post('/calendar-events', payload);\n }\n\n verify(payload: CreateCalendarEventForUsers): Promise<VerifyCalendarEvent> {\n return this.axios.post('/calendar-events/verify', payload);\n }\n\n verifyInvalidate(params: GetLastInvalidateEvent): Promise<Date> {\n return this.axios.get('/calendar-events/verify-invalidate', { params });\n }\n\n get(id: number, params: QueryCalendarEvent): Promise<ICalendarEvent> {\n return this.axios.get(`/calendar-events/${id}`, { params });\n }\n\n getAll(params: GetAllCalendarEvent, cancelToken?: CancelToken): Promise<ReadAllCalendarEvent> {\n return this.axios.get('/calendar-events/all', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n\n update(id: number, payload: UpdateCalendarEvent): Promise<ICalendarEvent> {\n return this.axios.put(`/calendar-events/${id}`, payload);\n }\n\n delete(id: number): Promise<number> {\n return this.axios.delete(`/calendar-events/${id}`);\n }\n}"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Commercial = undefined;
|
|
7
|
+
|
|
8
|
+
var _Resource = require("../Resource");
|
|
9
|
+
|
|
10
|
+
class Commercial extends _Resource.Resource {
|
|
11
|
+
getStatsCa(params, cancelToken) {
|
|
12
|
+
return this.axios.$get('/commercial/paginated-with-stats-ca', Object.assign(Object.assign({}, cancelToken ? {
|
|
13
|
+
cancelToken
|
|
14
|
+
} : {}), {
|
|
15
|
+
params
|
|
16
|
+
}));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
exports.Commercial = Commercial;
|
|
22
|
+
//# sourceMappingURL=Commercial.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Commercial.js","mappings":";;;;;;;AACA;;AAGM,MAAOA,UAAP,SAA0BC,kBAA1B,CAAkC;EACtCC,UAAU,CAACC,MAAD,EAA2CC,WAA3C,EAAoE;IAC5E,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,qCAAhB,EAAqDC,gCAAQH,WAAW,GAAG;MAAEA;IAAF,CAAH,GAAqB,EAAxC,GAA2C;MAAED;IAAF,CAA3C,CAArD,CAAP;EACD;;AAHqC;;QAA3BH,U,GAAAA,U","names":["Commercial","Resource","getStatsCa","params","cancelToken","axios","$get","Object"],"sourceRoot":"","sources":["../../../ts/api/resources/Commercial.ts"],"sourcesContent":["import { CancelToken } from 'axios';\nimport { Resource } from '../Resource';\nimport { QueryPaginatedSocietyWithStatsCa, BasePaginate, SocietyWithStatsCaParams } from '../../types';\n\nexport class Commercial extends Resource {\n getStatsCa(params: QueryPaginatedSocietyWithStatsCa, cancelToken?: CancelToken): Promise<BasePaginate<SocietyWithStatsCaParams>> {\n return this.axios.$get('/commercial/paginated-with-stats-ca', { ...(cancelToken ? { cancelToken } : {}), params });\n }\n}\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Sources = undefined;
|
|
7
|
+
|
|
8
|
+
var _Resource = require("../Resource");
|
|
9
|
+
|
|
10
|
+
class Sources extends _Resource.Resource {
|
|
11
|
+
getAll() {
|
|
12
|
+
return this.axios.$get('/sources');
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
exports.Sources = Sources;
|
|
18
|
+
//# sourceMappingURL=Sources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sources.js","mappings":";;;;;;;AAAA;;AAGM,MAAOA,OAAP,SAAuBC,kBAAvB,CAA+B;EACnCC,MAAM;IACJ,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,UAAhB,CAAP;EACD;;AAHkC;;QAAxBJ,O,GAAAA,O","names":["Sources","Resource","getAll","axios","$get"],"sourceRoot":"","sources":["../../../ts/api/resources/Sources.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport { ISource } from '../../types';\n\nexport class Sources extends Resource {\n getAll(): Promise<ISource[]> {\n return this.axios.$get('/sources');\n }\n}\n"]}
|
package/js/api/resources/User.js
CHANGED
|
@@ -96,15 +96,6 @@ class User extends _Resource.Resource {
|
|
|
96
96
|
|
|
97
97
|
getInfo() {
|
|
98
98
|
return this.axios.$get('user');
|
|
99
|
-
} // FIXME: CancelToken
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
getStatsCa(params, cancelToken) {
|
|
103
|
-
return this.axios.$get('/user/paginated-with-stats-ca', Object.assign(Object.assign({}, cancelToken ? {
|
|
104
|
-
cancelToken
|
|
105
|
-
} : {}), {
|
|
106
|
-
params
|
|
107
|
-
}));
|
|
108
99
|
}
|
|
109
100
|
|
|
110
101
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.js","mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"User.js","mappings":";;;;;;;AAAA;;AACA;;AAIM,MAAOA,IAAP,SAAoBC,kBAApB,CAA4B;EAChCC,OAAO,CAACC,MAAD,EAAqB;IAC1B,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,cAAhB,EAAgCF,MAAhC,CAAP;EACD;;EACDG,2BAA2B,CAACH,MAAD,EAAoC;IAC7D,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,QAAQF,MAAM,CAACI,EAAE,8BAAjC,CAAP;EACD;;EACDC,MAAM,CAACC,IAAD,EAAiB;IACrB,OAAO,KAAKL,KAAL,CAAWM,KAAX,CAAiB,aAAjB,EAAgCD,IAAhC,CAAP;EACD;;EACDE,QAAQ,CAACF,IAAD,EAAqB;IAC3B,OAAO,KAAKL,KAAL,CAAWM,KAAX,CAAiB,eAAjB,EAAkCD,IAAlC,CAAP;EACD;;EACDG,WAAW,CAACL,EAAD,EAAW;IACpB,OAAO,KAAKH,KAAL,CAAWC,IAAX,CAAgB,QAAQE,EAAE,iBAA1B,CAAP;EACD;;EACDM,yBAAyB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,CAAnD,CAAP;EACD;;EACDsC,mBAAmB;IACjB,OAAO,KAAKrC,KAAL,CAAWU,IAAX,CAAgB,2BAAhB,CAAP;EACD;;EACD4B,2BAA2B;IACzB,OAAO,KAAKtC,KAAL,CAAWU,IAAX,CAAgB,oCAAhB,CAAP;EACD;;EACD6B,SAAS,CAACxC,MAAD,EAAuB;IAC9B,OAAO,KAAKC,KAAL,CAAWU,IAAX,CAAgB,gBAAhB,EAAkC;MAAEX;IAAF,CAAlC,CAAP;EACD;;EACDyC,YAAY,CAACrC,EAAD,EAAW;IACrB,OAAO,KAAKH,KAAL,CAAWU,IAAX,CAAgB,QAAQP,EAAE,QAA1B,CAAP;EACD;;EACDsC,MAAM,CAACtC,EAAD,EAAaJ,MAAb,EAAqE;IACzE,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,QAAQE,EAAE,EAA1B,EAA8BJ,MAA9B,CAAP;EACD;;EACD2C,OAAO;IACL,OAAO,KAAK1C,KAAL,CAAWU,IAAX,CAAgB,MAAhB,CAAP;EACD;;AAhE+B;;QAArBd,I,GAAAA,I","names":["User","Resource","confirm","params","axios","$put","resendConfirmationEmailLink","id","create","data","$post","coworker","sendNewCode","verifySmsCodeConfirmation","$get","allFromSociety","allCollaborators","allCollaboratorsByRoles","idTimeCounterType","idRoles","timeCounterType","Object","values","TimeCounterType","find","tct","rolesByDefault","Role","FRONT_OFFICE","FRONT_OFFICE_EXPRESS","SOCIAL","JURIDIC","HUMAN_RESSOURCES","FACTURATION","CUSTOMER_SUCCESS","COMMERCIAL","MANAGER","EXPERT_ACCOUNTANT","DEVELOPER","limitedRoles","_a","selectableTeammates","calendarSelectableTeammates","societies","ownerSociety","update","getInfo"],"sourceRoot":"","sources":["../../../ts/api/resources/User.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n IUser, QueryConfirm, QueryResendConfirmationLink, CreateUser, CreateCoworker, QueryUserSmsConfirmation, QueryGetAllFromSociety, QuerySocieties, ISociety, Role, TimeCounterType, QueryGetAllCollaborators, QueryGetAllCollaboratorsByRoles,\n} from '../../types';\n\nexport class User extends Resource {\n confirm(params: QueryConfirm): Promise<IUser> {\n return this.axios.$put('user/confirm', params);\n }\n resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {\n return this.axios.$put(`user/${params.id}/resendConfirmationEmailLink`);\n }\n create(data: CreateUser): Promise<IUser> {\n return this.axios.$post('user/create', data);\n }\n coworker(data: CreateCoworker): Promise<IUser> {\n return this.axios.$post('user/coworker', data);\n }\n sendNewCode(id: number): Promise<IUser> {\n return this.axios.$put(`user/${id}/sendNewSmsCode`);\n }\n verifySmsCodeConfirmation(id: number, params: QueryUserSmsConfirmation): Promise<IUser> {\n return this.axios.$get(`user/${id}/verifySmsCodeConfirmation`, { params });\n }\n allFromSociety(params: QueryGetAllFromSociety): Promise<IUser> {\n return this.axios.$get('user/all-from-society', { params });\n }\n allCollaborators(params: QueryGetAllCollaborators): Promise<IUser> {\n return this.axios.$get('user/all-collaborators', { params });\n }\n allCollaboratorsByRoles(data: QueryGetAllCollaboratorsByRoles): Promise<IUser> {\n const { idTimeCounterType, idRoles } = data;\n let params = { idRoles };\n if (idTimeCounterType) {\n const timeCounterType = Object.values(TimeCounterType).find((tct) => tct.id === idTimeCounterType);\n const rolesByDefault = [\n Role.FRONT_OFFICE,\n Role.FRONT_OFFICE_EXPRESS,\n Role.SOCIAL,\n Role.JURIDIC,\n Role.HUMAN_RESSOURCES,\n Role.FACTURATION,\n Role.CUSTOMER_SUCCESS,\n Role.COMMERCIAL,\n Role.MANAGER,\n Role.EXPERT_ACCOUNTANT,\n Role.DEVELOPER,\n ];\n params = { idRoles: timeCounterType?.limitedRoles ?? rolesByDefault };\n }\n return this.axios.$get('user/all-collaborators-by-roles', { params });\n }\n selectableTeammates(): Promise<IUser[]> {\n return this.axios.$get('user/selectable-teammates');\n }\n calendarSelectableTeammates(): Promise<IUser[]> {\n return this.axios.$get('user/calendar-selectable-teammates');\n }\n societies(params: QuerySocieties): Promise<ISociety[]> {\n return this.axios.$get('user/societies', { params });\n }\n ownerSociety(id: number): Promise<IUser> {\n return this.axios.$get(`user/${id}/owner`);\n }\n update(id: number, params: Partial<IUser> & { lastMobileConnection?: Date }): Promise<IUser> {\n return this.axios.$put(`user/${id}`, params);\n }\n getInfo(): Promise<IUser> {\n return this.axios.$get('user');\n }\n}\n"]}
|
package/js/api/resources.js
CHANGED
|
@@ -219,6 +219,10 @@ var _TerminationList = require("./resources/TerminationList");
|
|
|
219
219
|
|
|
220
220
|
var _SlowDetection = require("./resources/SlowDetection");
|
|
221
221
|
|
|
222
|
+
var _Sources = require("./resources/Sources");
|
|
223
|
+
|
|
224
|
+
var _Commercial = require("./resources/Commercial");
|
|
225
|
+
|
|
222
226
|
const resources = exports.resources = {
|
|
223
227
|
simulation: _Simulation.Simulation,
|
|
224
228
|
budgetInsight: _BudgetInsight.BudgetInsight,
|
|
@@ -280,6 +284,7 @@ const resources = exports.resources = {
|
|
|
280
284
|
bankStatement: _BankStatement.BankStatement,
|
|
281
285
|
shareCapital: _shareCapital.ShareCapital,
|
|
282
286
|
closing: _Closing.Closing,
|
|
287
|
+
commercial: _Commercial.Commercial,
|
|
283
288
|
machineLearning: _MachineLearning.MachineLearning,
|
|
284
289
|
workingSchedule: _WorkingSchedule.WorkingSchedule,
|
|
285
290
|
revision: _Revision.Revision,
|
|
@@ -326,6 +331,7 @@ const resources = exports.resources = {
|
|
|
326
331
|
statisticExpertAccountant: _ExpertAccountant.StatisticExpertAccountant,
|
|
327
332
|
paymentExpectation: _PaymentExpectation.PaymentExpectation,
|
|
328
333
|
terminationList: _TerminationList.TerminationList,
|
|
329
|
-
slowDetection: _SlowDetection.SlowDetection
|
|
334
|
+
slowDetection: _SlowDetection.SlowDetection,
|
|
335
|
+
sources: _Sources.Sources
|
|
330
336
|
};
|
|
331
337
|
//# sourceMappingURL=resources.js.map
|
package/js/api/resources.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEO,MAAMA,SAAS,WAATA,SAAS,GAAG;EACvBC,UAAU,EAAEC,sBADW;EAEvBC,aAAa,EAAEC,4BAFQ;EAGvBC,OAAO,EAAEC,gBAHc;EAIvBC,0BAA0B,EAAEC,sDAJL;EAKvBC,OAAO,EAAEC,gBALc;EAMvBC,cAAc,EAAEC,8BANO;EAOvBC,WAAW,EAAEC,wBAPU;EAQvBC,WAAW,EAAEC,wBARU;EASvBC,OAAO,EAAEC,gBATc;EAUvBC,WAAW,EAAEC,wBAVU;EAWvBC,IAAI,EAAEC,UAXiB;EAYvBC,MAAM,EAAEC,cAZe;EAavBC,MAAM,EAAEC,cAbe;EAcvBC,MAAM,EAAEC,cAde;EAevBC,SAAS,EAAEC,oBAfY;EAgBvBC,OAAO,EAAEC,gBAhBc;EAiBvBC,OAAO,EAAEC,gBAjBc;EAkBvBC,aAAa,EAAEC,4BAlBQ;EAmBv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EC,sBAhGW;EAiGvBC,MAAM,EAAEC,cAjGe;EAkGvBC,IAAI,EAAEC,UAlGiB;EAmGvBC,MAAM,EAAEC,cAnGe;EAoGvBC,aAAa,EAAEC,4BApGQ;EAqGvBC,WAAW,EAAEC,wBArGU;EAsGvBC,mBAAmB,EAAEC,+BAtGE;EAuGvBC,kBAAkB,EAAEC,6BAvGG;EAwGvBC,yBAAyB,EAAEC,2CAxGJ;EAyGvBC,kBAAkB,EAAEC,sCAzGG;EA0GvBC,eAAe,EAAEC,gCA1GM;EA2GvBC,aAAa,EAAEC;AA3GQ,CAAlB","names":["resources","simulation","Simulation","budgetInsight","BudgetInsight","country","Country","paymentExpectationCustomer","PaymentExpectationCustomer","payment","Payment","immobilization","Immobilization","accountType","AccountType","transaction","Transaction","account","Account","sponsorship","Sponsorship","user","User","survey","Survey","report","Report","letter","Letter","firstStep","FirstStep","society","Society","partner","Partner","generalLedger","GeneralLedger","fecFile","FecFile","incomeStatement","IncomeStatement","internalInvoicing","InternalInvoicing","balanceSheet","BalanceSheet","balanceSheetModule","BalanceSheetModule","cerfa","Cerfa","legalForm","LegalForm","authenticate","Authenticate","search","Search","subscription","Subscription","salariesFile","SalariesFile","shine","Shine","promoCode","PromoCode","stocks","Stocks","loan","Loan","provision","Provision","societyPromoCode","SocietyPromoCode","dashboard","Dashboard","zTicket","ZTicket","incomeAllocation","IncomeAllocation","customerProviderOperation","CustomerProviderOperation","steps","Steps","revisionGuide","RevisionGuide","library","Library","taxDeadline","TaxDeadline","exerciceNote","ExerciceNote","connector","Connector","partneredAccountant","PartneredAccountant","tax","Tax","quotesAccount","QuotesAccount","registration","Registration","journal","Journal","product","Product","mealExpense","MealExpense","balanceSheetQuestion","BalanceSheetQuestion","exerciceQuestion","ExerciceQuestion","vatControl","VatControl","accountingIncome","AccountingIncome","accountingFiles","AccountingFiles","bankStatement","BankStatement","shareCapital","ShareCapital","closing","Closing","machineLearning","MachineLearning","workingSchedule","WorkingSchedule","revision","Revision","vehicle","Vehicle","kilometricAllowance","KilometricAllowance","vatDeclaration","VatDeclaration","qonto","Qonto","affectedPatrimony","AffectedPatrimony","bankAccount","BankAccount","log","Log","exercice","Exercice","mail","Mail","employee","Employee","sheetMonthSchedule","SheetMonthSchedule","nafCode","NafCode","checklist","Checklist","lettering","Lettering","mobile","Mobile","notification","Notification","societyEvent","SocietyEvent","task","Task","comment","Comment","calendarEvent","CalendarEvent","timeRecorder","TimeRecorder","notificationSetting","NotificationSetting","cx","Cx","bankList","BankList","thirdParty","ThirdParty","alert","Alert","customerActivity","CustomerActivity","commercialSetting","CommercialSetting","commercialDocument","CommercialDocument","connection","Connection","invoice","Invoice","reminder","Reminder","recurrence","Recurrence","stripe","Stripe","file","File","wallet","Wallet","societyConfig","SocietyConfig","legalNotice","LegalNotice","statisticAccountant","StatisticAccountant","statisticDirection","StatisticDirection","statisticExpertAccountant","StatisticExpertAccountant","paymentExpectation","PaymentExpectation","terminationList","TerminationList","slowDetection","SlowDetection"],"sourceRoot":"","sources":["../../ts/api/resources.ts"],"sourcesContent":["import { Country } from './resources/Country';\nimport { Simulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Payment } from './resources/Payment';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { Sponsorship } from './resources/Sponsorship';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { Report } from './resources/Report';\nimport { Letter } from './resources/Letter';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { FecFile } from './resources/FecFile';\nimport { IncomeStatement } from './resources/IncomeStatement';\nimport { BalanceSheet } from './resources/BalanceSheet';\nimport { BalanceSheetModule } from './resources/BalanceSheetModule';\nimport { Cerfa } from './resources/Cerfa';\nimport { LegalForm } from './resources/LegalForm';\nimport { Subscription } from './resources/Subscription';\nimport { Authenticate } from './resources/Authenticate';\nimport { Search } from './resources/Search';\nimport { SalariesFile } from './resources/SalariesFile';\nimport { Shine } from './resources/Shine';\nimport { PromoCode } from './resources/PromoCode';\nimport { Stocks } from './resources/Stocks';\nimport { Loan } from './resources/Loan';\nimport { SocietyPromoCode } from './resources/SocietyPromoCode';\nimport { Dashboard } from './resources/Dashboard';\nimport { ZTicket } from './resources/ZTicket';\nimport { IncomeAllocation } from './resources/IncomeAllocation';\nimport { CustomerProviderOperation } from './resources/CustomerProviderOperation';\nimport { Steps } from './resources/Step';\nimport { RevisionGuide } from './resources/RevisionGuide';\nimport { Library } from './resources/Library';\nimport { TaxDeadline } from './resources/TaxDeadline';\nimport { ExerciceNote } from './resources/ExerciceNote';\nimport { Connector } from './resources/Connector';\nimport { PartneredAccountant } from './resources/PartneredAccountant';\nimport { Tax } from './resources/Tax';\nimport { QuotesAccount } from './resources/QuotesAccount';\nimport { Registration } from './resources/Registration';\nimport { Journal } from './resources/Journal';\nimport { Product } from './resources/Product';\nimport { MealExpense } from './resources/MealExpense';\nimport { InternalInvoicing } from './resources/InternalInvoicing';\nimport { BalanceSheetQuestion } from './resources/BalanceSheetQuestion';\nimport { ExerciceQuestion } from './resources/ExerciceQuestion';\nimport { VatControl } from './resources/VatControl';\nimport { Provision } from './resources/Provision';\nimport { AccountingIncome } from './resources/AccountingIncome';\nimport { AccountingFiles } from './resources/AccountingFiles';\nimport { BankStatement } from './resources/BankStatement';\nimport { ShareCapital } from './resources/shareCapital';\nimport { Closing } from './resources/Closing';\nimport { MachineLearning } from './resources/MachineLearning';\nimport { WorkingSchedule } from './resources/WorkingSchedule';\nimport { Revision } from './resources/Revision';\nimport { Vehicle } from './resources/Vehicle';\nimport { KilometricAllowance } from './resources/KilometricAllowance';\nimport { VatDeclaration } from './resources/VatDeclaration';\nimport { Qonto } from './resources/Qonto';\nimport { AffectedPatrimony } from './resources/AffectedPatrimony';\nimport { BankAccount } from './resources/BankAccount';\nimport { BudgetInsight } from './resources/BudgetInsight';\nimport { Log } from './resources/Log';\nimport { Exercice } from './resources/Exercice';\nimport { Mail } from './resources/Mail';\nimport { Employee } from './resources/Employee';\nimport { SheetMonthSchedule } from './resources/SheetMonthSchedule';\nimport { NafCode } from './resources/NafCode';\nimport { Checklist } from './resources/Checklist';\nimport { Lettering } from './resources/Lettering';\nimport { Notification } from './resources/Notification';\nimport { Mobile } from './resources/Mobile';\nimport { Task } from './resources/Task';\nimport { SocietyEvent } from './resources/SocietyEvent';\nimport { Comment } from './resources/Comment';\nimport { NotificationSetting } from './resources/NotificationSetting';\nimport { Cx } from './resources/3cx';\nimport { BankList } from './resources/BankList';\nimport { ThirdParty } from './resources/ThirdParty';\nimport { Alert } from './resources/Alert';\nimport { CalendarEvent } from './resources/CalendarEvent';\nimport { TimeRecorder } from './resources/TimeRecorder';\nimport { CustomerActivity } from './resources/CustomerActivity';\nimport { CommercialSetting } from './resources/CommercialSetting';\nimport { Invoice } from './resources/Invoice';\nimport { CommercialDocument } from './resources/CommercialDocument';\nimport { Connection } from './resources/Connection';\nimport { Reminder } from './resources/Reminder';\nimport { Recurrence } from './resources/Recurrence';\nimport { Stripe } from './resources/Stripe';\nimport { File } from './resources/FIle';\nimport { SocietyConfig } from './resources/SocietyConfig';\nimport { LegalNotice } from './resources/LegalNotice';\nimport { StatisticAccountant } from './resources/statistic/Accountant';\nimport { StatisticExpertAccountant } from './resources/statistic/ExpertAccountant';\nimport { Wallet } from './resources/Wallet';\nimport { PaymentExpectation } from './resources/PaymentExpectation';\nimport { StatisticDirection } from './resources/statistic/Direction';\nimport { TerminationList } from './resources/TerminationList';\nimport { SlowDetection } from './resources/SlowDetection';\n\nexport const resources = {\n simulation: Simulation,\n budgetInsight: BudgetInsight,\n country: Country,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n payment: Payment,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n sponsorship: Sponsorship,\n user: User,\n survey: Survey,\n report: Report,\n letter: Letter,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n generalLedger: GeneralLedger,\n fecFile: FecFile,\n incomeStatement: IncomeStatement,\n internalInvoicing: InternalInvoicing,\n balanceSheet: BalanceSheet,\n balanceSheetModule: BalanceSheetModule,\n cerfa: Cerfa,\n legalForm: LegalForm,\n authenticate: Authenticate,\n search: Search,\n subscription: Subscription,\n salariesFile: SalariesFile,\n shine: Shine,\n promoCode: PromoCode,\n stocks: Stocks,\n loan: Loan,\n provision: Provision,\n societyPromoCode: SocietyPromoCode,\n dashboard: Dashboard,\n zTicket: ZTicket,\n incomeAllocation: IncomeAllocation,\n customerProviderOperation: CustomerProviderOperation,\n steps: Steps,\n revisionGuide: RevisionGuide,\n library: Library,\n taxDeadline: TaxDeadline,\n exerciceNote: ExerciceNote,\n connector: Connector,\n partneredAccountant: PartneredAccountant,\n tax: Tax,\n quotesAccount: QuotesAccount,\n registration: Registration,\n journal: Journal,\n product: Product,\n mealExpense: MealExpense,\n balanceSheetQuestion: BalanceSheetQuestion,\n exerciceQuestion: ExerciceQuestion,\n vatControl: VatControl,\n accountingIncome: AccountingIncome,\n accountingFiles: AccountingFiles,\n bankStatement: BankStatement,\n shareCapital: ShareCapital,\n closing: Closing,\n machineLearning: MachineLearning,\n workingSchedule: WorkingSchedule,\n revision: Revision,\n vehicle: Vehicle,\n kilometricAllowance: KilometricAllowance,\n vatDeclaration: VatDeclaration,\n qonto: Qonto,\n affectedPatrimony: AffectedPatrimony,\n bankAccount: BankAccount,\n log: Log,\n exercice: Exercice,\n mail: Mail,\n employee: Employee,\n sheetMonthSchedule: SheetMonthSchedule,\n nafCode: NafCode,\n checklist: Checklist,\n lettering: Lettering,\n mobile: Mobile,\n notification: Notification,\n societyEvent: SocietyEvent,\n task: Task,\n comment: Comment,\n calendarEvent: CalendarEvent,\n timeRecorder: TimeRecorder,\n notificationSetting: NotificationSetting,\n cx: Cx,\n bankList: BankList,\n thirdParty: ThirdParty,\n alert: Alert,\n customerActivity: CustomerActivity,\n commercialSetting: CommercialSetting,\n commercialDocument: CommercialDocument,\n connection: Connection,\n invoice: Invoice,\n reminder: Reminder,\n recurrence: Recurrence,\n stripe: Stripe,\n file: File,\n wallet: Wallet,\n societyConfig: SocietyConfig,\n legalNotice: LegalNotice,\n statisticAccountant: StatisticAccountant,\n statisticDirection: StatisticDirection,\n statisticExpertAccountant: StatisticExpertAccountant,\n paymentExpectation: PaymentExpectation,\n terminationList: TerminationList,\n slowDetection: SlowDetection,\n};"]}
|
|
1
|
+
{"version":3,"file":"resources.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEO,MAAMA,SAAS,WAATA,SAAS,GAAG;EACvBC,UAAU,EAAEC,sBADW;EAEvBC,aAAa,EAAEC,4BAFQ;EAGvBC,OAAO,EAAEC,gBAHc;EAIvBC,0BAA0B,EAAEC,sDAJL;EAKvBC,OAAO,EAAEC,gBALc;EAMvBC,cA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,YAAY,EAAEC,0BArFS;EAsFvBC,mBAAmB,EAAEC,wCAtFE;EAuFvBC,EAAE,EAAEC,MAvFmB;EAwFvBC,QAAQ,EAAEC,kBAxFa;EAyFvBC,UAAU,EAAEC,sBAzFW;EA0FvBC,KAAK,EAAEC,YA1FgB;EA2FvBC,gBAAgB,EAAEC,kCA3FK;EA4FvBC,iBAAiB,EAAEC,oCA5FI;EA6FvBC,kBAAkB,EAAEC,sCA7FG;EA8FvBC,UAAU,EAAEC,sBA9FW;EA+FvBC,OAAO,EAAEC,gBA/Fc;EAgGvBC,QAAQ,EAAEC,kBAhGa;EAiGvBC,UAAU,EAAEC,sBAjGW;EAkGvBC,MAAM,EAAEC,cAlGe;EAmGvBC,IAAI,EAAEC,UAnGiB;EAoGvBC,MAAM,EAAEC,cApGe;EAqGvBC,aAAa,EAAEC,4BArGQ;EAsGvBC,WAAW,EAAEC,wBAtGU;EAuGvBC,mBAAmB,EAAEC,+BAvGE;EAwGvBC,kBAAkB,EAAEC,6BAxGG;EAyGvBC,yBAAyB,EAAEC,2CAzGJ;EA0GvBC,kBAAkB,EAAEC,sCA1GG;EA2GvBC,eAAe,EAAEC,gCA3GM;EA4GvBC,aAAa,EAAEC,4BA5GQ;EA6GvBC,OAAO,EAAEC;AA7Gc,CAAlB","names":["resources","simulation","Simulation","budgetInsight","BudgetInsight","country","Country","paymentExpectationCustomer","PaymentExpectationCustomer","payment","Payment","immobilization","Immobilization","accountType","AccountType","transaction","Transaction","account","Account","sponsorship","Sponsorship","user","User","survey","Survey","report","Report","letter","Letter","firstStep","FirstStep","society","Society","partner","Partner","generalLedger","GeneralLedger","fecFile","FecFile","incomeStatement","IncomeStatement","internalInvoicing","InternalInvoicing","balanceSheet","BalanceSheet","balanceSheetModule","BalanceSheetModule","cerfa","Cerfa","legalForm","LegalForm","authenticate","Authenticate","search","Search","subscription","Subscription","salariesFile","SalariesFile","shine","Shine","promoCode","PromoCode","stocks","Stocks","loan","Loan","provision","Provision","societyPromoCode","SocietyPromoCode","dashboard","Dashboard","zTicket","ZTicket","incomeAllocation","IncomeAllocation","customerProviderOperation","CustomerProviderOperation","steps","Steps","revisionGuide","RevisionGuide","library","Library","taxDeadline","TaxDeadline","exerciceNote","ExerciceNote","connector","Connector","partneredAccountant","PartneredAccountant","tax","Tax","quotesAccount","QuotesAccount","registration","Registration","journal","Journal","product","Product","mealExpense","MealExpense","balanceSheetQuestion","BalanceSheetQuestion","exerciceQuestion","ExerciceQuestion","vatControl","VatControl","accountingIncome","AccountingIncome","accountingFiles","AccountingFiles","bankStatement","BankStatement","shareCapital","ShareCapital","closing","Closing","commercial","Commercial","machineLearning","MachineLearning","workingSchedule","WorkingSchedule","revision","Revision","vehicle","Vehicle","kilometricAllowance","KilometricAllowance","vatDeclaration","VatDeclaration","qonto","Qonto","affectedPatrimony","AffectedPatrimony","bankAccount","BankAccount","log","Log","exercice","Exercice","mail","Mail","employee","Employee","sheetMonthSchedule","SheetMonthSchedule","nafCode","NafCode","checklist","Checklist","lettering","Lettering","mobile","Mobile","notification","Notification","societyEvent","SocietyEvent","task","Task","comment","Comment","calendarEvent","CalendarEvent","timeRecorder","TimeRecorder","notificationSetting","NotificationSetting","cx","Cx","bankList","BankList","thirdParty","ThirdParty","alert","Alert","customerActivity","CustomerActivity","commercialSetting","CommercialSetting","commercialDocument","CommercialDocument","connection","Connection","invoice","Invoice","reminder","Reminder","recurrence","Recurrence","stripe","Stripe","file","File","wallet","Wallet","societyConfig","SocietyConfig","legalNotice","LegalNotice","statisticAccountant","StatisticAccountant","statisticDirection","StatisticDirection","statisticExpertAccountant","StatisticExpertAccountant","paymentExpectation","PaymentExpectation","terminationList","TerminationList","slowDetection","SlowDetection","sources","Sources"],"sourceRoot":"","sources":["../../ts/api/resources.ts"],"sourcesContent":["import { Country } from './resources/Country';\nimport { Simulation } from './resources/Simulation';\nimport { PaymentExpectationCustomer } from './resources/PaymentExpectationCustomer';\nimport { Payment } from './resources/Payment';\nimport { Immobilization } from './resources/Immobilization';\nimport { AccountType } from './resources/AccountType';\nimport { Transaction } from './resources/Transaction';\nimport { Account } from './resources/Account';\nimport { Sponsorship } from './resources/Sponsorship';\nimport { User } from './resources/User';\nimport { Survey } from './resources/Survey';\nimport { Report } from './resources/Report';\nimport { Letter } from './resources/Letter';\nimport { FirstStep } from './resources/FirstStep';\nimport { Society } from './resources/Society';\nimport { Partner } from './resources/Partner';\nimport { GeneralLedger } from './resources/GeneralLedger';\nimport { FecFile } from './resources/FecFile';\nimport { IncomeStatement } from './resources/IncomeStatement';\nimport { BalanceSheet } from './resources/BalanceSheet';\nimport { BalanceSheetModule } from './resources/BalanceSheetModule';\nimport { Cerfa } from './resources/Cerfa';\nimport { LegalForm } from './resources/LegalForm';\nimport { Subscription } from './resources/Subscription';\nimport { Authenticate } from './resources/Authenticate';\nimport { Search } from './resources/Search';\nimport { SalariesFile } from './resources/SalariesFile';\nimport { Shine } from './resources/Shine';\nimport { PromoCode } from './resources/PromoCode';\nimport { Stocks } from './resources/Stocks';\nimport { Loan } from './resources/Loan';\nimport { SocietyPromoCode } from './resources/SocietyPromoCode';\nimport { Dashboard } from './resources/Dashboard';\nimport { ZTicket } from './resources/ZTicket';\nimport { IncomeAllocation } from './resources/IncomeAllocation';\nimport { CustomerProviderOperation } from './resources/CustomerProviderOperation';\nimport { Steps } from './resources/Step';\nimport { RevisionGuide } from './resources/RevisionGuide';\nimport { Library } from './resources/Library';\nimport { TaxDeadline } from './resources/TaxDeadline';\nimport { ExerciceNote } from './resources/ExerciceNote';\nimport { Connector } from './resources/Connector';\nimport { PartneredAccountant } from './resources/PartneredAccountant';\nimport { Tax } from './resources/Tax';\nimport { QuotesAccount } from './resources/QuotesAccount';\nimport { Registration } from './resources/Registration';\nimport { Journal } from './resources/Journal';\nimport { Product } from './resources/Product';\nimport { MealExpense } from './resources/MealExpense';\nimport { InternalInvoicing } from './resources/InternalInvoicing';\nimport { BalanceSheetQuestion } from './resources/BalanceSheetQuestion';\nimport { ExerciceQuestion } from './resources/ExerciceQuestion';\nimport { VatControl } from './resources/VatControl';\nimport { Provision } from './resources/Provision';\nimport { AccountingIncome } from './resources/AccountingIncome';\nimport { AccountingFiles } from './resources/AccountingFiles';\nimport { BankStatement } from './resources/BankStatement';\nimport { ShareCapital } from './resources/shareCapital';\nimport { Closing } from './resources/Closing';\nimport { MachineLearning } from './resources/MachineLearning';\nimport { WorkingSchedule } from './resources/WorkingSchedule';\nimport { Revision } from './resources/Revision';\nimport { Vehicle } from './resources/Vehicle';\nimport { KilometricAllowance } from './resources/KilometricAllowance';\nimport { VatDeclaration } from './resources/VatDeclaration';\nimport { Qonto } from './resources/Qonto';\nimport { AffectedPatrimony } from './resources/AffectedPatrimony';\nimport { BankAccount } from './resources/BankAccount';\nimport { BudgetInsight } from './resources/BudgetInsight';\nimport { Log } from './resources/Log';\nimport { Exercice } from './resources/Exercice';\nimport { Mail } from './resources/Mail';\nimport { Employee } from './resources/Employee';\nimport { SheetMonthSchedule } from './resources/SheetMonthSchedule';\nimport { NafCode } from './resources/NafCode';\nimport { Checklist } from './resources/Checklist';\nimport { Lettering } from './resources/Lettering';\nimport { Notification } from './resources/Notification';\nimport { Mobile } from './resources/Mobile';\nimport { Task } from './resources/Task';\nimport { SocietyEvent } from './resources/SocietyEvent';\nimport { Comment } from './resources/Comment';\nimport { NotificationSetting } from './resources/NotificationSetting';\nimport { Cx } from './resources/3cx';\nimport { BankList } from './resources/BankList';\nimport { ThirdParty } from './resources/ThirdParty';\nimport { Alert } from './resources/Alert';\nimport { CalendarEvent } from './resources/CalendarEvent';\nimport { TimeRecorder } from './resources/TimeRecorder';\nimport { CustomerActivity } from './resources/CustomerActivity';\nimport { CommercialSetting } from './resources/CommercialSetting';\nimport { Invoice } from './resources/Invoice';\nimport { CommercialDocument } from './resources/CommercialDocument';\nimport { Connection } from './resources/Connection';\nimport { Reminder } from './resources/Reminder';\nimport { Recurrence } from './resources/Recurrence';\nimport { Stripe } from './resources/Stripe';\nimport { File } from './resources/FIle';\nimport { SocietyConfig } from './resources/SocietyConfig';\nimport { LegalNotice } from './resources/LegalNotice';\nimport { StatisticAccountant } from './resources/statistic/Accountant';\nimport { StatisticExpertAccountant } from './resources/statistic/ExpertAccountant';\nimport { Wallet } from './resources/Wallet';\nimport { PaymentExpectation } from './resources/PaymentExpectation';\nimport { StatisticDirection } from './resources/statistic/Direction';\nimport { TerminationList } from './resources/TerminationList';\nimport { SlowDetection } from './resources/SlowDetection';\nimport { Sources } from './resources/Sources';\nimport { Commercial } from './resources/Commercial';\n\nexport const resources = {\n simulation: Simulation,\n budgetInsight: BudgetInsight,\n country: Country,\n paymentExpectationCustomer: PaymentExpectationCustomer,\n payment: Payment,\n immobilization: Immobilization,\n accountType: AccountType,\n transaction: Transaction,\n account: Account,\n sponsorship: Sponsorship,\n user: User,\n survey: Survey,\n report: Report,\n letter: Letter,\n firstStep: FirstStep,\n society: Society,\n partner: Partner,\n generalLedger: GeneralLedger,\n fecFile: FecFile,\n incomeStatement: IncomeStatement,\n internalInvoicing: InternalInvoicing,\n balanceSheet: BalanceSheet,\n balanceSheetModule: BalanceSheetModule,\n cerfa: Cerfa,\n legalForm: LegalForm,\n authenticate: Authenticate,\n search: Search,\n subscription: Subscription,\n salariesFile: SalariesFile,\n shine: Shine,\n promoCode: PromoCode,\n stocks: Stocks,\n loan: Loan,\n provision: Provision,\n societyPromoCode: SocietyPromoCode,\n dashboard: Dashboard,\n zTicket: ZTicket,\n incomeAllocation: IncomeAllocation,\n customerProviderOperation: CustomerProviderOperation,\n steps: Steps,\n revisionGuide: RevisionGuide,\n library: Library,\n taxDeadline: TaxDeadline,\n exerciceNote: ExerciceNote,\n connector: Connector,\n partneredAccountant: PartneredAccountant,\n tax: Tax,\n quotesAccount: QuotesAccount,\n registration: Registration,\n journal: Journal,\n product: Product,\n mealExpense: MealExpense,\n balanceSheetQuestion: BalanceSheetQuestion,\n exerciceQuestion: ExerciceQuestion,\n vatControl: VatControl,\n accountingIncome: AccountingIncome,\n accountingFiles: AccountingFiles,\n bankStatement: BankStatement,\n shareCapital: ShareCapital,\n closing: Closing,\n commercial: Commercial,\n machineLearning: MachineLearning,\n workingSchedule: WorkingSchedule,\n revision: Revision,\n vehicle: Vehicle,\n kilometricAllowance: KilometricAllowance,\n vatDeclaration: VatDeclaration,\n qonto: Qonto,\n affectedPatrimony: AffectedPatrimony,\n bankAccount: BankAccount,\n log: Log,\n exercice: Exercice,\n mail: Mail,\n employee: Employee,\n sheetMonthSchedule: SheetMonthSchedule,\n nafCode: NafCode,\n checklist: Checklist,\n lettering: Lettering,\n mobile: Mobile,\n notification: Notification,\n societyEvent: SocietyEvent,\n task: Task,\n comment: Comment,\n calendarEvent: CalendarEvent,\n timeRecorder: TimeRecorder,\n notificationSetting: NotificationSetting,\n cx: Cx,\n bankList: BankList,\n thirdParty: ThirdParty,\n alert: Alert,\n customerActivity: CustomerActivity,\n commercialSetting: CommercialSetting,\n commercialDocument: CommercialDocument,\n connection: Connection,\n invoice: Invoice,\n reminder: Reminder,\n recurrence: Recurrence,\n stripe: Stripe,\n file: File,\n wallet: Wallet,\n societyConfig: SocietyConfig,\n legalNotice: LegalNotice,\n statisticAccountant: StatisticAccountant,\n statisticDirection: StatisticDirection,\n statisticExpertAccountant: StatisticExpertAccountant,\n paymentExpectation: PaymentExpectation,\n terminationList: TerminationList,\n slowDetection: SlowDetection,\n sources: Sources,\n};"]}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var ConstitutionState = exports.ConstitutionState = undefined;
|
|
7
|
+
|
|
8
|
+
(function (ConstitutionState) {
|
|
9
|
+
ConstitutionState[ConstitutionState["TO_CONTACT"] = 1] = "TO_CONTACT";
|
|
10
|
+
ConstitutionState[ConstitutionState["IN_CREATION_BY_SALES_SERVICE"] = 2] = "IN_CREATION_BY_SALES_SERVICE";
|
|
11
|
+
ConstitutionState[ConstitutionState["FINISHED"] = 3] = "FINISHED";
|
|
12
|
+
ConstitutionState[ConstitutionState["WAITING_INFORMATION_SHEET"] = 4] = "WAITING_INFORMATION_SHEET";
|
|
13
|
+
ConstitutionState[ConstitutionState["WAITING_DEPOSIT_CERTIFICATE"] = 5] = "WAITING_DEPOSIT_CERTIFICATE";
|
|
14
|
+
ConstitutionState[ConstitutionState["WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES"] = 6] = "WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES";
|
|
15
|
+
ConstitutionState[ConstitutionState["WAITING_KBIS"] = 7] = "WAITING_KBIS";
|
|
16
|
+
ConstitutionState[ConstitutionState["WAITING_RIB_OR_SEPA"] = 8] = "WAITING_RIB_OR_SEPA";
|
|
17
|
+
ConstitutionState[ConstitutionState["INVOICING_TO_D0"] = 9] = "INVOICING_TO_D0";
|
|
18
|
+
ConstitutionState[ConstitutionState["ABANDONED_CASE"] = 10] = "ABANDONED_CASE";
|
|
19
|
+
})(ConstitutionState || (exports.ConstitutionState = ConstitutionState = {}));
|
|
20
|
+
|
|
21
|
+
const ConstitutionStateDetail = exports.ConstitutionStateDetail = {
|
|
22
|
+
TO_CONTACT: {
|
|
23
|
+
id: 1,
|
|
24
|
+
name: 'À contacter',
|
|
25
|
+
color: 'grey lighten-4'
|
|
26
|
+
},
|
|
27
|
+
IN_CREATION_BY_SALES_SERVICE: {
|
|
28
|
+
id: 2,
|
|
29
|
+
name: 'En cours de création par le service commercial / client',
|
|
30
|
+
color: 'primary'
|
|
31
|
+
},
|
|
32
|
+
FINISHED: {
|
|
33
|
+
id: 3,
|
|
34
|
+
name: 'Dossier terminé',
|
|
35
|
+
color: 'success'
|
|
36
|
+
},
|
|
37
|
+
WAITING_INFORMATION_SHEET: {
|
|
38
|
+
id: 4,
|
|
39
|
+
name: 'Attente fiche de renseignement',
|
|
40
|
+
color: 'blue lighten-4'
|
|
41
|
+
},
|
|
42
|
+
WAITING_DEPOSIT_CERTIFICATE: {
|
|
43
|
+
id: 5,
|
|
44
|
+
name: 'Attente certificat de dépôt',
|
|
45
|
+
color: 'blue'
|
|
46
|
+
},
|
|
47
|
+
WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES: {
|
|
48
|
+
id: 6,
|
|
49
|
+
name: 'Attente doc signés / paiement AL / frais de Greffe',
|
|
50
|
+
color: 'blue lighten-4'
|
|
51
|
+
},
|
|
52
|
+
WAITING_KBIS: {
|
|
53
|
+
id: 7,
|
|
54
|
+
name: 'Attente KBIS',
|
|
55
|
+
color: 'purple lighten-4'
|
|
56
|
+
},
|
|
57
|
+
WAITING_RIB_OR_SEPA: {
|
|
58
|
+
id: 8,
|
|
59
|
+
name: 'Attente RIB / Mandat SEPA',
|
|
60
|
+
color: 'yellow lighten-4'
|
|
61
|
+
},
|
|
62
|
+
INVOICING_TO_D0: {
|
|
63
|
+
id: 9,
|
|
64
|
+
name: 'Facturation à faire',
|
|
65
|
+
color: 'primary lighten-2'
|
|
66
|
+
},
|
|
67
|
+
ABANDONED_CASE: {
|
|
68
|
+
id: 10,
|
|
69
|
+
name: 'Dossier en abandon',
|
|
70
|
+
color: 'grey darken-3'
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=ConstitutionState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConstitutionState.js","mappings":";;;;;AAAA,IAAYA,iBAWX,WAXWA,iBAWX,YAXD;;AAAA,WAAYA,iBAAZ,EAA6B;EAC3BA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;AACD,CAXD,EAAYA,iBAAiB,aAAjBA,iBAAiB,GAAjBA,iBAAiB,MAA7B;;AAYO,MAAMC,uBAAuB,WAAvBA,uBAAuB,GAAG;EACrCC,UAAU,EAAE;IACVC,EAAE,EAAE,CADM;IAEVC,IAAI,EAAE,aAFI;IAGVC,KAAK,EAAE;EAHG,CADyB;EAMrCC,4BAA4B,EAAE;IAC5BH,EAAE,EAAE,CADwB;IAE5BC,IAAI,EAAE,yDAFsB;IAG5BC,KAAK,EAAE;EAHqB,CANO;EAWrCE,QAAQ,EAAE;IACRJ,EAAE,EAAE,CADI;IAERC,IAAI,EAAE,iBAFE;IAGRC,KAAK,EAAE;EAHC,CAX2B;EAgBrCG,yBAAyB,EAAE;IACzBL,EAAE,EAAE,CADqB;IAEzBC,IAAI,EAAE,gCAFmB;IAGzBC,KAAK,EAAE;EAHkB,CAhBU;EAqBrCI,2BAA2B,EAAE;IAC3BN,EAAE,EAAE,CADuB;IAE3BC,IAAI,EAAE,6BAFqB;IAG3BC,KAAK,EAAE;EAHoB,CArBQ;EA0BrCK,+CAA+C,EAAE;IAC/CP,EAAE,EAAE,CAD2C;IAE/CC,IAAI,EAAE,oDAFyC;IAG/CC,KAAK,EAAE;EAHwC,CA1BZ;EA+BrCM,YAAY,EAAE;IACZR,EAAE,EAAE,CADQ;IAEZC,IAAI,EAAE,cAFM;IAGZC,KAAK,EAAE;EAHK,CA/BuB;EAoCrCO,mBAAmB,EAAE;IACnBT,EAAE,EAAE,CADe;IAEnBC,IAAI,EAAE,2BAFa;IAGnBC,KAAK,EAAE;EAHY,CApCgB;EAyCrCQ,eAAe,EAAE;IACfV,EAAE,EAAE,CADW;IAEfC,IAAI,EAAE,qBAFS;IAGfC,KAAK,EAAE;EAHQ,CAzCoB;EA8CrCS,cAAc,EAAE;IACdX,EAAE,EAAE,EADU;IAEdC,IAAI,EAAE,oBAFQ;IAGdC,KAAK,EAAE;EAHO;AA9CqB,CAAhC","names":["ConstitutionState","ConstitutionStateDetail","TO_CONTACT","id","name","color","IN_CREATION_BY_SALES_SERVICE","FINISHED","WAITING_INFORMATION_SHEET","WAITING_DEPOSIT_CERTIFICATE","WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES","WAITING_KBIS","WAITING_RIB_OR_SEPA","INVOICING_TO_D0","ABANDONED_CASE"],"sourceRoot":"","sources":["../../../ts/types/Enum/ConstitutionState.ts"],"sourcesContent":["export enum ConstitutionState {\n TO_CONTACT = 1,\n IN_CREATION_BY_SALES_SERVICE = 2,\n FINISHED = 3,\n WAITING_INFORMATION_SHEET = 4,\n WAITING_DEPOSIT_CERTIFICATE = 5,\n WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES = 6,\n WAITING_KBIS = 7,\n WAITING_RIB_OR_SEPA = 8,\n INVOICING_TO_D0 = 9,\n ABANDONED_CASE = 10,\n}\nexport const ConstitutionStateDetail = {\n TO_CONTACT: {\n id: 1,\n name: 'À contacter',\n color: 'grey lighten-4',\n },\n IN_CREATION_BY_SALES_SERVICE: {\n id: 2,\n name: 'En cours de création par le service commercial / client',\n color: 'primary',\n },\n FINISHED: {\n id: 3,\n name: 'Dossier terminé',\n color: 'success',\n },\n WAITING_INFORMATION_SHEET: {\n id: 4,\n name: 'Attente fiche de renseignement',\n color: 'blue lighten-4',\n },\n WAITING_DEPOSIT_CERTIFICATE: {\n id: 5,\n name: 'Attente certificat de dépôt',\n color: 'blue',\n },\n WAITING_SIGNED_DOCS_OR_AL_PAYMENT_OR_COURT_FEES: {\n id: 6,\n name: 'Attente doc signés / paiement AL / frais de Greffe',\n color: 'blue lighten-4',\n },\n WAITING_KBIS: {\n id: 7,\n name: 'Attente KBIS',\n color: 'purple lighten-4',\n },\n WAITING_RIB_OR_SEPA: {\n id: 8,\n name: 'Attente RIB / Mandat SEPA',\n color: 'yellow lighten-4',\n },\n INVOICING_TO_D0: {\n id: 9,\n name: 'Facturation à faire',\n color: 'primary lighten-2',\n },\n ABANDONED_CASE: {\n id: 10,\n name: 'Dossier en abandon',\n color: 'grey darken-3',\n },\n};"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.GetLastInvalidateEvent = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _decorators = require("../../../../utils/decorators");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class GetLastInvalidateEvent {}
|
|
25
|
+
|
|
26
|
+
exports.GetLastInvalidateEvent = GetLastInvalidateEvent;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GetLastInvalidateEvent.prototype, "idUser", void 0);
|
|
29
|
+
//# sourceMappingURL=getLastInvalidateEvent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLastInvalidateEvent.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,sBAAP,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXC,YAFC,8BAED,EADC,4BACD","names":["GetLastInvalidateEvent","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/calendarEvent/getLastInvalidateEvent.ts"],"sourcesContent":["import { IsInt } from 'class-validator';\nimport { ApiProperty } from '../../../../utils/decorators';\n\nexport class GetLastInvalidateEvent {\n @ApiProperty()\n @IsInt()\n idUser: number;\n}"]}
|
|
@@ -173,9 +173,9 @@ __decorate([(0, _utils.ApiProperty)({
|
|
|
173
173
|
description: 'Pénalité de retard'
|
|
174
174
|
}), __metadata("design:type", Object)], CommercialDocumentInputs.prototype, "penalties", void 0);
|
|
175
175
|
|
|
176
|
-
__decorate([(0, _utils.
|
|
176
|
+
__decorate([(0, _utils.ApiPropertyOptional)({
|
|
177
177
|
description: 'Remise globale'
|
|
178
|
-
}),
|
|
178
|
+
}), __metadata("design:type", Object)], CommercialDocumentInputs.prototype, "generalDiscount2", void 0);
|
|
179
179
|
|
|
180
180
|
__decorate([(0, _utils.ApiProperty)({
|
|
181
181
|
description: 'Indemnité forfaitaire'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAOM,MAAOA,uBAAP,CAA8B;;QAAvBA,uB,GAAAA,uB;;AAOXC,YANC,iCAMD,EALC,iCAKD,EAJC,+BAID,EAHC,yBAAI,CAAJ,EAAO;EACNC,OAAO,EAAE;AADH,CAAP,CAGD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,E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reateCommercialSetting","__decorate","message","CreateCommercialMail","CreateCommercialMailWithMultipleFiles","CommercialDocumentInputs","description","Array","CreatePreSaleDocument","CreateInvoiceDocument","CreateCgv","CreateReminder","CreateRecurrence","RecurrenceType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { AccountingCategoryId, FontIds, LogoAlignment } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fontColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n}\n\nexport class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {\n idsFile: number[];\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n capital: number | null;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n thirdParty: IThirdParty;\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string;\n\n @ApiProperty()\n @IsDateString()\n dueDate: string;\n\n @ApiProperty({ description: 'Date d\\'expiration pour la facture d\\'acompte' })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n discount: string | null;\n\n @ApiProperty()\n comment: string | null;\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null;\n\n @ApiProperty({ description: 'Remise globale' })\n @IsNumber()\n generalDiscount2: number;\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n compensation: string | null;\n\n @ApiProperty()\n vatMention: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null;\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n accountingCategory: AccountingCategoryId;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n\n @ApiProperty()\n @IsString()\n email: string;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n}"]}
|
|
1
|
+
{"version":3,"file":"Create.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAOM,MAAOA,uBAAP,CAA8B;;QAAvBA,uB,GAAAA,uB;;AAOXC,YANC,iCAMD,EALC,iCAKD,EAJC,+BAID,EAHC,yBAAI,CAAJ,EAAO;EACNC,OAAO,EAAE;AADH,CAAP,CAGD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAF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A,YAFC,yBAED,EADC,mCACD;;AAKAA,YAHC,yBAGD,EAFC,yBAED,EADC,gCACD","names":["CreateCommercialSetting","__decorate","message","CreateCommercialMail","CreateCommercialMailWithMultipleFiles","CommercialDocumentInputs","description","Array","CreatePreSaleDocument","CreateInvoiceDocument","CreateCgv","CreateReminder","CreateRecurrence","RecurrenceType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { AccountingCategoryId, FontIds, LogoAlignment } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fontColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n}\n\nexport class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {\n idsFile: number[];\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n capital: number | null;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n thirdParty: IThirdParty;\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string;\n\n @ApiProperty()\n @IsDateString()\n dueDate: string;\n\n @ApiProperty({ description: 'Date d\\'expiration pour la facture d\\'acompte' })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n discount: string | null;\n\n @ApiProperty()\n comment: string | null;\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null;\n\n @ApiPropertyOptional({ description: 'Remise globale' })\n generalDiscount2: number | null;\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n compensation: string | null;\n\n @ApiProperty()\n vatMention: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null;\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n accountingCategory: AccountingCategoryId;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n\n @ApiProperty()\n @IsString()\n email: string;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n}"]}
|
|
@@ -9,6 +9,8 @@ var _classValidator = require("class-validator");
|
|
|
9
9
|
|
|
10
10
|
var _utils = require("../../../../utils");
|
|
11
11
|
|
|
12
|
+
var _boolean = require("../../../../utils/transforms/boolean.transform");
|
|
13
|
+
|
|
12
14
|
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
15
|
var c = arguments.length,
|
|
14
16
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -27,6 +29,12 @@ exports.QueryPaginatedSocietyWithStatsCa = QueryPaginatedSocietyWithStatsCa;
|
|
|
27
29
|
|
|
28
30
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryPaginatedSocietyWithStatsCa.prototype, "search", void 0);
|
|
29
31
|
|
|
32
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryPaginatedSocietyWithStatsCa.prototype, "isInCA", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryPaginatedSocietyWithStatsCa.prototype, "turnoverRefused", void 0);
|
|
35
|
+
|
|
36
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryPaginatedSocietyWithStatsCa.prototype, "isAdditionalSales", void 0);
|
|
37
|
+
|
|
30
38
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedSocietyWithStatsCa.prototype, "day", void 0);
|
|
31
39
|
|
|
32
40
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedSocietyWithStatsCa.prototype, "month", void 0);
|
|
@@ -43,8 +51,10 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
|
|
|
43
51
|
each: true
|
|
44
52
|
}), __metadata("design:type", Array)], QueryPaginatedSocietyWithStatsCa.prototype, "idState", void 0);
|
|
45
53
|
|
|
54
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedSocietyWithStatsCa.prototype, "idConstitutionState", void 0);
|
|
55
|
+
|
|
46
56
|
__decorate([(0, _utils.ApiPropertyOptional)({
|
|
47
|
-
default:
|
|
57
|
+
default: 20
|
|
48
58
|
}), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryPaginatedSocietyWithStatsCa.prototype, "limit", void 0);
|
|
49
59
|
|
|
50
60
|
__decorate([(0, _utils.ApiPropertyOptional)({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryPaginatedSocietyWithStatsCa.js","mappings":";;;;;;;AAAA;;
|
|
1
|
+
{"version":3,"file":"QueryPaginatedSocietyWithStatsCa.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,gCAAP,CAAuC;;QAAhCA,gC,GAAAA,gC;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,2BAAM;EAAEC,IAAI,EAAE;AAAR,CAAN,CACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,gCAAoB;EAAEE,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,4BACD;;AAKAF,YAHC,gCAAoB;EAAEE,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,iCAED,EADC,4BACD","names":["QueryPaginatedSocietyWithStatsCa","__decorate","each","default"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/QueryPaginatedSocietyWithStatsCa.ts"],"sourcesContent":["import {\n IsBoolean,\n IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedSocietyWithStatsCa {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isInCA?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n turnoverRefused?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isAdditionalSales?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n day?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n month?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSource?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idPrestationList?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idState?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idConstitutionState?: number;\n\n @ApiPropertyOptional({ default: 20 })\n @IsOptional()\n @IsInt()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsInt()\n page?: number;\n}\n"]}
|
|
@@ -7,7 +7,7 @@ exports.UpdateAttribution = undefined;
|
|
|
7
7
|
|
|
8
8
|
var _classValidator = require("class-validator");
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
11
|
|
|
12
12
|
var _boolean = require("../../../../utils/transforms/boolean.transform");
|
|
13
13
|
|
|
@@ -27,9 +27,9 @@ class UpdateAttribution {}
|
|
|
27
27
|
|
|
28
28
|
exports.UpdateAttribution = UpdateAttribution;
|
|
29
29
|
|
|
30
|
-
__decorate([(0,
|
|
30
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsPositive)(), __metadata("design:type", Number)], UpdateAttribution.prototype, "idRoles", void 0);
|
|
31
31
|
|
|
32
|
-
__decorate([(0,
|
|
32
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], UpdateAttribution.prototype, "swapUserId", void 0);
|
|
33
33
|
|
|
34
|
-
__decorate([(0,
|
|
34
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], UpdateAttribution.prototype, "randomSwap", void 0);
|
|
35
35
|
//# sourceMappingURL=UpdateAttribution.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateAttribution.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,iBAAP,CAAwB;;QAAjBA,iB,GAAAA,iB;;AAIXC,YAHC,
|
|
1
|
+
{"version":3,"file":"UpdateAttribution.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,iBAAP,CAAwB;;QAAjBA,iB,GAAAA,iB;;AAIXC,YAHC,yBAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD","names":["UpdateAttribution","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/wallet/UpdateAttribution.ts"],"sourcesContent":["import {\n IsBoolean, IsNumber, IsOptional, IsPositive,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateAttribution {\n @ApiProperty()\n @IsNumber()\n @IsPositive()\n idRoles: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n swapUserId?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n randomSwap?: boolean;\n}"]}
|
package/js/types/index.js
CHANGED
|
@@ -4756,6 +4756,18 @@ Object.keys(_Lab).forEach(function (key) {
|
|
|
4756
4756
|
});
|
|
4757
4757
|
});
|
|
4758
4758
|
|
|
4759
|
+
var _ConstitutionState = require("./Enum/ConstitutionState");
|
|
4760
|
+
|
|
4761
|
+
Object.keys(_ConstitutionState).forEach(function (key) {
|
|
4762
|
+
if (key === "default" || key === "__esModule") return;
|
|
4763
|
+
Object.defineProperty(exports, key, {
|
|
4764
|
+
enumerable: true,
|
|
4765
|
+
get: function () {
|
|
4766
|
+
return _ConstitutionState[key];
|
|
4767
|
+
}
|
|
4768
|
+
});
|
|
4769
|
+
});
|
|
4770
|
+
|
|
4759
4771
|
var _Supervision = require("./Enum/Supervision");
|
|
4760
4772
|
|
|
4761
4773
|
Object.keys(_Supervision).forEach(function (key) {
|
|
@@ -9076,6 +9088,18 @@ Object.keys(_getAllCalendarEvent).forEach(function (key) {
|
|
|
9076
9088
|
});
|
|
9077
9089
|
});
|
|
9078
9090
|
|
|
9091
|
+
var _getLastInvalidateEvent = require("./Interface/api/calendarEvent/getLastInvalidateEvent");
|
|
9092
|
+
|
|
9093
|
+
Object.keys(_getLastInvalidateEvent).forEach(function (key) {
|
|
9094
|
+
if (key === "default" || key === "__esModule") return;
|
|
9095
|
+
Object.defineProperty(exports, key, {
|
|
9096
|
+
enumerable: true,
|
|
9097
|
+
get: function () {
|
|
9098
|
+
return _getLastInvalidateEvent[key];
|
|
9099
|
+
}
|
|
9100
|
+
});
|
|
9101
|
+
});
|
|
9102
|
+
|
|
9079
9103
|
var _readAllCalendarEvent = require("./Interface/api/calendarEvent/readAllCalendarEvent");
|
|
9080
9104
|
|
|
9081
9105
|
Object.keys(_readAllCalendarEvent).forEach(function (key) {
|