@activepieces/piece-fragment 0.0.2 → 0.1.1
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 +9 -6
- package/src/i18n/de.json +7 -1
- package/src/i18n/es.json +7 -1
- package/src/i18n/fr.json +7 -1
- package/src/i18n/ja.json +7 -1
- package/src/i18n/nl.json +7 -1
- package/src/i18n/pt.json +7 -1
- package/src/i18n/translation.json +7 -1
- package/src/i18n/zh.json +7 -1
- package/src/lib/actions/custom-api-call.d.ts +5 -3
- package/src/lib/common/client.d.ts +3 -1
- package/src/lib/common/client.js +1 -1
- package/src/lib/common/client.js.map +1 -1
- package/src/lib/triggers/new-task.d.ts +1 -1
- package/src/lib/triggers/new-task.js.map +1 -1
- package/src/lib/triggers/task-updated.d.ts +1 -1
- package/src/lib/triggers/task-updated.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-fragment",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@sinclair/typebox": "0.34.11",
|
|
9
|
-
"
|
|
9
|
+
"ai": "^6.0.0",
|
|
10
|
+
"axios": "1.13.1",
|
|
10
11
|
"axios-retry": "4.4.1",
|
|
11
12
|
"dayjs": "^1.11.7",
|
|
12
13
|
"deepmerge-ts": "7.1.0",
|
|
14
|
+
"form-data": "4.0.4",
|
|
15
|
+
"i18next": "23.13.0",
|
|
13
16
|
"mime-types": "2.1.35",
|
|
14
17
|
"nanoid": "3.3.8",
|
|
15
18
|
"semver": "7.6.0",
|
|
16
19
|
"socket.io-client": "4.8.1",
|
|
17
20
|
"tslib": "^2.3.0",
|
|
18
|
-
"zod": "
|
|
19
|
-
"@activepieces/pieces-common": "0.
|
|
20
|
-
"@activepieces/pieces-framework": "0.
|
|
21
|
-
"@activepieces/shared": "0.
|
|
21
|
+
"zod": "4.1.13",
|
|
22
|
+
"@activepieces/pieces-common": "0.11.2",
|
|
23
|
+
"@activepieces/pieces-framework": "0.24.0",
|
|
24
|
+
"@activepieces/shared": "0.32.0"
|
|
22
25
|
},
|
|
23
26
|
"resolutions": {
|
|
24
27
|
"rollup": "npm:@rollup/wasm-node"
|
package/src/i18n/de.json
CHANGED
|
@@ -24,10 +24,12 @@
|
|
|
24
24
|
"Method": "Methode",
|
|
25
25
|
"Headers": "Kopfzeilen",
|
|
26
26
|
"Query Parameters": "Abfrageparameter",
|
|
27
|
+
"Body Type": "Körpertyp",
|
|
27
28
|
"Body": "Körper",
|
|
28
29
|
"Response is Binary ?": "Antwort ist binär?",
|
|
29
30
|
"No Error on Failure": "Kein Fehler bei Fehler",
|
|
30
31
|
"Timeout (in seconds)": "Timeout (in Sekunden)",
|
|
32
|
+
"Follow redirects": "Weiterleitungen folgen",
|
|
31
33
|
"The title of the task": "Der Titel der Aufgabe",
|
|
32
34
|
"A URL associated with the task (e.g., link to a ticket or resource)": "Eine URL, die der Aufgabe zugeordnet ist (z.B. Link zu einem Ticket oder einer Ressource)",
|
|
33
35
|
"When the task is due": "Wenn die Aufgabe fällig ist",
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
"Maximum number of tasks to return (default: 50)": "Maximale Anzahl der zurückzugebenden Aufgaben (Standard: 50)",
|
|
49
51
|
"The unique identifier of the task to delete": "Der eindeutige Identifikator der zu löschenden Aufgabe",
|
|
50
52
|
"Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
|
|
51
|
-
"Enable for files like PDFs, images, etc
|
|
53
|
+
"Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
|
|
52
54
|
"TODO": "TODO",
|
|
53
55
|
"STARTED": "GESETZT",
|
|
54
56
|
"DONE": "Fertig",
|
|
@@ -58,6 +60,10 @@
|
|
|
58
60
|
"PUT": "PUT",
|
|
59
61
|
"DELETE": "LÖSCHEN",
|
|
60
62
|
"HEAD": "HEAD",
|
|
63
|
+
"None": "Keine",
|
|
64
|
+
"JSON": "JSON",
|
|
65
|
+
"Form Data": "Formulardaten",
|
|
66
|
+
"Raw": "Rohe",
|
|
61
67
|
"New Task": "Neue Aufgabe",
|
|
62
68
|
"Task Updated": "Aufgabe aktualisiert",
|
|
63
69
|
"Triggers when a new task is created.": "Wird ausgelöst, wenn eine neue Aufgabe erstellt wird.",
|
package/src/i18n/es.json
CHANGED
|
@@ -24,10 +24,12 @@
|
|
|
24
24
|
"Method": "Método",
|
|
25
25
|
"Headers": "Encabezados",
|
|
26
26
|
"Query Parameters": "Parámetros de consulta",
|
|
27
|
+
"Body Type": "Tipo de cuerpo",
|
|
27
28
|
"Body": "Cuerpo",
|
|
28
29
|
"Response is Binary ?": "¿Respuesta es binaria?",
|
|
29
30
|
"No Error on Failure": "No hay ningún error en fallo",
|
|
30
31
|
"Timeout (in seconds)": "Tiempo de espera (en segundos)",
|
|
32
|
+
"Follow redirects": "Seguir redirecciones",
|
|
31
33
|
"The title of the task": "El título de la tarea",
|
|
32
34
|
"A URL associated with the task (e.g., link to a ticket or resource)": "Una URL asociada con la tarea (por ejemplo, enlace a un ticket o recurso)",
|
|
33
35
|
"When the task is due": "Cuando la tarea vence",
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
"Maximum number of tasks to return (default: 50)": "Número máximo de tareas a devolver (por defecto: 50)",
|
|
49
51
|
"The unique identifier of the task to delete": "El identificador único de la tarea a eliminar",
|
|
50
52
|
"Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
|
|
51
|
-
"Enable for files like PDFs, images, etc
|
|
53
|
+
"Enable for files like PDFs, images, etc.": "Activar para archivos como PDFs, imágenes, etc.",
|
|
52
54
|
"TODO": "TODO",
|
|
53
55
|
"STARTED": "BUSCAR",
|
|
54
56
|
"DONE": "HECHO",
|
|
@@ -58,6 +60,10 @@
|
|
|
58
60
|
"PUT": "PUT",
|
|
59
61
|
"DELETE": "BORRAR",
|
|
60
62
|
"HEAD": "LIMPIO",
|
|
63
|
+
"None": "Ninguna",
|
|
64
|
+
"JSON": "JSON",
|
|
65
|
+
"Form Data": "Datos de Formulario",
|
|
66
|
+
"Raw": "Rápido",
|
|
61
67
|
"New Task": "Nueva tarea",
|
|
62
68
|
"Task Updated": "Tarea actualizada",
|
|
63
69
|
"Triggers when a new task is created.": "Se activa cuando se crea una nueva tarea.",
|
package/src/i18n/fr.json
CHANGED
|
@@ -24,10 +24,12 @@
|
|
|
24
24
|
"Method": "Méthode",
|
|
25
25
|
"Headers": "Headers",
|
|
26
26
|
"Query Parameters": "Paramètres de requête",
|
|
27
|
+
"Body Type": "Body Type",
|
|
27
28
|
"Body": "Body",
|
|
28
29
|
"Response is Binary ?": "La réponse est Binaire ?",
|
|
29
30
|
"No Error on Failure": "Aucune erreur en cas d'échec",
|
|
30
31
|
"Timeout (in seconds)": "Délai d'expiration (en secondes)",
|
|
32
|
+
"Follow redirects": "Suivre les redirections",
|
|
31
33
|
"The title of the task": "Le titre de la tâche",
|
|
32
34
|
"A URL associated with the task (e.g., link to a ticket or resource)": "Une URL associée à la tâche (ex: lien vers un ticket ou une ressource)",
|
|
33
35
|
"When the task is due": "Quand la tâche est due",
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
"Maximum number of tasks to return (default: 50)": "Nombre maximum de tâches à retourner (par défaut: 50)",
|
|
49
51
|
"The unique identifier of the task to delete": "L'identifiant unique de la tâche à supprimer",
|
|
50
52
|
"Authorization headers are injected automatically from your connection.": "Les Headers d'autorisation sont injectés automatiquement à partir de votre connexion.",
|
|
51
|
-
"Enable for files like PDFs, images, etc
|
|
53
|
+
"Enable for files like PDFs, images, etc.": "Activer pour les fichiers comme les PDFs, les images, etc.",
|
|
52
54
|
"TODO": "TODO",
|
|
53
55
|
"STARTED": "DÉMARRÉ",
|
|
54
56
|
"DONE": "FAIT",
|
|
@@ -58,6 +60,10 @@
|
|
|
58
60
|
"PUT": "PUT",
|
|
59
61
|
"DELETE": "DELETE",
|
|
60
62
|
"HEAD": "HEAD",
|
|
63
|
+
"None": "Aucun",
|
|
64
|
+
"JSON": "JSON",
|
|
65
|
+
"Form Data": "Données du formulaire",
|
|
66
|
+
"Raw": "Brut",
|
|
61
67
|
"New Task": "Nouvelle tâche",
|
|
62
68
|
"Task Updated": "Tâche mise à jour",
|
|
63
69
|
"Triggers when a new task is created.": "Déclenche quand une nouvelle tâche est créée.",
|
package/src/i18n/ja.json
CHANGED
|
@@ -24,10 +24,12 @@
|
|
|
24
24
|
"Method": "方法",
|
|
25
25
|
"Headers": "ヘッダー",
|
|
26
26
|
"Query Parameters": "クエリパラメータ",
|
|
27
|
+
"Body Type": "ボディタイプ",
|
|
27
28
|
"Body": "本文",
|
|
28
29
|
"Response is Binary ?": "応答はバイナリですか?",
|
|
29
30
|
"No Error on Failure": "失敗時にエラーはありません",
|
|
30
31
|
"Timeout (in seconds)": "タイムアウト(秒)",
|
|
32
|
+
"Follow redirects": "リダイレクトをフォローする",
|
|
31
33
|
"The title of the task": "タスクのタイトル",
|
|
32
34
|
"A URL associated with the task (e.g., link to a ticket or resource)": "タスクに関連付けられた URL (例: チケットまたはリソースへのリンク)",
|
|
33
35
|
"When the task is due": "タスクが期限のとき",
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
"Maximum number of tasks to return (default: 50)": "リターンするタスクの最大数(デフォルト:50)",
|
|
49
51
|
"The unique identifier of the task to delete": "削除するタスクの一意の識別子",
|
|
50
52
|
"Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
|
|
51
|
-
"Enable for files like PDFs, images, etc
|
|
53
|
+
"Enable for files like PDFs, images, etc.": "PDF、画像などのファイルを有効にする",
|
|
52
54
|
"TODO": "TODO",
|
|
53
55
|
"STARTED": "開始",
|
|
54
56
|
"DONE": "完了",
|
|
@@ -58,6 +60,10 @@
|
|
|
58
60
|
"PUT": "PUT",
|
|
59
61
|
"DELETE": "削除",
|
|
60
62
|
"HEAD": "頭",
|
|
63
|
+
"None": "なし",
|
|
64
|
+
"JSON": "JSON",
|
|
65
|
+
"Form Data": "フォームデータ",
|
|
66
|
+
"Raw": "Raw",
|
|
61
67
|
"New Task": "新しいタスク",
|
|
62
68
|
"Task Updated": "タスクを更新しました",
|
|
63
69
|
"Triggers when a new task is created.": "新しいタスクが作成されたときにトリガーされます。",
|
package/src/i18n/nl.json
CHANGED
|
@@ -24,10 +24,12 @@
|
|
|
24
24
|
"Method": "Methode",
|
|
25
25
|
"Headers": "Kopteksten",
|
|
26
26
|
"Query Parameters": "Query parameters",
|
|
27
|
+
"Body Type": "Type lichaam",
|
|
27
28
|
"Body": "Lichaam",
|
|
28
29
|
"Response is Binary ?": "Antwoord is binair?",
|
|
29
30
|
"No Error on Failure": "Geen fout bij fout",
|
|
30
31
|
"Timeout (in seconds)": "Time-out (in seconden)",
|
|
32
|
+
"Follow redirects": "Volg omleidingen",
|
|
31
33
|
"The title of the task": "De titel van de taak",
|
|
32
34
|
"A URL associated with the task (e.g., link to a ticket or resource)": "Een URL die gekoppeld is aan de taak (bijv. link naar een ticket of bron)",
|
|
33
35
|
"When the task is due": "Wanneer de taak klaar is",
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
"Maximum number of tasks to return (default: 50)": "Maximum aantal weer te geven taken (standaard: 50)",
|
|
49
51
|
"The unique identifier of the task to delete": "Het unieke id van de taak te verwijderen",
|
|
50
52
|
"Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
|
|
51
|
-
"Enable for files like PDFs, images, etc
|
|
53
|
+
"Enable for files like PDFs, images, etc.": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc.",
|
|
52
54
|
"TODO": "TODO",
|
|
53
55
|
"STARTED": "BEGIND",
|
|
54
56
|
"DONE": "KLAAR",
|
|
@@ -58,6 +60,10 @@
|
|
|
58
60
|
"PUT": "PUT",
|
|
59
61
|
"DELETE": "VERWIJDEREN",
|
|
60
62
|
"HEAD": "HOOFD",
|
|
63
|
+
"None": "geen",
|
|
64
|
+
"JSON": "JSON",
|
|
65
|
+
"Form Data": "Formulieren gegevens",
|
|
66
|
+
"Raw": "Onbewerkte",
|
|
61
67
|
"New Task": "Nieuwe taak",
|
|
62
68
|
"Task Updated": "Taak bijgewerkt",
|
|
63
69
|
"Triggers when a new task is created.": "Triggert wanneer een nieuwe taak is aangemaakt.",
|
package/src/i18n/pt.json
CHANGED
|
@@ -24,10 +24,12 @@
|
|
|
24
24
|
"Method": "Método",
|
|
25
25
|
"Headers": "Cabeçalhos",
|
|
26
26
|
"Query Parameters": "Parâmetros da consulta",
|
|
27
|
+
"Body Type": "Tipo de Corpo",
|
|
27
28
|
"Body": "Conteúdo",
|
|
28
29
|
"Response is Binary ?": "A resposta é binária ?",
|
|
29
30
|
"No Error on Failure": "Nenhum erro no Failure",
|
|
30
31
|
"Timeout (in seconds)": "Tempo limite (em segundos)",
|
|
32
|
+
"Follow redirects": "Seguir redirecionamentos",
|
|
31
33
|
"The title of the task": "O título da tarefa",
|
|
32
34
|
"A URL associated with the task (e.g., link to a ticket or resource)": "Uma URL associada à tarefa (por exemplo, link para um ticket ou recurso)",
|
|
33
35
|
"When the task is due": "Quando a tarefa expira",
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
"Maximum number of tasks to return (default: 50)": "Número máximo de tarefas a retornar (padrão: 50)",
|
|
49
51
|
"The unique identifier of the task to delete": "O identificador exclusivo da tarefa para excluir",
|
|
50
52
|
"Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
|
|
51
|
-
"Enable for files like PDFs, images, etc
|
|
53
|
+
"Enable for files like PDFs, images, etc.": "Habilitar para arquivos como PDFs, imagens, etc.",
|
|
52
54
|
"TODO": "TODO",
|
|
53
55
|
"STARTED": "INICIADO",
|
|
54
56
|
"DONE": "Concluído",
|
|
@@ -58,6 +60,10 @@
|
|
|
58
60
|
"PUT": "COLOCAR",
|
|
59
61
|
"DELETE": "EXCLUIR",
|
|
60
62
|
"HEAD": "CABEÇA",
|
|
63
|
+
"None": "Nenhuma",
|
|
64
|
+
"JSON": "JSON",
|
|
65
|
+
"Form Data": "Dados de Formulário",
|
|
66
|
+
"Raw": "RAW",
|
|
61
67
|
"New Task": "Nova tarefa",
|
|
62
68
|
"Task Updated": "Tarefa atualizada",
|
|
63
69
|
"Triggers when a new task is created.": "Dispara quando uma nova tarefa é criada.",
|
|
@@ -24,10 +24,12 @@
|
|
|
24
24
|
"Method": "Method",
|
|
25
25
|
"Headers": "Headers",
|
|
26
26
|
"Query Parameters": "Query Parameters",
|
|
27
|
+
"Body Type": "Body Type",
|
|
27
28
|
"Body": "Body",
|
|
28
29
|
"Response is Binary ?": "Response is Binary ?",
|
|
29
30
|
"No Error on Failure": "No Error on Failure",
|
|
30
31
|
"Timeout (in seconds)": "Timeout (in seconds)",
|
|
32
|
+
"Follow redirects": "Follow redirects",
|
|
31
33
|
"The title of the task": "The title of the task",
|
|
32
34
|
"A URL associated with the task (e.g., link to a ticket or resource)": "A URL associated with the task (e.g., link to a ticket or resource)",
|
|
33
35
|
"When the task is due": "When the task is due",
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
"Maximum number of tasks to return (default: 50)": "Maximum number of tasks to return (default: 50)",
|
|
49
51
|
"The unique identifier of the task to delete": "The unique identifier of the task to delete",
|
|
50
52
|
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
51
|
-
"Enable for files like PDFs, images, etc
|
|
53
|
+
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
|
|
52
54
|
"TODO": "TODO",
|
|
53
55
|
"STARTED": "STARTED",
|
|
54
56
|
"DONE": "DONE",
|
|
@@ -58,6 +60,10 @@
|
|
|
58
60
|
"PUT": "PUT",
|
|
59
61
|
"DELETE": "DELETE",
|
|
60
62
|
"HEAD": "HEAD",
|
|
63
|
+
"None": "None",
|
|
64
|
+
"JSON": "JSON",
|
|
65
|
+
"Form Data": "Form Data",
|
|
66
|
+
"Raw": "Raw",
|
|
61
67
|
"New Task": "New Task",
|
|
62
68
|
"Task Updated": "Task Updated",
|
|
63
69
|
"Triggers when a new task is created.": "Triggers when a new task is created.",
|
package/src/i18n/zh.json
CHANGED
|
@@ -24,10 +24,12 @@
|
|
|
24
24
|
"Method": "方法",
|
|
25
25
|
"Headers": "信头",
|
|
26
26
|
"Query Parameters": "查询参数",
|
|
27
|
+
"Body Type": "Body Type",
|
|
27
28
|
"Body": "正文内容",
|
|
28
29
|
"Response is Binary ?": "Response is Binary ?",
|
|
29
30
|
"No Error on Failure": "失败时没有错误",
|
|
30
31
|
"Timeout (in seconds)": "超时(秒)",
|
|
32
|
+
"Follow redirects": "Follow redirects",
|
|
31
33
|
"The title of the task": "The title of the task",
|
|
32
34
|
"A URL associated with the task (e.g., link to a ticket or resource)": "A URL associated with the task (e.g., link to a ticket or resource)",
|
|
33
35
|
"When the task is due": "When the task is due",
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
"Maximum number of tasks to return (default: 50)": "Maximum number of tasks to return (default: 50)",
|
|
49
51
|
"The unique identifier of the task to delete": "The unique identifier of the task to delete",
|
|
50
52
|
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
|
|
51
|
-
"Enable for files like PDFs, images, etc
|
|
53
|
+
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
|
|
52
54
|
"TODO": "TODO",
|
|
53
55
|
"STARTED": "STARTED",
|
|
54
56
|
"DONE": "DONE",
|
|
@@ -58,6 +60,10 @@
|
|
|
58
60
|
"PUT": "弹出",
|
|
59
61
|
"DELETE": "删除",
|
|
60
62
|
"HEAD": "黑色",
|
|
63
|
+
"None": "无",
|
|
64
|
+
"JSON": "JSON",
|
|
65
|
+
"Form Data": "表单数据",
|
|
66
|
+
"Raw": "原始文件",
|
|
61
67
|
"New Task": "New Task",
|
|
62
68
|
"Task Updated": "Task Updated",
|
|
63
69
|
"Triggers when a new task is created.": "Triggers when a new task is created.",
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
export declare const customApiCall: import("dist/packages/pieces/community/framework/src").IAction<import("dist/packages/pieces/community/framework/src").
|
|
2
|
-
url: import("dist/packages/pieces/community/framework/src").DynamicProperties<true>;
|
|
1
|
+
export declare const customApiCall: import("dist/packages/pieces/community/framework/src").IAction<import("dist/packages/pieces/community/framework/src").SecretTextProperty<true>, {
|
|
2
|
+
url: import("dist/packages/pieces/community/framework/src").DynamicProperties<true, import("dist/packages/pieces/community/framework/src").SecretTextProperty<true> | undefined>;
|
|
3
3
|
method: import("dist/packages/pieces/community/framework/src").StaticDropdownProperty<import("@activepieces/pieces-common").HttpMethod, false> | import("dist/packages/pieces/community/framework/src").StaticDropdownProperty<import("@activepieces/pieces-common").HttpMethod, true>;
|
|
4
4
|
headers: import("dist/packages/pieces/community/framework/src").ObjectProperty<false> | import("dist/packages/pieces/community/framework/src").ObjectProperty<true>;
|
|
5
5
|
queryParams: import("dist/packages/pieces/community/framework/src").ObjectProperty<false> | import("dist/packages/pieces/community/framework/src").ObjectProperty<true>;
|
|
6
|
-
|
|
6
|
+
body_type: import("dist/packages/pieces/community/framework/src").StaticDropdownProperty<string, false>;
|
|
7
|
+
body: import("dist/packages/pieces/community/framework/src").DynamicProperties<false, import("dist/packages/pieces/community/framework/src").SecretTextProperty<true> | undefined>;
|
|
7
8
|
response_is_binary: import("dist/packages/pieces/community/framework/src").CheckboxProperty<false>;
|
|
8
9
|
failsafe: import("dist/packages/pieces/community/framework/src").CheckboxProperty<false> | import("dist/packages/pieces/community/framework/src").CheckboxProperty<true>;
|
|
9
10
|
timeout: import("dist/packages/pieces/community/framework/src").NumberProperty<false> | import("dist/packages/pieces/community/framework/src").NumberProperty<true>;
|
|
11
|
+
followRedirects: import("dist/packages/pieces/community/framework/src").CheckboxProperty<false>;
|
|
10
12
|
}>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { HttpMethod } from '@activepieces/pieces-common';
|
|
2
|
+
import { AppConnectionValueForAuthProperty } from '@activepieces/pieces-framework';
|
|
3
|
+
import { fragmentAuth } from './auth';
|
|
2
4
|
export declare const BASE_URL = "https://api.onfragment.com/api/v1";
|
|
3
5
|
export interface FragmentTask {
|
|
4
6
|
uid?: string;
|
|
@@ -15,5 +17,5 @@ export interface FragmentTask {
|
|
|
15
17
|
[key: string]: any;
|
|
16
18
|
}
|
|
17
19
|
export declare const fragmentClient: {
|
|
18
|
-
makeRequest<T extends unknown = any>(method: HttpMethod, path: string, apiKey:
|
|
20
|
+
makeRequest<T extends unknown = any>(method: HttpMethod, path: string, apiKey: AppConnectionValueForAuthProperty<typeof fragmentAuth>, body?: any, queryParams?: Record<string, string>): Promise<T>;
|
|
19
21
|
};
|
package/src/lib/common/client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/fragment/src/lib/common/client.ts"],"names":[],"mappings":";;;;AAAA,+DAAsF;
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/fragment/src/lib/common/client.ts"],"names":[],"mappings":";;;;AAAA,+DAAsF;AAIzE,QAAA,QAAQ,GAAG,mCAAmC,CAAC;AAiB/C,QAAA,cAAc,GAAG;IACtB,WAAW,CACf,MAAkB,EAClB,IAAY,EACZ,MAA8D,EAC9D,IAAU,EACV,WAAoC;;;YAEpC,MAAM,GAAG,GAAG,GAAG,gBAAQ,GAAG,IAAI,EAAE,CAAC;YAEjC,IAAI,CAAC;gBACH,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAI;oBAC/C,MAAM;oBACN,GAAG;oBACH,OAAO,EAAE;wBACP,eAAe,EAAE,UAAU,MAAM,CAAC,WAAW,EAAE;wBAC/C,cAAc,EAAE,kBAAkB;qBACnC;oBACD,IAAI;oBACJ,WAAW;iBACZ,CAAC,CAAC;gBAEH,OAAO,QAAQ,CAAC,IAAI,CAAC;YACvB,CAAC;YAAC,OAAO,KAAU,EAAE,CAAC;gBACpB,MAAM,YAAY,GAAG,CAAA,MAAA,MAAA,KAAK,CAAC,QAAQ,0CAAE,IAAI,0CAAE,OAAO,KAAI,KAAK,CAAC,OAAO,IAAI,wBAAwB,CAAC;gBAChG,MAAM,IAAI,KAAK,CAAC,uBAAuB,YAAY,EAAE,CAAC,CAAC;YACzD,CAAC;QACH,CAAC;KAAA;CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TriggerStrategy } from '@activepieces/pieces-framework';
|
|
2
|
-
export declare const newTaskTrigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}>;
|
|
2
|
+
export declare const newTaskTrigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-task.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/fragment/src/lib/triggers/new-task.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"new-task.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/fragment/src/lib/triggers/new-task.ts"],"names":[],"mappings":";;;;AAAA,qEAAmH;AACnH,yCAA8C;AAC9C,6CAAgE;AAChE,+DAAsE;AACtE,+DAAqF;AACrF,0DAA0B;AAE1B,MAAM,OAAO,GAA2F;IACvG,QAAQ,EAAE,8BAAc,CAAC,SAAS;IAClC,KAAK,EAAE,KAAmC,EAAE,oDAA9B,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACvC,MAAM,MAAM,GAAG,gBAAgB,GAAG,CAAC,CAAC;QAEpC,MAAM,EAAE,GAAgB;YACvB,QAAQ,EAAE,YAAY;YACtB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK;SAC5B,CAAC;QAEF,IAAI,CAAC,MAAM,EAAE,CAAC;YACb,EAAE,CAAC,kBAAkB,CAAC,GAAG,IAAA,eAAK,EAAC,gBAAgB,CAAC,CAAC,WAAW,EAAE,CAAC;QAChE,CAAC;QAED,MAAM,QAAQ,GAAG,MAAM,uBAAc,CAAC,WAAW,CAChD,0BAAU,CAAC,GAAG,EACd,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,EAAE,CACF,CAAC;QAEF,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC3C,iBAAiB,EAAE,IAAA,eAAK,EAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,EAAE;YACnD,IAAI,EAAE,IAAI;SACV,CAAC,CAAC,CAAC;QAEJ,OAAO,KAAK,CAAC;IACd,CAAC,CAAA;CACD,CAAC;AAEW,QAAA,cAAc,GAAG,IAAA,gCAAa,EAAC;IAC3C,IAAI,EAAE,mBAAY;IAClB,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,UAAU;IACvB,W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,2 +1,2 @@
|
|
|
1
1
|
import { TriggerStrategy } from '@activepieces/pieces-framework';
|
|
2
|
-
export declare const taskUpdatedTrigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}>;
|
|
2
|
+
export declare const taskUpdatedTrigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").SecretTextProperty<true>, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-updated.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/fragment/src/lib/triggers/task-updated.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"task-updated.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/fragment/src/lib/triggers/task-updated.ts"],"names":[],"mappings":";;;;AAAA,qEAAmH;AACnH,yCAA8C;AAC9C,6CAAgE;AAChE,+DAAsE;AACtE,+DAAqF;AACrF,0DAA0B;AAE1B,MAAM,OAAO,GAA2F;IACvG,QAAQ,EAAE,8BAAc,CAAC,SAAS;IAClC,KAAK,EAAE,KAAmC,EAAE,oDAA9B,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACvC,MAAM,MAAM,GAAG,gBAAgB,GAAG,CAAC,CAAC;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