@activepieces/piece-stripe 0.5.5 → 0.5.7
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 +6 -6
- package/src/i18n/de.json +26 -0
- package/src/i18n/es.json +26 -0
- package/src/i18n/fr.json +26 -0
- package/src/i18n/ja.json +26 -0
- package/src/i18n/nl.json +26 -0
- package/src/i18n/pt.json +26 -0
- package/src/i18n/ru.json +26 -0
- package/src/i18n/translation.json +26 -0
- package/src/i18n/vi.json +26 -0
- package/src/i18n/zh.json +26 -0
- package/src/index.js +2 -0
- package/src/index.js.map +1 -1
- package/src/lib/actions/search-subscriptions.d.ts +10 -0
- package/src/lib/actions/search-subscriptions.js +194 -0
- package/src/lib/actions/search-subscriptions.js.map +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-stripe",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.7",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@ai-sdk/anthropic": "1.2.12",
|
|
6
6
|
"@ai-sdk/google": "1.2.19",
|
|
@@ -15,10 +15,11 @@
|
|
|
15
15
|
"mime-types": "2.1.35",
|
|
16
16
|
"nanoid": "3.3.8",
|
|
17
17
|
"semver": "7.6.0",
|
|
18
|
+
"stripe": "18.2.1",
|
|
18
19
|
"zod": "3.25.76",
|
|
19
|
-
"@activepieces/pieces-common": "0.6.
|
|
20
|
-
"@activepieces/pieces-framework": "0.
|
|
21
|
-
"@activepieces/shared": "0.17.
|
|
20
|
+
"@activepieces/pieces-common": "0.6.3",
|
|
21
|
+
"@activepieces/pieces-framework": "0.18.0",
|
|
22
|
+
"@activepieces/shared": "0.17.11",
|
|
22
23
|
"tslib": "2.8.1"
|
|
23
24
|
},
|
|
24
25
|
"overrides": {
|
|
@@ -27,8 +28,7 @@
|
|
|
27
28
|
},
|
|
28
29
|
"vite": {
|
|
29
30
|
"rollup": "npm:@rollup/wasm-node"
|
|
30
|
-
}
|
|
31
|
-
"stylus": "0.0.1-security"
|
|
31
|
+
}
|
|
32
32
|
},
|
|
33
33
|
"resolutions": {
|
|
34
34
|
"rollup": "npm:@rollup/wasm-node"
|
package/src/i18n/de.json
CHANGED
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
"Create Customer": "Kunde erstellen",
|
|
6
6
|
"Create Invoice": "Rechnung erstellen",
|
|
7
7
|
"Search Customer": "Kunden suchen",
|
|
8
|
+
"Search Subscriptions": "Abonnements durchsuchen",
|
|
8
9
|
"Retrieve Customer": "Kunde abrufen",
|
|
9
10
|
"Custom API Call": "Eigener API-Aufruf",
|
|
10
11
|
"Create a customer in stripe": "Kunde in Streifen erstellen",
|
|
11
12
|
"Create an Invoice in stripe": "Rechnung in Streifen erstellen",
|
|
12
13
|
"Search for a customer in stripe by email": "Suche nach einem Kunden in Streifen per E-Mail",
|
|
14
|
+
"Search for subscriptions by price ID, status, customer ID and other filters, including customer details": "Suche nach Abonnements nach Preis-ID, Status, Kunden-ID und anderen Filtern, einschließlich der Kundendetails",
|
|
13
15
|
"Retrieve a customer in stripe by id": "Abrufen eines Kunden in Streifen mit Id",
|
|
14
16
|
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
|
|
15
17
|
"Email": "E-Mail",
|
|
@@ -23,6 +25,13 @@
|
|
|
23
25
|
"Country": "Land",
|
|
24
26
|
"Customer ID": "Kunden-ID",
|
|
25
27
|
"Currency": "Währung",
|
|
28
|
+
"Price IDs": "Preis-IDs",
|
|
29
|
+
"Subscription Status": "Abonnementstatus",
|
|
30
|
+
"Created After": "Erstellt nach",
|
|
31
|
+
"Created Before": "Erstellt vor",
|
|
32
|
+
"Limit": "Limit",
|
|
33
|
+
"Fetch All Results": "Alle Ergebnisse abrufen",
|
|
34
|
+
"Include Customer Details": "Kundendaten einbeziehen",
|
|
26
35
|
"ID": "ID",
|
|
27
36
|
"Method": "Methode",
|
|
28
37
|
"Headers": "Kopfzeilen",
|
|
@@ -33,7 +42,24 @@
|
|
|
33
42
|
"Stripe Customer ID": "Stripe-Kunden-ID",
|
|
34
43
|
"Currency for the invoice (e.g., USD)": "Währung für die Rechnung (z. B. USD)",
|
|
35
44
|
"Description for the invoice": "Beschreibung der Rechnung",
|
|
45
|
+
"Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)": "Komma-getrennte Liste der zu filternden Preise (z.B.: price_1ABC123, price_2DEF456)",
|
|
46
|
+
"Filter by subscription status": "Nach Abonnementstatus filtern",
|
|
47
|
+
"Filter by specific customer ID (optional)": "Nach Kunden-ID filtern (optional)",
|
|
48
|
+
"Filter subscriptions created after this date (YYYY-MM-DD format)": "Filterabonnements erstellt nach diesem Datum (Format JJJJ-MM-TT)",
|
|
49
|
+
"Filter subscriptions created before this date (YYYY-MM-DD format)": "Filterabonnements erstellt vor diesem Datum (Format JJJJ-MM-TT)",
|
|
50
|
+
"Maximum number of subscriptions to return (default: 100, set to 0 for all)": "Maximale Anzahl der zurückzugebenden Abonnements (Standard: 100, auf 0 für alle gesetzt)",
|
|
51
|
+
"Fetch all matching subscriptions (ignores limit, may take longer for large datasets)": "Holen Sie sich alle passenden Abonnements (ignoriert Limit, kann länger dauern für große Daten)",
|
|
52
|
+
"Fetch detailed customer information for each subscription": "Rufe detaillierte Kundeninformationen für jedes Abonnement ab",
|
|
36
53
|
"Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
|
|
54
|
+
"All Statuses": "Alle Status",
|
|
55
|
+
"Active": "Aktiv",
|
|
56
|
+
"Past Due": "Vergangene Fälligkeit",
|
|
57
|
+
"Unpaid": "Unbezahlt",
|
|
58
|
+
"Canceled": "Abgebrochen",
|
|
59
|
+
"Incomplete": "Unvollständig",
|
|
60
|
+
"Incomplete Expired": "Unvollständig abgelaufen",
|
|
61
|
+
"Trialing": "Übung",
|
|
62
|
+
"Paused": "Pausiert",
|
|
37
63
|
"GET": "ERHALTEN",
|
|
38
64
|
"POST": "POST",
|
|
39
65
|
"PATCH": "PATCH",
|
package/src/i18n/es.json
CHANGED
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
"Create Customer": "Crear cliente",
|
|
6
6
|
"Create Invoice": "Crear factura",
|
|
7
7
|
"Search Customer": "Buscar cliente",
|
|
8
|
+
"Search Subscriptions": "Search Subscriptions",
|
|
8
9
|
"Retrieve Customer": "Recuperar cliente",
|
|
9
10
|
"Custom API Call": "Llamada API personalizada",
|
|
10
11
|
"Create a customer in stripe": "Crear un cliente en stripe",
|
|
11
12
|
"Create an Invoice in stripe": "Crear una factura en raya",
|
|
12
13
|
"Search for a customer in stripe by email": "Buscar un cliente en stripe por correo electrónico",
|
|
14
|
+
"Search for subscriptions by price ID, status, customer ID and other filters, including customer details": "Search for subscriptions by price ID, status, customer ID and other filters, including customer details",
|
|
13
15
|
"Retrieve a customer in stripe by id": "Recuperar un cliente en stripe por id",
|
|
14
16
|
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
|
|
15
17
|
"Email": "E-mail",
|
|
@@ -23,6 +25,13 @@
|
|
|
23
25
|
"Country": "País",
|
|
24
26
|
"Customer ID": "ID del cliente",
|
|
25
27
|
"Currency": "Moneda",
|
|
28
|
+
"Price IDs": "Price IDs",
|
|
29
|
+
"Subscription Status": "Estado de la suscripción",
|
|
30
|
+
"Created After": "Created After",
|
|
31
|
+
"Created Before": "Creado antes",
|
|
32
|
+
"Limit": "Límite",
|
|
33
|
+
"Fetch All Results": "Fetch All Results",
|
|
34
|
+
"Include Customer Details": "Include Customer Details",
|
|
26
35
|
"ID": "ID",
|
|
27
36
|
"Method": "Método",
|
|
28
37
|
"Headers": "Encabezados",
|
|
@@ -33,7 +42,24 @@
|
|
|
33
42
|
"Stripe Customer ID": "ID de cliente de Stripe",
|
|
34
43
|
"Currency for the invoice (e.g., USD)": "Moneda para la factura (por ejemplo, USD)",
|
|
35
44
|
"Description for the invoice": "Descripción de la factura",
|
|
45
|
+
"Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)": "Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)",
|
|
46
|
+
"Filter by subscription status": "Filter by subscription status",
|
|
47
|
+
"Filter by specific customer ID (optional)": "Filter by specific customer ID (optional)",
|
|
48
|
+
"Filter subscriptions created after this date (YYYY-MM-DD format)": "Filter subscriptions created after this date (YYYY-MM-DD format)",
|
|
49
|
+
"Filter subscriptions created before this date (YYYY-MM-DD format)": "Filter subscriptions created before this date (YYYY-MM-DD format)",
|
|
50
|
+
"Maximum number of subscriptions to return (default: 100, set to 0 for all)": "Maximum number of subscriptions to return (default: 100, set to 0 for all)",
|
|
51
|
+
"Fetch all matching subscriptions (ignores limit, may take longer for large datasets)": "Fetch all matching subscriptions (ignores limit, may take longer for large datasets)",
|
|
52
|
+
"Fetch detailed customer information for each subscription": "Fetch detailed customer information for each subscription",
|
|
36
53
|
"Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
|
|
54
|
+
"All Statuses": "All Statuses",
|
|
55
|
+
"Active": "Activo",
|
|
56
|
+
"Past Due": "Past Due",
|
|
57
|
+
"Unpaid": "Unpaid",
|
|
58
|
+
"Canceled": "Cancelado",
|
|
59
|
+
"Incomplete": "Incomplete",
|
|
60
|
+
"Incomplete Expired": "Incomplete Expired",
|
|
61
|
+
"Trialing": "Trialing",
|
|
62
|
+
"Paused": "Pausado",
|
|
37
63
|
"GET": "RECOGER",
|
|
38
64
|
"POST": "POST",
|
|
39
65
|
"PATCH": "PATCH",
|
package/src/i18n/fr.json
CHANGED
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
"Create Customer": "Créer un client",
|
|
6
6
|
"Create Invoice": "Créer une facture",
|
|
7
7
|
"Search Customer": "Rechercher un client",
|
|
8
|
+
"Search Subscriptions": "Rechercher dans les abonnements",
|
|
8
9
|
"Retrieve Customer": "Récupérer le client",
|
|
9
10
|
"Custom API Call": "Appel API personnalisé",
|
|
10
11
|
"Create a customer in stripe": "Créer un client dans Stripe",
|
|
11
12
|
"Create an Invoice in stripe": "Créer une facture en bande",
|
|
12
13
|
"Search for a customer in stripe by email": "Rechercher un client dans Stripe par e-mail",
|
|
14
|
+
"Search for subscriptions by price ID, status, customer ID and other filters, including customer details": "Rechercher des abonnements par ID de prix, statut, ID client et autres filtres, y compris les détails du client",
|
|
13
15
|
"Retrieve a customer in stripe by id": "Récupérer un client en stripe par id",
|
|
14
16
|
"Make a custom API call to a specific endpoint": "Passez un appel API personnalisé à un point de terminaison spécifique",
|
|
15
17
|
"Email": "Courriel",
|
|
@@ -23,6 +25,13 @@
|
|
|
23
25
|
"Country": "Pays",
|
|
24
26
|
"Customer ID": "ID du client",
|
|
25
27
|
"Currency": "Devise",
|
|
28
|
+
"Price IDs": "ID de prix",
|
|
29
|
+
"Subscription Status": "Statut de l'abonnement",
|
|
30
|
+
"Created After": "Créé après",
|
|
31
|
+
"Created Before": "Créé avant",
|
|
32
|
+
"Limit": "Limite",
|
|
33
|
+
"Fetch All Results": "Récupérer tous les résultats",
|
|
34
|
+
"Include Customer Details": "Inclure les informations du client",
|
|
26
35
|
"ID": "ID",
|
|
27
36
|
"Method": "Méthode",
|
|
28
37
|
"Headers": "En-têtes",
|
|
@@ -33,7 +42,24 @@
|
|
|
33
42
|
"Stripe Customer ID": "ID client Stripe",
|
|
34
43
|
"Currency for the invoice (e.g., USD)": "Devise de la facture (par exemple, USD)",
|
|
35
44
|
"Description for the invoice": "Description de la facture",
|
|
45
|
+
"Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)": "Liste des ID de prix à filtrer par des virgules (par exemple, price_1ABC123, price_2DEF456)",
|
|
46
|
+
"Filter by subscription status": "Filtrer par statut d'abonnement",
|
|
47
|
+
"Filter by specific customer ID (optional)": "Filtrer par ID client spécifique (facultatif)",
|
|
48
|
+
"Filter subscriptions created after this date (YYYY-MM-DD format)": "Filtrer les abonnements créés après cette date (format AAAA-MM-JJ)",
|
|
49
|
+
"Filter subscriptions created before this date (YYYY-MM-DD format)": "Filtrer les abonnements créés avant cette date (format AAAA-MM-JJ)",
|
|
50
|
+
"Maximum number of subscriptions to return (default: 100, set to 0 for all)": "Nombre maximum d'abonnements à retourner (par défaut: 100, défini à 0 pour tous)",
|
|
51
|
+
"Fetch all matching subscriptions (ignores limit, may take longer for large datasets)": "Récupérer tous les abonnements correspondants (ignore la limite, peut prendre plus de temps pour les grands jeux de données)",
|
|
52
|
+
"Fetch detailed customer information for each subscription": "Récupérer les informations détaillées sur le client pour chaque abonnement",
|
|
36
53
|
"Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
|
|
54
|
+
"All Statuses": "Tous les statuts",
|
|
55
|
+
"Active": "Actif",
|
|
56
|
+
"Past Due": "Échéance passée",
|
|
57
|
+
"Unpaid": "Non payé",
|
|
58
|
+
"Canceled": "Annulé",
|
|
59
|
+
"Incomplete": "Incomplet",
|
|
60
|
+
"Incomplete Expired": "Incomplet expiré",
|
|
61
|
+
"Trialing": "Essai en cours",
|
|
62
|
+
"Paused": "En pause",
|
|
37
63
|
"GET": "OBTENIR",
|
|
38
64
|
"POST": "POSTER",
|
|
39
65
|
"PATCH": "PATCH",
|
package/src/i18n/ja.json
CHANGED
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
"Create Customer": "顧客を作成",
|
|
6
6
|
"Create Invoice": "請求書を作成",
|
|
7
7
|
"Search Customer": "顧客を検索",
|
|
8
|
+
"Search Subscriptions": "サブスクリプションを検索",
|
|
8
9
|
"Retrieve Customer": "顧客の取得",
|
|
9
10
|
"Custom API Call": "カスタムAPI通話",
|
|
10
11
|
"Create a customer in stripe": "Stripeで顧客を作成する",
|
|
11
12
|
"Create an Invoice in stripe": "Stripeで請求書を作成",
|
|
12
13
|
"Search for a customer in stripe by email": "Stripeの顧客を電子メールで検索",
|
|
14
|
+
"Search for subscriptions by price ID, status, customer ID and other filters, including customer details": "価格ID、ステータス、顧客ID、および顧客詳細を含むその他のフィルターでサブスクリプションを検索します",
|
|
13
15
|
"Retrieve a customer in stripe by id": "Stripe の id で顧客を取得する",
|
|
14
16
|
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
|
|
15
17
|
"Email": "Eメールアドレス",
|
|
@@ -23,6 +25,13 @@
|
|
|
23
25
|
"Country": "国",
|
|
24
26
|
"Customer ID": "顧客 ID",
|
|
25
27
|
"Currency": "通貨",
|
|
28
|
+
"Price IDs": "価格ID",
|
|
29
|
+
"Subscription Status": "サブスクリプションステータス",
|
|
30
|
+
"Created After": "作成後",
|
|
31
|
+
"Created Before": "作成前",
|
|
32
|
+
"Limit": "制限",
|
|
33
|
+
"Fetch All Results": "すべての結果を取得",
|
|
34
|
+
"Include Customer Details": "顧客詳細を含める",
|
|
26
35
|
"ID": "ID",
|
|
27
36
|
"Method": "方法",
|
|
28
37
|
"Headers": "ヘッダー",
|
|
@@ -33,7 +42,24 @@
|
|
|
33
42
|
"Stripe Customer ID": "Stripe Customer ID",
|
|
34
43
|
"Currency for the invoice (e.g., USD)": "請求書の通貨 (例: 米ドル)",
|
|
35
44
|
"Description for the invoice": "請求書の説明",
|
|
45
|
+
"Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)": "フィルタする価格IDのカンマ区切りリスト (例: price_1ABC123, price_2DEF456)",
|
|
46
|
+
"Filter by subscription status": "購読状態でフィルター",
|
|
47
|
+
"Filter by specific customer ID (optional)": "特定の顧客IDでフィルター (オプション)",
|
|
48
|
+
"Filter subscriptions created after this date (YYYY-MM-DD format)": "この日付(YYYY-MM-DD形式)の後に作成されたサブスクリプションをフィルター",
|
|
49
|
+
"Filter subscriptions created before this date (YYYY-MM-DD format)": "この日付(YYYY-MM-DD形式)の前に作成されたサブスクリプションをフィルター",
|
|
50
|
+
"Maximum number of subscriptions to return (default: 100, set to 0 for all)": "リターンするサブスクリプションの最大数(デフォルト:100、すべて0)",
|
|
51
|
+
"Fetch all matching subscriptions (ignores limit, may take longer for large datasets)": "すべての一致するサブスクリプションを取得します(制限を無視し、大規模なデータセットでは時間がかかる場合があります)",
|
|
52
|
+
"Fetch detailed customer information for each subscription": "各サブスクリプションの詳細な顧客情報を取得",
|
|
36
53
|
"Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
|
|
54
|
+
"All Statuses": "すべてのステータス",
|
|
55
|
+
"Active": "有効",
|
|
56
|
+
"Past Due": "過去の期限",
|
|
57
|
+
"Unpaid": "未払いです",
|
|
58
|
+
"Canceled": "キャンセルしました",
|
|
59
|
+
"Incomplete": "未完了",
|
|
60
|
+
"Incomplete Expired": "未完了です。",
|
|
61
|
+
"Trialing": "試練中",
|
|
62
|
+
"Paused": "一時停止中",
|
|
37
63
|
"GET": "取得",
|
|
38
64
|
"POST": "POST",
|
|
39
65
|
"PATCH": "PATCH",
|
package/src/i18n/nl.json
CHANGED
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
"Create Customer": "Klant aanmaken",
|
|
6
6
|
"Create Invoice": "Factuur aanmaken",
|
|
7
7
|
"Search Customer": "Klant zoeken",
|
|
8
|
+
"Search Subscriptions": "Zoek abonnementen",
|
|
8
9
|
"Retrieve Customer": "Klant ophalen",
|
|
9
10
|
"Custom API Call": "Custom API Call",
|
|
10
11
|
"Create a customer in stripe": "Maak een klant aan met streep",
|
|
11
12
|
"Create an Invoice in stripe": "Maak een factuur in streep",
|
|
12
13
|
"Search for a customer in stripe by email": "Zoek naar een klant in een streep per e-mail",
|
|
14
|
+
"Search for subscriptions by price ID, status, customer ID and other filters, including customer details": "Zoeken naar abonnementen op prijs-ID, status, klant-ID en andere filters, inclusief klantgegevens",
|
|
13
15
|
"Retrieve a customer in stripe by id": "Haal een klant op in strep met id",
|
|
14
16
|
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
|
|
15
17
|
"Email": "E-mail",
|
|
@@ -23,6 +25,13 @@
|
|
|
23
25
|
"Country": "Land:",
|
|
24
26
|
"Customer ID": "Klant ID",
|
|
25
27
|
"Currency": "valuta",
|
|
28
|
+
"Price IDs": "Prijs IDs",
|
|
29
|
+
"Subscription Status": "Inschrijving Status",
|
|
30
|
+
"Created After": "Gemaakt na",
|
|
31
|
+
"Created Before": "Aangemaakt voor",
|
|
32
|
+
"Limit": "Limiet",
|
|
33
|
+
"Fetch All Results": "Alle resultaten ophalen",
|
|
34
|
+
"Include Customer Details": "Klantgegevens insluiten",
|
|
26
35
|
"ID": "ID",
|
|
27
36
|
"Method": "Methode",
|
|
28
37
|
"Headers": "Kopteksten",
|
|
@@ -33,7 +42,24 @@
|
|
|
33
42
|
"Stripe Customer ID": "Stripe klant ID",
|
|
34
43
|
"Currency for the invoice (e.g., USD)": "Valuta voor de factuur (bijv. USD)",
|
|
35
44
|
"Description for the invoice": "Beschrijving van de factuur",
|
|
45
|
+
"Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)": "Kommagescheiden lijst van te filteren prijs IDs op (bijv., price_1ABC123, price_2DEF456)",
|
|
46
|
+
"Filter by subscription status": "Filteren op abonnementsstatus",
|
|
47
|
+
"Filter by specific customer ID (optional)": "Filter op specifieke klant-ID (optioneel)",
|
|
48
|
+
"Filter subscriptions created after this date (YYYY-MM-DD format)": "Filter abonnementen gemaakt na deze datum (JJJJ-MM-DD formaat)",
|
|
49
|
+
"Filter subscriptions created before this date (YYYY-MM-DD format)": "Filter abonnementen gemaakt voor deze datum (JJJJ-MM-DD formaat)",
|
|
50
|
+
"Maximum number of subscriptions to return (default: 100, set to 0 for all)": "Maximum aantal terugkerende abonnementen (standaard: 100, zet op 0 voor alles)",
|
|
51
|
+
"Fetch all matching subscriptions (ignores limit, may take longer for large datasets)": "Ophalen van alle overeenkomende abonnementen (negeert limiet, kan langer duren voor grote datasets)",
|
|
52
|
+
"Fetch detailed customer information for each subscription": "Ophalen van gedetailleerde klantinformatie voor elk abonnement",
|
|
36
53
|
"Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
|
|
54
|
+
"All Statuses": "Alle statussen",
|
|
55
|
+
"Active": "Actief",
|
|
56
|
+
"Past Due": "Verleden vervaldatum",
|
|
57
|
+
"Unpaid": "Onbetaald",
|
|
58
|
+
"Canceled": "Geannuleerd",
|
|
59
|
+
"Incomplete": "Onvolledig",
|
|
60
|
+
"Incomplete Expired": "Onvolledig verlopen",
|
|
61
|
+
"Trialing": "Beproevingen",
|
|
62
|
+
"Paused": "Gepauzeerd",
|
|
37
63
|
"GET": "KRIJG",
|
|
38
64
|
"POST": "POSTE",
|
|
39
65
|
"PATCH": "BEKIJK",
|
package/src/i18n/pt.json
CHANGED
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
"Create Customer": "Criar Cliente",
|
|
6
6
|
"Create Invoice": "Criar fatura",
|
|
7
7
|
"Search Customer": "Pesquisar Cliente",
|
|
8
|
+
"Search Subscriptions": "Pesquisar Assinaturas",
|
|
8
9
|
"Retrieve Customer": "Recuperar Cliente",
|
|
9
10
|
"Custom API Call": "Chamada de API personalizada",
|
|
10
11
|
"Create a customer in stripe": "Criar um cliente na faixa",
|
|
11
12
|
"Create an Invoice in stripe": "Criar uma fatura em Stripe",
|
|
12
13
|
"Search for a customer in stripe by email": "Procure por um cliente no Stripe por e-mail",
|
|
14
|
+
"Search for subscriptions by price ID, status, customer ID and other filters, including customer details": "Pesquisar por assinaturas por ID de preço, status, ID de cliente e outros filtros, incluindo detalhes do cliente",
|
|
13
15
|
"Retrieve a customer in stripe by id": "Recuperar um cliente na faixa por identificação",
|
|
14
16
|
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
|
|
15
17
|
"Email": "e-mail",
|
|
@@ -23,6 +25,13 @@
|
|
|
23
25
|
"Country": "País/região",
|
|
24
26
|
"Customer ID": "ID do cliente",
|
|
25
27
|
"Currency": "moeda",
|
|
28
|
+
"Price IDs": "IDs de preços",
|
|
29
|
+
"Subscription Status": "Estado Subscrição",
|
|
30
|
+
"Created After": "Criado Depois",
|
|
31
|
+
"Created Before": "Criado Antes",
|
|
32
|
+
"Limit": "Limitar",
|
|
33
|
+
"Fetch All Results": "Obter todos os resultados",
|
|
34
|
+
"Include Customer Details": "Incluir detalhes do cliente",
|
|
26
35
|
"ID": "ID",
|
|
27
36
|
"Method": "Método",
|
|
28
37
|
"Headers": "Cabeçalhos",
|
|
@@ -33,7 +42,24 @@
|
|
|
33
42
|
"Stripe Customer ID": "ID do Cliente Stripe",
|
|
34
43
|
"Currency for the invoice (e.g., USD)": "Moeda para a fatura (ex.: USD)",
|
|
35
44
|
"Description for the invoice": "Descrição da fatura",
|
|
45
|
+
"Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)": "Lista de IDs de preços separados por vírgulas a serem filtrados (por exemplo, price_1ABC123, price_2DEF456)",
|
|
46
|
+
"Filter by subscription status": "Filtrar por status da assinatura",
|
|
47
|
+
"Filter by specific customer ID (optional)": "Filtrar por ID de cliente específico (opcional)",
|
|
48
|
+
"Filter subscriptions created after this date (YYYY-MM-DD format)": "Inscrições de filtros criadas após esta data (formato YYYY-MM-DD)",
|
|
49
|
+
"Filter subscriptions created before this date (YYYY-MM-DD format)": "Inscrições de filtros criadas antes desta data (formato YYYY-MM-DD)",
|
|
50
|
+
"Maximum number of subscriptions to return (default: 100, set to 0 for all)": "Número máximo de assinaturas a retornar (padrão: 100, definido como 0 para todos)",
|
|
51
|
+
"Fetch all matching subscriptions (ignores limit, may take longer for large datasets)": "Buscar todas as assinaturas correspondentes (limite de ignorados, pode demorar mais para grandes conjuntos de dados)",
|
|
52
|
+
"Fetch detailed customer information for each subscription": "Obter informações detalhadas do cliente para cada assinatura",
|
|
36
53
|
"Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
|
|
54
|
+
"All Statuses": "Todos os Status",
|
|
55
|
+
"Active": "Ativo",
|
|
56
|
+
"Past Due": "Atrasado devido",
|
|
57
|
+
"Unpaid": "Não pago",
|
|
58
|
+
"Canceled": "Cancelado",
|
|
59
|
+
"Incomplete": "Incompleto",
|
|
60
|
+
"Incomplete Expired": "Incompleto expirado",
|
|
61
|
+
"Trialing": "Provação",
|
|
62
|
+
"Paused": "Pausado",
|
|
37
63
|
"GET": "OBTER",
|
|
38
64
|
"POST": "POSTAR",
|
|
39
65
|
"PATCH": "COMPRAR",
|
package/src/i18n/ru.json
CHANGED
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
"Create Customer": "Создать клиента",
|
|
6
6
|
"Create Invoice": "Создать счет",
|
|
7
7
|
"Search Customer": "Поиск клиента",
|
|
8
|
+
"Search Subscriptions": "Поиск подписок",
|
|
8
9
|
"Retrieve Customer": "Получить клиента",
|
|
9
10
|
"Custom API Call": "Пользовательский вызов API",
|
|
10
11
|
"Create a customer in stripe": "Создать клиента в полоске",
|
|
11
12
|
"Create an Invoice in stripe": "Создать счет в полоске",
|
|
12
13
|
"Search for a customer in stripe by email": "Поиск клиента в полоске по электронной почте",
|
|
14
|
+
"Search for subscriptions by price ID, status, customer ID and other filters, including customer details": "Поиск подписок по идентификатору цены, статусу, идентификатору клиента и другим фильтрам, включая данные о клиенте",
|
|
13
15
|
"Retrieve a customer in stripe by id": "Получить клиента в полоску по id",
|
|
14
16
|
"Make a custom API call to a specific endpoint": "Сделать пользовательский API вызов к определенной конечной точке",
|
|
15
17
|
"Email": "Почта",
|
|
@@ -23,6 +25,13 @@
|
|
|
23
25
|
"Country": "Страна",
|
|
24
26
|
"Customer ID": "ID клиента",
|
|
25
27
|
"Currency": "Валюта",
|
|
28
|
+
"Price IDs": "Идентификаторы цен",
|
|
29
|
+
"Subscription Status": "Статус подписки",
|
|
30
|
+
"Created After": "Создано после",
|
|
31
|
+
"Created Before": "Создан до",
|
|
32
|
+
"Limit": "Лимит",
|
|
33
|
+
"Fetch All Results": "Получить все результаты",
|
|
34
|
+
"Include Customer Details": "Включить информацию о клиенте",
|
|
26
35
|
"ID": "ID",
|
|
27
36
|
"Method": "Метод",
|
|
28
37
|
"Headers": "Заголовки",
|
|
@@ -33,7 +42,24 @@
|
|
|
33
42
|
"Stripe Customer ID": "ID клиента Stripe",
|
|
34
43
|
"Currency for the invoice (e.g., USD)": "Валюта для счета (например, USD)",
|
|
35
44
|
"Description for the invoice": "Описание счета",
|
|
45
|
+
"Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)": "Разделенный запятыми список идентификаторов цен для фильтра (например, price_1ABC123, price_2DEF456)",
|
|
46
|
+
"Filter by subscription status": "Фильтр по статусу подписки",
|
|
47
|
+
"Filter by specific customer ID (optional)": "Фильтр по идентификатору клиента (необязательно)",
|
|
48
|
+
"Filter subscriptions created after this date (YYYY-MM-DD format)": "Фильтр подписок, созданных после этой даты (в формате ГГГГ-ММ-ДД)",
|
|
49
|
+
"Filter subscriptions created before this date (YYYY-MM-DD format)": "Фильтр подписок, созданных до этой даты (формат YYYY-MM-DD)",
|
|
50
|
+
"Maximum number of subscriptions to return (default: 100, set to 0 for all)": "Максимальное количество возвращаемых подписок (по умолчанию: 100, установлено значение 0 для всех)",
|
|
51
|
+
"Fetch all matching subscriptions (ignores limit, may take longer for large datasets)": "Получить все подходящие подписки (лимит игнорирования, может занять больше времени для больших наборов данных)",
|
|
52
|
+
"Fetch detailed customer information for each subscription": "Получайте подробную информацию о клиенте для каждой подписки",
|
|
36
53
|
"Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
|
|
54
|
+
"All Statuses": "Все статусы",
|
|
55
|
+
"Active": "Активен",
|
|
56
|
+
"Past Due": "Просрочено",
|
|
57
|
+
"Unpaid": "Неоплаченные",
|
|
58
|
+
"Canceled": "Отменено",
|
|
59
|
+
"Incomplete": "Незавершено",
|
|
60
|
+
"Incomplete Expired": "Неполный срок действия истек",
|
|
61
|
+
"Trialing": "Испытание",
|
|
62
|
+
"Paused": "Приостановлено",
|
|
37
63
|
"GET": "ПОЛУЧИТЬ",
|
|
38
64
|
"POST": "ПОСТ",
|
|
39
65
|
"PATCH": "ПАТЧ",
|
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
"Create Customer": "Create Customer",
|
|
6
6
|
"Create Invoice": "Create Invoice",
|
|
7
7
|
"Search Customer": "Search Customer",
|
|
8
|
+
"Search Subscriptions": "Search Subscriptions",
|
|
8
9
|
"Retrieve Customer": "Retrieve Customer",
|
|
9
10
|
"Custom API Call": "Custom API Call",
|
|
10
11
|
"Create a customer in stripe": "Create a customer in stripe",
|
|
11
12
|
"Create an Invoice in stripe": "Create an Invoice in stripe",
|
|
12
13
|
"Search for a customer in stripe by email": "Search for a customer in stripe by email",
|
|
14
|
+
"Search for subscriptions by price ID, status, customer ID and other filters, including customer details": "Search for subscriptions by price ID, status, customer ID and other filters, including customer details",
|
|
13
15
|
"Retrieve a customer in stripe by id": "Retrieve a customer in stripe by id",
|
|
14
16
|
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
|
15
17
|
"Email": "Email",
|
|
@@ -23,6 +25,13 @@
|
|
|
23
25
|
"Country": "Country",
|
|
24
26
|
"Customer ID": "Customer ID",
|
|
25
27
|
"Currency": "Currency",
|
|
28
|
+
"Price IDs": "Price IDs",
|
|
29
|
+
"Subscription Status": "Subscription Status",
|
|
30
|
+
"Created After": "Created After",
|
|
31
|
+
"Created Before": "Created Before",
|
|
32
|
+
"Limit": "Limit",
|
|
33
|
+
"Fetch All Results": "Fetch All Results",
|
|
34
|
+
"Include Customer Details": "Include Customer Details",
|
|
26
35
|
"ID": "ID",
|
|
27
36
|
"Method": "Method",
|
|
28
37
|
"Headers": "Headers",
|
|
@@ -33,7 +42,24 @@
|
|
|
33
42
|
"Stripe Customer ID": "Stripe Customer ID",
|
|
34
43
|
"Currency for the invoice (e.g., USD)": "Currency for the invoice (e.g., USD)",
|
|
35
44
|
"Description for the invoice": "Description for the invoice",
|
|
45
|
+
"Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)": "Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)",
|
|
46
|
+
"Filter by subscription status": "Filter by subscription status",
|
|
47
|
+
"Filter by specific customer ID (optional)": "Filter by specific customer ID (optional)",
|
|
48
|
+
"Filter subscriptions created after this date (YYYY-MM-DD format)": "Filter subscriptions created after this date (YYYY-MM-DD format)",
|
|
49
|
+
"Filter subscriptions created before this date (YYYY-MM-DD format)": "Filter subscriptions created before this date (YYYY-MM-DD format)",
|
|
50
|
+
"Maximum number of subscriptions to return (default: 100, set to 0 for all)": "Maximum number of subscriptions to return (default: 100, set to 0 for all)",
|
|
51
|
+
"Fetch all matching subscriptions (ignores limit, may take longer for large datasets)": "Fetch all matching subscriptions (ignores limit, may take longer for large datasets)",
|
|
52
|
+
"Fetch detailed customer information for each subscription": "Fetch detailed customer information for each subscription",
|
|
36
53
|
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
54
|
+
"All Statuses": "All Statuses",
|
|
55
|
+
"Active": "Active",
|
|
56
|
+
"Past Due": "Past Due",
|
|
57
|
+
"Unpaid": "Unpaid",
|
|
58
|
+
"Canceled": "Canceled",
|
|
59
|
+
"Incomplete": "Incomplete",
|
|
60
|
+
"Incomplete Expired": "Incomplete Expired",
|
|
61
|
+
"Trialing": "Trialing",
|
|
62
|
+
"Paused": "Paused",
|
|
37
63
|
"GET": "GET",
|
|
38
64
|
"POST": "POST",
|
|
39
65
|
"PATCH": "PATCH",
|
package/src/i18n/vi.json
CHANGED
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
"Create Customer": "Create Customer",
|
|
6
6
|
"Create Invoice": "Create Invoice",
|
|
7
7
|
"Search Customer": "Search Customer",
|
|
8
|
+
"Search Subscriptions": "Search Subscriptions",
|
|
8
9
|
"Retrieve Customer": "Retrieve Customer",
|
|
9
10
|
"Custom API Call": "Custom API Call",
|
|
10
11
|
"Create a customer in stripe": "Create a customer in stripe",
|
|
11
12
|
"Create an Invoice in stripe": "Create an Invoice in stripe",
|
|
12
13
|
"Search for a customer in stripe by email": "Search for a customer in stripe by email",
|
|
14
|
+
"Search for subscriptions by price ID, status, customer ID and other filters, including customer details": "Search for subscriptions by price ID, status, customer ID and other filters, including customer details",
|
|
13
15
|
"Retrieve a customer in stripe by id": "Retrieve a customer in stripe by id",
|
|
14
16
|
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
|
15
17
|
"Email": "Email",
|
|
@@ -23,6 +25,13 @@
|
|
|
23
25
|
"Country": "Country",
|
|
24
26
|
"Customer ID": "Customer ID",
|
|
25
27
|
"Currency": "Currency",
|
|
28
|
+
"Price IDs": "Price IDs",
|
|
29
|
+
"Subscription Status": "Subscription Status",
|
|
30
|
+
"Created After": "Created After",
|
|
31
|
+
"Created Before": "Created Before",
|
|
32
|
+
"Limit": "Limit",
|
|
33
|
+
"Fetch All Results": "Fetch All Results",
|
|
34
|
+
"Include Customer Details": "Include Customer Details",
|
|
26
35
|
"ID": "ID",
|
|
27
36
|
"Method": "Method",
|
|
28
37
|
"Headers": "Headers",
|
|
@@ -33,7 +42,24 @@
|
|
|
33
42
|
"Stripe Customer ID": "Stripe Customer ID",
|
|
34
43
|
"Currency for the invoice (e.g., USD)": "Currency for the invoice (e.g., USD)",
|
|
35
44
|
"Description for the invoice": "Description for the invoice",
|
|
45
|
+
"Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)": "Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)",
|
|
46
|
+
"Filter by subscription status": "Filter by subscription status",
|
|
47
|
+
"Filter by specific customer ID (optional)": "Filter by specific customer ID (optional)",
|
|
48
|
+
"Filter subscriptions created after this date (YYYY-MM-DD format)": "Filter subscriptions created after this date (YYYY-MM-DD format)",
|
|
49
|
+
"Filter subscriptions created before this date (YYYY-MM-DD format)": "Filter subscriptions created before this date (YYYY-MM-DD format)",
|
|
50
|
+
"Maximum number of subscriptions to return (default: 100, set to 0 for all)": "Maximum number of subscriptions to return (default: 100, set to 0 for all)",
|
|
51
|
+
"Fetch all matching subscriptions (ignores limit, may take longer for large datasets)": "Fetch all matching subscriptions (ignores limit, may take longer for large datasets)",
|
|
52
|
+
"Fetch detailed customer information for each subscription": "Fetch detailed customer information for each subscription",
|
|
36
53
|
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
54
|
+
"All Statuses": "All Statuses",
|
|
55
|
+
"Active": "Tích cực",
|
|
56
|
+
"Past Due": "Past Due",
|
|
57
|
+
"Unpaid": "Unpaid",
|
|
58
|
+
"Canceled": "Canceled",
|
|
59
|
+
"Incomplete": "Incomplete",
|
|
60
|
+
"Incomplete Expired": "Incomplete Expired",
|
|
61
|
+
"Trialing": "Trialing",
|
|
62
|
+
"Paused": "Tạm dừng",
|
|
37
63
|
"GET": "GET",
|
|
38
64
|
"POST": "POST",
|
|
39
65
|
"PATCH": "PATCH",
|
package/src/i18n/zh.json
CHANGED
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
"Create Customer": "創建客戶",
|
|
6
6
|
"Create Invoice": "創建發票",
|
|
7
7
|
"Search Customer": "搜索客戶",
|
|
8
|
+
"Search Subscriptions": "Search Subscriptions",
|
|
8
9
|
"Retrieve Customer": "檢索客戶",
|
|
9
10
|
"Custom API Call": "自定義 API 呼叫",
|
|
10
11
|
"Create a customer in stripe": "在 Stripe 創建一個客戶",
|
|
11
12
|
"Create an Invoice in stripe": "在 Stripe 創建一個發票",
|
|
12
13
|
"Search for a customer in stripe by email": "通過電子郵件在 Stripe 中搜索客戶",
|
|
14
|
+
"Search for subscriptions by price ID, status, customer ID and other filters, including customer details": "Search for subscriptions by price ID, status, customer ID and other filters, including customer details",
|
|
13
15
|
"Retrieve a customer in stripe by id": "通過 ID 在 Stripe 中檢索客戶",
|
|
14
16
|
"Make a custom API call to a specific endpoint": "將一個自定義 API 調用到一個特定的端點",
|
|
15
17
|
"Email": "電子郵件",
|
|
@@ -23,6 +25,13 @@
|
|
|
23
25
|
"Country": "國家",
|
|
24
26
|
"Customer ID": "客戶ID",
|
|
25
27
|
"Currency": "貨幣",
|
|
28
|
+
"Price IDs": "Price IDs",
|
|
29
|
+
"Subscription Status": "Subscription Status",
|
|
30
|
+
"Created After": "Created After",
|
|
31
|
+
"Created Before": "Created Before",
|
|
32
|
+
"Limit": "Limit",
|
|
33
|
+
"Fetch All Results": "Fetch All Results",
|
|
34
|
+
"Include Customer Details": "Include Customer Details",
|
|
26
35
|
"ID": "ID",
|
|
27
36
|
"Method": "方法",
|
|
28
37
|
"Headers": "信頭",
|
|
@@ -33,7 +42,24 @@
|
|
|
33
42
|
"Stripe Customer ID": "Stripe 客戶 ID",
|
|
34
43
|
"Currency for the invoice (e.g., USD)": "發票的貨幣(例如 USD)",
|
|
35
44
|
"Description for the invoice": "發票的描述",
|
|
45
|
+
"Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)": "Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)",
|
|
46
|
+
"Filter by subscription status": "Filter by subscription status",
|
|
47
|
+
"Filter by specific customer ID (optional)": "Filter by specific customer ID (optional)",
|
|
48
|
+
"Filter subscriptions created after this date (YYYY-MM-DD format)": "Filter subscriptions created after this date (YYYY-MM-DD format)",
|
|
49
|
+
"Filter subscriptions created before this date (YYYY-MM-DD format)": "Filter subscriptions created before this date (YYYY-MM-DD format)",
|
|
50
|
+
"Maximum number of subscriptions to return (default: 100, set to 0 for all)": "Maximum number of subscriptions to return (default: 100, set to 0 for all)",
|
|
51
|
+
"Fetch all matching subscriptions (ignores limit, may take longer for large datasets)": "Fetch all matching subscriptions (ignores limit, may take longer for large datasets)",
|
|
52
|
+
"Fetch detailed customer information for each subscription": "Fetch detailed customer information for each subscription",
|
|
36
53
|
"Authorization headers are injected automatically from your connection.": "授權頭自動從您的連接中注入。",
|
|
54
|
+
"All Statuses": "All Statuses",
|
|
55
|
+
"Active": "使用中",
|
|
56
|
+
"Past Due": "Past Due",
|
|
57
|
+
"Unpaid": "Unpaid",
|
|
58
|
+
"Canceled": "Canceled",
|
|
59
|
+
"Incomplete": "Incomplete",
|
|
60
|
+
"Incomplete Expired": "Incomplete Expired",
|
|
61
|
+
"Trialing": "Trialing",
|
|
62
|
+
"Paused": "已暂停",
|
|
37
63
|
"GET": "GET",
|
|
38
64
|
"POST": "POST",
|
|
39
65
|
"PATCH": "PATCH",
|
package/src/index.js
CHANGED
|
@@ -13,6 +13,7 @@ const new_customer_1 = require("./lib/trigger/new-customer");
|
|
|
13
13
|
const new_payment_1 = require("./lib/trigger/new-payment");
|
|
14
14
|
const new_subscription_1 = require("./lib/trigger/new-subscription");
|
|
15
15
|
const payment_failed_1 = require("./lib/trigger/payment-failed");
|
|
16
|
+
const search_subscriptions_1 = require("./lib/actions/search-subscriptions");
|
|
16
17
|
exports.stripeAuth = pieces_framework_1.PieceAuth.SecretText({
|
|
17
18
|
displayName: 'Secret API Key',
|
|
18
19
|
required: true,
|
|
@@ -30,6 +31,7 @@ exports.stripe = (0, pieces_framework_1.createPiece)({
|
|
|
30
31
|
create_customer_1.stripeCreateCustomer,
|
|
31
32
|
create_invoice_1.stripeCreateInvoice,
|
|
32
33
|
search_customer_1.stripeSearchCustomer,
|
|
34
|
+
search_subscriptions_1.stripeSearchSubscriptions,
|
|
33
35
|
retrieve_customer_1.stripeRetrieveCustomer,
|
|
34
36
|
(0, pieces_common_1.createCustomApiCallAction)({
|
|
35
37
|
baseUrl: () => 'https://api.stripe.com/v1',
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/stripe/src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAAwE;AACxE,qEAAwE;AACxE,iDAAqD;AACrD,mEAAqE;AACrE,iEAAmE;AACnE,uEAAyE;AACzE,mEAAqE;AACrE,6DAA+D;AAC/D,2DAA6D;AAC7D,qEAAuE;AACvE,iEAAmE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/stripe/src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAAwE;AACxE,qEAAwE;AACxE,iDAAqD;AACrD,mEAAqE;AACrE,iEAAmE;AACnE,uEAAyE;AACzE,mEAAqE;AACrE,6DAA+D;AAC/D,2DAA6D;AAC7D,qEAAuE;AACvE,iEAAmE;AACnE,6EAA+E;AAElE,QAAA,UAAU,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC7C,WAAW,EAAE,gBAAgB;IAC7B,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,gDAAgD;CAC9D,CAAC,CAAC;AAEU,QAAA,MAAM,GAAG,IAAA,8BAAW,EAAC;IAChC,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,mDAAmD;IAEhE,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,gDAAgD;IACzD,OAAO,EAAE,CAAC,UAAU,EAAC,SAAS,EAAC,YAAY,EAAC,WAAW,EAAC,sBAAsB,EAAC,eAAe,EAAC,UAAU,CAAC;IAC1G,UAAU,EAAE,CAAC,sBAAa,CAAC,QAAQ,EAAE,sBAAa,CAAC,kBAAkB,CAAC;IACtE,IAAI,EAAE,kBAAU;IAChB,OAAO,EAAE;QACP,sCAAoB;QACpB,oCAAmB;QACnB,sCAAoB;QACpB,gDAAyB;QACzB,0CAAsB;QACtB,IAAA,yCAAyB,EAAC;YACxB,OAAO,EAAE,GAAG,EAAE,CAAC,2BAA2B;YAC1C,IAAI,EAAE,kBAAU;YAChB,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBAAC,OAAA,CAAC;oBAC5B,aAAa,EAAE,UAAU,IAAI,EAAE;iBAChC,CAAC,CAAA;cAAA;SACH,CAAC;KACH;IACD,QAAQ,EAAE;QACR,8BAAgB;QAChB,gCAAiB;QACjB,oCAAmB;QACnB,wCAAqB;KACtB;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const stripeSearchSubscriptions: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
+
price_ids: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
3
|
+
status: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
4
|
+
customer_id: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
5
|
+
created_after: import("@activepieces/pieces-framework").DateTimeProperty<false>;
|
|
6
|
+
created_before: import("@activepieces/pieces-framework").DateTimeProperty<false>;
|
|
7
|
+
limit: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
8
|
+
fetch_all: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
9
|
+
include_customer_details: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.stripeSearchSubscriptions = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
+
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
7
|
+
const __1 = require("../..");
|
|
8
|
+
const common_1 = require("../common");
|
|
9
|
+
const statusOptions = [
|
|
10
|
+
{ label: 'All Statuses', value: '' },
|
|
11
|
+
{ label: 'Active', value: 'active' },
|
|
12
|
+
{ label: 'Past Due', value: 'past_due' },
|
|
13
|
+
{ label: 'Unpaid', value: 'unpaid' },
|
|
14
|
+
{ label: 'Canceled', value: 'canceled' },
|
|
15
|
+
{ label: 'Incomplete', value: 'incomplete' },
|
|
16
|
+
{ label: 'Incomplete Expired', value: 'incomplete_expired' },
|
|
17
|
+
{ label: 'Trialing', value: 'trialing' },
|
|
18
|
+
{ label: 'Paused', value: 'paused' },
|
|
19
|
+
];
|
|
20
|
+
exports.stripeSearchSubscriptions = (0, pieces_framework_1.createAction)({
|
|
21
|
+
name: 'search_subscriptions',
|
|
22
|
+
auth: __1.stripeAuth,
|
|
23
|
+
displayName: 'Search Subscriptions',
|
|
24
|
+
description: 'Search for subscriptions by price ID, status, customer ID and other filters, including customer details',
|
|
25
|
+
props: {
|
|
26
|
+
price_ids: pieces_framework_1.Property.LongText({
|
|
27
|
+
displayName: 'Price IDs',
|
|
28
|
+
description: 'Comma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)',
|
|
29
|
+
required: false,
|
|
30
|
+
}),
|
|
31
|
+
status: pieces_framework_1.Property.StaticDropdown({
|
|
32
|
+
displayName: 'Subscription Status',
|
|
33
|
+
description: 'Filter by subscription status',
|
|
34
|
+
required: false,
|
|
35
|
+
options: {
|
|
36
|
+
options: statusOptions
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
customer_id: pieces_framework_1.Property.ShortText({
|
|
40
|
+
displayName: 'Customer ID',
|
|
41
|
+
description: 'Filter by specific customer ID (optional)',
|
|
42
|
+
required: false,
|
|
43
|
+
}),
|
|
44
|
+
created_after: pieces_framework_1.Property.DateTime({
|
|
45
|
+
displayName: 'Created After',
|
|
46
|
+
description: 'Filter subscriptions created after this date (YYYY-MM-DD format)',
|
|
47
|
+
required: false,
|
|
48
|
+
}),
|
|
49
|
+
created_before: pieces_framework_1.Property.DateTime({
|
|
50
|
+
displayName: 'Created Before',
|
|
51
|
+
description: 'Filter subscriptions created before this date (YYYY-MM-DD format)',
|
|
52
|
+
required: false,
|
|
53
|
+
}),
|
|
54
|
+
limit: pieces_framework_1.Property.Number({
|
|
55
|
+
displayName: 'Limit',
|
|
56
|
+
description: 'Maximum number of subscriptions to return (default: 100, set to 0 for all)',
|
|
57
|
+
required: false,
|
|
58
|
+
defaultValue: 100,
|
|
59
|
+
}),
|
|
60
|
+
fetch_all: pieces_framework_1.Property.Checkbox({
|
|
61
|
+
displayName: 'Fetch All Results',
|
|
62
|
+
description: 'Fetch all matching subscriptions (ignores limit, may take longer for large datasets)',
|
|
63
|
+
required: false,
|
|
64
|
+
defaultValue: false,
|
|
65
|
+
}),
|
|
66
|
+
include_customer_details: pieces_framework_1.Property.Checkbox({
|
|
67
|
+
displayName: 'Include Customer Details',
|
|
68
|
+
description: 'Fetch detailed customer information for each subscription',
|
|
69
|
+
required: false,
|
|
70
|
+
defaultValue: true,
|
|
71
|
+
}),
|
|
72
|
+
},
|
|
73
|
+
run(context) {
|
|
74
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
75
|
+
const { price_ids, status, customer_id, created_after, created_before, limit = 100, fetch_all = false, include_customer_details = true, } = context.propsValue;
|
|
76
|
+
const buildQueryParams = (startingAfter) => {
|
|
77
|
+
const queryParams = new URLSearchParams();
|
|
78
|
+
queryParams.append('limit', '100');
|
|
79
|
+
queryParams.append('expand[]', 'data.items.data.price');
|
|
80
|
+
if (include_customer_details) {
|
|
81
|
+
queryParams.append('expand[]', 'data.customer');
|
|
82
|
+
}
|
|
83
|
+
if (status) {
|
|
84
|
+
queryParams.append('status', status);
|
|
85
|
+
}
|
|
86
|
+
if (customer_id) {
|
|
87
|
+
queryParams.append('customer', customer_id);
|
|
88
|
+
}
|
|
89
|
+
if (created_after) {
|
|
90
|
+
const afterTimestamp = Math.floor(new Date(created_after).getTime() / 1000);
|
|
91
|
+
queryParams.append('created[gte]', afterTimestamp.toString());
|
|
92
|
+
}
|
|
93
|
+
if (created_before) {
|
|
94
|
+
const beforeTimestamp = Math.floor(new Date(created_before).getTime() / 1000);
|
|
95
|
+
queryParams.append('created[lte]', beforeTimestamp.toString());
|
|
96
|
+
}
|
|
97
|
+
if (startingAfter) {
|
|
98
|
+
queryParams.append('starting_after', startingAfter);
|
|
99
|
+
}
|
|
100
|
+
return queryParams;
|
|
101
|
+
};
|
|
102
|
+
let allSubscriptions = [];
|
|
103
|
+
let hasMore = true;
|
|
104
|
+
let startingAfter;
|
|
105
|
+
let requestCount = 0;
|
|
106
|
+
const maxRequests = fetch_all ? 50 : Math.ceil(limit / 100);
|
|
107
|
+
while (hasMore && requestCount < maxRequests) {
|
|
108
|
+
const queryParams = buildQueryParams(startingAfter);
|
|
109
|
+
const subscriptionsResponse = yield pieces_common_1.httpClient.sendRequest({
|
|
110
|
+
method: pieces_common_1.HttpMethod.GET,
|
|
111
|
+
url: `${common_1.stripeCommon.baseUrl}/subscriptions?${queryParams.toString()}`,
|
|
112
|
+
headers: {
|
|
113
|
+
Authorization: 'Bearer ' + context.auth,
|
|
114
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
115
|
+
},
|
|
116
|
+
});
|
|
117
|
+
if (!subscriptionsResponse.body) {
|
|
118
|
+
throw new Error('Failed to fetch subscriptions from Stripe');
|
|
119
|
+
}
|
|
120
|
+
const subscriptions = subscriptionsResponse.body.data;
|
|
121
|
+
allSubscriptions = allSubscriptions.concat(subscriptions);
|
|
122
|
+
hasMore = subscriptionsResponse.body.has_more;
|
|
123
|
+
requestCount++;
|
|
124
|
+
if (hasMore && subscriptions.length > 0) {
|
|
125
|
+
startingAfter = subscriptions[subscriptions.length - 1].id;
|
|
126
|
+
}
|
|
127
|
+
if (!fetch_all && allSubscriptions.length >= limit) {
|
|
128
|
+
allSubscriptions = allSubscriptions.slice(0, limit);
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
let filteredSubscriptions = allSubscriptions;
|
|
133
|
+
if (price_ids && price_ids.trim()) {
|
|
134
|
+
const priceIdArray = price_ids
|
|
135
|
+
.split(',')
|
|
136
|
+
.map(id => id.trim())
|
|
137
|
+
.filter(id => id.length > 0);
|
|
138
|
+
if (priceIdArray.length > 0) {
|
|
139
|
+
filteredSubscriptions = filteredSubscriptions.filter((subscription) => {
|
|
140
|
+
return subscription.items.data.some((item) => item.price && typeof item.price === 'object' && priceIdArray.includes(item.price.id));
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
const finalSubscriptions = yield Promise.all(filteredSubscriptions.map((subscription) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
145
|
+
const resultSubscription = Object.assign({}, subscription);
|
|
146
|
+
if (include_customer_details) {
|
|
147
|
+
if (typeof subscription.customer === 'object' && subscription.customer !== null && !('deleted' in subscription.customer && subscription.customer.deleted)) {
|
|
148
|
+
resultSubscription.customer = subscription.customer;
|
|
149
|
+
}
|
|
150
|
+
else if (typeof subscription.customer === 'string') {
|
|
151
|
+
try {
|
|
152
|
+
const customerResponse = yield pieces_common_1.httpClient.sendRequest({
|
|
153
|
+
method: pieces_common_1.HttpMethod.GET,
|
|
154
|
+
url: `${common_1.stripeCommon.baseUrl}/customers/${subscription.customer}`,
|
|
155
|
+
headers: {
|
|
156
|
+
Authorization: 'Bearer ' + context.auth,
|
|
157
|
+
},
|
|
158
|
+
});
|
|
159
|
+
resultSubscription.customer = customerResponse.body;
|
|
160
|
+
}
|
|
161
|
+
catch (error) {
|
|
162
|
+
console.warn(`Failed to fetch customer details for ${subscription.customer}:`, error);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
return resultSubscription;
|
|
167
|
+
})));
|
|
168
|
+
return {
|
|
169
|
+
success: true,
|
|
170
|
+
count: finalSubscriptions.length,
|
|
171
|
+
total_fetched: allSubscriptions.length,
|
|
172
|
+
requests_made: requestCount,
|
|
173
|
+
has_more_available: hasMore && !fetch_all,
|
|
174
|
+
pagination_info: {
|
|
175
|
+
limit_requested: fetch_all ? 'All' : limit,
|
|
176
|
+
fetch_all_enabled: fetch_all,
|
|
177
|
+
max_requests_limit: maxRequests,
|
|
178
|
+
},
|
|
179
|
+
subscriptions: finalSubscriptions,
|
|
180
|
+
filters_applied: {
|
|
181
|
+
price_ids: price_ids ? price_ids.split(',').map(id => id.trim()).filter(id => id.length > 0) : null,
|
|
182
|
+
status: status || null,
|
|
183
|
+
customer_id: customer_id || null,
|
|
184
|
+
created_after: created_after || null,
|
|
185
|
+
created_before: created_before || null,
|
|
186
|
+
limit: limit,
|
|
187
|
+
fetch_all: fetch_all,
|
|
188
|
+
include_customer_details: include_customer_details,
|
|
189
|
+
},
|
|
190
|
+
};
|
|
191
|
+
});
|
|
192
|
+
},
|
|
193
|
+
});
|
|
194
|
+
//# sourceMappingURL=search-subscriptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-subscriptions.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/stripe/src/lib/actions/search-subscriptions.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,+DAAqE;AAGrE,6BAAmC;AACnC,sCAAyC;AAKzC,MAAM,aAAa,GAAG;IACpB,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,EAAE,EAAE;IACpC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACpC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;IACxC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACpC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;IACxC,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;IAC5C,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,oBAAoB,EAAE;IAC5D,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;IACxC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;CACrC,CAAA;AAEY,QAAA,yBAAyB,GAAG,IAAA,+BAAY,EAAC;IACpD,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE,cAAU;IAChB,WAAW,EAAE,sBAAsB;IACnC,WAAW,EAAE,yGAAyG;IACtH,KAAK,EAAE;QACL,SAAS,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC3B,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