@zauru-sdk/types 6.24.0 → 6.26.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/dist/Custom.types.d.ts +59 -0
- package/package.json +2 -2
package/dist/Custom.types.d.ts
CHANGED
|
@@ -512,6 +512,65 @@ export type GeneratePDFBody = {
|
|
|
512
512
|
e_date: string;
|
|
513
513
|
print_template: number | string;
|
|
514
514
|
};
|
|
515
|
+
export type PrintTemplateRow = {
|
|
516
|
+
id?: number;
|
|
517
|
+
title?: string | null;
|
|
518
|
+
header?: boolean | null;
|
|
519
|
+
column?: boolean;
|
|
520
|
+
index?: number;
|
|
521
|
+
size?: number | null;
|
|
522
|
+
variable_size?: boolean;
|
|
523
|
+
print_template_id?: number;
|
|
524
|
+
print_template_for_form_group_id?: number | null;
|
|
525
|
+
_destroy?: boolean;
|
|
526
|
+
};
|
|
527
|
+
export type PrintTemplateCell = {
|
|
528
|
+
id?: number;
|
|
529
|
+
header?: boolean | null;
|
|
530
|
+
row?: number;
|
|
531
|
+
column?: number;
|
|
532
|
+
value?: string | null;
|
|
533
|
+
colspan?: number;
|
|
534
|
+
print_template_id?: number;
|
|
535
|
+
print_template_for_form_group_id?: number | null;
|
|
536
|
+
_destroy?: boolean;
|
|
537
|
+
};
|
|
538
|
+
export type PrintTemplate = {
|
|
539
|
+
id: number;
|
|
540
|
+
name: string;
|
|
541
|
+
operation_id: number;
|
|
542
|
+
font_family: string;
|
|
543
|
+
font_size: string;
|
|
544
|
+
active?: boolean;
|
|
545
|
+
width?: number;
|
|
546
|
+
height?: number;
|
|
547
|
+
top_margin?: number;
|
|
548
|
+
left_margin?: number;
|
|
549
|
+
body_columns?: number;
|
|
550
|
+
print_template_rows?: PrintTemplateRow[];
|
|
551
|
+
print_template_cells?: PrintTemplateCell[];
|
|
552
|
+
};
|
|
553
|
+
export type NewPrintTemplateBody = Partial<Omit<PrintTemplate, "id">> & {
|
|
554
|
+
name: string;
|
|
555
|
+
operation_id: number;
|
|
556
|
+
font_family: string;
|
|
557
|
+
font_size: string;
|
|
558
|
+
print_template_rows_attributes?: PrintTemplateRow[];
|
|
559
|
+
print_template_cells_attributes?: PrintTemplateCell[];
|
|
560
|
+
};
|
|
561
|
+
export type DocumentPrint = {
|
|
562
|
+
id: number;
|
|
563
|
+
active: boolean;
|
|
564
|
+
operation_id: number;
|
|
565
|
+
print_template_id: number;
|
|
566
|
+
notes?: string | null;
|
|
567
|
+
};
|
|
568
|
+
export type NewDocumentPrintBody = {
|
|
569
|
+
active?: boolean;
|
|
570
|
+
operation_id: number;
|
|
571
|
+
print_template_id: number;
|
|
572
|
+
notes?: string;
|
|
573
|
+
};
|
|
515
574
|
export type GeneratedPDFResult = {
|
|
516
575
|
status: number;
|
|
517
576
|
zid: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.26.0",
|
|
4
4
|
"description": "Estructuras de Zauru, tipado de modelos y modelos personalizados.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"typescript": "^5.1.6"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "868c8fc18ec36bd771fbd2b3886d15b6d68fb7bb"
|
|
26
26
|
}
|