@davixlabs/n8n-nodes-davix-h2i 2.2.0 → 2.3.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.
Files changed (44) hide show
  1. package/README.md +4 -2
  2. package/dist/core/config.d.ts +1 -1
  3. package/dist/core/config.js +1 -1
  4. package/dist/core/errors.js +13 -2
  5. package/dist/core/fields.js +44 -6
  6. package/dist/core/forms/binary.d.ts +5 -0
  7. package/dist/core/forms/binary.js +60 -0
  8. package/dist/core/forms/index.d.ts +1 -0
  9. package/dist/core/forms/index.js +4 -1
  10. package/dist/core/forms/props.js +4 -1
  11. package/dist/core/forms/read.js +5 -0
  12. package/dist/core/help.js +11 -0
  13. package/dist/core/hidden.js +2 -0
  14. package/dist/core/params.js +18 -1
  15. package/dist/core/primary.js +3 -0
  16. package/dist/core/results.js +1 -1
  17. package/dist/core/studio.d.ts +16 -0
  18. package/dist/core/studio.js +55 -0
  19. package/dist/nodes/DavixH2I.node.js +5 -7
  20. package/dist/nodes/resources/ai-content/index.js +8 -0
  21. package/dist/nodes/resources/ai-documents/index.js +18 -0
  22. package/dist/nodes/resources/ai-extraction/index.js +5 -0
  23. package/dist/nodes/resources/ai-generation/index.js +5 -0
  24. package/dist/nodes/resources/ai-ocr/index.js +2 -0
  25. package/dist/nodes/resources/ai-vision/index.js +2 -0
  26. package/dist/nodes/resources/data/index.js +21 -0
  27. package/dist/nodes/resources/documents/index.js +39 -0
  28. package/dist/nodes/resources/images/index.js +34 -0
  29. package/dist/nodes/resources/pdfs/index.js +23 -0
  30. package/dist/nodes/resources/render/index.js +16 -0
  31. package/dist/nodes/resources/usage/index.js +2 -1
  32. package/dist/vendor/davix-h2i-sdk/LICENSE +10 -0
  33. package/dist/vendor/davix-h2i-sdk/index.d.ts +16775 -4369
  34. package/dist/vendor/davix-h2i-sdk/package.json +3 -2
  35. package/dist/vendor/davix-h2i-sdk/src/generated/api.js +177 -0
  36. package/dist/vendor/davix-h2i-sdk/src/generated/contract.json +1 -1
  37. package/dist/vendor/davix-h2i-sdk/src/generated/enums.js +1938 -66
  38. package/dist/vendor/davix-h2i-sdk/src/generated/error-codes.js +4 -0
  39. package/dist/vendor/studio-specs/colors.js +78 -0
  40. package/dist/vendor/studio-specs/field-examples.js +406 -0
  41. package/dist/vendor/studio-specs/field-placeholders.js +43 -0
  42. package/dist/vendor/studio-specs/field-specs.js +284 -14
  43. package/dist/vendor/studio-specs/input-choice.js +49 -0
  44. package/package.json +1 -1
@@ -9,4 +9,25 @@ exports.data = (0, define_1.resource)('data', 'Data', 'Convert, merge, transform
9
9
  'data.diff',
10
10
  'data.validate',
11
11
  'data.query',
12
+ ['data.aggregate', { name: 'Group and Pivot Data', description: 'Group the rows of a data file and total each group: count, sum, average, smallest, largest and more.' }],
13
+ ['data.anonymize', { name: 'Anonymize Data', description: 'Hide personal details in a data file so it is safe to share: mask, replace, scramble or remove names, emails, phone numbers and other columns.' }],
14
+ ['data.bank', { name: 'Bank File Convert', description: 'Read a bank statement (OFX / QFX, QIF, MT940, CAMT.053) into a table of transactions, or turn a table from a bank\'s CSV export (dates, decimal commas, debit and credit...' }],
15
+ ['data.calendar', { name: 'Calendar File', description: 'Read an .ics calendar file into a table of events (repeating events can be expanded into every date), or build an .ics file from a table or a list of events, with remi...' }],
16
+ ['data.clean', { name: 'Clean a Data File', description: 'Tidy a messy data file: trim extra spaces, empty the cells that only say N/A or null, remove empty rows and repeated rows, tidy the column names, and fix numbers and d...' }],
17
+ ['data.config', { name: 'Config Convert', description: 'Convert settings files between JSON, YAML, TOML, INI, .env and Java .properties.' }],
18
+ ['data.contacts', { name: 'Contact Cards', description: 'Read a .vcf contact file (vCard 2.1, 3.0 or 4.0, one or thousands of cards) into a table, or build a .vcf file from a table or a list of contacts, with name order, pho...' }],
19
+ ['data.fuzzy-match', { name: 'Fuzzy Match', description: 'Match the rows of two tables by names that are alike but not equal ("Acme Ltd." and "ACME Limited"), with six similarity measures, ignored words, blocking and scores; ...' }],
20
+ ['data.generate', { name: 'Generate Sample Data', description: 'Make an invented table for demos and tests: customers, orders, products, employees or transactions, or your own columns.' }],
21
+ ['data.geo', { name: 'Map Data Convert', description: 'Convert map data between GeoJSON, KML, GPX, WKT and tables with latitude and longitude columns.' }],
22
+ ['data.localization', { name: 'Localization File Convert', description: 'Convert translation files between JSON, Flutter ARB, gettext PO, XLIFF, Android strings.xml, iOS .strings, Java .properties and YAML; put several languages side by sid...' }],
23
+ ['data.logs', { name: 'Parse Logs', description: 'Read a log file (Apache / nginx access log, syslog, JSON lines, logfmt or your own pattern) into a table with real dates, the request split into method and path, and n...' }],
24
+ ['data.outliers', { name: 'Find Outliers and Trend', description: 'Flag numbers that sit far from the rest (z-score, median absolute deviation or interquartile range), per group if you like, and describe the trend of a column over tim...' }],
25
+ ['data.path-query', { name: 'JSON / XML Query', description: 'Run JSONPath queries on a JSON, YAML, TOML, XML or table file ($.items[*].price, $..name, filters such as [?(@.price > 10 && @.tags contains \'sale\')], slices, unions) ...' }],
26
+ ['data.profile', { name: 'Profile a Data File', description: 'Describe what is in a data file: for every column its type, how many cells are filled or empty, how many different values, the smallest, largest and average, and the m...' }],
27
+ ['data.repair-json', { name: 'Repair JSON', description: 'Make broken JSON valid again: a model answer in a code fence, comments, trailing and missing commas, single quotes, unquoted keys, Python words (None, True), a cut-off...' }],
28
+ ['data.reshape', { name: 'Reshape', description: 'Turn a table around: unpivot a wide table into a long one, pivot a long table into a wide one (summing, averaging, counting ...), or transpose rows and columns.' }],
29
+ ['data.split', { name: 'Split a Data File', description: 'Cut one data file into several smaller files: a set number of rows per file, a set number of files, or one file for each value of a column.' }],
30
+ ['data.styled-excel', { name: 'Styled Excel Report', description: 'Turn a table (CSV, JSON, Excel ...) into a finished Excel report: a title, a coloured header, striped rows, borders, number and date formats, fitted column widths, a f...' }],
31
+ ['data.validate-fields', { name: 'Validate Contact Fields', description: 'Check columns of a table as e-mail addresses, phone numbers, web addresses, IBANs, BICs, card numbers, VAT numbers, postal codes, IP addresses, dates, UUIDs, ISBNs or ...' }],
32
+ ['data.workbooks', { name: 'Split / Combine Workbooks', description: 'Split a workbook into one file per sheet (xlsx, csv, json ...) in a ZIP, or combine several workbooks and table files into one workbook with a sheet for each, or stack...' }],
12
33
  ]);
@@ -8,4 +8,43 @@ exports.documents = (0, define_1.resource)('documents', 'Document', 'Convert off
8
8
  'documents.metadata',
9
9
  'documents.preview',
10
10
  'documents.text',
11
+ ['documents.accessibility', { name: 'Accessibility Audit', description: 'Check an HTML page or fragment against about thirty WCAG 2.1 (A and AA) rules: images, forms, links, headings, tables, media, ARIA, keyboard and colour contrast, with ...' }],
12
+ ['documents.archive-create', { name: 'Create a ZIP', description: 'Put files into one ZIP archive.' }],
13
+ ['documents.archive-extract', { name: 'Extract an Archive', description: 'Open a ZIP, TAR, TAR.GZ, RAR or 7z and get its files back, one download each.' }],
14
+ ['documents.archive-inspect', { name: 'Inspect an Archive', description: 'See what is inside a ZIP, TAR, TAR.GZ, RAR or 7z without extracting it: every entry with its size and date, the totals, and a safety check for path escapes, links, pro...' }],
15
+ ['documents.archive-protect', { name: 'Password ZIP', description: 'Pack files into a ZIP that needs a password to open: WinZip AES-256 (default), AES-192, AES-128, or classic ZipCrypto for programs that cannot read AES.' }],
16
+ ['documents.checksum', { name: 'Checksum', description: 'The checksums of one or more files (MD5, SHA-1, SHA-2, SHA-3, BLAKE2, CRC-32, Adler-32), several at once, checked against a hash you already have, with an optional man...' }],
17
+ ['documents.citations', { name: 'Citation Generator', description: 'Make a bibliography (and in-text citations) in APA 7, MLA 9, Chicago (author-date), Harvard, IEEE or Vancouver from a list of sources or a BibTeX, RIS or CSL-JSON file...' }],
18
+ ['documents.clean-html', { name: 'Clean HTML', description: 'Make untidy or untrusted HTML safe and tidy (or take out the article text, plain text or Markdown): an allow-list of tags and attributes, links and pictures treated as...' }],
19
+ ['documents.clean-review', { name: 'Accept Changes / Remove Comments', description: 'Make a Word document ready to send: accept or reject all tracked changes, remove comments and hidden text, take personal names out of the properties and of the authors...' }],
20
+ ['documents.comic', { name: 'Comic / Photo Book', description: 'Lay pictures out as a comic or a photo book: grid or comic-style panels, borders, rounded corners, captions, speech, thought and shout bubbles, a title page and page n...' }],
21
+ ['documents.compare', { name: 'Compare Documents', description: 'Compare the words of two documents of any type (Word, PDF, Excel, text ...): what was added and removed, a similarity score, the list of changes and a redline page.' }],
22
+ ['documents.compress', { name: 'Compress Office File', description: 'Make a Word, Excel, PowerPoint or OpenDocument file smaller: its pictures are re-encoded (JPEG quality, an upper size, PNG recompressed or reduced to a palette), thumb...' }],
23
+ ['documents.ebook', { name: 'Make an E-book', description: 'Make an EPUB 3 e-book from Markdown, HTML or plain text (one file per chapter, or one file split at headings), with a cover, contents, metadata, a style and right-to-l...' }],
24
+ ['documents.einvoice-create', { name: 'Create E-invoice', description: 'Make a structured e-invoice (EN 16931) from invoice data: UBL 2.1 (Peppol BIS 3.0, XRechnung) or UN/CEFACT CII (Factur-X / ZUGFeRD profiles), as XML or as a readable P...' }],
25
+ ['documents.einvoice-read', { name: 'Read E-invoice', description: 'Read the data of an e-invoice (UBL, CII, Factur-X, ZUGFeRD, XRechnung, Peppol) from an XML file or from the XML attached to a PDF: parties, lines, VAT groups, totals a...' }],
26
+ ['documents.einvoice-validate', { name: 'Validate E-invoice', description: 'Check an e-invoice (UBL, CII, Factur-X, ZUGFeRD, XRechnung; XML or PDF) against the business rules of EN 16931: mandatory fields, code lists, line and total arithmetic...' }],
27
+ ['documents.email', { name: 'E-mail to JSON', description: 'Read an e-mail message (.eml or Outlook .msg) as data: who sent it and to whom, the subject, the dates, the ids that link a conversation, the text, the links and the l...' }],
28
+ ['documents.email-html', { name: 'E-mail HTML Builder', description: 'Build an e-mail from blocks (heading, text, button, image, divider, spacer, list, quote, columns, social, footer): table layout, inline styles, an Outlook-safe button,...' }],
29
+ ['documents.encode', { name: 'Encode / Decode', description: 'Encode or decode a text or a file: Base64, Base64URL, hex, URL, HTML entities, Punycode, quoted-printable, binary, Ascii85, ROT13, \\u escapes and Morse; or read the he...' }],
30
+ ['documents.encoding', { name: 'Fix Text Encoding', description: 'Detect the encoding of a text file, repair garbled text (UTF-8 read as Windows-1252, "é" for "é") and write it in the encoding you choose, with line endings, a byte o...' }],
31
+ ['documents.feed', { name: 'Read a Feed or Sitemap', description: 'Read an RSS, Atom or JSON feed or a sitemap (a web address or the text itself) into one list of entries, filtered by date and word, sorted, cut to a limit, as data or ...' }],
32
+ ['documents.file-type', { name: 'Detect File Type', description: 'Find out what a file really is from its content (pictures, documents, archives, audio, video, fonts, databases, programs, text): its type, mime type and kind, whether ...' }],
33
+ ['documents.font', { name: 'Font Convert', description: 'Convert a font between TTF, OTF, WOFF and WOFF2, or describe it: names, license, metrics, weight, and the characters it covers.' }],
34
+ ['documents.format-code', { name: 'Format and Minify Code', description: 'Make JSON, CSS, HTML, XML, SQL or JavaScript tidy (beautify, with your indent) or small (minify).' }],
35
+ ['documents.from-scan', { name: 'Scan to Word', description: 'Turn scanned pages (photos or scans, or a scanned PDF) into a Word, OpenDocument, PDF, HTML, Markdown or text document with OCR.' }],
36
+ ['documents.invoice', { name: 'Invoice and Receipt Maker', description: 'Make an invoice, receipt, credit note or quote as a PDF from the seller, the buyer, the lines and the terms.' }],
37
+ ['documents.link-preview', { name: 'Link Preview', description: 'Get what a chat app or social network shows for a web address: the title, description, picture, site name, icon, type and the address the page really lives at.' }],
38
+ ['documents.media', { name: 'Extract Media', description: 'List the pictures, sounds and videos inside a Word, Excel, PowerPoint or OpenDocument file, with their size, picture dimensions and where they are used, or take them o...' }],
39
+ ['documents.merge', { name: 'Merge Documents', description: 'Join documents of different kinds (Word, Excel, PowerPoint, OpenDocument, text, Markdown, HTML, PDF and pictures) into one PDF, in the order you give them, with an opt...' }],
40
+ ['documents.outline', { name: 'Speaker Notes and Outline', description: 'The structure of an Office file as data: the headings of a Word or OpenDocument text (optionally numbered, with word counts), the slides of a presentation with their t...' }],
41
+ ['documents.protect', { name: 'Protect / Unprotect Office File', description: 'Give a Word, Excel or PowerPoint file an opening password (AES-256 Office encryption) or take it off with the password, mark a file read-only recommended, remove editi...' }],
42
+ ['documents.replace-text', { name: 'Find and Replace in Office File', description: 'Find and replace text in a Word, PowerPoint or Excel file even when the phrase is split over several runs of text; the replacement keeps the formatting of the run wher...' }],
43
+ ['documents.scrape', { name: 'Scrape with Selectors', description: 'Pick values, lists or records out of a web page with CSS selectors: the text, HTML or an attribute of every match, or a record per item of a list.' }],
44
+ ['documents.slides', { name: 'Markdown to Slides', description: 'Turn Markdown text into a slide deck: a PDF with one page per slide, or one HTML slideshow you can open in any browser.' }],
45
+ ['documents.subtitles', { name: 'Subtitle Convert', description: 'Convert a subtitle file between SRT, WebVTT, ASS/SSA, SBV and LRC, or to plain text or JSON, with the times shifted or stretched for another frame rate.' }],
46
+ ['documents.template', { name: 'Fill an Excel or PowerPoint Template', description: 'Fill an Excel, PowerPoint or Word template: every {{placeholder}} in it is replaced with a value from a JSON object, including placeholders that Office split across se...' }],
47
+ ['documents.text-diff', { name: 'Compare Text', description: 'Compare two texts (as parameters, or as two text files) by line, word, character or sentence: a unified patch, the list of changes with line numbers, a similarity scor...' }],
48
+ ['documents.web-to-markdown', { name: 'Web Page to Markdown', description: 'Turn a web page into clean Markdown: the main article with its headings, lists, tables, code blocks and links, without menus, ads and scripts.' }],
49
+ ['documents.word-count', { name: 'Word Counter and Readability', description: 'Count the characters, words, sentences and paragraphs of a text or a document, time its reading and speaking, score how easy it is to read (Flesch, Fog, SMOG and more;...' }],
11
50
  ]);
@@ -29,4 +29,38 @@ exports.images = (0, define_1.resource)('images', 'Image', 'Optimize, convert, r
29
29
  'images.decode-codes',
30
30
  'images.favicon',
31
31
  'images.pdf',
32
+ ['images.avatar', { name: 'Avatar Maker', description: 'A profile picture from a name or any seed: initials on a colour, an identicon pattern, a gradient or a pixel pattern.' }],
33
+ ['images.beautify', { name: 'Screenshot Beautifier', description: 'Put a screenshot on a gradient, a flat colour or a transparent canvas with space around it, rounded corners, a soft shadow and an optional window frame (macOS, Windows...' }],
34
+ ['images.blur-background', { name: 'Blur Background', description: 'Keep the subject of a picture sharp and blur the rest, like a portrait-mode photo: the subject is found by cutting away the plain background, or you give the shape of ...' }],
35
+ ['images.blur-regions', { name: 'Blur Regions', description: 'Hide parts of a picture (faces, number plates, names on a screenshot) by blurring, pixelating or covering the rectangles and ellipses you give, in pixels or in percent.' }],
36
+ ['images.checkboxes', { name: 'Read Checkboxes', description: 'Find the checkboxes of a form picture and say which are ticked, with their position, size and how full they are; optionally the picture marked with green (ticked) and ...' }],
37
+ ['images.codes-bulk', { name: 'Bulk Codes from a Sheet', description: 'Make one QR code or barcode for every row of a sheet (CSV, TSV, Excel or JSON) and get them all in one ZIP, named from the sheet, with a manifest.' }],
38
+ ['images.collage', { name: 'Collage Maker', description: 'Make one collage from several pictures: a grid, a row, a column, a masonry of columns, a mosaic of rows with equal height, or a pile of tilted photos with white frames...' }],
39
+ ['images.color-blindness', { name: 'Color Blindness Preview', description: 'Show how a picture looks to a person with protanopia, deuteranopia, tritanopia or achromatopsia, at full or partial strength, alone or next to the original, to check t...' }],
40
+ ['images.credentials', { name: 'Content Credentials', description: 'Read the Content Credentials (C2PA) that a picture may carry: the tool that made it, the edits recorded, the signer, and whether the picture is marked as made or chang...' }],
41
+ ['images.crop-photos', { name: 'Crop Photos from a Scan', description: 'Find several photos laid on a scanner bed or a table, straighten each one and cut it out as its own picture, in reading order.' }],
42
+ ['images.edit-animation', { name: 'Edit Animation', description: 'Edit an animated GIF or WebP: cut frames, keep every Nth frame, reverse it, play it back and forth, change the speed or every frame delay, the loop count, the size, fl...' }],
43
+ ['images.filters', { name: 'Artistic Filters', description: 'Apply an artistic filter: sepia, vintage, duotone, posterize, pixelate, halftone, pencil sketch, vignette or film grain, each with its own settings and a strength that...' }],
44
+ ['images.find-duplicates', { name: 'Find Duplicates', description: 'Find which pictures are the same picture: exact copies, and the same picture saved again at another size, format or quality.' }],
45
+ ['images.invisible-watermark', { name: 'Invisible Watermark', description: 'Hide a short message (up to 64 bytes) in the brightness of a picture to show where it came from, and read it back later with the same key.' }],
46
+ ['images.meme', { name: 'Meme Maker', description: 'Write a top and a bottom text on a picture in the classic bold outlined meme style, or in caption bars above and below the picture.' }],
47
+ ['images.mockup', { name: 'Device Mockup', description: 'Put a screenshot into a phone, tablet, laptop, browser window or desktop monitor, on a colour, a gradient or a transparent background, with a soft shadow.' }],
48
+ ['images.mrz', { name: 'Read Passport or ID Line', description: 'Read the machine-readable zone of a passport, ID card or visa from a picture (or from the text of its lines): the holder, the numbers, the dates, and every ICAO check ...' }],
49
+ ['images.palette', { name: 'Color Palette', description: 'Find the main colours of a picture: each with its share of the picture, hex, RGB and HSL values, the nearest colour name and a text colour that reads on it.' }],
50
+ ['images.parse-code', { name: 'Parse Code Content', description: 'Say what the text of a QR code or barcode means (Wi-Fi login, contact, event, link, phone, message, place, e-mail, payment, one-time-password setup, product number ......' }],
51
+ ['images.passport-photo', { name: 'Passport Photo', description: 'Cut a portrait to the size and shape of an ID photo for a country (or your own size), at print resolution, on the background colour needed, and lay several copies on a...' }],
52
+ ['images.placeholder', { name: 'Placeholder', description: 'Make a plain picture of a given size for a layout, a test or a mock-up: a colour, optional text (the size by default) and an optional pattern, as PNG, JPEG, WebP, AVIF...' }],
53
+ ['images.poster-tiles', { name: 'Poster Tiling', description: 'Cut a big picture into page-size tiles to print and stick together into a poster, with an overlap to glue, crop marks and a label on every tile, as one PDF or a ZIP of...' }],
54
+ ['images.profile-picture', { name: 'Profile Picture Maker', description: 'Turn a photo into a profile picture: cropped around the face (you choose the centre and the zoom), cut into a circle, rounded square, squircle, hexagon or square, with...' }],
55
+ ['images.qr-styled', { name: 'Styled QR Code', description: 'A QR code with a design of your own: dot shapes, eye shapes and colours, a gradient, a logo and a frame with a label, as PNG, JPEG, WebP or SVG.' }],
56
+ ['images.redact-text', { name: 'Redact Text in Image', description: 'Find text in a screenshot or a photo of a document with OCR, match your words or kinds of data (e-mail, phone, card number, IBAN, ...), and cover them with a box, a bl...' }],
57
+ ['images.replace-color', { name: 'Replace Color', description: 'Turn every pixel close to one colour into another colour, or into transparency, with a tolerance and a soft edge; optionally keep the light and dark of the original so...' }],
58
+ ['images.resize-physical', { name: 'Resize in Cm / Inches', description: 'Make a picture the physical size you want: a width and a height in centimetres, millimetres, inches or points at a resolution (dpi), or a paper or photo size such as A...' }],
59
+ ['images.scan-cleanup', { name: 'Scan Cleanup', description: 'Make a scan or a photo of a page look like a clean document: straighten it, cut away the border, even out shadows and uneven light, make the paper white, and give it a...' }],
60
+ ['images.signature', { name: 'Signature from a Photo', description: 'Turn a photo of a signature on paper into a clean picture of just the ink, on a transparent (or white) background, in the colour you choose, trimmed and sized.' }],
61
+ ['images.social-pack', { name: 'Social Size Pack', description: 'Make one picture into every size social networks, ads and web pages ask for (Instagram, Facebook, X, LinkedIn, YouTube, Pinterest, TikTok, link previews ...), cropped ...' }],
62
+ ['images.stamp', { name: 'Company Stamp', description: 'Make a company stamp as a transparent PNG: round, oval or rectangular, with text on an arc or on lines, a centre text, stars, a double border, a slight turn and a worn...' }],
63
+ ['images.sticker', { name: 'Sticker Outline', description: 'Give a cut-out picture the thick outline of a die-cut sticker (and an optional second outline and shadow), following its exact shape; a picture without transparency ge...' }],
64
+ ['images.svg-edit', { name: 'SVG Edit', description: 'Edit an SVG without a vector editor: swap colours, remove elements, set attributes, resize, crop or pad the canvas, add a background, turn or mirror it, and save it as...' }],
65
+ ['images.svg-optimize', { name: 'Optimize SVG', description: 'Make an SVG file smaller (SVGO) and take out anything that could run code: script elements, on* handlers, javascript: links and foreign objects.' }],
32
66
  ]);
@@ -27,4 +27,27 @@ exports.pdfs = (0, define_1.resource)('pdfs', 'PDF', 'Merge, split, optimize, ed
27
27
  'pdfs.sign',
28
28
  'pdfs.verify-signature',
29
29
  'pdfs.compare',
30
+ ['pdfs.annotations', { name: 'PDF Annotations', description: 'List the comments, highlights, notes and links in a PDF, remove the ones you pick, or flatten them into the page so they can no longer be edited.' }],
31
+ ['pdfs.auto-rotate', { name: 'Auto-rotate Pages', description: 'Turn sideways and upside-down scanned pages upright: the text of each page is read to find its orientation, or every wide (or tall) page is turned a quarter.' }],
32
+ ['pdfs.bates', { name: 'Bates Numbering', description: 'Stamp a running identifier on every page of a PDF, such as ACME-000123: a prefix, a number padded with zeros and a suffix, at the corner you choose, as courts and law ...' }],
33
+ ['pdfs.dark-mode', { name: 'Dark Mode PDF', description: 'Re-colour a PDF for reading at night: invert it (white on black), soften it (night) or give the paper a warm tint (sepia).' }],
34
+ ['pdfs.decode-codes', { name: 'Read Codes in a PDF', description: 'Read every QR code and barcode on the chosen pages of a PDF (a scan or a document), with the page it is on and where, with the same decoder and symbologies as the pict...' }],
35
+ ['pdfs.dedupe-pages', { name: 'Remove Duplicate Pages', description: 'Find the pages of a PDF that look the same as another page (a document scanned twice, a repeated cover) and take the extra copies out, keeping the first or the last; o...' }],
36
+ ['pdfs.delete-by-content', { name: 'Delete Pages by Content', description: 'Take out every page that contains certain words or phrases (separator sheets, "Intentionally left blank", a confidential page), or keep only those pages; any or all of...' }],
37
+ ['pdfs.forms-bulk', { name: 'Bulk Fill Forms', description: 'Fill a fillable PDF form once for every row of a sheet (CSV, TSV, Excel or JSON) and get a ZIP of filled PDFs or one merged PDF.' }],
38
+ ['pdfs.ink-coverage', { name: 'Ink Coverage', description: 'Measure how much of each page is covered by cyan, magenta, yellow and black ink, tell colour pages from black-and-white ones, flag pages above an ink limit and estimat...' }],
39
+ ['pdfs.interleave', { name: 'Interleave Scans', description: 'Weave two PDFs into one: the front sides and the back sides of a double-sided stack scanned by a one-sided feeder (front 1, back 1, front 2, back 2 ...), with the back...' }],
40
+ ['pdfs.layers', { name: 'PDF Layers', description: 'List the layers (optional content groups) of a PDF with their on/off state, or switch layers on and off by name: a map without its labels, a drawing without its dimens...' }],
41
+ ['pdfs.links', { name: 'Links in a PDF', description: 'List the links of a PDF (web, e-mail and jumps inside the document), check that the web addresses answer, remove links, or make the web and e-mail addresses written in...' }],
42
+ ['pdfs.outline-text', { name: 'Text to Outlines', description: 'Turn all the text of a PDF into vector outlines so it prints the same everywhere without any font.' }],
43
+ ['pdfs.place-signature', { name: 'Place Signature on a PDF', description: 'Put a picture of a signature on the pages you choose of a PDF: in a corner, at exact coordinates or next to a text such as "Signature:", with opacity, rotation, and an...' }],
44
+ ['pdfs.preflight', { name: 'Print Preflight', description: 'Check a PDF before it goes to a printer: fonts embedded, picture resolution, RGB pictures, mixed page sizes, trim and bleed boxes, encryption and transparency, against...' }],
45
+ ['pdfs.print-marks', { name: 'Print Marks', description: 'Add what a print shop asks for: crop marks, registration marks, colour bars and a page-info line in a margin (slug) around every page, with the trim box and bleed box ...' }],
46
+ ['pdfs.remove-blank', { name: 'Remove Blank Pages', description: 'Find the blank pages of a PDF (typical of double-sided scans) by how much ink they carry inside the margins, and take them out; or only report them.' }],
47
+ ['pdfs.replace-text', { name: 'Find and Replace Text in a PDF', description: 'Find text in a PDF and write other text in its place: each found run is covered with a patch of the paper colour and the new text is drawn over it in a standard font, ...' }],
48
+ ['pdfs.sanitize', { name: 'Sanitize a PDF', description: 'Remove what can run or leak from a PDF before you open or share it: scripts, launch and form-submit actions, embedded files, embedded media, web links and document det...' }],
49
+ ['pdfs.search', { name: 'Search in a PDF', description: 'Find a word or phrase in a PDF text layer and get every match with its page, a little text around it and its position on the page.' }],
50
+ ['pdfs.split-by-code', { name: 'Split Scan by Barcode', description: 'Cut a scanned batch of documents into separate PDFs where a separator sheet with a barcode appears (or where the code value changes), each named from its code, as one ...' }],
51
+ ['pdfs.to-long-image', { name: 'PDF to One Long Image', description: 'Stack the chosen pages of a PDF top to bottom into one tall picture (PNG, JPEG or WebP): a scrolling screenshot of the document for chats, web pages and social posts.' }],
52
+ ['pdfs.validate', { name: 'Validate PDF/A and Accessibility', description: 'Check a PDF against PDF/A (archiving), PDF/UA (accessibility) and the accessibility basics (tags, language, title) in one call, with one pass or fail answer and the ru...' }],
30
53
  ]);
@@ -6,4 +6,20 @@ exports.render = (0, define_1.resource)('render', 'Render', 'Turn HTML, a templa
6
6
  'render.html-to-image',
7
7
  'render.html-to-pdf',
8
8
  'render.chart',
9
+ ['render.calendar', { name: 'Calendar Page', description: 'Make a printable calendar page: a month, a whole year or a week planner, with the week starting on the day you choose, week numbers, marked weekends and holidays, your...' }],
10
+ ['render.code', { name: 'Code to Image', description: 'Turn source code into a picture with syntax colours, line numbers and an optional window frame, ready for slides, documents and social posts.' }],
11
+ ['render.data-report', { name: 'Data Report', description: 'Turn a table (CSV, Excel, JSON ...) into a finished report as a PDF or a picture: a title block, the size of the table, what every column holds, a histogram for each n...' }],
12
+ ['render.designs', { name: 'Certificate / Business Card / Flyer', description: 'Make a certificate, a business card (front, back or both) or a flyer from your words in one of three looks (classic, modern, bold), as a PNG or a PDF at the real paper...' }],
13
+ ['render.diagram', { name: 'Diagram to Image', description: 'Draw a diagram from a short text description: flowcharts, sequence diagrams, class and state diagrams, entity-relationship diagrams, Gantt charts, pie charts, mind map...' }],
14
+ ['render.handwriting', { name: 'Text to Handwriting', description: 'Write a text on lined, squared, dotted or blank paper in a handwriting-like way: every letter sits a little off the line, a little turned and a little different in siz...' }],
15
+ ['render.labels', { name: 'Label Sheet', description: 'Print a list of records (addresses, product names, name badges) on sheets of sticky labels: Avery and other standard layouts or your own measurements, a text template ...' }],
16
+ ['render.map', { name: 'Map Chart', description: 'Draw places (latitude and longitude) as dots or bubbles on a simple world map: sized by a value, coloured by group or value, with labels, a connecting line, a graticul...' }],
17
+ ['render.math', { name: 'Math to Image', description: 'Turn a formula written in LaTeX into a sharp picture with a transparent or coloured background, for documents, slides and web pages.' }],
18
+ ['render.model-3d', { name: '3D Model Preview', description: 'Draw a picture of a 3D model (STL, OBJ or text PLY) from the side or angle you choose, shaded by a light, with edges, a ground shadow, axes and a turntable sheet, and ...' }],
19
+ ['render.resume', { name: 'Resume Builder', description: 'Build a designed resume from data (name, contact, summary, experience, education, skills, projects, languages ...) in one of five templates, as a PDF or a tall PNG, wi...' }],
20
+ ['render.site-capture', { name: 'Capture a Whole Site', description: 'Take a picture of every page of a site: from one start address, the pages reachable by links (same host, to a depth and a page limit), or an exact list of pages.' }],
21
+ ['render.table', { name: 'Table to Image', description: 'Turn a table (pasted CSV or JSON, or a data file) into a clean picture for slides, reports and posts, with themes, stripes, borders and a title.' }],
22
+ ['render.timeline', { name: 'Timeline / Gantt', description: 'Draw a Gantt chart (a bar per task on a time axis, groups, progress, milestones, dependencies, a today line) or a timeline (a line with the events above and below) fro...' }],
23
+ ['render.visual-check', { name: 'Visual Change Check', description: 'Compare two pictures (before and after a change) pixel by pixel: how much changed, where (boxes around the changed areas), and a picture that shows the changes in colo...' }],
24
+ ['render.word-cloud', { name: 'Word Cloud', description: 'Turn a text (or a list of words with weights) into a word cloud: the more often a word occurs, the bigger it is.' }],
9
25
  ]);
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.usage = void 0;
4
4
  const define_1 = require("../../../core/define");
5
5
  exports.usage = (0, define_1.resource)('usage', 'Usage', 'How much of your plan you have used, so a workflow can warn you before it runs out (read only).', 'usage', [
6
- ['usage', { value: 'summary', name: 'Get Summary', description: 'Units used this period and in earlier months.' }],
6
+ ['usage', { value: 'summary', name: 'Get Summary', description: 'Credits used this period and in earlier months.' }],
7
7
  ['usage.breakdown', { value: 'breakdown', name: 'Get Breakdown', description: 'Usage split by action, errors and keys for a time range.' }],
8
+ ['usage.activity', { value: 'activity', name: 'Get Activity Over Time', description: 'Your use over time and per tool, for a time range.' }],
8
9
  ['usage.calls', { value: 'calls', name: 'Get Recent Calls', description: 'The latest calls of one action.' }],
9
10
  ]);
@@ -0,0 +1,10 @@
1
+ Davix H2I SDK License
2
+
3
+ Copyright (c) 2026 Davix Labs. All rights reserved.
4
+
5
+ You may install, copy and use this software, and include it unchanged or modified in your own applications, in order to
6
+ use the Davix H2I API with a Davix H2I account, under the Davix H2I terms of service (https://h2i.davixlabs.io/terms/).
7
+ You may not sell this software on its own, or use it to build or offer a service that competes with Davix H2I.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. TO THE EXTENT THE LAW ALLOWS,
10
+ DAVIX LABS IS NOT LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM THE SOFTWARE OR ITS USE.