shopify_api 10.0.1 → 10.1.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.
Files changed (311) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/Gemfile.lock +7 -7
  4. data/README.md +3 -7
  5. data/RELEASING.md +18 -0
  6. data/Rakefile +1 -1
  7. data/docs/usage/graphql.md +1 -1
  8. data/docs/usage/rest.md +5 -5
  9. data/lib/shopify_api/admin_versions.rb +1 -1
  10. data/lib/shopify_api/auth/jwt_payload.rb +6 -3
  11. data/lib/shopify_api/rest/base.rb +33 -6
  12. data/lib/shopify_api/rest/resources/2021_07/abandoned_checkout.rb +4 -0
  13. data/lib/shopify_api/rest/resources/2021_07/access_scope.rb +4 -0
  14. data/lib/shopify_api/rest/resources/2021_07/android_pay_key.rb +4 -0
  15. data/lib/shopify_api/rest/resources/2021_07/apple_pay_certificate.rb +4 -0
  16. data/lib/shopify_api/rest/resources/2021_07/application_charge.rb +4 -0
  17. data/lib/shopify_api/rest/resources/2021_07/application_credit.rb +4 -0
  18. data/lib/shopify_api/rest/resources/2021_07/article.rb +4 -0
  19. data/lib/shopify_api/rest/resources/2021_07/asset.rb +4 -0
  20. data/lib/shopify_api/rest/resources/2021_07/assigned_fulfillment_order.rb +4 -0
  21. data/lib/shopify_api/rest/resources/2021_07/balance.rb +4 -0
  22. data/lib/shopify_api/rest/resources/2021_07/blog.rb +4 -0
  23. data/lib/shopify_api/rest/resources/2021_07/cancellation_request.rb +4 -0
  24. data/lib/shopify_api/rest/resources/2021_07/carrier_service.rb +4 -0
  25. data/lib/shopify_api/rest/resources/2021_07/checkout.rb +4 -0
  26. data/lib/shopify_api/rest/resources/2021_07/collect.rb +4 -0
  27. data/lib/shopify_api/rest/resources/2021_07/collection.rb +4 -0
  28. data/lib/shopify_api/rest/resources/2021_07/collection_listing.rb +4 -0
  29. data/lib/shopify_api/rest/resources/2021_07/comment.rb +4 -0
  30. data/lib/shopify_api/rest/resources/2021_07/country.rb +4 -0
  31. data/lib/shopify_api/rest/resources/2021_07/currency.rb +4 -0
  32. data/lib/shopify_api/rest/resources/2021_07/custom_collection.rb +4 -0
  33. data/lib/shopify_api/rest/resources/2021_07/customer.rb +4 -0
  34. data/lib/shopify_api/rest/resources/2021_07/customer_address.rb +4 -0
  35. data/lib/shopify_api/rest/resources/2021_07/customer_saved_search.rb +4 -0
  36. data/lib/shopify_api/rest/resources/2021_07/deprecated_api_call.rb +4 -0
  37. data/lib/shopify_api/rest/resources/2021_07/discount_code.rb +4 -0
  38. data/lib/shopify_api/rest/resources/2021_07/dispute.rb +4 -0
  39. data/lib/shopify_api/rest/resources/2021_07/draft_order.rb +4 -0
  40. data/lib/shopify_api/rest/resources/2021_07/event.rb +4 -0
  41. data/lib/shopify_api/rest/resources/2021_07/fulfillment.rb +75 -1
  42. data/lib/shopify_api/rest/resources/2021_07/fulfillment_event.rb +4 -0
  43. data/lib/shopify_api/rest/resources/2021_07/fulfillment_order.rb +4 -0
  44. data/lib/shopify_api/rest/resources/2021_07/fulfillment_request.rb +4 -0
  45. data/lib/shopify_api/rest/resources/2021_07/fulfillment_service.rb +4 -0
  46. data/lib/shopify_api/rest/resources/2021_07/gift_card.rb +4 -0
  47. data/lib/shopify_api/rest/resources/2021_07/gift_card_adjustment.rb +4 -0
  48. data/lib/shopify_api/rest/resources/2021_07/image.rb +4 -0
  49. data/lib/shopify_api/rest/resources/2021_07/inventory_item.rb +4 -0
  50. data/lib/shopify_api/rest/resources/2021_07/inventory_level.rb +4 -0
  51. data/lib/shopify_api/rest/resources/2021_07/location.rb +4 -0
  52. data/lib/shopify_api/rest/resources/2021_07/locations_for_move.rb +4 -0
  53. data/lib/shopify_api/rest/resources/2021_07/marketing_event.rb +4 -0
  54. data/lib/shopify_api/rest/resources/2021_07/metafield.rb +4 -0
  55. data/lib/shopify_api/rest/resources/2021_07/mobile_platform_application.rb +4 -0
  56. data/lib/shopify_api/rest/resources/2021_07/order.rb +4 -0
  57. data/lib/shopify_api/rest/resources/2021_07/order_risk.rb +4 -0
  58. data/lib/shopify_api/rest/resources/2021_07/page.rb +4 -0
  59. data/lib/shopify_api/rest/resources/2021_07/payment.rb +4 -0
  60. data/lib/shopify_api/rest/resources/2021_07/payment_gateway.rb +4 -0
  61. data/lib/shopify_api/rest/resources/2021_07/payment_transaction.rb +4 -0
  62. data/lib/shopify_api/rest/resources/2021_07/payout.rb +4 -0
  63. data/lib/shopify_api/rest/resources/2021_07/policy.rb +4 -0
  64. data/lib/shopify_api/rest/resources/2021_07/price_rule.rb +4 -0
  65. data/lib/shopify_api/rest/resources/2021_07/product.rb +4 -0
  66. data/lib/shopify_api/rest/resources/2021_07/product_listing.rb +4 -0
  67. data/lib/shopify_api/rest/resources/2021_07/product_resource_feedback.rb +4 -0
  68. data/lib/shopify_api/rest/resources/2021_07/province.rb +4 -0
  69. data/lib/shopify_api/rest/resources/2021_07/recurring_application_charge.rb +4 -0
  70. data/lib/shopify_api/rest/resources/2021_07/redirect.rb +4 -0
  71. data/lib/shopify_api/rest/resources/2021_07/refund.rb +4 -0
  72. data/lib/shopify_api/rest/resources/2021_07/report.rb +4 -0
  73. data/lib/shopify_api/rest/resources/2021_07/resource_feedback.rb +4 -0
  74. data/lib/shopify_api/rest/resources/2021_07/script_tag.rb +4 -0
  75. data/lib/shopify_api/rest/resources/2021_07/shipping_zone.rb +4 -0
  76. data/lib/shopify_api/rest/resources/2021_07/shop.rb +4 -0
  77. data/lib/shopify_api/rest/resources/2021_07/smart_collection.rb +4 -0
  78. data/lib/shopify_api/rest/resources/2021_07/storefront_access_token.rb +4 -0
  79. data/lib/shopify_api/rest/resources/2021_07/tender_transaction.rb +4 -0
  80. data/lib/shopify_api/rest/resources/2021_07/theme.rb +4 -0
  81. data/lib/shopify_api/rest/resources/2021_07/transaction.rb +4 -0
  82. data/lib/shopify_api/rest/resources/2021_07/usage_charge.rb +4 -0
  83. data/lib/shopify_api/rest/resources/2021_07/user.rb +4 -0
  84. data/lib/shopify_api/rest/resources/2021_07/variant.rb +6 -2
  85. data/lib/shopify_api/rest/resources/2021_07/webhook.rb +4 -0
  86. data/lib/shopify_api/rest/resources/2021_10/abandoned_checkout.rb +4 -0
  87. data/lib/shopify_api/rest/resources/2021_10/access_scope.rb +4 -0
  88. data/lib/shopify_api/rest/resources/2021_10/android_pay_key.rb +4 -0
  89. data/lib/shopify_api/rest/resources/2021_10/apple_pay_certificate.rb +4 -0
  90. data/lib/shopify_api/rest/resources/2021_10/application_charge.rb +4 -0
  91. data/lib/shopify_api/rest/resources/2021_10/application_credit.rb +4 -0
  92. data/lib/shopify_api/rest/resources/2021_10/article.rb +4 -0
  93. data/lib/shopify_api/rest/resources/2021_10/asset.rb +4 -0
  94. data/lib/shopify_api/rest/resources/2021_10/assigned_fulfillment_order.rb +4 -0
  95. data/lib/shopify_api/rest/resources/2021_10/balance.rb +4 -0
  96. data/lib/shopify_api/rest/resources/2021_10/blog.rb +4 -0
  97. data/lib/shopify_api/rest/resources/2021_10/cancellation_request.rb +4 -0
  98. data/lib/shopify_api/rest/resources/2021_10/carrier_service.rb +4 -0
  99. data/lib/shopify_api/rest/resources/2021_10/checkout.rb +4 -0
  100. data/lib/shopify_api/rest/resources/2021_10/collect.rb +4 -0
  101. data/lib/shopify_api/rest/resources/2021_10/collection.rb +4 -0
  102. data/lib/shopify_api/rest/resources/2021_10/collection_listing.rb +4 -0
  103. data/lib/shopify_api/rest/resources/2021_10/comment.rb +4 -0
  104. data/lib/shopify_api/rest/resources/2021_10/country.rb +4 -0
  105. data/lib/shopify_api/rest/resources/2021_10/currency.rb +4 -0
  106. data/lib/shopify_api/rest/resources/2021_10/custom_collection.rb +4 -0
  107. data/lib/shopify_api/rest/resources/2021_10/customer.rb +4 -0
  108. data/lib/shopify_api/rest/resources/2021_10/customer_address.rb +4 -0
  109. data/lib/shopify_api/rest/resources/2021_10/customer_saved_search.rb +4 -0
  110. data/lib/shopify_api/rest/resources/2021_10/deprecated_api_call.rb +4 -0
  111. data/lib/shopify_api/rest/resources/2021_10/discount_code.rb +4 -0
  112. data/lib/shopify_api/rest/resources/2021_10/dispute.rb +4 -0
  113. data/lib/shopify_api/rest/resources/2021_10/draft_order.rb +4 -0
  114. data/lib/shopify_api/rest/resources/2021_10/event.rb +4 -0
  115. data/lib/shopify_api/rest/resources/2021_10/fulfillment.rb +75 -1
  116. data/lib/shopify_api/rest/resources/2021_10/fulfillment_event.rb +4 -0
  117. data/lib/shopify_api/rest/resources/2021_10/fulfillment_order.rb +4 -0
  118. data/lib/shopify_api/rest/resources/2021_10/fulfillment_request.rb +4 -0
  119. data/lib/shopify_api/rest/resources/2021_10/fulfillment_service.rb +4 -0
  120. data/lib/shopify_api/rest/resources/2021_10/gift_card.rb +4 -0
  121. data/lib/shopify_api/rest/resources/2021_10/gift_card_adjustment.rb +4 -0
  122. data/lib/shopify_api/rest/resources/2021_10/image.rb +4 -0
  123. data/lib/shopify_api/rest/resources/2021_10/inventory_item.rb +4 -0
  124. data/lib/shopify_api/rest/resources/2021_10/inventory_level.rb +4 -0
  125. data/lib/shopify_api/rest/resources/2021_10/location.rb +4 -0
  126. data/lib/shopify_api/rest/resources/2021_10/locations_for_move.rb +4 -0
  127. data/lib/shopify_api/rest/resources/2021_10/marketing_event.rb +4 -0
  128. data/lib/shopify_api/rest/resources/2021_10/metafield.rb +4 -0
  129. data/lib/shopify_api/rest/resources/2021_10/mobile_platform_application.rb +4 -0
  130. data/lib/shopify_api/rest/resources/2021_10/order.rb +4 -0
  131. data/lib/shopify_api/rest/resources/2021_10/order_risk.rb +4 -0
  132. data/lib/shopify_api/rest/resources/2021_10/page.rb +4 -0
  133. data/lib/shopify_api/rest/resources/2021_10/payment.rb +4 -0
  134. data/lib/shopify_api/rest/resources/2021_10/payment_gateway.rb +4 -0
  135. data/lib/shopify_api/rest/resources/2021_10/payment_transaction.rb +4 -0
  136. data/lib/shopify_api/rest/resources/2021_10/payout.rb +4 -0
  137. data/lib/shopify_api/rest/resources/2021_10/policy.rb +4 -0
  138. data/lib/shopify_api/rest/resources/2021_10/price_rule.rb +4 -0
  139. data/lib/shopify_api/rest/resources/2021_10/product.rb +4 -0
  140. data/lib/shopify_api/rest/resources/2021_10/product_listing.rb +4 -0
  141. data/lib/shopify_api/rest/resources/2021_10/product_resource_feedback.rb +4 -0
  142. data/lib/shopify_api/rest/resources/2021_10/province.rb +4 -0
  143. data/lib/shopify_api/rest/resources/2021_10/recurring_application_charge.rb +4 -0
  144. data/lib/shopify_api/rest/resources/2021_10/redirect.rb +4 -0
  145. data/lib/shopify_api/rest/resources/2021_10/refund.rb +4 -0
  146. data/lib/shopify_api/rest/resources/2021_10/report.rb +4 -0
  147. data/lib/shopify_api/rest/resources/2021_10/resource_feedback.rb +4 -0
  148. data/lib/shopify_api/rest/resources/2021_10/script_tag.rb +4 -0
  149. data/lib/shopify_api/rest/resources/2021_10/shipping_zone.rb +4 -0
  150. data/lib/shopify_api/rest/resources/2021_10/shop.rb +4 -0
  151. data/lib/shopify_api/rest/resources/2021_10/smart_collection.rb +4 -0
  152. data/lib/shopify_api/rest/resources/2021_10/storefront_access_token.rb +4 -0
  153. data/lib/shopify_api/rest/resources/2021_10/tender_transaction.rb +4 -0
  154. data/lib/shopify_api/rest/resources/2021_10/theme.rb +4 -0
  155. data/lib/shopify_api/rest/resources/2021_10/transaction.rb +4 -0
  156. data/lib/shopify_api/rest/resources/2021_10/usage_charge.rb +4 -0
  157. data/lib/shopify_api/rest/resources/2021_10/user.rb +4 -0
  158. data/lib/shopify_api/rest/resources/2021_10/variant.rb +6 -2
  159. data/lib/shopify_api/rest/resources/2021_10/webhook.rb +4 -0
  160. data/lib/shopify_api/rest/resources/2022_01/abandoned_checkout.rb +4 -0
  161. data/lib/shopify_api/rest/resources/2022_01/access_scope.rb +4 -0
  162. data/lib/shopify_api/rest/resources/2022_01/android_pay_key.rb +4 -0
  163. data/lib/shopify_api/rest/resources/2022_01/apple_pay_certificate.rb +4 -0
  164. data/lib/shopify_api/rest/resources/2022_01/application_charge.rb +4 -0
  165. data/lib/shopify_api/rest/resources/2022_01/application_credit.rb +4 -0
  166. data/lib/shopify_api/rest/resources/2022_01/article.rb +4 -0
  167. data/lib/shopify_api/rest/resources/2022_01/asset.rb +4 -0
  168. data/lib/shopify_api/rest/resources/2022_01/assigned_fulfillment_order.rb +4 -0
  169. data/lib/shopify_api/rest/resources/2022_01/balance.rb +4 -0
  170. data/lib/shopify_api/rest/resources/2022_01/blog.rb +4 -0
  171. data/lib/shopify_api/rest/resources/2022_01/cancellation_request.rb +4 -0
  172. data/lib/shopify_api/rest/resources/2022_01/carrier_service.rb +4 -0
  173. data/lib/shopify_api/rest/resources/2022_01/checkout.rb +4 -0
  174. data/lib/shopify_api/rest/resources/2022_01/collect.rb +4 -0
  175. data/lib/shopify_api/rest/resources/2022_01/collection.rb +4 -0
  176. data/lib/shopify_api/rest/resources/2022_01/collection_listing.rb +4 -0
  177. data/lib/shopify_api/rest/resources/2022_01/comment.rb +4 -0
  178. data/lib/shopify_api/rest/resources/2022_01/country.rb +4 -0
  179. data/lib/shopify_api/rest/resources/2022_01/currency.rb +4 -0
  180. data/lib/shopify_api/rest/resources/2022_01/custom_collection.rb +4 -0
  181. data/lib/shopify_api/rest/resources/2022_01/customer.rb +4 -0
  182. data/lib/shopify_api/rest/resources/2022_01/customer_address.rb +4 -0
  183. data/lib/shopify_api/rest/resources/2022_01/customer_saved_search.rb +4 -0
  184. data/lib/shopify_api/rest/resources/2022_01/deprecated_api_call.rb +4 -0
  185. data/lib/shopify_api/rest/resources/2022_01/discount_code.rb +4 -0
  186. data/lib/shopify_api/rest/resources/2022_01/dispute.rb +4 -0
  187. data/lib/shopify_api/rest/resources/2022_01/draft_order.rb +4 -0
  188. data/lib/shopify_api/rest/resources/2022_01/event.rb +4 -0
  189. data/lib/shopify_api/rest/resources/2022_01/fulfillment.rb +75 -1
  190. data/lib/shopify_api/rest/resources/2022_01/fulfillment_event.rb +4 -0
  191. data/lib/shopify_api/rest/resources/2022_01/fulfillment_order.rb +4 -0
  192. data/lib/shopify_api/rest/resources/2022_01/fulfillment_request.rb +4 -0
  193. data/lib/shopify_api/rest/resources/2022_01/fulfillment_service.rb +4 -0
  194. data/lib/shopify_api/rest/resources/2022_01/gift_card.rb +4 -0
  195. data/lib/shopify_api/rest/resources/2022_01/gift_card_adjustment.rb +4 -0
  196. data/lib/shopify_api/rest/resources/2022_01/image.rb +4 -0
  197. data/lib/shopify_api/rest/resources/2022_01/inventory_item.rb +4 -0
  198. data/lib/shopify_api/rest/resources/2022_01/inventory_level.rb +4 -0
  199. data/lib/shopify_api/rest/resources/2022_01/location.rb +4 -0
  200. data/lib/shopify_api/rest/resources/2022_01/locations_for_move.rb +4 -0
  201. data/lib/shopify_api/rest/resources/2022_01/marketing_event.rb +4 -0
  202. data/lib/shopify_api/rest/resources/2022_01/metafield.rb +4 -0
  203. data/lib/shopify_api/rest/resources/2022_01/mobile_platform_application.rb +4 -0
  204. data/lib/shopify_api/rest/resources/2022_01/order.rb +4 -0
  205. data/lib/shopify_api/rest/resources/2022_01/order_risk.rb +4 -0
  206. data/lib/shopify_api/rest/resources/2022_01/page.rb +4 -0
  207. data/lib/shopify_api/rest/resources/2022_01/payment.rb +4 -0
  208. data/lib/shopify_api/rest/resources/2022_01/payment_gateway.rb +4 -0
  209. data/lib/shopify_api/rest/resources/2022_01/payment_transaction.rb +4 -0
  210. data/lib/shopify_api/rest/resources/2022_01/payout.rb +4 -0
  211. data/lib/shopify_api/rest/resources/2022_01/policy.rb +4 -0
  212. data/lib/shopify_api/rest/resources/2022_01/price_rule.rb +4 -0
  213. data/lib/shopify_api/rest/resources/2022_01/product.rb +4 -0
  214. data/lib/shopify_api/rest/resources/2022_01/product_listing.rb +4 -0
  215. data/lib/shopify_api/rest/resources/2022_01/product_resource_feedback.rb +4 -0
  216. data/lib/shopify_api/rest/resources/2022_01/province.rb +4 -0
  217. data/lib/shopify_api/rest/resources/2022_01/recurring_application_charge.rb +4 -0
  218. data/lib/shopify_api/rest/resources/2022_01/redirect.rb +4 -0
  219. data/lib/shopify_api/rest/resources/2022_01/refund.rb +4 -0
  220. data/lib/shopify_api/rest/resources/2022_01/report.rb +4 -0
  221. data/lib/shopify_api/rest/resources/2022_01/resource_feedback.rb +4 -0
  222. data/lib/shopify_api/rest/resources/2022_01/script_tag.rb +4 -0
  223. data/lib/shopify_api/rest/resources/2022_01/shipping_zone.rb +4 -0
  224. data/lib/shopify_api/rest/resources/2022_01/shop.rb +4 -0
  225. data/lib/shopify_api/rest/resources/2022_01/smart_collection.rb +4 -0
  226. data/lib/shopify_api/rest/resources/2022_01/storefront_access_token.rb +4 -0
  227. data/lib/shopify_api/rest/resources/2022_01/tender_transaction.rb +4 -0
  228. data/lib/shopify_api/rest/resources/2022_01/theme.rb +4 -0
  229. data/lib/shopify_api/rest/resources/2022_01/transaction.rb +4 -0
  230. data/lib/shopify_api/rest/resources/2022_01/usage_charge.rb +4 -0
  231. data/lib/shopify_api/rest/resources/2022_01/user.rb +4 -0
  232. data/lib/shopify_api/rest/resources/2022_01/variant.rb +6 -2
  233. data/lib/shopify_api/rest/resources/2022_01/webhook.rb +4 -0
  234. data/lib/shopify_api/rest/resources/2022_04/abandoned_checkout.rb +4 -0
  235. data/lib/shopify_api/rest/resources/2022_04/access_scope.rb +4 -0
  236. data/lib/shopify_api/rest/resources/2022_04/android_pay_key.rb +4 -0
  237. data/lib/shopify_api/rest/resources/2022_04/apple_pay_certificate.rb +4 -0
  238. data/lib/shopify_api/rest/resources/2022_04/application_charge.rb +4 -0
  239. data/lib/shopify_api/rest/resources/2022_04/application_credit.rb +4 -0
  240. data/lib/shopify_api/rest/resources/2022_04/article.rb +4 -0
  241. data/lib/shopify_api/rest/resources/2022_04/asset.rb +4 -0
  242. data/lib/shopify_api/rest/resources/2022_04/assigned_fulfillment_order.rb +4 -0
  243. data/lib/shopify_api/rest/resources/2022_04/balance.rb +4 -0
  244. data/lib/shopify_api/rest/resources/2022_04/blog.rb +4 -0
  245. data/lib/shopify_api/rest/resources/2022_04/cancellation_request.rb +4 -0
  246. data/lib/shopify_api/rest/resources/2022_04/carrier_service.rb +4 -0
  247. data/lib/shopify_api/rest/resources/2022_04/checkout.rb +4 -0
  248. data/lib/shopify_api/rest/resources/2022_04/collect.rb +4 -0
  249. data/lib/shopify_api/rest/resources/2022_04/collection.rb +4 -0
  250. data/lib/shopify_api/rest/resources/2022_04/collection_listing.rb +4 -0
  251. data/lib/shopify_api/rest/resources/2022_04/comment.rb +4 -0
  252. data/lib/shopify_api/rest/resources/2022_04/country.rb +4 -0
  253. data/lib/shopify_api/rest/resources/2022_04/currency.rb +4 -0
  254. data/lib/shopify_api/rest/resources/2022_04/custom_collection.rb +4 -0
  255. data/lib/shopify_api/rest/resources/2022_04/customer.rb +4 -0
  256. data/lib/shopify_api/rest/resources/2022_04/customer_address.rb +4 -0
  257. data/lib/shopify_api/rest/resources/2022_04/customer_saved_search.rb +4 -0
  258. data/lib/shopify_api/rest/resources/2022_04/deprecated_api_call.rb +4 -0
  259. data/lib/shopify_api/rest/resources/2022_04/discount_code.rb +4 -0
  260. data/lib/shopify_api/rest/resources/2022_04/dispute.rb +4 -0
  261. data/lib/shopify_api/rest/resources/2022_04/draft_order.rb +4 -0
  262. data/lib/shopify_api/rest/resources/2022_04/event.rb +4 -0
  263. data/lib/shopify_api/rest/resources/2022_04/fulfillment.rb +75 -1
  264. data/lib/shopify_api/rest/resources/2022_04/fulfillment_event.rb +4 -0
  265. data/lib/shopify_api/rest/resources/2022_04/fulfillment_order.rb +7 -0
  266. data/lib/shopify_api/rest/resources/2022_04/fulfillment_request.rb +4 -0
  267. data/lib/shopify_api/rest/resources/2022_04/fulfillment_service.rb +4 -0
  268. data/lib/shopify_api/rest/resources/2022_04/gift_card.rb +4 -0
  269. data/lib/shopify_api/rest/resources/2022_04/gift_card_adjustment.rb +4 -0
  270. data/lib/shopify_api/rest/resources/2022_04/image.rb +4 -0
  271. data/lib/shopify_api/rest/resources/2022_04/inventory_item.rb +4 -0
  272. data/lib/shopify_api/rest/resources/2022_04/inventory_level.rb +4 -0
  273. data/lib/shopify_api/rest/resources/2022_04/location.rb +4 -0
  274. data/lib/shopify_api/rest/resources/2022_04/locations_for_move.rb +4 -0
  275. data/lib/shopify_api/rest/resources/2022_04/marketing_event.rb +4 -0
  276. data/lib/shopify_api/rest/resources/2022_04/metafield.rb +4 -0
  277. data/lib/shopify_api/rest/resources/2022_04/mobile_platform_application.rb +4 -0
  278. data/lib/shopify_api/rest/resources/2022_04/order.rb +4 -0
  279. data/lib/shopify_api/rest/resources/2022_04/order_risk.rb +4 -0
  280. data/lib/shopify_api/rest/resources/2022_04/page.rb +4 -0
  281. data/lib/shopify_api/rest/resources/2022_04/payment.rb +4 -0
  282. data/lib/shopify_api/rest/resources/2022_04/payment_gateway.rb +4 -0
  283. data/lib/shopify_api/rest/resources/2022_04/payment_transaction.rb +4 -0
  284. data/lib/shopify_api/rest/resources/2022_04/payout.rb +4 -0
  285. data/lib/shopify_api/rest/resources/2022_04/policy.rb +4 -0
  286. data/lib/shopify_api/rest/resources/2022_04/price_rule.rb +4 -0
  287. data/lib/shopify_api/rest/resources/2022_04/product.rb +4 -0
  288. data/lib/shopify_api/rest/resources/2022_04/product_listing.rb +4 -0
  289. data/lib/shopify_api/rest/resources/2022_04/product_resource_feedback.rb +4 -0
  290. data/lib/shopify_api/rest/resources/2022_04/province.rb +4 -0
  291. data/lib/shopify_api/rest/resources/2022_04/recurring_application_charge.rb +4 -0
  292. data/lib/shopify_api/rest/resources/2022_04/redirect.rb +4 -0
  293. data/lib/shopify_api/rest/resources/2022_04/refund.rb +4 -0
  294. data/lib/shopify_api/rest/resources/2022_04/report.rb +4 -0
  295. data/lib/shopify_api/rest/resources/2022_04/resource_feedback.rb +4 -0
  296. data/lib/shopify_api/rest/resources/2022_04/script_tag.rb +4 -0
  297. data/lib/shopify_api/rest/resources/2022_04/shipping_zone.rb +4 -0
  298. data/lib/shopify_api/rest/resources/2022_04/shop.rb +4 -0
  299. data/lib/shopify_api/rest/resources/2022_04/smart_collection.rb +4 -0
  300. data/lib/shopify_api/rest/resources/2022_04/storefront_access_token.rb +4 -0
  301. data/lib/shopify_api/rest/resources/2022_04/tender_transaction.rb +4 -0
  302. data/lib/shopify_api/rest/resources/2022_04/theme.rb +4 -0
  303. data/lib/shopify_api/rest/resources/2022_04/transaction.rb +4 -0
  304. data/lib/shopify_api/rest/resources/2022_04/usage_charge.rb +4 -0
  305. data/lib/shopify_api/rest/resources/2022_04/user.rb +4 -0
  306. data/lib/shopify_api/rest/resources/2022_04/variant.rb +6 -2
  307. data/lib/shopify_api/rest/resources/2022_04/webhook.rb +4 -0
  308. data/lib/shopify_api/version.rb +1 -1
  309. data/lib/shopify_api/webhooks/registry.rb +0 -1
  310. metadata +3 -3
  311. data/RELEASING +0 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5566b419b5746a7a8f599fb407d09c50790e82b2afbd6945fbd3e05cb56ed5b
4
- data.tar.gz: 0f0daa7279c2462dbd73827a1a8bac8b0770830165c6e2cca24121c0a3fd6b61
3
+ metadata.gz: fc4cfe78db0e88c911424f8d3e2b3ed88b41a3bb91db59beea5a250222a784af
4
+ data.tar.gz: c2f3d45bf47d0b0e5d8da086895c59145b0c84ef4b70f04acee72188278f4b74
5
5
  SHA512:
6
- metadata.gz: 39727e5deee75a0c018b923dc9dc29dd92a0903379c33089308c2a063d9c03bd776c4ed5e75f6b518064e4d96da2793d77bf610d6f49880f7c83bb6f4403f498
7
- data.tar.gz: 4bb282024fc568bd2bd86ef40c8d0fc3da93d94efd950be9de7972b6ed427e7f34f7a743818b895348e5d4211604d40d04011b887f35362f64d0f79af0ecdbf6
6
+ metadata.gz: f5fdbadb1ba50cf494e3eee2e08c6e2ee29085093821d24da8965d3215c1197ddadbaf0c1b2fb979ba59a3e3fad315691a85658ba970dd8f58b0a5f4b23456ab
7
+ data.tar.gz: b71d5ec832995ae090aa52ee61c5fe3a67c05ad04d78a3e8f34cfee2fa8565f221ce5229a354f981c1de2d9eed25e2fd341919c6474695a973b7052b71db72df
data/CHANGELOG.md CHANGED
@@ -1,7 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ Note: For changes to the API, see https://shopify.dev/changelog?filter=api
4
+
3
5
  ## Unreleased
4
6
 
7
+ ## Version 10.1.0
8
+
9
+ - [#933](https://github.com/Shopify/shopify_api/pull/933) Fix syntax of GraphQL query in `Webhooks.get_webhook_id` method by removing extra curly brace
10
+ - [#941](https://github.com/Shopify/shopify_api/pull/941) Fix `to_hash` to return readonly attributes, unless being used for serialize the object for saving - fix issue [#930](https://github.com/Shopify/shopify_api/issues/930)
11
+ - [#959](https://github.com/Shopify/shopify_api/pull/959) Update `LATEST_SUPPORTED_ADMIN_VERSION` to `2022-04` to align it with the current value
12
+
13
+ ## Version 10.0.3
14
+
15
+ ### Fixed
16
+
17
+ - [#935](https://github.com/Shopify/shopify_api/pull/935) Fix issue [#931](https://github.com/Shopify/shopify_api/pull/931), weight of variant should be float
18
+ - [#944](https://github.com/Shopify/shopify_api/pull/944) Deprecated the `validate_shop` method from the JWT class since we can trust the token payload, since it comes from Shopify.
19
+
20
+ ## Version 10.0.2
21
+
22
+ - [#929](https://github.com/Shopify/shopify_api/pull/929) Aligning sorbet dependencies
23
+
5
24
  ## Version 10.0.1
6
25
 
7
26
  ### Fixed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify_api (10.0.1)
4
+ shopify_api (10.1.0)
5
5
  concurrent-ruby
6
6
  hash_diff
7
7
  httparty
@@ -79,16 +79,16 @@ GEM
79
79
  rubocop (>= 0.90.0)
80
80
  ruby-progressbar (1.11.0)
81
81
  securerandom (0.2.0)
82
- sorbet (0.5.9623)
83
- sorbet-static (= 0.5.9623)
84
- sorbet-runtime (0.5.9619)
85
- sorbet-static (0.5.9623-universal-darwin-21)
86
- sorbet-static (0.5.9623-x86_64-linux)
82
+ sorbet (0.5.10016)
83
+ sorbet-static (= 0.5.10016)
84
+ sorbet-runtime (0.5.10016)
85
+ sorbet-static (0.5.10016-universal-darwin-21)
86
+ sorbet-static (0.5.10016-x86_64-linux)
87
87
  spoom (1.1.8)
88
88
  sorbet (>= 0.5.9204)
89
89
  sorbet-runtime (>= 0.5.9204)
90
90
  thor (>= 0.19.2)
91
- tapioca (0.6.3)
91
+ tapioca (0.6.4)
92
92
  bundler (>= 1.17.3)
93
93
  pry (>= 0.12.2)
94
94
  rbi (~> 0.0.0, >= 0.0.9)
data/README.md CHANGED
@@ -4,12 +4,6 @@
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
5
5
  ![Build Status](https://github.com/Shopify/shopify_api/workflows/CI/badge.svg?branch=main)
6
6
 
7
- ## A Note About Versions
8
-
9
- The latest release of `shopify_api` is v9. The main branch of this repo reflects the upcoming v10 release, which has some major changes. If you’re looking for the documentation / instructions for v9, you can find them [in this branch](https://github.com/Shopify/shopify_api/tree/v9).
10
-
11
- ## v10
12
-
13
7
  This library provides support for Ruby [Shopify apps](https://apps.shopify.com/) to access the [Shopify Admin API](https://shopify.dev/api/admin), by making it easier to perform the following actions:
14
8
 
15
9
  - Creating [online](https://shopify.dev/concepts/about-apis/authentication#online-access) or [offline](https://shopify.dev/concepts/about-apis/authentication#offline-access) access tokens for the Admin API via OAuth
@@ -21,6 +15,8 @@ In addition to the Admin API, this library also allows querying the [Storefront
21
15
 
22
16
  You can use this library in any application that has a Ruby backend, since it doesn't rely on any specific framework — you can include it alongside your preferred stack and use the features that you need to build your app.
23
17
 
18
+ **Note**: These instructions apply to v10 or later of this package. If you're running v9 in your app, you can find the documentation [in this branch](https://github.com/Shopify/shopify_api/tree/v9).
19
+
24
20
  ## Requirements
25
21
 
26
22
  To follow these usage guides, you will need to:
@@ -61,7 +57,7 @@ ShopifyAPI::Context.setup(
61
57
  session_storage: ShopifyAPI::Auth::FileSessionStorage.new, # See more details below
62
58
  is_embedded: true, # Set to true if you are building an embedded app
63
59
  is_private: false, # Set to true if you are building a private app
64
- api_version: "2022-01" # The vesion of the API you would like to use
60
+ api_version: "2022-01" # The version of the API you would like to use
65
61
  )
66
62
  ```
67
63
 
data/RELEASING.md ADDED
@@ -0,0 +1,18 @@
1
+ # Releasing ShopifyAPI
2
+
3
+ 1. Before releasing, make sure `sorbet` and `sorbet-runtime` are up to date
4
+ 1. Check the Semantic Versioning page for info on how to version the new release: http://semver.org
5
+ 1. Update the version of ShopifyAPI in lib/shopify_api/version.rb
6
+ 1. Run `bundle`
7
+ 1. Add a CHANGELOG entry for the new release
8
+ 1. Commit the changes with a commit message like "Packaging for release X.Y.Z"
9
+ 1. Tag the release with the version (Leave REV blank for HEAD or provide a SHA)
10
+ $ git tag vX.Y.Z REV
11
+ 1. Push out the changes
12
+ $ git push
13
+ 1. Push out the tags
14
+ $ git push --tags
15
+ 1. Publish the gem using Shipit
16
+ 1. Consider if the dependency in Shopify/shopify needs updated. It's used only by the tests so is a low risk change.
17
+ Also consider Shopify/shopify_app whose gemspec depends on this.
18
+ We don't need to do this for every release, but we should try to keep them relatively up to date.
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ namespace :test do
11
11
 
12
12
  Rake::TestTask.new(:rest_wrappers) do |t|
13
13
  pattern = if ENV.key?("API_VERSION")
14
- "test/rest/**/#{ENV["API_VERSION"]}/*.rb"
14
+ "test/rest/**/#{ENV.fetch("API_VERSION")}/*.rb"
15
15
  else
16
16
  "test/rest/**/*.rb"
17
17
  end
@@ -54,7 +54,7 @@ variables = {
54
54
  first: 3
55
55
  }
56
56
 
57
- response = client.query(data: query, variables: variables)
57
+ response = client.query(query: query, variables: variables)
58
58
 
59
59
  ```
60
60
 
data/docs/usage/rest.md CHANGED
@@ -22,7 +22,7 @@ The Rest Admin client offers the 4 core request methods: `get`, `delete`, `post`
22
22
 
23
23
  ```ruby
24
24
  # Load the current session to get the `accessToken`.
25
- session = ShopifyAPI::Auth::SessionLoader.load_current_session(headers, cookies, is_online)
25
+ session = ShopifyAPI::Utils::SessionUtils.load_current_session(headers, cookies, is_online)
26
26
 
27
27
  # Create a new client.
28
28
  client = ShopifyAPI::Clients::Rest::Admin.new(session: session)
@@ -38,7 +38,7 @@ some_function(response.body)
38
38
 
39
39
  ```ruby
40
40
  # Load the current session to get the `accessToken`.
41
- session = ShopifyAPI::Auth::SessionLoader.load_current_session(headers, cookies, is_online)
41
+ session = ShopifyAPI::Utils::SessionUtils.load_current_session(headers, cookies, is_online)
42
42
 
43
43
  # Create a new client.
44
44
  client = ShopifyAPI::Clients::Rest::Admin.new(session: session)
@@ -71,7 +71,7 @@ After making a request, the `next_page_info` and `prev_page_info` can be found o
71
71
  An example of this is shown below:
72
72
 
73
73
  ```ruby
74
- session = ShopifyAPI::Auth::SessionLoader.load_current_session(headers, cookies, is_online)
74
+ session = ShopifyAPI::Utils::SessionUtils.load_current_session(headers, cookies, is_online)
75
75
  client = ShopifyAPI::Clients::Rest::Admin.new(session: session)
76
76
 
77
77
  response = client.get(path: "products", query: { limit: 10 })
@@ -88,7 +88,7 @@ Similarly, when using REST resources the `next_page_info` and `prev_page_info` c
88
88
  An example of this is shown below:
89
89
 
90
90
  ```ruby
91
- session = ShopifyAPI::Auth::SessionLoader.load_current_session(headers, cookies, is_online)
91
+ session = ShopifyAPI::Utils::SessionUtils.load_current_session(headers, cookies, is_online)
92
92
 
93
93
  products = ShopifyAPI::Product.all(session: session, limit: 10)
94
94
 
@@ -104,7 +104,7 @@ The next/previous page_info strings can also be retrieved from the response obje
104
104
  An example of this is shown below:
105
105
 
106
106
  ```ruby
107
- session = ShopifyAPI::Auth::SessionLoader.load_current_session(headers, cookies, is_online)
107
+ session = ShopifyAPI::Utils::SessionUtils.load_current_session(headers, cookies, is_online)
108
108
  client = ShopifyAPI::Clients::Rest::Admin.new(session: session)
109
109
 
110
110
  response = client.get(path: "products", query: { limit: 10 })
@@ -12,7 +12,7 @@ module ShopifyAPI
12
12
  "2021-04",
13
13
  ], T::Array[String])
14
14
 
15
- LATEST_SUPPORTED_ADMIN_VERSION = T.let("2022-01", String)
15
+ LATEST_SUPPORTED_ADMIN_VERSION = T.let("2022-04", String)
16
16
  end
17
17
 
18
18
  SUPPORTED_ADMIN_VERSIONS = ShopifyAPI::AdminVersions::SUPPORTED_ADMIN_VERSIONS
@@ -35,8 +35,6 @@ module ShopifyAPI
35
35
 
36
36
  raise ShopifyAPI::Errors::InvalidJwtTokenError,
37
37
  "Session token had invalid API key" unless @aud == Context.api_key
38
- raise ShopifyAPI::Errors::InvalidJwtTokenError,
39
- "Session token had invalid shop" unless validate_shop(shop)
40
38
  end
41
39
 
42
40
  sig { returns(String) }
@@ -44,9 +42,14 @@ module ShopifyAPI
44
42
  @dest.gsub("https://", "")
45
43
  end
46
44
 
45
+ # TODO: Remove before releasing v11
47
46
  sig { params(shop: String).returns(T::Boolean) }
48
47
  def validate_shop(shop)
49
- /\A[a-z0-9]+[a-z0-9\-]*[a-z0-9]+\.myshopify\.(io|com)\z/.match?(shop)
48
+ Context.logger.warn(
49
+ "Deprecation notice: ShopifyAPI::Auth::JwtPayload.validate_shop no longer checks the given shop and always " \
50
+ "returns true. It will be removed in v11."
51
+ )
52
+ true
50
53
  end
51
54
 
52
55
  alias_method :eql?, :==
@@ -55,6 +55,12 @@ module ShopifyAPI
55
55
  sig { returns(T.nilable(String)) }
56
56
  attr_reader :custom_prefix
57
57
 
58
+ sig { returns(T::Hash[Symbol, Class]) }
59
+ attr_reader :has_many
60
+
61
+ sig { returns(T::Hash[Symbol, Class]) }
62
+ attr_reader :has_one
63
+
58
64
  sig do
59
65
  params(
60
66
  session: T.nilable(Auth::Session),
@@ -261,8 +267,8 @@ module ShopifyAPI
261
267
  match.nil? ? true : super
262
268
  end
263
269
 
264
- sig { returns(T::Hash[String, T.untyped]) }
265
- def to_hash
270
+ sig { params(saving: T::Boolean).returns(T::Hash[String, T.untyped]) }
271
+ def to_hash(saving = false)
266
272
  hash = {}
267
273
  instance_variables.each do |var|
268
274
  next if [
@@ -273,7 +279,7 @@ module ShopifyAPI
273
279
  :"@errors",
274
280
  :"@aliased_properties",
275
281
  ].include?(var)
276
- next if self.class.read_only_attributes&.include?(var)
282
+ next if saving && self.class.read_only_attributes&.include?(var)
277
283
 
278
284
  var = var.to_s.delete("@")
279
285
  attribute = if @aliased_properties.value?(var)
@@ -283,9 +289,16 @@ module ShopifyAPI
283
289
  end.to_sym
284
290
 
285
291
  if self.class.has_many?(attribute)
286
- hash[attribute.to_s] = get_property(attribute).map(&:to_hash).to_a if get_property(attribute)
292
+ attribute_class = self.class.has_many[attribute]
293
+ hash[attribute.to_s] = get_property(attribute).map do |element|
294
+ get_element_hash(element, T.unsafe(attribute_class), saving)
295
+ end.to_a if get_property(attribute)
287
296
  elsif self.class.has_one?(attribute)
288
- element_hash = get_property(attribute)&.to_hash
297
+ element_hash = get_element_hash(
298
+ get_property(attribute),
299
+ T.unsafe(self.class.has_one[attribute]),
300
+ saving
301
+ )
289
302
  hash[attribute.to_s] = element_hash if element_hash || @forced_nils[attribute.to_s]
290
303
  elsif !get_property(attribute).nil? || @forced_nils[attribute.to_s]
291
304
  hash[attribute.to_s] =
@@ -313,7 +326,7 @@ module ShopifyAPI
313
326
 
314
327
  sig { params(update_object: T::Boolean).void }
315
328
  def save(update_object: false)
316
- hash = HashDiff::Comparison.new(original_state, to_hash).left_diff
329
+ hash = HashDiff::Comparison.new(original_state, to_hash(true)).left_diff
317
330
  method = hash[self.class.primary_key] ? :put : :post
318
331
 
319
332
  path = self.class.get_path(http_method: method, operation: method, entity: self)
@@ -355,6 +368,20 @@ module ShopifyAPI
355
368
 
356
369
  instance_variable_get("@#{clean_key}")
357
370
  end
371
+
372
+ sig do
373
+ params(
374
+ element: T.nilable(T.any(T::Hash[String, T.untyped], ShopifyAPI::Rest::Base)),
375
+ attribute_class: Class,
376
+ saving: T::Boolean,
377
+ ).returns(T.nilable(T::Hash[String, T.untyped]))
378
+ end
379
+ def get_element_hash(element, attribute_class, saving)
380
+ return nil if element.nil?
381
+ return element.to_hash(saving) unless element.is_a?(Hash)
382
+
383
+ T.unsafe(attribute_class).create_instance(session: @session, data: element).to_hash(saving)
384
+ end
358
385
  end
359
386
  end
360
387
  end
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class AbandonedCheckout < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class AccessScope < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class AndroidPayKey < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class ApplePayCertificate < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class ApplicationCharge < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class ApplicationCredit < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class Article < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class Asset < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class AssignedFulfillmentOrder < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class Balance < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class Blog < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class CancellationRequest < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class CarrierService < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class Checkout < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class Collect < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class Collection < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class CollectionListing < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class Comment < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class Country < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class Currency < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class CustomCollection < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class Customer < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class CustomerAddress < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class CustomerSavedSearch < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class DeprecatedApiCall < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class DiscountCode < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class Dispute < ShopifyAPI::Rest::Base
6
10
  extend T::Sig
@@ -1,6 +1,10 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
+ ########################################################################################################################
5
+ # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
+ ########################################################################################################################
7
+
4
8
  module ShopifyAPI
5
9
  class DraftOrder < ShopifyAPI::Rest::Base
6
10
  extend T::Sig