@activepieces/piece-logsnag 0.0.2 → 0.0.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 +4 -4
- package/src/i18n/de.json +34 -0
- package/src/i18n/es.json +34 -0
- package/src/i18n/fr.json +34 -0
- package/src/i18n/ja.json +34 -0
- package/src/i18n/nl.json +34 -0
- package/src/i18n/pt.json +34 -0
- package/src/i18n/translation.json +34 -0
- package/src/i18n/zh.json +34 -0
- package/src/index.d.ts +1 -0
- package/src/index.d.ts.map +1 -0
- package/src/lib/actions/create-event.d.ts +1 -0
- package/src/lib/actions/create-event.d.ts.map +1 -0
- package/src/lib/actions/create-event.js +2 -0
- package/src/lib/actions/create-event.js.map +1 -1
- package/src/lib/triggers/new-event-created.d.ts +1 -0
- package/src/lib/triggers/new-event-created.d.ts.map +1 -0
- package/src/lib/triggers/new-event-created.js +3 -0
- package/src/lib/triggers/new-event-created.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-logsnag",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"types": "./src/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@activepieces/pieces-common": "0.
|
|
8
|
-
"@activepieces/pieces-framework": "0.
|
|
9
|
-
"@activepieces/shared": "0.
|
|
7
|
+
"@activepieces/pieces-common": "0.12.3",
|
|
8
|
+
"@activepieces/pieces-framework": "0.30.0",
|
|
9
|
+
"@activepieces/shared": "0.87.1",
|
|
10
10
|
"tslib": "2.6.2"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
package/src/i18n/de.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Your LogSnag API key specific to the project": "Ihr für das Projekt spezifischer LogSnag API-Schlüssel",
|
|
3
|
+
"Create Event": "Ereignis erstellen",
|
|
4
|
+
"Custom API Call": "Eigener API-Aufruf",
|
|
5
|
+
"Creates a new event in LogSnag with the specified channel and details.": "Erstellt ein neues Ereignis in LogSnag mit dem angegebenen Kanal und Details.",
|
|
6
|
+
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
|
|
7
|
+
"Project": "Projekt",
|
|
8
|
+
"Channel": "Kanal",
|
|
9
|
+
"Event": "Ereignis",
|
|
10
|
+
"Description": "Beschreibung",
|
|
11
|
+
"Method": "Methode",
|
|
12
|
+
"Headers": "Kopfzeilen",
|
|
13
|
+
"Query Parameters": "Abfrageparameter",
|
|
14
|
+
"Body Type": "Körpertyp",
|
|
15
|
+
"Body": "Körper",
|
|
16
|
+
"Response is Binary ?": "Antwort ist binär?",
|
|
17
|
+
"No Error on Failure": "Kein Fehler bei Fehler",
|
|
18
|
+
"Timeout (in seconds)": "Timeout (in Sekunden)",
|
|
19
|
+
"Follow redirects": "Weiterleitungen folgen",
|
|
20
|
+
"Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
|
|
21
|
+
"Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
|
|
22
|
+
"GET": "ERHALTEN",
|
|
23
|
+
"POST": "POST",
|
|
24
|
+
"PATCH": "PATCH",
|
|
25
|
+
"PUT": "PUT",
|
|
26
|
+
"DELETE": "LÖSCHEN",
|
|
27
|
+
"HEAD": "HEAD",
|
|
28
|
+
"None": "Keine",
|
|
29
|
+
"JSON": "JSON",
|
|
30
|
+
"Form Data": "Formulardaten",
|
|
31
|
+
"Raw": "Rohe",
|
|
32
|
+
"New event created": "Neues Ereignis erstellt",
|
|
33
|
+
"triggers when a new event ic created and logged": "löst aus, wenn ein neues Ereignis erstellt und protokolliert wird"
|
|
34
|
+
}
|
package/src/i18n/es.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Your LogSnag API key specific to the project": "Su clave API LogSnag específica para el proyecto",
|
|
3
|
+
"Create Event": "Crear Evento",
|
|
4
|
+
"Custom API Call": "Llamada API personalizada",
|
|
5
|
+
"Creates a new event in LogSnag with the specified channel and details.": "Crea un nuevo evento en LogSnag con el canal y detalles especificados.",
|
|
6
|
+
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
|
|
7
|
+
"Project": "Projekt",
|
|
8
|
+
"Channel": "Canal",
|
|
9
|
+
"Event": "Evento",
|
|
10
|
+
"Description": "Descripción",
|
|
11
|
+
"Method": "Método",
|
|
12
|
+
"Headers": "Encabezados",
|
|
13
|
+
"Query Parameters": "Parámetros de consulta",
|
|
14
|
+
"Body Type": "Tipo de cuerpo",
|
|
15
|
+
"Body": "Cuerpo",
|
|
16
|
+
"Response is Binary ?": "¿Respuesta es binaria?",
|
|
17
|
+
"No Error on Failure": "No hay ningún error en fallo",
|
|
18
|
+
"Timeout (in seconds)": "Tiempo de espera (en segundos)",
|
|
19
|
+
"Follow redirects": "Seguir redirecciones",
|
|
20
|
+
"Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
|
|
21
|
+
"Enable for files like PDFs, images, etc.": "Activar para archivos como PDFs, imágenes, etc.",
|
|
22
|
+
"GET": "RECOGER",
|
|
23
|
+
"POST": "POST",
|
|
24
|
+
"PATCH": "PATCH",
|
|
25
|
+
"PUT": "PUT",
|
|
26
|
+
"DELETE": "BORRAR",
|
|
27
|
+
"HEAD": "LIMPIO",
|
|
28
|
+
"None": "Ninguna",
|
|
29
|
+
"JSON": "JSON",
|
|
30
|
+
"Form Data": "Datos de Formulario",
|
|
31
|
+
"Raw": "Rápido",
|
|
32
|
+
"New event created": "Nuevo evento creado",
|
|
33
|
+
"triggers when a new event ic created and logged": "activa cuando se crea y registra un nuevo evento"
|
|
34
|
+
}
|
package/src/i18n/fr.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Your LogSnag API key specific to the project": "Votre clé d'API LogSnag spécifique au projet",
|
|
3
|
+
"Create Event": "Créer un événement",
|
|
4
|
+
"Custom API Call": "Appel d'API personnalisé",
|
|
5
|
+
"Creates a new event in LogSnag with the specified channel and details.": "Crée un nouvel événement dans LogSnag avec le canal et les détails spécifiés.",
|
|
6
|
+
"Make a custom API call to a specific endpoint": "Passer un appel API personnalisé à un endpoint spécifique",
|
|
7
|
+
"Project": "Votre compte",
|
|
8
|
+
"Channel": "Chaîne",
|
|
9
|
+
"Event": "Evénement",
|
|
10
|
+
"Description": "Libellé",
|
|
11
|
+
"Method": "Méthode",
|
|
12
|
+
"Headers": "Headers",
|
|
13
|
+
"Query Parameters": "Paramètres de requête",
|
|
14
|
+
"Body Type": "Body Type",
|
|
15
|
+
"Body": "Body",
|
|
16
|
+
"Response is Binary ?": "La réponse est Binaire ?",
|
|
17
|
+
"No Error on Failure": "Aucune erreur en cas d'échec",
|
|
18
|
+
"Timeout (in seconds)": "Délai d'expiration (en secondes)",
|
|
19
|
+
"Follow redirects": "Suivre les redirections",
|
|
20
|
+
"Authorization headers are injected automatically from your connection.": "Les Headers d'autorisation sont injectés automatiquement à partir de votre connexion.",
|
|
21
|
+
"Enable for files like PDFs, images, etc.": "Activer pour les fichiers comme les PDFs, les images, etc.",
|
|
22
|
+
"GET": "GET",
|
|
23
|
+
"POST": "POST",
|
|
24
|
+
"PATCH": "PATCH",
|
|
25
|
+
"PUT": "PUT",
|
|
26
|
+
"DELETE": "DELETE",
|
|
27
|
+
"HEAD": "HEAD",
|
|
28
|
+
"None": "Aucun",
|
|
29
|
+
"JSON": "JSON",
|
|
30
|
+
"Form Data": "Données du formulaire",
|
|
31
|
+
"Raw": "Brut",
|
|
32
|
+
"New event created": "Nouvel événement créé",
|
|
33
|
+
"triggers when a new event ic created and logged": "se déclenche lorsqu'un nouvel événement est créé et connecté"
|
|
34
|
+
}
|
package/src/i18n/ja.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Your LogSnag API key specific to the project": "プロジェクト固有の LogSnag API キー",
|
|
3
|
+
"Create Event": "イベントを作成",
|
|
4
|
+
"Custom API Call": "カスタムAPI呼び出し",
|
|
5
|
+
"Creates a new event in LogSnag with the specified channel and details.": "指定されたチャンネルと詳細を含む LogSnag に新しいイベントを作成します。",
|
|
6
|
+
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
|
|
7
|
+
"Project": "プロジェクト",
|
|
8
|
+
"Channel": "チャンネル",
|
|
9
|
+
"Event": "イベント",
|
|
10
|
+
"Description": "Description",
|
|
11
|
+
"Method": "方法",
|
|
12
|
+
"Headers": "ヘッダー",
|
|
13
|
+
"Query Parameters": "クエリパラメータ",
|
|
14
|
+
"Body Type": "ボディタイプ",
|
|
15
|
+
"Body": "本文",
|
|
16
|
+
"Response is Binary ?": "応答はバイナリですか?",
|
|
17
|
+
"No Error on Failure": "失敗時にエラーはありません",
|
|
18
|
+
"Timeout (in seconds)": "タイムアウト(秒)",
|
|
19
|
+
"Follow redirects": "リダイレクトをフォローする",
|
|
20
|
+
"Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
|
|
21
|
+
"Enable for files like PDFs, images, etc.": "PDF、画像などのファイルを有効にする",
|
|
22
|
+
"GET": "GET",
|
|
23
|
+
"POST": "POST",
|
|
24
|
+
"PATCH": "PATCH",
|
|
25
|
+
"PUT": "PUT",
|
|
26
|
+
"DELETE": "DELETE",
|
|
27
|
+
"HEAD": "HEAD",
|
|
28
|
+
"None": "なし",
|
|
29
|
+
"JSON": "JSON",
|
|
30
|
+
"Form Data": "フォームデータ",
|
|
31
|
+
"Raw": "Raw",
|
|
32
|
+
"New event created": "新しいイベントが作成されました",
|
|
33
|
+
"triggers when a new event ic created and logged": "新しいイベント icが作成されログに記録されたときにトリガーされます"
|
|
34
|
+
}
|
package/src/i18n/nl.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Your LogSnag API key specific to the project": "Uw LogSnag API-sleutel specifiek voor het project",
|
|
3
|
+
"Create Event": "Gebeurtenis aanmaken",
|
|
4
|
+
"Custom API Call": "Custom API Call",
|
|
5
|
+
"Creates a new event in LogSnag with the specified channel and details.": "Maakt een nieuwe afspraak in LogSnag met het opgegeven kanaal en de details.",
|
|
6
|
+
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
|
|
7
|
+
"Project": "Project",
|
|
8
|
+
"Channel": "Kanaal",
|
|
9
|
+
"Event": "Gebeurtenis",
|
|
10
|
+
"Description": "Beschrijving",
|
|
11
|
+
"Method": "Methode",
|
|
12
|
+
"Headers": "Kopteksten",
|
|
13
|
+
"Query Parameters": "Query parameters",
|
|
14
|
+
"Body Type": "Type lichaam",
|
|
15
|
+
"Body": "Lichaam",
|
|
16
|
+
"Response is Binary ?": "Antwoord is binair?",
|
|
17
|
+
"No Error on Failure": "Geen fout bij fout",
|
|
18
|
+
"Timeout (in seconds)": "Time-out (in seconden)",
|
|
19
|
+
"Follow redirects": "Volg omleidingen",
|
|
20
|
+
"Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
|
|
21
|
+
"Enable for files like PDFs, images, etc.": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc.",
|
|
22
|
+
"GET": "KRIJG",
|
|
23
|
+
"POST": "POSTE",
|
|
24
|
+
"PATCH": "BEKIJK",
|
|
25
|
+
"PUT": "PUT",
|
|
26
|
+
"DELETE": "VERWIJDEREN",
|
|
27
|
+
"HEAD": "HOOFD",
|
|
28
|
+
"None": "geen",
|
|
29
|
+
"JSON": "JSON",
|
|
30
|
+
"Form Data": "Formulieren gegevens",
|
|
31
|
+
"Raw": "Onbewerkte",
|
|
32
|
+
"New event created": "Nieuwe afspraak aangemaakt",
|
|
33
|
+
"triggers when a new event ic created and logged": "activeert wanneer een nieuwe event ic is aangemaakt en gelogd"
|
|
34
|
+
}
|
package/src/i18n/pt.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Your LogSnag API key specific to the project": "Sua chave da API LogSnag específica para o projeto",
|
|
3
|
+
"Create Event": "Criar evento",
|
|
4
|
+
"Custom API Call": "Chamada de API personalizada",
|
|
5
|
+
"Creates a new event in LogSnag with the specified channel and details.": "Cria um novo evento no LogSnag com o canal e os detalhes especificados.",
|
|
6
|
+
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
|
|
7
|
+
"Project": "Projecto",
|
|
8
|
+
"Channel": "Canal",
|
|
9
|
+
"Event": "Evento",
|
|
10
|
+
"Description": "Descrição",
|
|
11
|
+
"Method": "Método",
|
|
12
|
+
"Headers": "Cabeçalhos",
|
|
13
|
+
"Query Parameters": "Parâmetros da consulta",
|
|
14
|
+
"Body Type": "Tipo de Corpo",
|
|
15
|
+
"Body": "Conteúdo",
|
|
16
|
+
"Response is Binary ?": "A resposta é binária ?",
|
|
17
|
+
"No Error on Failure": "Nenhum erro no Failure",
|
|
18
|
+
"Timeout (in seconds)": "Tempo limite (em segundos)",
|
|
19
|
+
"Follow redirects": "Seguir redirecionamentos",
|
|
20
|
+
"Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
|
|
21
|
+
"Enable for files like PDFs, images, etc.": "Habilitar para arquivos como PDFs, imagens, etc.",
|
|
22
|
+
"GET": "OBTER",
|
|
23
|
+
"POST": "POSTAR",
|
|
24
|
+
"PATCH": "COMPRAR",
|
|
25
|
+
"PUT": "COLOCAR",
|
|
26
|
+
"DELETE": "EXCLUIR",
|
|
27
|
+
"HEAD": "CABEÇA",
|
|
28
|
+
"None": "Nenhuma",
|
|
29
|
+
"JSON": "JSON",
|
|
30
|
+
"Form Data": "Dados de Formulário",
|
|
31
|
+
"Raw": "RAW",
|
|
32
|
+
"New event created": "Novo evento criado",
|
|
33
|
+
"triggers when a new event ic created and logged": "Aciona quando um novo evento é criado e registrado"
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Your LogSnag API key specific to the project": "Your LogSnag API key specific to the project",
|
|
3
|
+
"Create Event": "Create Event",
|
|
4
|
+
"Custom API Call": "Custom API Call",
|
|
5
|
+
"Creates a new event in LogSnag with the specified channel and details.": "Creates a new event in LogSnag with the specified channel and details.",
|
|
6
|
+
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
|
7
|
+
"Project": "Project",
|
|
8
|
+
"Channel": "Channel",
|
|
9
|
+
"Event": "Event",
|
|
10
|
+
"Description": "Description",
|
|
11
|
+
"Method": "Method",
|
|
12
|
+
"Headers": "Headers",
|
|
13
|
+
"Query Parameters": "Query Parameters",
|
|
14
|
+
"Body Type": "Body Type",
|
|
15
|
+
"Body": "Body",
|
|
16
|
+
"Response is Binary ?": "Response is Binary ?",
|
|
17
|
+
"No Error on Failure": "No Error on Failure",
|
|
18
|
+
"Timeout (in seconds)": "Timeout (in seconds)",
|
|
19
|
+
"Follow redirects": "Follow redirects",
|
|
20
|
+
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
21
|
+
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
|
|
22
|
+
"GET": "GET",
|
|
23
|
+
"POST": "POST",
|
|
24
|
+
"PATCH": "PATCH",
|
|
25
|
+
"PUT": "PUT",
|
|
26
|
+
"DELETE": "DELETE",
|
|
27
|
+
"HEAD": "HEAD",
|
|
28
|
+
"None": "None",
|
|
29
|
+
"JSON": "JSON",
|
|
30
|
+
"Form Data": "Form Data",
|
|
31
|
+
"Raw": "Raw",
|
|
32
|
+
"New event created": "New event created",
|
|
33
|
+
"triggers when a new event ic created and logged": "triggers when a new event ic created and logged"
|
|
34
|
+
}
|
package/src/i18n/zh.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Your LogSnag API key specific to the project": "Your LogSnag API key specific to the project",
|
|
3
|
+
"Create Event": "Create Event",
|
|
4
|
+
"Custom API Call": "自定义 API 呼叫",
|
|
5
|
+
"Creates a new event in LogSnag with the specified channel and details.": "Creates a new event in LogSnag with the specified channel and details.",
|
|
6
|
+
"Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
|
|
7
|
+
"Project": "项目",
|
|
8
|
+
"Channel": "Channel",
|
|
9
|
+
"Event": "Event",
|
|
10
|
+
"Description": "描述",
|
|
11
|
+
"Method": "方法",
|
|
12
|
+
"Headers": "信头",
|
|
13
|
+
"Query Parameters": "查询参数",
|
|
14
|
+
"Body Type": "Body Type",
|
|
15
|
+
"Body": "正文内容",
|
|
16
|
+
"Response is Binary ?": "Response is Binary ?",
|
|
17
|
+
"No Error on Failure": "失败时没有错误",
|
|
18
|
+
"Timeout (in seconds)": "超时(秒)",
|
|
19
|
+
"Follow redirects": "Follow redirects",
|
|
20
|
+
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
|
|
21
|
+
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
|
|
22
|
+
"GET": "获取",
|
|
23
|
+
"POST": "帖子",
|
|
24
|
+
"PATCH": "PATCH",
|
|
25
|
+
"PUT": "弹出",
|
|
26
|
+
"DELETE": "删除",
|
|
27
|
+
"HEAD": "黑色",
|
|
28
|
+
"None": "无",
|
|
29
|
+
"JSON": "JSON",
|
|
30
|
+
"Form Data": "表单数据",
|
|
31
|
+
"Raw": "原始文件",
|
|
32
|
+
"New event created": "New event created",
|
|
33
|
+
"triggers when a new event ic created and logged": "triggers when a new event ic created and logged"
|
|
34
|
+
}
|
package/src/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export declare const logsnagAuth: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
2
2
|
export declare const logsnag: import("@activepieces/pieces-framework").Piece<import("@activepieces/pieces-framework").SecretTextProperty<true>>;
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW,mEAItB,CAAC;AAEH,eAAO,MAAM,OAAO,mHAmBlB,CAAC"}
|
|
@@ -4,3 +4,4 @@ export declare const createEvent: import("@activepieces/pieces-framework").IActi
|
|
|
4
4
|
event: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
5
|
description: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
6
6
|
}>;
|
|
7
|
+
//# sourceMappingURL=create-event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-event.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/create-event.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;;EA+BtB,CAAC"}
|
|
@@ -10,6 +10,8 @@ exports.createEvent = (0, pieces_framework_1.createAction)({
|
|
|
10
10
|
name: 'createEvent',
|
|
11
11
|
displayName: 'Create Event',
|
|
12
12
|
description: 'Creates a new event in LogSnag with the specified channel and details.',
|
|
13
|
+
audience: 'both',
|
|
14
|
+
aiMetadata: { description: 'Logs a new event to a LogSnag project channel (LogSnag is an event/activity tracking service). Use it to record that something happened — e.g. a signup, payment, or job completion — for monitoring or notification feeds. Requires the project name, channel, and an event title; an optional description adds detail. Not idempotent: each call appends a new event entry, so repeating the same input creates duplicate log entries.', idempotent: false },
|
|
13
15
|
props: {
|
|
14
16
|
project: pieces_framework_1.Property.ShortText({ displayName: "Project", required: true }),
|
|
15
17
|
channel: pieces_framework_1.Property.ShortText({ displayName: "Channel", required: true }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-event.js","sourceRoot":"","sources":["../../../../src/lib/actions/create-event.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DA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CAAC"}
|
|
@@ -16,3 +16,4 @@ export declare const newEventCreated: import("@activepieces/pieces-framework").I
|
|
|
16
16
|
channel: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
17
17
|
event: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
18
18
|
}>;
|
|
19
|
+
//# sourceMappingURL=new-event-created.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"new-event-created.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/new-event-created.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,eAAe,EAAY,MAAM,gCAAgC,CAAC;AAQ1F,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;EA0D1B,CAAA"}
|
|
@@ -15,6 +15,9 @@ exports.newEventCreated = (0, pieces_framework_1.createTrigger)({
|
|
|
15
15
|
name: 'newEventCreated',
|
|
16
16
|
displayName: 'New event created',
|
|
17
17
|
description: 'triggers when a new event ic created and logged',
|
|
18
|
+
aiMetadata: {
|
|
19
|
+
description: 'Fires when a new event is created and logged in LogSnag for the configured project and channel, delivering the logged event payload. Use it to react in real time to tracked activity such as signups, payments, or other recorded events.',
|
|
20
|
+
},
|
|
18
21
|
props: {
|
|
19
22
|
project: pieces_framework_1.Property.ShortText({ displayName: "Project", required: true }),
|
|
20
23
|
channel: pieces_framework_1.Property.ShortText({ displayName: "Channel", required: true }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-event-created.js","sourceRoot":"","sources":["../../../../src/lib/triggers/new-event-created.ts"],"names":[],"mappings":";;;;AAAA,8BAAmC;AACnC,+DAAqE;AACrE,qEAA0F;AAE1F,wDAAwD;AACxD,kDAAkD;AAClD,6CAA6C;AAC7C,sDAAsD;AACtD,kBAAkB;AAEL,QAAA,eAAe,GAAG,IAAA,gCAAa,EAAC;IACzC,IAAI,EAAE,eAAW;IACjB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,mBAAmB;IAChC,WAAW,E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AAA;IACK,SAAS,CAAC,OAAO;;YACnB,MAAM,SAAS,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,GAAG,CAAS,kBAAkB,CAAC,CAAC;YACtE,IAAI,SAAS,EAAE,CAAC;gBACZ,MAAM,0BAAU,CAAC,WAAW,CAAC;oBAC7B,MAAM,EAAE,0BAAU,CAAC,MAAM;oBACzB,GAAG,EAAE,uCAAuC,SAAS,GAAG;oBACxD,OAAO,EAAE;wBACL,aAAa,EAAE,UAAU,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE;wBACnD,cAAc,EAAE,kBAAkB;qBACrC;iBACA,CAAC,CAAC;gBACH,MAAM,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;YACnD,CAAC;QACL,CAAC;KAAA;IACK,GAAG,CAAC,OAAO;;YACb,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC;YACrC,OAAO,CAAC,OAAO,CAAC,CAAC;QACrB,CAAC;KAAA;CACJ,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"new-event-created.js","sourceRoot":"","sources":["../../../../src/lib/triggers/new-event-created.ts"],"names":[],"mappings":";;;;AAAA,8BAAmC;AACnC,+DAAqE;AACrE,qEAA0F;AAE1F,wDAAwD;AACxD,kDAAkD;AAClD,6CAA6C;AAC7C,sDAAsD;AACtD,kBAAkB;AAEL,QAAA,eAAe,GAAG,IAAA,gCAAa,EAAC;IACzC,IAAI,EAAE,eAAW;IACjB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,mBAAmB;IAChC,WAAW,EAAE,iDAAiD;IAC9D,UAAU,EAAE;QACR,WAAW,EAAE,4OAA4O;KAC5P;IACD,KAAK,EAAE;QACH,OAAO,EAAE,2BAAQ,CAAC,SAAS,CAAC,EAAC,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC;QACrE,OAAO,EAAE,2BAAQ,CAAC,SAAS,CAAC,EAAC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