@silexpert/core 1.0.185 → 1.0.186
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/types/Enum/NotificationType.d.ts +2 -1
- package/es/types/Enum/NotificationType.d.ts.map +1 -1
- package/es/types/Enum/NotificationType.js +6 -0
- package/es/types/Enum/NotificationType.js.map +1 -1
- package/js/types/Enum/NotificationType.js +6 -0
- package/js/types/Enum/NotificationType.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/NotificationType.ts +6 -0
|
@@ -3,7 +3,8 @@ export declare enum NotificationTypeEnum {
|
|
|
3
3
|
BANK_ACCOUNT_SYNCHRONISATION = 2,
|
|
4
4
|
INVOICE_HAS_BEEN_PAID = 3,
|
|
5
5
|
ESTIMATE_ALMOST_EXPIRED = 4,
|
|
6
|
-
INVOICE_ALMOST_EXPIRED = 5
|
|
6
|
+
INVOICE_ALMOST_EXPIRED = 5,
|
|
7
|
+
ORDER_ALMOST_EXPIRED = 6
|
|
7
8
|
}
|
|
8
9
|
export type NotificationTypeType = {
|
|
9
10
|
id: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationType.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/NotificationType.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,cAAc,IAAI;IAClB,4BAA4B,IAAI;IAChC,qBAAqB,IAAI;IACzB,uBAAuB,IAAI;IAC3B,sBAAsB,IAAI;
|
|
1
|
+
{"version":3,"file":"NotificationType.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/NotificationType.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,cAAc,IAAI;IAClB,4BAA4B,IAAI;IAChC,qBAAqB,IAAI;IACzB,uBAAuB,IAAI;IAC3B,sBAAsB,IAAI;IAC1B,oBAAoB,IAAI;CACzB;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,CAAC,GAAG,EAAE,MAAM,GAAG,oBAAoB,CAAA;CACpC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,wBA+B9B,CAAC"}
|
|
@@ -5,6 +5,7 @@ export var NotificationTypeEnum;
|
|
|
5
5
|
NotificationTypeEnum[NotificationTypeEnum["INVOICE_HAS_BEEN_PAID"] = 3] = "INVOICE_HAS_BEEN_PAID";
|
|
6
6
|
NotificationTypeEnum[NotificationTypeEnum["ESTIMATE_ALMOST_EXPIRED"] = 4] = "ESTIMATE_ALMOST_EXPIRED";
|
|
7
7
|
NotificationTypeEnum[NotificationTypeEnum["INVOICE_ALMOST_EXPIRED"] = 5] = "INVOICE_ALMOST_EXPIRED";
|
|
8
|
+
NotificationTypeEnum[NotificationTypeEnum["ORDER_ALMOST_EXPIRED"] = 6] = "ORDER_ALMOST_EXPIRED";
|
|
8
9
|
})(NotificationTypeEnum || (NotificationTypeEnum = {}));
|
|
9
10
|
export const NotificationType = {
|
|
10
11
|
ANNOTATE_COUNT: {
|
|
@@ -27,6 +28,11 @@ export const NotificationType = {
|
|
|
27
28
|
title: 'Un devis est bientôt expiré',
|
|
28
29
|
linkTitle: 'Consulter le devis',
|
|
29
30
|
},
|
|
31
|
+
ORDER_ALMOST_EXPIRED: {
|
|
32
|
+
id: NotificationTypeEnum.ORDER_ALMOST_EXPIRED,
|
|
33
|
+
title: 'Un bon de commande est bientôt expiré',
|
|
34
|
+
linkTitle: 'Consulter le bon de commande',
|
|
35
|
+
},
|
|
30
36
|
INVOICE_ALMOST_EXPIRED: {
|
|
31
37
|
id: NotificationTypeEnum.INVOICE_ALMOST_EXPIRED,
|
|
32
38
|
title: 'Une facture arrive à échéance',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationType.js","sourceRoot":"","sources":["../../../ts/types/Enum/NotificationType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"NotificationType.js","sourceRoot":"","sources":["../../../ts/types/Enum/NotificationType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,mFAAkB,CAAA;IAClB,+GAAgC,CAAA;IAChC,iGAAyB,CAAA;IACzB,qGAA2B,CAAA;IAC3B,mGAA0B,CAAA;IAC1B,+FAAwB,CAAA;AAC1B,CAAC,EAPW,oBAAoB,KAApB,oBAAoB,QAO/B;AAYD,MAAM,CAAC,MAAM,gBAAgB,GAA6B;IACxD,cAAc,EAAE;QACd,EAAE,EAAE,oBAAoB,CAAC,cAAc;QACvC,KAAK,EAAE,mCAAmC;QAC1C,SAAS,EAAE,SAAS;KACrB;IACD,4BAA4B,EAAE;QAC5B,EAAE,EAAE,oBAAoB,CAAC,4BAA4B;QACrD,KAAK,EAAE,+CAA+C;QACtD,SAAS,EAAE,yBAAyB;KACrC;IACD,qBAAqB,EAAE;QACrB,EAAE,EAAE,oBAAoB,CAAC,qBAAqB;QAC9C,KAAK,EAAE,sBAAsB;QAC7B,SAAS,EAAE,sBAAsB;KAClC;IACD,uBAAuB,EAAE;QACvB,EAAE,EAAE,oBAAoB,CAAC,uBAAuB;QAChD,KAAK,EAAE,6BAA6B;QACpC,SAAS,EAAE,oBAAoB;KAChC;IACD,oBAAoB,EAAE;QACpB,EAAE,EAAE,oBAAoB,CAAC,oBAAoB;QAC7C,KAAK,EAAE,uCAAuC;QAC9C,SAAS,EAAE,8BAA8B;KAC1C;IACD,sBAAsB,EAAE;QACtB,EAAE,EAAE,oBAAoB,CAAC,sBAAsB;QAC/C,KAAK,EAAE,+BAA+B;QACtC,SAAS,EAAE,sBAAsB;KAClC;CACF,CAAC","sourcesContent":["export enum NotificationTypeEnum {\n ANNOTATE_COUNT = 1,\n BANK_ACCOUNT_SYNCHRONISATION = 2,\n INVOICE_HAS_BEEN_PAID = 3,\n ESTIMATE_ALMOST_EXPIRED = 4,\n INVOICE_ALMOST_EXPIRED = 5,\n ORDER_ALMOST_EXPIRED = 6,\n}\n\nexport type NotificationTypeType = {\n id: number;\n title: string;\n linkTitle: string;\n};\n\nexport type NotificationTypeTypeEnum = {\n [key: string]: NotificationTypeType\n};\n\nexport const NotificationType: NotificationTypeTypeEnum = {\n ANNOTATE_COUNT: {\n id: NotificationTypeEnum.ANNOTATE_COUNT,\n title: 'Vous avez des lignes non annotées',\n linkTitle: 'Annoter',\n },\n BANK_ACCOUNT_SYNCHRONISATION: {\n id: NotificationTypeEnum.BANK_ACCOUNT_SYNCHRONISATION,\n title: 'Un de vos comptes bancaires est désynchronisé',\n linkTitle: 'Synchroniser mon compte',\n },\n INVOICE_HAS_BEEN_PAID: {\n id: NotificationTypeEnum.INVOICE_HAS_BEEN_PAID,\n title: 'Vous avez été payé !',\n linkTitle: 'Consulter la facture',\n },\n ESTIMATE_ALMOST_EXPIRED: {\n id: NotificationTypeEnum.ESTIMATE_ALMOST_EXPIRED,\n title: 'Un devis est bientôt expiré',\n linkTitle: 'Consulter le devis',\n },\n ORDER_ALMOST_EXPIRED: {\n id: NotificationTypeEnum.ORDER_ALMOST_EXPIRED,\n title: 'Un bon de commande est bientôt expiré',\n linkTitle: 'Consulter le bon de commande',\n },\n INVOICE_ALMOST_EXPIRED: {\n id: NotificationTypeEnum.INVOICE_ALMOST_EXPIRED,\n title: 'Une facture arrive à échéance',\n linkTitle: 'Consulter la facture',\n },\n};"]}
|
|
@@ -10,6 +10,7 @@ var NotificationTypeEnum = exports.NotificationTypeEnum = undefined;
|
|
|
10
10
|
NotificationTypeEnum[NotificationTypeEnum["INVOICE_HAS_BEEN_PAID"] = 3] = "INVOICE_HAS_BEEN_PAID";
|
|
11
11
|
NotificationTypeEnum[NotificationTypeEnum["ESTIMATE_ALMOST_EXPIRED"] = 4] = "ESTIMATE_ALMOST_EXPIRED";
|
|
12
12
|
NotificationTypeEnum[NotificationTypeEnum["INVOICE_ALMOST_EXPIRED"] = 5] = "INVOICE_ALMOST_EXPIRED";
|
|
13
|
+
NotificationTypeEnum[NotificationTypeEnum["ORDER_ALMOST_EXPIRED"] = 6] = "ORDER_ALMOST_EXPIRED";
|
|
13
14
|
})(NotificationTypeEnum || (exports.NotificationTypeEnum = NotificationTypeEnum = {}));
|
|
14
15
|
const NotificationType = exports.NotificationType = {
|
|
15
16
|
ANNOTATE_COUNT: {
|
|
@@ -32,6 +33,11 @@ const NotificationType = exports.NotificationType = {
|
|
|
32
33
|
title: 'Un devis est bientôt expiré',
|
|
33
34
|
linkTitle: 'Consulter le devis'
|
|
34
35
|
},
|
|
36
|
+
ORDER_ALMOST_EXPIRED: {
|
|
37
|
+
id: NotificationTypeEnum.ORDER_ALMOST_EXPIRED,
|
|
38
|
+
title: 'Un bon de commande est bientôt expiré',
|
|
39
|
+
linkTitle: 'Consulter le bon de commande'
|
|
40
|
+
},
|
|
35
41
|
INVOICE_ALMOST_EXPIRED: {
|
|
36
42
|
id: NotificationTypeEnum.INVOICE_ALMOST_EXPIRED,
|
|
37
43
|
title: 'Une facture arrive à échéance',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationType.js","names":["NotificationTypeEnum","exports","undefined","NotificationType","ANNOTATE_COUNT","id","title","linkTitle","BANK_ACCOUNT_SYNCHRONISATION","INVOICE_HAS_BEEN_PAID","ESTIMATE_ALMOST_EXPIRED","INVOICE_ALMOST_EXPIRED"],"sources":["../../../ts/types/Enum/NotificationType.ts"],"sourcesContent":["export enum NotificationTypeEnum {\n ANNOTATE_COUNT = 1,\n BANK_ACCOUNT_SYNCHRONISATION = 2,\n INVOICE_HAS_BEEN_PAID = 3,\n ESTIMATE_ALMOST_EXPIRED = 4,\n INVOICE_ALMOST_EXPIRED = 5,\n}\n\nexport type NotificationTypeType = {\n id: number;\n title: string;\n linkTitle: string;\n};\n\nexport type NotificationTypeTypeEnum = {\n [key: string]: NotificationTypeType\n};\n\nexport const NotificationType: NotificationTypeTypeEnum = {\n ANNOTATE_COUNT: {\n id: NotificationTypeEnum.ANNOTATE_COUNT,\n title: 'Vous avez des lignes non annotées',\n linkTitle: 'Annoter',\n },\n BANK_ACCOUNT_SYNCHRONISATION: {\n id: NotificationTypeEnum.BANK_ACCOUNT_SYNCHRONISATION,\n title: 'Un de vos comptes bancaires est désynchronisé',\n linkTitle: 'Synchroniser mon compte',\n },\n INVOICE_HAS_BEEN_PAID: {\n id: NotificationTypeEnum.INVOICE_HAS_BEEN_PAID,\n title: 'Vous avez été payé !',\n linkTitle: 'Consulter la facture',\n },\n ESTIMATE_ALMOST_EXPIRED: {\n id: NotificationTypeEnum.ESTIMATE_ALMOST_EXPIRED,\n title: 'Un devis est bientôt expiré',\n linkTitle: 'Consulter le devis',\n },\n INVOICE_ALMOST_EXPIRED: {\n id: NotificationTypeEnum.INVOICE_ALMOST_EXPIRED,\n title: 'Une facture arrive à échéance',\n linkTitle: 'Consulter la facture',\n },\n};"],"mappings":";;;;;AAAA,IAAYA,
|
|
1
|
+
{"version":3,"file":"NotificationType.js","names":["NotificationTypeEnum","exports","undefined","NotificationType","ANNOTATE_COUNT","id","title","linkTitle","BANK_ACCOUNT_SYNCHRONISATION","INVOICE_HAS_BEEN_PAID","ESTIMATE_ALMOST_EXPIRED","ORDER_ALMOST_EXPIRED","INVOICE_ALMOST_EXPIRED"],"sources":["../../../ts/types/Enum/NotificationType.ts"],"sourcesContent":["export enum NotificationTypeEnum {\n ANNOTATE_COUNT = 1,\n BANK_ACCOUNT_SYNCHRONISATION = 2,\n INVOICE_HAS_BEEN_PAID = 3,\n ESTIMATE_ALMOST_EXPIRED = 4,\n INVOICE_ALMOST_EXPIRED = 5,\n ORDER_ALMOST_EXPIRED = 6,\n}\n\nexport type NotificationTypeType = {\n id: number;\n title: string;\n linkTitle: string;\n};\n\nexport type NotificationTypeTypeEnum = {\n [key: string]: NotificationTypeType\n};\n\nexport const NotificationType: NotificationTypeTypeEnum = {\n ANNOTATE_COUNT: {\n id: NotificationTypeEnum.ANNOTATE_COUNT,\n title: 'Vous avez des lignes non annotées',\n linkTitle: 'Annoter',\n },\n BANK_ACCOUNT_SYNCHRONISATION: {\n id: NotificationTypeEnum.BANK_ACCOUNT_SYNCHRONISATION,\n title: 'Un de vos comptes bancaires est désynchronisé',\n linkTitle: 'Synchroniser mon compte',\n },\n INVOICE_HAS_BEEN_PAID: {\n id: NotificationTypeEnum.INVOICE_HAS_BEEN_PAID,\n title: 'Vous avez été payé !',\n linkTitle: 'Consulter la facture',\n },\n ESTIMATE_ALMOST_EXPIRED: {\n id: NotificationTypeEnum.ESTIMATE_ALMOST_EXPIRED,\n title: 'Un devis est bientôt expiré',\n linkTitle: 'Consulter le devis',\n },\n ORDER_ALMOST_EXPIRED: {\n id: NotificationTypeEnum.ORDER_ALMOST_EXPIRED,\n title: 'Un bon de commande est bientôt expiré',\n linkTitle: 'Consulter le bon de commande',\n },\n INVOICE_ALMOST_EXPIRED: {\n id: NotificationTypeEnum.INVOICE_ALMOST_EXPIRED,\n title: 'Une facture arrive à échéance',\n linkTitle: 'Consulter la facture',\n },\n};"],"mappings":";;;;;AAAA,IAAYA,oBAOX,GAAAC,OAAA,CAPWD,oBAOX,GAAAE,SAAA;AAPD,WAAYF,oBAAoB;EAC9BA,oBAAA,CAAAA,oBAAA,0CAAkB;EAClBA,oBAAA,CAAAA,oBAAA,sEAAgC;EAChCA,oBAAA,CAAAA,oBAAA,wDAAyB;EACzBA,oBAAA,CAAAA,oBAAA,4DAA2B;EAC3BA,oBAAA,CAAAA,oBAAA,0DAA0B;EAC1BA,oBAAA,CAAAA,oBAAA,sDAAwB;AAC1B,CAAC,EAPWA,oBAAoB,KAAAC,OAAA,CAApBD,oBAOX,GAPWA,oBAAoB;AAmBzB,MAAMG,gBAAgB,GAAAF,OAAA,CAAhBE,gBAAgB,GAA6B;EACxDC,cAAc,EAAE;IACdC,EAAE,EAAEL,oBAAoB,CAACI,cAAc;IACvCE,KAAK,EAAE,mCAAmC;IAC1CC,SAAS,EAAE;GACZ;EACDC,4BAA4B,EAAE;IAC5BH,EAAE,EAAEL,oBAAoB,CAACQ,4BAA4B;IACrDF,KAAK,EAAE,+CAA+C;IACtDC,SAAS,EAAE;GACZ;EACDE,qBAAqB,EAAE;IACrBJ,EAAE,EAAEL,oBAAoB,CAACS,qBAAqB;IAC9CH,KAAK,EAAE,sBAAsB;IAC7BC,SAAS,EAAE;GACZ;EACDG,uBAAuB,EAAE;IACvBL,EAAE,EAAEL,oBAAoB,CAACU,uBAAuB;IAChDJ,KAAK,EAAE,6BAA6B;IACpCC,SAAS,EAAE;GACZ;EACDI,oBAAoB,EAAE;IACpBN,EAAE,EAAEL,oBAAoB,CAACW,oBAAoB;IAC7CL,KAAK,EAAE,uCAAuC;IAC9CC,SAAS,EAAE;GACZ;EACDK,sBAAsB,EAAE;IACtBP,EAAE,EAAEL,oBAAoB,CAACY,sBAAsB;IAC/CN,KAAK,EAAE,+BAA+B;IACtCC,SAAS,EAAE;;CAEd"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.186",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "js/index.js",
|
|
@@ -4,6 +4,7 @@ export enum NotificationTypeEnum {
|
|
|
4
4
|
INVOICE_HAS_BEEN_PAID = 3,
|
|
5
5
|
ESTIMATE_ALMOST_EXPIRED = 4,
|
|
6
6
|
INVOICE_ALMOST_EXPIRED = 5,
|
|
7
|
+
ORDER_ALMOST_EXPIRED = 6,
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
export type NotificationTypeType = {
|
|
@@ -37,6 +38,11 @@ export const NotificationType: NotificationTypeTypeEnum = {
|
|
|
37
38
|
title: 'Un devis est bientôt expiré',
|
|
38
39
|
linkTitle: 'Consulter le devis',
|
|
39
40
|
},
|
|
41
|
+
ORDER_ALMOST_EXPIRED: {
|
|
42
|
+
id: NotificationTypeEnum.ORDER_ALMOST_EXPIRED,
|
|
43
|
+
title: 'Un bon de commande est bientôt expiré',
|
|
44
|
+
linkTitle: 'Consulter le bon de commande',
|
|
45
|
+
},
|
|
40
46
|
INVOICE_ALMOST_EXPIRED: {
|
|
41
47
|
id: NotificationTypeEnum.INVOICE_ALMOST_EXPIRED,
|
|
42
48
|
title: 'Une facture arrive à échéance',
|