@mochabug/adapt-sdk 0.4.22 → 0.4.24
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/cel/index.d.ts +4 -0
- package/dist/cel/index.d.ts.map +1 -1
- package/dist/cjs/anthropic.cjs.map +1 -1
- package/dist/cjs/api.cjs +1 -1
- package/dist/cjs/api.cjs.map +2 -2
- package/dist/cjs/cel.cjs +3 -3
- package/dist/cjs/cel.cjs.map +4 -4
- package/dist/cjs/gemini.cjs.map +1 -1
- package/dist/cjs/openai.cjs.map +1 -1
- package/dist/cjs/router.cjs +1 -1
- package/dist/cjs/router.cjs.map +2 -2
- package/dist/cjs/signals.cjs +2 -2
- package/dist/cjs/signals.cjs.map +2 -2
- package/dist/esm/anthropic.mjs.map +1 -1
- package/dist/esm/api.mjs +1 -1
- package/dist/esm/api.mjs.map +2 -2
- package/dist/esm/cel.mjs +3 -3
- package/dist/esm/cel.mjs.map +4 -4
- package/dist/esm/gemini.mjs.map +1 -1
- package/dist/esm/openai.mjs.map +1 -1
- package/dist/esm/router.mjs +1 -1
- package/dist/esm/router.mjs.map +2 -2
- package/dist/esm/signals.mjs +1 -1
- package/dist/esm/signals.mjs.map +2 -2
- package/dist/genproto/buf/validate/validate_pb.d.ts +438 -320
- package/dist/genproto/buf/validate/validate_pb.d.ts.map +1 -1
- package/dist/genproto/google/api/client_pb.d.ts +471 -103
- package/dist/genproto/google/api/client_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts +26 -26
- package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +8 -8
- package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +4 -4
- package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/signal_data_pb.d.ts +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/signal_data_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +3 -3
- package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +2 -2
- package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +2 -2
- package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/user_defined_exchange_options_pb.d.ts +12 -12
- package/dist/genproto/mochabugapis/adapt/graph/user_defined_exchange_options_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts +2 -2
- package/dist/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts +8 -8
- package/dist/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts +5 -5
- package/dist/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts +13 -13
- package/dist/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +5 -5
- package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts +2 -2
- package/dist/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts +2 -2
- package/dist/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +2 -2
- package/dist/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts +4 -4
- package/dist/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/configurator_service_pb.d.ts +16 -14
- package/dist/genproto/mochabugapis/adapt/runtime/v1/configurator_service_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/executor_service_pb.d.ts +16 -14
- package/dist/genproto/mochabugapis/adapt/runtime/v1/executor_service_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/fileforge_service_pb.d.ts +130 -130
- package/dist/genproto/mochabugapis/adapt/runtime/v1/fileforge_service_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts +7 -7
- package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/plugin_service_pb.d.ts +1 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/plugin_service_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts +26 -24
- package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -88,7 +88,7 @@ export type RenderDocumentResponse = Message<"mochabugapis.adapt.runtime.v1.Rend
|
|
|
88
88
|
*
|
|
89
89
|
* @generated from field: mochabugapis.adapt.graph.SignalData output = 1;
|
|
90
90
|
*/
|
|
91
|
-
output?: SignalData;
|
|
91
|
+
output?: SignalData | undefined;
|
|
92
92
|
};
|
|
93
93
|
/**
|
|
94
94
|
* RenderDocumentResponse contains the rendered PDF output
|
|
@@ -134,14 +134,14 @@ export type HtmlToPdf = Message<"mochabugapis.adapt.runtime.v1.HtmlToPdf"> & {
|
|
|
134
134
|
*
|
|
135
135
|
* @generated from field: optional string header_html = 2;
|
|
136
136
|
*/
|
|
137
|
-
headerHtml?: string;
|
|
137
|
+
headerHtml?: string | undefined;
|
|
138
138
|
/**
|
|
139
139
|
* Footer HTML template (max 1MB).
|
|
140
140
|
* Same requirements as header_html. Note: footer CSS overrides header CSS.
|
|
141
141
|
*
|
|
142
142
|
* @generated from field: optional string footer_html = 3;
|
|
143
143
|
*/
|
|
144
|
-
footerHtml?: string;
|
|
144
|
+
footerHtml?: string | undefined;
|
|
145
145
|
/**
|
|
146
146
|
* Asset files (images, CSS, etc.) - max 100 files
|
|
147
147
|
* Root-level paths only: <img src="logo.png"> not <img src="/images/logo.png">
|
|
@@ -154,13 +154,13 @@ export type HtmlToPdf = Message<"mochabugapis.adapt.runtime.v1.HtmlToPdf"> & {
|
|
|
154
154
|
*
|
|
155
155
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.HtmlRenderOptions render = 10;
|
|
156
156
|
*/
|
|
157
|
-
render?: HtmlRenderOptions;
|
|
157
|
+
render?: HtmlRenderOptions | undefined;
|
|
158
158
|
/**
|
|
159
159
|
* PDF output options
|
|
160
160
|
*
|
|
161
161
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.PdfOutputOptions output = 11;
|
|
162
162
|
*/
|
|
163
|
-
output?: PdfOutputOptions;
|
|
163
|
+
output?: PdfOutputOptions | undefined;
|
|
164
164
|
};
|
|
165
165
|
/**
|
|
166
166
|
* HtmlToPdf converts HTML to PDF using chromium
|
|
@@ -300,14 +300,14 @@ export type MarkdownToPdf = Message<"mochabugapis.adapt.runtime.v1.MarkdownToPdf
|
|
|
300
300
|
*
|
|
301
301
|
* @generated from field: optional string header_html = 3;
|
|
302
302
|
*/
|
|
303
|
-
headerHtml?: string;
|
|
303
|
+
headerHtml?: string | undefined;
|
|
304
304
|
/**
|
|
305
305
|
* Footer HTML template (max 1MB).
|
|
306
306
|
* Same requirements as header_html. Note: footer CSS overrides header CSS.
|
|
307
307
|
*
|
|
308
308
|
* @generated from field: optional string footer_html = 4;
|
|
309
309
|
*/
|
|
310
|
-
footerHtml?: string;
|
|
310
|
+
footerHtml?: string | undefined;
|
|
311
311
|
/**
|
|
312
312
|
* Asset files (images, etc.) - max 100 files.
|
|
313
313
|
* Root-level paths only:  not 
|
|
@@ -320,13 +320,13 @@ export type MarkdownToPdf = Message<"mochabugapis.adapt.runtime.v1.MarkdownToPdf
|
|
|
320
320
|
*
|
|
321
321
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.HtmlRenderOptions render = 10;
|
|
322
322
|
*/
|
|
323
|
-
render?: HtmlRenderOptions;
|
|
323
|
+
render?: HtmlRenderOptions | undefined;
|
|
324
324
|
/**
|
|
325
325
|
* PDF output options
|
|
326
326
|
*
|
|
327
327
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.PdfOutputOptions output = 11;
|
|
328
328
|
*/
|
|
329
|
-
output?: PdfOutputOptions;
|
|
329
|
+
output?: PdfOutputOptions | undefined;
|
|
330
330
|
};
|
|
331
331
|
/**
|
|
332
332
|
* MarkdownToPdf converts Markdown files to PDF using Chromium.
|
|
@@ -453,19 +453,19 @@ export type OfficeToPdf = Message<"mochabugapis.adapt.runtime.v1.OfficeToPdf"> &
|
|
|
453
453
|
*
|
|
454
454
|
* @generated from field: mochabugapis.adapt.graph.SignalData document = 1;
|
|
455
455
|
*/
|
|
456
|
-
document?: SignalData;
|
|
456
|
+
document?: SignalData | undefined;
|
|
457
457
|
/**
|
|
458
458
|
* Rendering options
|
|
459
459
|
*
|
|
460
460
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.OfficeRenderOptions render = 10;
|
|
461
461
|
*/
|
|
462
|
-
render?: OfficeRenderOptions;
|
|
462
|
+
render?: OfficeRenderOptions | undefined;
|
|
463
463
|
/**
|
|
464
464
|
* PDF output options
|
|
465
465
|
*
|
|
466
466
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.PdfOutputOptions output = 11;
|
|
467
467
|
*/
|
|
468
|
-
output?: PdfOutputOptions;
|
|
468
|
+
output?: PdfOutputOptions | undefined;
|
|
469
469
|
};
|
|
470
470
|
/**
|
|
471
471
|
* OfficeToPdf converts Office documents to PDF
|
|
@@ -510,91 +510,91 @@ export type HtmlRenderOptions = Message<"mochabugapis.adapt.runtime.v1.HtmlRende
|
|
|
510
510
|
*
|
|
511
511
|
* @generated from field: optional bool print_background = 1;
|
|
512
512
|
*/
|
|
513
|
-
printBackground?: boolean;
|
|
513
|
+
printBackground?: boolean | undefined;
|
|
514
514
|
/**
|
|
515
515
|
* Render a transparent pdf (no white background) (default: false)
|
|
516
516
|
*
|
|
517
517
|
* @generated from field: optional bool omit_background = 2;
|
|
518
518
|
*/
|
|
519
|
-
omitBackground?: boolean;
|
|
519
|
+
omitBackground?: boolean | undefined;
|
|
520
520
|
/**
|
|
521
521
|
* Use page sizes as defined in CSS @page rules (default: false)
|
|
522
522
|
*
|
|
523
523
|
* @generated from field: optional bool prefer_css_page_size = 3;
|
|
524
524
|
*/
|
|
525
|
-
preferCssPageSize?: boolean;
|
|
525
|
+
preferCssPageSize?: boolean | undefined;
|
|
526
526
|
/**
|
|
527
527
|
* Emulated media type (default: print)
|
|
528
528
|
*
|
|
529
529
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.EmulatedMediaType emulated_media_type = 4;
|
|
530
530
|
*/
|
|
531
|
-
emulatedMediaType?: EmulatedMediaType;
|
|
531
|
+
emulatedMediaType?: EmulatedMediaType | undefined;
|
|
532
532
|
/**
|
|
533
533
|
* Paper width in inches (default: 8.5)
|
|
534
534
|
*
|
|
535
535
|
* @generated from field: optional float paper_width = 5;
|
|
536
536
|
*/
|
|
537
|
-
paperWidth?: number;
|
|
537
|
+
paperWidth?: number | undefined;
|
|
538
538
|
/**
|
|
539
539
|
* Paper height in inches (default: 11)
|
|
540
540
|
*
|
|
541
541
|
* @generated from field: optional float paper_height = 6;
|
|
542
542
|
*/
|
|
543
|
-
paperHeight?: number;
|
|
543
|
+
paperHeight?: number | undefined;
|
|
544
544
|
/**
|
|
545
545
|
* Top margin in inches (default: 0.39)
|
|
546
546
|
*
|
|
547
547
|
* @generated from field: optional float margin_top = 7;
|
|
548
548
|
*/
|
|
549
|
-
marginTop?: number;
|
|
549
|
+
marginTop?: number | undefined;
|
|
550
550
|
/**
|
|
551
551
|
* Right margin in inches (default: 0.39)
|
|
552
552
|
*
|
|
553
553
|
* @generated from field: optional float margin_right = 8;
|
|
554
554
|
*/
|
|
555
|
-
marginRight?: number;
|
|
555
|
+
marginRight?: number | undefined;
|
|
556
556
|
/**
|
|
557
557
|
* Bottom margin in inches (default: 0.39)
|
|
558
558
|
*
|
|
559
559
|
* @generated from field: optional float margin_bottom = 9;
|
|
560
560
|
*/
|
|
561
|
-
marginBottom?: number;
|
|
561
|
+
marginBottom?: number | undefined;
|
|
562
562
|
/**
|
|
563
563
|
* Left margin in inches (default: 0.39)
|
|
564
564
|
*
|
|
565
565
|
* @generated from field: optional float margin_left = 10;
|
|
566
566
|
*/
|
|
567
|
-
marginLeft?: number;
|
|
567
|
+
marginLeft?: number | undefined;
|
|
568
568
|
/**
|
|
569
569
|
* Landscape orientation (default: false)
|
|
570
570
|
*
|
|
571
571
|
* @generated from field: optional bool landscape = 11;
|
|
572
572
|
*/
|
|
573
|
-
landscape?: boolean;
|
|
573
|
+
landscape?: boolean | undefined;
|
|
574
574
|
/**
|
|
575
575
|
* Scale factor 0.1-2.0 (default: 1.0)
|
|
576
576
|
*
|
|
577
577
|
* @generated from field: optional float scale = 12;
|
|
578
578
|
*/
|
|
579
|
-
scale?: number;
|
|
579
|
+
scale?: number | undefined;
|
|
580
580
|
/**
|
|
581
581
|
* Page ranges to render (e.g. "1-5,8,10-12")
|
|
582
582
|
*
|
|
583
583
|
* @generated from field: optional string page_ranges = 13;
|
|
584
584
|
*/
|
|
585
|
-
pageRanges?: string;
|
|
585
|
+
pageRanges?: string | undefined;
|
|
586
586
|
/**
|
|
587
587
|
* Render as single continuous page (default: false)
|
|
588
588
|
*
|
|
589
589
|
* @generated from field: optional bool single_page = 14;
|
|
590
590
|
*/
|
|
591
|
-
singlePage?: boolean;
|
|
591
|
+
singlePage?: boolean | undefined;
|
|
592
592
|
/**
|
|
593
593
|
* Generate tagged (accessible) PDF (default: true)
|
|
594
594
|
*
|
|
595
595
|
* @generated from field: optional bool generate_tagged_pdf = 15;
|
|
596
596
|
*/
|
|
597
|
-
generateTaggedPdf?: boolean;
|
|
597
|
+
generateTaggedPdf?: boolean | undefined;
|
|
598
598
|
};
|
|
599
599
|
/**
|
|
600
600
|
* HtmlRenderOptions configures HTML to PDF rendering
|
|
@@ -711,139 +711,139 @@ export type OfficeRenderOptions = Message<"mochabugapis.adapt.runtime.v1.OfficeR
|
|
|
711
711
|
*
|
|
712
712
|
* @generated from field: optional string password = 1;
|
|
713
713
|
*/
|
|
714
|
-
password?: string;
|
|
714
|
+
password?: string | undefined;
|
|
715
715
|
/**
|
|
716
716
|
* Landscape orientation (default: false)
|
|
717
717
|
*
|
|
718
718
|
* @generated from field: optional bool landscape = 2;
|
|
719
719
|
*/
|
|
720
|
-
landscape?: boolean;
|
|
720
|
+
landscape?: boolean | undefined;
|
|
721
721
|
/**
|
|
722
722
|
* Page ranges to convert, e.g. "1-4" (default: all pages)
|
|
723
723
|
*
|
|
724
724
|
* @generated from field: optional string page_ranges = 3;
|
|
725
725
|
*/
|
|
726
|
-
pageRanges?: string;
|
|
726
|
+
pageRanges?: string | undefined;
|
|
727
727
|
/**
|
|
728
728
|
* Update indexes before conversion (default: true)
|
|
729
729
|
*
|
|
730
730
|
* @generated from field: optional bool update_indexes = 4;
|
|
731
731
|
*/
|
|
732
|
-
updateIndexes?: boolean;
|
|
732
|
+
updateIndexes?: boolean | undefined;
|
|
733
733
|
/**
|
|
734
734
|
* Export form fields as widgets; if false, exports as fixed representation (default: true)
|
|
735
735
|
*
|
|
736
736
|
* @generated from field: optional bool export_form_fields = 5;
|
|
737
737
|
*/
|
|
738
|
-
exportFormFields?: boolean;
|
|
738
|
+
exportFormFields?: boolean | undefined;
|
|
739
739
|
/**
|
|
740
740
|
* Allow multiple form fields with the same name (default: false)
|
|
741
741
|
*
|
|
742
742
|
* @generated from field: optional bool allow_duplicate_field_names = 6;
|
|
743
743
|
*/
|
|
744
|
-
allowDuplicateFieldNames?: boolean;
|
|
744
|
+
allowDuplicateFieldNames?: boolean | undefined;
|
|
745
745
|
/**
|
|
746
746
|
* Export bookmarks to PDF (default: true)
|
|
747
747
|
*
|
|
748
748
|
* @generated from field: optional bool export_bookmarks = 7;
|
|
749
749
|
*/
|
|
750
|
-
exportBookmarks?: boolean;
|
|
750
|
+
exportBookmarks?: boolean | undefined;
|
|
751
751
|
/**
|
|
752
752
|
* Convert bookmarks to named PDF destinations (default: false)
|
|
753
753
|
*
|
|
754
754
|
* @generated from field: optional bool export_bookmarks_to_pdf_destination = 8;
|
|
755
755
|
*/
|
|
756
|
-
exportBookmarksToPdfDestination?: boolean;
|
|
756
|
+
exportBookmarksToPdfDestination?: boolean | undefined;
|
|
757
757
|
/**
|
|
758
758
|
* Export placeholders as visual markings (default: false)
|
|
759
759
|
*
|
|
760
760
|
* @generated from field: optional bool export_placeholders = 9;
|
|
761
761
|
*/
|
|
762
|
-
exportPlaceholders?: boolean;
|
|
762
|
+
exportPlaceholders?: boolean | undefined;
|
|
763
763
|
/**
|
|
764
764
|
* Export notes in the output (default: false)
|
|
765
765
|
*
|
|
766
766
|
* @generated from field: optional bool export_notes = 10;
|
|
767
767
|
*/
|
|
768
|
-
exportNotes?: boolean;
|
|
768
|
+
exportNotes?: boolean | undefined;
|
|
769
769
|
/**
|
|
770
770
|
* Export notes pages - Impress only (default: false)
|
|
771
771
|
*
|
|
772
772
|
* @generated from field: optional bool export_notes_pages = 11;
|
|
773
773
|
*/
|
|
774
|
-
exportNotesPages?: boolean;
|
|
774
|
+
exportNotesPages?: boolean | undefined;
|
|
775
775
|
/**
|
|
776
776
|
* Export only notes pages, requires export_notes_pages=true (default: false)
|
|
777
777
|
*
|
|
778
778
|
* @generated from field: optional bool export_only_notes_pages = 12;
|
|
779
779
|
*/
|
|
780
|
-
exportOnlyNotesPages?: boolean;
|
|
780
|
+
exportOnlyNotesPages?: boolean | undefined;
|
|
781
781
|
/**
|
|
782
782
|
* Export notes in page margins (default: false)
|
|
783
783
|
*
|
|
784
784
|
* @generated from field: optional bool export_notes_in_margin = 13;
|
|
785
785
|
*/
|
|
786
|
-
exportNotesInMargin?: boolean;
|
|
786
|
+
exportNotesInMargin?: boolean | undefined;
|
|
787
787
|
/**
|
|
788
788
|
* Convert .od[tpgs] links to .pdf in output (default: false)
|
|
789
789
|
*
|
|
790
790
|
* @generated from field: optional bool convert_ooo_target_to_pdf_target = 14;
|
|
791
791
|
*/
|
|
792
|
-
convertOooTargetToPdfTarget?: boolean;
|
|
792
|
+
convertOooTargetToPdfTarget?: boolean | undefined;
|
|
793
793
|
/**
|
|
794
794
|
* Export relative file:// protocol links (default: false)
|
|
795
795
|
*
|
|
796
796
|
* @generated from field: optional bool export_links_relative_fsys = 15;
|
|
797
797
|
*/
|
|
798
|
-
exportLinksRelativeFsys?: boolean;
|
|
798
|
+
exportLinksRelativeFsys?: boolean | undefined;
|
|
799
799
|
/**
|
|
800
800
|
* Export hidden slides - Impress only (default: false)
|
|
801
801
|
*
|
|
802
802
|
* @generated from field: optional bool export_hidden_slides = 16;
|
|
803
803
|
*/
|
|
804
|
-
exportHiddenSlides?: boolean;
|
|
804
|
+
exportHiddenSlides?: boolean | undefined;
|
|
805
805
|
/**
|
|
806
806
|
* Skip auto-inserted empty pages (default: false)
|
|
807
807
|
*
|
|
808
808
|
* @generated from field: optional bool skip_empty_pages = 17;
|
|
809
809
|
*/
|
|
810
|
-
skipEmptyPages?: boolean;
|
|
810
|
+
skipEmptyPages?: boolean | undefined;
|
|
811
811
|
/**
|
|
812
812
|
* Render each spreadsheet sheet as single page regardless of settings (default: false)
|
|
813
813
|
*
|
|
814
814
|
* @generated from field: optional bool single_page_sheets = 18;
|
|
815
815
|
*/
|
|
816
|
-
singlePageSheets?: boolean;
|
|
816
|
+
singlePageSheets?: boolean | undefined;
|
|
817
817
|
/**
|
|
818
818
|
* Embed original document as stream for archiving (default: false)
|
|
819
819
|
*
|
|
820
820
|
* @generated from field: optional bool add_original_document_as_stream = 19;
|
|
821
821
|
*/
|
|
822
|
-
addOriginalDocumentAsStream?: boolean;
|
|
822
|
+
addOriginalDocumentAsStream?: boolean | undefined;
|
|
823
823
|
/**
|
|
824
824
|
* Use lossless PNG compression instead of lossy JPEG (default: false)
|
|
825
825
|
*
|
|
826
826
|
* @generated from field: optional bool lossless_image_compression = 20;
|
|
827
827
|
*/
|
|
828
|
-
losslessImageCompression?: boolean;
|
|
828
|
+
losslessImageCompression?: boolean | undefined;
|
|
829
829
|
/**
|
|
830
830
|
* JPEG quality 1-100 (default: 90)
|
|
831
831
|
*
|
|
832
832
|
* @generated from field: optional int32 quality = 21;
|
|
833
833
|
*/
|
|
834
|
-
quality?: number;
|
|
834
|
+
quality?: number | undefined;
|
|
835
835
|
/**
|
|
836
836
|
* Reduce image resolution to max_image_resolution (default: false)
|
|
837
837
|
*
|
|
838
838
|
* @generated from field: optional bool reduce_image_resolution = 22;
|
|
839
839
|
*/
|
|
840
|
-
reduceImageResolution?: boolean;
|
|
840
|
+
reduceImageResolution?: boolean | undefined;
|
|
841
841
|
/**
|
|
842
842
|
* Max image resolution in DPI: 75, 150, 300, 600, or 1200 (default: 300)
|
|
843
843
|
*
|
|
844
844
|
* @generated from field: optional int32 max_image_resolution = 23;
|
|
845
845
|
*/
|
|
846
|
-
maxImageResolution?: number;
|
|
846
|
+
maxImageResolution?: number | undefined;
|
|
847
847
|
};
|
|
848
848
|
/**
|
|
849
849
|
* OfficeRenderOptions configures Office document to PDF rendering
|
|
@@ -1008,31 +1008,31 @@ export type PdfOutputOptions = Message<"mochabugapis.adapt.runtime.v1.PdfOutputO
|
|
|
1008
1008
|
*
|
|
1009
1009
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.PdfAFormat pdfa = 1;
|
|
1010
1010
|
*/
|
|
1011
|
-
pdfa?: PdfAFormat;
|
|
1011
|
+
pdfa?: PdfAFormat | undefined;
|
|
1012
1012
|
/**
|
|
1013
1013
|
* PDF/UA (Universal Accessibility) compliance (default: false)
|
|
1014
1014
|
*
|
|
1015
1015
|
* @generated from field: optional bool pdfua = 2;
|
|
1016
1016
|
*/
|
|
1017
|
-
pdfua?: boolean;
|
|
1017
|
+
pdfua?: boolean | undefined;
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Flatten interactive elements into static content (default: false)
|
|
1020
1020
|
*
|
|
1021
1021
|
* @generated from field: optional bool flatten = 3;
|
|
1022
1022
|
*/
|
|
1023
|
-
flatten?: boolean;
|
|
1023
|
+
flatten?: boolean | undefined;
|
|
1024
1024
|
/**
|
|
1025
1025
|
* User password required to open the PDF (max 128 chars, incompatible with pdfa)
|
|
1026
1026
|
*
|
|
1027
1027
|
* @generated from field: optional string user_password = 4;
|
|
1028
1028
|
*/
|
|
1029
|
-
userPassword?: string;
|
|
1029
|
+
userPassword?: string | undefined;
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Owner password for full access/editing permissions (max 128 chars, incompatible with pdfa)
|
|
1032
1032
|
*
|
|
1033
1033
|
* @generated from field: optional string owner_password = 5;
|
|
1034
1034
|
*/
|
|
1035
|
-
ownerPassword?: string;
|
|
1035
|
+
ownerPassword?: string | undefined;
|
|
1036
1036
|
};
|
|
1037
1037
|
/**
|
|
1038
1038
|
* PdfOutputOptions configures PDF output settings.
|
|
@@ -1391,7 +1391,7 @@ export type TransformImageRequest = Message<"mochabugapis.adapt.runtime.v1.Trans
|
|
|
1391
1391
|
*
|
|
1392
1392
|
* @generated from field: mochabugapis.adapt.graph.SignalData input = 1;
|
|
1393
1393
|
*/
|
|
1394
|
-
input?: SignalData;
|
|
1394
|
+
input?: SignalData | undefined;
|
|
1395
1395
|
/**
|
|
1396
1396
|
* Ordered list of operations to apply (max 50)
|
|
1397
1397
|
*
|
|
@@ -1403,7 +1403,7 @@ export type TransformImageRequest = Message<"mochabugapis.adapt.runtime.v1.Trans
|
|
|
1403
1403
|
*
|
|
1404
1404
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.ImageOutput output = 30;
|
|
1405
1405
|
*/
|
|
1406
|
-
output?: ImageOutput;
|
|
1406
|
+
output?: ImageOutput | undefined;
|
|
1407
1407
|
};
|
|
1408
1408
|
/**
|
|
1409
1409
|
* TransformImageRequest specifies image transformation operations.
|
|
@@ -1452,7 +1452,7 @@ export type TransformImageResponse = Message<"mochabugapis.adapt.runtime.v1.Tran
|
|
|
1452
1452
|
*
|
|
1453
1453
|
* @generated from field: mochabugapis.adapt.graph.SignalData output = 1;
|
|
1454
1454
|
*/
|
|
1455
|
-
output?: SignalData;
|
|
1455
|
+
output?: SignalData | undefined;
|
|
1456
1456
|
};
|
|
1457
1457
|
/**
|
|
1458
1458
|
* TransformImageResponse contains the transformed image
|
|
@@ -1485,31 +1485,31 @@ export type ImageResize = Message<"mochabugapis.adapt.runtime.v1.ImageResize"> &
|
|
|
1485
1485
|
*
|
|
1486
1486
|
* @generated from field: optional int32 width = 1;
|
|
1487
1487
|
*/
|
|
1488
|
-
width?: number;
|
|
1488
|
+
width?: number | undefined;
|
|
1489
1489
|
/**
|
|
1490
1490
|
* Target height (0 = auto, max 5000)
|
|
1491
1491
|
*
|
|
1492
1492
|
* @generated from field: optional int32 height = 2;
|
|
1493
1493
|
*/
|
|
1494
|
-
height?: number;
|
|
1494
|
+
height?: number | undefined;
|
|
1495
1495
|
/**
|
|
1496
1496
|
* Resize type
|
|
1497
1497
|
*
|
|
1498
1498
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.ResizeType type = 3;
|
|
1499
1499
|
*/
|
|
1500
|
-
type?: ResizeType;
|
|
1500
|
+
type?: ResizeType | undefined;
|
|
1501
1501
|
/**
|
|
1502
1502
|
* Allow upscaling (default: false)
|
|
1503
1503
|
*
|
|
1504
1504
|
* @generated from field: optional bool enlarge = 4;
|
|
1505
1505
|
*/
|
|
1506
|
-
enlarge?: boolean;
|
|
1506
|
+
enlarge?: boolean | undefined;
|
|
1507
1507
|
/**
|
|
1508
1508
|
* Extend to exact dimensions with background (default: false)
|
|
1509
1509
|
*
|
|
1510
1510
|
* @generated from field: optional bool extend = 5;
|
|
1511
1511
|
*/
|
|
1512
|
-
extend?: boolean;
|
|
1512
|
+
extend?: boolean | undefined;
|
|
1513
1513
|
};
|
|
1514
1514
|
/**
|
|
1515
1515
|
* ImageResize configures image resizing
|
|
@@ -1566,31 +1566,31 @@ export type ImageCrop = Message<"mochabugapis.adapt.runtime.v1.ImageCrop"> & {
|
|
|
1566
1566
|
*
|
|
1567
1567
|
* @generated from field: optional int32 width = 1;
|
|
1568
1568
|
*/
|
|
1569
|
-
width?: number;
|
|
1569
|
+
width?: number | undefined;
|
|
1570
1570
|
/**
|
|
1571
1571
|
* Crop height in pixels (0 = use full height, max 5000)
|
|
1572
1572
|
*
|
|
1573
1573
|
* @generated from field: optional int32 height = 2;
|
|
1574
1574
|
*/
|
|
1575
|
-
height?: number;
|
|
1575
|
+
height?: number | undefined;
|
|
1576
1576
|
/**
|
|
1577
1577
|
* Crop anchor point
|
|
1578
1578
|
*
|
|
1579
1579
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.Gravity gravity = 3;
|
|
1580
1580
|
*/
|
|
1581
|
-
gravity?: Gravity;
|
|
1581
|
+
gravity?: Gravity | undefined;
|
|
1582
1582
|
/**
|
|
1583
1583
|
* Horizontal offset from gravity point (-10000 to 10000)
|
|
1584
1584
|
*
|
|
1585
1585
|
* @generated from field: optional int32 offset_x = 4;
|
|
1586
1586
|
*/
|
|
1587
|
-
offsetX?: number;
|
|
1587
|
+
offsetX?: number | undefined;
|
|
1588
1588
|
/**
|
|
1589
1589
|
* Vertical offset from gravity point (-10000 to 10000)
|
|
1590
1590
|
*
|
|
1591
1591
|
* @generated from field: optional int32 offset_y = 5;
|
|
1592
1592
|
*/
|
|
1593
|
-
offsetY?: number;
|
|
1593
|
+
offsetY?: number | undefined;
|
|
1594
1594
|
};
|
|
1595
1595
|
/**
|
|
1596
1596
|
* ImageCrop configures image cropping
|
|
@@ -1647,13 +1647,13 @@ export type ImageRotate = Message<"mochabugapis.adapt.runtime.v1.ImageRotate"> &
|
|
|
1647
1647
|
*
|
|
1648
1648
|
* @generated from field: optional int32 angle = 1;
|
|
1649
1649
|
*/
|
|
1650
|
-
angle?: number;
|
|
1650
|
+
angle?: number | undefined;
|
|
1651
1651
|
/**
|
|
1652
1652
|
* Auto-rotate based on EXIF orientation (default: false)
|
|
1653
1653
|
*
|
|
1654
1654
|
* @generated from field: optional bool auto_rotate = 2;
|
|
1655
1655
|
*/
|
|
1656
|
-
autoRotate?: boolean;
|
|
1656
|
+
autoRotate?: boolean | undefined;
|
|
1657
1657
|
};
|
|
1658
1658
|
/**
|
|
1659
1659
|
* ImageRotate configures image rotation
|
|
@@ -1692,13 +1692,13 @@ export type ImageFlip = Message<"mochabugapis.adapt.runtime.v1.ImageFlip"> & {
|
|
|
1692
1692
|
*
|
|
1693
1693
|
* @generated from field: optional bool horizontal = 1;
|
|
1694
1694
|
*/
|
|
1695
|
-
horizontal?: boolean;
|
|
1695
|
+
horizontal?: boolean | undefined;
|
|
1696
1696
|
/**
|
|
1697
1697
|
* Flip vertically (default: false)
|
|
1698
1698
|
*
|
|
1699
1699
|
* @generated from field: optional bool vertical = 2;
|
|
1700
1700
|
*/
|
|
1701
|
-
vertical?: boolean;
|
|
1701
|
+
vertical?: boolean | undefined;
|
|
1702
1702
|
};
|
|
1703
1703
|
/**
|
|
1704
1704
|
* ImageFlip configures image flipping
|
|
@@ -1737,25 +1737,25 @@ export type ImagePad = Message<"mochabugapis.adapt.runtime.v1.ImagePad"> & {
|
|
|
1737
1737
|
*
|
|
1738
1738
|
* @generated from field: optional int32 top = 1;
|
|
1739
1739
|
*/
|
|
1740
|
-
top?: number;
|
|
1740
|
+
top?: number | undefined;
|
|
1741
1741
|
/**
|
|
1742
1742
|
* Right padding in pixels
|
|
1743
1743
|
*
|
|
1744
1744
|
* @generated from field: optional int32 right = 2;
|
|
1745
1745
|
*/
|
|
1746
|
-
right?: number;
|
|
1746
|
+
right?: number | undefined;
|
|
1747
1747
|
/**
|
|
1748
1748
|
* Bottom padding in pixels
|
|
1749
1749
|
*
|
|
1750
1750
|
* @generated from field: optional int32 bottom = 3;
|
|
1751
1751
|
*/
|
|
1752
|
-
bottom?: number;
|
|
1752
|
+
bottom?: number | undefined;
|
|
1753
1753
|
/**
|
|
1754
1754
|
* Left padding in pixels
|
|
1755
1755
|
*
|
|
1756
1756
|
* @generated from field: optional int32 left = 4;
|
|
1757
1757
|
*/
|
|
1758
|
-
left?: number;
|
|
1758
|
+
left?: number | undefined;
|
|
1759
1759
|
};
|
|
1760
1760
|
/**
|
|
1761
1761
|
* ImagePad configures image padding
|
|
@@ -1806,25 +1806,25 @@ export type ImageTrim = Message<"mochabugapis.adapt.runtime.v1.ImageTrim"> & {
|
|
|
1806
1806
|
*
|
|
1807
1807
|
* @generated from field: optional float threshold = 1;
|
|
1808
1808
|
*/
|
|
1809
|
-
threshold?: number;
|
|
1809
|
+
threshold?: number | undefined;
|
|
1810
1810
|
/**
|
|
1811
1811
|
* Color to trim (hex, e.g. "ffffff")
|
|
1812
1812
|
*
|
|
1813
1813
|
* @generated from field: optional string color = 2;
|
|
1814
1814
|
*/
|
|
1815
|
-
color?: string;
|
|
1815
|
+
color?: string | undefined;
|
|
1816
1816
|
/**
|
|
1817
1817
|
* Equal horizontal trim (default: false)
|
|
1818
1818
|
*
|
|
1819
1819
|
* @generated from field: optional bool equal_hor = 3;
|
|
1820
1820
|
*/
|
|
1821
|
-
equalHor?: boolean;
|
|
1821
|
+
equalHor?: boolean | undefined;
|
|
1822
1822
|
/**
|
|
1823
1823
|
* Equal vertical trim (default: false)
|
|
1824
1824
|
*
|
|
1825
1825
|
* @generated from field: optional bool equal_ver = 4;
|
|
1826
1826
|
*/
|
|
1827
|
-
equalVer?: boolean;
|
|
1827
|
+
equalVer?: boolean | undefined;
|
|
1828
1828
|
};
|
|
1829
1829
|
/**
|
|
1830
1830
|
* ImageTrim configures image edge trimming
|
|
@@ -1875,25 +1875,25 @@ export type ImageAdjust = Message<"mochabugapis.adapt.runtime.v1.ImageAdjust"> &
|
|
|
1875
1875
|
*
|
|
1876
1876
|
* @generated from field: optional int32 brightness = 1;
|
|
1877
1877
|
*/
|
|
1878
|
-
brightness?: number;
|
|
1878
|
+
brightness?: number | undefined;
|
|
1879
1879
|
/**
|
|
1880
1880
|
* Contrast (0-10, 1 = no change)
|
|
1881
1881
|
*
|
|
1882
1882
|
* @generated from field: optional float contrast = 2;
|
|
1883
1883
|
*/
|
|
1884
|
-
contrast?: number;
|
|
1884
|
+
contrast?: number | undefined;
|
|
1885
1885
|
/**
|
|
1886
1886
|
* Saturation (0-10, 1 = no change)
|
|
1887
1887
|
*
|
|
1888
1888
|
* @generated from field: optional float saturation = 3;
|
|
1889
1889
|
*/
|
|
1890
|
-
saturation?: number;
|
|
1890
|
+
saturation?: number | undefined;
|
|
1891
1891
|
/**
|
|
1892
1892
|
* Convert to grayscale (default: false)
|
|
1893
1893
|
*
|
|
1894
1894
|
* @generated from field: optional bool grayscale = 4;
|
|
1895
1895
|
*/
|
|
1896
|
-
grayscale?: boolean;
|
|
1896
|
+
grayscale?: boolean | undefined;
|
|
1897
1897
|
};
|
|
1898
1898
|
/**
|
|
1899
1899
|
* ImageAdjust configures color adjustments
|
|
@@ -2278,13 +2278,13 @@ export type ImageRoundCorner = Message<"mochabugapis.adapt.runtime.v1.ImageRound
|
|
|
2278
2278
|
*
|
|
2279
2279
|
* @generated from field: optional int32 ry = 2;
|
|
2280
2280
|
*/
|
|
2281
|
-
ry?: number;
|
|
2281
|
+
ry?: number | undefined;
|
|
2282
2282
|
/**
|
|
2283
2283
|
* Background color for corners (hex, e.g., "ffffff")
|
|
2284
2284
|
*
|
|
2285
2285
|
* @generated from field: optional string color = 3;
|
|
2286
2286
|
*/
|
|
2287
|
-
color?: string;
|
|
2287
|
+
color?: string | undefined;
|
|
2288
2288
|
};
|
|
2289
2289
|
/**
|
|
2290
2290
|
* ImageRoundCorner configures rounded corners
|
|
@@ -2385,62 +2385,62 @@ export type ImageText = Message<"mochabugapis.adapt.runtime.v1.ImageText"> & {
|
|
|
2385
2385
|
*
|
|
2386
2386
|
* @generated from field: optional string font = 4;
|
|
2387
2387
|
*/
|
|
2388
|
-
font?: string;
|
|
2388
|
+
font?: string | undefined;
|
|
2389
2389
|
/**
|
|
2390
2390
|
* Text color: color name or hex RGB without '#' (e.g. "000000"). Defaults to black.
|
|
2391
2391
|
*
|
|
2392
2392
|
* @generated from field: optional string color = 5;
|
|
2393
2393
|
*/
|
|
2394
|
-
color?: string;
|
|
2394
|
+
color?: string | undefined;
|
|
2395
2395
|
/**
|
|
2396
2396
|
* Text opacity (0-100, 0 = fully opaque). Defaults to 0.
|
|
2397
2397
|
*
|
|
2398
2398
|
* @generated from field: optional int32 alpha = 6;
|
|
2399
2399
|
*/
|
|
2400
|
-
alpha?: number;
|
|
2400
|
+
alpha?: number | undefined;
|
|
2401
2401
|
/**
|
|
2402
2402
|
* Blend mode for compositing. Defaults to "normal".
|
|
2403
2403
|
*
|
|
2404
2404
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.TextBlendMode blend_mode = 7;
|
|
2405
2405
|
*/
|
|
2406
|
-
blendMode?: TextBlendMode;
|
|
2406
|
+
blendMode?: TextBlendMode | undefined;
|
|
2407
2407
|
/**
|
|
2408
2408
|
* Wrap width. Supports pixels, percentage string (e.g. "80p"),
|
|
2409
2409
|
* or "full" for full image width.
|
|
2410
2410
|
*
|
|
2411
2411
|
* @generated from field: optional string width = 8;
|
|
2412
2412
|
*/
|
|
2413
|
-
width?: string;
|
|
2413
|
+
width?: string | undefined;
|
|
2414
2414
|
/**
|
|
2415
2415
|
* Horizontal text alignment
|
|
2416
2416
|
*
|
|
2417
2417
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.TextAlign align = 9;
|
|
2418
2418
|
*/
|
|
2419
|
-
align?: TextAlign;
|
|
2419
|
+
align?: TextAlign | undefined;
|
|
2420
2420
|
/**
|
|
2421
2421
|
* Justify text (default: false)
|
|
2422
2422
|
*
|
|
2423
2423
|
* @generated from field: optional bool justify = 10;
|
|
2424
2424
|
*/
|
|
2425
|
-
justify?: boolean;
|
|
2425
|
+
justify?: boolean | undefined;
|
|
2426
2426
|
/**
|
|
2427
2427
|
* Line wrapping mode (default: word)
|
|
2428
2428
|
*
|
|
2429
2429
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.TextWrap wrap = 11;
|
|
2430
2430
|
*/
|
|
2431
|
-
wrap?: TextWrap;
|
|
2431
|
+
wrap?: TextWrap | undefined;
|
|
2432
2432
|
/**
|
|
2433
2433
|
* Additional line spacing in pixels
|
|
2434
2434
|
*
|
|
2435
2435
|
* @generated from field: optional int32 spacing = 12;
|
|
2436
2436
|
*/
|
|
2437
|
-
spacing?: number;
|
|
2437
|
+
spacing?: number | undefined;
|
|
2438
2438
|
/**
|
|
2439
2439
|
* Render DPI (default: 72). At default 72 DPI, 1pt = 1px.
|
|
2440
2440
|
*
|
|
2441
2441
|
* @generated from field: optional int32 dpi = 13;
|
|
2442
2442
|
*/
|
|
2443
|
-
dpi?: number;
|
|
2443
|
+
dpi?: number | undefined;
|
|
2444
2444
|
};
|
|
2445
2445
|
/**
|
|
2446
2446
|
* ImageText configures text overlay using imagor's text() filter.
|
|
@@ -2650,37 +2650,37 @@ export type ImageWatermark = Message<"mochabugapis.adapt.runtime.v1.ImageWaterma
|
|
|
2650
2650
|
*
|
|
2651
2651
|
* @generated from field: mochabugapis.adapt.graph.SignalData image = 1;
|
|
2652
2652
|
*/
|
|
2653
|
-
image?: SignalData;
|
|
2653
|
+
image?: SignalData | undefined;
|
|
2654
2654
|
/**
|
|
2655
2655
|
* Position
|
|
2656
2656
|
*
|
|
2657
2657
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.Gravity position = 2;
|
|
2658
2658
|
*/
|
|
2659
|
-
position?: Gravity;
|
|
2659
|
+
position?: Gravity | undefined;
|
|
2660
2660
|
/**
|
|
2661
2661
|
* Horizontal offset (-10000 to 10000)
|
|
2662
2662
|
*
|
|
2663
2663
|
* @generated from field: optional int32 offset_x = 3;
|
|
2664
2664
|
*/
|
|
2665
|
-
offsetX?: number;
|
|
2665
|
+
offsetX?: number | undefined;
|
|
2666
2666
|
/**
|
|
2667
2667
|
* Vertical offset (-10000 to 10000)
|
|
2668
2668
|
*
|
|
2669
2669
|
* @generated from field: optional int32 offset_y = 4;
|
|
2670
2670
|
*/
|
|
2671
|
-
offsetY?: number;
|
|
2671
|
+
offsetY?: number | undefined;
|
|
2672
2672
|
/**
|
|
2673
2673
|
* Opacity (0-1)
|
|
2674
2674
|
*
|
|
2675
2675
|
* @generated from field: optional float opacity = 5;
|
|
2676
2676
|
*/
|
|
2677
|
-
opacity?: number;
|
|
2677
|
+
opacity?: number | undefined;
|
|
2678
2678
|
/**
|
|
2679
2679
|
* Scale relative to image (must be > 0)
|
|
2680
2680
|
*
|
|
2681
2681
|
* @generated from field: optional float scale = 6;
|
|
2682
2682
|
*/
|
|
2683
|
-
scale?: number;
|
|
2683
|
+
scale?: number | undefined;
|
|
2684
2684
|
};
|
|
2685
2685
|
/**
|
|
2686
2686
|
* ImageWatermark configures watermark overlay
|
|
@@ -2743,61 +2743,61 @@ export type ImageOutput = Message<"mochabugapis.adapt.runtime.v1.ImageOutput"> &
|
|
|
2743
2743
|
*
|
|
2744
2744
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.ImageFormat format = 1;
|
|
2745
2745
|
*/
|
|
2746
|
-
format?: ImageFormat;
|
|
2746
|
+
format?: ImageFormat | undefined;
|
|
2747
2747
|
/**
|
|
2748
2748
|
* Quality (1-100)
|
|
2749
2749
|
*
|
|
2750
2750
|
* @generated from field: optional int32 quality = 2;
|
|
2751
2751
|
*/
|
|
2752
|
-
quality?: number;
|
|
2752
|
+
quality?: number | undefined;
|
|
2753
2753
|
/**
|
|
2754
2754
|
* Strip metadata (default: false)
|
|
2755
2755
|
*
|
|
2756
2756
|
* @generated from field: optional bool strip_metadata = 3;
|
|
2757
2757
|
*/
|
|
2758
|
-
stripMetadata?: boolean;
|
|
2758
|
+
stripMetadata?: boolean | undefined;
|
|
2759
2759
|
/**
|
|
2760
2760
|
* Background color (hex, e.g. "ff0000")
|
|
2761
2761
|
*
|
|
2762
2762
|
* @generated from field: optional string background = 4;
|
|
2763
2763
|
*/
|
|
2764
|
-
background?: string;
|
|
2764
|
+
background?: string | undefined;
|
|
2765
2765
|
/**
|
|
2766
2766
|
* Background alpha (0-1)
|
|
2767
2767
|
*
|
|
2768
2768
|
* @generated from field: optional float background_alpha = 5;
|
|
2769
2769
|
*/
|
|
2770
|
-
backgroundAlpha?: number;
|
|
2770
|
+
backgroundAlpha?: number | undefined;
|
|
2771
2771
|
/**
|
|
2772
2772
|
* PNG compression level (0-9)
|
|
2773
2773
|
*
|
|
2774
2774
|
* @generated from field: optional int32 png_compression = 6;
|
|
2775
2775
|
*/
|
|
2776
|
-
pngCompression?: number;
|
|
2776
|
+
pngCompression?: number | undefined;
|
|
2777
2777
|
/**
|
|
2778
2778
|
* PNG interlaced (default: false)
|
|
2779
2779
|
*
|
|
2780
2780
|
* @generated from field: optional bool png_interlaced = 7;
|
|
2781
2781
|
*/
|
|
2782
|
-
pngInterlaced?: boolean;
|
|
2782
|
+
pngInterlaced?: boolean | undefined;
|
|
2783
2783
|
/**
|
|
2784
2784
|
* JPEG progressive (default: false)
|
|
2785
2785
|
*
|
|
2786
2786
|
* @generated from field: optional bool jpeg_progressive = 8;
|
|
2787
2787
|
*/
|
|
2788
|
-
jpegProgressive?: boolean;
|
|
2788
|
+
jpegProgressive?: boolean | undefined;
|
|
2789
2789
|
/**
|
|
2790
2790
|
* WebP lossless (default: false)
|
|
2791
2791
|
*
|
|
2792
2792
|
* @generated from field: optional bool webp_lossless = 9;
|
|
2793
2793
|
*/
|
|
2794
|
-
webpLossless?: boolean;
|
|
2794
|
+
webpLossless?: boolean | undefined;
|
|
2795
2795
|
/**
|
|
2796
2796
|
* Max file size in bytes (quality adjusted to fit)
|
|
2797
2797
|
*
|
|
2798
2798
|
* @generated from field: optional int32 max_bytes = 10;
|
|
2799
2799
|
*/
|
|
2800
|
-
maxBytes?: number;
|
|
2800
|
+
maxBytes?: number | undefined;
|
|
2801
2801
|
};
|
|
2802
2802
|
/**
|
|
2803
2803
|
* ImageOutput configures output format and quality
|
|
@@ -3023,31 +3023,31 @@ export type PdfMerge = Message<"mochabugapis.adapt.runtime.v1.PdfMerge"> & {
|
|
|
3023
3023
|
*
|
|
3024
3024
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.PdfAFormat pdfa = 2;
|
|
3025
3025
|
*/
|
|
3026
|
-
pdfa?: PdfAFormat;
|
|
3026
|
+
pdfa?: PdfAFormat | undefined;
|
|
3027
3027
|
/**
|
|
3028
3028
|
* PDF/UA compliance (default: false)
|
|
3029
3029
|
*
|
|
3030
3030
|
* @generated from field: optional bool pdfua = 3;
|
|
3031
3031
|
*/
|
|
3032
|
-
pdfua?: boolean;
|
|
3032
|
+
pdfua?: boolean | undefined;
|
|
3033
3033
|
/**
|
|
3034
3034
|
* Flatten result (default: false)
|
|
3035
3035
|
*
|
|
3036
3036
|
* @generated from field: optional bool flatten = 4;
|
|
3037
3037
|
*/
|
|
3038
|
-
flatten?: boolean;
|
|
3038
|
+
flatten?: boolean | undefined;
|
|
3039
3039
|
/**
|
|
3040
3040
|
* User password (max 128 chars, incompatible with pdfa)
|
|
3041
3041
|
*
|
|
3042
3042
|
* @generated from field: optional string user_password = 5;
|
|
3043
3043
|
*/
|
|
3044
|
-
userPassword?: string;
|
|
3044
|
+
userPassword?: string | undefined;
|
|
3045
3045
|
/**
|
|
3046
3046
|
* Owner password (max 128 chars, incompatible with pdfa)
|
|
3047
3047
|
*
|
|
3048
3048
|
* @generated from field: optional string owner_password = 6;
|
|
3049
3049
|
*/
|
|
3050
|
-
ownerPassword?: string;
|
|
3050
|
+
ownerPassword?: string | undefined;
|
|
3051
3051
|
};
|
|
3052
3052
|
/**
|
|
3053
3053
|
* PdfMerge merges multiple PDFs into one
|
|
@@ -3110,7 +3110,7 @@ export type PdfSplit = Message<"mochabugapis.adapt.runtime.v1.PdfSplit"> & {
|
|
|
3110
3110
|
*
|
|
3111
3111
|
* @generated from field: mochabugapis.adapt.graph.SignalData file = 1;
|
|
3112
3112
|
*/
|
|
3113
|
-
file?: SignalData;
|
|
3113
|
+
file?: SignalData | undefined;
|
|
3114
3114
|
/**
|
|
3115
3115
|
* Split mode (required)
|
|
3116
3116
|
*
|
|
@@ -3130,37 +3130,37 @@ export type PdfSplit = Message<"mochabugapis.adapt.runtime.v1.PdfSplit"> & {
|
|
|
3130
3130
|
*
|
|
3131
3131
|
* @generated from field: optional bool unify = 4;
|
|
3132
3132
|
*/
|
|
3133
|
-
unify?: boolean;
|
|
3133
|
+
unify?: boolean | undefined;
|
|
3134
3134
|
/**
|
|
3135
3135
|
* PDF/A archival format (incompatible with user_password/owner_password)
|
|
3136
3136
|
*
|
|
3137
3137
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.PdfAFormat pdfa = 5;
|
|
3138
3138
|
*/
|
|
3139
|
-
pdfa?: PdfAFormat;
|
|
3139
|
+
pdfa?: PdfAFormat | undefined;
|
|
3140
3140
|
/**
|
|
3141
3141
|
* PDF/UA compliance (default: false)
|
|
3142
3142
|
*
|
|
3143
3143
|
* @generated from field: optional bool pdfua = 6;
|
|
3144
3144
|
*/
|
|
3145
|
-
pdfua?: boolean;
|
|
3145
|
+
pdfua?: boolean | undefined;
|
|
3146
3146
|
/**
|
|
3147
3147
|
* Flatten result (default: false)
|
|
3148
3148
|
*
|
|
3149
3149
|
* @generated from field: optional bool flatten = 7;
|
|
3150
3150
|
*/
|
|
3151
|
-
flatten?: boolean;
|
|
3151
|
+
flatten?: boolean | undefined;
|
|
3152
3152
|
/**
|
|
3153
3153
|
* User password (max 128 chars, incompatible with pdfa)
|
|
3154
3154
|
*
|
|
3155
3155
|
* @generated from field: optional string user_password = 8;
|
|
3156
3156
|
*/
|
|
3157
|
-
userPassword?: string;
|
|
3157
|
+
userPassword?: string | undefined;
|
|
3158
3158
|
/**
|
|
3159
3159
|
* Owner password (max 128 chars, incompatible with pdfa)
|
|
3160
3160
|
*
|
|
3161
3161
|
* @generated from field: optional string owner_password = 9;
|
|
3162
3162
|
*/
|
|
3163
|
-
ownerPassword?: string;
|
|
3163
|
+
ownerPassword?: string | undefined;
|
|
3164
3164
|
};
|
|
3165
3165
|
/**
|
|
3166
3166
|
* PdfSplit splits a PDF into multiple parts.
|
|
@@ -3243,7 +3243,7 @@ export type PdfEncrypt = Message<"mochabugapis.adapt.runtime.v1.PdfEncrypt"> & {
|
|
|
3243
3243
|
*
|
|
3244
3244
|
* @generated from field: mochabugapis.adapt.graph.SignalData file = 1;
|
|
3245
3245
|
*/
|
|
3246
|
-
file?: SignalData;
|
|
3246
|
+
file?: SignalData | undefined;
|
|
3247
3247
|
/**
|
|
3248
3248
|
* User password (required, 1-128 chars)
|
|
3249
3249
|
*
|
|
@@ -3255,7 +3255,7 @@ export type PdfEncrypt = Message<"mochabugapis.adapt.runtime.v1.PdfEncrypt"> & {
|
|
|
3255
3255
|
*
|
|
3256
3256
|
* @generated from field: optional string owner_password = 3;
|
|
3257
3257
|
*/
|
|
3258
|
-
ownerPassword?: string;
|
|
3258
|
+
ownerPassword?: string | undefined;
|
|
3259
3259
|
};
|
|
3260
3260
|
/**
|
|
3261
3261
|
* PdfEncrypt encrypts a PDF with password protection
|
|
@@ -3300,19 +3300,19 @@ export type PdfConvert = Message<"mochabugapis.adapt.runtime.v1.PdfConvert"> & {
|
|
|
3300
3300
|
*
|
|
3301
3301
|
* @generated from field: mochabugapis.adapt.graph.SignalData file = 1;
|
|
3302
3302
|
*/
|
|
3303
|
-
file?: SignalData;
|
|
3303
|
+
file?: SignalData | undefined;
|
|
3304
3304
|
/**
|
|
3305
3305
|
* PDF/A archival format
|
|
3306
3306
|
*
|
|
3307
3307
|
* @generated from field: optional mochabugapis.adapt.runtime.v1.PdfAFormat pdfa = 2;
|
|
3308
3308
|
*/
|
|
3309
|
-
pdfa?: PdfAFormat;
|
|
3309
|
+
pdfa?: PdfAFormat | undefined;
|
|
3310
3310
|
/**
|
|
3311
3311
|
* PDF/UA compliance (default: false)
|
|
3312
3312
|
*
|
|
3313
3313
|
* @generated from field: optional bool pdfua = 3;
|
|
3314
3314
|
*/
|
|
3315
|
-
pdfua?: boolean;
|
|
3315
|
+
pdfua?: boolean | undefined;
|
|
3316
3316
|
};
|
|
3317
3317
|
/**
|
|
3318
3318
|
* PdfConvert converts PDF to PDF/A or PDF/UA format
|
|
@@ -3357,7 +3357,7 @@ export type PdfFlatten = Message<"mochabugapis.adapt.runtime.v1.PdfFlatten"> & {
|
|
|
3357
3357
|
*
|
|
3358
3358
|
* @generated from field: mochabugapis.adapt.graph.SignalData file = 1;
|
|
3359
3359
|
*/
|
|
3360
|
-
file?: SignalData;
|
|
3360
|
+
file?: SignalData | undefined;
|
|
3361
3361
|
};
|
|
3362
3362
|
/**
|
|
3363
3363
|
* PdfFlatten flattens PDF (converts interactive elements to static)
|