@activepieces/piece-documentpro 0.2.3 → 0.2.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@activepieces/piece-documentpro",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "dependencies": {},
package/src/i18n/de.json CHANGED
@@ -26,9 +26,9 @@
26
26
  "Query Parameters": "Abfrageparameter",
27
27
  "Body Type": "Körpertyp",
28
28
  "Body": "Körper",
29
- "Response is Binary ?": "Antwort ist binär?",
30
- "No Error on Failure": "Kein Fehler bei Fehler",
31
- "Timeout (in seconds)": "Timeout (in Sekunden)",
29
+ "Response is Binary": "Antwort ist binär?",
30
+ "Return Error as Output": "Return Error as Output",
31
+ "Timeout": "Timeout",
32
32
  "Follow redirects": "Weiterleitungen folgen",
33
33
  "The document file to upload (PDF, JPEG, PNG, or TIFF, max 6MB)": "Die hochzuladende Dokumentdatei (PDF, JPEG, PNG, oder TIFF, max. 6MB)",
34
34
  "The unique identifier of the document to parse": "Der eindeutige Bezeichner des zu analysierenden Dokuments",
@@ -45,7 +45,11 @@
45
45
  "Regex pattern to split the document into sections (requires use_ocr=true)": "Regex-Muster um das Dokument in Abschnitte zu teilen (benötigt use_ocr=true)",
46
46
  "Use all regex matches instead of just the first (requires use_ocr=true)": "Alle regex-Übereinstimmungen anstelle der ersten verwenden (erfordert use_ocr=true)",
47
47
  "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
48
+ "Appended to the URL as ?key=value.": "Wird als ?key=value an die URL angehängt.",
48
49
  "Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
50
+ "On a failed request, output the error instead of failing the step.": "Bei einer fehlgeschlagenen Anfrage den Fehler ausgeben, statt den Schritt abzubrechen.",
51
+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Sekunden bis zur Antwort. Leer: bis zum Flow-Limit (10 Min.).",
52
+ "Follow 3xx redirects instead of returning them as the response.": "3xx-Weiterleitungen folgen, statt sie als Antwort zurückzugeben.",
49
53
  "GPT-4o Mini": "GPT-4o Mini",
50
54
  "GPT-4o": "GPT-4o",
51
55
  "GPT-3.5 Turbo": "GPT-3.5 Turbo",
@@ -55,10 +59,8 @@
55
59
  "PUT": "PUT",
56
60
  "DELETE": "LÖSCHEN",
57
61
  "HEAD": "HEAD",
58
- "None": "Keine",
59
- "JSON": "JSON",
60
- "Form Data": "Formulardaten",
61
- "Raw": "Rohe",
62
+ "Request": "Anfrage",
63
+ "Data to send": "Zu sendende Daten",
62
64
  "New Document": "Neues Dokument",
63
65
  "Triggers when a new document is uploaded to DocumentPro": "Löst aus, wenn ein neues Dokument in DocumentPro hochgeladen wird",
64
66
  "Markdown": "Markdown",
package/src/i18n/es.json CHANGED
@@ -59,8 +59,8 @@
59
59
  "PUT": "PUT",
60
60
  "DELETE": "BORRAR",
61
61
  "HEAD": "LIMPIO",
62
- "Request": "Request",
63
- "Data to send": "Data to send",
62
+ "Request": "Solicitud",
63
+ "Data to send": "Datos a enviar",
64
64
  "New Document": "Nuevo documento",
65
65
  "Triggers when a new document is uploaded to DocumentPro": "Dispara cuando un nuevo documento se sube a DocumentPro",
66
66
  "Markdown": "Markdown",
package/src/i18n/ja.json CHANGED
@@ -26,9 +26,9 @@
26
26
  "Query Parameters": "クエリパラメータ",
27
27
  "Body Type": "ボディタイプ",
28
28
  "Body": "本文",
29
- "Response is Binary ?": "応答はバイナリですか?",
30
- "No Error on Failure": "失敗時にエラーはありません",
31
- "Timeout (in seconds)": "タイムアウト(秒)",
29
+ "Response is Binary": "応答はバイナリですか?",
30
+ "Return Error as Output": "Return Error as Output",
31
+ "Timeout": "Timeout",
32
32
  "Follow redirects": "リダイレクトをフォローする",
33
33
  "The document file to upload (PDF, JPEG, PNG, or TIFF, max 6MB)": "アップロードするドキュメントファイル(PDF、JPEG、PNG、TIFF、最大6MB)",
34
34
  "The unique identifier of the document to parse": "解析するドキュメントの一意の識別子",
@@ -45,7 +45,11 @@
45
45
  "Regex pattern to split the document into sections (requires use_ocr=true)": "ドキュメントをセクションに分割するための正規表現パターン(use_ocr=trueが必要)",
46
46
  "Use all regex matches instead of just the first (requires use_ocr=true)": "最初の正規表現の代わりにすべての正規表現を使用する (use_ocr=trueが必要)",
47
47
  "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
48
+ "Appended to the URL as ?key=value.": "URLの末尾に ?key=value の形で追加されます。",
48
49
  "Enable for files like PDFs, images, etc.": "PDF、画像などのファイルを有効にする",
50
+ "On a failed request, output the error instead of failing the step.": "リクエスト失敗時にステップを失敗させず、エラーを出力します。",
51
+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "応答を待つ秒数です。空欄にすると、フローの上限(10分)まで待ちます。",
52
+ "Follow 3xx redirects instead of returning them as the response.": "オンにすると、3xx のリダイレクトを応答として返さずに、リダイレクト先をたどります。",
49
53
  "GPT-4o Mini": "GPT-4o Mini",
50
54
  "GPT-4o": "GPT-4o",
51
55
  "GPT-3.5 Turbo": "GPT-3.5 Turbo",
@@ -55,10 +59,8 @@
55
59
  "PUT": "PUT",
56
60
  "DELETE": "削除",
57
61
  "HEAD": "頭",
58
- "None": "なし",
59
- "JSON": "JSON",
60
- "Form Data": "フォームデータ",
61
- "Raw": "Raw",
62
+ "Request": "リクエスト",
63
+ "Data to send": "送信するデータ",
62
64
  "New Document": "新しいドキュメント",
63
65
  "Triggers when a new document is uploaded to DocumentPro": "新しいドキュメントが DocumentPro にアップロードされたときにトリガーする",
64
66
  "Markdown": "Markdown",
package/src/i18n/nl.json CHANGED
@@ -26,9 +26,9 @@
26
26
  "Query Parameters": "Query parameters",
27
27
  "Body Type": "Type lichaam",
28
28
  "Body": "Lichaam",
29
- "Response is Binary ?": "Antwoord is binair?",
30
- "No Error on Failure": "Geen fout bij fout",
31
- "Timeout (in seconds)": "Time-out (in seconden)",
29
+ "Response is Binary": "Antwoord is binair?",
30
+ "Return Error as Output": "Return Error as Output",
31
+ "Timeout": "Timeout",
32
32
  "Follow redirects": "Volg omleidingen",
33
33
  "The document file to upload (PDF, JPEG, PNG, or TIFF, max 6MB)": "Het te uploaden documentbestand (PDF, JPEG, PNG, or TIFF, max 6MB)",
34
34
  "The unique identifier of the document to parse": "De unieke id van het document om te parsen",
@@ -45,7 +45,11 @@
45
45
  "Regex pattern to split the document into sections (requires use_ocr=true)": "Regex patroon om het document te splitsen in secties (vereist use_ocr=true)",
46
46
  "Use all regex matches instead of just the first (requires use_ocr=true)": "Gebruik alle regex overeenkomsten in plaats van slechts de eerste (vereist use_ocr=true)",
47
47
  "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
48
+ "Appended to the URL as ?key=value.": "Toegevoegd aan de URL als ?key=value.",
48
49
  "Enable for files like PDFs, images, etc.": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc.",
50
+ "On a failed request, output the error instead of failing the step.": "Bij een mislukt verzoek de fout als uitvoer geven in plaats van de stap te laten mislukken.",
51
+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Seconden wachten op een antwoord. Leeg: tot de flowlimiet (10 min).",
52
+ "Follow 3xx redirects instead of returning them as the response.": "3xx-omleidingen volgen in plaats van ze als antwoord terug te geven.",
49
53
  "GPT-4o Mini": "GPT-4o Mini",
50
54
  "GPT-4o": "GPT-4o",
51
55
  "GPT-3.5 Turbo": "GPT-3.5 Turbo",
@@ -55,10 +59,8 @@
55
59
  "PUT": "PUT",
56
60
  "DELETE": "VERWIJDEREN",
57
61
  "HEAD": "HOOFD",
58
- "None": "geen",
59
- "JSON": "JSON",
60
- "Form Data": "Formulieren gegevens",
61
- "Raw": "Onbewerkte",
62
+ "Request": "Verzoek",
63
+ "Data to send": "Gegevens om te verzenden",
62
64
  "New Document": "Nieuw Document",
63
65
  "Triggers when a new document is uploaded to DocumentPro": "Triggers wanneer een nieuw document is geüpload naar DocumentPro",
64
66
  "Markdown": "Markdown",
package/src/i18n/pt.json CHANGED
@@ -26,9 +26,9 @@
26
26
  "Query Parameters": "Parâmetros da consulta",
27
27
  "Body Type": "Tipo de Corpo",
28
28
  "Body": "Conteúdo",
29
- "Response is Binary ?": "A resposta é binária ?",
30
- "No Error on Failure": "Nenhum erro no Failure",
31
- "Timeout (in seconds)": "Tempo limite (em segundos)",
29
+ "Response is Binary": "A resposta é binária ?",
30
+ "Return Error as Output": "Return Error as Output",
31
+ "Timeout": "Timeout",
32
32
  "Follow redirects": "Seguir redirecionamentos",
33
33
  "The document file to upload (PDF, JPEG, PNG, or TIFF, max 6MB)": "O arquivo do documento a ser enviado (PDF, JPEG, PNG, ou TIFF, máx. 6MB)",
34
34
  "The unique identifier of the document to parse": "O identificador exclusivo do documento para analisar",
@@ -45,7 +45,11 @@
45
45
  "Regex pattern to split the document into sections (requires use_ocr=true)": "Padrão Regex para dividir o documento em seções (requer use_ocr=true)",
46
46
  "Use all regex matches instead of just the first (requires use_ocr=true)": "Usar todas correspondências regex ao invés de apenas o primeiro (requer use_ocr=true)",
47
47
  "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
48
+ "Appended to the URL as ?key=value.": "Adicionado à URL como ?key=value.",
48
49
  "Enable for files like PDFs, images, etc.": "Habilitar para arquivos como PDFs, imagens, etc.",
50
+ "On a failed request, output the error instead of failing the step.": "Se a requisição falhar, retorna o erro em vez de falhar a etapa.",
51
+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Segundos de espera pela resposta. Vazio: até o limite do fluxo (10 min).",
52
+ "Follow 3xx redirects instead of returning them as the response.": "Seguir redirecionamentos 3xx em vez de retorná-los como resposta.",
49
53
  "GPT-4o Mini": "GPT-4o Mini",
50
54
  "GPT-4o": "GPT-4o",
51
55
  "GPT-3.5 Turbo": "Turbo GPT-3.5",
@@ -55,10 +59,8 @@
55
59
  "PUT": "COLOCAR",
56
60
  "DELETE": "EXCLUIR",
57
61
  "HEAD": "CABEÇA",
58
- "None": "Nenhuma",
59
- "JSON": "JSON",
60
- "Form Data": "Dados de Formulário",
61
- "Raw": "RAW",
62
+ "Request": "Solicitação",
63
+ "Data to send": "Dados a enviar",
62
64
  "New Document": "Novo documento",
63
65
  "Triggers when a new document is uploaded to DocumentPro": "Dispara quando um novo documento é carregado para o DocumentPro",
64
66
  "Markdown": "Markdown",
package/src/i18n/zh.json CHANGED
@@ -1,66 +1,68 @@
1
1
  {
2
- "DocumentPro is an AI-powered document processing platform that automates data extraction from various document types using advanced machine learning algorithms.": "DocumentPro is an AI-powered document processing platform that automates data extraction from various document types using advanced machine learning algorithms.",
3
- "\nTo get your DocumentPro API Key:\n\n1. **Login** to your DocumentPro account\n2. **Go to** https://app.documentpro.ai/workflows\n3. **Select** a workflow\n4. **Change tab** to \"Workflow\" from the top bar\n5. **Find** the \"Upload\" tab\n6. **Click** \"Upload via API\"\n7. **Click** the \"Generate API Key\" button\n8. **Copy** your API key and paste it here\n ": "\nTo get your DocumentPro API Key:\n\n1. **Login** to your DocumentPro account\n2. **Go to** https://app.documentpro.ai/workflows\n3. **Select** a workflow\n4. **Change tab** to \"Workflow\" from the top bar\n5. **Find** the \"Upload\" tab\n6. **Click** \"Upload via API\"\n7. **Click** the \"Generate API Key\" button\n8. **Copy** your API key and paste it here\n ",
4
- "Upload document": "Upload document",
5
- "Run Extract": "Run Extract",
2
+ "DocumentPro is an AI-powered document processing platform that automates data extraction from various document types using advanced machine learning algorithms.": "DocumentPro 是一个AI驱动的文件处理平台,它将使用高级机器学习算法从各种文件类型中提取数据自动化。",
3
+ "\nTo get your DocumentPro API Key:\n\n1. **Login** to your DocumentPro account\n2. **Go to** https://app.documentpro.ai/workflows\n3. **Select** a workflow\n4. **Change tab** to \"Workflow\" from the top bar\n5. **Find** the \"Upload\" tab\n6. **Click** \"Upload via API\"\n7. **Click** the \"Generate API Key\" button\n8. **Copy** your API key and paste it here\n ": "\n要获取你的 DocumentPro API Key:\n\n1. **登录** 到你的 DocumentPro 账户\n2. **前往** https://app.documentpro.ai/workflows\n3. **选择** 一个工作流\n4. 在顶部栏将标签切换到“Workflow”\n5. **找到** “Upload” 标签\n6. **点击** “Upload via API”\n7. **点击** “Generate API Key” 按钮\n8. **复制** 你的 API key 并粘贴到这里\n ",
4
+ "Upload document": "上传文档",
5
+ "Run Extract": "运行提款",
6
6
  "Custom API Call": "自定义 API 呼叫",
7
- "Uploads a document to a DocumentPro parser": "Uploads a document to a DocumentPro parser",
8
- "Run an extract/workflow on an uploaded document": "Run an extract/workflow on an uploaded document",
7
+ "Uploads a document to a DocumentPro parser": "上传文档到 DocumentPro 解析器",
8
+ "Run an extract/workflow on an uploaded document": "在上传的文档上运行一个抽取/工作流程",
9
9
  "Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
10
10
  "File": "文件",
11
- "Document ID": "Document ID",
12
- "Template ID": "Template ID",
13
- "Use OCR": "Use OCR",
14
- "Query Model": "Query Model",
15
- "Detect Layout": "Detect Layout",
16
- "Detect Tables": "Detect Tables",
17
- "Page Ranges": "Page Ranges",
18
- "Chunk by Pages": "Chunk by Pages",
19
- "Rolling Window": "Rolling Window",
20
- "Start Regex": "Start Regex",
21
- "End Regex": "End Regex",
22
- "Split Regex": "Split Regex",
23
- "Use All Matches": "Use All Matches",
11
+ "Document ID": "文档 ID",
12
+ "Template ID": "模板 ID",
13
+ "Use OCR": "使用 OCR",
14
+ "Query Model": "查询模型",
15
+ "Detect Layout": "检测布局",
16
+ "Detect Tables": "检测表",
17
+ "Page Ranges": "页面范围",
18
+ "Chunk by Pages": "按页面排列的模块",
19
+ "Rolling Window": "滚动窗口",
20
+ "Start Regex": "开始正则表达式",
21
+ "End Regex": "结束正则表达式",
22
+ "Split Regex": "拆分正则表达式",
23
+ "Use All Matches": "使用所有比赛",
24
24
  "Method": "方法",
25
25
  "Headers": "信头",
26
26
  "Query Parameters": "查询参数",
27
- "Body Type": "Body Type",
27
+ "Body Type": "正文类型",
28
28
  "Body": "正文内容",
29
- "Response is Binary ?": "Response is Binary ?",
30
- "No Error on Failure": "失败时没有错误",
31
- "Timeout (in seconds)": "超时(秒)",
32
- "Follow redirects": "Follow redirects",
33
- "The document file to upload (PDF, JPEG, PNG, or TIFF, max 6MB)": "The document file to upload (PDF, JPEG, PNG, or TIFF, max 6MB)",
34
- "The unique identifier of the document to parse": "The unique identifier of the document to parse",
35
- "The unique identifier of the Workflow/template to use": "The unique identifier of the Workflow/template to use",
36
- "Enable OCR processing (required for gpt-3.5-turbo or OCR-related parameters)": "Enable OCR processing (required for gpt-3.5-turbo or OCR-related parameters)",
37
- "The AI model to use for parsing": "The AI model to use for parsing",
38
- "Detect document layout (requires use_ocr=true)": "Detect document layout (requires use_ocr=true)",
39
- "Detect tables in the document (requires use_ocr=true)": "Detect tables in the document (requires use_ocr=true)",
40
- "Specify which pages to parse (e.g., \"1-3,5,7-9\")": "Specify which pages to parse (e.g., \"1-3,5,7-9\")",
41
- "Number of pages per segment for method 1 segmentation": "Number of pages per segment for method 1 segmentation",
42
- "Window size for method 2 segmentation": "Window size for method 2 segmentation",
43
- "Regex pattern for where parsing should begin (requires use_ocr=true)": "Regex pattern for where parsing should begin (requires use_ocr=true)",
44
- "Regex pattern for where parsing should end (requires use_ocr=true)": "Regex pattern for where parsing should end (requires use_ocr=true)",
45
- "Regex pattern to split the document into sections (requires use_ocr=true)": "Regex pattern to split the document into sections (requires use_ocr=true)",
46
- "Use all regex matches instead of just the first (requires use_ocr=true)": "Use all regex matches instead of just the first (requires use_ocr=true)",
29
+ "Response is Binary": "响应是二进制的?",
30
+ "Return Error as Output": "Return Error as Output",
31
+ "Timeout": "Timeout",
32
+ "Follow redirects": "跟随重定向",
33
+ "The document file to upload (PDF, JPEG, PNG, or TIFF, max 6MB)": "要上传的文档文件 (PDF, JPEG, PNG, 或 TIFF, max 6MB)",
34
+ "The unique identifier of the document to parse": "要解析文档的唯一标识符",
35
+ "The unique identifier of the Workflow/template to use": "要使用的 Workflow/template 唯一标识符",
36
+ "Enable OCR processing (required for gpt-3.5-turbo or OCR-related parameters)": "启用 OCR 处理 (gpt-3.5-turbo 或 OCR 相关参数需要)",
37
+ "The AI model to use for parsing": "用于解析的 AI 模型",
38
+ "Detect document layout (requires use_ocr=true)": "检测文档布局 (需要 use_ocr=true)",
39
+ "Detect tables in the document (requires use_ocr=true)": "检测文档中的表格(需要使用_ocr=true)",
40
+ "Specify which pages to parse (e.g., \"1-3,5,7-9\")": "指定要解析的页面(例如\"1-3,5,7-9\")",
41
+ "Number of pages per segment for method 1 segmentation": "方法1分割的每个部分的页面数",
42
+ "Window size for method 2 segmentation": "方法2分割的窗口大小",
43
+ "Regex pattern for where parsing should begin (requires use_ocr=true)": "正则表达式解析开始的位置 (需要 use_ocr=true)",
44
+ "Regex pattern for where parsing should end (requires use_ocr=true)": "正则表达式解析结束的位置 (需要 use_ocr=true)",
45
+ "Regex pattern to split the document into sections (requires use_ocr=true)": "正则表达式将文档分割成章节(需要 use_ocr=true)",
46
+ "Use all regex matches instead of just the first (requires use_ocr=true)": "使用所有正则表达式匹配,而不仅仅是第一个(需要 use_ocr=true)",
47
47
  "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
48
- "Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
48
+ "Appended to the URL as ?key=value.": "附加到 URL 后作为 ?key=value。",
49
+ "Enable for files like PDFs, images, etc.": "启用 PDF、图像等文件。",
50
+ "On a failed request, output the error instead of failing the step.": "在请求失败时,输出错误而不是使步骤失败。",
51
+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "等待响应的秒数。留空:最多按流程限制(10 分钟)。",
52
+ "Follow 3xx redirects instead of returning them as the response.": "跟随 3xx 重定向,而不是将其作为响应返回。",
49
53
  "GPT-4o Mini": "GPT-4o Mini",
50
54
  "GPT-4o": "GPT-4o",
51
- "GPT-3.5 Turbo": "GPT-3.5 Turbo",
55
+ "GPT-3.5 Turbo": "GPT-3.5 涡轮机",
52
56
  "GET": "获取",
53
57
  "POST": "帖子",
54
58
  "PATCH": "PATCH",
55
59
  "PUT": "弹出",
56
60
  "DELETE": "删除",
57
61
  "HEAD": "黑色",
58
- "None": "无",
59
- "JSON": "JSON",
60
- "Form Data": "表单数据",
61
- "Raw": "原始文件",
62
- "New Document": "New Document",
63
- "Triggers when a new document is uploaded to DocumentPro": "Triggers when a new document is uploaded to DocumentPro",
62
+ "Request": "请求",
63
+ "Data to send": "要发送的数据",
64
+ "New Document": "新建文档",
65
+ "Triggers when a new document is uploaded to DocumentPro": "当新文档上传到 DocumentPro 时触发",
64
66
  "Markdown": "Markdown",
65
- "\n**In DocumentPro Dashboard:**\n - Navigate to your desired Workflow\n - Go to the \"Workflow\" tab\n - Find the \"Webhook Notification\" option in the export section\n - Set the Webhook Endpoint URL to:\n ```text\n\t\t\t{{webhookUrl}}\n\t\t\t```\n - Click Save\n\n ": "\n**In DocumentPro Dashboard:**\n - Navigate to your desired Workflow\n - Go to the \"Workflow\" tab\n - Find the \"Webhook Notification\" option in the export section\n - Set the Webhook Endpoint URL to:\n ```text\n\t\t\t{{webhookUrl}}\n\t\t\t```\n - Click Save\n\n "
67
+ "\n**In DocumentPro Dashboard:**\n - Navigate to your desired Workflow\n - Go to the \"Workflow\" tab\n - Find the \"Webhook Notification\" option in the export section\n - Set the Webhook Endpoint URL to:\n ```text\n\t\t\t{{webhookUrl}}\n\t\t\t```\n - Click Save\n\n ": "\n**在 DocumentPro 仪表板中:**\n - 导航到你想要的工作流\n - 前往 “Workflow” 标签\n - 在导出部分找到 “Webhook Notification” 选项\n - 将 Webhook Endpoint URL 设置为:\n ```text\n\t\t\t{{webhookUrl}}\n\t\t\t```\n - 点击保存\n\n "
66
68
  }