@bisondesk/core-sdk 1.0.76 → 1.0.77
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/lib/types/templates.d.ts
CHANGED
|
@@ -13,19 +13,21 @@ export declare type TemplateContent = {
|
|
|
13
13
|
type: TemplateType.Sms;
|
|
14
14
|
content: string;
|
|
15
15
|
};
|
|
16
|
-
export declare type
|
|
17
|
-
|
|
18
|
-
modifiedBy: string;
|
|
19
|
-
id: string;
|
|
16
|
+
export declare type NewTemplateRequest = {
|
|
17
|
+
id?: string;
|
|
20
18
|
language: string;
|
|
21
19
|
name: string;
|
|
22
20
|
} & TemplateContent;
|
|
21
|
+
export declare type Template = {
|
|
22
|
+
id: string;
|
|
23
|
+
modifiedAt: string;
|
|
24
|
+
modifiedBy: string;
|
|
25
|
+
} & Omit<NewTemplateRequest, 'id'>;
|
|
23
26
|
export declare type TemplateInfo = {
|
|
24
27
|
id: string;
|
|
25
|
-
name: string;
|
|
26
28
|
langs: string[];
|
|
27
29
|
modifiedAt: string;
|
|
28
|
-
|
|
30
|
+
name: string;
|
|
29
31
|
type: TemplateType;
|
|
30
32
|
};
|
|
31
33
|
//# sourceMappingURL=templates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/types/templates.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ;AAED,oBAAY,eAAe,GACvB;IACE,IAAI,EAAE,YAAY,CAAC,KAAK,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,GAAG,CAAC;KACb,CAAC;CACH,GACD;IACE,IAAI,EAAE,YAAY,CAAC,GAAG,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEN,oBAAY,
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/types/templates.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ;AAED,oBAAY,eAAe,GACvB;IACE,IAAI,EAAE,YAAY,CAAC,KAAK,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,GAAG,CAAC;KACb,CAAC;CACH,GACD;IACE,IAAI,EAAE,YAAY,CAAC,GAAG,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEN,oBAAY,kBAAkB,GAAG;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,eAAe,CAAC;AAEpB,oBAAY,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,IAAI,CAAC,kBAAkB,EAAE,IAAI,CAAC,CAAC;AAEnC,oBAAY,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bisondesk/core-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.77",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rm -rf build dist lib *.tsbuildinfo",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"author": "Ivo Anastácio",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@bisondesk/commons-sdk": "1.0.
|
|
14
|
+
"@bisondesk/commons-sdk": "1.0.77",
|
|
15
15
|
"joi": "17.4.0",
|
|
16
16
|
"lru-cache": "6.0.0"
|
|
17
17
|
},
|
package/src/types/templates.ts
CHANGED
|
@@ -17,19 +17,22 @@ export type TemplateContent =
|
|
|
17
17
|
content: string;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
export type
|
|
21
|
-
|
|
22
|
-
modifiedBy: string;
|
|
23
|
-
id: string;
|
|
20
|
+
export type NewTemplateRequest = {
|
|
21
|
+
id?: string;
|
|
24
22
|
language: string;
|
|
25
23
|
name: string;
|
|
26
24
|
} & TemplateContent;
|
|
27
25
|
|
|
26
|
+
export type Template = {
|
|
27
|
+
id: string;
|
|
28
|
+
modifiedAt: string;
|
|
29
|
+
modifiedBy: string;
|
|
30
|
+
} & Omit<NewTemplateRequest, 'id'>;
|
|
31
|
+
|
|
28
32
|
export type TemplateInfo = {
|
|
29
33
|
id: string;
|
|
30
|
-
name: string;
|
|
31
34
|
langs: string[];
|
|
32
35
|
modifiedAt: string;
|
|
33
|
-
|
|
36
|
+
name: string;
|
|
34
37
|
type: TemplateType;
|
|
35
38
|
};
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -602,8 +602,8 @@
|
|
|
602
602
|
"affectsGlobalScope": false
|
|
603
603
|
},
|
|
604
604
|
"./src/types/templates.ts": {
|
|
605
|
-
"version": "
|
|
606
|
-
"signature": "
|
|
605
|
+
"version": "e51032194982412fcaf46e4c184d1d13908ad7e4ead3df25dab1d441bfaec578",
|
|
606
|
+
"signature": "f545ffe7f042c7301023c8342bbb63abdfbaca38e2592a5f7a08c79b67292373",
|
|
607
607
|
"affectsGlobalScope": false
|
|
608
608
|
},
|
|
609
609
|
"./src/types/users.ts": {
|