@keystrokehq/shopify 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/articles.mjs CHANGED
@@ -107,7 +107,7 @@ function buildArticleInput(input) {
107
107
  });
108
108
  }
109
109
  const listArticles = shopifyOperation({
110
- id: "list_shopify_articles",
110
+ id: "shopify.list-shopify-articles",
111
111
  name: "List Shopify Articles",
112
112
  description: "List blog articles from the connected Shopify store.",
113
113
  input: shopifyPageInputSchema,
@@ -139,7 +139,7 @@ const listArticles = shopifyOperation({
139
139
  }
140
140
  });
141
141
  const getArticle = shopifyOperation({
142
- id: "get_shopify_article",
142
+ id: "shopify.get-shopify-article",
143
143
  name: "Get Shopify Article",
144
144
  description: "Retrieve a single Shopify article by its global ID.",
145
145
  input: z.object({ id: shopifyGlobalIdSchema }),
@@ -157,7 +157,7 @@ const getArticle = shopifyOperation({
157
157
  }
158
158
  });
159
159
  const createArticle = shopifyOperation({
160
- id: "create_shopify_article",
160
+ id: "shopify.create-shopify-article",
161
161
  name: "Create Shopify Article",
162
162
  description: "Create an article in the connected Shopify store.",
163
163
  needsApproval: true,
@@ -187,7 +187,7 @@ const createArticle = shopifyOperation({
187
187
  }
188
188
  });
189
189
  const updateArticle = shopifyOperation({
190
- id: "update_shopify_article",
190
+ id: "shopify.update-shopify-article",
191
191
  name: "Update Shopify Article",
192
192
  description: "Update a Shopify article by its global ID.",
193
193
  needsApproval: true,
@@ -223,7 +223,7 @@ const updateArticle = shopifyOperation({
223
223
  }
224
224
  });
225
225
  const deleteArticle = shopifyOperation({
226
- id: "delete_shopify_article",
226
+ id: "shopify.delete-shopify-article",
227
227
  name: "Delete Shopify Article",
228
228
  description: "Delete a Shopify article by its global ID.",
229
229
  needsApproval: true,
package/dist/blogs.mjs CHANGED
@@ -37,7 +37,7 @@ const deleteBlogResponseSchema = z.object({
37
37
  userErrors: z.array(shopifyUserErrorSchema.extend({ code: z.string().optional() }))
38
38
  });
39
39
  const listBlogs = shopifyOperation({
40
- id: "list_shopify_blogs",
40
+ id: "shopify.list-shopify-blogs",
41
41
  name: "List Shopify Blogs",
42
42
  description: "List blogs from the connected Shopify store.",
43
43
  input: shopifyPageInputSchema,
@@ -65,7 +65,7 @@ const listBlogs = shopifyOperation({
65
65
  }
66
66
  });
67
67
  const getBlog = shopifyOperation({
68
- id: "get_shopify_blog",
68
+ id: "shopify.get-shopify-blog",
69
69
  name: "Get Shopify Blog",
70
70
  description: "Retrieve a single Shopify blog by its global ID.",
71
71
  input: z.object({ id: shopifyGlobalIdSchema }),
@@ -83,7 +83,7 @@ const getBlog = shopifyOperation({
83
83
  }
84
84
  });
85
85
  const createBlog = shopifyOperation({
86
- id: "create_shopify_blog",
86
+ id: "shopify.create-shopify-blog",
87
87
  name: "Create Shopify Blog",
88
88
  description: "Create a blog in the connected Shopify store.",
89
89
  needsApproval: true,
@@ -110,7 +110,7 @@ const createBlog = shopifyOperation({
110
110
  }
111
111
  });
112
112
  const updateBlog = shopifyOperation({
113
- id: "update_shopify_blog",
113
+ id: "shopify.update-shopify-blog",
114
114
  name: "Update Shopify Blog",
115
115
  description: "Update a Shopify blog by its global ID.",
116
116
  needsApproval: true,
@@ -145,7 +145,7 @@ const updateBlog = shopifyOperation({
145
145
  }
146
146
  });
147
147
  const deleteBlog = shopifyOperation({
148
- id: "delete_shopify_blog",
148
+ id: "shopify.delete-shopify-blog",
149
149
  name: "Delete Shopify Blog",
150
150
  description: "Delete a Shopify blog by its global ID.",
151
151
  needsApproval: true,
@@ -44,7 +44,7 @@ const removeProductsResponseSchema = z.object({
44
44
  userErrors: z.array(shopifyUserErrorSchema)
45
45
  });
46
46
  const listCollections = shopifyOperation({
47
- id: "list_shopify_collections",
47
+ id: "shopify.list-shopify-collections",
48
48
  name: "List Shopify Collections",
49
49
  description: "List collections from the connected Shopify store.",
50
50
  input: shopifyPageInputSchema,
@@ -72,7 +72,7 @@ const listCollections = shopifyOperation({
72
72
  }
73
73
  });
74
74
  const getCollection = shopifyOperation({
75
- id: "get_shopify_collection",
75
+ id: "shopify.get-shopify-collection",
76
76
  name: "Get Shopify Collection",
77
77
  description: "Retrieve a single Shopify collection by its global ID.",
78
78
  input: z.object({ id: shopifyGlobalIdSchema }),
@@ -90,7 +90,7 @@ const getCollection = shopifyOperation({
90
90
  }
91
91
  });
92
92
  const createCollection = shopifyOperation({
93
- id: "create_shopify_collection",
93
+ id: "shopify.create-shopify-collection",
94
94
  name: "Create Shopify Collection",
95
95
  description: "Create a collection in the connected Shopify store.",
96
96
  needsApproval: true,
@@ -116,7 +116,7 @@ const createCollection = shopifyOperation({
116
116
  }
117
117
  });
118
118
  const deleteCollection = shopifyOperation({
119
- id: "delete_shopify_collection",
119
+ id: "shopify.delete-shopify-collection",
120
120
  name: "Delete Shopify Collection",
121
121
  description: "Delete a Shopify collection by its global ID.",
122
122
  needsApproval: true,
@@ -140,7 +140,7 @@ const deleteCollection = shopifyOperation({
140
140
  }
141
141
  });
142
142
  const addProductsToCollection = shopifyOperation({
143
- id: "add_products_to_shopify_collection",
143
+ id: "shopify.add-products-to-shopify-collection",
144
144
  name: "Add Products To Shopify Collection",
145
145
  description: "Add products to a manual Shopify collection.",
146
146
  needsApproval: true,
@@ -172,7 +172,7 @@ const addProductsToCollection = shopifyOperation({
172
172
  }
173
173
  });
174
174
  const removeProductsFromCollection = shopifyOperation({
175
- id: "remove_products_from_shopify_collection",
175
+ id: "shopify.remove-products-from-shopify-collection",
176
176
  name: "Remove Products From Shopify Collection",
177
177
  description: "Remove products from a manual Shopify collection.",
178
178
  needsApproval: true,
@@ -63,7 +63,7 @@ const customerDeleteResponseSchema = z.object({
63
63
  });
64
64
  const customerOrdersResponseSchema = z.object({ customer: z.object({ orders: shopifyConnectionNodesSchema(shopifyOrderSchema) }).nullable() });
65
65
  const listCustomers = shopifyOperation({
66
- id: "list_shopify_customers",
66
+ id: "shopify.list-shopify-customers",
67
67
  name: "List Shopify Customers",
68
68
  description: "List customers from the connected Shopify store.",
69
69
  input: shopifyPageInputSchema,
@@ -91,7 +91,7 @@ const listCustomers = shopifyOperation({
91
91
  }
92
92
  });
93
93
  const getCustomer = shopifyOperation({
94
- id: "get_shopify_customer",
94
+ id: "shopify.get-shopify-customer",
95
95
  name: "Get Shopify Customer",
96
96
  description: "Retrieve a single Shopify customer by its global ID.",
97
97
  input: z.object({ id: shopifyGlobalIdSchema }),
@@ -109,7 +109,7 @@ const getCustomer = shopifyOperation({
109
109
  }
110
110
  });
111
111
  const createCustomer = shopifyOperation({
112
- id: "create_shopify_customer",
112
+ id: "shopify.create-shopify-customer",
113
113
  name: "Create Shopify Customer",
114
114
  description: "Create a customer in the connected Shopify store.",
115
115
  needsApproval: true,
@@ -135,7 +135,7 @@ const createCustomer = shopifyOperation({
135
135
  }
136
136
  });
137
137
  const updateCustomer = shopifyOperation({
138
- id: "update_shopify_customer",
138
+ id: "shopify.update-shopify-customer",
139
139
  name: "Update Shopify Customer",
140
140
  description: "Update a Shopify customer by its global ID.",
141
141
  needsApproval: true,
@@ -161,7 +161,7 @@ const updateCustomer = shopifyOperation({
161
161
  }
162
162
  });
163
163
  const deleteCustomer = shopifyOperation({
164
- id: "delete_shopify_customer",
164
+ id: "shopify.delete-shopify-customer",
165
165
  name: "Delete Shopify Customer",
166
166
  description: "Delete a Shopify customer who has no placed orders.",
167
167
  needsApproval: true,
@@ -185,7 +185,7 @@ const deleteCustomer = shopifyOperation({
185
185
  }
186
186
  });
187
187
  const getCustomerOrders = shopifyOperation({
188
- id: "get_shopify_customer_orders",
188
+ id: "shopify.get-shopify-customer-orders",
189
189
  name: "Get Shopify Customer Orders",
190
190
  description: "Retrieve orders for a specific Shopify customer.",
191
191
  input: z.object({
@@ -35,7 +35,7 @@ const fulfillmentCreatePayloadSchema = z.object({
35
35
  userErrors: z.array(shopifyUserErrorSchema)
36
36
  });
37
37
  const listFulfillmentOrdersForOrder = shopifyOperation({
38
- id: "list_shopify_fulfillment_orders_for_order",
38
+ id: "shopify.list-shopify-fulfillment-orders-for-order",
39
39
  name: "List Shopify Fulfillment Orders For Order",
40
40
  description: "List fulfillment orders for a Shopify order so they can be fulfilled.",
41
41
  input: z.object({
@@ -97,7 +97,7 @@ const listFulfillmentOrdersForOrder = shopifyOperation({
97
97
  }
98
98
  });
99
99
  const getFulfillment = shopifyOperation({
100
- id: "get_shopify_fulfillment",
100
+ id: "shopify.get-shopify-fulfillment",
101
101
  name: "Get Shopify Fulfillment",
102
102
  description: "Retrieve a single Shopify fulfillment by its global ID.",
103
103
  input: z.object({ id: shopifyGlobalIdSchema }),
@@ -115,7 +115,7 @@ const getFulfillment = shopifyOperation({
115
115
  }
116
116
  });
117
117
  const createFulfillment = shopifyOperation({
118
- id: "create_shopify_fulfillment",
118
+ id: "shopify.create-shopify-fulfillment",
119
119
  name: "Create Shopify Fulfillment",
120
120
  description: "Create a fulfillment from one or more Shopify fulfillment orders.",
121
121
  needsApproval: true,
@@ -42,7 +42,7 @@ const inventoryAdjustmentResponseSchema = z.object({
42
42
  userErrors: z.array(shopifyUserErrorSchema)
43
43
  });
44
44
  const listInventoryItems = shopifyOperation({
45
- id: "list_shopify_inventory_items",
45
+ id: "shopify.list-shopify-inventory-items",
46
46
  name: "List Shopify Inventory Items",
47
47
  description: "List inventory items from the connected Shopify store.",
48
48
  input: shopifyPageInputSchema,
@@ -70,7 +70,7 @@ const listInventoryItems = shopifyOperation({
70
70
  }
71
71
  });
72
72
  const getInventoryItem = shopifyOperation({
73
- id: "get_shopify_inventory_item",
73
+ id: "shopify.get-shopify-inventory-item",
74
74
  name: "Get Shopify Inventory Item",
75
75
  description: "Retrieve a single Shopify inventory item by its global ID.",
76
76
  input: z.object({ id: shopifyGlobalIdSchema }),
@@ -88,7 +88,7 @@ const getInventoryItem = shopifyOperation({
88
88
  }
89
89
  });
90
90
  const getInventoryLevelsForItem = shopifyOperation({
91
- id: "get_shopify_inventory_levels_for_item",
91
+ id: "shopify.get-shopify-inventory-levels-for-item",
92
92
  name: "Get Shopify Inventory Levels For Item",
93
93
  description: "Retrieve inventory levels for a specific Shopify inventory item.",
94
94
  input: z.object({
@@ -124,7 +124,7 @@ const getInventoryLevelsForItem = shopifyOperation({
124
124
  }
125
125
  });
126
126
  const adjustInventoryQuantities = shopifyOperation({
127
- id: "adjust_shopify_inventory_quantities",
127
+ id: "shopify.adjust-shopify-inventory-quantities",
128
128
  name: "Adjust Shopify Inventory Quantities",
129
129
  description: "Adjust inventory quantities at specific Shopify locations.",
130
130
  needsApproval: true,
@@ -14,7 +14,7 @@ const locationSelection = `
14
14
  const listLocationsResponseSchema = z.object({ locations: shopifyConnectionNodesSchema(shopifyLocationSchema) });
15
15
  const getLocationResponseSchema = z.object({ location: shopifyLocationSchema.nullable() });
16
16
  const listLocations = shopifyOperation({
17
- id: "list_shopify_locations",
17
+ id: "shopify.list-shopify-locations",
18
18
  name: "List Shopify Locations",
19
19
  description: "List locations from the connected Shopify store.",
20
20
  input: shopifyPageInputSchema.extend({
@@ -59,7 +59,7 @@ const listLocations = shopifyOperation({
59
59
  }
60
60
  });
61
61
  const getLocation = shopifyOperation({
62
- id: "get_shopify_location",
62
+ id: "shopify.get-shopify-location",
63
63
  name: "Get Shopify Location",
64
64
  description: "Retrieve a single Shopify location by its global ID.",
65
65
  input: z.object({ id: shopifyGlobalIdSchema }),
package/dist/orders.mjs CHANGED
@@ -110,7 +110,7 @@ function buildOrderCreateLineItems(lineItems, currency) {
110
110
  });
111
111
  }
112
112
  const listOrders = shopifyOperation({
113
- id: "list_shopify_orders",
113
+ id: "shopify.list-shopify-orders",
114
114
  name: "List Shopify Orders",
115
115
  description: "List orders from the connected Shopify store.",
116
116
  input: shopifyPageInputSchema,
@@ -138,7 +138,7 @@ const listOrders = shopifyOperation({
138
138
  }
139
139
  });
140
140
  const getOrder = shopifyOperation({
141
- id: "get_shopify_order",
141
+ id: "shopify.get-shopify-order",
142
142
  name: "Get Shopify Order",
143
143
  description: "Retrieve a single Shopify order by its global ID.",
144
144
  input: z.object({ id: shopifyGlobalIdSchema }),
@@ -156,7 +156,7 @@ const getOrder = shopifyOperation({
156
156
  }
157
157
  });
158
158
  const createOrder = shopifyOperation({
159
- id: "create_shopify_order",
159
+ id: "shopify.create-shopify-order",
160
160
  name: "Create Shopify Order",
161
161
  description: "Create an order in the connected Shopify store.",
162
162
  needsApproval: true,
@@ -192,7 +192,7 @@ const createOrder = shopifyOperation({
192
192
  }
193
193
  });
194
194
  const updateOrder = shopifyOperation({
195
- id: "update_shopify_order",
195
+ id: "shopify.update-shopify-order",
196
196
  name: "Update Shopify Order",
197
197
  description: "Update simple order attributes such as note, tags, email, or shipping address.",
198
198
  needsApproval: true,
@@ -218,7 +218,7 @@ const updateOrder = shopifyOperation({
218
218
  }
219
219
  });
220
220
  const cancelOrder = shopifyOperation({
221
- id: "cancel_shopify_order",
221
+ id: "shopify.cancel-shopify-order",
222
222
  name: "Cancel Shopify Order",
223
223
  description: "Cancel a Shopify order and return the asynchronous cancellation job.",
224
224
  needsApproval: true,
package/dist/products.mjs CHANGED
@@ -45,7 +45,7 @@ const deleteProductResponseSchema = z.object({
45
45
  userErrors: z.array(shopifyUserErrorSchema)
46
46
  });
47
47
  const listProducts = shopifyOperation({
48
- id: "list_shopify_products",
48
+ id: "shopify.list-shopify-products",
49
49
  name: "List Shopify Products",
50
50
  description: "List products from the connected Shopify store.",
51
51
  input: shopifyPageInputSchema,
@@ -73,7 +73,7 @@ const listProducts = shopifyOperation({
73
73
  }
74
74
  });
75
75
  const getProduct = shopifyOperation({
76
- id: "get_shopify_product",
76
+ id: "shopify.get-shopify-product",
77
77
  name: "Get Shopify Product",
78
78
  description: "Retrieve a single Shopify product by its global ID.",
79
79
  input: z.object({ id: shopifyGlobalIdSchema }),
@@ -91,7 +91,7 @@ const getProduct = shopifyOperation({
91
91
  }
92
92
  });
93
93
  const createProduct = shopifyOperation({
94
- id: "create_shopify_product",
94
+ id: "shopify.create-shopify-product",
95
95
  name: "Create Shopify Product",
96
96
  description: "Create a product in the connected Shopify store.",
97
97
  needsApproval: true,
@@ -117,7 +117,7 @@ const createProduct = shopifyOperation({
117
117
  }
118
118
  });
119
119
  const updateProduct = shopifyOperation({
120
- id: "update_shopify_product",
120
+ id: "shopify.update-shopify-product",
121
121
  name: "Update Shopify Product",
122
122
  description: "Update a Shopify product by its global ID.",
123
123
  needsApproval: true,
@@ -143,7 +143,7 @@ const updateProduct = shopifyOperation({
143
143
  }
144
144
  });
145
145
  const deleteProduct = shopifyOperation({
146
- id: "delete_shopify_product",
146
+ id: "shopify.delete-shopify-product",
147
147
  name: "Delete Shopify Product",
148
148
  description: "Delete a Shopify product by its global ID.",
149
149
  needsApproval: true,
package/dist/shop.mjs CHANGED
@@ -17,7 +17,7 @@ const getShopQuery = `
17
17
  }
18
18
  `;
19
19
  const getShop = shopifyOperation({
20
- id: "get_shopify_shop",
20
+ id: "shopify.get-shopify-shop",
21
21
  name: "Get Shopify Shop",
22
22
  description: "Retrieve high-level details about the connected Shopify store.",
23
23
  input: z.object({}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/shopify",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -84,8 +84,8 @@
84
84
  "LICENSE"
85
85
  ],
86
86
  "dependencies": {
87
- "@keystrokehq/credential-connection": "^0.0.7",
88
- "@keystrokehq/integration-authoring": "^0.0.7",
87
+ "@keystrokehq/credential-connection": "^1.0.0",
88
+ "@keystrokehq/integration-authoring": "^0.0.8",
89
89
  "@shopify/admin-api-client": "^1.1.2",
90
90
  "zod": "^4.3.6"
91
91
  },