diff --git a/components/shopify/package.json b/components/shopify/package.json index 13f1439452a21..955bc109a5644 100644 --- a/components/shopify/package.json +++ b/components/shopify/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/shopify", - "version": "0.6.6", + "version": "0.6.7", "description": "Pipedream Shopify Components", "main": "shopify.app.mjs", "keywords": [ diff --git a/components/shopify/sources/common/constants.mjs b/components/shopify/sources/common/constants.mjs index f9ccbeb9f6915..e791e34daadbf 100644 --- a/components/shopify/sources/common/constants.mjs +++ b/components/shopify/sources/common/constants.mjs @@ -99,7 +99,6 @@ const EVENT_TOPIC = { THEMES_UPDATE: "themes/update", VARIANTS_IN_STOCK: "variants/in_stock", VARIANTS_OUT_OF_STOCK: "variants/out_of_stock", - EVENT_TOPICS_THEMES_UPDATE: "event-topics-themes-update", }; const EVENT_TOPICS = Object.values(EVENT_TOPIC); diff --git a/components/shopify/sources/new-event-emitted/new-event-emitted.mjs b/components/shopify/sources/new-event-emitted/new-event-emitted.mjs index cdc56045377bf..11d480fb5886d 100644 --- a/components/shopify/sources/new-event-emitted/new-event-emitted.mjs +++ b/components/shopify/sources/new-event-emitted/new-event-emitted.mjs @@ -7,7 +7,7 @@ export default { name: "New Event Emitted (Instant)", type: "source", description: "Emit new event for each new Shopify event.", - version: "0.0.12", + version: "0.0.13", dedupe: "unique", props: { ...common.props, diff --git a/components/shopify/sources/new-product-created/new-product-created.mjs b/components/shopify/sources/new-product-created/new-product-created.mjs index 975429cdb0112..ab40f396496b6 100644 --- a/components/shopify/sources/new-product-created/new-product-created.mjs +++ b/components/shopify/sources/new-product-created/new-product-created.mjs @@ -7,7 +7,7 @@ export default { name: "New Product Created (Instant)", type: "source", description: "Emit new event for each product added to a store.", - version: "0.0.12", + version: "0.0.13", dedupe: "unique", methods: { ...common.methods, diff --git a/components/shopify_developer_app/package.json b/components/shopify_developer_app/package.json index b56c7dbd37ae0..acef37695ac59 100644 --- a/components/shopify_developer_app/package.json +++ b/components/shopify_developer_app/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/shopify_developer_app", - "version": "0.6.1", + "version": "0.6.2", "description": "Pipedream Shopify (Developer App) Components", "main": "shopify_developer_app.app.mjs", "keywords": [ diff --git a/components/shopify_developer_app/sources/common/constants.mjs b/components/shopify_developer_app/sources/common/constants.mjs index 8d4c43b10c657..12e19ae5a6d60 100644 --- a/components/shopify_developer_app/sources/common/constants.mjs +++ b/components/shopify_developer_app/sources/common/constants.mjs @@ -1,108 +1,3 @@ -const DOMAIN_SUFFIX = ".myshopify.com"; -const WEBHOOK_ID = "webhookId"; +import constants from "@pipedream/shopify/sources/common/constants.mjs"; -const HEADER = { - SHOP_DOMAIN: "x-shopify-shop-domain", - TOPIC: "x-shopify-topic", -}; - -const EVENT_TOPIC = { - APP_UNINSTALLED: "app/uninstalled", - BULK_OPERATIONS_FINISH: "bulk_operations/finish", - CARTS_CREATE: "carts/create", - CARTS_UPDATE: "carts/update", - CHECKOUTS_CREATE: "checkouts/create", - CHECKOUTS_DELETE: "checkouts/delete", - CHECKOUTS_UPDATE: "checkouts/update", - COLLECTION_LISTINGS_ADD: "collection_listings/add", - COLLECTION_LISTINGS_REMOVE: "collection_listings/remove", - COLLECTION_LISTINGS_UPDATE: "collection_listings/update", - COLLECTIONS_CREATE: "collections/create", - COLLECTIONS_DELETE: "collections/delete", - COLLECTIONS_UPDATE: "collections/update", - CUSTOMER_GROUPS_CREATE: "customer_groups/create", - CUSTOMER_GROUPS_DELETE: "customer_groups/delete", - CUSTOMER_GROUPS_UPDATE: "customer_groups/update", - CUSTOMER_PAYMENT_METHODS_CREATE: "customer_payment_methods/create", - CUSTOMER_PAYMENT_METHODS_REVOKE: "customer_payment_methods/revoke", - CUSTOMER_PAYMENT_METHODS_UPDATE: "customer_payment_methods/update", - CUSTOMERS_MARKETING_CONSENT_UPDATE: "customers_marketing_consent/update", - CUSTOMERS_CREATE: "customers/create", - CUSTOMERS_DELETE: "customers/delete", - CUSTOMERS_DISABLE: "customers/disable", - CUSTOMERS_ENABLE: "customers/enable", - CUSTOMERS_UPDATE: "customers/update", - DISPUTES_CREATE: "disputes/create", - DISPUTES_UPDATE: "disputes/update", - DOMAINS_CREATE: "domains/create", - DOMAINS_DESTROY: "domains/destroy", - DOMAINS_UPDATE: "domains/update", - DRAFT_ORDERS_CREATE: "draft_orders/create", - DRAFT_ORDERS_DELETE: "draft_orders/delete", - DRAFT_ORDERS_UPDATE: "draft_orders/update", - FULFILLMENT_EVENTS_CREATE: "fulfillment_events/create", - FULFILLMENT_EVENTS_DELETE: "fulfillment_events/delete", - FULFILLMENTS_CREATE: "fulfillments/create", - FULFILLMENTS_UPDATE: "fulfillments/update", - INVENTORY_ITEMS_CREATE: "inventory_items/create", - INVENTORY_ITEMS_DELETE: "inventory_items/delete", - INVENTORY_ITEMS_UPDATE: "inventory_items/update", - INVENTORY_LEVELS_CONNECT: "inventory_levels/connect", - INVENTORY_LEVELS_DISCONNECT: "inventory_levels/disconnect", - INVENTORY_LEVELS_UPDATE: "inventory_levels/update", - LOCALES_CREATE: "locales/create", - LOCALES_UPDATE: "locales/update", - LOCATIONS_CREATE: "locations/create", - LOCATIONS_DELETE: "locations/delete", - LOCATIONS_UPDATE: "locations/update", - MARKETS_CREATE: "markets/create", - MARKETS_DELETE: "markets/delete", - MARKETS_UPDATE: "markets/update", - ORDER_TRANSACTIONS_CREATE: "order_transactions/create", - ORDERS_CANCELLED: "orders/cancelled", - ORDERS_CREATE: "orders/create", - ORDERS_DELETE: "orders/delete", - ORDERS_EDITED: "orders/edited", - ORDERS_FULFILLED: "orders/fulfilled", - ORDERS_PAID: "orders/paid", - ORDERS_PARTIALLY_FULFILLED: "orders/partially_fulfilled", - ORDERS_UPDATED: "orders/updated", - PRODUCT_LISTINGS_ADD: "product_listings/add", - PRODUCT_LISTINGS_REMOVE: "product_listings/remove", - PRODUCT_LISTINGS_UPDATE: "product_listings/update", - PRODUCTS_CREATE: "products/create", - PRODUCTS_DELETE: "products/delete", - PRODUCTS_UPDATE: "products/update", - PROFILES_CREATE: "profiles/create", - PROFILES_DELETE: "profiles/delete", - PROFILES_UPDATE: "profiles/update", - REFUNDS_CREATE: "refunds/create", - SCHEDULED_PRODUCT_LISTINGS_ADD: "scheduled_product_listings/add", - SCHEDULED_PRODUCT_LISTINGS_REMOVE: "scheduled_product_listings/remove", - SCHEDULED_PRODUCT_LISTINGS_UPDATE: "scheduled_product_listings/update", - SELLING_PLAN_GROUPS_CREATE: "selling_plan_groups/create", - SELLING_PLAN_GROUPS_DELETE: "selling_plan_groups/delete", - SELLING_PLAN_GROUPS_UPDATE: "selling_plan_groups/update", - SHOP_UPDATE: "shop/update", - SUBSCRIPTION_BILLING_ATTEMPTS_CHALLENGED: "subscription_billing_attempts/challenged", - SUBSCRIPTION_BILLING_ATTEMPTS_FAILURE: "subscription_billing_attempts/failure", - SUBSCRIPTION_BILLING_ATTEMPTS_SUCCESS: "subscription_billing_attempts/success", - SUBSCRIPTION_CONTRACTS_CREATE: "subscription_contracts/create", - SUBSCRIPTION_CONTRACTS_UPDATE: "subscription_contracts/update", - TENDER_TRANSACTIONS_CREATE: "tender_transactions/create", - THEMES_CREATE: "themes/create", - THEMES_DELETE: "themes/delete", - THEMES_PUBLISH: "themes/publish", - EVENT_TOPICS_THEMES_UPDATE: "event-topics-themes-update", - THEMES_UPDATE: "themes/update", -}; - -const EVENT_TOPICS = Object.values(EVENT_TOPIC); - -export default { - DOMAIN_SUFFIX, - WEBHOOK_ID, - HEADER, - EVENT_TOPIC, - EVENT_TOPICS, -}; +export default constants; diff --git a/components/shopify_developer_app/sources/new-cancelled-order/new-cancelled-order.mjs b/components/shopify_developer_app/sources/new-cancelled-order/new-cancelled-order.mjs index af89099ca31ef..b20a729c35f08 100644 --- a/components/shopify_developer_app/sources/new-cancelled-order/new-cancelled-order.mjs +++ b/components/shopify_developer_app/sources/new-cancelled-order/new-cancelled-order.mjs @@ -7,7 +7,7 @@ export default { name: "New Cancelled Order (Instant)", type: "source", description: "Emit new event each time a new order is cancelled.", - version: "0.0.6", + version: "0.0.7", dedupe: "unique", methods: { ...common.methods, diff --git a/components/shopify_developer_app/sources/new-customer-created/new-customer-created.mjs b/components/shopify_developer_app/sources/new-customer-created/new-customer-created.mjs index ee31f1eadcbbb..5a75f6b6f7187 100644 --- a/components/shopify_developer_app/sources/new-customer-created/new-customer-created.mjs +++ b/components/shopify_developer_app/sources/new-customer-created/new-customer-created.mjs @@ -7,7 +7,7 @@ export default { name: "New Customer Created (Instant)", type: "source", description: "Emit new event for each new customer added to a store.", - version: "0.0.6", + version: "0.0.7", dedupe: "unique", methods: { ...common.methods, diff --git a/components/shopify_developer_app/sources/new-draft-order/new-draft-order.mjs b/components/shopify_developer_app/sources/new-draft-order/new-draft-order.mjs index a75ade3c4da2f..4cf2d0c3520b2 100644 --- a/components/shopify_developer_app/sources/new-draft-order/new-draft-order.mjs +++ b/components/shopify_developer_app/sources/new-draft-order/new-draft-order.mjs @@ -7,7 +7,7 @@ export default { name: "New Draft Order (Instant)", type: "source", description: "Emit new event for each new draft order submitted to a store.", - version: "0.0.6", + version: "0.0.7", dedupe: "unique", methods: { ...common.methods, diff --git a/components/shopify_developer_app/sources/new-event-emitted/new-event-emitted.mjs b/components/shopify_developer_app/sources/new-event-emitted/new-event-emitted.mjs index 9ec5a93f1fb2b..c22cf75ac7f08 100644 --- a/components/shopify_developer_app/sources/new-event-emitted/new-event-emitted.mjs +++ b/components/shopify_developer_app/sources/new-event-emitted/new-event-emitted.mjs @@ -7,7 +7,7 @@ export default { name: "New Event Emitted (Instant)", type: "source", description: "Emit new event for each new Shopify event.", - version: "0.0.6", + version: "0.0.7", dedupe: "unique", props: { ...common.props, diff --git a/components/shopify_developer_app/sources/new-fulfillment-event/new-fulfillment-event.mjs b/components/shopify_developer_app/sources/new-fulfillment-event/new-fulfillment-event.mjs index ae266723c7ced..74aee507df3e6 100644 --- a/components/shopify_developer_app/sources/new-fulfillment-event/new-fulfillment-event.mjs +++ b/components/shopify_developer_app/sources/new-fulfillment-event/new-fulfillment-event.mjs @@ -7,7 +7,7 @@ export default { name: "New Fulfillment Event (Instant)", type: "source", description: "Emit new event for each new fulfillment event for a store.", - version: "0.0.4", + version: "0.0.5", dedupe: "unique", methods: { ...common.methods, diff --git a/components/shopify_developer_app/sources/new-order-created/new-order-created.mjs b/components/shopify_developer_app/sources/new-order-created/new-order-created.mjs index 0acefc9c1bde4..deba66a86c5b5 100644 --- a/components/shopify_developer_app/sources/new-order-created/new-order-created.mjs +++ b/components/shopify_developer_app/sources/new-order-created/new-order-created.mjs @@ -7,7 +7,7 @@ export default { name: "New Order Created (Instant)", type: "source", description: "Emit new event for each new order submitted to a store.", - version: "0.0.6", + version: "0.0.7", dedupe: "unique", methods: { ...common.methods, diff --git a/components/shopify_developer_app/sources/new-order-fulfilled/new-order-fulfilled.mjs b/components/shopify_developer_app/sources/new-order-fulfilled/new-order-fulfilled.mjs index 0412f66ece6ed..52eda90f76c30 100644 --- a/components/shopify_developer_app/sources/new-order-fulfilled/new-order-fulfilled.mjs +++ b/components/shopify_developer_app/sources/new-order-fulfilled/new-order-fulfilled.mjs @@ -7,7 +7,7 @@ export default { name: "New Order Fulfilled (Instant)", type: "source", description: "Emit new event whenever an order is fulfilled.", - version: "0.0.3", + version: "0.0.4", dedupe: "unique", methods: { ...common.methods, diff --git a/components/shopify_developer_app/sources/new-paid-order/new-paid-order.mjs b/components/shopify_developer_app/sources/new-paid-order/new-paid-order.mjs index a21e926821ddc..aab73542db06d 100644 --- a/components/shopify_developer_app/sources/new-paid-order/new-paid-order.mjs +++ b/components/shopify_developer_app/sources/new-paid-order/new-paid-order.mjs @@ -7,7 +7,7 @@ export default { name: "New Paid Order (Instant)", type: "source", description: "Emit new event each time a new order is paid.", - version: "0.0.6", + version: "0.0.7", dedupe: "unique", methods: { ...common.methods, diff --git a/components/shopify_developer_app/sources/new-product-created/new-product-created.mjs b/components/shopify_developer_app/sources/new-product-created/new-product-created.mjs index 0d208ae1bf7d1..b4efd99124ca3 100644 --- a/components/shopify_developer_app/sources/new-product-created/new-product-created.mjs +++ b/components/shopify_developer_app/sources/new-product-created/new-product-created.mjs @@ -7,7 +7,7 @@ export default { name: "New Product Created (Instant)", type: "source", description: "Emit new event for each product added to a store.", - version: "0.0.6", + version: "0.0.7", dedupe: "unique", methods: { ...common.methods, diff --git a/components/shopify_developer_app/sources/new-product-updated/new-product-updated.mjs b/components/shopify_developer_app/sources/new-product-updated/new-product-updated.mjs index f33a849e6022d..82503068f385e 100644 --- a/components/shopify_developer_app/sources/new-product-updated/new-product-updated.mjs +++ b/components/shopify_developer_app/sources/new-product-updated/new-product-updated.mjs @@ -6,7 +6,7 @@ export default { key: "shopify_developer_app-new-product-updated", name: "New Product Updated (Instant)", description: "Emit new event for each product updated in a store.", - version: "0.0.4", + version: "0.0.5", type: "source", dedupe: "unique", props: { diff --git a/components/shopify_developer_app/sources/new-refund-created/new-refund-created.mjs b/components/shopify_developer_app/sources/new-refund-created/new-refund-created.mjs index 93a0035a8f423..505efc5d5ee11 100644 --- a/components/shopify_developer_app/sources/new-refund-created/new-refund-created.mjs +++ b/components/shopify_developer_app/sources/new-refund-created/new-refund-created.mjs @@ -6,7 +6,7 @@ export default { key: "shopify_developer_app-new-refund-created", name: "New Refund Created (Instant)", description: "Emit new event when a new refund is created.", - version: "0.0.3", + version: "0.0.4", type: "source", dedupe: "unique", methods: { diff --git a/components/shopify_developer_app/sources/new-updated-customer/new-updated-customer.mjs b/components/shopify_developer_app/sources/new-updated-customer/new-updated-customer.mjs index f971478ff1873..938ead4b242ee 100644 --- a/components/shopify_developer_app/sources/new-updated-customer/new-updated-customer.mjs +++ b/components/shopify_developer_app/sources/new-updated-customer/new-updated-customer.mjs @@ -7,7 +7,7 @@ export default { name: "New Updated Customer (Instant)", type: "source", description: "Emit new event each time a customer's information is updated.", - version: "0.0.6", + version: "0.0.7", dedupe: "unique", methods: { ...common.methods, diff --git a/components/shopify_developer_app/sources/new-updated-order/new-updated-order.mjs b/components/shopify_developer_app/sources/new-updated-order/new-updated-order.mjs index 5067a38bb82a5..b8b26880fb63b 100644 --- a/components/shopify_developer_app/sources/new-updated-order/new-updated-order.mjs +++ b/components/shopify_developer_app/sources/new-updated-order/new-updated-order.mjs @@ -7,7 +7,7 @@ export default { name: "New Updated Order (Instant)", type: "source", description: "Emit new event each time an order is updated.", - version: "0.0.6", + version: "0.0.7", dedupe: "unique", methods: { ...common.methods, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f2daf306f5cef..b2ddd64e38442 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -796,8 +796,7 @@ importers: specifier: ^8.3.2 version: 8.3.2 - components/anchor_browser: - specifiers: {} + components/anchor_browser: {} components/annature: {} @@ -3104,8 +3103,7 @@ importers: specifier: ^1.5.1 version: 1.6.6 - components/databricks_oauth: - specifiers: {} + components/databricks_oauth: {} components/datadog: dependencies: @@ -5571,8 +5569,7 @@ importers: specifier: ^3.0.0 version: 3.0.3 - components/griptape: - specifiers: {} + components/griptape: {} components/grist: dependencies: