@activepieces/piece-stripe 0.5.3 → 0.5.5
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 +31 -11
- package/src/i18n/ca.json +51 -0
- package/src/i18n/de.json +51 -0
- package/src/i18n/es.json +51 -0
- package/src/i18n/fr.json +51 -0
- package/src/i18n/hi.json +51 -0
- package/src/i18n/id.json +51 -0
- package/src/i18n/ja.json +51 -0
- package/src/i18n/nl.json +51 -0
- package/src/i18n/pt.json +51 -0
- package/src/i18n/ru.json +51 -0
- package/src/i18n/translation.json +51 -0
- package/src/i18n/vi.json +51 -0
- package/src/i18n/zh.json +51 -0
- package/src/index.js +7 -4
- package/src/index.js.map +1 -1
- package/src/lib/trigger/new-customer.js +1 -1
- package/src/lib/trigger/new-customer.js.map +1 -1
- package/src/lib/trigger/new-payment.js +2 -2
- package/src/lib/trigger/new-payment.js.map +1 -1
- package/src/lib/trigger/new-subscription.js +2 -2
- package/src/lib/trigger/new-subscription.js.map +1 -1
- package/src/lib/trigger/payment-failed.js +2 -2
- package/src/lib/trigger/payment-failed.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,19 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-stripe",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
5
|
+
"@ai-sdk/anthropic": "1.2.12",
|
|
6
|
+
"@ai-sdk/google": "1.2.19",
|
|
7
|
+
"@ai-sdk/openai": "1.3.22",
|
|
8
|
+
"@ai-sdk/replicate": "0.2.8",
|
|
9
|
+
"@sinclair/typebox": "0.34.11",
|
|
10
|
+
"ai": "4.3.16",
|
|
11
|
+
"axios": "1.8.3",
|
|
12
|
+
"axios-retry": "4.4.1",
|
|
13
|
+
"deepmerge-ts": "7.1.0",
|
|
14
|
+
"fast-glob": "3.3.3",
|
|
15
|
+
"mime-types": "2.1.35",
|
|
16
|
+
"nanoid": "3.3.8",
|
|
11
17
|
"semver": "7.6.0",
|
|
12
|
-
"
|
|
13
|
-
"@activepieces/pieces-
|
|
14
|
-
"@activepieces/
|
|
15
|
-
"
|
|
18
|
+
"zod": "3.25.76",
|
|
19
|
+
"@activepieces/pieces-common": "0.6.0",
|
|
20
|
+
"@activepieces/pieces-framework": "0.15.0",
|
|
21
|
+
"@activepieces/shared": "0.17.2",
|
|
22
|
+
"tslib": "2.8.1"
|
|
16
23
|
},
|
|
24
|
+
"overrides": {
|
|
25
|
+
"@tryfabric/martian": {
|
|
26
|
+
"@notionhq/client": "$@notionhq/client"
|
|
27
|
+
},
|
|
28
|
+
"vite": {
|
|
29
|
+
"rollup": "npm:@rollup/wasm-node"
|
|
30
|
+
},
|
|
31
|
+
"stylus": "0.0.1-security"
|
|
32
|
+
},
|
|
33
|
+
"resolutions": {
|
|
34
|
+
"rollup": "npm:@rollup/wasm-node"
|
|
35
|
+
},
|
|
36
|
+
"types": "./src/index.d.ts",
|
|
17
37
|
"main": "./src/index.js",
|
|
18
38
|
"type": "commonjs"
|
|
19
39
|
}
|
package/src/i18n/ca.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Stripe": "Stripe",
|
|
3
|
+
"Online payment processing for internet businesses": "Online payment processing for internet businesses",
|
|
4
|
+
"Secret key acquired from your Stripe dashboard": "Secret key acquired from your Stripe dashboard",
|
|
5
|
+
"Create Customer": "Create Customer",
|
|
6
|
+
"Create Invoice": "Create Invoice",
|
|
7
|
+
"Search Customer": "Search Customer",
|
|
8
|
+
"Retrieve Customer": "Retrieve Customer",
|
|
9
|
+
"Custom API Call": "Custom API Call",
|
|
10
|
+
"Create a customer in stripe": "Create a customer in stripe",
|
|
11
|
+
"Create an Invoice in stripe": "Create an Invoice in stripe",
|
|
12
|
+
"Search for a customer in stripe by email": "Search for a customer in stripe by email",
|
|
13
|
+
"Retrieve a customer in stripe by id": "Retrieve a customer in stripe by id",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
|
15
|
+
"Email": "Email",
|
|
16
|
+
"Name": "Name",
|
|
17
|
+
"Description": "Description",
|
|
18
|
+
"Phone": "Phone",
|
|
19
|
+
"Address Line 1": "Address Line 1",
|
|
20
|
+
"Postal Code": "Postal Code",
|
|
21
|
+
"City": "City",
|
|
22
|
+
"State": "State",
|
|
23
|
+
"Country": "Country",
|
|
24
|
+
"Customer ID": "Customer ID",
|
|
25
|
+
"Currency": "Currency",
|
|
26
|
+
"ID": "ID",
|
|
27
|
+
"Method": "Method",
|
|
28
|
+
"Headers": "Headers",
|
|
29
|
+
"Query Parameters": "Query Parameters",
|
|
30
|
+
"Body": "Body",
|
|
31
|
+
"No Error on Failure": "No Error on Failure",
|
|
32
|
+
"Timeout (in seconds)": "Timeout (in seconds)",
|
|
33
|
+
"Stripe Customer ID": "Stripe Customer ID",
|
|
34
|
+
"Currency for the invoice (e.g., USD)": "Currency for the invoice (e.g., USD)",
|
|
35
|
+
"Description for the invoice": "Description for the invoice",
|
|
36
|
+
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
37
|
+
"GET": "GET",
|
|
38
|
+
"POST": "POST",
|
|
39
|
+
"PATCH": "PATCH",
|
|
40
|
+
"PUT": "PUT",
|
|
41
|
+
"DELETE": "DELETE",
|
|
42
|
+
"HEAD": "HEAD",
|
|
43
|
+
"New Payment": "New Payment",
|
|
44
|
+
"New Customer": "New Customer",
|
|
45
|
+
"Payment Failed": "Payment Failed",
|
|
46
|
+
"New Subscription": "New Subscription",
|
|
47
|
+
"Triggers when a new payment is made": "Triggers when a new payment is made",
|
|
48
|
+
"Triggers when a new customer is created": "Triggers when a new customer is created",
|
|
49
|
+
"Triggers when a payment fails": "Triggers when a payment fails",
|
|
50
|
+
"Triggers when a new subscription is made": "Triggers when a new subscription is made"
|
|
51
|
+
}
|
package/src/i18n/de.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Stripe": "Stripe",
|
|
3
|
+
"Online payment processing for internet businesses": "Online-Zahlungsabwicklung für Internetunternehmen",
|
|
4
|
+
"Secret key acquired from your Stripe dashboard": "Geheimer Schlüssel, der von Ihrem Stripe-Dashboard übernommen wurde",
|
|
5
|
+
"Create Customer": "Kunde erstellen",
|
|
6
|
+
"Create Invoice": "Rechnung erstellen",
|
|
7
|
+
"Search Customer": "Kunden suchen",
|
|
8
|
+
"Retrieve Customer": "Kunde abrufen",
|
|
9
|
+
"Custom API Call": "Eigener API-Aufruf",
|
|
10
|
+
"Create a customer in stripe": "Kunde in Streifen erstellen",
|
|
11
|
+
"Create an Invoice in stripe": "Rechnung in Streifen erstellen",
|
|
12
|
+
"Search for a customer in stripe by email": "Suche nach einem Kunden in Streifen per E-Mail",
|
|
13
|
+
"Retrieve a customer in stripe by id": "Abrufen eines Kunden in Streifen mit Id",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
|
|
15
|
+
"Email": "E-Mail",
|
|
16
|
+
"Name": "Name",
|
|
17
|
+
"Description": "Beschreibung",
|
|
18
|
+
"Phone": "Telefon",
|
|
19
|
+
"Address Line 1": "Adresszeile 1",
|
|
20
|
+
"Postal Code": "Postleitzahl",
|
|
21
|
+
"City": "Stadt",
|
|
22
|
+
"State": "Bundesland",
|
|
23
|
+
"Country": "Land",
|
|
24
|
+
"Customer ID": "Kunden-ID",
|
|
25
|
+
"Currency": "Währung",
|
|
26
|
+
"ID": "ID",
|
|
27
|
+
"Method": "Methode",
|
|
28
|
+
"Headers": "Kopfzeilen",
|
|
29
|
+
"Query Parameters": "Abfrageparameter",
|
|
30
|
+
"Body": "Körper",
|
|
31
|
+
"No Error on Failure": "Kein Fehler bei Fehler",
|
|
32
|
+
"Timeout (in seconds)": "Timeout (in Sekunden)",
|
|
33
|
+
"Stripe Customer ID": "Stripe-Kunden-ID",
|
|
34
|
+
"Currency for the invoice (e.g., USD)": "Währung für die Rechnung (z. B. USD)",
|
|
35
|
+
"Description for the invoice": "Beschreibung der Rechnung",
|
|
36
|
+
"Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
|
|
37
|
+
"GET": "ERHALTEN",
|
|
38
|
+
"POST": "POST",
|
|
39
|
+
"PATCH": "PATCH",
|
|
40
|
+
"PUT": "PUT",
|
|
41
|
+
"DELETE": "LÖSCHEN",
|
|
42
|
+
"HEAD": "HEAD",
|
|
43
|
+
"New Payment": "Neue Zahlung",
|
|
44
|
+
"New Customer": "Neuer Kunde",
|
|
45
|
+
"Payment Failed": "Zahlung fehlgeschlagen",
|
|
46
|
+
"New Subscription": "Neues Abonnement",
|
|
47
|
+
"Triggers when a new payment is made": "Wird ausgelöst, wenn eine neue Zahlung erfolgt",
|
|
48
|
+
"Triggers when a new customer is created": "Wird ausgelöst, wenn ein neuer Kunde erstellt wird",
|
|
49
|
+
"Triggers when a payment fails": "Wird ausgelöst, wenn eine Zahlung fehlgeschlagen ist",
|
|
50
|
+
"Triggers when a new subscription is made": "Wird ausgelöst, wenn ein neues Abonnement abgeschlossen wird"
|
|
51
|
+
}
|
package/src/i18n/es.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Stripe": "Stripe",
|
|
3
|
+
"Online payment processing for internet businesses": "Procesamiento de pagos en línea para empresas de Internet",
|
|
4
|
+
"Secret key acquired from your Stripe dashboard": "Clave secreta adquirida de tu panel de control de Stripe",
|
|
5
|
+
"Create Customer": "Crear cliente",
|
|
6
|
+
"Create Invoice": "Crear factura",
|
|
7
|
+
"Search Customer": "Buscar cliente",
|
|
8
|
+
"Retrieve Customer": "Recuperar cliente",
|
|
9
|
+
"Custom API Call": "Llamada API personalizada",
|
|
10
|
+
"Create a customer in stripe": "Crear un cliente en stripe",
|
|
11
|
+
"Create an Invoice in stripe": "Crear una factura en raya",
|
|
12
|
+
"Search for a customer in stripe by email": "Buscar un cliente en stripe por correo electrónico",
|
|
13
|
+
"Retrieve a customer in stripe by id": "Recuperar un cliente en stripe por id",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
|
|
15
|
+
"Email": "E-mail",
|
|
16
|
+
"Name": "Nombre",
|
|
17
|
+
"Description": "Descripción",
|
|
18
|
+
"Phone": "Teléfono",
|
|
19
|
+
"Address Line 1": "Dirección línea 1",
|
|
20
|
+
"Postal Code": "Código postal",
|
|
21
|
+
"City": "Ciudad",
|
|
22
|
+
"State": "Estado",
|
|
23
|
+
"Country": "País",
|
|
24
|
+
"Customer ID": "ID del cliente",
|
|
25
|
+
"Currency": "Moneda",
|
|
26
|
+
"ID": "ID",
|
|
27
|
+
"Method": "Método",
|
|
28
|
+
"Headers": "Encabezados",
|
|
29
|
+
"Query Parameters": "Parámetros de consulta",
|
|
30
|
+
"Body": "Cuerpo",
|
|
31
|
+
"No Error on Failure": "No hay ningún error en fallo",
|
|
32
|
+
"Timeout (in seconds)": "Tiempo de espera (en segundos)",
|
|
33
|
+
"Stripe Customer ID": "ID de cliente de Stripe",
|
|
34
|
+
"Currency for the invoice (e.g., USD)": "Moneda para la factura (por ejemplo, USD)",
|
|
35
|
+
"Description for the invoice": "Descripción de la factura",
|
|
36
|
+
"Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
|
|
37
|
+
"GET": "RECOGER",
|
|
38
|
+
"POST": "POST",
|
|
39
|
+
"PATCH": "PATCH",
|
|
40
|
+
"PUT": "PUT",
|
|
41
|
+
"DELETE": "BORRAR",
|
|
42
|
+
"HEAD": "LIMPIO",
|
|
43
|
+
"New Payment": "Nuevo pago",
|
|
44
|
+
"New Customer": "Nuevo cliente",
|
|
45
|
+
"Payment Failed": "Pago fallido",
|
|
46
|
+
"New Subscription": "Nueva Suscripción",
|
|
47
|
+
"Triggers when a new payment is made": "Dispara cuando se realiza un nuevo pago",
|
|
48
|
+
"Triggers when a new customer is created": "Dispara cuando se crea un nuevo cliente",
|
|
49
|
+
"Triggers when a payment fails": "Dispara cuando un pago falla",
|
|
50
|
+
"Triggers when a new subscription is made": "Dispara cuando se hace una nueva suscripción"
|
|
51
|
+
}
|
package/src/i18n/fr.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Stripe": "Stripe",
|
|
3
|
+
"Online payment processing for internet businesses": "Traitement des paiements en ligne pour les entreprises en ligne",
|
|
4
|
+
"Secret key acquired from your Stripe dashboard": "Clé secrète obtenue à partir de votre tableau de bord Stripe",
|
|
5
|
+
"Create Customer": "Créer un client",
|
|
6
|
+
"Create Invoice": "Créer une facture",
|
|
7
|
+
"Search Customer": "Rechercher un client",
|
|
8
|
+
"Retrieve Customer": "Récupérer le client",
|
|
9
|
+
"Custom API Call": "Appel API personnalisé",
|
|
10
|
+
"Create a customer in stripe": "Créer un client dans Stripe",
|
|
11
|
+
"Create an Invoice in stripe": "Créer une facture en bande",
|
|
12
|
+
"Search for a customer in stripe by email": "Rechercher un client dans Stripe par e-mail",
|
|
13
|
+
"Retrieve a customer in stripe by id": "Récupérer un client en stripe par id",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Passez un appel API personnalisé à un point de terminaison spécifique",
|
|
15
|
+
"Email": "Courriel",
|
|
16
|
+
"Name": "Nom",
|
|
17
|
+
"Description": "Libellé",
|
|
18
|
+
"Phone": "Téléphone",
|
|
19
|
+
"Address Line 1": "Adresse ligne 1",
|
|
20
|
+
"Postal Code": "Code postal",
|
|
21
|
+
"City": "Ville",
|
|
22
|
+
"State": "État",
|
|
23
|
+
"Country": "Pays",
|
|
24
|
+
"Customer ID": "ID du client",
|
|
25
|
+
"Currency": "Devise",
|
|
26
|
+
"ID": "ID",
|
|
27
|
+
"Method": "Méthode",
|
|
28
|
+
"Headers": "En-têtes",
|
|
29
|
+
"Query Parameters": "Paramètres de requête",
|
|
30
|
+
"Body": "Corps",
|
|
31
|
+
"No Error on Failure": "Aucune erreur en cas d'échec",
|
|
32
|
+
"Timeout (in seconds)": "Délai d'attente (en secondes)",
|
|
33
|
+
"Stripe Customer ID": "ID client Stripe",
|
|
34
|
+
"Currency for the invoice (e.g., USD)": "Devise de la facture (par exemple, USD)",
|
|
35
|
+
"Description for the invoice": "Description de la facture",
|
|
36
|
+
"Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
|
|
37
|
+
"GET": "OBTENIR",
|
|
38
|
+
"POST": "POSTER",
|
|
39
|
+
"PATCH": "PATCH",
|
|
40
|
+
"PUT": "EFFACER",
|
|
41
|
+
"DELETE": "SUPPRIMER",
|
|
42
|
+
"HEAD": "TÊTE",
|
|
43
|
+
"New Payment": "Nouveau paiement",
|
|
44
|
+
"New Customer": "Nouveau client",
|
|
45
|
+
"Payment Failed": "Échec du paiement",
|
|
46
|
+
"New Subscription": "Nouvel abonnement",
|
|
47
|
+
"Triggers when a new payment is made": "Déclenche quand un nouveau paiement est effectué",
|
|
48
|
+
"Triggers when a new customer is created": "Déclenche lorsqu'un nouveau client est créé",
|
|
49
|
+
"Triggers when a payment fails": "Déclenche lorsqu'un paiement échoue",
|
|
50
|
+
"Triggers when a new subscription is made": "Déclenche quand un nouvel abonnement est fait"
|
|
51
|
+
}
|
package/src/i18n/hi.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Stripe": "Stripe",
|
|
3
|
+
"Online payment processing for internet businesses": "Online payment processing for internet businesses",
|
|
4
|
+
"Secret key acquired from your Stripe dashboard": "Secret key acquired from your Stripe dashboard",
|
|
5
|
+
"Create Customer": "Create Customer",
|
|
6
|
+
"Create Invoice": "Create Invoice",
|
|
7
|
+
"Search Customer": "Search Customer",
|
|
8
|
+
"Retrieve Customer": "Retrieve Customer",
|
|
9
|
+
"Custom API Call": "Custom API Call",
|
|
10
|
+
"Create a customer in stripe": "Create a customer in stripe",
|
|
11
|
+
"Create an Invoice in stripe": "Create an Invoice in stripe",
|
|
12
|
+
"Search for a customer in stripe by email": "Search for a customer in stripe by email",
|
|
13
|
+
"Retrieve a customer in stripe by id": "Retrieve a customer in stripe by id",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
|
15
|
+
"Email": "Email",
|
|
16
|
+
"Name": "Name",
|
|
17
|
+
"Description": "Description",
|
|
18
|
+
"Phone": "Phone",
|
|
19
|
+
"Address Line 1": "Address Line 1",
|
|
20
|
+
"Postal Code": "Postal Code",
|
|
21
|
+
"City": "City",
|
|
22
|
+
"State": "State",
|
|
23
|
+
"Country": "Country",
|
|
24
|
+
"Customer ID": "Customer ID",
|
|
25
|
+
"Currency": "Currency",
|
|
26
|
+
"ID": "ID",
|
|
27
|
+
"Method": "Method",
|
|
28
|
+
"Headers": "Headers",
|
|
29
|
+
"Query Parameters": "Query Parameters",
|
|
30
|
+
"Body": "Body",
|
|
31
|
+
"No Error on Failure": "No Error on Failure",
|
|
32
|
+
"Timeout (in seconds)": "Timeout (in seconds)",
|
|
33
|
+
"Stripe Customer ID": "Stripe Customer ID",
|
|
34
|
+
"Currency for the invoice (e.g., USD)": "Currency for the invoice (e.g., USD)",
|
|
35
|
+
"Description for the invoice": "Description for the invoice",
|
|
36
|
+
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
37
|
+
"GET": "GET",
|
|
38
|
+
"POST": "POST",
|
|
39
|
+
"PATCH": "PATCH",
|
|
40
|
+
"PUT": "PUT",
|
|
41
|
+
"DELETE": "DELETE",
|
|
42
|
+
"HEAD": "HEAD",
|
|
43
|
+
"New Payment": "New Payment",
|
|
44
|
+
"New Customer": "New Customer",
|
|
45
|
+
"Payment Failed": "Payment Failed",
|
|
46
|
+
"New Subscription": "New Subscription",
|
|
47
|
+
"Triggers when a new payment is made": "Triggers when a new payment is made",
|
|
48
|
+
"Triggers when a new customer is created": "Triggers when a new customer is created",
|
|
49
|
+
"Triggers when a payment fails": "Triggers when a payment fails",
|
|
50
|
+
"Triggers when a new subscription is made": "Triggers when a new subscription is made"
|
|
51
|
+
}
|
package/src/i18n/id.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Stripe": "Stripe",
|
|
3
|
+
"Online payment processing for internet businesses": "Online payment processing for internet businesses",
|
|
4
|
+
"Secret key acquired from your Stripe dashboard": "Secret key acquired from your Stripe dashboard",
|
|
5
|
+
"Create Customer": "Create Customer",
|
|
6
|
+
"Create Invoice": "Create Invoice",
|
|
7
|
+
"Search Customer": "Search Customer",
|
|
8
|
+
"Retrieve Customer": "Retrieve Customer",
|
|
9
|
+
"Custom API Call": "Custom API Call",
|
|
10
|
+
"Create a customer in stripe": "Create a customer in stripe",
|
|
11
|
+
"Create an Invoice in stripe": "Create an Invoice in stripe",
|
|
12
|
+
"Search for a customer in stripe by email": "Search for a customer in stripe by email",
|
|
13
|
+
"Retrieve a customer in stripe by id": "Retrieve a customer in stripe by id",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
|
15
|
+
"Email": "Email",
|
|
16
|
+
"Name": "Name",
|
|
17
|
+
"Description": "Description",
|
|
18
|
+
"Phone": "Phone",
|
|
19
|
+
"Address Line 1": "Address Line 1",
|
|
20
|
+
"Postal Code": "Postal Code",
|
|
21
|
+
"City": "City",
|
|
22
|
+
"State": "State",
|
|
23
|
+
"Country": "Country",
|
|
24
|
+
"Customer ID": "Customer ID",
|
|
25
|
+
"Currency": "Currency",
|
|
26
|
+
"ID": "ID",
|
|
27
|
+
"Method": "Method",
|
|
28
|
+
"Headers": "Headers",
|
|
29
|
+
"Query Parameters": "Query Parameters",
|
|
30
|
+
"Body": "Body",
|
|
31
|
+
"No Error on Failure": "No Error on Failure",
|
|
32
|
+
"Timeout (in seconds)": "Timeout (in seconds)",
|
|
33
|
+
"Stripe Customer ID": "Stripe Customer ID",
|
|
34
|
+
"Currency for the invoice (e.g., USD)": "Currency for the invoice (e.g., USD)",
|
|
35
|
+
"Description for the invoice": "Description for the invoice",
|
|
36
|
+
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
37
|
+
"GET": "GET",
|
|
38
|
+
"POST": "POST",
|
|
39
|
+
"PATCH": "PATCH",
|
|
40
|
+
"PUT": "PUT",
|
|
41
|
+
"DELETE": "DELETE",
|
|
42
|
+
"HEAD": "HEAD",
|
|
43
|
+
"New Payment": "New Payment",
|
|
44
|
+
"New Customer": "New Customer",
|
|
45
|
+
"Payment Failed": "Payment Failed",
|
|
46
|
+
"New Subscription": "New Subscription",
|
|
47
|
+
"Triggers when a new payment is made": "Triggers when a new payment is made",
|
|
48
|
+
"Triggers when a new customer is created": "Triggers when a new customer is created",
|
|
49
|
+
"Triggers when a payment fails": "Triggers when a payment fails",
|
|
50
|
+
"Triggers when a new subscription is made": "Triggers when a new subscription is made"
|
|
51
|
+
}
|
package/src/i18n/ja.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Stripe": "Stripe",
|
|
3
|
+
"Online payment processing for internet businesses": "インターネットビジネスのためのオンライン決済処理",
|
|
4
|
+
"Secret key acquired from your Stripe dashboard": "Stripeダッシュボードからシークレットキーを取得しました",
|
|
5
|
+
"Create Customer": "顧客を作成",
|
|
6
|
+
"Create Invoice": "請求書を作成",
|
|
7
|
+
"Search Customer": "顧客を検索",
|
|
8
|
+
"Retrieve Customer": "顧客の取得",
|
|
9
|
+
"Custom API Call": "カスタムAPI通話",
|
|
10
|
+
"Create a customer in stripe": "Stripeで顧客を作成する",
|
|
11
|
+
"Create an Invoice in stripe": "Stripeで請求書を作成",
|
|
12
|
+
"Search for a customer in stripe by email": "Stripeの顧客を電子メールで検索",
|
|
13
|
+
"Retrieve a customer in stripe by id": "Stripe の id で顧客を取得する",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
|
|
15
|
+
"Email": "Eメールアドレス",
|
|
16
|
+
"Name": "Name",
|
|
17
|
+
"Description": "Description",
|
|
18
|
+
"Phone": "電話番号",
|
|
19
|
+
"Address Line 1": "住所1",
|
|
20
|
+
"Postal Code": "郵便番号",
|
|
21
|
+
"City": "市区町村名",
|
|
22
|
+
"State": "都道府県:",
|
|
23
|
+
"Country": "国",
|
|
24
|
+
"Customer ID": "顧客 ID",
|
|
25
|
+
"Currency": "通貨",
|
|
26
|
+
"ID": "ID",
|
|
27
|
+
"Method": "方法",
|
|
28
|
+
"Headers": "ヘッダー",
|
|
29
|
+
"Query Parameters": "クエリパラメータ",
|
|
30
|
+
"Body": "本文",
|
|
31
|
+
"No Error on Failure": "失敗時にエラーはありません",
|
|
32
|
+
"Timeout (in seconds)": "タイムアウト(秒)",
|
|
33
|
+
"Stripe Customer ID": "Stripe Customer ID",
|
|
34
|
+
"Currency for the invoice (e.g., USD)": "請求書の通貨 (例: 米ドル)",
|
|
35
|
+
"Description for the invoice": "請求書の説明",
|
|
36
|
+
"Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
|
|
37
|
+
"GET": "取得",
|
|
38
|
+
"POST": "POST",
|
|
39
|
+
"PATCH": "PATCH",
|
|
40
|
+
"PUT": "PUT",
|
|
41
|
+
"DELETE": "削除",
|
|
42
|
+
"HEAD": "頭",
|
|
43
|
+
"New Payment": "新しい支払い",
|
|
44
|
+
"New Customer": "新規顧客",
|
|
45
|
+
"Payment Failed": "支払いに失敗しました",
|
|
46
|
+
"New Subscription": "新しいサブスクリプション",
|
|
47
|
+
"Triggers when a new payment is made": "新しい支払いが行われたときに発生する",
|
|
48
|
+
"Triggers when a new customer is created": "新しい顧客が作成されたときにトリガーします",
|
|
49
|
+
"Triggers when a payment fails": "支払いに失敗したときに発生する",
|
|
50
|
+
"Triggers when a new subscription is made": "新しいサブスクリプションが作成されたときにトリガー"
|
|
51
|
+
}
|
package/src/i18n/nl.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Stripe": "Stripe",
|
|
3
|
+
"Online payment processing for internet businesses": "Online betalingsverwerking voor internetbedrijven",
|
|
4
|
+
"Secret key acquired from your Stripe dashboard": "Geheime sleutel verkregen van uw Stripe dashboard",
|
|
5
|
+
"Create Customer": "Klant aanmaken",
|
|
6
|
+
"Create Invoice": "Factuur aanmaken",
|
|
7
|
+
"Search Customer": "Klant zoeken",
|
|
8
|
+
"Retrieve Customer": "Klant ophalen",
|
|
9
|
+
"Custom API Call": "Custom API Call",
|
|
10
|
+
"Create a customer in stripe": "Maak een klant aan met streep",
|
|
11
|
+
"Create an Invoice in stripe": "Maak een factuur in streep",
|
|
12
|
+
"Search for a customer in stripe by email": "Zoek naar een klant in een streep per e-mail",
|
|
13
|
+
"Retrieve a customer in stripe by id": "Haal een klant op in strep met id",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
|
|
15
|
+
"Email": "E-mail",
|
|
16
|
+
"Name": "Naam",
|
|
17
|
+
"Description": "Beschrijving",
|
|
18
|
+
"Phone": "Telefoonnummer",
|
|
19
|
+
"Address Line 1": "Adresregel 1",
|
|
20
|
+
"Postal Code": "Postcode - Postcode",
|
|
21
|
+
"City": "Woonplaats",
|
|
22
|
+
"State": "Provincie",
|
|
23
|
+
"Country": "Land:",
|
|
24
|
+
"Customer ID": "Klant ID",
|
|
25
|
+
"Currency": "valuta",
|
|
26
|
+
"ID": "ID",
|
|
27
|
+
"Method": "Methode",
|
|
28
|
+
"Headers": "Kopteksten",
|
|
29
|
+
"Query Parameters": "Query parameters",
|
|
30
|
+
"Body": "Lichaam",
|
|
31
|
+
"No Error on Failure": "Geen fout bij fout",
|
|
32
|
+
"Timeout (in seconds)": "Time-out (in seconden)",
|
|
33
|
+
"Stripe Customer ID": "Stripe klant ID",
|
|
34
|
+
"Currency for the invoice (e.g., USD)": "Valuta voor de factuur (bijv. USD)",
|
|
35
|
+
"Description for the invoice": "Beschrijving van de factuur",
|
|
36
|
+
"Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
|
|
37
|
+
"GET": "KRIJG",
|
|
38
|
+
"POST": "POSTE",
|
|
39
|
+
"PATCH": "BEKIJK",
|
|
40
|
+
"PUT": "PUT",
|
|
41
|
+
"DELETE": "VERWIJDEREN",
|
|
42
|
+
"HEAD": "HOOFD",
|
|
43
|
+
"New Payment": "Nieuwe betaling",
|
|
44
|
+
"New Customer": "Nieuwe klant",
|
|
45
|
+
"Payment Failed": "Betaling mislukt",
|
|
46
|
+
"New Subscription": "Nieuw abonnement",
|
|
47
|
+
"Triggers when a new payment is made": "Triggert wanneer een nieuwe betaling wordt gedaan",
|
|
48
|
+
"Triggers when a new customer is created": "Triggert wanneer een nieuwe klant wordt aangemaakt",
|
|
49
|
+
"Triggers when a payment fails": "Triggert wanneer een betaling mislukt",
|
|
50
|
+
"Triggers when a new subscription is made": "Triggert wanneer een nieuw abonnement wordt gemaakt"
|
|
51
|
+
}
|
package/src/i18n/pt.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Stripe": "Stripe",
|
|
3
|
+
"Online payment processing for internet businesses": "Processamento de pagamento online para empresas de internet",
|
|
4
|
+
"Secret key acquired from your Stripe dashboard": "Chave secreta adquirida do seu painel do Stripe",
|
|
5
|
+
"Create Customer": "Criar Cliente",
|
|
6
|
+
"Create Invoice": "Criar fatura",
|
|
7
|
+
"Search Customer": "Pesquisar Cliente",
|
|
8
|
+
"Retrieve Customer": "Recuperar Cliente",
|
|
9
|
+
"Custom API Call": "Chamada de API personalizada",
|
|
10
|
+
"Create a customer in stripe": "Criar um cliente na faixa",
|
|
11
|
+
"Create an Invoice in stripe": "Criar uma fatura em Stripe",
|
|
12
|
+
"Search for a customer in stripe by email": "Procure por um cliente no Stripe por e-mail",
|
|
13
|
+
"Retrieve a customer in stripe by id": "Recuperar um cliente na faixa por identificação",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
|
|
15
|
+
"Email": "e-mail",
|
|
16
|
+
"Name": "Nome",
|
|
17
|
+
"Description": "Descrição",
|
|
18
|
+
"Phone": "Smartphone",
|
|
19
|
+
"Address Line 1": "Linha de Endereço 1",
|
|
20
|
+
"Postal Code": "Código Postal",
|
|
21
|
+
"City": "cidade",
|
|
22
|
+
"State": "Estado:",
|
|
23
|
+
"Country": "País/região",
|
|
24
|
+
"Customer ID": "ID do cliente",
|
|
25
|
+
"Currency": "moeda",
|
|
26
|
+
"ID": "ID",
|
|
27
|
+
"Method": "Método",
|
|
28
|
+
"Headers": "Cabeçalhos",
|
|
29
|
+
"Query Parameters": "Parâmetros da consulta",
|
|
30
|
+
"Body": "Conteúdo",
|
|
31
|
+
"No Error on Failure": "Nenhum erro no Failure",
|
|
32
|
+
"Timeout (in seconds)": "Tempo limite (em segundos)",
|
|
33
|
+
"Stripe Customer ID": "ID do Cliente Stripe",
|
|
34
|
+
"Currency for the invoice (e.g., USD)": "Moeda para a fatura (ex.: USD)",
|
|
35
|
+
"Description for the invoice": "Descrição da fatura",
|
|
36
|
+
"Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
|
|
37
|
+
"GET": "OBTER",
|
|
38
|
+
"POST": "POSTAR",
|
|
39
|
+
"PATCH": "COMPRAR",
|
|
40
|
+
"PUT": "COLOCAR",
|
|
41
|
+
"DELETE": "EXCLUIR",
|
|
42
|
+
"HEAD": "CABEÇA",
|
|
43
|
+
"New Payment": "Novo pagamento",
|
|
44
|
+
"New Customer": "Novo Cliente",
|
|
45
|
+
"Payment Failed": "Falha no pagamento",
|
|
46
|
+
"New Subscription": "Nova Assinatura",
|
|
47
|
+
"Triggers when a new payment is made": "Aciona quando um novo pagamento é feito",
|
|
48
|
+
"Triggers when a new customer is created": "Dispara quando um novo cliente é criado",
|
|
49
|
+
"Triggers when a payment fails": "Aciona quando um pagamento falha",
|
|
50
|
+
"Triggers when a new subscription is made": "Aciona quando uma nova assinatura é feita"
|
|
51
|
+
}
|
package/src/i18n/ru.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Stripe": "Stripe",
|
|
3
|
+
"Online payment processing for internet businesses": "Обработка онлайн платежей для интернет-бизнеса",
|
|
4
|
+
"Secret key acquired from your Stripe dashboard": "Секретный ключ получен из панели управления Stripe",
|
|
5
|
+
"Create Customer": "Создать клиента",
|
|
6
|
+
"Create Invoice": "Создать счет",
|
|
7
|
+
"Search Customer": "Поиск клиента",
|
|
8
|
+
"Retrieve Customer": "Получить клиента",
|
|
9
|
+
"Custom API Call": "Пользовательский вызов API",
|
|
10
|
+
"Create a customer in stripe": "Создать клиента в полоске",
|
|
11
|
+
"Create an Invoice in stripe": "Создать счет в полоске",
|
|
12
|
+
"Search for a customer in stripe by email": "Поиск клиента в полоске по электронной почте",
|
|
13
|
+
"Retrieve a customer in stripe by id": "Получить клиента в полоску по id",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Сделать пользовательский API вызов к определенной конечной точке",
|
|
15
|
+
"Email": "Почта",
|
|
16
|
+
"Name": "Наименование",
|
|
17
|
+
"Description": "Description",
|
|
18
|
+
"Phone": "Телефон",
|
|
19
|
+
"Address Line 1": "Адрес, строка 1",
|
|
20
|
+
"Postal Code": "Почтовый индекс",
|
|
21
|
+
"City": "Город",
|
|
22
|
+
"State": "Область",
|
|
23
|
+
"Country": "Страна",
|
|
24
|
+
"Customer ID": "ID клиента",
|
|
25
|
+
"Currency": "Валюта",
|
|
26
|
+
"ID": "ID",
|
|
27
|
+
"Method": "Метод",
|
|
28
|
+
"Headers": "Заголовки",
|
|
29
|
+
"Query Parameters": "Параметры запроса",
|
|
30
|
+
"Body": "Тело",
|
|
31
|
+
"No Error on Failure": "Нет ошибок при ошибке",
|
|
32
|
+
"Timeout (in seconds)": "Таймаут (в секундах)",
|
|
33
|
+
"Stripe Customer ID": "ID клиента Stripe",
|
|
34
|
+
"Currency for the invoice (e.g., USD)": "Валюта для счета (например, USD)",
|
|
35
|
+
"Description for the invoice": "Описание счета",
|
|
36
|
+
"Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
|
|
37
|
+
"GET": "ПОЛУЧИТЬ",
|
|
38
|
+
"POST": "ПОСТ",
|
|
39
|
+
"PATCH": "ПАТЧ",
|
|
40
|
+
"PUT": "ПОКУПИТЬ",
|
|
41
|
+
"DELETE": "УДАЛИТЬ",
|
|
42
|
+
"HEAD": "HEAD",
|
|
43
|
+
"New Payment": "Новый платеж",
|
|
44
|
+
"New Customer": "Новый клиент",
|
|
45
|
+
"Payment Failed": "Платеж не удался",
|
|
46
|
+
"New Subscription": "Новая подписка",
|
|
47
|
+
"Triggers when a new payment is made": "Срабатывает при новом платеже",
|
|
48
|
+
"Triggers when a new customer is created": "Триггеры при создании нового клиента",
|
|
49
|
+
"Triggers when a payment fails": "Срабатывает при сбое платежа",
|
|
50
|
+
"Triggers when a new subscription is made": "Включает при создании новой подписки"
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Stripe": "Stripe",
|
|
3
|
+
"Online payment processing for internet businesses": "Online payment processing for internet businesses",
|
|
4
|
+
"Secret key acquired from your Stripe dashboard": "Secret key acquired from your Stripe dashboard",
|
|
5
|
+
"Create Customer": "Create Customer",
|
|
6
|
+
"Create Invoice": "Create Invoice",
|
|
7
|
+
"Search Customer": "Search Customer",
|
|
8
|
+
"Retrieve Customer": "Retrieve Customer",
|
|
9
|
+
"Custom API Call": "Custom API Call",
|
|
10
|
+
"Create a customer in stripe": "Create a customer in stripe",
|
|
11
|
+
"Create an Invoice in stripe": "Create an Invoice in stripe",
|
|
12
|
+
"Search for a customer in stripe by email": "Search for a customer in stripe by email",
|
|
13
|
+
"Retrieve a customer in stripe by id": "Retrieve a customer in stripe by id",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
|
15
|
+
"Email": "Email",
|
|
16
|
+
"Name": "Name",
|
|
17
|
+
"Description": "Description",
|
|
18
|
+
"Phone": "Phone",
|
|
19
|
+
"Address Line 1": "Address Line 1",
|
|
20
|
+
"Postal Code": "Postal Code",
|
|
21
|
+
"City": "City",
|
|
22
|
+
"State": "State",
|
|
23
|
+
"Country": "Country",
|
|
24
|
+
"Customer ID": "Customer ID",
|
|
25
|
+
"Currency": "Currency",
|
|
26
|
+
"ID": "ID",
|
|
27
|
+
"Method": "Method",
|
|
28
|
+
"Headers": "Headers",
|
|
29
|
+
"Query Parameters": "Query Parameters",
|
|
30
|
+
"Body": "Body",
|
|
31
|
+
"No Error on Failure": "No Error on Failure",
|
|
32
|
+
"Timeout (in seconds)": "Timeout (in seconds)",
|
|
33
|
+
"Stripe Customer ID": "Stripe Customer ID",
|
|
34
|
+
"Currency for the invoice (e.g., USD)": "Currency for the invoice (e.g., USD)",
|
|
35
|
+
"Description for the invoice": "Description for the invoice",
|
|
36
|
+
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
37
|
+
"GET": "GET",
|
|
38
|
+
"POST": "POST",
|
|
39
|
+
"PATCH": "PATCH",
|
|
40
|
+
"PUT": "PUT",
|
|
41
|
+
"DELETE": "DELETE",
|
|
42
|
+
"HEAD": "HEAD",
|
|
43
|
+
"New Payment": "New Payment",
|
|
44
|
+
"New Customer": "New Customer",
|
|
45
|
+
"Payment Failed": "Payment Failed",
|
|
46
|
+
"New Subscription": "New Subscription",
|
|
47
|
+
"Triggers when a new payment is made": "Triggers when a new payment is made",
|
|
48
|
+
"Triggers when a new customer is created": "Triggers when a new customer is created",
|
|
49
|
+
"Triggers when a payment fails": "Triggers when a payment fails",
|
|
50
|
+
"Triggers when a new subscription is made": "Triggers when a new subscription is made"
|
|
51
|
+
}
|
package/src/i18n/vi.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Stripe": "Stripe",
|
|
3
|
+
"Online payment processing for internet businesses": "Online payment processing for internet businesses",
|
|
4
|
+
"Secret key acquired from your Stripe dashboard": "Secret key acquired from your Stripe dashboard",
|
|
5
|
+
"Create Customer": "Create Customer",
|
|
6
|
+
"Create Invoice": "Create Invoice",
|
|
7
|
+
"Search Customer": "Search Customer",
|
|
8
|
+
"Retrieve Customer": "Retrieve Customer",
|
|
9
|
+
"Custom API Call": "Custom API Call",
|
|
10
|
+
"Create a customer in stripe": "Create a customer in stripe",
|
|
11
|
+
"Create an Invoice in stripe": "Create an Invoice in stripe",
|
|
12
|
+
"Search for a customer in stripe by email": "Search for a customer in stripe by email",
|
|
13
|
+
"Retrieve a customer in stripe by id": "Retrieve a customer in stripe by id",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
|
15
|
+
"Email": "Email",
|
|
16
|
+
"Name": "Name",
|
|
17
|
+
"Description": "Description",
|
|
18
|
+
"Phone": "Phone",
|
|
19
|
+
"Address Line 1": "Address Line 1",
|
|
20
|
+
"Postal Code": "Postal Code",
|
|
21
|
+
"City": "City",
|
|
22
|
+
"State": "State",
|
|
23
|
+
"Country": "Country",
|
|
24
|
+
"Customer ID": "Customer ID",
|
|
25
|
+
"Currency": "Currency",
|
|
26
|
+
"ID": "ID",
|
|
27
|
+
"Method": "Method",
|
|
28
|
+
"Headers": "Headers",
|
|
29
|
+
"Query Parameters": "Query Parameters",
|
|
30
|
+
"Body": "Body",
|
|
31
|
+
"No Error on Failure": "No Error on Failure",
|
|
32
|
+
"Timeout (in seconds)": "Timeout (in seconds)",
|
|
33
|
+
"Stripe Customer ID": "Stripe Customer ID",
|
|
34
|
+
"Currency for the invoice (e.g., USD)": "Currency for the invoice (e.g., USD)",
|
|
35
|
+
"Description for the invoice": "Description for the invoice",
|
|
36
|
+
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
37
|
+
"GET": "GET",
|
|
38
|
+
"POST": "POST",
|
|
39
|
+
"PATCH": "PATCH",
|
|
40
|
+
"PUT": "PUT",
|
|
41
|
+
"DELETE": "DELETE",
|
|
42
|
+
"HEAD": "HEAD",
|
|
43
|
+
"New Payment": "New Payment",
|
|
44
|
+
"New Customer": "New Customer",
|
|
45
|
+
"Payment Failed": "Payment Failed",
|
|
46
|
+
"New Subscription": "New Subscription",
|
|
47
|
+
"Triggers when a new payment is made": "Triggers when a new payment is made",
|
|
48
|
+
"Triggers when a new customer is created": "Triggers when a new customer is created",
|
|
49
|
+
"Triggers when a payment fails": "Triggers when a payment fails",
|
|
50
|
+
"Triggers when a new subscription is made": "Triggers when a new subscription is made"
|
|
51
|
+
}
|
package/src/i18n/zh.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Stripe": "Stripe",
|
|
3
|
+
"Online payment processing for internet businesses": "線上支付處理為互聯網企業",
|
|
4
|
+
"Secret key acquired from your Stripe dashboard": "從您的 Stripe 儀表板獲取的密鑰",
|
|
5
|
+
"Create Customer": "創建客戶",
|
|
6
|
+
"Create Invoice": "創建發票",
|
|
7
|
+
"Search Customer": "搜索客戶",
|
|
8
|
+
"Retrieve Customer": "檢索客戶",
|
|
9
|
+
"Custom API Call": "自定義 API 呼叫",
|
|
10
|
+
"Create a customer in stripe": "在 Stripe 創建一個客戶",
|
|
11
|
+
"Create an Invoice in stripe": "在 Stripe 創建一個發票",
|
|
12
|
+
"Search for a customer in stripe by email": "通過電子郵件在 Stripe 中搜索客戶",
|
|
13
|
+
"Retrieve a customer in stripe by id": "通過 ID 在 Stripe 中檢索客戶",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "將一個自定義 API 調用到一個特定的端點",
|
|
15
|
+
"Email": "電子郵件",
|
|
16
|
+
"Name": "姓名",
|
|
17
|
+
"Description": "描述",
|
|
18
|
+
"Phone": "電話",
|
|
19
|
+
"Address Line 1": "地址第一行",
|
|
20
|
+
"Postal Code": "郵政編碼",
|
|
21
|
+
"City": "城市",
|
|
22
|
+
"State": "省州",
|
|
23
|
+
"Country": "國家",
|
|
24
|
+
"Customer ID": "客戶ID",
|
|
25
|
+
"Currency": "貨幣",
|
|
26
|
+
"ID": "ID",
|
|
27
|
+
"Method": "方法",
|
|
28
|
+
"Headers": "信頭",
|
|
29
|
+
"Query Parameters": "查詢參數",
|
|
30
|
+
"Body": "正文內容",
|
|
31
|
+
"No Error on Failure": "失敗時沒有錯誤",
|
|
32
|
+
"Timeout (in seconds)": "超時(秒)",
|
|
33
|
+
"Stripe Customer ID": "Stripe 客戶 ID",
|
|
34
|
+
"Currency for the invoice (e.g., USD)": "發票的貨幣(例如 USD)",
|
|
35
|
+
"Description for the invoice": "發票的描述",
|
|
36
|
+
"Authorization headers are injected automatically from your connection.": "授權頭自動從您的連接中注入。",
|
|
37
|
+
"GET": "GET",
|
|
38
|
+
"POST": "POST",
|
|
39
|
+
"PATCH": "PATCH",
|
|
40
|
+
"PUT": "PUT",
|
|
41
|
+
"DELETE": "DELETE",
|
|
42
|
+
"HEAD": "HEAD",
|
|
43
|
+
"New Payment": "新支付",
|
|
44
|
+
"New Customer": "新客戶",
|
|
45
|
+
"Payment Failed": "支付失敗",
|
|
46
|
+
"New Subscription": "新訂閱",
|
|
47
|
+
"Triggers when a new payment is made": "當發生新支付時觸發",
|
|
48
|
+
"Triggers when a new customer is created": "當創建新客戶時觸發",
|
|
49
|
+
"Triggers when a payment fails": "當支付失敗時觸發",
|
|
50
|
+
"Triggers when a new subscription is made": "當新增訂閱時觸發"
|
|
51
|
+
}
|
package/src/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.stripe = exports.stripeAuth = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
4
5
|
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
5
6
|
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
7
|
const shared_1 = require("@activepieces/shared");
|
|
@@ -20,9 +21,9 @@ exports.stripeAuth = pieces_framework_1.PieceAuth.SecretText({
|
|
|
20
21
|
exports.stripe = (0, pieces_framework_1.createPiece)({
|
|
21
22
|
displayName: 'Stripe',
|
|
22
23
|
description: 'Online payment processing for internet businesses',
|
|
23
|
-
minimumSupportedRelease: '0.
|
|
24
|
+
minimumSupportedRelease: '0.30.0',
|
|
24
25
|
logoUrl: 'https://cdn.activepieces.com/pieces/stripe.png',
|
|
25
|
-
authors: [
|
|
26
|
+
authors: ["lldiegon", "doskyft", "kishanprmr", "MoShizzle", "AbdulTheActivePiecer", "khaledmashaly", "abuaboud"],
|
|
26
27
|
categories: [shared_1.PieceCategory.COMMERCE, shared_1.PieceCategory.PAYMENT_PROCESSING],
|
|
27
28
|
auth: exports.stripeAuth,
|
|
28
29
|
actions: [
|
|
@@ -33,8 +34,10 @@ exports.stripe = (0, pieces_framework_1.createPiece)({
|
|
|
33
34
|
(0, pieces_common_1.createCustomApiCallAction)({
|
|
34
35
|
baseUrl: () => 'https://api.stripe.com/v1',
|
|
35
36
|
auth: exports.stripeAuth,
|
|
36
|
-
authMapping: (auth) => ({
|
|
37
|
-
|
|
37
|
+
authMapping: (auth) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
38
|
+
return ({
|
|
39
|
+
Authorization: `Bearer ${auth}`,
|
|
40
|
+
});
|
|
38
41
|
}),
|
|
39
42
|
}),
|
|
40
43
|
],
|
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":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/stripe/src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAAwE;AAC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iter(this, void 0, void 0, function* () {
|
|
56
|
+
var _a;
|
|
57
57
|
const response = yield ((_a = context.store) === null || _a === void 0 ? void 0 : _a.get('_new_customer_trigger'));
|
|
58
58
|
if (response !== null && response !== undefined) {
|
|
59
59
|
yield common_1.stripeCommon.unsubscribeWebhook(response.webhookId, context.auth);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-customer.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/stripe/src/lib/trigger/new-customer.ts"],"names":[],"mappings":";;;;AAAA,qEAA+D;AAC/D,qEAAiE;AACjE,sCAAyC;AACzC,6BAAmC;AAEtB,QAAA,iBAAiB,GAAG,IAAA,gCAAa,EAAC;IAC7C,IAAI,EAAE,cAAU;IAChB,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,yCAAyC;IACtD,KAAK,EAAE,EAAE;IACT,UAAU,EAAE;QACV,EAAE,EAAE,oBAAoB;QACxB,MAAM,EAAE,UAAU;QAClB,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,UAAU;QACnB,QAAQ,EAAE,IAAI;QACd,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,IAAI;QACpB,UAAU,EAAE,KAAK;QACjB,WAAW,EAAE,IAAI;QACjB,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,kBAAkB;QACzB,cAAc,EAAE,UAAU;QAC1B,gBAAgB,EAAE;YAChB,aAAa,EAAE,IAAI;YACnB,sBAAsB,EAAE,IAAI;YAC5B,MAAM,EAAE,IAAI;YACZ,iBAAiB,EAAE,IAAI;SACxB;QACD,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,UAAU;QAChB,qBAAqB,EAAE,CAAC;QACxB,KAAK,EAAE,IAAI;QACX,iBAAiB,EAAE,EAAE;QACrB,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE,IAAI;KACjB;IACD,IAAI,EAAE,kCAAe,CAAC,OAAO;IACvB,QAAQ,CAAC,OAAO;;YACpB,MAAM,OAAO,GAAG,MAAM,qBAAY,CAAC,gBAAgB,CACjD,kBAAkB,EAClB,OAAO,CAAC,UAAU,EAClB,OAAO,CAAC,IAAI,CACb,CAAC;YACF,MAAM,OAAO,CAAC,KAAK,CAAC,GAAG,CAAqB,uBAAuB,EAAE;gBACnE,SAAS,EAAE,OAAO,CAAC,EAAE;aACtB,CAAC,CAAC;QACL,CAAC;KAAA;IACK,SAAS,CAAC,OAAO;;;YACrB,MAAM,QAAQ,GAAG,MAAM,CAAA,MAAA,OAAO,CAAC,KAAK,0CAAE,GAAG,CACvC,uBAAuB,CACxB,CAAA,CAAC;YACF,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS,EAAE;
|
|
1
|
+
{"version":3,"file":"new-customer.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/stripe/src/lib/trigger/new-customer.ts"],"names":[],"mappings":";;;;AAAA,qEAA+D;AAC/D,qEAAiE;AACjE,sCAAyC;AACzC,6BAAmC;AAEtB,QAAA,iBAAiB,GAAG,IAAA,gCAAa,EAAC;IAC7C,IAAI,EAAE,cAAU;IAChB,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,yCAAyC;IACtD,KAAK,EAAE,EAAE;IACT,UAAU,EAAE;QACV,EAAE,EAAE,oBAAoB;QACxB,MAAM,EAAE,UAAU;QAClB,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,UAAU;QACnB,QAAQ,EAAE,IAAI;QACd,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,IAAI;QACpB,UAAU,EAAE,KAAK;QACjB,WAAW,EAAE,IAAI;QACjB,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,kBAAkB;QACzB,cAAc,EAAE,UAAU;QAC1B,gBAAgB,EAA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|
|
109
109
|
transfer_group: null,
|
|
110
110
|
},
|
|
111
111
|
onEnable(context) {
|
|
112
|
-
var _a;
|
|
113
112
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
113
|
+
var _a;
|
|
114
114
|
const webhook = yield common_1.stripeCommon.subscribeWebhook('charge.succeeded', context.webhookUrl, context.auth);
|
|
115
115
|
yield ((_a = context.store) === null || _a === void 0 ? void 0 : _a.put('_new_payment_trigger', {
|
|
116
116
|
webhookId: webhook.id,
|
|
@@ -118,8 +118,8 @@ exports.stripeNewPayment = (0, pieces_framework_1.createTrigger)({
|
|
|
118
118
|
});
|
|
119
119
|
},
|
|
120
120
|
onDisable(context) {
|
|
121
|
-
var _a;
|
|
122
121
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
122
|
+
var _a;
|
|
123
123
|
const response = yield ((_a = context.store) === null || _a === void 0 ? void 0 : _a.get('_new_payment_trigger'));
|
|
124
124
|
if (response !== null && response !== undefined) {
|
|
125
125
|
yield common_1.stripeCommon.unsubscribeWebhook(response.webhookId, context.auth);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-payment.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/stripe/src/lib/trigger/new-payment.ts"],"names":[],"mappings":";;;;AAAA,qEAA+D;AAC/D,qEAAiE;AACjE,sCAAyC;AACzC,6BAAmC;AAEtB,QAAA,gBAAgB,GAAG,IAAA,gCAAa,EAAC;IAC5C,IAAI,EAAE,cAAU;IAChB,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,qCAAqC;IAClD,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,kCAAe,CAAC,OAAO;IAC7B,UAAU,EAAE;QACV,EAAE,EAAE,6BAA6B;QACjC,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE,KAAK;QACb,eAAe,EAAE,KAAK;QACtB,eAAe,EAAE,CAAC;QAClB,WAAW,EAAE,IAAI;QACj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;gBACb,SAAS,EAAE,EAAE;gBACb,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,kBAAkB;gBAC/B,OAAO,EAAE,QAAQ;gBACjB,YAAY,EAAE,IAAI;gBAClB,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,MAAM;gBACf,cAAc,EAAE,IAAI;gBACpB,MAAM,EAAE,IAAI;aACb;YACD,IAAI,EAAE,MAAM;SACb;QACD,aAAa,EAAE,IAAI;QACnB,cAAc,EAAE,IAAI;QACpB,WAAW,EACT,oKAAoK;QACtK,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE;YACP,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,EAAE;YACR,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,CAAC;YACd,GAAG,EAAE,iDAAiD;SACvD;QACD,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,IAAI;QACZ,eAAe,EAAE,IAAI;QACrB,oBAAoB,EAAE,IAAI;QAC1B,2BAA2B,EAAE,IAAI;QACjC,MAAM,EAAE,WAAW;QACnB,aAAa,EAAE,IAAI;QACnB,cAAc,EAAE,IAAI;KACrB;IACK,QAAQ,CAAC,OAAO;;;YACpB,MAAM,OAAO,GAAG,MAAM,qBAAY,CAAC,gBAAgB,CACjD,kBAAkB,EAClB,OAAO,CAAC,UAAW,EACnB,OAAO,CAAC,IAAI,CACb,CAAC;YACF,MAAM,CAAA,MAAA,OAAO,CAAC,KAAK,0CAAE,GAAG,CAAqB,sBAAsB,EAAE;gBACnE,SAAS,EAAE,OAAO,CAAC,EAAE;aACtB,CAAC,CAAA,CAAC
|
|
1
|
+
{"version":3,"file":"new-payment.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/stripe/src/lib/trigger/new-payment.ts"],"names":[],"mappings":";;;;AAAA,qEAA+D;AAC/D,qEAAiE;AACjE,sCAAyC;AACzC,6BAAmC;AAEtB,QAAA,gBAAgB,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O,CAAC,IAAI,CACb,CAAC;YACF,MAAM,CAAA,MAAA,OAAO,CAAC,KAAK,0CAAE,GAAG,CAAqB,sBAAsB,EAAE;gBACnE,SAAS,EAAE,OAAO,CAAC,EAAE;aACtB,CAAC,CAAA,CAAC;QACL,CAAC;KAAA;IACK,SAAS,CAAC,OAAO;;;YACrB,MAAM,QAAQ,GAAG,MAAM,CAAA,MAAA,OAAO,CAAC,KAAK,0CAAE,GAAG,CACvC,sBAAsB,CACvB,CAAA,CAAC;YACF,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;gBAChD,MAAM,qBAAY,CAAC,kBAAkB,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;YAC1E,CAAC;QACH,CAAC;KAAA;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,IAAmB,CAAC;YACxD,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACnC,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -150,8 +150,8 @@ exports.stripeNewSubscription = (0, pieces_framework_1.createTrigger)({
|
|
|
150
150
|
trial_start: null,
|
|
151
151
|
},
|
|
152
152
|
onEnable(context) {
|
|
153
|
-
var _a;
|
|
154
153
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
154
|
+
var _a;
|
|
155
155
|
const webhook = yield common_1.stripeCommon.subscribeWebhook('customer.subscription.created', context.webhookUrl, context.auth);
|
|
156
156
|
yield ((_a = context.store) === null || _a === void 0 ? void 0 : _a.put('_new_customer_subscription_trigger', {
|
|
157
157
|
webhookId: webhook.id,
|
|
@@ -159,8 +159,8 @@ exports.stripeNewSubscription = (0, pieces_framework_1.createTrigger)({
|
|
|
159
159
|
});
|
|
160
160
|
},
|
|
161
161
|
onDisable(context) {
|
|
162
|
-
var _a;
|
|
163
162
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
163
|
+
var _a;
|
|
164
164
|
const response = yield ((_a = context.store) === null || _a === void 0 ? void 0 : _a.get('_new_customer_subscription_trigger'));
|
|
165
165
|
if (response !== null && response !== undefined) {
|
|
166
166
|
yield common_1.stripeCommon.unsubscribeWebhook(response.webhookId, context.auth);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-subscription.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/stripe/src/lib/trigger/new-subscription.ts"],"names":[],"mappings":";;;;AAAA,qEAA+D;AAC/D,qEAAiE;AACjE,sCAAyC;AACzC,6BAAmC;AAEtB,QAAA,qBAAqB,GAAG,IAAA,gCAAa,EAAC;IACjD,IAAI,EAAE,cAAU;IAChB,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE,kBAAkB;IAC/B,WAAW,EAAE,0CAA0C;IACvD,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,kCAAe,CAAC,OAAO;IAC7B,UAAU,EAAE;QACV,EAAE,EAAE,8BAA8B;QAClC,MAAM,EAAE,cAAc;QACtB,WAAW,EAAE,IAAI;QACjB,uBAAuB,EAAE,IAAI;QAC7B,aAAa,EAAE;YACb,OAAO,EAAE,IAAI;SACd;QACD,oBAAoB,EAAE,UAAU;QAChC,kBAAkB,EAAE,IAAI;QACxB,SAAS,EAAE,IAAI;QACf,oBAAoB,EAAE,KAAK;QAC3B,WAAW,EAAE,IAAI;QACjB,iBAAiB,EAAE,sBAAsB;QACzC,OAAO,EAAE,UAAU;QACnB,QAAQ,EAAE,KAAK;QACf,kBAAkB,EAAE,UAAU;QAC9B,oBAAoB,EAAE,UAAU;QAChC,QAAQ,EAAE,oBAAoB;QAC9B,cAAc,EAAE,IAAI;QACpB,sBAAsB,EAAE,6BAA6B;QACrD,cAAc,EAAE,IAAI;QACpB,iBAAiB,EAAE,EAAE;QACrB,WAAW,EAAE,IAAI;QACjB,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;Q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U,EAAE,IAAI;QAChB,aAAa,EAAE,IAAI;QACnB,SAAS,EAAE,IAAI;QACf,WAAW,EAAE,IAAI;KAClB;IACK,QAAQ,CAAC,OAAO;;;YACpB,MAAM,OAAO,GAAG,MAAM,qBAAY,CAAC,gBAAgB,CACjD,+BAA+B,EAC/B,OAAO,CAAC,UAAW,EACnB,OAAO,CAAC,IAAI,CACb,CAAC;YACF,MAAM,CAAA,MAAA,OAAO,CAAC,KAAK,0CAAE,GAAG,CACtB,oCAAoC,EACpC;gBACE,SAAS,EAAE,OAAO,CAAC,EAAE;aACtB,CACF,CAAA,CAAC
|
|
1
|
+
{"version":3,"file":"new-subscription.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/stripe/src/lib/trigger/new-subscription.ts"],"names":[],"mappings":";;;;AAAA,qEAA+D;AAC/D,qEAAiE;AACjE,sCAAyC;AACzC,6BAAmC;AAEtB,QAAA,qBAAqB,GAAG,IAAA,gCAAa,EAAC;IACjD,IAAI,EAAE,cAAU;IAChB,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE,kBAAkB;IAC/B,WAAW,EAAE,0CAA0C;IACvD,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,kCAAe,CAAC,OAAO;IAC7B,UAAU,EAAE;QACV,EAAE,EAAE,8BAA8B;QAClC,MAAM,EAAE,cAAc;QACtB,WAAW,EAAE,IAAI;QACjB,uBAAuB,EAAE,IAAI;QAC7B,aAAa,EAAE;YACb,OAAO,EAAE,IAAI;SACd;QACD,oBAAoB,EAAE,UAAU;QAChC,kBAAkB,EAAE,IAAI;QACxB,SAAS,EAAE,IAAI;QACf,oBAAoB,EAAE,KAAK;QAC3B,WAAW,EAAE,IAAI;QACjB,iBAAiB,EAAE,sBAAsB;QACzC,OAAO,EAAE,UAAU;QACnB,QAAQ,EAAE,KAAK;QACf,kBAAkB,EAAE,UAAU;QAC9B,oBAAoB,EAAE,UAAU;QAChC,QAAQ,EAAE,oBAAoB;QAC9B,cAAc,EAAE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ACrB,iBAAiB,EAAE,IAAI;YACvB,UAAU,EAAE,UAAU;SACvB;QACD,QAAQ,EAAE,CAAC;QACX,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,IAAI;QACnB,SAAS,EAAE,IAAI;QACf,WAAW,EAAE,IAAI;KAClB;IACK,QAAQ,CAAC,OAAO;;;YACpB,MAAM,OAAO,GAAG,MAAM,qBAAY,CAAC,gBAAgB,CACjD,+BAA+B,EAC/B,OAAO,CAAC,UAAW,EACnB,OAAO,CAAC,IAAI,CACb,CAAC;YACF,MAAM,CAAA,MAAA,OAAO,CAAC,KAAK,0CAAE,GAAG,CACtB,oCAAoC,EACpC;gBACE,SAAS,EAAE,OAAO,CAAC,EAAE;aACtB,CACF,CAAA,CAAC;QACJ,CAAC;KAAA;IACK,SAAS,CAAC,OAAO;;;YACrB,MAAM,QAAQ,GAAG,MAAM,CAAA,MAAA,OAAO,CAAC,KAAK,0CAAE,GAAG,CACvC,oCAAoC,CACrC,CAAA,CAAC;YACF,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;gBAChD,MAAM,qBAAY,CAAC,kBAAkB,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;YAC1E,CAAC;QACH,CAAC;KAAA;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,IAAmB,CAAC;YACxD,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACnC,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -156,8 +156,8 @@ exports.stripePaymentFailed = (0, pieces_framework_1.createTrigger)({
|
|
|
156
156
|
},
|
|
157
157
|
type: pieces_framework_2.TriggerStrategy.WEBHOOK,
|
|
158
158
|
onEnable(context) {
|
|
159
|
-
var _a;
|
|
160
159
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
160
|
+
var _a;
|
|
161
161
|
const webhook = yield common_1.stripeCommon.subscribeWebhook('charge.failed', context.webhookUrl, context.auth);
|
|
162
162
|
yield ((_a = context.store) === null || _a === void 0 ? void 0 : _a.put('_payment_failed_trigger', {
|
|
163
163
|
webhookId: webhook.id,
|
|
@@ -165,8 +165,8 @@ exports.stripePaymentFailed = (0, pieces_framework_1.createTrigger)({
|
|
|
165
165
|
});
|
|
166
166
|
},
|
|
167
167
|
onDisable(context) {
|
|
168
|
-
var _a;
|
|
169
168
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
169
|
+
var _a;
|
|
170
170
|
const response = yield ((_a = context.store) === null || _a === void 0 ? void 0 : _a.get('_payment_failed_trigger'));
|
|
171
171
|
if (response !== null && response !== undefined) {
|
|
172
172
|
yield common_1.stripeCommon.unsubscribeWebhook(response.webhookId, context.auth);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-failed.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/stripe/src/lib/trigger/payment-failed.ts"],"names":[],"mappings":";;;;AAAA,qEAA+D;AAC/D,qEAAiE;AACjE,sCAAyC;AACzC,6BAAmC;AAEtB,QAAA,mBAAmB,GAAG,IAAA,gCAAa,EAAC;IAC/C,IAAI,EAAE,cAAU;IAChB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EAAE,+BAA+B;IAC5C,KAAK,EAAE,EAAE;IACT,UAAU,EAAE;QACV,EAAE,EAAE,6BAA6B;QACjC,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE,MAAM;QACd,eAAe,EAAE,CAAC;QAClB,eAAe,EAAE,CAAC;QAClB,WAAW,EAAE,IAAI;QACjB,eAAe,EAAE,IAAI;QACrB,sBAAsB,EAAE,IAAI;QAC5B,mBAAmB,EAAE,IAAI;QACzB,eAAe,EAAE;YACf,OAAO,EA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EAAE,OAAO;oBACpB,KAAK,EAAE,IAAI;iBACZ;gBACD,KAAK,EAAE,IAAI;gBACX,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,IAAI;gBACX,gBAAgB,EAAE,IAAI;gBACtB,cAAc,EAAE,IAAI;gBACpB,aAAa,EAAE,IAAI;gBACnB,cAAc,EAAE,IAAI;aACrB;YACD,oBAAoB,EAAE,IAAI;YAC1B,MAAM,EAAE,YAAY;YACpB,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,UAAU;SAClB;QACD,eAAe,EAAE,IAAI;QACrB,oBAAoB,EAAE,sBAAsB;QAC5C,2BAA2B,EAAE,IAAI;QACjC,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE,IAAI;QACnB,cAAc,EAAE,IAAI;KACrB;IACD,IAAI,EAAE,kCAAe,CAAC,OAAO;IACvB,QAAQ,CAAC,OAAO;;;YACpB,MAAM,OAAO,GAAG,MAAM,qBAAY,CAAC,gBAAgB,CACjD,eAAe,EACf,OAAO,CAAC,UAAU,EAClB,OAAO,CAAC,IAAI,CACb,CAAC;YACF,MAAM,CAAA,MAAA,OAAO,CAAC,KAAK,0CAAE,GAAG,CAAqB,yBAAyB,EAAE;gBACtE,SAAS,EAAE,OAAO,CAAC,EAAE;aACtB,CAAC,CAAA,CAAC
|
|
1
|
+
{"version":3,"file":"payment-failed.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/stripe/src/lib/trigger/payment-failed.ts"],"names":[],"mappings":";;;;AAAA,qEAA+D;AAC/D,qEAAiE;AACjE,sCAAyC;AACzC,6BAAmC;AAEtB,QAAA,mBAAmB,GAAG,IAAA,gCAAa,EAAC;IAC/C,IAAI,EAAE,cAAU;IAChB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EAAE,+BAA+B;IAC5C,KAAK,EAAE,EAAE;IACT,UAAU,EAAE;QACV,EAAE,EAAE,6BAA6B;QACjC,MAAM,EAAE,QAAQ;QA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