@silexpert/core 1.3.30-5 → 1.3.30-7

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.
Files changed (56) hide show
  1. package/dist/cjs/api/resources/Society.d.ts +2 -1
  2. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Society.js +3 -0
  4. package/dist/cjs/api/resources/Society.js.map +1 -1
  5. package/dist/cjs/types/Enum/PrestationType.d.ts +13 -1
  6. package/dist/cjs/types/Enum/PrestationType.d.ts.map +1 -1
  7. package/dist/cjs/types/Enum/PrestationType.js +183 -1
  8. package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
  9. package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +2 -0
  10. package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  11. package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
  12. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +1 -1
  13. package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  14. package/dist/cjs/types/Interface/api/society/State.d.ts +7 -0
  15. package/dist/cjs/types/Interface/api/society/State.d.ts.map +1 -1
  16. package/dist/cjs/types/Interface/api/society/State.js.map +1 -1
  17. package/dist/cjs/types/Interface/api/stripe/Create.d.ts +2 -0
  18. package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  19. package/dist/cjs/types/Interface/api/stripe/Create.js +11 -0
  20. package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
  21. package/dist/cjs/utils/prestation.d.ts +2 -1
  22. package/dist/cjs/utils/prestation.d.ts.map +1 -1
  23. package/dist/cjs/utils/prestation.js +9 -1
  24. package/dist/cjs/utils/prestation.js.map +1 -1
  25. package/dist/mjs/api/resources/Society.d.ts +2 -1
  26. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  27. package/dist/mjs/api/resources/Society.js +3 -0
  28. package/dist/mjs/api/resources/Society.js.map +1 -1
  29. package/dist/mjs/types/Enum/PrestationType.d.ts +13 -1
  30. package/dist/mjs/types/Enum/PrestationType.d.ts.map +1 -1
  31. package/dist/mjs/types/Enum/PrestationType.js +182 -0
  32. package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
  33. package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +2 -0
  34. package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
  35. package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
  36. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +1 -1
  37. package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
  38. package/dist/mjs/types/Interface/api/society/State.d.ts +7 -0
  39. package/dist/mjs/types/Interface/api/society/State.d.ts.map +1 -1
  40. package/dist/mjs/types/Interface/api/society/State.js.map +1 -1
  41. package/dist/mjs/types/Interface/api/stripe/Create.d.ts +2 -0
  42. package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
  43. package/dist/mjs/types/Interface/api/stripe/Create.js +13 -0
  44. package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
  45. package/dist/mjs/utils/prestation.d.ts +2 -1
  46. package/dist/mjs/utils/prestation.d.ts.map +1 -1
  47. package/dist/mjs/utils/prestation.js +9 -2
  48. package/dist/mjs/utils/prestation.js.map +1 -1
  49. package/package.json +1 -1
  50. package/ts/api/resources/Society.ts +5 -0
  51. package/ts/types/Enum/PrestationType.ts +186 -0
  52. package/ts/types/Interface/api/cerfa/2031.ts +2 -0
  53. package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +1 -1
  54. package/ts/types/Interface/api/society/State.ts +8 -0
  55. package/ts/types/Interface/api/stripe/Create.ts +9 -0
  56. package/ts/utils/prestation.ts +13 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Society.js","sourceRoot":"","sources":["../../../../ts/api/resources/Society.ts"],"names":[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AAI,CAAC,cAAc,SAAS,SAAS,CAAC,CAAC;IAC3D,CAAC;IAED,kBAAkB,CAAC,MAAwB;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,EAAE,MAAM,EAAE;YACpD,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateInvoiceMail,\n UpdateInvoiceMail,\n IMailSociety,\n ISociety,\n LegalFormSiren,\n GetDataSociety,\n CreateSociety,\n CreateSynchronization,\n UpdateSociety,\n CreateBudgetBalanceBankAccount,\n IUser,\n ListUserSociety,\n CreateUserToSocietyWithPermission,\n UpdateUserToSocietyWithPermission,\n ReadSocietyUsers,\n QuerySociety,\n UpdateSocietyPayload,\n QueryPaginatedSociety,\n ReadInvalidFieldState,\n BasePaginate,\n UpdateUserSociety,\n QueryArchivedSociety,\n QueryExportSociety,\n QueryAccountingExport,\n GetSocietyState,\n QueryUnpaidSociety,\n ReadSocietyUnpaidStats,\n DataCustomersCsv,\n} from '../../types';\nimport { CancelToken } from 'axios';\n\nexport class Society extends Resource {\n public get(params: QuerySociety): Promise<ISociety> {\n return this.axios.$get('/society', { params });\n }\n\n public getPaginated(\n params: QueryPaginatedSociety,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated', {\n ...(signal ? { signal } : {}),\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n getInvoiceEmail(): Promise<IMailSociety | Error> {\n return this.axios.$get('/society/invoiceEmail');\n }\n\n getInvoiceEmailFromSociety(idSociety: number): Promise<IMailSociety | Error> {\n return this.axios.$get(`/society/invoiceEmail/${idSociety}`);\n }\n\n createInvoiceEmail(data: CreateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$post('/society/invoiceEmail', data);\n }\n\n updateInvoiceEmail(data: UpdateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$put('/society/invoiceEmail', data);\n }\n createSociety(data: CreateSociety, fromSubscription: boolean | string, isCreatedInApp: boolean): Promise<ISociety> {\n return this.axios.$post(\n `/society/create?fromSubscription=${fromSubscription}&isCreatedInApp=${isCreatedInApp}`,\n data,\n );\n }\n updateSociety(id: number, data: UpdateSociety): Promise<ISociety> {\n return this.axios.$put(`/society/${id}/updateSociety`, data);\n }\n\n update(id: number, payload: UpdateSocietyPayload): Promise<ISociety> {\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n archive(id: number): Promise<ISociety> {\n const payload: UpdateSocietyPayload = { society: { archive: true, archiveDate: new Date() } };\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n // this endpoint is used to fetch from extern api for legalForm\n getDataSociety(params: GetDataSociety): Promise<LegalFormSiren[]> {\n return this.axios.$get('/society/dataSociety', { params });\n }\n synchronize(id: number, params: CreateSynchronization): Promise<string> {\n return this.axios.$post(`/society/${id}/synchronize`, params);\n }\n importBalanceBankAccount(\n idSociety: number,\n idBankAccount: number,\n params: CreateBudgetBalanceBankAccount,\n ): Promise<number> {\n return this.axios.$post(`/society/${idSociety}/bankAccount/${idBankAccount}/importBalance`, params);\n }\n listUserSociety(idSociety: number, params: ListUserSociety): Promise<ReadSocietyUsers> {\n return this.axios.$get(`/society/${idSociety}/users`, { params });\n }\n getAccountant(): Promise<IUser | null> {\n return this.axios.$get('/society/accountant');\n }\n deleteUser(idSociety: number, idUser: number): Promise<true> {\n return this.axios.$delete(`/society/${idSociety}/user/${idUser}`);\n }\n createUserToSocietyWithPermission(idSociety: number, data: CreateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$post(`/society/${idSociety}/userToSocietyWithPermission`, data);\n }\n updateUserToSocietyWithPermission(\n idSociety: number,\n id: number,\n data: UpdateUserToSocietyWithPermission,\n ): Promise<IUser> {\n return this.axios.$put(`/society/${idSociety}/userToSocietyWithPermission/${id}`, data);\n }\n delete(id: number): Promise<number> {\n return this.axios.$delete(`/society/${id}`);\n }\n getAllMissingInformations(id: number): Promise<ReadInvalidFieldState[]> {\n return this.axios.$get(`/society/${id}/informations-statements`);\n }\n\n getOwner(id: number): Promise<IUser> {\n return this.axios.$get(`/societies/${id}/owner`);\n }\n\n updateUserAndAccess(idSociety: number, idUser: number, payload: UpdateUserSociety): Promise<{ data: IUser }> {\n return this.axios.patch(`/societies/${idSociety}/users/${idUser}`, payload);\n }\n\n getArchived(query: QueryArchivedSociety): Promise<ISociety[]> {\n return this.axios.$get('/society/archived', { params: query });\n }\n\n getUnpaids(query: QueryUnpaidSociety, signal?: AbortSignal): Promise<ISociety[]> {\n return this.axios.$get('/society/unpaids', {\n ...(signal ? { signal } : {}),\n params: query,\n });\n }\n\n getUnpaidsStats(signal?: AbortSignal): Promise<ReadSocietyUnpaidStats> {\n return this.axios.$get('/society/unpaids/stats', {\n ...(signal ? { signal } : {}),\n });\n }\n\n public getPaginatedNewJuridical(\n params: QueryPaginatedSociety,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated-juridical', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n public getPaginatedNewSocial(\n params: QueryPaginatedSociety,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated-social', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n export(idSociety: number, payload: QueryExportSociety): Promise<void> {\n return this.axios.$post(`/societies/${idSociety}/exports`, payload, {\n responseType: 'blob',\n });\n }\n\n exportAccountancy(idSociety: number, payload: QueryAccountingExport): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/accounting/exports`, payload, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/octet-stream',\n },\n });\n }\n\n getState(idSociety: number): Promise<GetSocietyState> {\n return this.axios.$get(`/societies/${idSociety}/states`);\n }\n\n exportCustomersCSV(params: DataCustomersCsv): Promise<Buffer> {\n return this.axios.$post('/societies/exports', params, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n}\n"]}
1
+ {"version":3,"file":"Society.js","sourceRoot":"","sources":["../../../../ts/api/resources/Society.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAkCvC,MAAM,OAAO,OAAQ,SAAQ,QAAQ;IAC5B,GAAG,CAAC,MAAoB;QAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACjD,CAAC;IAEM,YAAY,CACjB,MAA6B,EAC7B,WAAyB,EACzB,MAAoB;QAEpB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,EAAE;YAC3C,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC7B,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACvC,MAAM;SACP,CAAC,CAAC;IACL,CAAC;IAED,eAAe;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IAClD,CAAC;IAED,0BAA0B,CAAC,SAAiB;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,yBAAyB,SAAS,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED,kBAAkB,CAAC,IAAuB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAED,kBAAkB,CAAC,IAAuB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IACD,aAAa,CAAC,IAAmB,EAAE,gBAAkC,E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EAAE;YAC7E,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,0BAA0B;aACnC;SACF,CAAC,CAAC;IACL,CAAC;IAED,QAAQ,CAAC,SAAiB;QACxB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,SAAS,CAAC,CAAC;IAC3D,CAAC;IAED,qBAAqB,CAAC,SAAiB;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,SAAS,sBAAsB,CAAC,CAAC;IACxE,CAAC;IAED,kBAAkB,CAAC,MAAwB;QACzC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,EAAE,MAAM,EAAE;YACpD,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateInvoiceMail,\n UpdateInvoiceMail,\n IMailSociety,\n ISociety,\n LegalFormSiren,\n GetDataSociety,\n CreateSociety,\n CreateSynchronization,\n UpdateSociety,\n CreateBudgetBalanceBankAccount,\n IUser,\n ListUserSociety,\n CreateUserToSocietyWithPermission,\n UpdateUserToSocietyWithPermission,\n ReadSocietyUsers,\n QuerySociety,\n UpdateSocietyPayload,\n QueryPaginatedSociety,\n ReadInvalidFieldState,\n BasePaginate,\n UpdateUserSociety,\n QueryArchivedSociety,\n QueryExportSociety,\n QueryAccountingExport,\n GetSocietyState,\n QueryUnpaidSociety,\n ReadSocietyUnpaidStats,\n DataCustomersCsv,\n ReadCurrentPrestations,\n} from '../../types';\nimport { CancelToken } from 'axios';\n\nexport class Society extends Resource {\n public get(params: QuerySociety): Promise<ISociety> {\n return this.axios.$get('/society', { params });\n }\n\n public getPaginated(\n params: QueryPaginatedSociety,\n cancelToken?: CancelToken,\n signal?: AbortSignal,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated', {\n ...(signal ? { signal } : {}),\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n getInvoiceEmail(): Promise<IMailSociety | Error> {\n return this.axios.$get('/society/invoiceEmail');\n }\n\n getInvoiceEmailFromSociety(idSociety: number): Promise<IMailSociety | Error> {\n return this.axios.$get(`/society/invoiceEmail/${idSociety}`);\n }\n\n createInvoiceEmail(data: CreateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$post('/society/invoiceEmail', data);\n }\n\n updateInvoiceEmail(data: UpdateInvoiceMail): Promise<IMailSociety | Error> {\n return this.axios.$put('/society/invoiceEmail', data);\n }\n createSociety(data: CreateSociety, fromSubscription: boolean | string, isCreatedInApp: boolean): Promise<ISociety> {\n return this.axios.$post(\n `/society/create?fromSubscription=${fromSubscription}&isCreatedInApp=${isCreatedInApp}`,\n data,\n );\n }\n updateSociety(id: number, data: UpdateSociety): Promise<ISociety> {\n return this.axios.$put(`/society/${id}/updateSociety`, data);\n }\n\n update(id: number, payload: UpdateSocietyPayload): Promise<ISociety> {\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n archive(id: number): Promise<ISociety> {\n const payload: UpdateSocietyPayload = { society: { archive: true, archiveDate: new Date() } };\n return this.axios.patch(`/society/${id}`, payload);\n }\n\n // this endpoint is used to fetch from extern api for legalForm\n getDataSociety(params: GetDataSociety): Promise<LegalFormSiren[]> {\n return this.axios.$get('/society/dataSociety', { params });\n }\n synchronize(id: number, params: CreateSynchronization): Promise<string> {\n return this.axios.$post(`/society/${id}/synchronize`, params);\n }\n importBalanceBankAccount(\n idSociety: number,\n idBankAccount: number,\n params: CreateBudgetBalanceBankAccount,\n ): Promise<number> {\n return this.axios.$post(`/society/${idSociety}/bankAccount/${idBankAccount}/importBalance`, params);\n }\n listUserSociety(idSociety: number, params: ListUserSociety): Promise<ReadSocietyUsers> {\n return this.axios.$get(`/society/${idSociety}/users`, { params });\n }\n getAccountant(): Promise<IUser | null> {\n return this.axios.$get('/society/accountant');\n }\n deleteUser(idSociety: number, idUser: number): Promise<true> {\n return this.axios.$delete(`/society/${idSociety}/user/${idUser}`);\n }\n createUserToSocietyWithPermission(idSociety: number, data: CreateUserToSocietyWithPermission): Promise<IUser> {\n return this.axios.$post(`/society/${idSociety}/userToSocietyWithPermission`, data);\n }\n updateUserToSocietyWithPermission(\n idSociety: number,\n id: number,\n data: UpdateUserToSocietyWithPermission,\n ): Promise<IUser> {\n return this.axios.$put(`/society/${idSociety}/userToSocietyWithPermission/${id}`, data);\n }\n delete(id: number): Promise<number> {\n return this.axios.$delete(`/society/${id}`);\n }\n getAllMissingInformations(id: number): Promise<ReadInvalidFieldState[]> {\n return this.axios.$get(`/society/${id}/informations-statements`);\n }\n\n getOwner(id: number): Promise<IUser> {\n return this.axios.$get(`/societies/${id}/owner`);\n }\n\n updateUserAndAccess(idSociety: number, idUser: number, payload: UpdateUserSociety): Promise<{ data: IUser }> {\n return this.axios.patch(`/societies/${idSociety}/users/${idUser}`, payload);\n }\n\n getArchived(query: QueryArchivedSociety): Promise<ISociety[]> {\n return this.axios.$get('/society/archived', { params: query });\n }\n\n getUnpaids(query: QueryUnpaidSociety, signal?: AbortSignal): Promise<ISociety[]> {\n return this.axios.$get('/society/unpaids', {\n ...(signal ? { signal } : {}),\n params: query,\n });\n }\n\n getUnpaidsStats(signal?: AbortSignal): Promise<ReadSocietyUnpaidStats> {\n return this.axios.$get('/society/unpaids/stats', {\n ...(signal ? { signal } : {}),\n });\n }\n\n public getPaginatedNewJuridical(\n params: QueryPaginatedSociety,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated-juridical', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n public getPaginatedNewSocial(\n params: QueryPaginatedSociety,\n cancelToken?: CancelToken,\n ): Promise<BasePaginate<ISociety>> {\n return this.axios.$get('/society/paginated-social', {\n ...(cancelToken ? { cancelToken } : {}),\n params,\n });\n }\n\n export(idSociety: number, payload: QueryExportSociety): Promise<void> {\n return this.axios.$post(`/societies/${idSociety}/exports`, payload, {\n responseType: 'blob',\n });\n }\n\n exportAccountancy(idSociety: number, payload: QueryAccountingExport): Promise<Buffer> {\n return this.axios.$post(`/societies/${idSociety}/accounting/exports`, payload, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/octet-stream',\n },\n });\n }\n\n getState(idSociety: number): Promise<GetSocietyState> {\n return this.axios.$get(`/societies/${idSociety}/states`);\n }\n\n getCurrentPrestations(idSociety: number): Promise<ReadCurrentPrestations> {\n return this.axios.$get(`/societies/${idSociety}/current-prestations`);\n }\n\n exportCustomersCSV(params: DataCustomersCsv): Promise<Buffer> {\n return this.axios.$post('/societies/exports', params, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n}\n"]}
@@ -177,9 +177,21 @@ export declare enum PrestationType {
177
177
  COMPTA_LOUEUR_MEUBLE_NON_PRO_KLEMS_EXPRESS = 221,
178
178
  ENVOIE_LRAR = 222,
179
179
  FORECAST_BALANCE_SHEET_AT_0 = 226,
180
- CONSULTING_HOUR = 227
180
+ CONSULTING_HOUR = 227,
181
+ BILLING = 228,
182
+ STEERING = 229,
183
+ VAT = 230,
184
+ BALANCESHEET = 231,
185
+ EXPERTISE = 232,
186
+ SUPPORT = 233,
187
+ PREMIUM = 234,
188
+ CUSTOM_MADE = 235
181
189
  }
182
190
  export declare const allPrestationsWithBrochure: PrestationType[];
191
+ export declare const allPrestations2025WithBrochure: PrestationType[];
192
+ export declare const ClementineSubscriptionAccountancyExpertPrestations: PrestationType[];
193
+ export declare const ClementineSubscriptionAccountancySoftwarePrestations: PrestationType[];
194
+ export declare const ClementineSubscriptionAccountancyPrestations: PrestationType[];
183
195
  export interface PrestationDetailEnum {
184
196
  [key: string]: IPrestationList;
185
197
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PrestationType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PrestationType.ts"],"names":[],"mappings":"AAAA,OAAO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MAAM,WAAW,oBAAoB;IACnC,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,CAAC;CAChC;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,oBAuzG9B,CAAC"}
1
+ {"version":3,"file":"PrestationType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/PrestationType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtE,oBAAY,cAAc;IACxB,cAAc,IAAI;IAClB,YAAY,IAAI;IAChB,mBAAmB,IAAI;IACvB,uBAAuB,IAAI;IAC3B,UAAU,IAAI;IACd,YAAY,IAAI;IAChB,OAAO,IAAI;IACX,KAAK,IAAI;IACT,mBAAmB,IAAI;IACvB,+BAA+B,KAAK;IACpC,sBAAsB,KAAK;IAC3B,MAAM,KAAK;IACX,eAAe,KAAK;IACpB,gBAAgB,KAAK;IACrB,SAAS,KAAK;IACd,6BAA6B,KAAK;IAClC,qBAAqB,KAAK;IAC1B,gBAAgB,KAAK;IACrB,iBAAiB,KAAK;IACtB,qBAAqB,KAAK;IAC1B,YAAY,KAAK;IACjB,6BAA6B,KAAK;IAClC,sCAAsC,KAAK;IAC3C,8BAA8B,KAAK;IACnC,2BAA2B,KAAK;IAChC,mBAAmB,KAAK;IACxB,UAAU,KAAK;IACf,2BAA2B,KAAK;IAChC,cAAc,KAAK;IACnB,UAAU,KAAK;IACf,eAAe,KAAK;IACpB,kBAAkB,KAAK;IACvB,uBAAuB,KAAK;IAC5B,iBAAiB,KAAK;IACtB,sBAAsB,KAAK;IAC3B,yBAAyB,KAAK;IAC9B,8BAA8B,KAAK;IACnC,gBAAgB,KAAK;IACrB,wBAAwB,KAAK;IAC7B,iBAAiB,KAAK;IACtB,iBAAiB,KAAK;IACtB,wCAAwC,KAAK;IAC7C,oBAAoB,KAAK;IACzB,uBAAuB,KAAK;IAC5B,oBAAoB,KAAK;IACzB,eAAe,KAAK;IACpB,eAAe,KAAK;IACpB,mC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AM;IACvB,kBAAkB,MAAM;IACxB,eAAe,MAAM;IACrB,kCAAkC,MAAM;IACxC,0BAA0B,MAAM;IAChC,uBAAuB,MAAM;IAC7B,0CAA0C,MAAM;IAChD,WAAW,MAAM;IACjB,2BAA2B,MAAM;IACjC,eAAe,MAAM;IACrB,OAAO,MAAM;IACb,QAAQ,MAAM;IACd,GAAG,MAAM;IACT,YAAY,MAAM;IAClB,SAAS,MAAM;IACf,OAAO,MAAM;IACb,OAAO,MAAM;IACb,WAAW,MAAM;CAClB;AAGD,eAAO,MAAM,0BAA0B,kBAwBtC,CAAC;AAEF,eAAO,MAAM,8BAA8B,kBAK1C,CAAC;AAEF,eAAO,MAAM,kDAAkD,EAAE,cAAc,EAK9E,CAAC;AAEF,eAAO,MAAM,oDAAoD,EAAE,cAAc,EAKhF,CAAC;AAEF,eAAO,MAAM,4CAA4C,EAAE,cAAc,EAGxE,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACnC,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,CAAC;CAChC;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,oBA+8G9B,CAAC"}
@@ -178,6 +178,14 @@ export var PrestationType;
178
178
  PrestationType[PrestationType["ENVOIE_LRAR"] = 222] = "ENVOIE_LRAR";
179
179
  PrestationType[PrestationType["FORECAST_BALANCE_SHEET_AT_0"] = 226] = "FORECAST_BALANCE_SHEET_AT_0";
180
180
  PrestationType[PrestationType["CONSULTING_HOUR"] = 227] = "CONSULTING_HOUR";
181
+ PrestationType[PrestationType["BILLING"] = 228] = "BILLING";
182
+ PrestationType[PrestationType["STEERING"] = 229] = "STEERING";
183
+ PrestationType[PrestationType["VAT"] = 230] = "VAT";
184
+ PrestationType[PrestationType["BALANCESHEET"] = 231] = "BALANCESHEET";
185
+ PrestationType[PrestationType["EXPERTISE"] = 232] = "EXPERTISE";
186
+ PrestationType[PrestationType["SUPPORT"] = 233] = "SUPPORT";
187
+ PrestationType[PrestationType["PREMIUM"] = 234] = "PREMIUM";
188
+ PrestationType[PrestationType["CUSTOM_MADE"] = 235] = "CUSTOM_MADE";
181
189
  })(PrestationType || (PrestationType = {}));
182
190
  // Liste des prestations avec une lettre de mission à signer
183
191
  export const allPrestationsWithBrochure = [
@@ -205,6 +213,28 @@ export const allPrestationsWithBrochure = [
205
213
  PrestationType.EXCEPTIONNEL,
206
214
  PrestationType.DECLARATION_IR,
207
215
  ];
216
+ export const allPrestations2025WithBrochure = [
217
+ PrestationType.EXPERTISE,
218
+ PrestationType.SUPPORT,
219
+ PrestationType.PREMIUM,
220
+ PrestationType.CUSTOM_MADE,
221
+ ];
222
+ export const ClementineSubscriptionAccountancyExpertPrestations = [
223
+ PrestationType.EXPERTISE,
224
+ PrestationType.SUPPORT,
225
+ PrestationType.PREMIUM,
226
+ PrestationType.CUSTOM_MADE,
227
+ ];
228
+ export const ClementineSubscriptionAccountancySoftwarePrestations = [
229
+ PrestationType.BILLING,
230
+ PrestationType.STEERING,
231
+ PrestationType.VAT,
232
+ PrestationType.BALANCESHEET,
233
+ ];
234
+ export const ClementineSubscriptionAccountancyPrestations = [
235
+ ...ClementineSubscriptionAccountancyExpertPrestations,
236
+ ...ClementineSubscriptionAccountancySoftwarePrestations,
237
+ ];
208
238
  /**
209
239
  * @deprecated
210
240
  * @description Don't use this ENUM but use model prestationList
@@ -3592,5 +3622,157 @@ export const PrestationDetail = {
3592
3622
  signaturePage: null,
3593
3623
  point: 0,
3594
3624
  },
3625
+ BILLING: {
3626
+ id: PrestationType.BILLING,
3627
+ name: 'Facturation',
3628
+ isComptable: true,
3629
+ isJuridique: false,
3630
+ isSocial: false,
3631
+ isAttestation: false,
3632
+ inAverageCart: true,
3633
+ isBack: false,
3634
+ minimumPrice: null,
3635
+ price: null,
3636
+ isCatalog: false,
3637
+ isPlannable: false,
3638
+ hidden: false,
3639
+ isComplementary: false,
3640
+ signaturePosition: '400,54,569,90',
3641
+ signaturePage: 7, //???
3642
+ point: 200, //???
3643
+ },
3644
+ STEERING: {
3645
+ id: PrestationType.STEERING,
3646
+ name: 'Pilotage',
3647
+ isComptable: true,
3648
+ isJuridique: false,
3649
+ isSocial: false,
3650
+ isAttestation: false,
3651
+ inAverageCart: true,
3652
+ isBack: false,
3653
+ minimumPrice: null,
3654
+ price: null,
3655
+ isCatalog: false,
3656
+ isPlannable: false,
3657
+ hidden: false,
3658
+ isComplementary: false,
3659
+ signaturePosition: '400,54,569,90',
3660
+ signaturePage: 7, //???
3661
+ point: 200, //???
3662
+ },
3663
+ VAT: {
3664
+ id: PrestationType.VAT,
3665
+ name: 'TVA',
3666
+ isComptable: true,
3667
+ isJuridique: false,
3668
+ isSocial: false,
3669
+ isAttestation: false,
3670
+ inAverageCart: true,
3671
+ isBack: false,
3672
+ minimumPrice: null,
3673
+ price: null,
3674
+ isCatalog: false,
3675
+ isPlannable: false,
3676
+ hidden: false,
3677
+ isComplementary: false,
3678
+ signaturePosition: '400,54,569,90',
3679
+ signaturePage: 7, //???
3680
+ point: 200, //???
3681
+ },
3682
+ BALANCESHEET: {
3683
+ id: PrestationType.BALANCESHEET,
3684
+ name: 'Bilan',
3685
+ isComptable: true,
3686
+ isJuridique: false,
3687
+ isSocial: false,
3688
+ isAttestation: false,
3689
+ inAverageCart: true,
3690
+ isBack: false,
3691
+ minimumPrice: null,
3692
+ price: null,
3693
+ isCatalog: false,
3694
+ isPlannable: false,
3695
+ hidden: false,
3696
+ isComplementary: false,
3697
+ signaturePosition: '400,54,569,90',
3698
+ signaturePage: 7, //???
3699
+ point: 200, //???
3700
+ },
3701
+ EXPERTISE: {
3702
+ id: PrestationType.EXPERTISE,
3703
+ name: 'Expertise',
3704
+ isComptable: true,
3705
+ isJuridique: false,
3706
+ isSocial: false,
3707
+ isAttestation: false,
3708
+ inAverageCart: true,
3709
+ isBack: false,
3710
+ minimumPrice: null,
3711
+ price: null,
3712
+ isCatalog: false,
3713
+ isPlannable: false,
3714
+ hidden: false,
3715
+ isComplementary: false,
3716
+ signaturePosition: '400,54,569,90',
3717
+ signaturePage: 7, //???
3718
+ point: 200, //???
3719
+ },
3720
+ SUPPORT: {
3721
+ id: PrestationType.SUPPORT,
3722
+ name: 'Accompagnement',
3723
+ isComptable: true,
3724
+ isJuridique: false,
3725
+ isSocial: false,
3726
+ isAttestation: false,
3727
+ inAverageCart: true,
3728
+ isBack: false,
3729
+ minimumPrice: null,
3730
+ price: null,
3731
+ isCatalog: false,
3732
+ isPlannable: false,
3733
+ hidden: false,
3734
+ isComplementary: false,
3735
+ signaturePosition: '400,54,569,90',
3736
+ signaturePage: 7, //???
3737
+ point: 200, //???
3738
+ },
3739
+ PREMIUM: {
3740
+ id: PrestationType.PREMIUM,
3741
+ name: 'Premium',
3742
+ isComptable: true,
3743
+ isJuridique: false,
3744
+ isSocial: false,
3745
+ isAttestation: false,
3746
+ inAverageCart: true,
3747
+ isBack: false,
3748
+ minimumPrice: null,
3749
+ price: null,
3750
+ isCatalog: false,
3751
+ isPlannable: false,
3752
+ hidden: false,
3753
+ isComplementary: false,
3754
+ signaturePosition: '400,54,569,90',
3755
+ signaturePage: 7, //???
3756
+ point: 200, //???
3757
+ },
3758
+ CUSTOM_MADE: {
3759
+ id: PrestationType.CUSTOM_MADE,
3760
+ name: 'Sur-mesure',
3761
+ isComptable: true,
3762
+ isJuridique: false,
3763
+ isSocial: false,
3764
+ isAttestation: false,
3765
+ inAverageCart: true,
3766
+ isBack: false,
3767
+ minimumPrice: null,
3768
+ price: null,
3769
+ isCatalog: false,
3770
+ isPlannable: false,
3771
+ hidden: false,
3772
+ isComplementary: false,
3773
+ signaturePosition: '400,54,569,90',
3774
+ signaturePage: 7, //???
3775
+ point: 200, //???
3776
+ },
3595
3777
  };
3596
3778
  //# sourceMappingURL=PrestationType.js.map