diff --git a/components/shopify/package.json b/components/shopify/package.json index 955bc109a5644..41ed5af0e5bc9 100644 --- a/components/shopify/package.json +++ b/components/shopify/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/shopify", - "version": "0.6.7", + "version": "0.6.8", "description": "Pipedream Shopify Components", "main": "shopify.app.mjs", "keywords": [ @@ -10,12 +10,12 @@ "homepage": "https://pipedream.com/apps/shopify", "author": "Pipedream (https://pipedream.com/)", "dependencies": { - "@pipedream/platform": "^1.2.0", + "@pipedream/platform": "^3.0.3", "async-retry": "^1.3.3", "bottleneck": "^2.19.5", "lodash.get": "^4.4.2", "lodash.topath": "^4.5.2", - "shopify-api-node": "^3.12.4" + "shopify-api-node": "^3.14.2" }, "gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535", "publishConfig": { diff --git a/components/shopify/sources/common/constants.mjs b/components/shopify/sources/common/constants.mjs index e791e34daadbf..a9b849a3dbd4c 100644 --- a/components/shopify/sources/common/constants.mjs +++ b/components/shopify/sources/common/constants.mjs @@ -9,13 +9,28 @@ const HEADER = { const EVENT_TOPIC = { APP_SCOPES_UPDATE: "app/scopes_update", APP_UNINSTALLED: "app/uninstalled", + APP_PURCHASES_ONE_TIME_UPDATE: "app_purchases_one_time/update", + APP_SUBSCRIPTIONS_APPROACHING_CAPPED_AMOUNT: "app_subscriptions/approaching_capped_amount", + APP_SUBSCRIPTIONS_UPDATE: "app_subscriptions/update", BULK_OPERATIONS_FINISH: "bulk_operations/finish", + CHANNELS_DELETE: "channels/delete", + CHECKOUTS_DELETE: "checkouts/delete", COLLECTION_LISTINGS_ADD: "collection_listings/add", COLLECTION_LISTINGS_REMOVE: "collection_listings/remove", COLLECTION_LISTINGS_UPDATE: "collection_listings/update", + COLLECTION_PUBLICATIONS_CREATE: "collection_publications/create", + COLLECTION_PUBLICATIONS_DELETE: "collection_publications/delete", + COLLECTION_PUBLICATIONS_UPDATE: "collection_publications/update", COLLECTIONS_CREATE: "collections/create", COLLECTIONS_DELETE: "collections/delete", COLLECTIONS_UPDATE: "collections/update", + COMPANIES_DELETE: "companies/delete", + COMPANY_CONTACTS_DELETE: "company_contacts/delete", + CUSTOMER_ACCOUNT_SETTINGS_UPDATE: "customer_account_settings/update", + CUSTOMER_GROUPS_UPDATE: "customer_groups/update", + CUSTOMERS_DELETE: "customers/delete", + CUSTOMERS_MERGE: "customers/merge", + DELIVERY_PROMISE_SETTINGS_UPDATE: "delivery_promise_settings/update", DISCOUNTS_CREATE: "discounts/create", DISCOUNTS_DELETE: "discounts/delete", DISCOUNTS_UPDATE: "discounts/update", @@ -24,6 +39,8 @@ const EVENT_TOPIC = { DOMAINS_CREATE: "domains/create", DOMAINS_DESTROY: "domains/destroy", DOMAINS_UPDATE: "domains/update", + DRAFT_ORDERS_DELETE: "draft_orders/delete", + FULFILLMENT_EVENTS_DELETE: "fulfillment_events/delete", FULFILLMENT_HOLDS_ADDED: "fulfillment_holds/added", FULFILLMENT_HOLDS_RELEASED: "fulfillment_holds/released", FULFILLMENT_ORDERS_CANCELLATION_REQUEST_ACCEPTED: "fulfillment_orders/cancellation_request_accepted", @@ -60,13 +77,31 @@ const EVENT_TOPIC = { MARKETS_CREATE: "markets/create", MARKETS_DELETE: "markets/delete", MARKETS_UPDATE: "markets/update", + METAFIELD_DEFINITIONS_CREATE: "metafield_definitions/create", + METAFIELD_DEFINITIONS_DELETE: "metafield_definitions/delete", + METAFIELD_DEFINITIONS_UPDATE: "metafield_definitions/update", + METAOBJECTS_CREATE: "metaobjects/create", + METAOBJECTS_DELETE: "metaobjects/delete", + METAOBJECTS_UPDATE: "metaobjects/update", + ORDERS_DELETE: "orders/delete", + ORDERS_RISK_ASSESSMENT_CHANGED: "orders/risk_assessment_changed", + ORDERS_SHOPIFY_PROTECT_ELIGIBILITY_CHANGED: "orders/shopify_protect_eligibility_changed", PAYMENT_SCHEDULE_DUE: "payment_schedules/due", + PAYMENT_TERMS_CREATE: "payment_terms/create", + PAYMENT_TERMS_DELETE: "payment_terms/delete", + PAYMENT_TERMS_UPDATE: "payment_terms/update", + PRODUCT_FEEDS_CREATE: "product_feeds/create", + PRODUCT_FEEDS_UPDATE: "product_feeds/update", PRODUCT_LISTINGS_ADD: "product_listings/add", PRODUCT_LISTINGS_REMOVE: "product_listings/remove", PRODUCT_LISTINGS_UPDATE: "product_listings/update", + PRODUCT_PUBLICATIONS_CREATE: "product_publications/create", + PRODUCT_PUBLICATIONS_DELETE: "product_publications/delete", + PRODUCT_PUBLICATIONS_UPDATE: "product_publications/update", PRODUCTS_CREATE: "products/create", PRODUCTS_DELETE: "products/delete", PRODUCTS_UPDATE: "products/update", + PROFILES_DELETE: "profiles/delete", REFUNDS_CREATE: "refunds/create", RETURNS_APPROVE: "returns/approve", RETURNS_CANCEL: "returns/cancel", @@ -76,6 +111,7 @@ const EVENT_TOPIC = { RETURNS_REOPEN: "returns/reopen", RETURNS_REQUEST: "returns/request", RETURNS_UPDATE: "returns/update", + REVERSE_FULFILLMENT_ORDERS_DISPOSE: "reverse_fulfillment_orders/dispose", SCHEDULED_PRODUCT_LISTINGS_ADD: "scheduled_product_listings/add", SCHEDULED_PRODUCT_LISTINGS_REMOVE: "scheduled_product_listings/remove", SCHEDULED_PRODUCT_LISTINGS_UPDATE: "scheduled_product_listings/update", @@ -86,6 +122,11 @@ const EVENT_TOPIC = { SELLING_PLAN_GROUPS_DELETE: "selling_plan_groups/delete", SELLING_PLAN_GROUPS_UPDATE: "selling_plan_groups/update", SHOP_UPDATE: "shop/update", + SUBSCRIPTION_BILLING_CYCLE_EDITS_CREATE: "subscription_billing_cycle_edits/create", + SUBSCRIPTION_BILLING_CYCLE_EDITS_DELETE: "subscription_billing_cycle_edits/delete", + SUBSCRIPTION_BILLING_CYCLE_EDITS_UPDATE: "subscription_billing_cycle_edits/update", + SUBSCRIPTION_BILLING_CYCLES_SKIP: "subscription_billing_cycles/skip", + SUBSCRIPTION_BILLING_CYCLES_UNSKIP: "subscription_billing_cycles/unskip", SUBSCRIPTION_CONTRACTS_ACTIVATE: "subscription_contracts/activate", SUBSCRIPTION_CONTRACTS_CANCEL: "subscription_contracts/cancel", SUBSCRIPTION_CONTRACTS_EXPIRE: "subscription_contracts/expire", 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 11d480fb5886d..ba13198c864d7 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.13", + version: "0.0.14", 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 ab40f396496b6..1eb80e8d36827 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.13", + version: "0.0.14", dedupe: "unique", methods: { ...common.methods, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7bc7c797e4e90..6cbfc30e2788f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11288,8 +11288,8 @@ importers: components/shopify: dependencies: '@pipedream/platform': - specifier: ^1.2.0 - version: 1.6.6 + specifier: ^3.0.3 + version: 3.0.3 async-retry: specifier: ^1.3.3 version: 1.3.3 @@ -11303,8 +11303,8 @@ importers: specifier: ^4.5.2 version: 4.5.2 shopify-api-node: - specifier: ^3.12.4 - version: 3.14.0 + specifier: ^3.14.2 + version: 3.14.2 components/shopify_developer_app: dependencies: @@ -26837,6 +26837,10 @@ packages: resolution: {integrity: sha512-4rqfp5coivw4GEqai8OKFikWgFtfPxCEhDetXz8ig9TlMLWke8QhA/NrDdJ21qE4Hp0PqnCHW0vqE9h5XJnOWA==} engines: {node: '>=10.0.0'} + shopify-api-node@3.14.2: + resolution: {integrity: sha512-f+OTxMFZsZAQtBRV3wwPKg/8XoZ3q+kiw136TXZY178tcoJyUyK0GhJITAHIHl037ka0h46EE/9iSTomi++1jQ==} + engines: {node: '>=10.0.0'} + short-unique-id@5.2.0: resolution: {integrity: sha512-cMGfwNyfDZ/nzJ2k2M+ClthBIh//GlZl1JEf47Uoa9XR11bz8Pa2T2wQO4bVrRdH48LrIDWJahQziKo3MjhsWg==} hasBin: true @@ -33638,7 +33642,7 @@ snapshots: bottleneck: 2.19.5 lodash.get: 4.4.2 lodash.topath: 4.5.2 - shopify-api-node: 3.14.0 + shopify-api-node: 3.14.2 transitivePeerDependencies: - debug @@ -34001,6 +34005,8 @@ snapshots: '@putout/operator-filesystem': 5.0.0(putout@36.13.1(eslint@8.57.1)(typescript@5.6.3)) '@putout/operator-json': 2.2.0 putout: 36.13.1(eslint@8.57.1)(typescript@5.6.3) + transitivePeerDependencies: + - supports-color '@putout/operator-regexp@1.0.0(putout@36.13.1(eslint@8.57.1)(typescript@5.6.3))': dependencies: @@ -45784,6 +45790,13 @@ snapshots: qs: 6.13.1 stopcock: 1.1.0 + shopify-api-node@3.14.2: + dependencies: + got: 11.8.6 + lodash: 4.17.21 + qs: 6.13.1 + stopcock: 1.1.0 + short-unique-id@5.2.0: {} should-equal@2.0.0: