@bisondesk/commons-sdk 1.0.669 → 1.0.671
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/pdf-templates.js.map +1 -1
- package/lib/search.d.ts +13 -0
- package/lib/search.d.ts.map +1 -1
- package/lib/search.js.map +1 -1
- package/lib/servers.d.ts.map +1 -1
- package/lib/servers.js.map +1 -1
- package/package.json +1 -1
- package/src/pdf-templates.ts +2 -2
- package/src/search.ts +39 -0
- package/src/servers.ts +1 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/lib/pdf-gen.d.ts +0 -44
- package/lib/pdf-gen.d.ts.map +0 -1
- package/lib/pdf-gen.js +0 -2
- package/lib/pdf-gen.js.map +0 -1
- package/src/pdf-gen.ts +0 -48
package/lib/pdf-gen.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { BusinessEntityIds } from './constants.js';
|
|
2
|
-
import { AttachmentValue } from './types.js';
|
|
3
|
-
export type TemplateData = {
|
|
4
|
-
[key: string]: unknown;
|
|
5
|
-
};
|
|
6
|
-
export type NewPdfTemplateGroup = {
|
|
7
|
-
exampleData?: TemplateData;
|
|
8
|
-
title: string;
|
|
9
|
-
id: string;
|
|
10
|
-
};
|
|
11
|
-
export type PdfTemplateGroup = NewPdfTemplateGroup & {
|
|
12
|
-
modifiedAt: string;
|
|
13
|
-
modifiedBy: string;
|
|
14
|
-
};
|
|
15
|
-
type BasePdfTemplate = {
|
|
16
|
-
branch: string;
|
|
17
|
-
docx: AttachmentValue;
|
|
18
|
-
groupId: string;
|
|
19
|
-
language: string;
|
|
20
|
-
};
|
|
21
|
-
export type PdfTemplate = BasePdfTemplate & {
|
|
22
|
-
id: string;
|
|
23
|
-
modifiedAt: string;
|
|
24
|
-
modifiedBy: string;
|
|
25
|
-
pdf: AttachmentValue;
|
|
26
|
-
};
|
|
27
|
-
export type NewPdfTemplate = BasePdfTemplate & {
|
|
28
|
-
id?: string;
|
|
29
|
-
};
|
|
30
|
-
export type GeneratePdfEvent = {
|
|
31
|
-
branch: string;
|
|
32
|
-
businessEntityId: BusinessEntityIds;
|
|
33
|
-
data: TemplateData;
|
|
34
|
-
groupId: string;
|
|
35
|
-
language: string;
|
|
36
|
-
outputFilename?: string;
|
|
37
|
-
tenantId: string;
|
|
38
|
-
};
|
|
39
|
-
export type PDFPageSplit = {
|
|
40
|
-
start: number;
|
|
41
|
-
end: number;
|
|
42
|
-
};
|
|
43
|
-
export {};
|
|
44
|
-
//# sourceMappingURL=pdf-gen.d.ts.map
|
package/lib/pdf-gen.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pdf-gen.d.ts","sourceRoot":"/","sources":["pdf-gen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,MAAM,YAAY,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,GAAG;IACnD,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,eAAe,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,eAAe,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,eAAe,GAAG;IAC7C,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,iBAAiB,CAAC;IACpC,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb,CAAC"}
|
package/lib/pdf-gen.js
DELETED
package/lib/pdf-gen.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pdf-gen.js","sourceRoot":"/","sources":["pdf-gen.ts"],"names":[],"mappings":"","sourcesContent":["import { BusinessEntityIds } from './constants.js';\nimport { AttachmentValue } from './types.js';\n\nexport type TemplateData = { [key: string]: unknown };\n\nexport type NewPdfTemplateGroup = {\n exampleData?: TemplateData;\n title: string;\n id: string; // [a-z][a-z0-9_]*\n};\n\nexport type PdfTemplateGroup = NewPdfTemplateGroup & {\n modifiedAt: string;\n modifiedBy: string;\n};\n\ntype BasePdfTemplate = {\n branch: string;\n docx: AttachmentValue;\n groupId: string;\n language: string;\n};\n\nexport type PdfTemplate = BasePdfTemplate & {\n id: string;\n modifiedAt: string;\n modifiedBy: string;\n pdf: AttachmentValue;\n};\n\nexport type NewPdfTemplate = BasePdfTemplate & {\n id?: string;\n};\n\nexport type GeneratePdfEvent = {\n branch: string;\n businessEntityId: BusinessEntityIds;\n data: TemplateData;\n groupId: string;\n language: string;\n outputFilename?: string;\n tenantId: string;\n};\n\nexport type PDFPageSplit = {\n start: number;\n end: number;\n};\n"]}
|
package/src/pdf-gen.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { BusinessEntityIds } from './constants.js';
|
|
2
|
-
import { AttachmentValue } from './types.js';
|
|
3
|
-
|
|
4
|
-
export type TemplateData = { [key: string]: unknown };
|
|
5
|
-
|
|
6
|
-
export type NewPdfTemplateGroup = {
|
|
7
|
-
exampleData?: TemplateData;
|
|
8
|
-
title: string;
|
|
9
|
-
id: string; // [a-z][a-z0-9_]*
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export type PdfTemplateGroup = NewPdfTemplateGroup & {
|
|
13
|
-
modifiedAt: string;
|
|
14
|
-
modifiedBy: string;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
type BasePdfTemplate = {
|
|
18
|
-
branch: string;
|
|
19
|
-
docx: AttachmentValue;
|
|
20
|
-
groupId: string;
|
|
21
|
-
language: string;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export type PdfTemplate = BasePdfTemplate & {
|
|
25
|
-
id: string;
|
|
26
|
-
modifiedAt: string;
|
|
27
|
-
modifiedBy: string;
|
|
28
|
-
pdf: AttachmentValue;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export type NewPdfTemplate = BasePdfTemplate & {
|
|
32
|
-
id?: string;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export type GeneratePdfEvent = {
|
|
36
|
-
branch: string;
|
|
37
|
-
businessEntityId: BusinessEntityIds;
|
|
38
|
-
data: TemplateData;
|
|
39
|
-
groupId: string;
|
|
40
|
-
language: string;
|
|
41
|
-
outputFilename?: string;
|
|
42
|
-
tenantId: string;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export type PDFPageSplit = {
|
|
46
|
-
start: number;
|
|
47
|
-
end: number;
|
|
48
|
-
};
|