shopify_api 14.5.0 → 14.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -1
  3. data/Gemfile.lock +20 -11
  4. data/docs/usage/oauth.md +14 -0
  5. data/docs/usage/webhooks.md +11 -0
  6. data/lib/shopify_api/admin_versions.rb +2 -1
  7. data/lib/shopify_api/context.rb +2 -2
  8. data/lib/shopify_api/rest/resources/2022_04/shop.rb +2 -2
  9. data/lib/shopify_api/rest/resources/2022_07/shop.rb +2 -2
  10. data/lib/shopify_api/rest/resources/2022_10/shop.rb +2 -2
  11. data/lib/shopify_api/rest/resources/2023_01/shop.rb +2 -2
  12. data/lib/shopify_api/rest/resources/2023_04/shop.rb +2 -2
  13. data/lib/shopify_api/rest/resources/2023_07/shop.rb +2 -2
  14. data/lib/shopify_api/rest/resources/2023_10/shop.rb +2 -2
  15. data/lib/shopify_api/rest/resources/2024_01/shop.rb +2 -2
  16. data/lib/shopify_api/rest/resources/2024_04/shop.rb +2 -2
  17. data/lib/shopify_api/rest/resources/2024_07/shop.rb +2 -2
  18. data/lib/shopify_api/rest/resources/2024_07/webhook.rb +1 -0
  19. data/lib/shopify_api/rest/resources/2024_10/abandoned_checkout.rb +194 -0
  20. data/lib/shopify_api/rest/resources/2024_10/access_scope.rb +62 -0
  21. data/lib/shopify_api/rest/resources/2024_10/apple_pay_certificate.rb +109 -0
  22. data/lib/shopify_api/rest/resources/2024_10/application_charge.rb +113 -0
  23. data/lib/shopify_api/rest/resources/2024_10/application_credit.rb +95 -0
  24. data/lib/shopify_api/rest/resources/2024_10/article.rb +269 -0
  25. data/lib/shopify_api/rest/resources/2024_10/asset.rb +122 -0
  26. data/lib/shopify_api/rest/resources/2024_10/assigned_fulfillment_order.rb +92 -0
  27. data/lib/shopify_api/rest/resources/2024_10/balance.rb +58 -0
  28. data/lib/shopify_api/rest/resources/2024_10/blog.rb +166 -0
  29. data/lib/shopify_api/rest/resources/2024_10/cancellation_request.rb +87 -0
  30. data/lib/shopify_api/rest/resources/2024_10/carrier_service.rb +120 -0
  31. data/lib/shopify_api/rest/resources/2024_10/checkout.rb +213 -0
  32. data/lib/shopify_api/rest/resources/2024_10/collect.rb +146 -0
  33. data/lib/shopify_api/rest/resources/2024_10/collection.rb +114 -0
  34. data/lib/shopify_api/rest/resources/2024_10/collection_listing.rb +159 -0
  35. data/lib/shopify_api/rest/resources/2024_10/comment.rb +287 -0
  36. data/lib/shopify_api/rest/resources/2024_10/country.rb +141 -0
  37. data/lib/shopify_api/rest/resources/2024_10/currency.rb +61 -0
  38. data/lib/shopify_api/rest/resources/2024_10/custom_collection.rb +191 -0
  39. data/lib/shopify_api/rest/resources/2024_10/customer.rb +335 -0
  40. data/lib/shopify_api/rest/resources/2024_10/customer_address.rb +215 -0
  41. data/lib/shopify_api/rest/resources/2024_10/deprecated_api_call.rb +61 -0
  42. data/lib/shopify_api/rest/resources/2024_10/discount_code.rb +226 -0
  43. data/lib/shopify_api/rest/resources/2024_10/dispute.rb +115 -0
  44. data/lib/shopify_api/rest/resources/2024_10/dispute_evidence.rb +121 -0
  45. data/lib/shopify_api/rest/resources/2024_10/dispute_file_upload.rb +85 -0
  46. data/lib/shopify_api/rest/resources/2024_10/draft_order.rb +279 -0
  47. data/lib/shopify_api/rest/resources/2024_10/event.rb +152 -0
  48. data/lib/shopify_api/rest/resources/2024_10/fulfillment.rb +235 -0
  49. data/lib/shopify_api/rest/resources/2024_10/fulfillment_event.rb +167 -0
  50. data/lib/shopify_api/rest/resources/2024_10/fulfillment_order.rb +326 -0
  51. data/lib/shopify_api/rest/resources/2024_10/fulfillment_request.rb +101 -0
  52. data/lib/shopify_api/rest/resources/2024_10/fulfillment_service.rb +134 -0
  53. data/lib/shopify_api/rest/resources/2024_10/gift_card.rb +222 -0
  54. data/lib/shopify_api/rest/resources/2024_10/gift_card_adjustment.rb +122 -0
  55. data/lib/shopify_api/rest/resources/2024_10/image.rb +161 -0
  56. data/lib/shopify_api/rest/resources/2024_10/inventory_item.rb +112 -0
  57. data/lib/shopify_api/rest/resources/2024_10/inventory_level.rb +183 -0
  58. data/lib/shopify_api/rest/resources/2024_10/location.rb +171 -0
  59. data/lib/shopify_api/rest/resources/2024_10/locations_for_move.rb +60 -0
  60. data/lib/shopify_api/rest/resources/2024_10/marketing_event.rb +213 -0
  61. data/lib/shopify_api/rest/resources/2024_10/metafield.rb +348 -0
  62. data/lib/shopify_api/rest/resources/2024_10/mobile_platform_application.rb +114 -0
  63. data/lib/shopify_api/rest/resources/2024_10/order.rb +490 -0
  64. data/lib/shopify_api/rest/resources/2024_10/order_risk.rb +148 -0
  65. data/lib/shopify_api/rest/resources/2024_10/page.rb +198 -0
  66. data/lib/shopify_api/rest/resources/2024_10/payment.rb +144 -0
  67. data/lib/shopify_api/rest/resources/2024_10/payment_gateway.rb +147 -0
  68. data/lib/shopify_api/rest/resources/2024_10/payment_transaction.rb +114 -0
  69. data/lib/shopify_api/rest/resources/2024_10/payout.rb +101 -0
  70. data/lib/shopify_api/rest/resources/2024_10/policy.rb +73 -0
  71. data/lib/shopify_api/rest/resources/2024_10/price_rule.rb +227 -0
  72. data/lib/shopify_api/rest/resources/2024_10/product.rb +227 -0
  73. data/lib/shopify_api/rest/resources/2024_10/product_listing.rb +200 -0
  74. data/lib/shopify_api/rest/resources/2024_10/product_resource_feedback.rb +92 -0
  75. data/lib/shopify_api/rest/resources/2024_10/province.rb +136 -0
  76. data/lib/shopify_api/rest/resources/2024_10/recurring_application_charge.rb +184 -0
  77. data/lib/shopify_api/rest/resources/2024_10/redirect.rb +143 -0
  78. data/lib/shopify_api/rest/resources/2024_10/refund.rb +155 -0
  79. data/lib/shopify_api/rest/resources/2024_10/resource_feedback.rb +77 -0
  80. data/lib/shopify_api/rest/resources/2024_10/script_tag.rb +159 -0
  81. data/lib/shopify_api/rest/resources/2024_10/shipping_zone.rb +87 -0
  82. data/lib/shopify_api/rest/resources/2024_10/shop.rb +232 -0
  83. data/lib/shopify_api/rest/resources/2024_10/smart_collection.rb +220 -0
  84. data/lib/shopify_api/rest/resources/2024_10/storefront_access_token.rb +91 -0
  85. data/lib/shopify_api/rest/resources/2024_10/tender_transaction.rb +97 -0
  86. data/lib/shopify_api/rest/resources/2024_10/theme.rb +127 -0
  87. data/lib/shopify_api/rest/resources/2024_10/transaction.rb +189 -0
  88. data/lib/shopify_api/rest/resources/2024_10/usage_charge.rb +106 -0
  89. data/lib/shopify_api/rest/resources/2024_10/user.rb +142 -0
  90. data/lib/shopify_api/rest/resources/2024_10/variant.rb +212 -0
  91. data/lib/shopify_api/rest/resources/2024_10/webhook.rb +173 -0
  92. data/lib/shopify_api/version.rb +1 -1
  93. data/lib/shopify_api/webhooks/registration.rb +17 -3
  94. data/lib/shopify_api/webhooks/registrations/event_bridge.rb +22 -3
  95. data/lib/shopify_api/webhooks/registrations/http.rb +22 -3
  96. data/lib/shopify_api/webhooks/registrations/pub_sub.rb +23 -4
  97. data/lib/shopify_api/webhooks/registry.rb +15 -5
  98. metadata +76 -3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.5.0
4
+ version: 14.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-22 00:00:00.000000000 Z
11
+ date: 2024-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -991,6 +991,79 @@ files:
991
991
  - lib/shopify_api/rest/resources/2024_07/user.rb
992
992
  - lib/shopify_api/rest/resources/2024_07/variant.rb
993
993
  - lib/shopify_api/rest/resources/2024_07/webhook.rb
994
+ - lib/shopify_api/rest/resources/2024_10/abandoned_checkout.rb
995
+ - lib/shopify_api/rest/resources/2024_10/access_scope.rb
996
+ - lib/shopify_api/rest/resources/2024_10/apple_pay_certificate.rb
997
+ - lib/shopify_api/rest/resources/2024_10/application_charge.rb
998
+ - lib/shopify_api/rest/resources/2024_10/application_credit.rb
999
+ - lib/shopify_api/rest/resources/2024_10/article.rb
1000
+ - lib/shopify_api/rest/resources/2024_10/asset.rb
1001
+ - lib/shopify_api/rest/resources/2024_10/assigned_fulfillment_order.rb
1002
+ - lib/shopify_api/rest/resources/2024_10/balance.rb
1003
+ - lib/shopify_api/rest/resources/2024_10/blog.rb
1004
+ - lib/shopify_api/rest/resources/2024_10/cancellation_request.rb
1005
+ - lib/shopify_api/rest/resources/2024_10/carrier_service.rb
1006
+ - lib/shopify_api/rest/resources/2024_10/checkout.rb
1007
+ - lib/shopify_api/rest/resources/2024_10/collect.rb
1008
+ - lib/shopify_api/rest/resources/2024_10/collection.rb
1009
+ - lib/shopify_api/rest/resources/2024_10/collection_listing.rb
1010
+ - lib/shopify_api/rest/resources/2024_10/comment.rb
1011
+ - lib/shopify_api/rest/resources/2024_10/country.rb
1012
+ - lib/shopify_api/rest/resources/2024_10/currency.rb
1013
+ - lib/shopify_api/rest/resources/2024_10/custom_collection.rb
1014
+ - lib/shopify_api/rest/resources/2024_10/customer.rb
1015
+ - lib/shopify_api/rest/resources/2024_10/customer_address.rb
1016
+ - lib/shopify_api/rest/resources/2024_10/deprecated_api_call.rb
1017
+ - lib/shopify_api/rest/resources/2024_10/discount_code.rb
1018
+ - lib/shopify_api/rest/resources/2024_10/dispute.rb
1019
+ - lib/shopify_api/rest/resources/2024_10/dispute_evidence.rb
1020
+ - lib/shopify_api/rest/resources/2024_10/dispute_file_upload.rb
1021
+ - lib/shopify_api/rest/resources/2024_10/draft_order.rb
1022
+ - lib/shopify_api/rest/resources/2024_10/event.rb
1023
+ - lib/shopify_api/rest/resources/2024_10/fulfillment.rb
1024
+ - lib/shopify_api/rest/resources/2024_10/fulfillment_event.rb
1025
+ - lib/shopify_api/rest/resources/2024_10/fulfillment_order.rb
1026
+ - lib/shopify_api/rest/resources/2024_10/fulfillment_request.rb
1027
+ - lib/shopify_api/rest/resources/2024_10/fulfillment_service.rb
1028
+ - lib/shopify_api/rest/resources/2024_10/gift_card.rb
1029
+ - lib/shopify_api/rest/resources/2024_10/gift_card_adjustment.rb
1030
+ - lib/shopify_api/rest/resources/2024_10/image.rb
1031
+ - lib/shopify_api/rest/resources/2024_10/inventory_item.rb
1032
+ - lib/shopify_api/rest/resources/2024_10/inventory_level.rb
1033
+ - lib/shopify_api/rest/resources/2024_10/location.rb
1034
+ - lib/shopify_api/rest/resources/2024_10/locations_for_move.rb
1035
+ - lib/shopify_api/rest/resources/2024_10/marketing_event.rb
1036
+ - lib/shopify_api/rest/resources/2024_10/metafield.rb
1037
+ - lib/shopify_api/rest/resources/2024_10/mobile_platform_application.rb
1038
+ - lib/shopify_api/rest/resources/2024_10/order.rb
1039
+ - lib/shopify_api/rest/resources/2024_10/order_risk.rb
1040
+ - lib/shopify_api/rest/resources/2024_10/page.rb
1041
+ - lib/shopify_api/rest/resources/2024_10/payment.rb
1042
+ - lib/shopify_api/rest/resources/2024_10/payment_gateway.rb
1043
+ - lib/shopify_api/rest/resources/2024_10/payment_transaction.rb
1044
+ - lib/shopify_api/rest/resources/2024_10/payout.rb
1045
+ - lib/shopify_api/rest/resources/2024_10/policy.rb
1046
+ - lib/shopify_api/rest/resources/2024_10/price_rule.rb
1047
+ - lib/shopify_api/rest/resources/2024_10/product.rb
1048
+ - lib/shopify_api/rest/resources/2024_10/product_listing.rb
1049
+ - lib/shopify_api/rest/resources/2024_10/product_resource_feedback.rb
1050
+ - lib/shopify_api/rest/resources/2024_10/province.rb
1051
+ - lib/shopify_api/rest/resources/2024_10/recurring_application_charge.rb
1052
+ - lib/shopify_api/rest/resources/2024_10/redirect.rb
1053
+ - lib/shopify_api/rest/resources/2024_10/refund.rb
1054
+ - lib/shopify_api/rest/resources/2024_10/resource_feedback.rb
1055
+ - lib/shopify_api/rest/resources/2024_10/script_tag.rb
1056
+ - lib/shopify_api/rest/resources/2024_10/shipping_zone.rb
1057
+ - lib/shopify_api/rest/resources/2024_10/shop.rb
1058
+ - lib/shopify_api/rest/resources/2024_10/smart_collection.rb
1059
+ - lib/shopify_api/rest/resources/2024_10/storefront_access_token.rb
1060
+ - lib/shopify_api/rest/resources/2024_10/tender_transaction.rb
1061
+ - lib/shopify_api/rest/resources/2024_10/theme.rb
1062
+ - lib/shopify_api/rest/resources/2024_10/transaction.rb
1063
+ - lib/shopify_api/rest/resources/2024_10/usage_charge.rb
1064
+ - lib/shopify_api/rest/resources/2024_10/user.rb
1065
+ - lib/shopify_api/rest/resources/2024_10/variant.rb
1066
+ - lib/shopify_api/rest/resources/2024_10/webhook.rb
994
1067
  - lib/shopify_api/utils/attributes_comparator.rb
995
1068
  - lib/shopify_api/utils/graphql_proxy.rb
996
1069
  - lib/shopify_api/utils/hmac_validator.rb
@@ -1084,7 +1157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1084
1157
  - !ruby/object:Gem::Version
1085
1158
  version: '0'
1086
1159
  requirements: []
1087
- rubygems_version: 3.5.17
1160
+ rubygems_version: 3.5.23
1088
1161
  signing_key:
1089
1162
  specification_version: 4
1090
1163
  summary: The gem for accessing the Shopify API