shopify_api 10.0.2 → 11.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +0 -1
- data/.rubocop.yml +1 -1
- data/BREAKING_CHANGES_FOR_OLDER_VERSIONS.md +110 -0
- data/CHANGELOG.md +21 -0
- data/Gemfile.lock +23 -20
- data/README.md +3 -106
- data/RELEASING.md +19 -0
- data/Rakefile +1 -1
- data/docs/usage/graphql.md +1 -1
- data/lib/shopify_api/admin_versions.rb +2 -3
- data/lib/shopify_api/auth/jwt_payload.rb +22 -8
- data/lib/shopify_api/context.rb +6 -2
- data/lib/shopify_api/rest/base.rb +33 -6
- data/lib/shopify_api/rest/resources/2021_10/abandoned_checkout.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/access_scope.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/android_pay_key.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/apple_pay_certificate.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/application_charge.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/application_credit.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/article.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/asset.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/assigned_fulfillment_order.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/balance.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/blog.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/cancellation_request.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/carrier_service.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/checkout.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/collect.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/collection.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/collection_listing.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/comment.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/country.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/currency.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/custom_collection.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/customer.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/customer_address.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/customer_saved_search.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/deprecated_api_call.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/discount_code.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/dispute.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/draft_order.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/event.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/fulfillment.rb +75 -1
- data/lib/shopify_api/rest/resources/2021_10/fulfillment_event.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/fulfillment_order.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/fulfillment_request.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/fulfillment_service.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/gift_card.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/gift_card_adjustment.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/image.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/inventory_item.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/inventory_level.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/location.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/locations_for_move.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/marketing_event.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/metafield.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/mobile_platform_application.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/order.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/order_risk.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/page.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/payment.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/payment_gateway.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/payment_transaction.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/payout.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/policy.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/price_rule.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/product.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/product_listing.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/product_resource_feedback.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/province.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/recurring_application_charge.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/redirect.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/refund.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/report.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/resource_feedback.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/script_tag.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/shipping_zone.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/shop.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/smart_collection.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/storefront_access_token.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/tender_transaction.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/theme.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/transaction.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/usage_charge.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/user.rb +4 -0
- data/lib/shopify_api/rest/resources/2021_10/variant.rb +6 -2
- data/lib/shopify_api/rest/resources/2021_10/webhook.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/abandoned_checkout.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/access_scope.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/android_pay_key.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/apple_pay_certificate.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/application_charge.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/application_credit.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/article.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/asset.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/assigned_fulfillment_order.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/balance.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/blog.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/cancellation_request.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/carrier_service.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/checkout.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/collect.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/collection.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/collection_listing.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/comment.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/country.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/currency.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/custom_collection.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/customer.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/customer_address.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/customer_saved_search.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/deprecated_api_call.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/discount_code.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/dispute.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/draft_order.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/event.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/fulfillment.rb +75 -1
- data/lib/shopify_api/rest/resources/2022_01/fulfillment_event.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/fulfillment_order.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/fulfillment_request.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/fulfillment_service.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/gift_card.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/gift_card_adjustment.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/image.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/inventory_item.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/inventory_level.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/location.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/locations_for_move.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/marketing_event.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/metafield.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/mobile_platform_application.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/order.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/order_risk.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/page.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/payment.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/payment_gateway.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/payment_transaction.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/payout.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/policy.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/price_rule.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/product.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/product_listing.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/product_resource_feedback.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/province.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/recurring_application_charge.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/redirect.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/refund.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/report.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/resource_feedback.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/script_tag.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/shipping_zone.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/shop.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/smart_collection.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/storefront_access_token.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/tender_transaction.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/theme.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/transaction.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/usage_charge.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/user.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_01/variant.rb +6 -2
- data/lib/shopify_api/rest/resources/2022_01/webhook.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/abandoned_checkout.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/access_scope.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/android_pay_key.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/apple_pay_certificate.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/application_charge.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/application_credit.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/article.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/asset.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/assigned_fulfillment_order.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/balance.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/blog.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/cancellation_request.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/carrier_service.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/checkout.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/collect.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/collection.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/collection_listing.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/comment.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/country.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/currency.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/custom_collection.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/customer.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/customer_address.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/customer_saved_search.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/deprecated_api_call.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/discount_code.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/dispute.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/draft_order.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/event.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/fulfillment.rb +75 -1
- data/lib/shopify_api/rest/resources/2022_04/fulfillment_event.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/fulfillment_order.rb +7 -0
- data/lib/shopify_api/rest/resources/2022_04/fulfillment_request.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/fulfillment_service.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/gift_card.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/gift_card_adjustment.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/image.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/inventory_item.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/inventory_level.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/location.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/locations_for_move.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/marketing_event.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/metafield.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/mobile_platform_application.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/order.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/order_risk.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/page.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/payment.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/payment_gateway.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/payment_transaction.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/payout.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/policy.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/price_rule.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/product.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/product_listing.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/product_resource_feedback.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/province.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/recurring_application_charge.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/redirect.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/refund.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/report.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/resource_feedback.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/script_tag.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/shipping_zone.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/shop.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/smart_collection.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/storefront_access_token.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/tender_transaction.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/theme.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/transaction.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/usage_charge.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/user.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_04/variant.rb +6 -2
- data/lib/shopify_api/rest/resources/2022_04/webhook.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/abandoned_checkout.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/access_scope.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/android_pay_key.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/apple_pay_certificate.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/application_charge.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/application_credit.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/article.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/asset.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/assigned_fulfillment_order.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/balance.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/blog.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/cancellation_request.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/carrier_service.rb +4 -3
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/checkout.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/collect.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/collection.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/collection_listing.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/comment.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/country.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/currency.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/custom_collection.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/customer.rb +16 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/customer_address.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/customer_saved_search.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/deprecated_api_call.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/discount_code.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/dispute.rb +4 -0
- data/lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb +117 -0
- data/lib/shopify_api/rest/resources/2022_07/dispute_file_upload.rb +81 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/draft_order.rb +10 -1
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/event.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/fulfillment.rb +30 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/fulfillment_event.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/fulfillment_order.rb +87 -1
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/fulfillment_request.rb +9 -1
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/fulfillment_service.rb +7 -3
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/gift_card.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/gift_card_adjustment.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/image.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/inventory_item.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/inventory_level.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/location.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/locations_for_move.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/marketing_event.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/metafield.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/mobile_platform_application.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/order.rb +7 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/order_risk.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/page.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/payment.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/payment_gateway.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/payment_transaction.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/payout.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/policy.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/price_rule.rb +7 -3
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/product.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/product_listing.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/product_resource_feedback.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/province.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/recurring_application_charge.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/redirect.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/refund.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/report.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/resource_feedback.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/script_tag.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/shipping_zone.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/shop.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/smart_collection.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/storefront_access_token.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/tender_transaction.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/theme.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/transaction.rb +7 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/usage_charge.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/user.rb +4 -0
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/variant.rb +6 -2
- data/lib/shopify_api/rest/resources/{2021_07 → 2022_07}/webhook.rb +4 -0
- data/lib/shopify_api/version.rb +1 -1
- data/lib/shopify_api/webhooks/registry.rb +0 -1
- data/lib/shopify_api/webhooks/request.rb +1 -1
- data/sorbet/rbi/todo.rbi +0 -1
- metadata +81 -78
- data/RELEASING +0 -17
@@ -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 FulfillmentService < ShopifyAPI::Rest::Base
|
6
10
|
extend T::Sig
|
@@ -14,13 +18,13 @@ module ShopifyAPI
|
|
14
18
|
|
15
19
|
@admin_graphql_api_id = T.let(nil, T.nilable(String))
|
16
20
|
@callback_url = T.let(nil, T.nilable(String))
|
17
|
-
@format = T.let(nil, T.nilable(String))
|
18
21
|
@fulfillment_orders_opt_in = T.let(nil, T.nilable(T::Boolean))
|
19
22
|
@handle = T.let(nil, T.nilable(String))
|
20
23
|
@id = T.let(nil, T.nilable(Integer))
|
21
24
|
@inventory_management = T.let(nil, T.nilable(T::Boolean))
|
22
25
|
@location_id = T.let(nil, T.nilable(Integer))
|
23
26
|
@name = T.let(nil, T.nilable(String))
|
27
|
+
@permits_sku_sharing = T.let(nil, T.nilable(T::Boolean))
|
24
28
|
@provider_id = T.let(nil, T.nilable(String))
|
25
29
|
@requires_shipping_method = T.let(nil, T.nilable(T::Boolean))
|
26
30
|
@tracking_support = T.let(nil, T.nilable(T::Boolean))
|
@@ -40,8 +44,6 @@ module ShopifyAPI
|
|
40
44
|
attr_reader :admin_graphql_api_id
|
41
45
|
sig { returns(T.nilable(String)) }
|
42
46
|
attr_reader :callback_url
|
43
|
-
sig { returns(T.nilable(String)) }
|
44
|
-
attr_reader :format
|
45
47
|
sig { returns(T.nilable(T::Boolean)) }
|
46
48
|
attr_reader :fulfillment_orders_opt_in
|
47
49
|
sig { returns(T.nilable(String)) }
|
@@ -54,6 +56,8 @@ module ShopifyAPI
|
|
54
56
|
attr_reader :location_id
|
55
57
|
sig { returns(T.nilable(String)) }
|
56
58
|
attr_reader :name
|
59
|
+
sig { returns(T.nilable(T::Boolean)) }
|
60
|
+
attr_reader :permits_sku_sharing
|
57
61
|
sig { returns(T.nilable(String)) }
|
58
62
|
attr_reader :provider_id
|
59
63
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -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 GiftCard < 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 GiftCardAdjustment < 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 Image < 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 InventoryItem < 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 InventoryLevel < 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 Location < 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 LocationsForMove < 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 MarketingEvent < 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 Metafield < 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 MobilePlatformApplication < 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 Order < ShopifyAPI::Rest::Base
|
6
10
|
extend T::Sig
|
@@ -56,6 +60,7 @@ module ShopifyAPI
|
|
56
60
|
@original_total_duties_set = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
|
57
61
|
@payment_details = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
|
58
62
|
@payment_gateway_names = T.let(nil, T.nilable(T::Array[T.untyped]))
|
63
|
+
@payment_terms = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
|
59
64
|
@phone = T.let(nil, T.nilable(String))
|
60
65
|
@presentment_currency = T.let(nil, T.nilable(String))
|
61
66
|
@processed_at = T.let(nil, T.nilable(String))
|
@@ -198,6 +203,8 @@ module ShopifyAPI
|
|
198
203
|
attr_reader :payment_details
|
199
204
|
sig { returns(T.nilable(T::Array[String])) }
|
200
205
|
attr_reader :payment_gateway_names
|
206
|
+
sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
|
207
|
+
attr_reader :payment_terms
|
201
208
|
sig { returns(T.nilable(String)) }
|
202
209
|
attr_reader :phone
|
203
210
|
sig { returns(T.nilable(String)) }
|
@@ -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 OrderRisk < 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 Page < 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 Payment < 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 PaymentGateway < 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 PaymentTransaction < 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 Payout < 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 Policy < 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 PriceRule < ShopifyAPI::Rest::Base
|
6
10
|
extend T::Sig
|
@@ -15,6 +19,7 @@ module ShopifyAPI
|
|
15
19
|
@allocation_limit = T.let(nil, T.nilable(Integer))
|
16
20
|
@allocation_method = T.let(nil, T.nilable(String))
|
17
21
|
@created_at = T.let(nil, T.nilable(String))
|
22
|
+
@customer_segment_prerequisite_ids = T.let(nil, T.nilable(T::Array[T.untyped]))
|
18
23
|
@customer_selection = T.let(nil, T.nilable(String))
|
19
24
|
@ends_at = T.let(nil, T.nilable(String))
|
20
25
|
@entitled_collection_ids = T.let(nil, T.nilable(T::Array[T.untyped]))
|
@@ -27,7 +32,6 @@ module ShopifyAPI
|
|
27
32
|
@prerequisite_customer_ids = T.let(nil, T.nilable(T::Array[T.untyped]))
|
28
33
|
@prerequisite_product_ids = T.let(nil, T.nilable(T::Array[T.untyped]))
|
29
34
|
@prerequisite_quantity_range = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
|
30
|
-
@prerequisite_saved_search_ids = T.let(nil, T.nilable(T::Array[T.untyped]))
|
31
35
|
@prerequisite_shipping_price_range = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
|
32
36
|
@prerequisite_subtotal_range = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
|
33
37
|
@prerequisite_to_entitlement_purchase = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
|
@@ -60,6 +64,8 @@ module ShopifyAPI
|
|
60
64
|
attr_reader :allocation_method
|
61
65
|
sig { returns(T.nilable(String)) }
|
62
66
|
attr_reader :created_at
|
67
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
68
|
+
attr_reader :customer_segment_prerequisite_ids
|
63
69
|
sig { returns(T.nilable(String)) }
|
64
70
|
attr_reader :customer_selection
|
65
71
|
sig { returns(T.nilable(String)) }
|
@@ -84,8 +90,6 @@ module ShopifyAPI
|
|
84
90
|
attr_reader :prerequisite_product_ids
|
85
91
|
sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
|
86
92
|
attr_reader :prerequisite_quantity_range
|
87
|
-
sig { returns(T.nilable(T::Array[Integer])) }
|
88
|
-
attr_reader :prerequisite_saved_search_ids
|
89
93
|
sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
|
90
94
|
attr_reader :prerequisite_shipping_price_range
|
91
95
|
sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
|
@@ -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 Product < 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 ProductListing < 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 ProductResourceFeedback < 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 Province < 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 RecurringApplicationCharge < 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 Redirect < 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 Refund < 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 Report < 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 ResourceFeedback < 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 ScriptTag < 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 ShippingZone < 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 Shop < 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 SmartCollection < 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 StorefrontAccessToken < 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 TenderTransaction < 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 Theme < 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 Transaction < ShopifyAPI::Rest::Base
|
6
10
|
extend T::Sig
|
@@ -29,6 +33,7 @@ module ShopifyAPI
|
|
29
33
|
@order_id = T.let(nil, T.nilable(Integer))
|
30
34
|
@parent_id = T.let(nil, T.nilable(Integer))
|
31
35
|
@payment_details = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
|
36
|
+
@payments_refund_attributes = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
|
32
37
|
@processed_at = T.let(nil, T.nilable(String))
|
33
38
|
@receipt = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped]))
|
34
39
|
@source_name = T.let(nil, T.nilable(String))
|
@@ -80,6 +85,8 @@ module ShopifyAPI
|
|
80
85
|
attr_reader :parent_id
|
81
86
|
sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
|
82
87
|
attr_reader :payment_details
|
88
|
+
sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
|
89
|
+
attr_reader :payments_refund_attributes
|
83
90
|
sig { returns(T.nilable(String)) }
|
84
91
|
attr_reader :processed_at
|
85
92
|
sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
|
@@ -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 UsageCharge < 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 User < 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 Variant < ShopifyAPI::Rest::Base
|
6
10
|
extend T::Sig
|
@@ -36,7 +40,7 @@ module ShopifyAPI
|
|
36
40
|
@taxable = T.let(nil, T.nilable(T::Boolean))
|
37
41
|
@title = T.let(nil, T.nilable(String))
|
38
42
|
@updated_at = T.let(nil, T.nilable(String))
|
39
|
-
@weight = T.let(nil, T.nilable(
|
43
|
+
@weight = T.let(nil, T.nilable(Float))
|
40
44
|
@weight_unit = T.let(nil, T.nilable(String))
|
41
45
|
end
|
42
46
|
|
@@ -103,7 +107,7 @@ module ShopifyAPI
|
|
103
107
|
attr_reader :title
|
104
108
|
sig { returns(T.nilable(String)) }
|
105
109
|
attr_reader :updated_at
|
106
|
-
sig { returns(T.nilable(
|
110
|
+
sig { returns(T.nilable(Float)) }
|
107
111
|
attr_reader :weight
|
108
112
|
sig { returns(T.nilable(String)) }
|
109
113
|
attr_reader :weight_unit
|
@@ -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 Webhook < ShopifyAPI::Rest::Base
|
6
10
|
extend T::Sig
|
data/lib/shopify_api/version.rb
CHANGED
@@ -35,7 +35,7 @@ module ShopifyAPI
|
|
35
35
|
sig { params(raw_body: String, headers: T::Hash[String, T.untyped]).void }
|
36
36
|
def initialize(raw_body:, headers:)
|
37
37
|
# normalize the headers by forcing lowercase, removing any prepended "http"s, and changing underscores to dashes
|
38
|
-
headers = headers.to_h { |k, v| [k.downcase.sub("http_", "").gsub("_", "-"), v] }
|
38
|
+
headers = headers.to_h { |k, v| [k.to_s.downcase.sub("http_", "").gsub("_", "-"), v] }
|
39
39
|
|
40
40
|
missing_headers = []
|
41
41
|
[
|