Add Activepieces integration for workflow automation
- Add Activepieces fork with SmoothSchedule custom piece - Create integrations app with Activepieces service layer - Add embed token endpoint for iframe integration - Create Automations page with embedded workflow builder - Add sidebar visibility fix for embed mode - Add list inactive customers endpoint to Public API - Include SmoothSchedule triggers: event created/updated/cancelled - Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"extends": ["../../../../.eslintrc.json"],
|
||||
"ignorePatterns": ["!**/*"],
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
||||
"rules": {}
|
||||
},
|
||||
{
|
||||
"files": ["*.ts", "*.tsx"],
|
||||
"rules": {}
|
||||
},
|
||||
{
|
||||
"files": ["*.js", "*.jsx"],
|
||||
"rules": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
# pieces-woocommerce
|
||||
|
||||
This library was generated with [Nx](https://nx.dev).
|
||||
|
||||
## Running lint
|
||||
|
||||
Run `nx lint pieces-woocommerce` to execute the lint via [ESLint](https://eslint.org/).
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "@activepieces/piece-woocommerce",
|
||||
"version": "0.0.17"
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"name": "pieces-woocommerce",
|
||||
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
|
||||
"sourceRoot": "packages/pieces/community/woocommerce/src",
|
||||
"projectType": "library",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@nx/js:tsc",
|
||||
"outputs": [
|
||||
"{options.outputPath}"
|
||||
],
|
||||
"options": {
|
||||
"outputPath": "dist/packages/pieces/community/woocommerce",
|
||||
"tsConfig": "packages/pieces/community/woocommerce/tsconfig.lib.json",
|
||||
"packageJson": "packages/pieces/community/woocommerce/package.json",
|
||||
"main": "packages/pieces/community/woocommerce/src/index.ts",
|
||||
"assets": [
|
||||
"packages/pieces/community/woocommerce/*.md",
|
||||
{
|
||||
"input": "packages/pieces/community/woocommerce/src/i18n",
|
||||
"output": "./src/i18n",
|
||||
"glob": "**/!(i18n.json)"
|
||||
}
|
||||
],
|
||||
"buildableProjectDepsInPackageJsonType": "dependencies",
|
||||
"updateBuildableProjectDepsInPackageJson": true
|
||||
},
|
||||
"dependsOn": [
|
||||
"^build",
|
||||
"prebuild"
|
||||
]
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint",
|
||||
"outputs": [
|
||||
"{options.outputFile}"
|
||||
]
|
||||
},
|
||||
"prebuild": {
|
||||
"executor": "nx:run-commands",
|
||||
"options": {
|
||||
"cwd": "packages/pieces/community/woocommerce",
|
||||
"command": "bun install --no-save --silent"
|
||||
},
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
]
|
||||
}
|
||||
},
|
||||
"tags": []
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"WooCommerce": "WooCommerce",
|
||||
"E-commerce platform built on WordPress": "E-commerce platform built on WordPress",
|
||||
"Base URL": "Base URL",
|
||||
"Consumer Key": "Consumer Key",
|
||||
"Consumer Secret": "Consumer Secret",
|
||||
"The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only": "The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only",
|
||||
"The consumer key generated from your app": "The consumer key generated from your app",
|
||||
"The consumer secret generated from your app": "The consumer secret generated from your app",
|
||||
"\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will ": "\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will not work even on local instances on the same device.\n",
|
||||
"Create Customer": "Create Customer",
|
||||
"Create Coupon": "Create Coupon",
|
||||
"Create Product": "Create Product",
|
||||
"Find Customer": "Find Customer",
|
||||
"Find Product": "Find Product",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Create a Customer": "Create a Customer",
|
||||
"Create a coupon": "Create a coupon",
|
||||
"Create a Product": "Create a Product",
|
||||
"Find a Customer": "Find a Customer",
|
||||
"Find a Product": "Find a Product",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Email": "Email",
|
||||
"First name": "First name",
|
||||
"Last name": "Last name",
|
||||
"Username": "Username",
|
||||
"Password": "Password",
|
||||
"Address": "Address",
|
||||
"City": "City",
|
||||
"State": "State",
|
||||
"Postcode": "Postcode",
|
||||
"Country": "Country",
|
||||
"Phone": "Phone",
|
||||
"Coupon code": "Coupon code",
|
||||
"Discount type": "Discount type",
|
||||
"Amount": "Amount",
|
||||
"Minimum amount": "Minimum amount",
|
||||
"Name": "Name",
|
||||
"Type": "Type",
|
||||
"Regular price": "Regular price",
|
||||
"Description": "Description",
|
||||
"Short description": "Short description",
|
||||
"Categories": "Categories",
|
||||
"Images": "Images",
|
||||
"Product ID": "Product ID",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"Enter the email": "Enter the email",
|
||||
"Enter the first name": "Enter the first name",
|
||||
"Enter the last name": "Enter the last name",
|
||||
"Enter the username": "Enter the username",
|
||||
"Enter the password": "Enter the password",
|
||||
"Enter the street address": "Enter the street address",
|
||||
"Enter the city": "Enter the city",
|
||||
"Enter the state": "Enter the state",
|
||||
"Enter the postcode": "Enter the postcode",
|
||||
"Enter the country": "Enter the country",
|
||||
"Enter the phone": "Enter the phone",
|
||||
"Enter the coupon code": "Enter the coupon code",
|
||||
"Select the discount type": "Select the discount type",
|
||||
"Enter the amount": "Enter the amount",
|
||||
"Enter the minimum amount": "Enter the minimum amount",
|
||||
"Enter the name": "Enter the name",
|
||||
"Select the type": "Select the type",
|
||||
"Enter the regular price": "Enter the regular price",
|
||||
"Enter the description": "Enter the description",
|
||||
"Enter the short description": "Enter the short description",
|
||||
"Enter the category IDs (comma separated)": "Enter the category IDs (comma separated)",
|
||||
"Enter the URLs of images you want to upload (comma separated)": "Enter the URLs of images you want to upload (comma separated)",
|
||||
"Enter the product ID": "Enter the product ID",
|
||||
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
||||
"Fixed cart": "Fixed cart",
|
||||
"Fixed product": "Fixed product",
|
||||
"Percent": "Percent",
|
||||
"Percent product": "Percent product",
|
||||
"Simple": "Simple",
|
||||
"Grouped": "Grouped",
|
||||
"External": "External",
|
||||
"Variable": "Variable",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD",
|
||||
"Product Created": "Product Created",
|
||||
"Product Updated": "Product Updated",
|
||||
"Product Deleted": "Product Deleted",
|
||||
"Order Created": "Order Created",
|
||||
"Order Updated": "Order Updated",
|
||||
"Order Deleted": "Order Deleted",
|
||||
"Coupon Created": "Coupon Created",
|
||||
"Coupon Updated": "Coupon Updated",
|
||||
"Coupon Deleted": "Coupon Deleted",
|
||||
"Customer Created": "Customer Created",
|
||||
"Customer Updated": "Customer Updated",
|
||||
"Customer Deleted": "Customer Deleted",
|
||||
"Triggers when new product is created.": "Triggers when new product is created.",
|
||||
"Triggers when an existing product is updated.": "Triggers when an existing product is updated.",
|
||||
"Triggers when an existing product is deleted.": "Triggers when an existing product is deleted.",
|
||||
"Triggers when new order is created.": "Triggers when new order is created.",
|
||||
"Triggers when an existing order is updated.": "Triggers when an existing order is updated.",
|
||||
"Triggers when an existing order is deleted.": "Triggers when an existing order is deleted.",
|
||||
"Triggers when new coupon is created.": "Triggers when new coupon is created.",
|
||||
"Triggers when an existing coupon is updated.": "Triggers when an existing coupon is updated.",
|
||||
"Triggers when an existing coupon is deleted.": "Triggers when an existing coupon is deleted.",
|
||||
"Triggers when new customer is created.": "Triggers when new customer is created.",
|
||||
"Triggers when an existing customer is updated.": "Triggers when an existing customer is updated.",
|
||||
"Triggers when an existing customer is deleted.": "Triggers when an existing customer is deleted."
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"E-commerce platform built on WordPress": "E-Commerce-Plattform auf WordPress aufgebaut",
|
||||
"Base URL": "Basis-URL",
|
||||
"Consumer Key": "Konsumschlüssel",
|
||||
"Consumer Secret": "Verbrauchergeheimnis",
|
||||
"The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only": "Die Basis-URL Ihrer App (z.B. https://mystore.com) und sie sollte nur mit HTTPS beginnen",
|
||||
"The consumer key generated from your app": "Der Verbrauchsschlüssel, der aus Ihrer App generiert wurde",
|
||||
"The consumer secret generated from your app": "Das Verbrauchergeheimnis aus Ihrer App generiert",
|
||||
"\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will ": "\nUm Ihre API-Zugangsdaten zu generieren, folgen Sie den folgenden Schritten:\n1. Gehen Sie zu WooCommerce -> Einstellungen -> Erweiterter Tab -> REST API.\n2. Klicken Sie auf Schlüssel hinzufügen, um einen neuen Schlüssel zu erstellen.\n3. Geben Sie die Schlüsselbeschreibung ein und ändern Sie die Berechtigungen zum Lesen/Schreiben.\n4. Klicken Sie auf Schlüssel generieren.\nKopieren Sie den Verbraucherschlüssel und das Verbrauchergeheimnis in die untenstehenden Felder. Nach dem Verlassen der Seite können Sie das Verbrauchergeheimnis nicht mehr anzeigen.\n\nBeachten Sie, dass die Basis-URL Ihrer WooCommerce-Instanz auf einer sicheren (HTTPS) Verbindung liegen muss oder das Stück funktioniert nicht einmal auf lokalen Instanzen auf demselben Gerät.\n",
|
||||
"Create Customer": "Kunde erstellen",
|
||||
"Create Coupon": "Gutschein erstellen",
|
||||
"Create Product": "Produkt erstellen",
|
||||
"Find Customer": "Kunde finden",
|
||||
"Find Product": "Produkt finden",
|
||||
"Custom API Call": "Eigener API-Aufruf",
|
||||
"Create a Customer": "Kunde erstellen",
|
||||
"Create a coupon": "Gutschein erstellen",
|
||||
"Create a Product": "Ein Produkt erstellen",
|
||||
"Find a Customer": "Kunde suchen",
|
||||
"Find a Product": "Produkt suchen",
|
||||
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
|
||||
"Email": "E-Mail",
|
||||
"First name": "Vorname",
|
||||
"Last name": "Nachname",
|
||||
"Username": "Benutzername",
|
||||
"Password": "Kennwort",
|
||||
"Address": "Adresse",
|
||||
"City": "Stadt",
|
||||
"State": "Bundesland",
|
||||
"Postcode": "Postleitzahl",
|
||||
"Country": "Land",
|
||||
"Phone": "Telefon",
|
||||
"Coupon code": "Gutscheincode",
|
||||
"Discount type": "Rabattart",
|
||||
"Amount": "Betrag",
|
||||
"Minimum amount": "Mindestbetrag",
|
||||
"Name": "Name",
|
||||
"Type": "Typ",
|
||||
"Regular price": "Normaler Preis",
|
||||
"Description": "Beschreibung",
|
||||
"Short description": "Kurze Beschreibung",
|
||||
"Categories": "Kategorien",
|
||||
"Images": "Bilder",
|
||||
"Product ID": "Produkt-ID",
|
||||
"Method": "Methode",
|
||||
"Headers": "Kopfzeilen",
|
||||
"Query Parameters": "Abfrageparameter",
|
||||
"Body": "Körper",
|
||||
"Response is Binary ?": "Antwort ist binär?",
|
||||
"No Error on Failure": "Kein Fehler bei Fehler",
|
||||
"Timeout (in seconds)": "Timeout (in Sekunden)",
|
||||
"Enter the email": "E-Mail eingeben",
|
||||
"Enter the first name": "Vorname eingeben",
|
||||
"Enter the last name": "Nachname eingeben",
|
||||
"Enter the username": "Benutzernamen eingeben",
|
||||
"Enter the password": "Passwort eingeben",
|
||||
"Enter the street address": "Geben Sie die Adresse ein",
|
||||
"Enter the city": "Stadt eingeben",
|
||||
"Enter the state": "Bundesland eingeben",
|
||||
"Enter the postcode": "Postleitzahl eingeben",
|
||||
"Enter the country": "Land eingeben",
|
||||
"Enter the phone": "Telefon eingeben",
|
||||
"Enter the coupon code": "Geben Sie den Gutscheincode ein",
|
||||
"Select the discount type": "Wählen Sie den Rabatttyp",
|
||||
"Enter the amount": "Betrag eingeben",
|
||||
"Enter the minimum amount": "Mindestbetrag eingeben",
|
||||
"Enter the name": "Geben Sie den Namen ein",
|
||||
"Select the type": "Wählen Sie den Typ",
|
||||
"Enter the regular price": "Normalpreis eingeben",
|
||||
"Enter the description": "Beschreibung eingeben",
|
||||
"Enter the short description": "Kurze Beschreibung eingeben",
|
||||
"Enter the category IDs (comma separated)": "Geben Sie die Kategorie-IDs ein (durch Komma getrennt)",
|
||||
"Enter the URLs of images you want to upload (comma separated)": "Geben Sie die URLs der hochzuladenden Bilder ein (Komma getrennt)",
|
||||
"Enter the product ID": "Produkt-ID eingeben",
|
||||
"Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
|
||||
"Enable for files like PDFs, images, etc..": "Aktivieren für Dateien wie PDFs, Bilder, etc..",
|
||||
"Fixed cart": "Fester Warenkorb",
|
||||
"Fixed product": "Festes Produkt",
|
||||
"Percent": "Prozent",
|
||||
"Percent product": "Prozent Produkt",
|
||||
"Simple": "Einfach",
|
||||
"Grouped": "Gruppiert",
|
||||
"External": "Externe",
|
||||
"Variable": "Variable",
|
||||
"GET": "ERHALTEN",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "LÖSCHEN",
|
||||
"HEAD": "HEAD",
|
||||
"Product Created": "Produkt erstellt",
|
||||
"Product Updated": "Produkt aktualisiert",
|
||||
"Product Deleted": "Produkt gelöscht",
|
||||
"Order Created": "Bestellung erstellt",
|
||||
"Order Updated": "Bestellung aktualisiert",
|
||||
"Order Deleted": "Bestellung gelöscht",
|
||||
"Coupon Created": "Gutschein erstellt",
|
||||
"Coupon Updated": "Gutschein aktualisiert",
|
||||
"Coupon Deleted": "Gutschein gelöscht",
|
||||
"Customer Created": "Kunde erstellt",
|
||||
"Customer Updated": "Kunde aktualisiert",
|
||||
"Customer Deleted": "Kunde gelöscht",
|
||||
"Triggers when new product is created.": "Wird ausgelöst, wenn ein neues Produkt erstellt wird.",
|
||||
"Triggers when an existing product is updated.": "Wird ausgelöst, wenn ein existierendes Produkt aktualisiert wird.",
|
||||
"Triggers when an existing product is deleted.": "Wird ausgelöst, wenn ein existierendes Produkt gelöscht wird.",
|
||||
"Triggers when new order is created.": "Wird ausgelöst, wenn eine neue Bestellung erstellt wird.",
|
||||
"Triggers when an existing order is updated.": "Wird ausgelöst, wenn eine bestehende Bestellung aktualisiert wird.",
|
||||
"Triggers when an existing order is deleted.": "Wird ausgelöst, wenn eine bestehende Bestellung gelöscht wird.",
|
||||
"Triggers when new coupon is created.": "Wird ausgelöst, wenn ein neuer Gutschein erstellt wird.",
|
||||
"Triggers when an existing coupon is updated.": "Wird ausgelöst, wenn ein vorhandener Gutschein aktualisiert wird.",
|
||||
"Triggers when an existing coupon is deleted.": "Wird ausgelöst, wenn ein vorhandener Gutschein gelöscht wird.",
|
||||
"Triggers when new customer is created.": "Wird ausgelöst, wenn ein neuer Kunde erstellt wird.",
|
||||
"Triggers when an existing customer is updated.": "Wird ausgelöst, wenn ein bestehender Kunde aktualisiert wird.",
|
||||
"Triggers when an existing customer is deleted.": "Wird ausgelöst, wenn ein existierender Kunde gelöscht wird."
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"E-commerce platform built on WordPress": "Plataforma de comercio electrónico creada con WordPress",
|
||||
"Base URL": "URL base",
|
||||
"Consumer Key": "Clave del consumidor",
|
||||
"Consumer Secret": "Secreto de consumidor",
|
||||
"The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only": "La URL base de tu aplicación (por ejemplo, https://mystore.com) y debería comenzar con HTTPS sólo",
|
||||
"The consumer key generated from your app": "La clave de consumidor generada a partir de tu aplicación",
|
||||
"The consumer secret generated from your app": "El secreto de consumidor generado por tu aplicación",
|
||||
"\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will ": "\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will not work even on local instances on the same device.\n",
|
||||
"Create Customer": "Crear cliente",
|
||||
"Create Coupon": "Crear cupón",
|
||||
"Create Product": "Crear Producto",
|
||||
"Find Customer": "Buscar cliente",
|
||||
"Find Product": "Buscar producto",
|
||||
"Custom API Call": "Llamada API personalizada",
|
||||
"Create a Customer": "Crear un cliente",
|
||||
"Create a coupon": "Crear un cupón",
|
||||
"Create a Product": "Crear un Producto",
|
||||
"Find a Customer": "Encontrar un cliente",
|
||||
"Find a Product": "Buscar un producto",
|
||||
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
|
||||
"Email": "E-mail",
|
||||
"First name": "Nombre",
|
||||
"Last name": "Apellido",
|
||||
"Username": "Usuario",
|
||||
"Password": "Contraseña",
|
||||
"Address": "Dirección",
|
||||
"City": "Ciudad",
|
||||
"State": "Estado",
|
||||
"Postcode": "Código Postal",
|
||||
"Country": "País",
|
||||
"Phone": "Teléfono",
|
||||
"Coupon code": "Código del cupón",
|
||||
"Discount type": "Tipo de descuento",
|
||||
"Amount": "Cantidad",
|
||||
"Minimum amount": "Monto mínimo",
|
||||
"Name": "Nombre",
|
||||
"Type": "Tipo",
|
||||
"Regular price": "Precio regular",
|
||||
"Description": "Descripción",
|
||||
"Short description": "Breve descripción",
|
||||
"Categories": "Categorías",
|
||||
"Images": "Imágenes",
|
||||
"Product ID": "ID producto",
|
||||
"Method": "Método",
|
||||
"Headers": "Encabezados",
|
||||
"Query Parameters": "Parámetros de consulta",
|
||||
"Body": "Cuerpo",
|
||||
"Response is Binary ?": "¿Respuesta es binaria?",
|
||||
"No Error on Failure": "No hay ningún error en fallo",
|
||||
"Timeout (in seconds)": "Tiempo de espera (en segundos)",
|
||||
"Enter the email": "Ingrese el email",
|
||||
"Enter the first name": "Introduzca el nombre",
|
||||
"Enter the last name": "Introduzca el apellido",
|
||||
"Enter the username": "Introduzca el nombre de usuario",
|
||||
"Enter the password": "Introduzca la contraseña",
|
||||
"Enter the street address": "Introduzca la dirección de la calle",
|
||||
"Enter the city": "Entrar en la ciudad",
|
||||
"Enter the state": "Introduzca el estado",
|
||||
"Enter the postcode": "Introduzca el código postal",
|
||||
"Enter the country": "Introduzca el país",
|
||||
"Enter the phone": "Introduzca el teléfono",
|
||||
"Enter the coupon code": "Introduzca el código de cupón",
|
||||
"Select the discount type": "Seleccione el tipo de descuento",
|
||||
"Enter the amount": "Ingrese la cantidad",
|
||||
"Enter the minimum amount": "Introduzca la cantidad mínima",
|
||||
"Enter the name": "Introduzca el nombre",
|
||||
"Select the type": "Seleccione el tipo",
|
||||
"Enter the regular price": "Introduzca el precio regular",
|
||||
"Enter the description": "Introduzca la descripción",
|
||||
"Enter the short description": "Introduzca la descripción corta",
|
||||
"Enter the category IDs (comma separated)": "Introduzca los IDs de la categoría (separados por comas)",
|
||||
"Enter the URLs of images you want to upload (comma separated)": "Introduzca las URL de las imágenes que desea subir (separadas por comas)",
|
||||
"Enter the product ID": "Introduzca el ID del producto",
|
||||
"Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
|
||||
"Enable for files like PDFs, images, etc..": "Activar para archivos como PDFs, imágenes, etc.",
|
||||
"Fixed cart": "Carrito fijo",
|
||||
"Fixed product": "Producto fijo",
|
||||
"Percent": "Porcentaje",
|
||||
"Percent product": "Producto por ciento",
|
||||
"Simple": "Simple",
|
||||
"Grouped": "Agrupado",
|
||||
"External": "Externo",
|
||||
"Variable": "Variable",
|
||||
"GET": "RECOGER",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "BORRAR",
|
||||
"HEAD": "LIMPIO",
|
||||
"Product Created": "Producto creado",
|
||||
"Product Updated": "Producto actualizado",
|
||||
"Product Deleted": "Producto eliminado",
|
||||
"Order Created": "Orden creada",
|
||||
"Order Updated": "Pedido actualizado",
|
||||
"Order Deleted": "Orden eliminada",
|
||||
"Coupon Created": "Cupón creado",
|
||||
"Coupon Updated": "Cupón actualizado",
|
||||
"Coupon Deleted": "Cupón eliminado",
|
||||
"Customer Created": "Cliente creado",
|
||||
"Customer Updated": "Cliente actualizado",
|
||||
"Customer Deleted": "Cliente eliminado",
|
||||
"Triggers when new product is created.": "Dispara cuando se crea un nuevo producto.",
|
||||
"Triggers when an existing product is updated.": "Se activa cuando se actualiza un producto existente.",
|
||||
"Triggers when an existing product is deleted.": "Se activa cuando se elimina un producto existente.",
|
||||
"Triggers when new order is created.": "Activadores cuando se crea un nuevo pedido.",
|
||||
"Triggers when an existing order is updated.": "Se activa cuando se actualiza un pedido existente.",
|
||||
"Triggers when an existing order is deleted.": "Se activa cuando se elimina un pedido existente.",
|
||||
"Triggers when new coupon is created.": "Dispara cuando se crea un nuevo cupón.",
|
||||
"Triggers when an existing coupon is updated.": "Dispara cuando se actualiza un cupón existente.",
|
||||
"Triggers when an existing coupon is deleted.": "Dispara cuando se elimina un cupón existente.",
|
||||
"Triggers when new customer is created.": "Dispara cuando se crea un nuevo cliente.",
|
||||
"Triggers when an existing customer is updated.": "Se activa cuando se actualiza un cliente existente.",
|
||||
"Triggers when an existing customer is deleted.": "Se activa cuando se elimina un cliente existente."
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"E-commerce platform built on WordPress": "Plateforme de commerce électronique basée sur WordPress",
|
||||
"Base URL": "URL de base",
|
||||
"Consumer Key": "Clé de consommateur",
|
||||
"Consumer Secret": "Secret du consommateur",
|
||||
"The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only": "L'URL de base de votre application (par exemple https://mystore.com) et elle devrait commencer uniquement par HTTPS",
|
||||
"The consumer key generated from your app": "La clé de consommation générée à partir de votre application",
|
||||
"The consumer secret generated from your app": "Le secret du consommateur généré depuis votre application",
|
||||
"\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will ": "\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will not work even on local instances on the same device.\n",
|
||||
"Create Customer": "Créer un client",
|
||||
"Create Coupon": "Créer un coupon",
|
||||
"Create Product": "Créer un produit",
|
||||
"Find Customer": "Trouver le client",
|
||||
"Find Product": "Trouver un produit",
|
||||
"Custom API Call": "Appel d'API personnalisé",
|
||||
"Create a Customer": "Créer un client",
|
||||
"Create a coupon": "Créer un coupon",
|
||||
"Create a Product": "Créer un produit",
|
||||
"Find a Customer": "Trouver un client",
|
||||
"Find a Product": "Trouver un produit",
|
||||
"Make a custom API call to a specific endpoint": "Passer un appel API personnalisé à un endpoint spécifique",
|
||||
"Email": "Courriel",
|
||||
"First name": "Prénom",
|
||||
"Last name": "Nom de famille",
|
||||
"Username": "Nom d'utilisateur",
|
||||
"Password": "Password",
|
||||
"Address": "Adresses",
|
||||
"City": "Ville",
|
||||
"State": "État",
|
||||
"Postcode": "Code postal",
|
||||
"Country": "Pays",
|
||||
"Phone": "Téléphone",
|
||||
"Coupon code": "Code promo",
|
||||
"Discount type": "Type de réduction",
|
||||
"Amount": "Montant",
|
||||
"Minimum amount": "Montant minimum",
|
||||
"Name": "Nom",
|
||||
"Type": "Type de texte",
|
||||
"Regular price": "Prix normal",
|
||||
"Description": "Libellé",
|
||||
"Short description": "Courte description",
|
||||
"Categories": "Catégories",
|
||||
"Images": "Images",
|
||||
"Product ID": "ID du produit",
|
||||
"Method": "Méthode",
|
||||
"Headers": "En-têtes",
|
||||
"Query Parameters": "Paramètres de requête",
|
||||
"Body": "Corps",
|
||||
"Response is Binary ?": "La réponse est Binaire ?",
|
||||
"No Error on Failure": "Aucune erreur en cas d'échec",
|
||||
"Timeout (in seconds)": "Délai d'expiration (en secondes)",
|
||||
"Enter the email": "Entrez l'email",
|
||||
"Enter the first name": "Entrez le prénom",
|
||||
"Enter the last name": "Entrez le nom de famille",
|
||||
"Enter the username": "Entrez le nom d'utilisateur",
|
||||
"Enter the password": "Entrez le mot de passe",
|
||||
"Enter the street address": "Entrez l'adresse de la rue",
|
||||
"Enter the city": "Entrer dans la ville",
|
||||
"Enter the state": "Entrer l'état",
|
||||
"Enter the postcode": "Entrez le code postal",
|
||||
"Enter the country": "Entrez le pays",
|
||||
"Enter the phone": "Entrer dans le téléphone",
|
||||
"Enter the coupon code": "Entrez le code du coupon",
|
||||
"Select the discount type": "Sélectionnez le type de remise",
|
||||
"Enter the amount": "Entrez le montant",
|
||||
"Enter the minimum amount": "Entrez le montant minimum",
|
||||
"Enter the name": "Entrez le nom",
|
||||
"Select the type": "Sélectionnez le type",
|
||||
"Enter the regular price": "Entrez le prix normal",
|
||||
"Enter the description": "Entrez la description",
|
||||
"Enter the short description": "Entrez la description courte",
|
||||
"Enter the category IDs (comma separated)": "Entrez les ID de la catégorie (séparés par des virgules)",
|
||||
"Enter the URLs of images you want to upload (comma separated)": "Entrez les URL des images que vous voulez télécharger (séparées par des virgules)",
|
||||
"Enter the product ID": "Entrez l'ID du produit",
|
||||
"Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
|
||||
"Enable for files like PDFs, images, etc..": "Activer pour les fichiers comme les PDFs, les images, etc.",
|
||||
"Fixed cart": "Panier fixe",
|
||||
"Fixed product": "Produit fixe",
|
||||
"Percent": "Pourcentage",
|
||||
"Percent product": "Pourcentage de produits",
|
||||
"Simple": "Simple",
|
||||
"Grouped": "Groupé",
|
||||
"External": "Externe",
|
||||
"Variable": "Variable",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD",
|
||||
"Product Created": "Produit créé",
|
||||
"Product Updated": "Produit mis à jour",
|
||||
"Product Deleted": "Produit supprimé",
|
||||
"Order Created": "Commande créée",
|
||||
"Order Updated": "Commande mise à jour",
|
||||
"Order Deleted": "Commande supprimée",
|
||||
"Coupon Created": "Coupon créé",
|
||||
"Coupon Updated": "Bon de réduction mis à jour",
|
||||
"Coupon Deleted": "Bon de réduction supprimé",
|
||||
"Customer Created": "Client créé",
|
||||
"Customer Updated": "Client mis à jour",
|
||||
"Customer Deleted": "Client supprimé",
|
||||
"Triggers when new product is created.": "Déclenche quand un nouveau produit est créé.",
|
||||
"Triggers when an existing product is updated.": "Déclenche lorsqu'un produit existant est mis à jour.",
|
||||
"Triggers when an existing product is deleted.": "Déclenche lorsqu'un produit existant est supprimé.",
|
||||
"Triggers when new order is created.": "Déclenche quand une nouvelle commande est créée.",
|
||||
"Triggers when an existing order is updated.": "Déclenche quand une commande existante est mise à jour.",
|
||||
"Triggers when an existing order is deleted.": "Déclenche quand une commande existante est supprimée.",
|
||||
"Triggers when new coupon is created.": "Déclenche quand un nouveau coupon est créé.",
|
||||
"Triggers when an existing coupon is updated.": "Déclenche lorsqu'un coupon existant est mis à jour.",
|
||||
"Triggers when an existing coupon is deleted.": "Déclenche lorsqu'un coupon existant est supprimé.",
|
||||
"Triggers when new customer is created.": "Déclenche quand un nouveau client est créé.",
|
||||
"Triggers when an existing customer is updated.": "Déclenche lorsqu'un client existant est mis à jour.",
|
||||
"Triggers when an existing customer is deleted.": "Déclenche lorsqu'un client existant est supprimé."
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"WooCommerce": "WooCommerce",
|
||||
"E-commerce platform built on WordPress": "E-commerce platform built on WordPress",
|
||||
"Base URL": "Base URL",
|
||||
"Consumer Key": "Consumer Key",
|
||||
"Consumer Secret": "Consumer Secret",
|
||||
"The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only": "The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only",
|
||||
"The consumer key generated from your app": "The consumer key generated from your app",
|
||||
"The consumer secret generated from your app": "The consumer secret generated from your app",
|
||||
"\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will ": "\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will not work even on local instances on the same device.\n",
|
||||
"Create Customer": "Create Customer",
|
||||
"Create Coupon": "Create Coupon",
|
||||
"Create Product": "Create Product",
|
||||
"Find Customer": "Find Customer",
|
||||
"Find Product": "Find Product",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Create a Customer": "Create a Customer",
|
||||
"Create a coupon": "Create a coupon",
|
||||
"Create a Product": "Create a Product",
|
||||
"Find a Customer": "Find a Customer",
|
||||
"Find a Product": "Find a Product",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Email": "Email",
|
||||
"First name": "First name",
|
||||
"Last name": "Last name",
|
||||
"Username": "Username",
|
||||
"Password": "Password",
|
||||
"Address": "Address",
|
||||
"City": "City",
|
||||
"State": "State",
|
||||
"Postcode": "Postcode",
|
||||
"Country": "Country",
|
||||
"Phone": "Phone",
|
||||
"Coupon code": "Coupon code",
|
||||
"Discount type": "Discount type",
|
||||
"Amount": "Amount",
|
||||
"Minimum amount": "Minimum amount",
|
||||
"Name": "Name",
|
||||
"Type": "Type",
|
||||
"Regular price": "Regular price",
|
||||
"Description": "Description",
|
||||
"Short description": "Short description",
|
||||
"Categories": "Categories",
|
||||
"Images": "Images",
|
||||
"Product ID": "Product ID",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"Enter the email": "Enter the email",
|
||||
"Enter the first name": "Enter the first name",
|
||||
"Enter the last name": "Enter the last name",
|
||||
"Enter the username": "Enter the username",
|
||||
"Enter the password": "Enter the password",
|
||||
"Enter the street address": "Enter the street address",
|
||||
"Enter the city": "Enter the city",
|
||||
"Enter the state": "Enter the state",
|
||||
"Enter the postcode": "Enter the postcode",
|
||||
"Enter the country": "Enter the country",
|
||||
"Enter the phone": "Enter the phone",
|
||||
"Enter the coupon code": "Enter the coupon code",
|
||||
"Select the discount type": "Select the discount type",
|
||||
"Enter the amount": "Enter the amount",
|
||||
"Enter the minimum amount": "Enter the minimum amount",
|
||||
"Enter the name": "Enter the name",
|
||||
"Select the type": "Select the type",
|
||||
"Enter the regular price": "Enter the regular price",
|
||||
"Enter the description": "Enter the description",
|
||||
"Enter the short description": "Enter the short description",
|
||||
"Enter the category IDs (comma separated)": "Enter the category IDs (comma separated)",
|
||||
"Enter the URLs of images you want to upload (comma separated)": "Enter the URLs of images you want to upload (comma separated)",
|
||||
"Enter the product ID": "Enter the product ID",
|
||||
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
||||
"Fixed cart": "Fixed cart",
|
||||
"Fixed product": "Fixed product",
|
||||
"Percent": "Percent",
|
||||
"Percent product": "Percent product",
|
||||
"Simple": "Simple",
|
||||
"Grouped": "Grouped",
|
||||
"External": "External",
|
||||
"Variable": "Variable",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD",
|
||||
"Product Created": "Product Created",
|
||||
"Product Updated": "Product Updated",
|
||||
"Product Deleted": "Product Deleted",
|
||||
"Order Created": "Order Created",
|
||||
"Order Updated": "Order Updated",
|
||||
"Order Deleted": "Order Deleted",
|
||||
"Coupon Created": "Coupon Created",
|
||||
"Coupon Updated": "Coupon Updated",
|
||||
"Coupon Deleted": "Coupon Deleted",
|
||||
"Customer Created": "Customer Created",
|
||||
"Customer Updated": "Customer Updated",
|
||||
"Customer Deleted": "Customer Deleted",
|
||||
"Triggers when new product is created.": "Triggers when new product is created.",
|
||||
"Triggers when an existing product is updated.": "Triggers when an existing product is updated.",
|
||||
"Triggers when an existing product is deleted.": "Triggers when an existing product is deleted.",
|
||||
"Triggers when new order is created.": "Triggers when new order is created.",
|
||||
"Triggers when an existing order is updated.": "Triggers when an existing order is updated.",
|
||||
"Triggers when an existing order is deleted.": "Triggers when an existing order is deleted.",
|
||||
"Triggers when new coupon is created.": "Triggers when new coupon is created.",
|
||||
"Triggers when an existing coupon is updated.": "Triggers when an existing coupon is updated.",
|
||||
"Triggers when an existing coupon is deleted.": "Triggers when an existing coupon is deleted.",
|
||||
"Triggers when new customer is created.": "Triggers when new customer is created.",
|
||||
"Triggers when an existing customer is updated.": "Triggers when an existing customer is updated.",
|
||||
"Triggers when an existing customer is deleted.": "Triggers when an existing customer is deleted."
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"WooCommerce": "WooCommerce",
|
||||
"E-commerce platform built on WordPress": "E-commerce platform built on WordPress",
|
||||
"Base URL": "Base URL",
|
||||
"Consumer Key": "Consumer Key",
|
||||
"Consumer Secret": "Consumer Secret",
|
||||
"The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only": "The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only",
|
||||
"The consumer key generated from your app": "The consumer key generated from your app",
|
||||
"The consumer secret generated from your app": "The consumer secret generated from your app",
|
||||
"\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will ": "\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will not work even on local instances on the same device.\n",
|
||||
"Create Customer": "Create Customer",
|
||||
"Create Coupon": "Create Coupon",
|
||||
"Create Product": "Create Product",
|
||||
"Find Customer": "Find Customer",
|
||||
"Find Product": "Find Product",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Create a Customer": "Create a Customer",
|
||||
"Create a coupon": "Create a coupon",
|
||||
"Create a Product": "Create a Product",
|
||||
"Find a Customer": "Find a Customer",
|
||||
"Find a Product": "Find a Product",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Email": "Email",
|
||||
"First name": "First name",
|
||||
"Last name": "Last name",
|
||||
"Username": "Username",
|
||||
"Password": "Password",
|
||||
"Address": "Address",
|
||||
"City": "City",
|
||||
"State": "State",
|
||||
"Postcode": "Postcode",
|
||||
"Country": "Country",
|
||||
"Phone": "Phone",
|
||||
"Coupon code": "Coupon code",
|
||||
"Discount type": "Discount type",
|
||||
"Amount": "Amount",
|
||||
"Minimum amount": "Minimum amount",
|
||||
"Name": "Name",
|
||||
"Type": "Type",
|
||||
"Regular price": "Regular price",
|
||||
"Description": "Description",
|
||||
"Short description": "Short description",
|
||||
"Categories": "Categories",
|
||||
"Images": "Images",
|
||||
"Product ID": "Product ID",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"Enter the email": "Enter the email",
|
||||
"Enter the first name": "Enter the first name",
|
||||
"Enter the last name": "Enter the last name",
|
||||
"Enter the username": "Enter the username",
|
||||
"Enter the password": "Enter the password",
|
||||
"Enter the street address": "Enter the street address",
|
||||
"Enter the city": "Enter the city",
|
||||
"Enter the state": "Enter the state",
|
||||
"Enter the postcode": "Enter the postcode",
|
||||
"Enter the country": "Enter the country",
|
||||
"Enter the phone": "Enter the phone",
|
||||
"Enter the coupon code": "Enter the coupon code",
|
||||
"Select the discount type": "Select the discount type",
|
||||
"Enter the amount": "Enter the amount",
|
||||
"Enter the minimum amount": "Enter the minimum amount",
|
||||
"Enter the name": "Enter the name",
|
||||
"Select the type": "Select the type",
|
||||
"Enter the regular price": "Enter the regular price",
|
||||
"Enter the description": "Enter the description",
|
||||
"Enter the short description": "Enter the short description",
|
||||
"Enter the category IDs (comma separated)": "Enter the category IDs (comma separated)",
|
||||
"Enter the URLs of images you want to upload (comma separated)": "Enter the URLs of images you want to upload (comma separated)",
|
||||
"Enter the product ID": "Enter the product ID",
|
||||
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
||||
"Fixed cart": "Fixed cart",
|
||||
"Fixed product": "Fixed product",
|
||||
"Percent": "Percent",
|
||||
"Percent product": "Percent product",
|
||||
"Simple": "Simple",
|
||||
"Grouped": "Grouped",
|
||||
"External": "External",
|
||||
"Variable": "Variable",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD",
|
||||
"Product Created": "Product Created",
|
||||
"Product Updated": "Product Updated",
|
||||
"Product Deleted": "Product Deleted",
|
||||
"Order Created": "Order Created",
|
||||
"Order Updated": "Order Updated",
|
||||
"Order Deleted": "Order Deleted",
|
||||
"Coupon Created": "Coupon Created",
|
||||
"Coupon Updated": "Coupon Updated",
|
||||
"Coupon Deleted": "Coupon Deleted",
|
||||
"Customer Created": "Customer Created",
|
||||
"Customer Updated": "Customer Updated",
|
||||
"Customer Deleted": "Customer Deleted",
|
||||
"Triggers when new product is created.": "Triggers when new product is created.",
|
||||
"Triggers when an existing product is updated.": "Triggers when an existing product is updated.",
|
||||
"Triggers when an existing product is deleted.": "Triggers when an existing product is deleted.",
|
||||
"Triggers when new order is created.": "Triggers when new order is created.",
|
||||
"Triggers when an existing order is updated.": "Triggers when an existing order is updated.",
|
||||
"Triggers when an existing order is deleted.": "Triggers when an existing order is deleted.",
|
||||
"Triggers when new coupon is created.": "Triggers when new coupon is created.",
|
||||
"Triggers when an existing coupon is updated.": "Triggers when an existing coupon is updated.",
|
||||
"Triggers when an existing coupon is deleted.": "Triggers when an existing coupon is deleted.",
|
||||
"Triggers when new customer is created.": "Triggers when new customer is created.",
|
||||
"Triggers when an existing customer is updated.": "Triggers when an existing customer is updated.",
|
||||
"Triggers when an existing customer is deleted.": "Triggers when an existing customer is deleted."
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"E-commerce platform built on WordPress": "WordPress上に構築されたEコマースプラットフォーム",
|
||||
"Base URL": "ベースURL",
|
||||
"Consumer Key": "コンシューマー キー",
|
||||
"Consumer Secret": "コンシューマーシークレット",
|
||||
"The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only": "アプリのベース URL (e.g https://mystore.com) とそれは HTTPS のみで開始する必要があります",
|
||||
"The consumer key generated from your app": "アプリから生成されたコンシューマーキー",
|
||||
"The consumer secret generated from your app": "アプリから生成されたコンシューマーシークレット",
|
||||
"\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will ": "\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will not work even on local instances on the same device.\n",
|
||||
"Create Customer": "顧客を作成",
|
||||
"Create Coupon": "クーポンを作成",
|
||||
"Create Product": "商品を作成",
|
||||
"Find Customer": "顧客検索",
|
||||
"Find Product": "商品を検索",
|
||||
"Custom API Call": "カスタムAPI通話",
|
||||
"Create a Customer": "顧客を作成",
|
||||
"Create a coupon": "クーポンを作成",
|
||||
"Create a Product": "商品を作成",
|
||||
"Find a Customer": "顧客を探す",
|
||||
"Find a Product": "商品を探す",
|
||||
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
|
||||
"Email": "Eメールアドレス",
|
||||
"First name": "名",
|
||||
"Last name": "姓",
|
||||
"Username": "ユーザー名",
|
||||
"Password": "Password",
|
||||
"Address": "住所",
|
||||
"City": "市区町村名",
|
||||
"State": "都道府県:",
|
||||
"Postcode": "郵便番号",
|
||||
"Country": "国",
|
||||
"Phone": "電話番号",
|
||||
"Coupon code": "クーポンコード",
|
||||
"Discount type": "割引タイプ",
|
||||
"Amount": "金額",
|
||||
"Minimum amount": "最小金額",
|
||||
"Name": "Name",
|
||||
"Type": "タイプ",
|
||||
"Regular price": "通常価格",
|
||||
"Description": "Description",
|
||||
"Short description": "短い説明",
|
||||
"Categories": "カテゴリ",
|
||||
"Images": "画像",
|
||||
"Product ID": "商品ID",
|
||||
"Method": "方法",
|
||||
"Headers": "ヘッダー",
|
||||
"Query Parameters": "クエリパラメータ",
|
||||
"Body": "本文",
|
||||
"Response is Binary ?": "応答はバイナリですか?",
|
||||
"No Error on Failure": "失敗時にエラーはありません",
|
||||
"Timeout (in seconds)": "タイムアウト(秒)",
|
||||
"Enter the email": "メールアドレスを入力してください",
|
||||
"Enter the first name": "名前を入力してください",
|
||||
"Enter the last name": "姓を入力してください",
|
||||
"Enter the username": "ユーザー名を入力してください",
|
||||
"Enter the password": "パスワードを入力",
|
||||
"Enter the street address": "住所を入力",
|
||||
"Enter the city": "都市を入力してください",
|
||||
"Enter the state": "状態を入力してください",
|
||||
"Enter the postcode": "郵便番号を入力",
|
||||
"Enter the country": "国を入力してください",
|
||||
"Enter the phone": "電話番号を入力",
|
||||
"Enter the coupon code": "クーポンコードを入力してください",
|
||||
"Select the discount type": "割引の種類を選択",
|
||||
"Enter the amount": "金額を入力してください",
|
||||
"Enter the minimum amount": "最小金額を入力してください",
|
||||
"Enter the name": "名前を入力",
|
||||
"Select the type": "種類を選択",
|
||||
"Enter the regular price": "通常価格を入力",
|
||||
"Enter the description": "説明を入力してください",
|
||||
"Enter the short description": "短い説明を入力してください",
|
||||
"Enter the category IDs (comma separated)": "カテゴリIDを入力してください(カンマ区切り)",
|
||||
"Enter the URLs of images you want to upload (comma separated)": "アップロードしたい画像のURLを入力してください(カンマ区切り)",
|
||||
"Enter the product ID": "製品IDを入力",
|
||||
"Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
|
||||
"Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
|
||||
"Fixed cart": "固定カート",
|
||||
"Fixed product": "固定商品",
|
||||
"Percent": "割合",
|
||||
"Percent product": "商品の割合",
|
||||
"Simple": "単純な",
|
||||
"Grouped": "グループ化",
|
||||
"External": "外部",
|
||||
"Variable": "変数",
|
||||
"GET": "取得",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "削除",
|
||||
"HEAD": "頭",
|
||||
"Product Created": "製品が作成されました",
|
||||
"Product Updated": "商品更新",
|
||||
"Product Deleted": "製品が削除されました",
|
||||
"Order Created": "作成された注文",
|
||||
"Order Updated": "注文が更新されました",
|
||||
"Order Deleted": "注文が削除されました",
|
||||
"Coupon Created": "クーポンが作成されました",
|
||||
"Coupon Updated": "クーポンが更新されました",
|
||||
"Coupon Deleted": "クーポンが削除されました",
|
||||
"Customer Created": "顧客が作成されました",
|
||||
"Customer Updated": "顧客の更新",
|
||||
"Customer Deleted": "顧客が削除されました",
|
||||
"Triggers when new product is created.": "新しい製品が作成されたときにトリガーします。",
|
||||
"Triggers when an existing product is updated.": "既存の製品が更新されたときにトリガーします。",
|
||||
"Triggers when an existing product is deleted.": "既存の製品が削除されたときにトリガーされます。",
|
||||
"Triggers when new order is created.": "新しい注文が作成されたときにトリガーします。",
|
||||
"Triggers when an existing order is updated.": "既存の注文が更新されたときにトリガーされます。",
|
||||
"Triggers when an existing order is deleted.": "既存の注文が削除されたときにトリガーされます。",
|
||||
"Triggers when new coupon is created.": "新しいクーポンが作成されたときにトリガーします。",
|
||||
"Triggers when an existing coupon is updated.": "既存のクーポンが更新されたときにトリガーします。",
|
||||
"Triggers when an existing coupon is deleted.": "既存のクーポンが削除されたときにトリガーされます。",
|
||||
"Triggers when new customer is created.": "新しい顧客が作成されたときにトリガーします。",
|
||||
"Triggers when an existing customer is updated.": "既存の顧客が更新されたときにトリガーします。",
|
||||
"Triggers when an existing customer is deleted.": "既存の顧客が削除されたときにトリガーします。"
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"E-commerce platform built on WordPress": "E-commerce platform gebouwd op WordPress",
|
||||
"Base URL": "Basis URL",
|
||||
"Consumer Key": "Gebruiker Sleutel",
|
||||
"Consumer Secret": "Gebruiker geheim",
|
||||
"The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only": "De basis-URL van uw app (bijv. https://mystore.com) en het zou alleen moeten starten met HTTPS",
|
||||
"The consumer key generated from your app": "De consumentensleutel gegenereerd door je app",
|
||||
"The consumer secret generated from your app": "Het consumentengeheim gegenereerd door je app",
|
||||
"\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will ": "\nOm uw API referenties te genereren, volg de onderstaande stappen:\n1. Ga naar WooCommerce -> Instellingen -> Geavanceerd tabblad -> REST API.\n2. Klik op Sleutel toevoegen om een nieuwe sleutel te maken.\n3. Vul de beschrijving van de sleutel in en wijzig de rechten om te lezen/schrijven.\n4. Klik op Sleutel genereren.\n5. Kopieer de Consumer Key en Consumer Secret in de onderstaande velden. U kunt de Consumer Secret niet bekijken na het verlaten van de pagina.\n\nMerk op dat de basis-URL van uw WooCommerce verbinding moet hebben met een beveiligde (HTTPS) verbinding. of het stuk zal zelfs niet werken op lokale instanties op hetzelfde apparaat.\n",
|
||||
"Create Customer": "Klant aanmaken",
|
||||
"Create Coupon": "Kortingsbon aanmaken",
|
||||
"Create Product": "Product aanmaken",
|
||||
"Find Customer": "Klant zoeken",
|
||||
"Find Product": "Zoek product",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Create a Customer": "Creëer een klant",
|
||||
"Create a coupon": "Coupon aanmaken",
|
||||
"Create a Product": "Een product aanmaken",
|
||||
"Find a Customer": "Klant zoeken",
|
||||
"Find a Product": "Zoek een product",
|
||||
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
|
||||
"Email": "E-mail",
|
||||
"First name": "Voornaam is vereist.",
|
||||
"Last name": "Achternaam is vereist.",
|
||||
"Username": "Gebruikersnaam",
|
||||
"Password": "Wachtwoord",
|
||||
"Address": "Adres:",
|
||||
"City": "Woonplaats",
|
||||
"State": "Provincie",
|
||||
"Postcode": "Postcode",
|
||||
"Country": "Land:",
|
||||
"Phone": "Telefoonnummer",
|
||||
"Coupon code": "Kortingsbon code",
|
||||
"Discount type": "Soort korting",
|
||||
"Amount": "Hoeveelheid",
|
||||
"Minimum amount": "Minimum bedrag",
|
||||
"Name": "Naam",
|
||||
"Type": "Type",
|
||||
"Regular price": "Normale prijs",
|
||||
"Description": "Beschrijving",
|
||||
"Short description": "Korte beschrijving",
|
||||
"Categories": "Categoriechar@@0n",
|
||||
"Images": "Afbeeldingen",
|
||||
"Product ID": "Product ID",
|
||||
"Method": "Methode",
|
||||
"Headers": "Kopteksten",
|
||||
"Query Parameters": "Query parameters",
|
||||
"Body": "Lichaam",
|
||||
"Response is Binary ?": "Antwoord is binair?",
|
||||
"No Error on Failure": "Geen fout bij fout",
|
||||
"Timeout (in seconds)": "Time-out (in seconden)",
|
||||
"Enter the email": "Voer e-mailadres in",
|
||||
"Enter the first name": "Vul de voornaam in",
|
||||
"Enter the last name": "Voer de achternaam in",
|
||||
"Enter the username": "Voer de gebruikersnaam in",
|
||||
"Enter the password": "Voer het wachtwoord in",
|
||||
"Enter the street address": "Voer het adres in",
|
||||
"Enter the city": "Voer de stad in",
|
||||
"Enter the state": "Voer de staat in",
|
||||
"Enter the postcode": "Voer de postcode in",
|
||||
"Enter the country": "Voer het land in",
|
||||
"Enter the phone": "Voer het telefoonnummer in",
|
||||
"Enter the coupon code": "Voer de kortingscode in",
|
||||
"Select the discount type": "Selecteer het kortingstype",
|
||||
"Enter the amount": "Voer het bedrag in",
|
||||
"Enter the minimum amount": "Voer het minimum bedrag in",
|
||||
"Enter the name": "Naam invoeren",
|
||||
"Select the type": "Selecteer het type",
|
||||
"Enter the regular price": "Voer de normale prijs in",
|
||||
"Enter the description": "Voer de beschrijving in",
|
||||
"Enter the short description": "Voer de korte beschrijving in",
|
||||
"Enter the category IDs (comma separated)": "Voer de categorie IDs in (komma gescheiden)",
|
||||
"Enter the URLs of images you want to upload (comma separated)": "Voer de URL's in van de afbeeldingen die u wilt uploaden (komma gescheiden)",
|
||||
"Enter the product ID": "Voer het product-ID in",
|
||||
"Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
|
||||
"Enable for files like PDFs, images, etc..": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc..",
|
||||
"Fixed cart": "Vaste winkelwagen",
|
||||
"Fixed product": "Vast product",
|
||||
"Percent": "Percentage",
|
||||
"Percent product": "Procent product",
|
||||
"Simple": "Eenvoudig",
|
||||
"Grouped": "Gegroepeerd",
|
||||
"External": "Extern",
|
||||
"Variable": "Variabele",
|
||||
"GET": "KRIJG",
|
||||
"POST": "POSTE",
|
||||
"PATCH": "BEKIJK",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "VERWIJDEREN",
|
||||
"HEAD": "HOOFD",
|
||||
"Product Created": "Product aangemaakt",
|
||||
"Product Updated": "Product bijgewerkt",
|
||||
"Product Deleted": "Product verwijderd",
|
||||
"Order Created": "Bestelling aangemaakt",
|
||||
"Order Updated": "Order bijgewerkt",
|
||||
"Order Deleted": "Bestelling verwijderd",
|
||||
"Coupon Created": "Kortingsbon aangemaakt",
|
||||
"Coupon Updated": "Kortingsbon bijgewerkt",
|
||||
"Coupon Deleted": "Kortingsbon verwijderd",
|
||||
"Customer Created": "Klant aangemaakt",
|
||||
"Customer Updated": "Klant bijgewerkt",
|
||||
"Customer Deleted": "Klant verwijderd",
|
||||
"Triggers when new product is created.": "Triggers wanneer een nieuw product is aangemaakt.",
|
||||
"Triggers when an existing product is updated.": "Triggert wanneer een bestaand product wordt bijgewerkt.",
|
||||
"Triggers when an existing product is deleted.": "Triggert wanneer een bestaand product verwijderd wordt.",
|
||||
"Triggers when new order is created.": "Triggers wanneer een nieuwe bestelling is aangemaakt.",
|
||||
"Triggers when an existing order is updated.": "Triggert wanneer een bestaande bestelling is bijgewerkt.",
|
||||
"Triggers when an existing order is deleted.": "Triggers wanneer een bestaande bestelling wordt verwijderd.",
|
||||
"Triggers when new coupon is created.": "Triggert wanneer een nieuwe coupon is aangemaakt.",
|
||||
"Triggers when an existing coupon is updated.": "Triggert wanneer een bestaande coupon is bijgewerkt.",
|
||||
"Triggers when an existing coupon is deleted.": "Triggert wanneer een bestaande coupon wordt verwijderd.",
|
||||
"Triggers when new customer is created.": "Triggert wanneer nieuwe klant is aangemaakt.",
|
||||
"Triggers when an existing customer is updated.": "Triggert wanneer een bestaande klant is bijgewerkt.",
|
||||
"Triggers when an existing customer is deleted.": "Triggers wanneer een bestaande klant wordt verwijderd."
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"E-commerce platform built on WordPress": "Plataforma de e-commerce criada em WordPress",
|
||||
"Base URL": "URL Base",
|
||||
"Consumer Key": "Chave do Consumidor",
|
||||
"Consumer Secret": "Segredo de Consumidor",
|
||||
"The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only": "A URL base do seu aplicativo (ex: https://mystore.com) e deve iniciar somente com HTTPS",
|
||||
"The consumer key generated from your app": "A chave de consumidor gerada a partir do seu aplicativo",
|
||||
"The consumer secret generated from your app": "O segredo de consumidor gerado a partir do seu aplicativo",
|
||||
"\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will ": "\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will not work even on local instances on the same device.\n",
|
||||
"Create Customer": "Criar Cliente",
|
||||
"Create Coupon": "Criar cupom",
|
||||
"Create Product": "Criar Produto",
|
||||
"Find Customer": "Encontrar o cliente",
|
||||
"Find Product": "Encontrar produto",
|
||||
"Custom API Call": "Chamada de API personalizada",
|
||||
"Create a Customer": "Criar um cliente",
|
||||
"Create a coupon": "Criar um cupom",
|
||||
"Create a Product": "Criar um produto",
|
||||
"Find a Customer": "Encontre um Cliente",
|
||||
"Find a Product": "Encontrar um produto",
|
||||
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
|
||||
"Email": "e-mail",
|
||||
"First name": "Primeiro nome",
|
||||
"Last name": "Último Nome",
|
||||
"Username": "Usuário:",
|
||||
"Password": "Senha",
|
||||
"Address": "Endereço",
|
||||
"City": "cidade",
|
||||
"State": "Estado:",
|
||||
"Postcode": "CEP",
|
||||
"Country": "País/região",
|
||||
"Phone": "Smartphone",
|
||||
"Coupon code": "Código do cupom",
|
||||
"Discount type": "Tipo de desconto",
|
||||
"Amount": "Quantidade",
|
||||
"Minimum amount": "Valor mínimo",
|
||||
"Name": "Nome",
|
||||
"Type": "tipo",
|
||||
"Regular price": "Preço padrão",
|
||||
"Description": "Descrição",
|
||||
"Short description": "Breve descrição",
|
||||
"Categories": "categorias",
|
||||
"Images": "Imagens",
|
||||
"Product ID": "ID do Produto",
|
||||
"Method": "Método",
|
||||
"Headers": "Cabeçalhos",
|
||||
"Query Parameters": "Parâmetros da consulta",
|
||||
"Body": "Conteúdo",
|
||||
"Response is Binary ?": "A resposta é binária ?",
|
||||
"No Error on Failure": "Nenhum erro no Failure",
|
||||
"Timeout (in seconds)": "Tempo limite (em segundos)",
|
||||
"Enter the email": "Digite o e-mail",
|
||||
"Enter the first name": "Digite o primeiro nome",
|
||||
"Enter the last name": "Digite o sobrenome",
|
||||
"Enter the username": "Digite o nome de usuário",
|
||||
"Enter the password": "Digite a senha",
|
||||
"Enter the street address": "Entre no endereço da rua",
|
||||
"Enter the city": "Entre na cidade",
|
||||
"Enter the state": "Digite o estado",
|
||||
"Enter the postcode": "Digite o CEP",
|
||||
"Enter the country": "Entre no país",
|
||||
"Enter the phone": "Digite o telefone",
|
||||
"Enter the coupon code": "Digite o código do cupom",
|
||||
"Select the discount type": "Selecione o tipo de desconto",
|
||||
"Enter the amount": "Digite o valor",
|
||||
"Enter the minimum amount": "Insira o valor mínimo",
|
||||
"Enter the name": "Digite o nome",
|
||||
"Select the type": "Selecione o tipo",
|
||||
"Enter the regular price": "Insira o preço normal",
|
||||
"Enter the description": "Digite a descrição",
|
||||
"Enter the short description": "Insira a descrição curta",
|
||||
"Enter the category IDs (comma separated)": "Digite os IDs das categorias (separados por vírgula)",
|
||||
"Enter the URLs of images you want to upload (comma separated)": "Digite os URLs das imagens que você deseja enviar (separados por vírgula)",
|
||||
"Enter the product ID": "Digite o ID do produto",
|
||||
"Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
|
||||
"Enable for files like PDFs, images, etc..": "Habilitar para arquivos como PDFs, imagens, etc..",
|
||||
"Fixed cart": "Carrinho fixo",
|
||||
"Fixed product": "Produto fixo",
|
||||
"Percent": "Porcentagem",
|
||||
"Percent product": "Percentual de produto",
|
||||
"Simple": "Simples",
|
||||
"Grouped": "Agrupados",
|
||||
"External": "externo",
|
||||
"Variable": "Variável",
|
||||
"GET": "OBTER",
|
||||
"POST": "POSTAR",
|
||||
"PATCH": "COMPRAR",
|
||||
"PUT": "COLOCAR",
|
||||
"DELETE": "EXCLUIR",
|
||||
"HEAD": "CABEÇA",
|
||||
"Product Created": "Produto Criado",
|
||||
"Product Updated": "Produto Atualizado",
|
||||
"Product Deleted": "Produto excluído",
|
||||
"Order Created": "Pedido criado",
|
||||
"Order Updated": "Pedido atualizado",
|
||||
"Order Deleted": "Pedido excluído",
|
||||
"Coupon Created": "Cupom Criado",
|
||||
"Coupon Updated": "Cupom Atualizado",
|
||||
"Coupon Deleted": "Cupom Excluído",
|
||||
"Customer Created": "Cliente criado",
|
||||
"Customer Updated": "Cliente atualizado",
|
||||
"Customer Deleted": "Cliente excluído",
|
||||
"Triggers when new product is created.": "Dispara quando um novo produto é criado.",
|
||||
"Triggers when an existing product is updated.": "Dispara quando um produto existente é atualizado.",
|
||||
"Triggers when an existing product is deleted.": "Dispara quando um produto existente é excluído.",
|
||||
"Triggers when new order is created.": "Dispara quando uma nova ordem é criada.",
|
||||
"Triggers when an existing order is updated.": "Dispara quando uma ordem existente é atualizada.",
|
||||
"Triggers when an existing order is deleted.": "Dispara quando um pedido existente é excluído.",
|
||||
"Triggers when new coupon is created.": "Dispara quando um novo cupom é criado.",
|
||||
"Triggers when an existing coupon is updated.": "Aciona quando um cupom existente é atualizado.",
|
||||
"Triggers when an existing coupon is deleted.": "Dispara quando um cupom existente é excluído.",
|
||||
"Triggers when new customer is created.": "Aciona quando um novo cliente é criado.",
|
||||
"Triggers when an existing customer is updated.": "Dispara quando um cliente existente é atualizado.",
|
||||
"Triggers when an existing customer is deleted.": "Dispara quando um cliente existente é excluído."
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"WooCommerce": "WooCommerce",
|
||||
"E-commerce platform built on WordPress": "Электронная коммерция построена на WordPress",
|
||||
"Base URL": "Базовый URL",
|
||||
"Consumer Key": "Ключ потребителя",
|
||||
"Consumer Secret": "Секрет потребителя",
|
||||
"The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only": "Базовый URL-адрес вашего приложения (например https://mystore.com) и должен начинаться только с HTTPS",
|
||||
"The consumer key generated from your app": "Пользовательский ключ, созданный из вашего приложения",
|
||||
"The consumer secret generated from your app": "Секрет пользователя, созданный из вашего приложения",
|
||||
"\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will ": "\nДля создания учётных данных API, следуйте инструкциям ниже:\n1. Перейдите в WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Нажмите на клавишу Добавить для создания нового ключа.\n3. Введите описание ключа и измените права на чтение/запись.\n4. Нажмите кнопку Создать ключ.\n5. Скопируйте Ключ Потребителя и Секрет потребителя в поля ниже. Вы не сможете просмотреть Секрет Потребителя после выхода из страницы.\n\nОбратите внимание, что базовый URL-адрес вашего WooCommerce должен быть в защищенном (HTTPS) соединении или часть не будет работать даже на локальных экземплярах на одном устройстве.\n",
|
||||
"Create Customer": "Создать клиента",
|
||||
"Create Coupon": "Создать купон",
|
||||
"Create Product": "Создать продукт",
|
||||
"Find Customer": "Найти клиента",
|
||||
"Find Product": "Найти продукт",
|
||||
"Custom API Call": "Пользовательский вызов API",
|
||||
"Create a Customer": "Создать клиента",
|
||||
"Create a coupon": "Создать купон",
|
||||
"Create a Product": "Создать продукт",
|
||||
"Find a Customer": "Найти клиента",
|
||||
"Find a Product": "Найти продукт",
|
||||
"Make a custom API call to a specific endpoint": "Сделать пользовательский API вызов к определенной конечной точке",
|
||||
"Email": "Почта",
|
||||
"First name": "Имя",
|
||||
"Last name": "Фамилия",
|
||||
"Username": "Имя пользователя",
|
||||
"Password": "Password",
|
||||
"Address": "Адрес",
|
||||
"City": "Город",
|
||||
"State": "Область",
|
||||
"Postcode": "Почтовый индекс",
|
||||
"Country": "Страна",
|
||||
"Phone": "Телефон",
|
||||
"Coupon code": "Код купона",
|
||||
"Discount type": "Тип скидки",
|
||||
"Amount": "Сумма",
|
||||
"Minimum amount": "Минимальная сумма",
|
||||
"Name": "Наименование",
|
||||
"Type": "Тип",
|
||||
"Regular price": "Обычная цена",
|
||||
"Description": "Description",
|
||||
"Short description": "Короткое описание",
|
||||
"Categories": "Категории",
|
||||
"Images": "Изображения",
|
||||
"Product ID": "ID товара",
|
||||
"Method": "Метод",
|
||||
"Headers": "Заголовки",
|
||||
"Query Parameters": "Параметры запроса",
|
||||
"Body": "Тело",
|
||||
"No Error on Failure": "Нет ошибок при ошибке",
|
||||
"Timeout (in seconds)": "Таймаут (в секундах)",
|
||||
"Enter the email": "Введите email",
|
||||
"Enter the first name": "Введите имя",
|
||||
"Enter the last name": "Введите фамилию",
|
||||
"Enter the username": "Введите имя пользователя",
|
||||
"Enter the password": "Введите пароль",
|
||||
"Enter the street address": "Введите адрес улицы",
|
||||
"Enter the city": "Войти в город",
|
||||
"Enter the state": "Введите статус",
|
||||
"Enter the postcode": "Введите почтовый индекс",
|
||||
"Enter the country": "Войти в страну",
|
||||
"Enter the phone": "Введите телефон",
|
||||
"Enter the coupon code": "Введите код купона",
|
||||
"Select the discount type": "Выберите тип скидки",
|
||||
"Enter the amount": "Введите сумму",
|
||||
"Enter the minimum amount": "Введите минимальную сумму",
|
||||
"Enter the name": "Введите имя",
|
||||
"Select the type": "Выберите тип",
|
||||
"Enter the regular price": "Введите обычную цену",
|
||||
"Enter the description": "Введите описание",
|
||||
"Enter the short description": "Введите краткое описание",
|
||||
"Enter the category IDs (comma separated)": "Введите ID категории (через запятую)",
|
||||
"Enter the URLs of images you want to upload (comma separated)": "Введите URL изображений, которые вы хотите загрузить (через запятую)",
|
||||
"Enter the product ID": "Введите ID товара",
|
||||
"Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
|
||||
"Fixed cart": "Фиксированная корзина",
|
||||
"Fixed product": "Фиксированный товар",
|
||||
"Percent": "Процент",
|
||||
"Percent product": "Процент товара",
|
||||
"Simple": "Простой",
|
||||
"Grouped": "Группировка",
|
||||
"External": "Внешний",
|
||||
"Variable": "Переменная",
|
||||
"GET": "ПОЛУЧИТЬ",
|
||||
"POST": "ПОСТ",
|
||||
"PATCH": "ПАТЧ",
|
||||
"PUT": "ПОКУПИТЬ",
|
||||
"DELETE": "УДАЛИТЬ",
|
||||
"HEAD": "HEAD",
|
||||
"Product Created": "Продукт создан",
|
||||
"Product Updated": "Товар обновлен",
|
||||
"Product Deleted": "Продукт удален",
|
||||
"Order Created": "Заказ создан",
|
||||
"Order Updated": "Заказ обновлен",
|
||||
"Order Deleted": "Заказ удален",
|
||||
"Coupon Created": "Купон создан",
|
||||
"Coupon Updated": "Купон обновлён",
|
||||
"Coupon Deleted": "Купон удален",
|
||||
"Customer Created": "Клиент создан",
|
||||
"Customer Updated": "Клиент обновлен",
|
||||
"Customer Deleted": "Клиент удален",
|
||||
"Triggers when new product is created.": "Триггеры при создании нового товара.",
|
||||
"Triggers when an existing product is updated.": "Включает при обновлении существующего продукта.",
|
||||
"Triggers when an existing product is deleted.": "Включает при удалении существующего продукта.",
|
||||
"Triggers when new order is created.": "Триггеры при создании нового заказа.",
|
||||
"Triggers when an existing order is updated.": "Включает при обновлении существующего заказа.",
|
||||
"Triggers when an existing order is deleted.": "Триггеры при удалении существующего заказа.",
|
||||
"Triggers when new coupon is created.": "Триггеры при создании нового купона.",
|
||||
"Triggers when an existing coupon is updated.": "Включает при обновлении существующего купона.",
|
||||
"Triggers when an existing coupon is deleted.": "Триггеры при удалении существующего купона.",
|
||||
"Triggers when new customer is created.": "Триггеры при создании нового клиента.",
|
||||
"Triggers when an existing customer is updated.": "Включает при обновлении существующего клиента.",
|
||||
"Triggers when an existing customer is deleted.": "Включает при удалении существующего клиента."
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"E-commerce platform built on WordPress": "E-commerce platform built on WordPress",
|
||||
"Base URL": "Base URL",
|
||||
"Consumer Key": "Consumer Key",
|
||||
"Consumer Secret": "Consumer Secret",
|
||||
"The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only": "The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only",
|
||||
"The consumer key generated from your app": "The consumer key generated from your app",
|
||||
"The consumer secret generated from your app": "The consumer secret generated from your app",
|
||||
"\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will ": "\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will not work even on local instances on the same device.\n",
|
||||
"Create Customer": "Create Customer",
|
||||
"Create Coupon": "Create Coupon",
|
||||
"Create Product": "Create Product",
|
||||
"Find Customer": "Find Customer",
|
||||
"Find Product": "Find Product",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Create a Customer": "Create a Customer",
|
||||
"Create a coupon": "Create a coupon",
|
||||
"Create a Product": "Create a Product",
|
||||
"Find a Customer": "Find a Customer",
|
||||
"Find a Product": "Find a Product",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Email": "Email",
|
||||
"First name": "First name",
|
||||
"Last name": "Last name",
|
||||
"Username": "Username",
|
||||
"Password": "Password",
|
||||
"Address": "Address",
|
||||
"City": "City",
|
||||
"State": "State",
|
||||
"Postcode": "Postcode",
|
||||
"Country": "Country",
|
||||
"Phone": "Phone",
|
||||
"Coupon code": "Coupon code",
|
||||
"Discount type": "Discount type",
|
||||
"Amount": "Amount",
|
||||
"Minimum amount": "Minimum amount",
|
||||
"Name": "Name",
|
||||
"Type": "Type",
|
||||
"Regular price": "Regular price",
|
||||
"Description": "Description",
|
||||
"Short description": "Short description",
|
||||
"Categories": "Categories",
|
||||
"Images": "Images",
|
||||
"Product ID": "Product ID",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"Response is Binary ?": "Response is Binary ?",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"Enter the email": "Enter the email",
|
||||
"Enter the first name": "Enter the first name",
|
||||
"Enter the last name": "Enter the last name",
|
||||
"Enter the username": "Enter the username",
|
||||
"Enter the password": "Enter the password",
|
||||
"Enter the street address": "Enter the street address",
|
||||
"Enter the city": "Enter the city",
|
||||
"Enter the state": "Enter the state",
|
||||
"Enter the postcode": "Enter the postcode",
|
||||
"Enter the country": "Enter the country",
|
||||
"Enter the phone": "Enter the phone",
|
||||
"Enter the coupon code": "Enter the coupon code",
|
||||
"Select the discount type": "Select the discount type",
|
||||
"Enter the amount": "Enter the amount",
|
||||
"Enter the minimum amount": "Enter the minimum amount",
|
||||
"Enter the name": "Enter the name",
|
||||
"Select the type": "Select the type",
|
||||
"Enter the regular price": "Enter the regular price",
|
||||
"Enter the description": "Enter the description",
|
||||
"Enter the short description": "Enter the short description",
|
||||
"Enter the category IDs (comma separated)": "Enter the category IDs (comma separated)",
|
||||
"Enter the URLs of images you want to upload (comma separated)": "Enter the URLs of images you want to upload (comma separated)",
|
||||
"Enter the product ID": "Enter the product ID",
|
||||
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
||||
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
|
||||
"Fixed cart": "Fixed cart",
|
||||
"Fixed product": "Fixed product",
|
||||
"Percent": "Percent",
|
||||
"Percent product": "Percent product",
|
||||
"Simple": "Simple",
|
||||
"Grouped": "Grouped",
|
||||
"External": "External",
|
||||
"Variable": "Variable",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD",
|
||||
"Product Created": "Product Created",
|
||||
"Product Updated": "Product Updated",
|
||||
"Product Deleted": "Product Deleted",
|
||||
"Order Created": "Order Created",
|
||||
"Order Updated": "Order Updated",
|
||||
"Order Deleted": "Order Deleted",
|
||||
"Coupon Created": "Coupon Created",
|
||||
"Coupon Updated": "Coupon Updated",
|
||||
"Coupon Deleted": "Coupon Deleted",
|
||||
"Customer Created": "Customer Created",
|
||||
"Customer Updated": "Customer Updated",
|
||||
"Customer Deleted": "Customer Deleted",
|
||||
"Triggers when new product is created.": "Triggers when new product is created.",
|
||||
"Triggers when an existing product is updated.": "Triggers when an existing product is updated.",
|
||||
"Triggers when an existing product is deleted.": "Triggers when an existing product is deleted.",
|
||||
"Triggers when new order is created.": "Triggers when new order is created.",
|
||||
"Triggers when an existing order is updated.": "Triggers when an existing order is updated.",
|
||||
"Triggers when an existing order is deleted.": "Triggers when an existing order is deleted.",
|
||||
"Triggers when new coupon is created.": "Triggers when new coupon is created.",
|
||||
"Triggers when an existing coupon is updated.": "Triggers when an existing coupon is updated.",
|
||||
"Triggers when an existing coupon is deleted.": "Triggers when an existing coupon is deleted.",
|
||||
"Triggers when new customer is created.": "Triggers when new customer is created.",
|
||||
"Triggers when an existing customer is updated.": "Triggers when an existing customer is updated.",
|
||||
"Triggers when an existing customer is deleted.": "Triggers when an existing customer is deleted."
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"WooCommerce": "WooCommerce",
|
||||
"E-commerce platform built on WordPress": "E-commerce platform built on WordPress",
|
||||
"Base URL": "Base URL",
|
||||
"Consumer Key": "Consumer Key",
|
||||
"Consumer Secret": "Consumer Secret",
|
||||
"The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only": "The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only",
|
||||
"The consumer key generated from your app": "The consumer key generated from your app",
|
||||
"The consumer secret generated from your app": "The consumer secret generated from your app",
|
||||
"\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will ": "\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will not work even on local instances on the same device.\n",
|
||||
"Create Customer": "Create Customer",
|
||||
"Create Coupon": "Create Coupon",
|
||||
"Create Product": "Create Product",
|
||||
"Find Customer": "Find Customer",
|
||||
"Find Product": "Find Product",
|
||||
"Custom API Call": "Custom API Call",
|
||||
"Create a Customer": "Create a Customer",
|
||||
"Create a coupon": "Create a coupon",
|
||||
"Create a Product": "Create a Product",
|
||||
"Find a Customer": "Find a Customer",
|
||||
"Find a Product": "Find a Product",
|
||||
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
||||
"Email": "Email",
|
||||
"First name": "First name",
|
||||
"Last name": "Last name",
|
||||
"Username": "Username",
|
||||
"Password": "Password",
|
||||
"Address": "Address",
|
||||
"City": "City",
|
||||
"State": "State",
|
||||
"Postcode": "Postcode",
|
||||
"Country": "Country",
|
||||
"Phone": "Phone",
|
||||
"Coupon code": "Coupon code",
|
||||
"Discount type": "Discount type",
|
||||
"Amount": "Amount",
|
||||
"Minimum amount": "Minimum amount",
|
||||
"Name": "Name",
|
||||
"Type": "Type",
|
||||
"Regular price": "Regular price",
|
||||
"Description": "Description",
|
||||
"Short description": "Short description",
|
||||
"Categories": "Categories",
|
||||
"Images": "Images",
|
||||
"Product ID": "Product ID",
|
||||
"Method": "Method",
|
||||
"Headers": "Headers",
|
||||
"Query Parameters": "Query Parameters",
|
||||
"Body": "Body",
|
||||
"No Error on Failure": "No Error on Failure",
|
||||
"Timeout (in seconds)": "Timeout (in seconds)",
|
||||
"Enter the email": "Enter the email",
|
||||
"Enter the first name": "Enter the first name",
|
||||
"Enter the last name": "Enter the last name",
|
||||
"Enter the username": "Enter the username",
|
||||
"Enter the password": "Enter the password",
|
||||
"Enter the street address": "Enter the street address",
|
||||
"Enter the city": "Enter the city",
|
||||
"Enter the state": "Enter the state",
|
||||
"Enter the postcode": "Enter the postcode",
|
||||
"Enter the country": "Enter the country",
|
||||
"Enter the phone": "Enter the phone",
|
||||
"Enter the coupon code": "Enter the coupon code",
|
||||
"Select the discount type": "Select the discount type",
|
||||
"Enter the amount": "Enter the amount",
|
||||
"Enter the minimum amount": "Enter the minimum amount",
|
||||
"Enter the name": "Enter the name",
|
||||
"Select the type": "Select the type",
|
||||
"Enter the regular price": "Enter the regular price",
|
||||
"Enter the description": "Enter the description",
|
||||
"Enter the short description": "Enter the short description",
|
||||
"Enter the category IDs (comma separated)": "Enter the category IDs (comma separated)",
|
||||
"Enter the URLs of images you want to upload (comma separated)": "Enter the URLs of images you want to upload (comma separated)",
|
||||
"Enter the product ID": "Enter the product ID",
|
||||
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
||||
"Fixed cart": "Fixed cart",
|
||||
"Fixed product": "Fixed product",
|
||||
"Percent": "Percent",
|
||||
"Percent product": "Percent product",
|
||||
"Simple": "Simple",
|
||||
"Grouped": "Grouped",
|
||||
"External": "External",
|
||||
"Variable": "Variable",
|
||||
"GET": "GET",
|
||||
"POST": "POST",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "PUT",
|
||||
"DELETE": "DELETE",
|
||||
"HEAD": "HEAD",
|
||||
"Product Created": "Product Created",
|
||||
"Product Updated": "Product Updated",
|
||||
"Product Deleted": "Product Deleted",
|
||||
"Order Created": "Order Created",
|
||||
"Order Updated": "Order Updated",
|
||||
"Order Deleted": "Order Deleted",
|
||||
"Coupon Created": "Coupon Created",
|
||||
"Coupon Updated": "Coupon Updated",
|
||||
"Coupon Deleted": "Coupon Deleted",
|
||||
"Customer Created": "Customer Created",
|
||||
"Customer Updated": "Customer Updated",
|
||||
"Customer Deleted": "Customer Deleted",
|
||||
"Triggers when new product is created.": "Triggers when new product is created.",
|
||||
"Triggers when an existing product is updated.": "Triggers when an existing product is updated.",
|
||||
"Triggers when an existing product is deleted.": "Triggers when an existing product is deleted.",
|
||||
"Triggers when new order is created.": "Triggers when new order is created.",
|
||||
"Triggers when an existing order is updated.": "Triggers when an existing order is updated.",
|
||||
"Triggers when an existing order is deleted.": "Triggers when an existing order is deleted.",
|
||||
"Triggers when new coupon is created.": "Triggers when new coupon is created.",
|
||||
"Triggers when an existing coupon is updated.": "Triggers when an existing coupon is updated.",
|
||||
"Triggers when an existing coupon is deleted.": "Triggers when an existing coupon is deleted.",
|
||||
"Triggers when new customer is created.": "Triggers when new customer is created.",
|
||||
"Triggers when an existing customer is updated.": "Triggers when an existing customer is updated.",
|
||||
"Triggers when an existing customer is deleted.": "Triggers when an existing customer is deleted."
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"E-commerce platform built on WordPress": "E-commerce platform built on WordPress",
|
||||
"Base URL": "基本网址",
|
||||
"Consumer Key": "Consumer Key",
|
||||
"Consumer Secret": "Consumer Secret",
|
||||
"The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only": "The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only",
|
||||
"The consumer key generated from your app": "The consumer key generated from your app",
|
||||
"The consumer secret generated from your app": "The consumer secret generated from your app",
|
||||
"\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will ": "\nTo generate your API credentials, follow the steps below:\n1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.\n2. Click on Add Key to create a new key.\n3. Enter the key description and change the permissions to Read/Write.\n4. Click Generate Key.\n5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.\n\nNote that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will not work even on local instances on the same device.\n",
|
||||
"Create Customer": "Create Customer",
|
||||
"Create Coupon": "Create Coupon",
|
||||
"Create Product": "Create Product",
|
||||
"Find Customer": "Find Customer",
|
||||
"Find Product": "Find Product",
|
||||
"Custom API Call": "自定义 API 呼叫",
|
||||
"Create a Customer": "Create a Customer",
|
||||
"Create a coupon": "Create a coupon",
|
||||
"Create a Product": "Create a Product",
|
||||
"Find a Customer": "Find a Customer",
|
||||
"Find a Product": "Find a Product",
|
||||
"Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
|
||||
"Email": "电子邮件地址",
|
||||
"First name": "First name",
|
||||
"Last name": "Last name",
|
||||
"Username": "用户名",
|
||||
"Password": "Password",
|
||||
"Address": "Address",
|
||||
"City": "City",
|
||||
"State": "State",
|
||||
"Postcode": "Postcode",
|
||||
"Country": "Country",
|
||||
"Phone": "Phone",
|
||||
"Coupon code": "Coupon code",
|
||||
"Discount type": "Discount type",
|
||||
"Amount": "Amount",
|
||||
"Minimum amount": "Minimum amount",
|
||||
"Name": "名称",
|
||||
"Type": "类型",
|
||||
"Regular price": "Regular price",
|
||||
"Description": "描述",
|
||||
"Short description": "Short description",
|
||||
"Categories": "Categories",
|
||||
"Images": "Images",
|
||||
"Product ID": "Product ID",
|
||||
"Method": "方法",
|
||||
"Headers": "信头",
|
||||
"Query Parameters": "查询参数",
|
||||
"Body": "正文内容",
|
||||
"Response is Binary ?": "Response is Binary ?",
|
||||
"No Error on Failure": "失败时没有错误",
|
||||
"Timeout (in seconds)": "超时(秒)",
|
||||
"Enter the email": "Enter the email",
|
||||
"Enter the first name": "Enter the first name",
|
||||
"Enter the last name": "Enter the last name",
|
||||
"Enter the username": "Enter the username",
|
||||
"Enter the password": "Enter the password",
|
||||
"Enter the street address": "Enter the street address",
|
||||
"Enter the city": "Enter the city",
|
||||
"Enter the state": "Enter the state",
|
||||
"Enter the postcode": "Enter the postcode",
|
||||
"Enter the country": "Enter the country",
|
||||
"Enter the phone": "Enter the phone",
|
||||
"Enter the coupon code": "Enter the coupon code",
|
||||
"Select the discount type": "Select the discount type",
|
||||
"Enter the amount": "Enter the amount",
|
||||
"Enter the minimum amount": "Enter the minimum amount",
|
||||
"Enter the name": "Enter the name",
|
||||
"Select the type": "Select the type",
|
||||
"Enter the regular price": "Enter the regular price",
|
||||
"Enter the description": "Enter the description",
|
||||
"Enter the short description": "Enter the short description",
|
||||
"Enter the category IDs (comma separated)": "Enter the category IDs (comma separated)",
|
||||
"Enter the URLs of images you want to upload (comma separated)": "Enter the URLs of images you want to upload (comma separated)",
|
||||
"Enter the product ID": "Enter the product ID",
|
||||
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
|
||||
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
|
||||
"Fixed cart": "Fixed cart",
|
||||
"Fixed product": "Fixed product",
|
||||
"Percent": "Percent",
|
||||
"Percent product": "Percent product",
|
||||
"Simple": "Simple",
|
||||
"Grouped": "Grouped",
|
||||
"External": "External",
|
||||
"Variable": "Variable",
|
||||
"GET": "获取",
|
||||
"POST": "帖子",
|
||||
"PATCH": "PATCH",
|
||||
"PUT": "弹出",
|
||||
"DELETE": "删除",
|
||||
"HEAD": "黑色",
|
||||
"Product Created": "Product Created",
|
||||
"Product Updated": "Product Updated",
|
||||
"Product Deleted": "Product Deleted",
|
||||
"Order Created": "Order Created",
|
||||
"Order Updated": "Order Updated",
|
||||
"Order Deleted": "Order Deleted",
|
||||
"Coupon Created": "Coupon Created",
|
||||
"Coupon Updated": "Coupon Updated",
|
||||
"Coupon Deleted": "Coupon Deleted",
|
||||
"Customer Created": "Customer Created",
|
||||
"Customer Updated": "Customer Updated",
|
||||
"Customer Deleted": "Customer Deleted",
|
||||
"Triggers when new product is created.": "Triggers when new product is created.",
|
||||
"Triggers when an existing product is updated.": "Triggers when an existing product is updated.",
|
||||
"Triggers when an existing product is deleted.": "Triggers when an existing product is deleted.",
|
||||
"Triggers when new order is created.": "Triggers when new order is created.",
|
||||
"Triggers when an existing order is updated.": "Triggers when an existing order is updated.",
|
||||
"Triggers when an existing order is deleted.": "Triggers when an existing order is deleted.",
|
||||
"Triggers when new coupon is created.": "Triggers when new coupon is created.",
|
||||
"Triggers when an existing coupon is updated.": "Triggers when an existing coupon is updated.",
|
||||
"Triggers when an existing coupon is deleted.": "Triggers when an existing coupon is deleted.",
|
||||
"Triggers when new customer is created.": "Triggers when new customer is created.",
|
||||
"Triggers when an existing customer is updated.": "Triggers when an existing customer is updated.",
|
||||
"Triggers when an existing customer is deleted.": "Triggers when an existing customer is deleted."
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
import {
|
||||
PieceAuth,
|
||||
Property,
|
||||
createPiece,
|
||||
} from '@activepieces/pieces-framework';
|
||||
|
||||
import { createCustomApiCallAction } from '@activepieces/pieces-common';
|
||||
import { PieceCategory } from '@activepieces/shared';
|
||||
import { wooCreateCoupon } from './lib/actions/create-coupon';
|
||||
import { wooCreateCustomer } from './lib/actions/create-customer';
|
||||
import { wooCreateProduct } from './lib/actions/create-product';
|
||||
import { wooFindCustomer } from './lib/actions/find-customer';
|
||||
import { wooFindProduct } from './lib/actions/find-product';
|
||||
import { triggers } from './lib/triggers';
|
||||
|
||||
const authDescription = `
|
||||
To generate your API credentials, follow the steps below:
|
||||
1. Go to WooCommerce -> Settings -> Advanced tab -> REST API.
|
||||
2. Click on Add Key to create a new key.
|
||||
3. Enter the key description and change the permissions to Read/Write.
|
||||
4. Click Generate Key.
|
||||
5. Copy the Consumer Key and Consumer Secret into the fields below. You will not be able to view the Consumer Secret after exiting the page.
|
||||
|
||||
Note that the base URL of your WooCommerce instance needs to be on a secure (HTTPS) connection, or the piece will not work even on local instances on the same device.
|
||||
`;
|
||||
|
||||
export const wooAuth = PieceAuth.CustomAuth({
|
||||
description: authDescription,
|
||||
required: true,
|
||||
props: {
|
||||
baseUrl: Property.ShortText({
|
||||
displayName: 'Base URL',
|
||||
description:
|
||||
'The base URL of your app (e.g https://mystore.com) and it should start with HTTPS only',
|
||||
required: true,
|
||||
}),
|
||||
consumerKey: Property.ShortText({
|
||||
displayName: 'Consumer Key',
|
||||
description: 'The consumer key generated from your app',
|
||||
required: true,
|
||||
}),
|
||||
consumerSecret: PieceAuth.SecretText({
|
||||
displayName: 'Consumer Secret',
|
||||
description: 'The consumer secret generated from your app',
|
||||
required: true,
|
||||
}),
|
||||
},
|
||||
async validate({ auth }) {
|
||||
const baseUrl = auth.baseUrl;
|
||||
if (!baseUrl.match(/^(https):\/\//)) {
|
||||
return {
|
||||
valid: false,
|
||||
error: 'Base URL must start with https (e.g https://mystore.com)',
|
||||
};
|
||||
}
|
||||
return { valid: true };
|
||||
},
|
||||
});
|
||||
|
||||
export const woocommerce = createPiece({
|
||||
displayName: 'WooCommerce',
|
||||
description: 'E-commerce platform built on WordPress',
|
||||
|
||||
logoUrl: 'https://cdn.activepieces.com/pieces/woocommerce.png',
|
||||
categories: [PieceCategory.COMMERCE],
|
||||
auth: wooAuth,
|
||||
minimumSupportedRelease: '0.30.0',
|
||||
authors: ["TaskMagicKyle","kishanprmr","MoShizzle","khaledmashaly","abuaboud"],
|
||||
actions: [
|
||||
wooCreateCustomer,
|
||||
wooCreateCoupon,
|
||||
wooCreateProduct,
|
||||
wooFindCustomer,
|
||||
wooFindProduct,
|
||||
createCustomApiCallAction({
|
||||
baseUrl: (auth) => (auth?.props.baseUrl ?? ''),
|
||||
auth: wooAuth,
|
||||
authMapping: async (auth) => ({
|
||||
Authorization: `Basic ${Buffer.from(
|
||||
`${auth.props.consumerKey}:${
|
||||
auth.props.consumerSecret
|
||||
}`
|
||||
).toString('base64')}`,
|
||||
}),
|
||||
}),
|
||||
],
|
||||
triggers: triggers,
|
||||
});
|
||||
@@ -0,0 +1,96 @@
|
||||
import {
|
||||
createAction,
|
||||
Property,
|
||||
} from '@activepieces/pieces-framework';
|
||||
import {
|
||||
HttpRequest,
|
||||
HttpMethod,
|
||||
httpClient,
|
||||
AuthenticationType,
|
||||
propsValidation,
|
||||
} from '@activepieces/pieces-common';
|
||||
import { z } from 'zod';
|
||||
|
||||
import { wooAuth } from '../..';
|
||||
|
||||
export const wooCreateCoupon = createAction({
|
||||
name: 'Create Coupon',
|
||||
displayName: 'Create Coupon',
|
||||
description: 'Create a coupon',
|
||||
auth: wooAuth,
|
||||
props: {
|
||||
code: Property.ShortText({
|
||||
displayName: 'Coupon code',
|
||||
description: 'Enter the coupon code',
|
||||
required: true,
|
||||
}),
|
||||
discount_type: Property.StaticDropdown({
|
||||
displayName: 'Discount type',
|
||||
description: 'Select the discount type',
|
||||
required: true,
|
||||
options: {
|
||||
options: [
|
||||
{
|
||||
label: 'Fixed cart',
|
||||
value: 'fixed_cart',
|
||||
},
|
||||
{
|
||||
label: 'Fixed product',
|
||||
value: 'fixed_product',
|
||||
},
|
||||
{
|
||||
label: 'Percent',
|
||||
value: 'percent',
|
||||
},
|
||||
{
|
||||
label: 'Percent product',
|
||||
value: 'percent_product',
|
||||
},
|
||||
],
|
||||
},
|
||||
}),
|
||||
amount: Property.Number({
|
||||
displayName: 'Amount',
|
||||
description: 'Enter the amount',
|
||||
required: true,
|
||||
}),
|
||||
minimum_amount: Property.Number({
|
||||
displayName: 'Minimum amount',
|
||||
description: 'Enter the minimum amount',
|
||||
required: true,
|
||||
}),
|
||||
},
|
||||
async run(configValue) {
|
||||
await propsValidation.validateZod(configValue.propsValue, {
|
||||
minimum_amount: z.number().min(0),
|
||||
});
|
||||
|
||||
const trimmedBaseUrl = configValue.auth.props.baseUrl.replace(/\/$/, '');
|
||||
const amount = configValue.propsValue['amount'] || 0;
|
||||
const code = configValue.propsValue['code'];
|
||||
const discount_type = configValue.propsValue['discount_type'];
|
||||
const minimum_amount = configValue.propsValue['minimum_amount'] || 0;
|
||||
|
||||
const request: HttpRequest = {
|
||||
method: HttpMethod.POST,
|
||||
url: `${trimmedBaseUrl}/wp-json/wc/v3/coupons`,
|
||||
authentication: {
|
||||
type: AuthenticationType.BASIC,
|
||||
username: configValue.auth.props.consumerKey,
|
||||
password: configValue.auth.props.consumerSecret,
|
||||
},
|
||||
body: {
|
||||
code,
|
||||
discount_type,
|
||||
amount,
|
||||
individual_use: true,
|
||||
exclude_sale_items: true,
|
||||
minimum_amount,
|
||||
},
|
||||
};
|
||||
|
||||
const res = await httpClient.sendRequest<never>(request);
|
||||
|
||||
return res.body;
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,117 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import {
|
||||
HttpRequest,
|
||||
HttpMethod,
|
||||
httpClient,
|
||||
AuthenticationType,
|
||||
} from '@activepieces/pieces-common';
|
||||
|
||||
import { wooAuth } from '../..';
|
||||
|
||||
export const wooCreateCustomer = createAction({
|
||||
name: 'Create Customer',
|
||||
displayName: 'Create Customer',
|
||||
description: 'Create a Customer',
|
||||
auth: wooAuth,
|
||||
props: {
|
||||
email: Property.ShortText({
|
||||
displayName: 'Email',
|
||||
description: 'Enter the email',
|
||||
required: true,
|
||||
}),
|
||||
first_name: Property.ShortText({
|
||||
displayName: 'First name',
|
||||
description: 'Enter the first name',
|
||||
required: true,
|
||||
}),
|
||||
last_name: Property.ShortText({
|
||||
displayName: 'Last name',
|
||||
description: 'Enter the last name',
|
||||
required: true,
|
||||
}),
|
||||
username: Property.ShortText({
|
||||
displayName: 'Username',
|
||||
description: 'Enter the username',
|
||||
required: true,
|
||||
}),
|
||||
password: Property.ShortText({
|
||||
displayName: 'Password',
|
||||
description: 'Enter the password',
|
||||
required: true,
|
||||
}),
|
||||
street_address: Property.ShortText({
|
||||
displayName: 'Address',
|
||||
description: 'Enter the street address',
|
||||
required: true,
|
||||
}),
|
||||
city: Property.ShortText({
|
||||
displayName: 'City',
|
||||
description: 'Enter the city',
|
||||
required: true,
|
||||
}),
|
||||
state: Property.ShortText({
|
||||
displayName: 'State',
|
||||
description: 'Enter the state',
|
||||
required: true,
|
||||
}),
|
||||
postcode: Property.ShortText({
|
||||
displayName: 'Postcode',
|
||||
description: 'Enter the postcode',
|
||||
required: true,
|
||||
}),
|
||||
country: Property.ShortText({
|
||||
displayName: 'Country',
|
||||
description: 'Enter the country',
|
||||
required: true,
|
||||
}),
|
||||
phone: Property.ShortText({
|
||||
displayName: 'Phone',
|
||||
description: 'Enter the phone',
|
||||
required: true,
|
||||
}),
|
||||
},
|
||||
async run(configValue) {
|
||||
const trimmedBaseUrl = configValue.auth.props.baseUrl.replace(/\/$/, '');
|
||||
|
||||
const email = configValue.propsValue['email'];
|
||||
const first_name = configValue.propsValue['first_name'];
|
||||
const last_name = configValue.propsValue['last_name'];
|
||||
const username = configValue.propsValue['username'];
|
||||
const password = configValue.propsValue['password'];
|
||||
|
||||
const billing = {
|
||||
first_name,
|
||||
last_name,
|
||||
address_1: configValue.propsValue['street_address'],
|
||||
city: configValue.propsValue['city'],
|
||||
state: configValue.propsValue['state'],
|
||||
postcode: configValue.propsValue['postcode'],
|
||||
country: configValue.propsValue['country'],
|
||||
email,
|
||||
phone: configValue.propsValue['phone'],
|
||||
};
|
||||
|
||||
const request: HttpRequest = {
|
||||
url: `${trimmedBaseUrl}//wp-json/wc/v3/customers`,
|
||||
method: HttpMethod.POST,
|
||||
authentication: {
|
||||
type: AuthenticationType.BASIC,
|
||||
username: configValue.auth.props.consumerKey,
|
||||
password: configValue.auth.props.consumerSecret,
|
||||
},
|
||||
body: {
|
||||
email,
|
||||
first_name,
|
||||
last_name,
|
||||
username,
|
||||
password,
|
||||
billing,
|
||||
shipping: billing,
|
||||
},
|
||||
};
|
||||
|
||||
const res = await httpClient.sendRequest(request);
|
||||
|
||||
return res.body;
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,116 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import {
|
||||
httpClient,
|
||||
AuthenticationType,
|
||||
HttpMethod,
|
||||
HttpRequest,
|
||||
} from '@activepieces/pieces-common';
|
||||
|
||||
import { wooAuth } from '../..';
|
||||
|
||||
export const wooCreateProduct = createAction({
|
||||
name: 'Create Product',
|
||||
displayName: 'Create Product',
|
||||
description: 'Create a Product',
|
||||
auth: wooAuth,
|
||||
props: {
|
||||
name: Property.ShortText({
|
||||
displayName: 'Name',
|
||||
description: 'Enter the name',
|
||||
required: true,
|
||||
}),
|
||||
type: Property.StaticDropdown({
|
||||
displayName: 'Type',
|
||||
description: 'Select the type',
|
||||
required: true,
|
||||
options: {
|
||||
options: [
|
||||
{
|
||||
label: 'Simple',
|
||||
value: 'simple',
|
||||
},
|
||||
{
|
||||
label: 'Grouped',
|
||||
value: 'grouped',
|
||||
},
|
||||
{
|
||||
label: 'External',
|
||||
value: 'external',
|
||||
},
|
||||
{
|
||||
label: 'Variable',
|
||||
value: 'variable',
|
||||
},
|
||||
],
|
||||
},
|
||||
}),
|
||||
regular_price: Property.Number({
|
||||
displayName: 'Regular price',
|
||||
description: 'Enter the regular price',
|
||||
required: true,
|
||||
}),
|
||||
description: Property.LongText({
|
||||
displayName: 'Description',
|
||||
description: 'Enter the description',
|
||||
required: true,
|
||||
}),
|
||||
short_description: Property.LongText({
|
||||
displayName: 'Short description',
|
||||
description: 'Enter the short description',
|
||||
required: true,
|
||||
}),
|
||||
categories: Property.ShortText({
|
||||
displayName: 'Categories',
|
||||
description: 'Enter the category IDs (comma separated)',
|
||||
required: true,
|
||||
}),
|
||||
images: Property.LongText({
|
||||
displayName: 'Images',
|
||||
description:
|
||||
'Enter the URLs of images you want to upload (comma separated)',
|
||||
required: true,
|
||||
}),
|
||||
},
|
||||
async run(configValue) {
|
||||
const trimmedBaseUrl = configValue.auth.props.baseUrl.replace(/\/$/, '');
|
||||
|
||||
const name = configValue.propsValue['name'];
|
||||
const type = configValue.propsValue['type'];
|
||||
const regular_price = configValue.propsValue['regular_price'];
|
||||
const description = configValue.propsValue['description'];
|
||||
const short_description = configValue.propsValue['short_description'];
|
||||
const categories =
|
||||
configValue.propsValue['categories'].split(',').map((id) => ({
|
||||
id,
|
||||
})) || [];
|
||||
const images =
|
||||
configValue.propsValue['images'].split(',').map((url) => ({
|
||||
src: url,
|
||||
})) || [];
|
||||
|
||||
const body = {
|
||||
name,
|
||||
type,
|
||||
regular_price,
|
||||
description,
|
||||
short_description,
|
||||
categories,
|
||||
images,
|
||||
};
|
||||
|
||||
const request: HttpRequest = {
|
||||
url: `${trimmedBaseUrl}/wp-json/wc/v3/products`,
|
||||
method: HttpMethod.POST,
|
||||
authentication: {
|
||||
type: AuthenticationType.BASIC,
|
||||
username: configValue.auth.props.consumerKey,
|
||||
password: configValue.auth.props.consumerSecret,
|
||||
},
|
||||
body,
|
||||
};
|
||||
|
||||
const res = await httpClient.sendRequest(request);
|
||||
|
||||
return res.body;
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,41 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import {
|
||||
HttpRequest,
|
||||
HttpMethod,
|
||||
httpClient,
|
||||
AuthenticationType,
|
||||
} from '@activepieces/pieces-common';
|
||||
|
||||
import { wooAuth } from '../..';
|
||||
|
||||
export const wooFindCoupon = createAction({
|
||||
name: 'Find Coupon',
|
||||
displayName: 'Find Coupon',
|
||||
description: 'Find a Coupon',
|
||||
auth: wooAuth,
|
||||
props: {
|
||||
id: Property.ShortText({
|
||||
displayName: 'Coupon ID',
|
||||
description: 'Enter the coupon ID',
|
||||
required: true,
|
||||
}),
|
||||
},
|
||||
async run(configValue) {
|
||||
const trimmedBaseUrl = configValue.auth.props.baseUrl.replace(/\/$/, '');
|
||||
const couponId = configValue.propsValue['id'];
|
||||
|
||||
const request: HttpRequest = {
|
||||
method: HttpMethod.GET,
|
||||
url: `${trimmedBaseUrl}/wp-json/wc/v3/coupons/${couponId}`,
|
||||
authentication: {
|
||||
type: AuthenticationType.BASIC,
|
||||
username: configValue.auth.props.consumerKey,
|
||||
password: configValue.auth.props.consumerSecret,
|
||||
},
|
||||
};
|
||||
|
||||
const res = await httpClient.sendRequest(request);
|
||||
|
||||
return res.body;
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,41 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import {
|
||||
HttpRequest,
|
||||
HttpMethod,
|
||||
httpClient,
|
||||
AuthenticationType,
|
||||
} from '@activepieces/pieces-common';
|
||||
|
||||
import { wooAuth } from '../..';
|
||||
|
||||
export const wooFindCustomer = createAction({
|
||||
name: 'Find Customer',
|
||||
displayName: 'Find Customer',
|
||||
description: 'Find a Customer',
|
||||
auth: wooAuth,
|
||||
props: {
|
||||
email: Property.ShortText({
|
||||
displayName: 'Email',
|
||||
description: 'Enter the email',
|
||||
required: true,
|
||||
}),
|
||||
},
|
||||
async run(configValue) {
|
||||
const trimmedBaseUrl = configValue.auth.props.baseUrl.replace(/\/$/, '');
|
||||
const email = configValue.propsValue['email'];
|
||||
|
||||
const request: HttpRequest = {
|
||||
method: HttpMethod.GET,
|
||||
url: `${trimmedBaseUrl}/wp-json/wc/v3/customers?email=${email}`,
|
||||
authentication: {
|
||||
type: AuthenticationType.BASIC,
|
||||
username: configValue.auth.props.consumerKey,
|
||||
password: configValue.auth.props.consumerSecret,
|
||||
},
|
||||
};
|
||||
|
||||
const res = await httpClient.sendRequest(request);
|
||||
|
||||
return res.body;
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,41 @@
|
||||
import { createAction, Property } from '@activepieces/pieces-framework';
|
||||
import {
|
||||
httpClient,
|
||||
AuthenticationType,
|
||||
HttpMethod,
|
||||
HttpRequest,
|
||||
} from '@activepieces/pieces-common';
|
||||
|
||||
import { wooAuth } from '../..';
|
||||
|
||||
export const wooFindProduct = createAction({
|
||||
name: 'Find Product',
|
||||
displayName: 'Find Product',
|
||||
description: 'Find a Product',
|
||||
auth: wooAuth,
|
||||
props: {
|
||||
id: Property.ShortText({
|
||||
displayName: 'Product ID',
|
||||
description: 'Enter the product ID',
|
||||
required: true,
|
||||
}),
|
||||
},
|
||||
async run(configValue) {
|
||||
const trimmedBaseUrl = configValue.auth.props.baseUrl.replace(/\/$/, '');
|
||||
const productId = configValue.propsValue['id'];
|
||||
|
||||
const request: HttpRequest = {
|
||||
method: HttpMethod.GET,
|
||||
url: `${trimmedBaseUrl}/wp-json/wc/v3/products/${productId}`,
|
||||
authentication: {
|
||||
type: AuthenticationType.BASIC,
|
||||
username: configValue.auth.props.consumerKey,
|
||||
password: configValue.auth.props.consumerSecret,
|
||||
},
|
||||
};
|
||||
|
||||
const res = await httpClient.sendRequest(request);
|
||||
|
||||
return res.body;
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,63 @@
|
||||
import {
|
||||
AuthenticationType,
|
||||
HttpMethod,
|
||||
httpClient,
|
||||
} from '@activepieces/pieces-common';
|
||||
import { PiecePropValueSchema } from '@activepieces/pieces-framework';
|
||||
import { wooAuth } from '../../';
|
||||
|
||||
export const wooCommon = {
|
||||
async createWebhook(
|
||||
name: string,
|
||||
webhookUrl: string,
|
||||
topic: string,
|
||||
auth: PiecePropValueSchema<typeof wooAuth>
|
||||
) {
|
||||
const trimmedBaseUrl = auth.baseUrl.replace(/\/$/, '');
|
||||
return await httpClient.sendRequest<WebhookInformation>({
|
||||
url: `${trimmedBaseUrl}/wp-json/wc/v3/webhooks`,
|
||||
method: HttpMethod.POST,
|
||||
body: {
|
||||
name: name,
|
||||
topic: topic,
|
||||
delivery_url: webhookUrl,
|
||||
},
|
||||
authentication: {
|
||||
type: AuthenticationType.BASIC,
|
||||
username: auth.consumerKey,
|
||||
password: auth.consumerSecret,
|
||||
},
|
||||
});
|
||||
},
|
||||
async deleteWebhook(
|
||||
webhookId: number,
|
||||
auth: PiecePropValueSchema<typeof wooAuth>
|
||||
) {
|
||||
const trimmedBaseUrl = auth.baseUrl.replace(/\/$/, '');
|
||||
return await httpClient.sendRequest({
|
||||
url: `${trimmedBaseUrl}/wp-json/wc/v3/webhooks/${webhookId}`,
|
||||
method: HttpMethod.DELETE,
|
||||
queryParams: { force: 'true' },
|
||||
authentication: {
|
||||
type: AuthenticationType.BASIC,
|
||||
username: auth.consumerKey,
|
||||
password: auth.consumerSecret,
|
||||
},
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
export interface WebhookInformation {
|
||||
id: number;
|
||||
name: string;
|
||||
status: string;
|
||||
topic: string;
|
||||
resource: string;
|
||||
event: string;
|
||||
hooks: string[];
|
||||
delivery_url: string;
|
||||
date_created: string;
|
||||
date_created_gmt: string;
|
||||
date_modified: string;
|
||||
date_modified_gmt: string;
|
||||
}
|
||||
@@ -0,0 +1,420 @@
|
||||
import { woocommerceRegisterTrigger } from './register-trigger';
|
||||
|
||||
const sampleData = {
|
||||
product: {
|
||||
id: 20,
|
||||
sku: '',
|
||||
name: 'My Product',
|
||||
slug: 'my-product',
|
||||
tags: [],
|
||||
type: 'simple',
|
||||
price: '5',
|
||||
_links: {
|
||||
self: [
|
||||
{
|
||||
href: 'https://myshop.com/index.php?rest_route=/wc/v3/products/20',
|
||||
},
|
||||
],
|
||||
collection: [
|
||||
{
|
||||
href: 'https://myshop.com/index.php?rest_route=/wc/v3/products',
|
||||
},
|
||||
],
|
||||
},
|
||||
images: [],
|
||||
description: '<p>Description <strong>bold</strong></p>\n<p>New Line</p>\n',
|
||||
date_created: '2023-07-06T14:51:45',
|
||||
date_modified: '2023-07-06T14:51:45',
|
||||
total_sales: 0,
|
||||
stock_status: 'instock',
|
||||
rating_count: 0,
|
||||
status: 'publish',
|
||||
weight: '',
|
||||
on_sale: false,
|
||||
virtual: false,
|
||||
featured: false,
|
||||
downloads: [],
|
||||
meta_data: [],
|
||||
parent_id: 0,
|
||||
permalink: 'https://myshop.com/?product=my-product',
|
||||
tax_class: '',
|
||||
attributes: [],
|
||||
backorders: 'no',
|
||||
categories: [
|
||||
{
|
||||
id: 15,
|
||||
name: 'Uncategorized',
|
||||
slug: 'uncategorized',
|
||||
},
|
||||
],
|
||||
dimensions: {
|
||||
width: '',
|
||||
height: '',
|
||||
length: '',
|
||||
},
|
||||
menu_order: 0,
|
||||
price_html:
|
||||
'<span class="woocommerce-Price-amount amount"><bdi>5,000 <span class="woocommerce-Price-currencySymbol">د.ا</span></bdi></span>',
|
||||
sale_price: '',
|
||||
tax_status: 'taxable',
|
||||
upsell_ids: [],
|
||||
variations: [],
|
||||
backordered: false,
|
||||
button_text: '',
|
||||
has_options: false,
|
||||
purchasable: true,
|
||||
related_ids: [12],
|
||||
downloadable: false,
|
||||
external_url: '',
|
||||
manage_stock: false,
|
||||
purchase_note: '',
|
||||
regular_price: '5',
|
||||
average_rating: '0.00',
|
||||
cross_sell_ids: [],
|
||||
download_limit: -1,
|
||||
shipping_class: '',
|
||||
stock_quantity: null,
|
||||
date_on_sale_to: null,
|
||||
download_expiry: -1,
|
||||
reviews_allowed: true,
|
||||
date_created_gmt: '2023-07-06T14:51:45',
|
||||
grouped_products: [],
|
||||
low_stock_amount: null,
|
||||
shipping_taxable: true,
|
||||
date_modified_gmt: '2023-07-06T14:51:45',
|
||||
date_on_sale_from: null,
|
||||
shipping_class_id: 0,
|
||||
shipping_required: true,
|
||||
short_description: '',
|
||||
sold_individually: false,
|
||||
backorders_allowed: false,
|
||||
catalog_visibility: 'visible',
|
||||
default_attributes: [],
|
||||
date_on_sale_to_gmt: null,
|
||||
date_on_sale_from_gmt: null,
|
||||
},
|
||||
order: {
|
||||
id: 17,
|
||||
total: '2.000',
|
||||
_links: {
|
||||
self: [
|
||||
{
|
||||
href: 'https://myshop.com/index.php?rest_route=/wc/v3/orders/17',
|
||||
},
|
||||
],
|
||||
customer: [
|
||||
{
|
||||
href: 'https://myshop.com/index.php?rest_route=/wc/v3/customers/1',
|
||||
},
|
||||
],
|
||||
collection: [
|
||||
{
|
||||
href: 'https://myshop.com/index.php?rest_route=/wc/v3/orders',
|
||||
},
|
||||
],
|
||||
},
|
||||
number: '17',
|
||||
status: 'pending',
|
||||
shipping_total: '0.000',
|
||||
currency_symbol: '$',
|
||||
date_created_gmt: '2023-07-06T14:17:03',
|
||||
payment_method_title: 'Cash on delivery',
|
||||
billing: {
|
||||
city: 'City',
|
||||
email: 'email@gmail.com',
|
||||
phone: '123123123',
|
||||
state: 'State',
|
||||
company: '',
|
||||
country: 'CO',
|
||||
postcode: '11111',
|
||||
address_1: '1 Street',
|
||||
address_2: '',
|
||||
last_name: 'Last',
|
||||
first_name: 'First',
|
||||
},
|
||||
refunds: [],
|
||||
version: '7.8.2',
|
||||
cart_tax: '0.000',
|
||||
currency: 'USD',
|
||||
shipping: {
|
||||
city: 'City',
|
||||
phone: '',
|
||||
state: 'State',
|
||||
company: '',
|
||||
country: 'CO',
|
||||
postcode: '11111',
|
||||
address_1: '1 Street',
|
||||
address_2: '',
|
||||
last_name: 'Last',
|
||||
first_name: 'First',
|
||||
},
|
||||
date_paid: null,
|
||||
fee_lines: [],
|
||||
meta_data: [
|
||||
{
|
||||
id: 228,
|
||||
key: 'is_vat_exempt',
|
||||
value: 'no',
|
||||
},
|
||||
],
|
||||
order_key: 'wc_order_C66uDC3RekAax',
|
||||
parent_id: 0,
|
||||
tax_lines: [],
|
||||
total_tax: '0.000',
|
||||
line_items: [
|
||||
{
|
||||
id: 9,
|
||||
sku: '',
|
||||
name: 'First Product',
|
||||
image: {
|
||||
id: '',
|
||||
src: '',
|
||||
},
|
||||
price: 1,
|
||||
taxes: [],
|
||||
total: '2.000',
|
||||
quantity: 2,
|
||||
subtotal: '2.000',
|
||||
meta_data: [],
|
||||
tax_class: '',
|
||||
total_tax: '0.000',
|
||||
product_id: 12,
|
||||
parent_name: null,
|
||||
subtotal_tax: '0.000',
|
||||
variation_id: 0,
|
||||
},
|
||||
],
|
||||
created_via: 'checkout',
|
||||
customer_id: 1,
|
||||
is_editable: false,
|
||||
payment_url:
|
||||
'https://myshop.com/?page_id=8&order-pay=17&pay_for_order=true&key=wc_order_C66uDC3RekAax',
|
||||
coupon_lines: [],
|
||||
date_created: '2023-07-06T14:17:03',
|
||||
discount_tax: '0.000',
|
||||
shipping_tax: '0.000',
|
||||
customer_note: '',
|
||||
date_modified: '2023-07-06T14:25:02',
|
||||
date_paid_gmt: null,
|
||||
needs_payment: true,
|
||||
date_completed: null,
|
||||
discount_total: '0.000',
|
||||
payment_method: 'cod',
|
||||
shipping_lines: [
|
||||
{
|
||||
id: 10,
|
||||
taxes: [],
|
||||
total: '0.000',
|
||||
meta_data: [
|
||||
{
|
||||
id: 75,
|
||||
key: 'Items',
|
||||
value: 'First Product × 2',
|
||||
display_key: 'Items',
|
||||
display_value: 'First Product × 2',
|
||||
},
|
||||
],
|
||||
method_id: 'free_shipping',
|
||||
total_tax: '0.000',
|
||||
instance_id: '1',
|
||||
method_title: 'Free shipping',
|
||||
},
|
||||
],
|
||||
transaction_id: '',
|
||||
needs_processing: true,
|
||||
date_modified_gmt: '2023-07-06T14:25:02',
|
||||
prices_include_tax: false,
|
||||
},
|
||||
coupon: {
|
||||
id: 22,
|
||||
code: '5dollars',
|
||||
_links: {
|
||||
self: [
|
||||
{
|
||||
href: 'https://myshop.com/index.php?rest_route=/wc/v3/coupons/22',
|
||||
},
|
||||
],
|
||||
collection: [
|
||||
{
|
||||
href: 'https://myshop.com/index.php?rest_route=/wc/v3/coupons',
|
||||
},
|
||||
],
|
||||
},
|
||||
amount: '5.00',
|
||||
status: 'publish',
|
||||
used_by: [],
|
||||
meta_data: [],
|
||||
description: '',
|
||||
product_ids: [20],
|
||||
usage_count: 0,
|
||||
usage_limit: null,
|
||||
date_created: '2023-07-09T15:10:14',
|
||||
date_expires: '2023-07-31T00:00:00',
|
||||
date_modified: '2023-07-09T15:23:03',
|
||||
discount_type: 'fixed_cart',
|
||||
free_shipping: true,
|
||||
maximum_amount: '0.00',
|
||||
minimum_amount: '0.00',
|
||||
date_created_gmt: '2023-07-09T15:10:14',
|
||||
date_expires_gmt: '2023-07-31T00:00:00',
|
||||
date_modified_gmt: '2023-07-09T15:23:03',
|
||||
usage_limit_per_user: 1,
|
||||
individual_use: false,
|
||||
email_restrictions: [],
|
||||
exclude_sale_items: false,
|
||||
product_categories: [],
|
||||
excluded_product_ids: [],
|
||||
limit_usage_to_x_items: null,
|
||||
excluded_product_categories: [],
|
||||
},
|
||||
customer: {
|
||||
id: 1,
|
||||
role: 'administrator',
|
||||
email: 'email@gmail.com',
|
||||
avatar_url: '',
|
||||
username: 'username',
|
||||
first_name: 'First',
|
||||
last_name: 'Last',
|
||||
date_created: '2023-07-05T14:13:10',
|
||||
date_modified: '2023-07-06T14:58:43',
|
||||
date_created_gmt: '2023-07-05T14:13:10',
|
||||
date_modified_gmt: '2023-07-06T14:58:43',
|
||||
is_paying_customer: false,
|
||||
_links: {
|
||||
self: [
|
||||
{
|
||||
href: 'https://myshop.com/index.php?rest_route=/wc/v3/customers/1',
|
||||
},
|
||||
],
|
||||
collection: [
|
||||
{
|
||||
href: 'https://myshop.com/index.php?rest_route=/wc/v3/customers',
|
||||
},
|
||||
],
|
||||
},
|
||||
billing: {
|
||||
city: 'City',
|
||||
email: 'email@gmail.com',
|
||||
phone: '123123123',
|
||||
state: 'State',
|
||||
company: '',
|
||||
country: 'CO',
|
||||
postcode: '11111',
|
||||
address_1: '# Street',
|
||||
address_2: '',
|
||||
last_name: 'Last',
|
||||
first_name: 'First',
|
||||
},
|
||||
shipping: {
|
||||
city: 'City',
|
||||
email: 'email@gmail.com',
|
||||
phone: '123123123',
|
||||
state: 'State',
|
||||
company: '',
|
||||
country: 'CO',
|
||||
postcode: '11111',
|
||||
address_1: '# Street',
|
||||
address_2: '',
|
||||
last_name: 'Last',
|
||||
first_name: 'First',
|
||||
},
|
||||
},
|
||||
};
|
||||
export const triggers = [
|
||||
{
|
||||
name: 'product_created',
|
||||
topic: 'product.created',
|
||||
displayName: 'Product Created',
|
||||
description: 'Triggers when new product is created.',
|
||||
sampleData: sampleData.product,
|
||||
testDataEndpoint: '/wp-json/wc/v3/products',
|
||||
},
|
||||
{
|
||||
name: 'product_updated',
|
||||
topic: 'product.updated',
|
||||
displayName: 'Product Updated',
|
||||
description: 'Triggers when an existing product is updated.',
|
||||
sampleData: sampleData.product,
|
||||
testDataEndpoint: '/wp-json/wc/v3/products',
|
||||
},
|
||||
{
|
||||
name: 'product_deleted',
|
||||
topic: 'product.deleted',
|
||||
displayName: 'Product Deleted',
|
||||
description: 'Triggers when an existing product is deleted.',
|
||||
sampleData: sampleData.product,
|
||||
testDataEndpoint: '/wp-json/wc/v3/products',
|
||||
},
|
||||
{
|
||||
name: 'order_created',
|
||||
topic: 'order.created',
|
||||
displayName: 'Order Created',
|
||||
description: 'Triggers when new order is created.',
|
||||
sampleData: sampleData.order,
|
||||
testDataEndpoint: '/wp-json/wc/v3/orders',
|
||||
},
|
||||
{
|
||||
name: 'order_updated',
|
||||
topic: 'order.updated',
|
||||
displayName: 'Order Updated',
|
||||
description: 'Triggers when an existing order is updated.',
|
||||
sampleData: sampleData.order,
|
||||
testDataEndpoint: '/wp-json/wc/v3/orders',
|
||||
},
|
||||
{
|
||||
name: 'order_deleted',
|
||||
topic: 'order.deleted',
|
||||
displayName: 'Order Deleted',
|
||||
description: 'Triggers when an existing order is deleted.',
|
||||
sampleData: sampleData.order,
|
||||
testDataEndpoint: '/wp-json/wc/v3/orders',
|
||||
},
|
||||
{
|
||||
name: 'coupon_created',
|
||||
topic: 'coupon.created',
|
||||
displayName: 'Coupon Created',
|
||||
description: 'Triggers when new coupon is created.',
|
||||
sampleData: sampleData.coupon,
|
||||
testDataEndpoint: '/wp-json/wc/v3/coupons',
|
||||
},
|
||||
{
|
||||
name: 'coupon_updated',
|
||||
topic: 'coupon.updated',
|
||||
displayName: 'Coupon Updated',
|
||||
description: 'Triggers when an existing coupon is updated.',
|
||||
sampleData: sampleData.coupon,
|
||||
testDataEndpoint: '/wp-json/wc/v3/coupons',
|
||||
},
|
||||
{
|
||||
name: 'coupon_deleted',
|
||||
topic: 'coupon.deleted',
|
||||
displayName: 'Coupon Deleted',
|
||||
description: 'Triggers when an existing coupon is deleted.',
|
||||
sampleData: sampleData.coupon,
|
||||
testDataEndpoint: '/wp-json/wc/v3/coupons',
|
||||
},
|
||||
{
|
||||
name: 'customer_created',
|
||||
topic: 'customer.created',
|
||||
displayName: 'Customer Created',
|
||||
description: 'Triggers when new customer is created.',
|
||||
sampleData: sampleData.customer,
|
||||
testDataEndpoint: '/wp-json/wc/v3/customers',
|
||||
},
|
||||
{
|
||||
name: 'customer_updated',
|
||||
topic: 'customer.updated',
|
||||
displayName: 'Customer Updated',
|
||||
description: 'Triggers when an existing customer is updated.',
|
||||
sampleData: sampleData.customer,
|
||||
testDataEndpoint: '/wp-json/wc/v3/customers',
|
||||
},
|
||||
{
|
||||
name: 'customer_deleted',
|
||||
topic: 'customer.deleted',
|
||||
displayName: 'Customer Deleted',
|
||||
description: 'Triggers when an existing customer is deleted.',
|
||||
sampleData: sampleData.customer,
|
||||
testDataEndpoint: '/wp-json/wc/v3/customers',
|
||||
},
|
||||
].map((trigger) => woocommerceRegisterTrigger(trigger));
|
||||
@@ -0,0 +1,120 @@
|
||||
import {
|
||||
PiecePropValueSchema,
|
||||
TriggerStrategy,
|
||||
createTrigger,
|
||||
} from '@activepieces/pieces-framework';
|
||||
import { wooAuth } from '../../';
|
||||
import { WebhookInformation, wooCommon } from '../common';
|
||||
import { isEmpty, WebhookHandshakeStrategy } from '@activepieces/shared';
|
||||
import {
|
||||
AuthenticationType,
|
||||
httpClient,
|
||||
HttpMethod,
|
||||
HttpRequest,
|
||||
} from '@activepieces/pieces-common';
|
||||
export const woocommerceRegisterTrigger = ({
|
||||
name,
|
||||
topic,
|
||||
displayName,
|
||||
description,
|
||||
sampleData,
|
||||
testDataEndpoint,
|
||||
}: {
|
||||
name: string;
|
||||
topic: string;
|
||||
displayName: string;
|
||||
description: string;
|
||||
sampleData: unknown;
|
||||
testDataEndpoint: string;
|
||||
}) =>
|
||||
createTrigger({
|
||||
auth: wooAuth,
|
||||
name: `$woocommerce_trigger_${name}`,
|
||||
displayName,
|
||||
description,
|
||||
props: {},
|
||||
sampleData,
|
||||
type: TriggerStrategy.WEBHOOK,
|
||||
async onEnable(context) {
|
||||
const res = await wooCommon.createWebhook(
|
||||
displayName,
|
||||
context.webhookUrl,
|
||||
topic,
|
||||
context.auth.props
|
||||
);
|
||||
await context.store.put<WebhookInformation>(
|
||||
`$woocommerce_trigger_${name}`,
|
||||
res.body
|
||||
);
|
||||
},
|
||||
async onDisable(context) {
|
||||
const webhook = await context.store.get<WebhookInformation>(
|
||||
`$woocommerce_trigger_${name}`
|
||||
);
|
||||
if (webhook != null) {
|
||||
await wooCommon.deleteWebhook(
|
||||
webhook.id,
|
||||
context.auth.props
|
||||
);
|
||||
}
|
||||
},
|
||||
// WooCommerce sends a request verifying the webhook that contains only the webhook_id.
|
||||
handshakeConfiguration: {
|
||||
strategy: WebhookHandshakeStrategy.BODY_PARAM_PRESENT,
|
||||
paramName: 'webhook_id',
|
||||
},
|
||||
async onHandshake(context) {
|
||||
return {
|
||||
status: 200,
|
||||
body: { webhook_id: (context.payload.body as any)['webhook_id'] },
|
||||
};
|
||||
},
|
||||
async test(context) {
|
||||
const trimmedBaseUrl = context.auth.props.baseUrl.replace(/\/$/, '');
|
||||
|
||||
const request: HttpRequest = {
|
||||
url: `${trimmedBaseUrl}${testDataEndpoint}`,
|
||||
method: HttpMethod.GET,
|
||||
authentication: {
|
||||
type: AuthenticationType.BASIC,
|
||||
username: context.auth.props.consumerKey,
|
||||
password: context.auth.props.consumerSecret,
|
||||
},
|
||||
queryParams: {
|
||||
per_page: '10',
|
||||
},
|
||||
};
|
||||
|
||||
const response = await httpClient.sendRequest<Array<{ id: number }>>(
|
||||
request
|
||||
);
|
||||
|
||||
if (isEmpty(response.body)) return [];
|
||||
|
||||
return response.body;
|
||||
},
|
||||
async run(context) {
|
||||
const payload = context.payload.body as Record<string, any>;
|
||||
const trimmedBaseUrl = context.auth.props.baseUrl.replace(/\/$/, '');
|
||||
|
||||
if (payload['webhook_id']) return [];
|
||||
|
||||
if (topic.includes('deleted')) {
|
||||
const response = await httpClient.sendRequest({
|
||||
url: `${trimmedBaseUrl}${testDataEndpoint}/${payload['id']}`,
|
||||
method: HttpMethod.GET,
|
||||
authentication: {
|
||||
type: AuthenticationType.BASIC,
|
||||
username: context.auth.props.consumerKey,
|
||||
password: context.auth.props.consumerSecret,
|
||||
},
|
||||
queryParams: {
|
||||
per_page: '10',
|
||||
},
|
||||
});
|
||||
return [response.body];
|
||||
}
|
||||
|
||||
return [payload];
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"extends": "../../../../tsconfig.base.json",
|
||||
"files": [],
|
||||
"include": [],
|
||||
"references": [
|
||||
{
|
||||
"path": "./tsconfig.lib.json"
|
||||
}
|
||||
],
|
||||
"compilerOptions": {
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"outDir": "../../../../dist/out-tsc",
|
||||
"declaration": true,
|
||||
"types": ["node"]
|
||||
},
|
||||
"exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"],
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user