shopify_api 12.4.0 → 12.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/.github/api_update_reminder.md +25 -0
  3. data/.github/api_update_reminder_on_release.md +19 -0
  4. data/.github/workflows/api_update_reminder.yml +16 -0
  5. data/.github/workflows/api_update_reminder_on_release.yml +16 -0
  6. data/.github/workflows/stale.yml +20 -10
  7. data/CHANGELOG.md +11 -4
  8. data/CONTRIBUTING.md +2 -2
  9. data/Gemfile.lock +6 -6
  10. data/README.md +10 -10
  11. data/docs/getting_started.md +2 -2
  12. data/docs/usage/graphql.md +6 -0
  13. data/docs/usage/graphql_storefront.md +8 -2
  14. data/docs/usage/oauth.md +1 -1
  15. data/docs/usage/rest.md +9 -2
  16. data/docs/usage/webhooks.md +1 -1
  17. data/lib/shopify_api/admin_versions.rb +2 -1
  18. data/lib/shopify_api/clients/graphql/admin.rb +3 -3
  19. data/lib/shopify_api/clients/graphql/client.rb +13 -3
  20. data/lib/shopify_api/clients/graphql/storefront.rb +3 -3
  21. data/lib/shopify_api/clients/http_client.rb +8 -1
  22. data/lib/shopify_api/clients/rest/admin.rb +14 -3
  23. data/lib/shopify_api/rest/base.rb +3 -1
  24. data/lib/shopify_api/rest/resources/2022_07/application_charge.rb +6 -1
  25. data/lib/shopify_api/rest/resources/2022_07/application_credit.rb +6 -1
  26. data/lib/shopify_api/rest/resources/2022_07/gift_card.rb +4 -4
  27. data/lib/shopify_api/rest/resources/2022_07/metafield.rb +2 -2
  28. data/lib/shopify_api/rest/resources/2022_07/order.rb +2 -2
  29. data/lib/shopify_api/rest/resources/2022_07/recurring_application_charge.rb +6 -1
  30. data/lib/shopify_api/rest/resources/2022_07/shipping_zone.rb +6 -6
  31. data/lib/shopify_api/rest/resources/2022_07/usage_charge.rb +6 -1
  32. data/lib/shopify_api/rest/resources/2022_10/application_charge.rb +6 -1
  33. data/lib/shopify_api/rest/resources/2022_10/application_credit.rb +6 -1
  34. data/lib/shopify_api/rest/resources/2022_10/gift_card.rb +4 -4
  35. data/lib/shopify_api/rest/resources/2022_10/metafield.rb +2 -2
  36. data/lib/shopify_api/rest/resources/2022_10/order.rb +2 -2
  37. data/lib/shopify_api/rest/resources/2022_10/recurring_application_charge.rb +6 -1
  38. data/lib/shopify_api/rest/resources/2022_10/shipping_zone.rb +6 -6
  39. data/lib/shopify_api/rest/resources/2022_10/usage_charge.rb +6 -1
  40. data/lib/shopify_api/rest/resources/2023_01/application_charge.rb +6 -1
  41. data/lib/shopify_api/rest/resources/2023_01/application_credit.rb +6 -1
  42. data/lib/shopify_api/rest/resources/2023_01/dispute_evidence.rb +117 -0
  43. data/lib/shopify_api/rest/resources/{2022_04/storefront_access_token.rb → 2023_01/dispute_file_upload.rb} +27 -33
  44. data/lib/shopify_api/rest/resources/2023_01/gift_card.rb +4 -4
  45. data/lib/shopify_api/rest/resources/2023_01/metafield.rb +2 -2
  46. data/lib/shopify_api/rest/resources/2023_01/order.rb +2 -2
  47. data/lib/shopify_api/rest/resources/2023_01/recurring_application_charge.rb +6 -1
  48. data/lib/shopify_api/rest/resources/2023_01/shipping_zone.rb +6 -6
  49. data/lib/shopify_api/rest/resources/2023_01/usage_charge.rb +6 -1
  50. data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/application_charge.rb +6 -1
  51. data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/application_credit.rb +6 -1
  52. data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/carrier_service.rb +0 -3
  53. data/lib/shopify_api/rest/resources/2023_04/dispute_evidence.rb +117 -0
  54. data/lib/shopify_api/rest/resources/{2022_04/android_pay_key.rb → 2023_04/dispute_file_upload.rb} +29 -25
  55. data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/fulfillment.rb +2 -49
  56. data/lib/shopify_api/rest/resources/{2022_04 → 2023_04}/fulfillment_order.rb +36 -8
  57. data/lib/shopify_api/rest/resources/{2022_04 → 2023_04}/fulfillment_service.rb +3 -3
  58. data/lib/shopify_api/rest/resources/{2022_04 → 2023_04}/gift_card.rb +4 -4
  59. data/lib/shopify_api/rest/resources/{2022_04 → 2023_04}/metafield.rb +2 -2
  60. data/lib/shopify_api/rest/resources/{2022_04 → 2023_04}/order.rb +14 -2
  61. data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/recurring_application_charge.rb +6 -1
  62. data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/shipping_zone.rb +6 -6
  63. data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/shop.rb +3 -0
  64. data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/transaction.rb +3 -0
  65. data/lib/shopify_api/rest/resources/{2022_04 → 2023_04}/usage_charge.rb +6 -1
  66. data/lib/shopify_api/version.rb +1 -1
  67. data/shopify_api.gemspec +1 -1
  68. metadata +85 -152
  69. data/lib/shopify_api/rest/resources/2022_01/android_pay_key.rb +0 -77
  70. data/lib/shopify_api/rest/resources/2022_01/customer.rb +0 -326
  71. data/lib/shopify_api/rest/resources/2022_01/fulfillment_order.rb +0 -281
  72. data/lib/shopify_api/rest/resources/2022_01/fulfillment_service.rb +0 -130
  73. data/lib/shopify_api/rest/resources/2022_01/gift_card.rb +0 -215
  74. data/lib/shopify_api/rest/resources/2022_01/metafield.rb +0 -349
  75. data/lib/shopify_api/rest/resources/2022_01/order.rb +0 -473
  76. data/lib/shopify_api/rest/resources/2022_01/price_rule.rb +0 -223
  77. data/lib/shopify_api/rest/resources/2022_01/usage_charge.rb +0 -97
  78. data/lib/shopify_api/rest/resources/2022_04/abandoned_checkout.rb +0 -190
  79. data/lib/shopify_api/rest/resources/2022_04/access_scope.rb +0 -58
  80. data/lib/shopify_api/rest/resources/2022_04/apple_pay_certificate.rb +0 -105
  81. data/lib/shopify_api/rest/resources/2022_04/application_charge.rb +0 -104
  82. data/lib/shopify_api/rest/resources/2022_04/application_credit.rb +0 -87
  83. data/lib/shopify_api/rest/resources/2022_04/article.rb +0 -265
  84. data/lib/shopify_api/rest/resources/2022_04/asset.rb +0 -118
  85. data/lib/shopify_api/rest/resources/2022_04/assigned_fulfillment_order.rb +0 -86
  86. data/lib/shopify_api/rest/resources/2022_04/balance.rb +0 -50
  87. data/lib/shopify_api/rest/resources/2022_04/blog.rb +0 -162
  88. data/lib/shopify_api/rest/resources/2022_04/cancellation_request.rb +0 -83
  89. data/lib/shopify_api/rest/resources/2022_04/carrier_service.rb +0 -116
  90. data/lib/shopify_api/rest/resources/2022_04/checkout.rb +0 -209
  91. data/lib/shopify_api/rest/resources/2022_04/collect.rb +0 -142
  92. data/lib/shopify_api/rest/resources/2022_04/collection.rb +0 -110
  93. data/lib/shopify_api/rest/resources/2022_04/collection_listing.rb +0 -155
  94. data/lib/shopify_api/rest/resources/2022_04/comment.rb +0 -283
  95. data/lib/shopify_api/rest/resources/2022_04/country.rb +0 -137
  96. data/lib/shopify_api/rest/resources/2022_04/currency.rb +0 -57
  97. data/lib/shopify_api/rest/resources/2022_04/custom_collection.rb +0 -187
  98. data/lib/shopify_api/rest/resources/2022_04/customer_address.rb +0 -201
  99. data/lib/shopify_api/rest/resources/2022_04/customer_saved_search.rb +0 -169
  100. data/lib/shopify_api/rest/resources/2022_04/deprecated_api_call.rb +0 -57
  101. data/lib/shopify_api/rest/resources/2022_04/discount_code.rb +0 -219
  102. data/lib/shopify_api/rest/resources/2022_04/dispute.rb +0 -111
  103. data/lib/shopify_api/rest/resources/2022_04/draft_order.rb +0 -275
  104. data/lib/shopify_api/rest/resources/2022_04/event.rb +0 -148
  105. data/lib/shopify_api/rest/resources/2022_04/fulfillment.rb +0 -272
  106. data/lib/shopify_api/rest/resources/2022_04/fulfillment_event.rb +0 -166
  107. data/lib/shopify_api/rest/resources/2022_04/fulfillment_request.rb +0 -87
  108. data/lib/shopify_api/rest/resources/2022_04/gift_card_adjustment.rb +0 -118
  109. data/lib/shopify_api/rest/resources/2022_04/image.rb +0 -157
  110. data/lib/shopify_api/rest/resources/2022_04/inventory_item.rb +0 -108
  111. data/lib/shopify_api/rest/resources/2022_04/inventory_level.rb +0 -179
  112. data/lib/shopify_api/rest/resources/2022_04/location.rb +0 -167
  113. data/lib/shopify_api/rest/resources/2022_04/locations_for_move.rb +0 -56
  114. data/lib/shopify_api/rest/resources/2022_04/marketing_event.rb +0 -209
  115. data/lib/shopify_api/rest/resources/2022_04/mobile_platform_application.rb +0 -110
  116. data/lib/shopify_api/rest/resources/2022_04/order_risk.rb +0 -135
  117. data/lib/shopify_api/rest/resources/2022_04/page.rb +0 -194
  118. data/lib/shopify_api/rest/resources/2022_04/payment.rb +0 -140
  119. data/lib/shopify_api/rest/resources/2022_04/payment_gateway.rb +0 -143
  120. data/lib/shopify_api/rest/resources/2022_04/payment_transaction.rb +0 -107
  121. data/lib/shopify_api/rest/resources/2022_04/payout.rb +0 -97
  122. data/lib/shopify_api/rest/resources/2022_04/policy.rb +0 -69
  123. data/lib/shopify_api/rest/resources/2022_04/product.rb +0 -223
  124. data/lib/shopify_api/rest/resources/2022_04/product_listing.rb +0 -196
  125. data/lib/shopify_api/rest/resources/2022_04/product_resource_feedback.rb +0 -88
  126. data/lib/shopify_api/rest/resources/2022_04/province.rb +0 -132
  127. data/lib/shopify_api/rest/resources/2022_04/recurring_application_charge.rb +0 -167
  128. data/lib/shopify_api/rest/resources/2022_04/redirect.rb +0 -139
  129. data/lib/shopify_api/rest/resources/2022_04/refund.rb +0 -151
  130. data/lib/shopify_api/rest/resources/2022_04/report.rb +0 -121
  131. data/lib/shopify_api/rest/resources/2022_04/resource_feedback.rb +0 -73
  132. data/lib/shopify_api/rest/resources/2022_04/script_tag.rb +0 -155
  133. data/lib/shopify_api/rest/resources/2022_04/shipping_zone.rb +0 -83
  134. data/lib/shopify_api/rest/resources/2022_04/shop.rb +0 -218
  135. data/lib/shopify_api/rest/resources/2022_04/smart_collection.rb +0 -216
  136. data/lib/shopify_api/rest/resources/2022_04/tender_transaction.rb +0 -93
  137. data/lib/shopify_api/rest/resources/2022_04/theme.rb +0 -120
  138. data/lib/shopify_api/rest/resources/2022_04/transaction.rb +0 -181
  139. data/lib/shopify_api/rest/resources/2022_04/user.rb +0 -138
  140. data/lib/shopify_api/rest/resources/2022_04/variant.rb +0 -212
  141. data/lib/shopify_api/rest/resources/2022_04/webhook.rb +0 -168
  142. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/abandoned_checkout.rb +0 -0
  143. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/access_scope.rb +0 -0
  144. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/apple_pay_certificate.rb +0 -0
  145. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/article.rb +0 -0
  146. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/asset.rb +0 -0
  147. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/assigned_fulfillment_order.rb +0 -0
  148. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/balance.rb +0 -0
  149. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/blog.rb +0 -0
  150. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/cancellation_request.rb +0 -0
  151. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/checkout.rb +0 -0
  152. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/collect.rb +0 -0
  153. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/collection.rb +0 -0
  154. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/collection_listing.rb +0 -0
  155. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/comment.rb +0 -0
  156. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/country.rb +0 -0
  157. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/currency.rb +0 -0
  158. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/custom_collection.rb +0 -0
  159. /data/lib/shopify_api/rest/resources/{2022_04 → 2023_04}/customer.rb +0 -0
  160. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/customer_address.rb +0 -0
  161. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/customer_saved_search.rb +0 -0
  162. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/deprecated_api_call.rb +0 -0
  163. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/discount_code.rb +0 -0
  164. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/dispute.rb +0 -0
  165. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/draft_order.rb +0 -0
  166. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/event.rb +0 -0
  167. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/fulfillment_event.rb +0 -0
  168. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/fulfillment_request.rb +0 -0
  169. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/gift_card_adjustment.rb +0 -0
  170. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/image.rb +0 -0
  171. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/inventory_item.rb +0 -0
  172. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/inventory_level.rb +0 -0
  173. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/location.rb +0 -0
  174. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/locations_for_move.rb +0 -0
  175. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/marketing_event.rb +0 -0
  176. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/mobile_platform_application.rb +0 -0
  177. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/order_risk.rb +0 -0
  178. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/page.rb +0 -0
  179. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/payment.rb +0 -0
  180. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/payment_gateway.rb +0 -0
  181. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/payment_transaction.rb +0 -0
  182. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/payout.rb +0 -0
  183. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/policy.rb +0 -0
  184. /data/lib/shopify_api/rest/resources/{2022_04 → 2023_04}/price_rule.rb +0 -0
  185. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/product.rb +0 -0
  186. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/product_listing.rb +0 -0
  187. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/product_resource_feedback.rb +0 -0
  188. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/province.rb +0 -0
  189. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/redirect.rb +0 -0
  190. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/refund.rb +0 -0
  191. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/report.rb +0 -0
  192. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/resource_feedback.rb +0 -0
  193. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/script_tag.rb +0 -0
  194. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/smart_collection.rb +0 -0
  195. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/storefront_access_token.rb +0 -0
  196. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/tender_transaction.rb +0 -0
  197. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/theme.rb +0 -0
  198. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/user.rb +0 -0
  199. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/variant.rb +0 -0
  200. /data/lib/shopify_api/rest/resources/{2022_01 → 2023_04}/webhook.rb +0 -0
@@ -27,10 +27,12 @@ module ShopifyAPI
27
27
  @checkout_token = T.let(nil, T.nilable(String))
28
28
  @client_details = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
29
29
  @closed_at = T.let(nil, T.nilable(String))
30
+ @company = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
30
31
  @created_at = T.let(nil, T.nilable(String))
31
32
  @currency = T.let(nil, T.nilable(String))
32
33
  @current_subtotal_price = T.let(nil, T.nilable(String))
33
34
  @current_subtotal_price_set = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
35
+ @current_total_additional_fees_set = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
34
36
  @current_total_discounts = T.let(nil, T.nilable(String))
35
37
  @current_total_discounts_set = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
36
38
  @current_total_duties_set = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
@@ -51,12 +53,14 @@ module ShopifyAPI
51
53
  @id = T.let(nil, T.nilable(Integer))
52
54
  @landing_site = T.let(nil, T.nilable(String))
53
55
  @location_id = T.let(nil, T.nilable(Integer))
56
+ @merchant_of_record_app_id = T.let(nil, T.nilable(Integer))
54
57
  @name = T.let(nil, T.nilable(String))
55
58
  @note = T.let(nil, T.nilable(String))
56
59
  @note_attributes = T.let(nil, T.nilable(T::Array[T.untyped]))
57
60
  @number = T.let(nil, T.nilable(Integer))
58
61
  @order_number = T.let(nil, T.nilable(Integer))
59
62
  @order_status_url = T.let(nil, T.nilable(String))
63
+ @original_total_additional_fees_set = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
60
64
  @original_total_duties_set = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
61
65
  @payment_details = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
62
66
  @payment_gateway_names = T.let(nil, T.nilable(T::Array[T.untyped]))
@@ -72,7 +76,7 @@ module ShopifyAPI
72
76
  @source_identifier = T.let(nil, T.nilable(String))
73
77
  @source_name = T.let(nil, T.nilable(String))
74
78
  @source_url = T.let(nil, T.nilable(String))
75
- @subtotal_price = T.let(nil, T.nilable(Float))
79
+ @subtotal_price = T.let(nil, T.nilable(String))
76
80
  @subtotal_price_set = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
77
81
  @tags = T.let(nil, T.nilable(String))
78
82
  @tax_lines = T.let(nil, T.nilable(T::Array[T.untyped]))
@@ -137,6 +141,8 @@ module ShopifyAPI
137
141
  attr_reader :client_details
138
142
  sig { returns(T.nilable(String)) }
139
143
  attr_reader :closed_at
144
+ sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
145
+ attr_reader :company
140
146
  sig { returns(T.nilable(String)) }
141
147
  attr_reader :created_at
142
148
  sig { returns(T.nilable(String)) }
@@ -145,6 +151,8 @@ module ShopifyAPI
145
151
  attr_reader :current_subtotal_price
146
152
  sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
147
153
  attr_reader :current_subtotal_price_set
154
+ sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
155
+ attr_reader :current_total_additional_fees_set
148
156
  sig { returns(T.nilable(String)) }
149
157
  attr_reader :current_total_discounts
150
158
  sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
@@ -185,6 +193,8 @@ module ShopifyAPI
185
193
  attr_reader :landing_site
186
194
  sig { returns(T.nilable(Integer)) }
187
195
  attr_reader :location_id
196
+ sig { returns(T.nilable(Integer)) }
197
+ attr_reader :merchant_of_record_app_id
188
198
  sig { returns(T.nilable(String)) }
189
199
  attr_reader :name
190
200
  sig { returns(T.nilable(String)) }
@@ -198,6 +208,8 @@ module ShopifyAPI
198
208
  sig { returns(T.nilable(String)) }
199
209
  attr_reader :order_status_url
200
210
  sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
211
+ attr_reader :original_total_additional_fees_set
212
+ sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
201
213
  attr_reader :original_total_duties_set
202
214
  sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
203
215
  attr_reader :payment_details
@@ -227,7 +239,7 @@ module ShopifyAPI
227
239
  attr_reader :source_name
228
240
  sig { returns(T.nilable(String)) }
229
241
  attr_reader :source_url
230
- sig { returns(T.nilable(Float)) }
242
+ sig { returns(T.nilable(String)) }
231
243
  attr_reader :subtotal_price
232
244
  sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
233
245
  attr_reader :subtotal_price_set
@@ -22,6 +22,7 @@ module ShopifyAPI
22
22
  @capped_amount = T.let(nil, T.nilable(T.any(String, Integer)))
23
23
  @confirmation_url = T.let(nil, T.nilable(String))
24
24
  @created_at = T.let(nil, T.nilable(String))
25
+ @currency = T.let(nil, T.nilable(Currency))
25
26
  @id = T.let(nil, T.nilable(Integer))
26
27
  @name = T.let(nil, T.nilable(String))
27
28
  @price = T.let(nil, T.nilable(T.any(String, Float)))
@@ -34,7 +35,9 @@ module ShopifyAPI
34
35
  @updated_at = T.let(nil, T.nilable(String))
35
36
  end
36
37
 
37
- @has_one = T.let({}, T::Hash[Symbol, Class])
38
+ @has_one = T.let({
39
+ currency: Currency
40
+ }, T::Hash[Symbol, Class])
38
41
  @has_many = T.let({}, T::Hash[Symbol, Class])
39
42
  @paths = T.let([
40
43
  {http_method: :delete, operation: :delete, ids: [:id], path: "recurring_application_charges/<id>.json"},
@@ -56,6 +59,8 @@ module ShopifyAPI
56
59
  attr_reader :confirmation_url
57
60
  sig { returns(T.nilable(String)) }
58
61
  attr_reader :created_at
62
+ sig { returns(T.nilable(Currency)) }
63
+ attr_reader :currency
59
64
  sig { returns(T.nilable(Integer)) }
60
65
  attr_reader :id
61
66
  sig { returns(T.nilable(String)) }
@@ -21,10 +21,10 @@ module ShopifyAPI
21
21
  @id = T.let(nil, T.nilable(Integer))
22
22
  @location_group_id = T.let(nil, T.nilable(Integer))
23
23
  @name = T.let(nil, T.nilable(String))
24
- @price_based_shipping_rates = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
25
- @profile_id = T.let(nil, T.nilable(Integer))
24
+ @price_based_shipping_rates = T.let(nil, T.nilable(T::Array[T.untyped]))
25
+ @profile_id = T.let(nil, T.nilable(String))
26
26
  @provinces = T.let(nil, T.nilable(T::Array[T.untyped]))
27
- @weight_based_shipping_rates = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
27
+ @weight_based_shipping_rates = T.let(nil, T.nilable(T::Array[T.untyped]))
28
28
  end
29
29
 
30
30
  @has_one = T.let({}, T::Hash[Symbol, Class])
@@ -46,13 +46,13 @@ module ShopifyAPI
46
46
  attr_reader :location_group_id
47
47
  sig { returns(T.nilable(String)) }
48
48
  attr_reader :name
49
- sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
49
+ sig { returns(T.nilable(T::Array[T::Hash[T.untyped, T.untyped]])) }
50
50
  attr_reader :price_based_shipping_rates
51
- sig { returns(T.nilable(Integer)) }
51
+ sig { returns(T.nilable(String)) }
52
52
  attr_reader :profile_id
53
53
  sig { returns(T.nilable(T::Array[Province])) }
54
54
  attr_reader :provinces
55
- sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
55
+ sig { returns(T.nilable(T::Array[T::Hash[T.untyped, T.untyped]])) }
56
56
  attr_reader :weight_based_shipping_rates
57
57
 
58
58
  class << self
@@ -44,6 +44,7 @@ module ShopifyAPI
44
44
  @id = T.let(nil, T.nilable(Integer))
45
45
  @latitude = T.let(nil, T.nilable(Float))
46
46
  @longitude = T.let(nil, T.nilable(Float))
47
+ @marketing_sms_consent_enabled_at_checkout = T.let(nil, T.nilable(T::Boolean))
47
48
  @money_format = T.let(nil, T.nilable(String))
48
49
  @money_in_emails_format = T.let(nil, T.nilable(String))
49
50
  @money_with_currency_format = T.let(nil, T.nilable(String))
@@ -135,6 +136,8 @@ module ShopifyAPI
135
136
  attr_reader :latitude
136
137
  sig { returns(T.nilable(Float)) }
137
138
  attr_reader :longitude
139
+ sig { returns(T.nilable(T::Boolean)) }
140
+ attr_reader :marketing_sms_consent_enabled_at_checkout
138
141
  sig { returns(T.nilable(String)) }
139
142
  attr_reader :money_format
140
143
  sig { returns(T.nilable(String)) }
@@ -39,6 +39,7 @@ module ShopifyAPI
39
39
  @source_name = T.let(nil, T.nilable(String))
40
40
  @status = T.let(nil, T.nilable(String))
41
41
  @test = T.let(nil, T.nilable(T::Boolean))
42
+ @total_unsettled_set = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
42
43
  @user_id = T.let(nil, T.nilable(Integer))
43
44
  end
44
45
 
@@ -97,6 +98,8 @@ module ShopifyAPI
97
98
  attr_reader :status
98
99
  sig { returns(T.nilable(T::Boolean)) }
99
100
  attr_reader :test
101
+ sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
102
+ attr_reader :total_unsettled_set
100
103
  sig { returns(T.nilable(Integer)) }
101
104
  attr_reader :user_id
102
105
 
@@ -17,6 +17,7 @@ module ShopifyAPI
17
17
  super(session: session)
18
18
 
19
19
  @created_at = T.let(nil, T.nilable(String))
20
+ @currency = T.let(nil, T.nilable(Currency))
20
21
  @description = T.let(nil, T.nilable(String))
21
22
  @id = T.let(nil, T.nilable(Integer))
22
23
  @price = T.let(nil, T.nilable(Integer))
@@ -24,7 +25,9 @@ module ShopifyAPI
24
25
  @updated_at = T.let(nil, T.nilable(String))
25
26
  end
26
27
 
27
- @has_one = T.let({}, T::Hash[Symbol, Class])
28
+ @has_one = T.let({
29
+ currency: Currency
30
+ }, T::Hash[Symbol, Class])
28
31
  @has_many = T.let({}, T::Hash[Symbol, Class])
29
32
  @paths = T.let([
30
33
  {http_method: :get, operation: :get, ids: [:recurring_application_charge_id], path: "recurring_application_charges/<recurring_application_charge_id>/usage_charges.json"},
@@ -34,6 +37,8 @@ module ShopifyAPI
34
37
 
35
38
  sig { returns(T.nilable(String)) }
36
39
  attr_reader :created_at
40
+ sig { returns(T.nilable(Currency)) }
41
+ attr_reader :currency
37
42
  sig { returns(T.nilable(String)) }
38
43
  attr_reader :description
39
44
  sig { returns(T.nilable(Integer)) }
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module ShopifyAPI
5
- VERSION = "12.4.0"
5
+ VERSION = "12.5.0"
6
6
  end
data/shopify_api.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
  section of Shopify stores.
15
15
  HERE
16
16
  s.email = "developers@shopify.com"
17
- s.homepage = "https://shopify.dev/apps"
17
+ s.homepage = "https://shopify.dev/docs/apps"
18
18
 
19
19
  s.metadata["allowed_push_host"] = "https://rubygems.org"
20
20
 
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: 12.4.0
4
+ version: 12.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-05 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -282,8 +282,12 @@ files:
282
282
  - ".github/ISSUE_TEMPLATE/BUG_REPORT.md"
283
283
  - ".github/ISSUE_TEMPLATE/ENHANCEMENT.md"
284
284
  - ".github/ISSUE_TEMPLATE/FEATURE_REQUEST.md"
285
+ - ".github/api_update_reminder.md"
286
+ - ".github/api_update_reminder_on_release.md"
285
287
  - ".github/dependabot.yml"
286
288
  - ".github/pull_request_template.md"
289
+ - ".github/workflows/api_update_reminder.yml"
290
+ - ".github/workflows/api_update_reminder_on_release.yml"
287
291
  - ".github/workflows/build.yml"
288
292
  - ".github/workflows/cla.yml"
289
293
  - ".github/workflows/close-waiting-for-response-issues.yml"
@@ -359,154 +363,6 @@ files:
359
363
  - lib/shopify_api/logger.rb
360
364
  - lib/shopify_api/rest/base.rb
361
365
  - lib/shopify_api/rest/base_errors.rb
362
- - lib/shopify_api/rest/resources/2022_01/abandoned_checkout.rb
363
- - lib/shopify_api/rest/resources/2022_01/access_scope.rb
364
- - lib/shopify_api/rest/resources/2022_01/android_pay_key.rb
365
- - lib/shopify_api/rest/resources/2022_01/apple_pay_certificate.rb
366
- - lib/shopify_api/rest/resources/2022_01/application_charge.rb
367
- - lib/shopify_api/rest/resources/2022_01/application_credit.rb
368
- - lib/shopify_api/rest/resources/2022_01/article.rb
369
- - lib/shopify_api/rest/resources/2022_01/asset.rb
370
- - lib/shopify_api/rest/resources/2022_01/assigned_fulfillment_order.rb
371
- - lib/shopify_api/rest/resources/2022_01/balance.rb
372
- - lib/shopify_api/rest/resources/2022_01/blog.rb
373
- - lib/shopify_api/rest/resources/2022_01/cancellation_request.rb
374
- - lib/shopify_api/rest/resources/2022_01/carrier_service.rb
375
- - lib/shopify_api/rest/resources/2022_01/checkout.rb
376
- - lib/shopify_api/rest/resources/2022_01/collect.rb
377
- - lib/shopify_api/rest/resources/2022_01/collection.rb
378
- - lib/shopify_api/rest/resources/2022_01/collection_listing.rb
379
- - lib/shopify_api/rest/resources/2022_01/comment.rb
380
- - lib/shopify_api/rest/resources/2022_01/country.rb
381
- - lib/shopify_api/rest/resources/2022_01/currency.rb
382
- - lib/shopify_api/rest/resources/2022_01/custom_collection.rb
383
- - lib/shopify_api/rest/resources/2022_01/customer.rb
384
- - lib/shopify_api/rest/resources/2022_01/customer_address.rb
385
- - lib/shopify_api/rest/resources/2022_01/customer_saved_search.rb
386
- - lib/shopify_api/rest/resources/2022_01/deprecated_api_call.rb
387
- - lib/shopify_api/rest/resources/2022_01/discount_code.rb
388
- - lib/shopify_api/rest/resources/2022_01/dispute.rb
389
- - lib/shopify_api/rest/resources/2022_01/draft_order.rb
390
- - lib/shopify_api/rest/resources/2022_01/event.rb
391
- - lib/shopify_api/rest/resources/2022_01/fulfillment.rb
392
- - lib/shopify_api/rest/resources/2022_01/fulfillment_event.rb
393
- - lib/shopify_api/rest/resources/2022_01/fulfillment_order.rb
394
- - lib/shopify_api/rest/resources/2022_01/fulfillment_request.rb
395
- - lib/shopify_api/rest/resources/2022_01/fulfillment_service.rb
396
- - lib/shopify_api/rest/resources/2022_01/gift_card.rb
397
- - lib/shopify_api/rest/resources/2022_01/gift_card_adjustment.rb
398
- - lib/shopify_api/rest/resources/2022_01/image.rb
399
- - lib/shopify_api/rest/resources/2022_01/inventory_item.rb
400
- - lib/shopify_api/rest/resources/2022_01/inventory_level.rb
401
- - lib/shopify_api/rest/resources/2022_01/location.rb
402
- - lib/shopify_api/rest/resources/2022_01/locations_for_move.rb
403
- - lib/shopify_api/rest/resources/2022_01/marketing_event.rb
404
- - lib/shopify_api/rest/resources/2022_01/metafield.rb
405
- - lib/shopify_api/rest/resources/2022_01/mobile_platform_application.rb
406
- - lib/shopify_api/rest/resources/2022_01/order.rb
407
- - lib/shopify_api/rest/resources/2022_01/order_risk.rb
408
- - lib/shopify_api/rest/resources/2022_01/page.rb
409
- - lib/shopify_api/rest/resources/2022_01/payment.rb
410
- - lib/shopify_api/rest/resources/2022_01/payment_gateway.rb
411
- - lib/shopify_api/rest/resources/2022_01/payment_transaction.rb
412
- - lib/shopify_api/rest/resources/2022_01/payout.rb
413
- - lib/shopify_api/rest/resources/2022_01/policy.rb
414
- - lib/shopify_api/rest/resources/2022_01/price_rule.rb
415
- - lib/shopify_api/rest/resources/2022_01/product.rb
416
- - lib/shopify_api/rest/resources/2022_01/product_listing.rb
417
- - lib/shopify_api/rest/resources/2022_01/product_resource_feedback.rb
418
- - lib/shopify_api/rest/resources/2022_01/province.rb
419
- - lib/shopify_api/rest/resources/2022_01/recurring_application_charge.rb
420
- - lib/shopify_api/rest/resources/2022_01/redirect.rb
421
- - lib/shopify_api/rest/resources/2022_01/refund.rb
422
- - lib/shopify_api/rest/resources/2022_01/report.rb
423
- - lib/shopify_api/rest/resources/2022_01/resource_feedback.rb
424
- - lib/shopify_api/rest/resources/2022_01/script_tag.rb
425
- - lib/shopify_api/rest/resources/2022_01/shipping_zone.rb
426
- - lib/shopify_api/rest/resources/2022_01/shop.rb
427
- - lib/shopify_api/rest/resources/2022_01/smart_collection.rb
428
- - lib/shopify_api/rest/resources/2022_01/storefront_access_token.rb
429
- - lib/shopify_api/rest/resources/2022_01/tender_transaction.rb
430
- - lib/shopify_api/rest/resources/2022_01/theme.rb
431
- - lib/shopify_api/rest/resources/2022_01/transaction.rb
432
- - lib/shopify_api/rest/resources/2022_01/usage_charge.rb
433
- - lib/shopify_api/rest/resources/2022_01/user.rb
434
- - lib/shopify_api/rest/resources/2022_01/variant.rb
435
- - lib/shopify_api/rest/resources/2022_01/webhook.rb
436
- - lib/shopify_api/rest/resources/2022_04/abandoned_checkout.rb
437
- - lib/shopify_api/rest/resources/2022_04/access_scope.rb
438
- - lib/shopify_api/rest/resources/2022_04/android_pay_key.rb
439
- - lib/shopify_api/rest/resources/2022_04/apple_pay_certificate.rb
440
- - lib/shopify_api/rest/resources/2022_04/application_charge.rb
441
- - lib/shopify_api/rest/resources/2022_04/application_credit.rb
442
- - lib/shopify_api/rest/resources/2022_04/article.rb
443
- - lib/shopify_api/rest/resources/2022_04/asset.rb
444
- - lib/shopify_api/rest/resources/2022_04/assigned_fulfillment_order.rb
445
- - lib/shopify_api/rest/resources/2022_04/balance.rb
446
- - lib/shopify_api/rest/resources/2022_04/blog.rb
447
- - lib/shopify_api/rest/resources/2022_04/cancellation_request.rb
448
- - lib/shopify_api/rest/resources/2022_04/carrier_service.rb
449
- - lib/shopify_api/rest/resources/2022_04/checkout.rb
450
- - lib/shopify_api/rest/resources/2022_04/collect.rb
451
- - lib/shopify_api/rest/resources/2022_04/collection.rb
452
- - lib/shopify_api/rest/resources/2022_04/collection_listing.rb
453
- - lib/shopify_api/rest/resources/2022_04/comment.rb
454
- - lib/shopify_api/rest/resources/2022_04/country.rb
455
- - lib/shopify_api/rest/resources/2022_04/currency.rb
456
- - lib/shopify_api/rest/resources/2022_04/custom_collection.rb
457
- - lib/shopify_api/rest/resources/2022_04/customer.rb
458
- - lib/shopify_api/rest/resources/2022_04/customer_address.rb
459
- - lib/shopify_api/rest/resources/2022_04/customer_saved_search.rb
460
- - lib/shopify_api/rest/resources/2022_04/deprecated_api_call.rb
461
- - lib/shopify_api/rest/resources/2022_04/discount_code.rb
462
- - lib/shopify_api/rest/resources/2022_04/dispute.rb
463
- - lib/shopify_api/rest/resources/2022_04/draft_order.rb
464
- - lib/shopify_api/rest/resources/2022_04/event.rb
465
- - lib/shopify_api/rest/resources/2022_04/fulfillment.rb
466
- - lib/shopify_api/rest/resources/2022_04/fulfillment_event.rb
467
- - lib/shopify_api/rest/resources/2022_04/fulfillment_order.rb
468
- - lib/shopify_api/rest/resources/2022_04/fulfillment_request.rb
469
- - lib/shopify_api/rest/resources/2022_04/fulfillment_service.rb
470
- - lib/shopify_api/rest/resources/2022_04/gift_card.rb
471
- - lib/shopify_api/rest/resources/2022_04/gift_card_adjustment.rb
472
- - lib/shopify_api/rest/resources/2022_04/image.rb
473
- - lib/shopify_api/rest/resources/2022_04/inventory_item.rb
474
- - lib/shopify_api/rest/resources/2022_04/inventory_level.rb
475
- - lib/shopify_api/rest/resources/2022_04/location.rb
476
- - lib/shopify_api/rest/resources/2022_04/locations_for_move.rb
477
- - lib/shopify_api/rest/resources/2022_04/marketing_event.rb
478
- - lib/shopify_api/rest/resources/2022_04/metafield.rb
479
- - lib/shopify_api/rest/resources/2022_04/mobile_platform_application.rb
480
- - lib/shopify_api/rest/resources/2022_04/order.rb
481
- - lib/shopify_api/rest/resources/2022_04/order_risk.rb
482
- - lib/shopify_api/rest/resources/2022_04/page.rb
483
- - lib/shopify_api/rest/resources/2022_04/payment.rb
484
- - lib/shopify_api/rest/resources/2022_04/payment_gateway.rb
485
- - lib/shopify_api/rest/resources/2022_04/payment_transaction.rb
486
- - lib/shopify_api/rest/resources/2022_04/payout.rb
487
- - lib/shopify_api/rest/resources/2022_04/policy.rb
488
- - lib/shopify_api/rest/resources/2022_04/price_rule.rb
489
- - lib/shopify_api/rest/resources/2022_04/product.rb
490
- - lib/shopify_api/rest/resources/2022_04/product_listing.rb
491
- - lib/shopify_api/rest/resources/2022_04/product_resource_feedback.rb
492
- - lib/shopify_api/rest/resources/2022_04/province.rb
493
- - lib/shopify_api/rest/resources/2022_04/recurring_application_charge.rb
494
- - lib/shopify_api/rest/resources/2022_04/redirect.rb
495
- - lib/shopify_api/rest/resources/2022_04/refund.rb
496
- - lib/shopify_api/rest/resources/2022_04/report.rb
497
- - lib/shopify_api/rest/resources/2022_04/resource_feedback.rb
498
- - lib/shopify_api/rest/resources/2022_04/script_tag.rb
499
- - lib/shopify_api/rest/resources/2022_04/shipping_zone.rb
500
- - lib/shopify_api/rest/resources/2022_04/shop.rb
501
- - lib/shopify_api/rest/resources/2022_04/smart_collection.rb
502
- - lib/shopify_api/rest/resources/2022_04/storefront_access_token.rb
503
- - lib/shopify_api/rest/resources/2022_04/tender_transaction.rb
504
- - lib/shopify_api/rest/resources/2022_04/theme.rb
505
- - lib/shopify_api/rest/resources/2022_04/transaction.rb
506
- - lib/shopify_api/rest/resources/2022_04/usage_charge.rb
507
- - lib/shopify_api/rest/resources/2022_04/user.rb
508
- - lib/shopify_api/rest/resources/2022_04/variant.rb
509
- - lib/shopify_api/rest/resources/2022_04/webhook.rb
510
366
  - lib/shopify_api/rest/resources/2022_07/abandoned_checkout.rb
511
367
  - lib/shopify_api/rest/resources/2022_07/access_scope.rb
512
368
  - lib/shopify_api/rest/resources/2022_07/android_pay_key.rb
@@ -685,6 +541,8 @@ files:
685
541
  - lib/shopify_api/rest/resources/2023_01/deprecated_api_call.rb
686
542
  - lib/shopify_api/rest/resources/2023_01/discount_code.rb
687
543
  - lib/shopify_api/rest/resources/2023_01/dispute.rb
544
+ - lib/shopify_api/rest/resources/2023_01/dispute_evidence.rb
545
+ - lib/shopify_api/rest/resources/2023_01/dispute_file_upload.rb
688
546
  - lib/shopify_api/rest/resources/2023_01/draft_order.rb
689
547
  - lib/shopify_api/rest/resources/2023_01/event.rb
690
548
  - lib/shopify_api/rest/resources/2023_01/fulfillment.rb
@@ -732,6 +590,81 @@ files:
732
590
  - lib/shopify_api/rest/resources/2023_01/user.rb
733
591
  - lib/shopify_api/rest/resources/2023_01/variant.rb
734
592
  - lib/shopify_api/rest/resources/2023_01/webhook.rb
593
+ - lib/shopify_api/rest/resources/2023_04/abandoned_checkout.rb
594
+ - lib/shopify_api/rest/resources/2023_04/access_scope.rb
595
+ - lib/shopify_api/rest/resources/2023_04/apple_pay_certificate.rb
596
+ - lib/shopify_api/rest/resources/2023_04/application_charge.rb
597
+ - lib/shopify_api/rest/resources/2023_04/application_credit.rb
598
+ - lib/shopify_api/rest/resources/2023_04/article.rb
599
+ - lib/shopify_api/rest/resources/2023_04/asset.rb
600
+ - lib/shopify_api/rest/resources/2023_04/assigned_fulfillment_order.rb
601
+ - lib/shopify_api/rest/resources/2023_04/balance.rb
602
+ - lib/shopify_api/rest/resources/2023_04/blog.rb
603
+ - lib/shopify_api/rest/resources/2023_04/cancellation_request.rb
604
+ - lib/shopify_api/rest/resources/2023_04/carrier_service.rb
605
+ - lib/shopify_api/rest/resources/2023_04/checkout.rb
606
+ - lib/shopify_api/rest/resources/2023_04/collect.rb
607
+ - lib/shopify_api/rest/resources/2023_04/collection.rb
608
+ - lib/shopify_api/rest/resources/2023_04/collection_listing.rb
609
+ - lib/shopify_api/rest/resources/2023_04/comment.rb
610
+ - lib/shopify_api/rest/resources/2023_04/country.rb
611
+ - lib/shopify_api/rest/resources/2023_04/currency.rb
612
+ - lib/shopify_api/rest/resources/2023_04/custom_collection.rb
613
+ - lib/shopify_api/rest/resources/2023_04/customer.rb
614
+ - lib/shopify_api/rest/resources/2023_04/customer_address.rb
615
+ - lib/shopify_api/rest/resources/2023_04/customer_saved_search.rb
616
+ - lib/shopify_api/rest/resources/2023_04/deprecated_api_call.rb
617
+ - lib/shopify_api/rest/resources/2023_04/discount_code.rb
618
+ - lib/shopify_api/rest/resources/2023_04/dispute.rb
619
+ - lib/shopify_api/rest/resources/2023_04/dispute_evidence.rb
620
+ - lib/shopify_api/rest/resources/2023_04/dispute_file_upload.rb
621
+ - lib/shopify_api/rest/resources/2023_04/draft_order.rb
622
+ - lib/shopify_api/rest/resources/2023_04/event.rb
623
+ - lib/shopify_api/rest/resources/2023_04/fulfillment.rb
624
+ - lib/shopify_api/rest/resources/2023_04/fulfillment_event.rb
625
+ - lib/shopify_api/rest/resources/2023_04/fulfillment_order.rb
626
+ - lib/shopify_api/rest/resources/2023_04/fulfillment_request.rb
627
+ - lib/shopify_api/rest/resources/2023_04/fulfillment_service.rb
628
+ - lib/shopify_api/rest/resources/2023_04/gift_card.rb
629
+ - lib/shopify_api/rest/resources/2023_04/gift_card_adjustment.rb
630
+ - lib/shopify_api/rest/resources/2023_04/image.rb
631
+ - lib/shopify_api/rest/resources/2023_04/inventory_item.rb
632
+ - lib/shopify_api/rest/resources/2023_04/inventory_level.rb
633
+ - lib/shopify_api/rest/resources/2023_04/location.rb
634
+ - lib/shopify_api/rest/resources/2023_04/locations_for_move.rb
635
+ - lib/shopify_api/rest/resources/2023_04/marketing_event.rb
636
+ - lib/shopify_api/rest/resources/2023_04/metafield.rb
637
+ - lib/shopify_api/rest/resources/2023_04/mobile_platform_application.rb
638
+ - lib/shopify_api/rest/resources/2023_04/order.rb
639
+ - lib/shopify_api/rest/resources/2023_04/order_risk.rb
640
+ - lib/shopify_api/rest/resources/2023_04/page.rb
641
+ - lib/shopify_api/rest/resources/2023_04/payment.rb
642
+ - lib/shopify_api/rest/resources/2023_04/payment_gateway.rb
643
+ - lib/shopify_api/rest/resources/2023_04/payment_transaction.rb
644
+ - lib/shopify_api/rest/resources/2023_04/payout.rb
645
+ - lib/shopify_api/rest/resources/2023_04/policy.rb
646
+ - lib/shopify_api/rest/resources/2023_04/price_rule.rb
647
+ - lib/shopify_api/rest/resources/2023_04/product.rb
648
+ - lib/shopify_api/rest/resources/2023_04/product_listing.rb
649
+ - lib/shopify_api/rest/resources/2023_04/product_resource_feedback.rb
650
+ - lib/shopify_api/rest/resources/2023_04/province.rb
651
+ - lib/shopify_api/rest/resources/2023_04/recurring_application_charge.rb
652
+ - lib/shopify_api/rest/resources/2023_04/redirect.rb
653
+ - lib/shopify_api/rest/resources/2023_04/refund.rb
654
+ - lib/shopify_api/rest/resources/2023_04/report.rb
655
+ - lib/shopify_api/rest/resources/2023_04/resource_feedback.rb
656
+ - lib/shopify_api/rest/resources/2023_04/script_tag.rb
657
+ - lib/shopify_api/rest/resources/2023_04/shipping_zone.rb
658
+ - lib/shopify_api/rest/resources/2023_04/shop.rb
659
+ - lib/shopify_api/rest/resources/2023_04/smart_collection.rb
660
+ - lib/shopify_api/rest/resources/2023_04/storefront_access_token.rb
661
+ - lib/shopify_api/rest/resources/2023_04/tender_transaction.rb
662
+ - lib/shopify_api/rest/resources/2023_04/theme.rb
663
+ - lib/shopify_api/rest/resources/2023_04/transaction.rb
664
+ - lib/shopify_api/rest/resources/2023_04/usage_charge.rb
665
+ - lib/shopify_api/rest/resources/2023_04/user.rb
666
+ - lib/shopify_api/rest/resources/2023_04/variant.rb
667
+ - lib/shopify_api/rest/resources/2023_04/webhook.rb
735
668
  - lib/shopify_api/utils/graphql_proxy.rb
736
669
  - lib/shopify_api/utils/hmac_validator.rb
737
670
  - lib/shopify_api/utils/http_utils.rb
@@ -802,7 +735,7 @@ files:
802
735
  - sorbet/rbi/todo.rbi
803
736
  - sorbet/tapioca/config.yml
804
737
  - sorbet/tapioca/require.rb
805
- homepage: https://shopify.dev/apps
738
+ homepage: https://shopify.dev/docs/apps
806
739
  licenses:
807
740
  - MIT
808
741
  metadata:
@@ -823,7 +756,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
823
756
  - !ruby/object:Gem::Version
824
757
  version: '0'
825
758
  requirements: []
826
- rubygems_version: 3.3.3
759
+ rubygems_version: 3.4.10
827
760
  signing_key:
828
761
  specification_version: 4
829
762
  summary: The gem for accessing the Shopify API
@@ -1,77 +0,0 @@
1
- # typed: false
2
- # frozen_string_literal: true
3
-
4
- ########################################################################################################################
5
- # This file is auto-generated. If you have an issue, please create a GitHub issue. #
6
- ########################################################################################################################
7
-
8
- module ShopifyAPI
9
- class AndroidPayKey < ShopifyAPI::Rest::Base
10
- extend T::Sig
11
-
12
- @prev_page_info = T.let(Concurrent::ThreadLocalVar.new { nil }, Concurrent::ThreadLocalVar)
13
- @next_page_info = T.let(Concurrent::ThreadLocalVar.new { nil }, Concurrent::ThreadLocalVar)
14
-
15
- sig { params(session: T.nilable(ShopifyAPI::Auth::Session)).void }
16
- def initialize(session: ShopifyAPI::Context.active_session)
17
- super(session: session)
18
-
19
- @id = T.let(nil, T.nilable(Integer))
20
- @public_key = T.let(nil, T.nilable(String))
21
- end
22
-
23
- @has_one = T.let({}, T::Hash[Symbol, Class])
24
- @has_many = T.let({}, T::Hash[Symbol, Class])
25
- @paths = T.let([
26
- {http_method: :delete, operation: :delete, ids: [:id], path: "android_pay_keys/<id>.json"},
27
- {http_method: :get, operation: :get, ids: [:id], path: "android_pay_keys/<id>.json"},
28
- {http_method: :post, operation: :post, ids: [], path: "android_pay_keys.json"}
29
- ], T::Array[T::Hash[String, T.any(T::Array[Symbol], String, Symbol)]])
30
-
31
- sig { returns(T.nilable(Integer)) }
32
- attr_reader :id
33
- sig { returns(T.nilable(String)) }
34
- attr_reader :public_key
35
-
36
- class << self
37
- sig do
38
- params(
39
- id: T.any(Integer, String),
40
- session: Auth::Session
41
- ).returns(T.nilable(AndroidPayKey))
42
- end
43
- def find(
44
- id:,
45
- session: ShopifyAPI::Context.active_session
46
- )
47
- result = base_find(
48
- session: session,
49
- ids: {id: id},
50
- params: {},
51
- )
52
- T.cast(result[0], T.nilable(AndroidPayKey))
53
- end
54
-
55
- sig do
56
- params(
57
- id: T.any(Integer, String),
58
- session: Auth::Session
59
- ).returns(T.untyped)
60
- end
61
- def delete(
62
- id:,
63
- session: ShopifyAPI::Context.active_session
64
- )
65
- request(
66
- http_method: :delete,
67
- operation: :delete,
68
- session: session,
69
- ids: {id: id},
70
- params: {},
71
- )
72
- end
73
-
74
- end
75
-
76
- end
77
- end