@pipedream/shopify_developer_app 0.8.0 → 0.8.1

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.
Files changed (54) hide show
  1. package/actions/add-product-to-custom-collection/add-product-to-custom-collection.mjs +1 -1
  2. package/actions/add-tags/add-tags.mjs +1 -1
  3. package/actions/create-article/create-article.mjs +1 -1
  4. package/actions/create-blog/create-blog.mjs +1 -1
  5. package/actions/create-custom-collection/create-custom-collection.mjs +1 -1
  6. package/actions/create-customer/create-customer.mjs +1 -1
  7. package/actions/create-metafield/create-metafield.mjs +1 -1
  8. package/actions/create-metaobject/create-metaobject.mjs +1 -1
  9. package/actions/create-order/create-order.mjs +1 -1
  10. package/actions/create-page/create-page.mjs +1 -1
  11. package/actions/create-product/create-product.mjs +1 -1
  12. package/actions/create-product-variant/create-product-variant.mjs +1 -1
  13. package/actions/create-smart-collection/create-smart-collection.mjs +1 -1
  14. package/actions/delete-article/delete-article.mjs +1 -1
  15. package/actions/delete-blog/delete-blog.mjs +1 -1
  16. package/actions/delete-metafield/delete-metafield.mjs +1 -1
  17. package/actions/delete-page/delete-page.mjs +1 -1
  18. package/actions/get-articles/get-articles.mjs +1 -1
  19. package/actions/get-metafields/get-metafields.mjs +1 -1
  20. package/actions/get-metaobjects/get-metaobjects.mjs +1 -1
  21. package/actions/get-order/get-order.mjs +1 -1
  22. package/actions/get-pages/get-pages.mjs +1 -1
  23. package/actions/search-custom-collection-by-name/search-custom-collection-by-name.mjs +1 -1
  24. package/actions/search-customers/search-customers.mjs +1 -1
  25. package/actions/search-orders/search-orders.mjs +1 -1
  26. package/actions/search-product-variant/search-product-variant.mjs +1 -1
  27. package/actions/search-products/search-products.mjs +1 -1
  28. package/actions/update-article/update-article.mjs +1 -1
  29. package/actions/update-customer/update-customer.mjs +1 -1
  30. package/actions/update-inventory-level/update-inventory-level.mjs +1 -1
  31. package/actions/update-metafield/update-metafield.mjs +1 -1
  32. package/actions/update-metaobject/update-metaobject.mjs +1 -1
  33. package/actions/update-page/update-page.mjs +1 -1
  34. package/actions/update-product/update-product.mjs +1 -1
  35. package/actions/update-product-variant/update-product-variant.mjs +1 -1
  36. package/common/queries.mjs +557 -32
  37. package/package.json +1 -1
  38. package/sources/new-abandoned-cart/new-abandoned-cart.mjs +1 -1
  39. package/sources/new-article/new-article.mjs +1 -1
  40. package/sources/new-cancelled-order/new-cancelled-order.mjs +1 -1
  41. package/sources/new-customer-created/new-customer-created.mjs +1 -1
  42. package/sources/new-draft-order/new-draft-order.mjs +1 -1
  43. package/sources/new-event-emitted/new-event-emitted.mjs +1 -1
  44. package/sources/new-fulfillment-event/new-fulfillment-event.mjs +1 -1
  45. package/sources/new-order-created/new-order-created.mjs +1 -1
  46. package/sources/new-order-fulfilled/new-order-fulfilled.mjs +1 -1
  47. package/sources/new-page/new-page.mjs +1 -1
  48. package/sources/new-paid-order/new-paid-order.mjs +1 -1
  49. package/sources/new-product-created/new-product-created.mjs +1 -1
  50. package/sources/new-product-updated/new-product-updated.mjs +1 -1
  51. package/sources/new-refund-created/new-refund-created.mjs +1 -1
  52. package/sources/new-updated-customer/new-updated-customer.mjs +1 -1
  53. package/sources/new-updated-order/new-updated-order.mjs +1 -1
  54. package/sources/product-added-to-custom-collection/product-added-to-custom-collection.mjs +1 -1
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-add-product-to-custom-collection",
14
- version: "0.0.7",
14
+ version: "0.0.8",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-add-tags",
14
- version: "0.0.7",
14
+ version: "0.0.8",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-create-article",
14
- version: "0.0.9",
14
+ version: "0.0.10",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-create-blog",
14
- version: "0.0.9",
14
+ version: "0.0.10",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-create-custom-collection",
14
- version: "0.0.7",
14
+ version: "0.0.8",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -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",
7
+ version: "0.0.8",
8
8
  type: "action",
9
9
  props: {
10
10
  shopify,
@@ -10,7 +10,7 @@ const {
10
10
  export default {
11
11
  ...others,
12
12
  key: "shopify_developer_app-create-metafield",
13
- version: "0.0.8",
13
+ version: "0.0.9",
14
14
  name,
15
15
  description,
16
16
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-create-metaobject",
14
- version: "0.0.9",
14
+ version: "0.0.10",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -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.7",
8
+ version: "0.0.8",
9
9
  type: "action",
10
10
  props: {
11
11
  shopify,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-create-page",
14
- version: "0.0.9",
14
+ version: "0.0.10",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-create-product",
14
- version: "0.0.7",
14
+ version: "0.0.8",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-create-product-variant",
14
- version: "0.0.8",
14
+ version: "0.0.9",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-create-smart-collection",
14
- version: "0.0.7",
14
+ version: "0.0.8",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-delete-article",
14
- version: "0.0.9",
14
+ version: "0.0.10",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-delete-blog",
14
- version: "0.0.9",
14
+ version: "0.0.10",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -9,7 +9,7 @@ const {
9
9
  export default {
10
10
  ...others,
11
11
  key: "shopify_developer_app-delete-metafield",
12
- version: "0.0.8",
12
+ version: "0.0.9",
13
13
  name,
14
14
  description,
15
15
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-delete-page",
14
- version: "0.0.9",
14
+ version: "0.0.10",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-get-articles",
14
- version: "0.0.9",
14
+ version: "0.0.10",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -8,7 +8,7 @@ const {
8
8
 
9
9
  export default {
10
10
  key: "shopify_developer_app-get-metafields",
11
- version: "0.0.8",
11
+ version: "0.0.9",
12
12
  name,
13
13
  description,
14
14
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-get-metaobjects",
14
- version: "0.0.8",
14
+ version: "0.0.9",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "shopify_developer_app-get-order",
6
6
  name: "Get Order",
7
7
  description: "Retrieve an order by specifying the order ID. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/queries/order)",
8
- version: "0.0.5",
8
+ version: "0.0.6",
9
9
  type: "action",
10
10
  props: {
11
11
  shopify,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-get-pages",
14
- version: "0.0.9",
14
+ version: "0.0.10",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-search-custom-collection-by-name",
14
- version: "0.0.7",
14
+ version: "0.0.8",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -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",
7
+ version: "0.0.8",
8
8
  type: "action",
9
9
  props: {
10
10
  shopify,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "shopify_developer_app-search-orders",
5
5
  name: "Search for Orders",
6
6
  description: "Search for an order or a list of orders. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/queries/orders)",
7
- version: "0.0.1",
7
+ version: "0.0.2",
8
8
  type: "action",
9
9
  props: {
10
10
  shopify,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-search-product-variant",
14
- version: "0.0.7",
14
+ version: "0.0.8",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-search-products",
14
- version: "0.0.7",
14
+ version: "0.0.8",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-update-article",
14
- version: "0.0.9",
14
+ version: "0.0.10",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -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.8",
9
+ version: "0.0.9",
10
10
  type: "action",
11
11
  props: {
12
12
  shopify,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-update-inventory-level",
14
- version: "0.0.7",
14
+ version: "0.0.8",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -9,7 +9,7 @@ const {
9
9
  export default {
10
10
  ...others,
11
11
  key: "shopify_developer_app-update-metafield",
12
- version: "0.0.8",
12
+ version: "0.0.9",
13
13
  name,
14
14
  description,
15
15
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-update-metaobject",
14
- version: "0.0.10",
14
+ version: "0.0.11",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-update-page",
14
- version: "0.0.9",
14
+ version: "0.0.10",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -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.8",
9
+ version: "0.0.9",
10
10
  type: "action",
11
11
  props: {
12
12
  shopify,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-update-product-variant",
14
- version: "0.0.9",
14
+ version: "0.0.10",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -1,45 +1,369 @@
1
1
  const GET_ORDER = `
2
- query SuggestedRefund($id: ID!, $refundLineItems: [RefundLineItemInput!], $first: Int, $after: String) {
2
+ query GetOrder($id: ID!, $first: Int, $after: String) {
3
3
  order(id: $id) {
4
4
  id
5
- metafields (first: $first, after: $after) {
6
- nodes {
7
- id
8
- key
9
- namespace
10
- value
11
- type
5
+ name
6
+ createdAt
7
+ updatedAt
8
+ processedAt
9
+ cancelledAt
10
+ cancelReason
11
+ closedAt
12
+ confirmed
13
+ note
14
+ tags
15
+ test
16
+ currencyCode
17
+ displayFinancialStatus
18
+ displayFulfillmentStatus
19
+ closed
20
+ requiresShipping
21
+ riskLevel
22
+ customerAcceptsMarketing
23
+ paymentGatewayNames
24
+
25
+ totalPriceSet {
26
+ shopMoney {
27
+ amount
28
+ currencyCode
12
29
  }
13
- pageInfo {
14
- endCursor
30
+ presentmentMoney {
31
+ amount
32
+ currencyCode
33
+ }
34
+ }
35
+
36
+ subtotalPriceSet {
37
+ shopMoney {
38
+ amount
39
+ currencyCode
40
+ }
41
+ presentmentMoney {
42
+ amount
43
+ currencyCode
44
+ }
45
+ }
46
+
47
+ currentTotalPriceSet {
48
+ shopMoney {
49
+ amount
50
+ currencyCode
51
+ }
52
+ presentmentMoney {
53
+ amount
54
+ currencyCode
15
55
  }
16
56
  }
57
+
58
+ totalDiscountsSet {
59
+ shopMoney {
60
+ amount
61
+ currencyCode
62
+ }
63
+ presentmentMoney {
64
+ amount
65
+ currencyCode
66
+ }
67
+ }
68
+
69
+ totalShippingPriceSet {
70
+ shopMoney {
71
+ amount
72
+ currencyCode
73
+ }
74
+ presentmentMoney {
75
+ amount
76
+ currencyCode
77
+ }
78
+ }
79
+
80
+ totalTaxSet {
81
+ shopMoney {
82
+ amount
83
+ currencyCode
84
+ }
85
+ presentmentMoney {
86
+ amount
87
+ currencyCode
88
+ }
89
+ }
90
+
17
91
  customer {
18
92
  id
19
93
  displayName
94
+ firstName
95
+ lastName
20
96
  email
21
97
  phone
22
- addresses (first: $first) {
98
+ note
99
+ createdAt
100
+ updatedAt
101
+ verifiedEmail
102
+ tags
103
+ defaultAddress {
104
+ id
23
105
  address1
24
106
  address2
25
107
  city
108
+ province
26
109
  zip
27
110
  country
111
+ countryCodeV2
28
112
  company
113
+ firstName
114
+ lastName
115
+ phone
29
116
  }
30
117
  }
31
- totalPriceSet {
32
- shopMoney {
33
- amount
34
- currencyCode
118
+
119
+ billingAddress {
120
+ address1
121
+ address2
122
+ city
123
+ province
124
+ zip
125
+ country
126
+ countryCodeV2
127
+ company
128
+ firstName
129
+ lastName
130
+ phone
131
+ }
132
+
133
+ shippingAddress {
134
+ address1
135
+ address2
136
+ city
137
+ province
138
+ zip
139
+ country
140
+ countryCodeV2
141
+ company
142
+ firstName
143
+ lastName
144
+ phone
145
+ }
146
+
147
+ lineItems(first: 250) {
148
+ edges {
149
+ node {
150
+ id
151
+ title
152
+ quantity
153
+ variantTitle
154
+ vendor
155
+ fulfillmentStatus
156
+ fulfillableQuantity
157
+ refundableQuantity
158
+ requiresShipping
159
+ restockable
160
+
161
+ originalUnitPriceSet {
162
+ shopMoney {
163
+ amount
164
+ currencyCode
165
+ }
166
+ presentmentMoney {
167
+ amount
168
+ currencyCode
169
+ }
170
+ }
171
+
172
+ discountedUnitPriceSet {
173
+ shopMoney {
174
+ amount
175
+ currencyCode
176
+ }
177
+ presentmentMoney {
178
+ amount
179
+ currencyCode
180
+ }
181
+ }
182
+
183
+ totalDiscountSet {
184
+ shopMoney {
185
+ amount
186
+ currencyCode
187
+ }
188
+ presentmentMoney {
189
+ amount
190
+ currencyCode
191
+ }
192
+ }
193
+
194
+ variant {
195
+ id
196
+ title
197
+ sku
198
+ barcode
199
+ inventoryItem {
200
+ id
201
+ measurement {
202
+ weight {
203
+ value
204
+ unit
205
+ }
206
+ }
207
+ }
208
+ inventoryQuantity
209
+ price
210
+ compareAtPrice
211
+ availableForSale
212
+ image {
213
+ url
214
+ altText
215
+ }
216
+ }
217
+
218
+ product {
219
+ id
220
+ title
221
+ handle
222
+ vendor
223
+ productType
224
+ tags
225
+ status
226
+ createdAt
227
+ updatedAt
228
+ images(first: 1) {
229
+ edges {
230
+ node {
231
+ url
232
+ altText
233
+ }
234
+ }
235
+ }
236
+ }
237
+
238
+ taxLines {
239
+ title
240
+ rate
241
+ ratePercentage
242
+ priceSet {
243
+ shopMoney {
244
+ amount
245
+ currencyCode
246
+ }
247
+ presentmentMoney {
248
+ amount
249
+ currencyCode
250
+ }
251
+ }
252
+ }
253
+
254
+ discountAllocations {
255
+ allocatedAmountSet {
256
+ shopMoney {
257
+ amount
258
+ currencyCode
259
+ }
260
+ presentmentMoney {
261
+ amount
262
+ currencyCode
263
+ }
264
+ }
265
+ discountApplication {
266
+ ... on DiscountCodeApplication {
267
+ code
268
+ }
269
+ ... on AutomaticDiscountApplication {
270
+ title
271
+ }
272
+ ... on ManualDiscountApplication {
273
+ title
274
+ description
275
+ }
276
+ }
277
+ }
278
+ }
35
279
  }
36
- presentmentMoney {
37
- amount
38
- currencyCode
280
+ }
281
+
282
+ shippingLine {
283
+ title
284
+ code
285
+ source
286
+ carrierIdentifier
287
+ requestedFulfillmentService {
288
+ id
289
+ serviceName
290
+ handle
291
+ }
292
+ deliveryCategory
293
+ originalPriceSet {
294
+ shopMoney {
295
+ amount
296
+ currencyCode
297
+ }
298
+ presentmentMoney {
299
+ amount
300
+ currencyCode
301
+ }
302
+ }
303
+ discountedPriceSet {
304
+ shopMoney {
305
+ amount
306
+ currencyCode
307
+ }
308
+ presentmentMoney {
309
+ amount
310
+ currencyCode
311
+ }
312
+ }
313
+ taxLines {
314
+ title
315
+ rate
316
+ ratePercentage
317
+ priceSet {
318
+ shopMoney {
319
+ amount
320
+ currencyCode
321
+ }
322
+ presentmentMoney {
323
+ amount
324
+ currencyCode
325
+ }
326
+ }
39
327
  }
40
328
  }
41
- suggestedRefund(refundLineItems: $refundLineItems) {
42
- subtotalSet {
329
+
330
+ fulfillments {
331
+ id
332
+ status
333
+ displayStatus
334
+ createdAt
335
+ updatedAt
336
+ estimatedDeliveryAt
337
+ inTransitAt
338
+ deliveredAt
339
+ service {
340
+ id
341
+ serviceName
342
+ handle
343
+ }
344
+ fulfillmentLineItems(first: 250) {
345
+ edges {
346
+ node {
347
+ id
348
+ quantity
349
+ lineItem {
350
+ id
351
+ title
352
+ }
353
+ }
354
+ }
355
+ }
356
+ }
357
+
358
+ transactions(first: 250) {
359
+ id
360
+ status
361
+ kind
362
+ gateway
363
+ test
364
+ createdAt
365
+ processedAt
366
+ amountSet {
43
367
  shopMoney {
44
368
  amount
45
369
  currencyCode
@@ -49,11 +373,103 @@ const GET_ORDER = `
49
373
  currencyCode
50
374
  }
51
375
  }
52
- refundLineItems {
53
- lineItem {
376
+ fees {
377
+ amount {
378
+ amount
379
+ currencyCode
380
+ }
381
+ flatFee {
382
+ amount
383
+ currencyCode
384
+ }
385
+ rate
386
+ rateName
387
+ type
388
+ }
389
+ }
390
+
391
+ refunds {
392
+ id
393
+ createdAt
394
+ note
395
+ totalRefundedSet {
396
+ shopMoney {
397
+ amount
398
+ currencyCode
399
+ }
400
+ presentmentMoney {
401
+ amount
402
+ currencyCode
403
+ }
404
+ }
405
+ refundLineItems(first: 250) {
406
+ edges {
407
+ node {
408
+ id
409
+ quantity
410
+ restockType
411
+ location {
412
+ id
413
+ name
414
+ }
415
+ lineItem {
416
+ id
417
+ title
418
+ quantity
419
+ }
420
+ subtotalSet {
421
+ shopMoney {
422
+ amount
423
+ currencyCode
424
+ }
425
+ presentmentMoney {
426
+ amount
427
+ currencyCode
428
+ }
429
+ }
430
+ totalTaxSet {
431
+ shopMoney {
432
+ amount
433
+ currencyCode
434
+ }
435
+ presentmentMoney {
436
+ amount
437
+ currencyCode
438
+ }
439
+ }
440
+ }
441
+ }
442
+ }
443
+ transactions {
444
+ nodes {
54
445
  id
446
+ status
447
+ kind
448
+ gateway
449
+ amountSet {
450
+ shopMoney {
451
+ amount
452
+ currencyCode
453
+ }
454
+ presentmentMoney {
455
+ amount
456
+ currencyCode
457
+ }
458
+ }
55
459
  }
56
- quantity
460
+ }
461
+ }
462
+
463
+ metafields (first: $first, after: $after) {
464
+ nodes {
465
+ id
466
+ key
467
+ namespace
468
+ value
469
+ type
470
+ }
471
+ pageInfo {
472
+ endCursor
57
473
  }
58
474
  }
59
475
  }
@@ -132,31 +548,139 @@ const LIST_ORDERS = `
132
548
  orders(first: $first, after: $after, reverse: $reverse, query: $query) {
133
549
  nodes {
134
550
  id
551
+ name
552
+ createdAt
135
553
  updatedAt
554
+ processedAt
555
+ currencyCode
556
+ displayFinancialStatus
557
+ displayFulfillmentStatus
558
+ closed
559
+ confirmed
560
+ test
561
+ note
562
+ tags
563
+ totalPriceSet {
564
+ shopMoney {
565
+ amount
566
+ currencyCode
567
+ }
568
+ presentmentMoney {
569
+ amount
570
+ currencyCode
571
+ }
572
+ }
573
+ subtotalPriceSet {
574
+ shopMoney {
575
+ amount
576
+ currencyCode
577
+ }
578
+ presentmentMoney {
579
+ amount
580
+ currencyCode
581
+ }
582
+ }
583
+ totalTaxSet {
584
+ shopMoney {
585
+ amount
586
+ currencyCode
587
+ }
588
+ presentmentMoney {
589
+ amount
590
+ currencyCode
591
+ }
592
+ }
593
+ totalShippingPriceSet {
594
+ shopMoney {
595
+ amount
596
+ currencyCode
597
+ }
598
+ presentmentMoney {
599
+ amount
600
+ currencyCode
601
+ }
602
+ }
136
603
  customer {
137
604
  id
138
605
  displayName
606
+ firstName
607
+ lastName
139
608
  email
140
609
  phone
141
- addresses (first: $first) {
610
+ defaultAddress {
611
+ id
142
612
  address1
143
613
  address2
144
614
  city
615
+ province
145
616
  zip
146
617
  country
147
618
  company
148
619
  }
149
620
  }
150
- totalPriceSet {
151
- shopMoney {
152
- amount
153
- currencyCode
154
- }
155
- presentmentMoney {
156
- amount
157
- currencyCode
621
+ shippingAddress {
622
+ address1
623
+ address2
624
+ city
625
+ province
626
+ zip
627
+ country
628
+ company
629
+ firstName
630
+ lastName
631
+ }
632
+ lineItems(first: 50) {
633
+ edges {
634
+ node {
635
+ id
636
+ title
637
+ quantity
638
+ variantTitle
639
+ vendor
640
+ fulfillmentStatus
641
+ originalUnitPriceSet {
642
+ shopMoney {
643
+ amount
644
+ currencyCode
645
+ }
646
+ presentmentMoney {
647
+ amount
648
+ currencyCode
649
+ }
650
+ }
651
+ variant {
652
+ id
653
+ title
654
+ sku
655
+ price
656
+ image {
657
+ url
658
+ altText
659
+ }
660
+ }
661
+ product {
662
+ id
663
+ title
664
+ handle
665
+ vendor
666
+ productType
667
+ images(first: 1) {
668
+ edges {
669
+ node {
670
+ url
671
+ altText
672
+ }
673
+ }
674
+ }
675
+ }
676
+ }
158
677
  }
159
678
  }
679
+ fulfillments {
680
+ id
681
+ status
682
+ displayStatus
683
+ }
160
684
  metafields (first: $first) {
161
685
  nodes {
162
686
  id
@@ -169,6 +693,7 @@ const LIST_ORDERS = `
169
693
  }
170
694
  pageInfo {
171
695
  endCursor
696
+ hasNextPage
172
697
  }
173
698
  }
174
699
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/shopify_developer_app",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Pipedream Shopify (Developer App) Components",
5
5
  "main": "shopify_developer_app.app.mjs",
6
6
  "keywords": [
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-new-abandoned-cart",
14
- version: "0.0.8",
14
+ version: "0.0.9",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-new-article",
14
- version: "0.0.7",
14
+ version: "0.0.8",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -6,7 +6,7 @@ export default {
6
6
  name: "New Cancelled Order (Instant)",
7
7
  type: "source",
8
8
  description: "Emit new event each time a new order is cancelled.",
9
- version: "0.0.11",
9
+ version: "0.0.12",
10
10
  dedupe: "unique",
11
11
  methods: {
12
12
  ...common.methods,
@@ -6,7 +6,7 @@ export default {
6
6
  name: "New Customer Created (Instant)",
7
7
  type: "source",
8
8
  description: "Emit new event for each new customer added to a store.",
9
- version: "0.0.11",
9
+ version: "0.0.12",
10
10
  dedupe: "unique",
11
11
  methods: {
12
12
  ...common.methods,
@@ -6,7 +6,7 @@ export default {
6
6
  name: "New Draft Order (Instant)",
7
7
  type: "source",
8
8
  description: "Emit new event for each new draft order submitted to a store.",
9
- version: "0.0.11",
9
+ version: "0.0.12",
10
10
  dedupe: "unique",
11
11
  methods: {
12
12
  ...common.methods,
@@ -7,7 +7,7 @@ export default {
7
7
  name: "New Event Emitted (Instant)",
8
8
  type: "source",
9
9
  description: "Emit new event for each new Shopify event.",
10
- version: "0.0.12",
10
+ version: "0.0.13",
11
11
  dedupe: "unique",
12
12
  props: {
13
13
  ...common.props,
@@ -6,7 +6,7 @@ export default {
6
6
  name: "New Fulfillment Event (Instant)",
7
7
  type: "source",
8
8
  description: "Emit new event for each new fulfillment event for a store.",
9
- version: "0.0.9",
9
+ version: "0.0.10",
10
10
  dedupe: "unique",
11
11
  methods: {
12
12
  ...common.methods,
@@ -6,7 +6,7 @@ export default {
6
6
  name: "New Order Created (Instant)",
7
7
  type: "source",
8
8
  description: "Emit new event for each new order submitted to a store.",
9
- version: "0.0.11",
9
+ version: "0.0.12",
10
10
  dedupe: "unique",
11
11
  methods: {
12
12
  ...common.methods,
@@ -6,7 +6,7 @@ export default {
6
6
  name: "New Order Fulfilled (Instant)",
7
7
  type: "source",
8
8
  description: "Emit new event whenever an order is fulfilled.",
9
- version: "0.0.8",
9
+ version: "0.0.9",
10
10
  dedupe: "unique",
11
11
  methods: {
12
12
  ...common.methods,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-new-page",
14
- version: "0.0.7",
14
+ version: "0.0.8",
15
15
  name,
16
16
  description,
17
17
  type,
@@ -6,7 +6,7 @@ export default {
6
6
  name: "New Paid Order (Instant)",
7
7
  type: "source",
8
8
  description: "Emit new event each time a new order is paid.",
9
- version: "0.0.11",
9
+ version: "0.0.12",
10
10
  dedupe: "unique",
11
11
  methods: {
12
12
  ...common.methods,
@@ -6,7 +6,7 @@ export default {
6
6
  name: "New Product Created (Instant)",
7
7
  type: "source",
8
8
  description: "Emit new event for each product added to a store.",
9
- version: "0.0.11",
9
+ version: "0.0.12",
10
10
  dedupe: "unique",
11
11
  methods: {
12
12
  ...common.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.9",
8
+ version: "0.0.10",
9
9
  type: "source",
10
10
  dedupe: "unique",
11
11
  props: {
@@ -5,7 +5,7 @@ export default {
5
5
  key: "shopify_developer_app-new-refund-created",
6
6
  name: "New Refund Created (Instant)",
7
7
  description: "Emit new event when a new refund is created.",
8
- version: "0.0.8",
8
+ version: "0.0.9",
9
9
  type: "source",
10
10
  dedupe: "unique",
11
11
  methods: {
@@ -6,7 +6,7 @@ export default {
6
6
  name: "New Updated Customer (Instant)",
7
7
  type: "source",
8
8
  description: "Emit new event each time a customer's information is updated.",
9
- version: "0.0.11",
9
+ version: "0.0.12",
10
10
  dedupe: "unique",
11
11
  methods: {
12
12
  ...common.methods,
@@ -6,7 +6,7 @@ export default {
6
6
  name: "New Updated Order (Instant)",
7
7
  type: "source",
8
8
  description: "Emit new event each time an order is updated.",
9
- version: "0.0.11",
9
+ version: "0.0.12",
10
10
  dedupe: "unique",
11
11
  methods: {
12
12
  ...common.methods,
@@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, shopify);
11
11
  export default {
12
12
  ...others,
13
13
  key: "shopify_developer_app-product-added-to-custom-collection",
14
- version: "0.0.7",
14
+ version: "0.0.8",
15
15
  name,
16
16
  description,
17
17
  type,