@pipedream/shopify_developer_app 0.11.0 → 0.12.0
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/actions/add-product-to-custom-collection/add-product-to-custom-collection.mjs +1 -1
- package/actions/add-tags/add-tags.mjs +1 -1
- package/actions/cancel-fulfillment/cancel-fulfillment.mjs +22 -0
- package/actions/cancel-fulfillment-order/cancel-fulfillment-order.mjs +22 -0
- package/actions/cancel-order/cancel-order.mjs +1 -1
- package/actions/create-article/create-article.mjs +1 -1
- package/actions/create-blog/create-blog.mjs +1 -1
- package/actions/create-custom-collection/create-custom-collection.mjs +1 -1
- package/actions/create-customer/create-customer.mjs +1 -1
- package/actions/create-fulfillment/create-fulfillment.mjs +1 -1
- package/actions/create-gift-card/create-gift-card.mjs +22 -0
- package/actions/create-metafield/create-metafield.mjs +1 -1
- package/actions/create-metaobject/create-metaobject.mjs +1 -1
- package/actions/create-order/create-order.mjs +1 -1
- package/actions/create-page/create-page.mjs +1 -1
- package/actions/create-product/create-product.mjs +1 -1
- package/actions/create-product-variant/create-product-variant.mjs +1 -1
- package/actions/create-return/create-return.mjs +22 -0
- package/actions/create-smart-collection/create-smart-collection.mjs +1 -1
- package/actions/delete-article/delete-article.mjs +1 -1
- package/actions/delete-blog/delete-blog.mjs +1 -1
- package/actions/delete-metafield/delete-metafield.mjs +1 -1
- package/actions/delete-page/delete-page.mjs +1 -1
- package/actions/get-articles/get-articles.mjs +1 -1
- package/actions/get-metafields/get-metafields.mjs +1 -1
- package/actions/get-metaobjects/get-metaobjects.mjs +1 -1
- package/actions/get-order/get-order.mjs +1 -1
- package/actions/get-pages/get-pages.mjs +1 -1
- package/actions/hold-fulfillment-order/hold-fulfillment-order.mjs +22 -0
- package/actions/refund-order/refund-order.mjs +1 -1
- package/actions/refund-return/refund-return.mjs +22 -0
- package/actions/search-custom-collection-by-name/search-custom-collection-by-name.mjs +1 -1
- package/actions/search-customers/search-customers.mjs +1 -1
- package/actions/search-fulfillment-orders/search-fulfillment-orders.mjs +1 -1
- package/actions/search-orders/search-orders.mjs +1 -1
- package/actions/search-product-variant/search-product-variant.mjs +1 -1
- package/actions/search-products/search-products.mjs +1 -1
- package/actions/send-order-invoice/send-order-invoice.mjs +1 -1
- package/actions/submit-cancellation-request/submit-cancellation-request.mjs +1 -1
- package/actions/update-article/update-article.mjs +1 -1
- package/actions/update-customer/update-customer.mjs +1 -1
- package/actions/update-fulfillment-tracking-info/update-fulfillment-tracking-info.mjs +1 -1
- package/actions/update-inventory-level/update-inventory-level.mjs +1 -1
- package/actions/update-metafield/update-metafield.mjs +1 -1
- package/actions/update-metaobject/update-metaobject.mjs +1 -1
- package/actions/update-page/update-page.mjs +1 -1
- package/actions/update-product/update-product.mjs +1 -1
- package/actions/update-product-variant/update-product-variant.mjs +1 -1
- package/common/mutations.mjs +109 -0
- package/package.json +2 -2
- package/shopify_developer_app.app.mjs +18 -0
- package/sources/cart-updated/cart-updated.mjs +1 -1
- package/sources/draft-order-updated/draft-order-updated.mjs +1 -1
- package/sources/inventory-level-updated/inventory-level-updated.mjs +1 -1
- package/sources/new-abandoned-cart/new-abandoned-cart.mjs +1 -1
- package/sources/new-article/new-article.mjs +1 -1
- package/sources/new-cancelled-order/new-cancelled-order.mjs +1 -1
- package/sources/new-cart-created/new-cart-created.mjs +1 -1
- package/sources/new-customer-created/new-customer-created.mjs +1 -1
- package/sources/new-draft-order/new-draft-order.mjs +1 -1
- package/sources/new-event-emitted/new-event-emitted.mjs +1 -1
- package/sources/new-fulfillment-event/new-fulfillment-event.mjs +1 -1
- package/sources/new-order-created/new-order-created.mjs +1 -1
- package/sources/new-order-fulfilled/new-order-fulfilled.mjs +1 -1
- package/sources/new-page/new-page.mjs +1 -1
- package/sources/new-paid-order/new-paid-order.mjs +1 -1
- package/sources/new-product-created/new-product-created.mjs +1 -1
- package/sources/new-product-updated/new-product-updated.mjs +1 -1
- package/sources/new-refund-created/new-refund-created.mjs +1 -1
- package/sources/new-updated-customer/new-updated-customer.mjs +1 -1
- package/sources/new-updated-order/new-updated-order.mjs +1 -1
- package/sources/product-added-to-custom-collection/product-added-to-custom-collection.mjs +1 -1
- package/sources/shop-update/shop-update.mjs +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import shopify from "../../shopify_developer_app.app.mjs";
|
|
2
|
+
import common from "@pipedream/shopify/actions/cancel-fulfillment/cancel-fulfillment.mjs";
|
|
3
|
+
|
|
4
|
+
import { adjustPropDefinitions } from "../../common/utils.mjs";
|
|
5
|
+
|
|
6
|
+
const {
|
|
7
|
+
name, description, type, ...others
|
|
8
|
+
} = common;
|
|
9
|
+
const props = adjustPropDefinitions(others.props, shopify);
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
...others,
|
|
13
|
+
key: "shopify_developer_app-cancel-fulfillment",
|
|
14
|
+
version: "0.0.1",
|
|
15
|
+
name,
|
|
16
|
+
description,
|
|
17
|
+
type,
|
|
18
|
+
props: {
|
|
19
|
+
shopify,
|
|
20
|
+
...props,
|
|
21
|
+
},
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import shopify from "../../shopify_developer_app.app.mjs";
|
|
2
|
+
import common from "@pipedream/shopify/actions/cancel-fulfillment-order/cancel-fulfillment-order.mjs";
|
|
3
|
+
|
|
4
|
+
import { adjustPropDefinitions } from "../../common/utils.mjs";
|
|
5
|
+
|
|
6
|
+
const {
|
|
7
|
+
name, description, type, ...others
|
|
8
|
+
} = common;
|
|
9
|
+
const props = adjustPropDefinitions(others.props, shopify);
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
...others,
|
|
13
|
+
key: "shopify_developer_app-cancel-fulfillment-order",
|
|
14
|
+
version: "0.0.1",
|
|
15
|
+
name,
|
|
16
|
+
description,
|
|
17
|
+
type,
|
|
18
|
+
props: {
|
|
19
|
+
shopify,
|
|
20
|
+
...props,
|
|
21
|
+
},
|
|
22
|
+
};
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "shopify_developer_app-create-customer",
|
|
5
5
|
name: "Create Customer",
|
|
6
6
|
description: "Create a new customer. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/customercreate)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.16",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: false,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "shopify_developer_app-create-fulfillment",
|
|
5
5
|
name: "Create Fulfillment",
|
|
6
6
|
description: "Create a fulfillment. [See the documentation](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/fulfillmentcreate)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.8",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: false,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import shopify from "../../shopify_developer_app.app.mjs";
|
|
2
|
+
import common from "@pipedream/shopify/actions/create-gift-card/create-gift-card.mjs";
|
|
3
|
+
|
|
4
|
+
import { adjustPropDefinitions } from "../../common/utils.mjs";
|
|
5
|
+
|
|
6
|
+
const {
|
|
7
|
+
name, description, type, ...others
|
|
8
|
+
} = common;
|
|
9
|
+
const props = adjustPropDefinitions(others.props, shopify);
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
...others,
|
|
13
|
+
key: "shopify_developer_app-create-gift-card",
|
|
14
|
+
version: "0.0.1",
|
|
15
|
+
name,
|
|
16
|
+
description,
|
|
17
|
+
type,
|
|
18
|
+
props: {
|
|
19
|
+
shopify,
|
|
20
|
+
...props,
|
|
21
|
+
},
|
|
22
|
+
};
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "shopify_developer_app-create-order",
|
|
6
6
|
name: "Create Order",
|
|
7
7
|
description: "Creates a new order. For full order object details [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/ordercreate)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.17",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
11
11
|
openWorldHint: true,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import shopify from "../../shopify_developer_app.app.mjs";
|
|
2
|
+
import common from "@pipedream/shopify/actions/create-return/create-return.mjs";
|
|
3
|
+
|
|
4
|
+
import { adjustPropDefinitions } from "../../common/utils.mjs";
|
|
5
|
+
|
|
6
|
+
const {
|
|
7
|
+
name, description, type, ...others
|
|
8
|
+
} = common;
|
|
9
|
+
const props = adjustPropDefinitions(others.props, shopify);
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
...others,
|
|
13
|
+
key: "shopify_developer_app-create-return",
|
|
14
|
+
version: "0.0.1",
|
|
15
|
+
name,
|
|
16
|
+
description,
|
|
17
|
+
type,
|
|
18
|
+
props: {
|
|
19
|
+
shopify,
|
|
20
|
+
...props,
|
|
21
|
+
},
|
|
22
|
+
};
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-get-order",
|
|
7
7
|
name: "Get Order",
|
|
8
8
|
description: "Retrieve an order by specifying the order ID. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/queries/order)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.16",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: false,
|
|
12
12
|
openWorldHint: true,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import shopify from "../../shopify_developer_app.app.mjs";
|
|
2
|
+
import common from "@pipedream/shopify/actions/hold-fulfillment-order/hold-fulfillment-order.mjs";
|
|
3
|
+
|
|
4
|
+
import { adjustPropDefinitions } from "../../common/utils.mjs";
|
|
5
|
+
|
|
6
|
+
const {
|
|
7
|
+
name, description, type, ...others
|
|
8
|
+
} = common;
|
|
9
|
+
const props = adjustPropDefinitions(others.props, shopify);
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
...others,
|
|
13
|
+
key: "shopify_developer_app-hold-fulfillment-order",
|
|
14
|
+
version: "0.0.1",
|
|
15
|
+
name,
|
|
16
|
+
description,
|
|
17
|
+
type,
|
|
18
|
+
props: {
|
|
19
|
+
shopify,
|
|
20
|
+
...props,
|
|
21
|
+
},
|
|
22
|
+
};
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "shopify_developer_app-refund-order",
|
|
6
6
|
name: "Refund Order",
|
|
7
7
|
description: "Refund an order. [See the documentation](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/refundcreate)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.9",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
11
11
|
openWorldHint: true,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import shopify from "../../shopify_developer_app.app.mjs";
|
|
2
|
+
import common from "@pipedream/shopify/actions/refund-return/refund-return.mjs";
|
|
3
|
+
|
|
4
|
+
import { adjustPropDefinitions } from "../../common/utils.mjs";
|
|
5
|
+
|
|
6
|
+
const {
|
|
7
|
+
name, description, type, ...others
|
|
8
|
+
} = common;
|
|
9
|
+
const props = adjustPropDefinitions(others.props, shopify);
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
...others,
|
|
13
|
+
key: "shopify_developer_app-refund-return",
|
|
14
|
+
version: "0.0.1",
|
|
15
|
+
name,
|
|
16
|
+
description,
|
|
17
|
+
type,
|
|
18
|
+
props: {
|
|
19
|
+
shopify,
|
|
20
|
+
...props,
|
|
21
|
+
},
|
|
22
|
+
};
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "shopify_developer_app-search-customers",
|
|
5
5
|
name: "Search for Customers",
|
|
6
6
|
description: "Search for a customer or a list of customers. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/queries/customers)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.16",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: false,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "shopify_developer_app-search-fulfillment-orders",
|
|
5
5
|
name: "Search for Fulfillment Orders",
|
|
6
6
|
description: "Search for a fulfillment order or a list of fulfillment orders. [See the documentation](https://shopify.dev/docs/api/admin-graphql/unstable/queries/fulfillmentorders)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.8",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: false,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "shopify_developer_app-search-orders",
|
|
6
6
|
name: "Search for Orders",
|
|
7
7
|
description: "Search for an order or a list of orders. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/queries/orders)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.11",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
11
11
|
openWorldHint: true,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "shopify_developer_app-send-order-invoice",
|
|
6
6
|
name: "Send Order Invoice",
|
|
7
7
|
description: "Sends an invoice for an order. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/OrderInvoiceSend)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.4",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
11
11
|
openWorldHint: true,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-update-customer",
|
|
7
7
|
name: "Update Customer",
|
|
8
8
|
description: "Update a existing customer. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/customerupdate)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.17",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: true,
|
|
12
12
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "shopify_developer_app-update-fulfillment-tracking-info",
|
|
5
5
|
name: "Update Fulfillment Tracking Info",
|
|
6
6
|
description: "Update the tracking info for a fulfillment. [See the documentation](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/fulfillmenttrackinginfoupdate)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.8",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: true,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-update-product",
|
|
7
7
|
name: "Update Product",
|
|
8
8
|
description: "Update an existing product. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productupdate)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.17",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: true,
|
|
12
12
|
openWorldHint: true,
|
package/common/mutations.mjs
CHANGED
|
@@ -259,6 +259,109 @@ const FULFILLMENT_ORDER_SUBMIT_CANCELLATION_REQUEST = `
|
|
|
259
259
|
}
|
|
260
260
|
`;
|
|
261
261
|
|
|
262
|
+
const GIFT_CARD_CREATE = `
|
|
263
|
+
mutation giftCardCreate($input: GiftCardCreateInput!) {
|
|
264
|
+
giftCardCreate(input: $input) {
|
|
265
|
+
giftCard {
|
|
266
|
+
id
|
|
267
|
+
maskedCode
|
|
268
|
+
lastCharacters
|
|
269
|
+
expiresOn
|
|
270
|
+
note
|
|
271
|
+
}
|
|
272
|
+
giftCardCode
|
|
273
|
+
userErrors {
|
|
274
|
+
field
|
|
275
|
+
message
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
`;
|
|
280
|
+
|
|
281
|
+
const RETURN_CREATE = `
|
|
282
|
+
mutation returnCreate($returnInput: ReturnInput!) {
|
|
283
|
+
returnCreate(returnInput: $returnInput) {
|
|
284
|
+
return {
|
|
285
|
+
id
|
|
286
|
+
status
|
|
287
|
+
order {
|
|
288
|
+
id
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
userErrors {
|
|
292
|
+
field
|
|
293
|
+
message
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
`;
|
|
298
|
+
|
|
299
|
+
const RETURN_REFUND = `
|
|
300
|
+
mutation returnRefund($returnRefundInput: ReturnRefundInput!) {
|
|
301
|
+
returnRefund(returnRefundInput: $returnRefundInput) {
|
|
302
|
+
refund {
|
|
303
|
+
id
|
|
304
|
+
order {
|
|
305
|
+
id
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
userErrors {
|
|
309
|
+
field
|
|
310
|
+
message
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
`;
|
|
315
|
+
|
|
316
|
+
const FULFILLMENT_CANCEL = `
|
|
317
|
+
mutation fulfillmentCancel($id: ID!) {
|
|
318
|
+
fulfillmentCancel(id: $id) {
|
|
319
|
+
fulfillment {
|
|
320
|
+
id
|
|
321
|
+
status
|
|
322
|
+
}
|
|
323
|
+
userErrors {
|
|
324
|
+
field
|
|
325
|
+
message
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
`;
|
|
330
|
+
|
|
331
|
+
const FULFILLMENT_ORDER_CANCEL = `
|
|
332
|
+
mutation fulfillmentOrderCancel($id: ID!) {
|
|
333
|
+
fulfillmentOrderCancel(id: $id) {
|
|
334
|
+
fulfillmentOrder {
|
|
335
|
+
id
|
|
336
|
+
status
|
|
337
|
+
}
|
|
338
|
+
replacementFulfillmentOrder {
|
|
339
|
+
id
|
|
340
|
+
status
|
|
341
|
+
}
|
|
342
|
+
userErrors {
|
|
343
|
+
field
|
|
344
|
+
message
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
`;
|
|
349
|
+
|
|
350
|
+
const FULFILLMENT_ORDER_HOLD = `
|
|
351
|
+
mutation fulfillmentOrderHold($fulfillmentHold: FulfillmentOrderHoldInput!, $id: ID!) {
|
|
352
|
+
fulfillmentOrderHold(fulfillmentHold: $fulfillmentHold, id: $id) {
|
|
353
|
+
fulfillmentOrder {
|
|
354
|
+
id
|
|
355
|
+
status
|
|
356
|
+
}
|
|
357
|
+
userErrors {
|
|
358
|
+
field
|
|
359
|
+
message
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
`;
|
|
364
|
+
|
|
262
365
|
export default {
|
|
263
366
|
CREATE_ORDER,
|
|
264
367
|
CREATE_CUSTOMER,
|
|
@@ -270,4 +373,10 @@ export default {
|
|
|
270
373
|
ORDER_INVOICE_SEND,
|
|
271
374
|
ORDER_CANCEL,
|
|
272
375
|
FULFILLMENT_ORDER_SUBMIT_CANCELLATION_REQUEST,
|
|
376
|
+
GIFT_CARD_CREATE,
|
|
377
|
+
RETURN_CREATE,
|
|
378
|
+
RETURN_REFUND,
|
|
379
|
+
FULFILLMENT_CANCEL,
|
|
380
|
+
FULFILLMENT_ORDER_CANCEL,
|
|
381
|
+
FULFILLMENT_ORDER_HOLD,
|
|
273
382
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipedream/shopify_developer_app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Pipedream Shopify (Developer App) Components",
|
|
5
5
|
"main": "shopify_developer_app.app.mjs",
|
|
6
6
|
"keywords": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@pipedream/platform": "^3.1.1",
|
|
17
|
-
"@pipedream/shopify": "^0.
|
|
17
|
+
"@pipedream/shopify": "^0.11.1",
|
|
18
18
|
"shopify-api-node": "^3.14.2"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -226,5 +226,23 @@ export default {
|
|
|
226
226
|
variables,
|
|
227
227
|
);
|
|
228
228
|
},
|
|
229
|
+
createGiftCard(variables) {
|
|
230
|
+
return this._makeGraphQlRequest(mutations.GIFT_CARD_CREATE, variables);
|
|
231
|
+
},
|
|
232
|
+
createReturn(variables) {
|
|
233
|
+
return this._makeGraphQlRequest(mutations.RETURN_CREATE, variables);
|
|
234
|
+
},
|
|
235
|
+
refundReturn(variables) {
|
|
236
|
+
return this._makeGraphQlRequest(mutations.RETURN_REFUND, variables);
|
|
237
|
+
},
|
|
238
|
+
cancelFulfillment(variables) {
|
|
239
|
+
return this._makeGraphQlRequest(mutations.FULFILLMENT_CANCEL, variables);
|
|
240
|
+
},
|
|
241
|
+
cancelFulfillmentOrder(variables) {
|
|
242
|
+
return this._makeGraphQlRequest(mutations.FULFILLMENT_ORDER_CANCEL, variables);
|
|
243
|
+
},
|
|
244
|
+
holdFulfillmentOrder(variables) {
|
|
245
|
+
return this._makeGraphQlRequest(mutations.FULFILLMENT_ORDER_HOLD, variables);
|
|
246
|
+
},
|
|
229
247
|
},
|
|
230
248
|
};
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "shopify_developer_app-inventory-level-updated",
|
|
6
6
|
name: "Inventory Level Updated (Instant)",
|
|
7
7
|
description: "Emit new event when an inventory level is updated.",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.8",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique",
|
|
11
11
|
methods: {
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "shopify_developer_app-new-product-updated",
|
|
6
6
|
name: "New Product Updated (Instant)",
|
|
7
7
|
description: "Emit new event for each product updated in a store.",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.18",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique",
|
|
11
11
|
props: {
|