Skip to content

Commit 007b990

Browse files
committed
add event topics
1 parent 3b9bb5b commit 007b990

File tree

4 files changed

+46
-5
lines changed

4 files changed

+46
-5
lines changed

components/shopify/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/shopify",
3-
"version": "0.6.7",
3+
"version": "0.6.8",
44
"description": "Pipedream Shopify Components",
55
"main": "shopify.app.mjs",
66
"keywords": [
@@ -10,12 +10,12 @@
1010
"homepage": "https://pipedream.com/apps/shopify",
1111
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
1212
"dependencies": {
13-
"@pipedream/platform": "^1.2.0",
13+
"@pipedream/platform": "^3.0.3",
1414
"async-retry": "^1.3.3",
1515
"bottleneck": "^2.19.5",
1616
"lodash.get": "^4.4.2",
1717
"lodash.topath": "^4.5.2",
18-
"shopify-api-node": "^3.12.4"
18+
"shopify-api-node": "^3.14.2"
1919
},
2020
"gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535",
2121
"publishConfig": {

components/shopify/sources/common/constants.mjs

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,28 @@ const HEADER = {
99
const EVENT_TOPIC = {
1010
APP_SCOPES_UPDATE: "app/scopes_update",
1111
APP_UNINSTALLED: "app/uninstalled",
12+
APP_PURCHASES_ONE_TIME_UPDATE: "app_purchases_one_time/update",
13+
APP_SUBSCRIPTIONS_APPROACHING_CAPPED_AMOUNT: "app_subscriptions/approaching_capped_amount",
14+
APP_SUBSCRIPTIONS_UPDATE: "app_subscriptions/update",
1215
BULK_OPERATIONS_FINISH: "bulk_operations/finish",
16+
CHANNELS_DELETE: "channels/delete",
17+
CHECKOUTS_DELETE: "checkouts/delete",
1318
COLLECTION_LISTINGS_ADD: "collection_listings/add",
1419
COLLECTION_LISTINGS_REMOVE: "collection_listings/remove",
1520
COLLECTION_LISTINGS_UPDATE: "collection_listings/update",
21+
COLLECTION_PUBLICATIONS_CREATE: "collection_publications/create",
22+
COLLECTION_PUBLICATIONS_DELETE: "collection_publications/delete",
23+
COLLECTION_PUBLICATIONS_UPDATE: "collection_publications/update",
1624
COLLECTIONS_CREATE: "collections/create",
1725
COLLECTIONS_DELETE: "collections/delete",
1826
COLLECTIONS_UPDATE: "collections/update",
27+
COMPANIES_DELETE: "companies/delete",
28+
COMPANY_CONTACTS_DELETE: "company_contacts/delete",
29+
CUSTOMER_ACCOUNT_SETTINGS_UPDATE: "customer_account_settings/update",
30+
CUSTOMER_GROUPS_UPDATE: "customer_groups/update",
31+
CUSTOMERS_DELETE: "customers/delete",
32+
CUSTOMERS_MERGE: "customers/merge",
33+
DELIVERY_PROMISE_SETTINGS_UPDATE: "delivery_promise_settings/update",
1934
DISCOUNTS_CREATE: "discounts/create",
2035
DISCOUNTS_DELETE: "discounts/delete",
2136
DISCOUNTS_UPDATE: "discounts/update",
@@ -24,6 +39,8 @@ const EVENT_TOPIC = {
2439
DOMAINS_CREATE: "domains/create",
2540
DOMAINS_DESTROY: "domains/destroy",
2641
DOMAINS_UPDATE: "domains/update",
42+
DRAFT_ORDERS_DELETE: "draft_orders/delete",
43+
FULFILLMENT_EVENTS_DELETE: "fulfillment_events/delete",
2744
FULFILLMENT_HOLDS_ADDED: "fulfillment_holds/added",
2845
FULFILLMENT_HOLDS_RELEASED: "fulfillment_holds/released",
2946
FULFILLMENT_ORDERS_CANCELLATION_REQUEST_ACCEPTED: "fulfillment_orders/cancellation_request_accepted",
@@ -60,13 +77,31 @@ const EVENT_TOPIC = {
6077
MARKETS_CREATE: "markets/create",
6178
MARKETS_DELETE: "markets/delete",
6279
MARKETS_UPDATE: "markets/update",
80+
METAFIELD_DEFINITIONS_CREATE: "metafield_definitions/create",
81+
METAFIELD_DEFINITIONS_DELETE: "metafield_definitions/delete",
82+
METAFIELD_DEFINITIONS_UPDATE: "metafield_definitions/update",
83+
METAOBJECTS_CREATE: "metaobjects/create",
84+
METAOBJECTS_DELETE: "metaobjects/delete",
85+
METAOBJECTS_UPDATE: "metaobjects/update",
86+
ORDERS_DELETE: "orders/delete",
87+
ORDERS_RISK_ASSESSMENT_CHANGED: "orders/risk_assessment_changed",
88+
ORDERS_SHOPIFY_PROTECT_ELIGIBILITY_CHANGED: "orders/shopify_protect_eligibility_changed",
6389
PAYMENT_SCHEDULE_DUE: "payment_schedules/due",
90+
PAYMENT_TERMS_CREATE: "payment_terms/create",
91+
PAYMENT_TERMS_DELETE: "payment_terms/delete",
92+
PAYMENT_TERMS_UPDATE: "payment_terms/update",
93+
PRODUCT_FEEDS_CREATE: "product_feeds/create",
94+
PRODUCT_FEEDS_UPDATE: "product_feeds/update",
6495
PRODUCT_LISTINGS_ADD: "product_listings/add",
6596
PRODUCT_LISTINGS_REMOVE: "product_listings/remove",
6697
PRODUCT_LISTINGS_UPDATE: "product_listings/update",
98+
PRODUCT_PUBLICATIONS_CREATE: "product_publications/create",
99+
PRODUCT_PUBLICATIONS_DELETE: "product_publications/delete",
100+
PRODUCT_PUBLICATIONS_UPDATE: "product_publications/update",
67101
PRODUCTS_CREATE: "products/create",
68102
PRODUCTS_DELETE: "products/delete",
69103
PRODUCTS_UPDATE: "products/update",
104+
PROFILES_DELETE: "profiles/delete",
70105
REFUNDS_CREATE: "refunds/create",
71106
RETURNS_APPROVE: "returns/approve",
72107
RETURNS_CANCEL: "returns/cancel",
@@ -76,6 +111,7 @@ const EVENT_TOPIC = {
76111
RETURNS_REOPEN: "returns/reopen",
77112
RETURNS_REQUEST: "returns/request",
78113
RETURNS_UPDATE: "returns/update",
114+
REVERSE_FULFILLMENT_ORDERS_DISPOSE: "reverse_fulfillment_orders/dispose",
79115
SCHEDULED_PRODUCT_LISTINGS_ADD: "scheduled_product_listings/add",
80116
SCHEDULED_PRODUCT_LISTINGS_REMOVE: "scheduled_product_listings/remove",
81117
SCHEDULED_PRODUCT_LISTINGS_UPDATE: "scheduled_product_listings/update",
@@ -86,6 +122,11 @@ const EVENT_TOPIC = {
86122
SELLING_PLAN_GROUPS_DELETE: "selling_plan_groups/delete",
87123
SELLING_PLAN_GROUPS_UPDATE: "selling_plan_groups/update",
88124
SHOP_UPDATE: "shop/update",
125+
SUBSCRIPTION_BILLINT_CYCLE_EDITS_CREATE: "subscription_billing_cycle_edits/create",
126+
SUBSCRIPTION_BILLING_CYCLE_EDITS_DELETE: "subscription_billing_cycle_edits/delete",
127+
SUBSCRIPTION_BILLINT_CYCLE_EDITS_UPDATE: "subscription_billing_cycle_edits/update",
128+
SUBSCRIPTION_BILLING_CYCLES_SKIP: "subscription_billing_cycles/skip",
129+
SUBSCRIPTION_BILLING_CYCLES_UNSKIP: "subscription_billing_cycles/unskip",
89130
SUBSCRIPTION_CONTRACTS_ACTIVATE: "subscription_contracts/activate",
90131
SUBSCRIPTION_CONTRACTS_CANCEL: "subscription_contracts/cancel",
91132
SUBSCRIPTION_CONTRACTS_EXPIRE: "subscription_contracts/expire",

components/shopify/sources/new-event-emitted/new-event-emitted.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "New Event Emitted (Instant)",
88
type: "source",
99
description: "Emit new event for each new Shopify event.",
10-
version: "0.0.13",
10+
version: "0.0.14",
1111
dedupe: "unique",
1212
props: {
1313
...common.props,

components/shopify/sources/new-product-created/new-product-created.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "New Product Created (Instant)",
88
type: "source",
99
description: "Emit new event for each product added to a store.",
10-
version: "0.0.13",
10+
version: "0.0.14",
1111
dedupe: "unique",
1212
methods: {
1313
...common.methods,

0 commit comments

Comments
 (0)