@silexpert/core 2.0.127 → 2.0.128-legacy-beta.0
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/index.cjs +196 -0
- package/index.cjs.map +1 -0
- package/{dist/index-C3FN6Nx9.d.mts → index.d.cts} +2839 -2808
- package/index.d.cts.map +1 -0
- package/package.json +20 -98
- package/README.md +0 -90
- package/dist/client/index.mjs +0 -196
- package/dist/client/index.mjs.map +0 -1
- package/dist/client/product-BjsJSO1B.mjs +0 -2
- package/dist/client/product-BjsJSO1B.mjs.map +0 -1
- package/dist/client/server/index.mjs +0 -771
- package/dist/client/server/index.mjs.map +0 -1
- package/dist/index-C3FN6Nx9.d.mts.map +0 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.mjs +0 -196
- package/dist/index.mjs.map +0 -1
- package/dist/product-D3ue7JQB.mjs +0 -2
- package/dist/product-D3ue7JQB.mjs.map +0 -1
- package/dist/rolldown-runtime-BhWHdk3m.mjs +0 -1
- package/dist/server/index.d.mts +0 -19
- package/dist/server/index.d.mts.map +0 -1
- package/dist/server/index.mjs +0 -771
- package/dist/server/index.mjs.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,__name=(t,n)=>e(t,`name`,{value:n,configurable:!0});export{__name as t};
|
package/dist/server/index.d.mts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { t as __name } from "../rolldown-runtime-BhWHdk3m.mjs";
|
|
2
|
-
import { RW as IUser, UK as ReadCommercialDocumentTemplate, WK as ReadCommercialMailTemplate, dq as CreateInvoiceDocument, eY as EstimateInvoiceType, fq as CreateMailHeader, mq as CreatePreSaleDocument } from "../index-C3FN6Nx9.mjs";
|
|
3
|
-
import "dayjs/locale/fr.js";
|
|
4
|
-
//#region ts/utils/email.d.ts
|
|
5
|
-
export declare function getHoraires(user: IUser): "Du lundi au vendredi de 9h à 18h" | "Du lundi au jeudi de 9h à 17h<br/>Le vendredi de 9h à 12h";
|
|
6
|
-
export declare function generateSignature(params: any): string;
|
|
7
|
-
//#endregion
|
|
8
|
-
//#region ts/utils/commercialManagement/document.d.ts
|
|
9
|
-
export declare function generateCommercialDocument(idEstimateInvoiceType: EstimateInvoiceType, payload: CreateInvoiceDocument | CreatePreSaleDocument, shouldHideBrandName?: boolean, nodeEnv?: string | undefined): ReadCommercialDocumentTemplate;
|
|
10
|
-
export declare function generateMailHeader(params: CreateMailHeader, shouldHideBrandName?: boolean, nodeEnv?: string | undefined): ReadCommercialMailTemplate;
|
|
11
|
-
/**
|
|
12
|
-
* @description Si cette fonction est modifiée, penser à check si la fonction `checkErrors` de `emission.service.ts` du core doit être modifiée aussi
|
|
13
|
-
*/
|
|
14
|
-
export declare function checkCommercialDocumentInformation(payload: CreateInvoiceDocument | CreatePreSaleDocument): {
|
|
15
|
-
valid: boolean;
|
|
16
|
-
errors?: string[];
|
|
17
|
-
};
|
|
18
|
-
//#endregion
|
|
19
|
-
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../ts/utils/email.ts","../../ts/utils/commercialManagement/document.ts"],"mappings":";;;;wBAmIgB,YAAY,MAAM;wBA2FlB,kBAAkB;;;wBClLlB,2BACd,uBAAuB,qBACvB,SAAS,wBAAwB,uBACjC,+BACA,+BACC;wBAgNa,mBACd,QAAQ,kBACR,+BACA,+BACC;;;;wBAwCa,mCAAmC,SAAS,wBAAwB;EAClF;EACA"}
|