crossly_buyer 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +473 -0
- data/Rakefile +10 -0
- data/crossly_buyer.gemspec +38 -0
- data/docs/BuyerAgentApi.md +483 -0
- data/docs/BuyerApi.md +21974 -0
- data/docs/BuyerCatalogApi.md +1496 -0
- data/docs/BuyerCheckoutApi.md +214 -0
- data/docs/BuyerMonitorsApi.md +351 -0
- data/docs/DropsApi.md +211 -0
- data/git_push.sh +57 -0
- data/lib/crossly_buyer/api/buyer_agent_api.rb +470 -0
- data/lib/crossly_buyer/api/buyer_api.rb +19835 -0
- data/lib/crossly_buyer/api/buyer_catalog_api.rb +1543 -0
- data/lib/crossly_buyer/api/buyer_checkout_api.rb +215 -0
- data/lib/crossly_buyer/api/buyer_monitors_api.rb +337 -0
- data/lib/crossly_buyer/api/drops_api.rb +205 -0
- data/lib/crossly_buyer/api_client.rb +390 -0
- data/lib/crossly_buyer/api_error.rb +57 -0
- data/lib/crossly_buyer/client.rb +18 -0
- data/lib/crossly_buyer/configuration.rb +278 -0
- data/lib/crossly_buyer/models/activity/create_buyer_activity_request.rb +337 -0
- data/lib/crossly_buyer/models/activity/create_buyer_activity_response.rb +223 -0
- data/lib/crossly_buyer/models/activity/create_buyer_activity_response_data.rb +229 -0
- data/lib/crossly_buyer/models/activity/create_buyer_activity_response_data_match.rb +339 -0
- data/lib/crossly_buyer/models/activity/create_buyer_activity_response_data_match_catalog.rb +247 -0
- data/lib/crossly_buyer/models/activity/create_buyer_activity_response_data_match_offer.rb +338 -0
- data/lib/crossly_buyer/models/activity/list_buyer_activity_item.rb +309 -0
- data/lib/crossly_buyer/models/activity/list_buyer_activity_response.rb +248 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_request.rb +275 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response.rb +300 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_links.rb +237 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_navigate.rb +238 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_payment.rb +243 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_quote.rb +459 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_quote_layaway.rb +266 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_quote_price_check.rb +327 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_quote_protection_plans.rb +261 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_react_request.rb +267 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_response.rb +261 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_response_brief.rb +464 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_response_brief_pending.rb +324 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_turn_request.rb +228 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_turn_response.rb +273 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_turn_response_action.rb +291 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_turn_response_action_quote.rb +459 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_turn_response_brief.rb +464 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_turn_response_options.rb +396 -0
- data/lib/crossly_buyer/models/agent/delete_buyer_agent_session_response.rb +223 -0
- data/lib/crossly_buyer/models/agent/get_buyer_agent_session_response.rb +291 -0
- data/lib/crossly_buyer/models/agent/get_buyer_agent_session_response_turns.rb +313 -0
- data/lib/crossly_buyer/models/agent/list_buyer_agent_sessions_item.rb +261 -0
- data/lib/crossly_buyer/models/agent/list_buyer_agent_sessions_response.rb +248 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_bid_request.rb +278 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_bid_response.rb +223 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_bid_response_data.rb +268 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_pay_response.rb +223 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_pay_response_data.rb +254 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_retract_request.rb +258 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_retract_response.rb +223 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_retract_response_data.rb +223 -0
- data/lib/crossly_buyer/models/auction/get_buyer_auction_me_response.rb +223 -0
- data/lib/crossly_buyer/models/auction/get_buyer_auction_me_response_data.rb +264 -0
- data/lib/crossly_buyer/models/auction/list_buyer_auction_bids_item.rb +248 -0
- data/lib/crossly_buyer/models/auction/list_buyer_auction_bids_response.rb +248 -0
- data/lib/crossly_buyer/models/auction/list_buyer_auctions_item.rb +338 -0
- data/lib/crossly_buyer/models/auction/list_buyer_auctions_response.rb +248 -0
- data/lib/crossly_buyer/models/board/create_buyer_board_item_request.rb +223 -0
- data/lib/crossly_buyer/models/board/create_buyer_board_request.rb +241 -0
- data/lib/crossly_buyer/models/board/create_buyer_board_response.rb +223 -0
- data/lib/crossly_buyer/models/board/create_buyer_board_response_data.rb +237 -0
- data/lib/crossly_buyer/models/board/list_buyer_boards_item.rb +303 -0
- data/lib/crossly_buyer/models/board/list_buyer_boards_response.rb +248 -0
- data/lib/crossly_buyer/models/board/update_buyer_board_layout_request.rb +225 -0
- data/lib/crossly_buyer/models/board/update_buyer_board_layout_request_items.rb +288 -0
- data/lib/crossly_buyer/models/board/update_buyer_board_request.rb +236 -0
- data/lib/crossly_buyer/models/breaks/create_buyer_break_spot_hold_response.rb +223 -0
- data/lib/crossly_buyer/models/breaks/create_buyer_break_spot_hold_response_data.rb +233 -0
- data/lib/crossly_buyer/models/breaks/get_buyer_break_response.rb +219 -0
- data/lib/crossly_buyer/models/breaks/get_buyer_break_response_data.rb +413 -0
- data/lib/crossly_buyer/models/breaks/get_buyer_break_response_data_draw.rb +237 -0
- data/lib/crossly_buyer/models/breaks/get_buyer_break_response_data_seller.rb +229 -0
- data/lib/crossly_buyer/models/breaks/get_buyer_break_response_data_spots.rb +337 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_item_request.rb +278 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_item_response.rb +223 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_item_response_data.rb +251 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_optimizer_request.rb +232 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_optimizer_response.rb +223 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_optimizer_response_data.rb +297 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_optimizer_response_data_lines.rb +247 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_optimizer_response_data_lines_line.rb +237 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_optimizer_response_data_lines_pick.rb +289 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_quote_request.rb +231 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_quote_response.rb +237 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_quote_response_data.rb +427 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_quote_response_meta.rb +223 -0
- data/lib/crossly_buyer/models/cart/list_buyer_cart_item.rb +319 -0
- data/lib/crossly_buyer/models/cart/list_buyer_cart_response.rb +248 -0
- data/lib/crossly_buyer/models/cart/list_buyer_cart_saved_item.rb +403 -0
- data/lib/crossly_buyer/models/cases/create_buyer_case_counter_request.rb +268 -0
- data/lib/crossly_buyer/models/cases/create_buyer_case_message_request.rb +279 -0
- data/lib/crossly_buyer/models/cases/create_buyer_case_respond_request.rb +258 -0
- data/lib/crossly_buyer/models/cases/get_buyer_case_response.rb +223 -0
- data/lib/crossly_buyer/models/cases/get_buyer_case_response_data.rb +259 -0
- data/lib/crossly_buyer/models/cases/get_buyer_case_response_data_case.rb +389 -0
- data/lib/crossly_buyer/models/cases/get_buyer_case_response_data_messages.rb +293 -0
- data/lib/crossly_buyer/models/cases/get_buyer_case_response_data_purchase.rb +271 -0
- data/lib/crossly_buyer/models/cases/get_buyer_case_response_data_return_shipment.rb +293 -0
- data/lib/crossly_buyer/models/cases/list_buyer_cases_item.rb +480 -0
- data/lib/crossly_buyer/models/cases/list_buyer_cases_response.rb +248 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_quote_response.rb +223 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_quote_response_data.rb +481 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_quote_response_data_buyout.rb +247 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_quote_response_data_cancellation.rb +274 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_quote_response_data_cancellation_tiers.rb +239 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_quote_response_data_lines.rb +286 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_request.rb +319 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_request_ship_to.rb +309 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_response.rb +223 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_response_data.rb +275 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_response_data_quote.rb +370 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_video_request_request.rb +219 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_video_request_response.rb +223 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_video_request_response_data.rb +333 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_facet_response.rb +257 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_fx_response.rb +251 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_availability_response.rb +293 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_my_size_response.rb +219 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_my_size_response_data.rb +341 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_my_size_response_data_one_of_brand_runs.rb +271 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_price_response.rb +223 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_price_response_data.rb +263 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_price_response_data_lowest_anywhere.rb +237 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_price_response_data_price_check.rb +341 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_price_response_data_price_match.rb +247 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response.rb +219 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data.rb +393 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_booked.rb +237 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options.rb +878 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_cancellation.rb +273 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_damage_waiver.rb +266 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_deposit.rb +285 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_extensions.rb +247 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_last_minute.rb +238 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_late_escalation.rb +271 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_length_discounts.rb +237 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_photos_back.rb +224 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_photos_out.rb +233 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_pickup.rb +243 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_seasonal.rb +262 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_policy.rb +295 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_policy_arrival_photos.rb +237 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_response.rb +473 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_response_description_blocks_item.rb +274 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_response_token_gate.rb +239 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_response_variants.rb +331 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_shipping_response.rb +425 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_shipping_response_international.rb +253 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_shipping_response_services.rb +330 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_browse_item.rb +491 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_browse_response.rb +248 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_listing_sold_history_item.rb +252 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_listing_sold_history_response.rb +248 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_listing_videos_item.rb +271 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_listing_videos_response.rb +248 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_search_item.rb +432 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_search_response.rb +248 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_sellers_item.rb +289 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_sellers_response.rb +248 -0
- data/lib/crossly_buyer/models/checkout/create_buyer_checkout_request.rb +379 -0
- data/lib/crossly_buyer/models/checkout/create_buyer_checkout_request_gift.rb +265 -0
- data/lib/crossly_buyer/models/checkout/create_buyer_checkout_request_pickup_point.rb +320 -0
- data/lib/crossly_buyer/models/checkout/create_buyer_checkout_request_pickup_point_address.rb +289 -0
- data/lib/crossly_buyer/models/checkout/create_buyer_checkout_request_ship_to.rb +298 -0
- data/lib/crossly_buyer/models/checkout/create_buyer_checkout_response.rb +327 -0
- data/lib/crossly_buyer/models/checkout/get_buyer_checkout_control_response.rb +279 -0
- data/lib/crossly_buyer/models/checkout/get_buyer_checkout_usdc_response.rb +223 -0
- data/lib/crossly_buyer/models/checkout/get_buyer_checkout_usdc_response_data.rb +263 -0
- data/lib/crossly_buyer/models/checkout/update_buyer_checkout_control_request.rb +265 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_offer_response.rb +223 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_offer_response_data.rb +283 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_offer_response_data_offer.rb +251 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_offer_response_data_pending.rb +251 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_set_response.rb +223 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_set_response_data.rb +335 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_set_response_data_group.rb +307 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_set_response_data_leaderboard.rb +251 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_set_response_data_pieces.rb +285 -0
- data/lib/crossly_buyer/models/collection/update_buyer_collection_set_leaderboard_request.rb +223 -0
- data/lib/crossly_buyer/models/collection/update_buyer_collection_set_leaderboard_response.rb +223 -0
- data/lib/crossly_buyer/models/collection/update_buyer_collection_set_leaderboard_response_data.rb +237 -0
- data/lib/crossly_buyer/models/common/buyer_board_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_board_response_data.rb +339 -0
- data/lib/crossly_buyer/models/common/buyer_board_response_data_items.rb +347 -0
- data/lib/crossly_buyer/models/common/buyer_cart_response.rb +248 -0
- data/lib/crossly_buyer/models/common/buyer_company_response.rb +219 -0
- data/lib/crossly_buyer/models/common/buyer_company_response_data.rb +303 -0
- data/lib/crossly_buyer/models/common/buyer_company_response_data_addresses.rb +351 -0
- data/lib/crossly_buyer/models/common/buyer_company_response_data_members.rb +335 -0
- data/lib/crossly_buyer/models/common/buyer_company_response_data_you.rb +281 -0
- data/lib/crossly_buyer/models/common/buyer_home_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data.rb +496 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_decor.rb +252 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_gift_shelf.rb +254 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_gift_shelf_items.rb +271 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_guestbook.rb +291 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_guestbook_author.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_layout.rb +395 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_layout_item.rb +343 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_layout_ref.rb +271 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_owner.rb +237 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_pin_case.rb +251 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_pulls_shelf.rb +226 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_pulls_shelf_items.rb +305 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_room.rb +341 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_room_floor.rb +265 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_set_wall.rb +297 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_set_wall_choices.rb +265 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_set_wall_pieces.rb +261 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_vault_wall.rb +271 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_vault_wall_units.rb +280 -0
- data/lib/crossly_buyer/models/common/buyer_layaway_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_registry_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_registry_response_data.rb +363 -0
- data/lib/crossly_buyer/models/common/buyer_registry_response_data_items.rb +345 -0
- data/lib/crossly_buyer/models/common/buyer_rental_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_rental_response_data.rb +928 -0
- data/lib/crossly_buyer/models/common/buyer_rental_response_data_inspection.rb +237 -0
- data/lib/crossly_buyer/models/common/buyer_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_response2.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_response2_data.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_response3.rb +248 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_order_sheet_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_order_sheet_response_data.rb +374 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_order_sheet_response_data_lines.rb +407 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_order_sheet_response_data_lines_flags_item.rb +40 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_order_sheet_response_data_lines_terms.rb +281 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_quote_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_quote_response_data.rb +450 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_quote_response_data_items.rb +311 -0
- data/lib/crossly_buyer/models/common/create_buyer_company_approval_response.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_company_approval_response_data.rb +377 -0
- data/lib/crossly_buyer/models/common/create_buyer_conversation_join_response.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_conversation_join_response_data.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_drop_join_response.rb +251 -0
- data/lib/crossly_buyer/models/common/create_buyer_drop_join_response_me.rb +364 -0
- data/lib/crossly_buyer/models/common/create_buyer_following_seller_seen_request.rb +219 -0
- data/lib/crossly_buyer/models/common/create_buyer_following_seller_seen_response.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_following_seller_seen_response_data.rb +237 -0
- data/lib/crossly_buyer/models/common/create_buyer_group_buy_join_response.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_group_buy_join_response_data.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_identify_request.rb +268 -0
- data/lib/crossly_buyer/models/common/create_buyer_identify_response.rb +449 -0
- data/lib/crossly_buyer/models/common/create_buyer_identify_response_visual_matches.rb +276 -0
- data/lib/crossly_buyer/models/common/create_buyer_layaway_pay_request.rb +218 -0
- data/lib/crossly_buyer/models/common/create_buyer_market_bid_response.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_market_bid_response_data.rb +237 -0
- data/lib/crossly_buyer/models/common/create_buyer_protection_plan_cancel_response.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_protection_plan_cancel_response_data.rb +223 -0
- data/lib/crossly_buyer/models/common/delete_buyer_drop_join_response.rb +223 -0
- data/lib/crossly_buyer/models/common/delete_buyer_try_on_response.rb +223 -0
- data/lib/crossly_buyer/models/common/delete_buyer_try_on_response_data.rb +223 -0
- data/lib/crossly_buyer/models/common/error.rb +234 -0
- data/lib/crossly_buyer/models/common/error_error.rb +250 -0
- data/lib/crossly_buyer/models/common/for_occasion.rb +230 -0
- data/lib/crossly_buyer/models/common/get_buyer_anywhere_response.rb +339 -0
- data/lib/crossly_buyer/models/common/get_buyer_badge_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_badge_response_data.rb +279 -0
- data/lib/crossly_buyer/models/common/get_buyer_creator_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_creator_response_data.rb +239 -0
- data/lib/crossly_buyer/models/common/get_buyer_creator_response_data_creator.rb +263 -0
- data/lib/crossly_buyer/models/common/get_buyer_drop_me_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_fit_vocabulary_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_fit_vocabulary_response_data.rb +225 -0
- data/lib/crossly_buyer/models/common/get_buyer_fit_vocabulary_response_data_kinds.rb +253 -0
- data/lib/crossly_buyer/models/common/get_buyer_group_buy_share_link_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_group_buy_share_link_response_data.rb +267 -0
- data/lib/crossly_buyer/models/common/get_buyer_group_buy_share_link_response_data_next.rb +237 -0
- data/lib/crossly_buyer/models/common/get_buyer_impact_response.rb +219 -0
- data/lib/crossly_buyer/models/common/get_buyer_impact_response_data.rb +265 -0
- data/lib/crossly_buyer/models/common/get_buyer_market_purchase_option_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_market_purchase_option_response_data.rb +253 -0
- data/lib/crossly_buyer/models/common/get_buyer_market_purchase_option_response_data_grading_runs.rb +279 -0
- data/lib/crossly_buyer/models/common/get_buyer_party_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_preference_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_preference_response_data.rb +278 -0
- data/lib/crossly_buyer/models/common/get_buyer_preference_response_data_brands.rb +237 -0
- data/lib/crossly_buyer/models/common/get_buyer_preference_response_data_price_band.rb +252 -0
- data/lib/crossly_buyer/models/common/get_buyer_preference_response_data_retailers.rb +237 -0
- data/lib/crossly_buyer/models/common/get_buyer_price_guide_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_price_guide_response_data.rb +285 -0
- data/lib/crossly_buyer/models/common/get_buyer_profile_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_profile_response_data.rb +273 -0
- data/lib/crossly_buyer/models/common/list_buyer_cashback_item.rb +340 -0
- data/lib/crossly_buyer/models/common/list_buyer_cashback_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_clubs_item.rb +297 -0
- data/lib/crossly_buyer/models/common/list_buyer_clubs_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_following_sellers_item.rb +306 -0
- data/lib/crossly_buyer/models/common/list_buyer_following_sellers_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_hotspots_item.rb +319 -0
- data/lib/crossly_buyer/models/common/list_buyer_hotspots_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_hunts_item.rb +293 -0
- data/lib/crossly_buyer/models/common/list_buyer_hunts_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_layaways_item.rb +429 -0
- data/lib/crossly_buyer/models/common/list_buyer_layaways_item_schedule.rb +251 -0
- data/lib/crossly_buyer/models/common/list_buyer_layaways_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_parties_item.rb +293 -0
- data/lib/crossly_buyer/models/common/list_buyer_parties_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_payment_methods_item.rb +293 -0
- data/lib/crossly_buyer/models/common/list_buyer_payment_methods_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_protection_plans_item.rb +349 -0
- data/lib/crossly_buyer/models/common/list_buyer_protection_plans_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_registries_item.rb +317 -0
- data/lib/crossly_buyer/models/common/list_buyer_registries_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_size_memory_prompts_item.rb +271 -0
- data/lib/crossly_buyer/models/common/list_buyer_size_memory_prompts_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_size_memory_sizes_item.rb +307 -0
- data/lib/crossly_buyer/models/common/list_buyer_size_memory_sizes_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_subscriptions_item.rb +299 -0
- data/lib/crossly_buyer/models/common/list_buyer_subscriptions_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_try_ons_item.rb +285 -0
- data/lib/crossly_buyer/models/common/list_buyer_try_ons_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_video_requests_item.rb +333 -0
- data/lib/crossly_buyer/models/common/list_buyer_video_requests_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_wallet_perks_item.rb +333 -0
- data/lib/crossly_buyer/models/common/list_buyer_wallet_perks_response.rb +248 -0
- data/lib/crossly_buyer/models/common/ns_value.rb +272 -0
- data/lib/crossly_buyer/models/common/pagination.rb +308 -0
- data/lib/crossly_buyer/models/common/update_buyer_payment_method_default_response.rb +223 -0
- data/lib/crossly_buyer/models/common/update_buyer_payment_method_default_response_data.rb +237 -0
- data/lib/crossly_buyer/models/common/value_count.rb +233 -0
- data/lib/crossly_buyer/models/creation/get_buyer_creation_response.rb +223 -0
- data/lib/crossly_buyer/models/creation/get_buyer_creation_response_data.rb +343 -0
- data/lib/crossly_buyer/models/creation/get_buyer_creation_response_data_reviews.rb +305 -0
- data/lib/crossly_buyer/models/creation/get_buyer_creation_response_data_summary.rb +249 -0
- data/lib/crossly_buyer/models/creation/get_buyer_creation_response_data_viewer.rb +257 -0
- data/lib/crossly_buyer/models/creation/get_buyer_creation_response_data_viewer_review.rb +305 -0
- data/lib/crossly_buyer/models/creation/list_buyer_creation_reviewable_item.rb +313 -0
- data/lib/crossly_buyer/models/creation/list_buyer_creation_reviewable_item_review.rb +247 -0
- data/lib/crossly_buyer/models/creation/list_buyer_creation_reviewable_response.rb +248 -0
- data/lib/crossly_buyer/models/creation/update_buyer_creation_review_request.rb +277 -0
- data/lib/crossly_buyer/models/creation/update_buyer_creation_review_response.rb +223 -0
- data/lib/crossly_buyer/models/event/create_buyer_event_rsvp_request.rb +252 -0
- data/lib/crossly_buyer/models/event/create_buyer_event_rsvp_response.rb +223 -0
- data/lib/crossly_buyer/models/event/create_buyer_event_rsvp_response_data.rb +257 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response.rb +223 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data.rb +533 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data_drop_ref.rb +271 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data_host.rb +253 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data_host_store.rb +261 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data_listings.rb +261 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data_live_show.rb +265 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data_promo.rb +237 -0
- data/lib/crossly_buyer/models/event/list_buyer_events_item.rb +371 -0
- data/lib/crossly_buyer/models/event/list_buyer_events_response.rb +248 -0
- data/lib/crossly_buyer/models/feedback/create_buyer_feedback_item.rb +247 -0
- data/lib/crossly_buyer/models/feedback/create_buyer_feedback_request.rb +254 -0
- data/lib/crossly_buyer/models/feedback/create_buyer_feedback_request_reviews.rb +428 -0
- data/lib/crossly_buyer/models/feedback/create_buyer_feedback_response.rb +248 -0
- data/lib/crossly_buyer/models/feedback/list_buyer_feedback_item.rb +351 -0
- data/lib/crossly_buyer/models/feedback/list_buyer_feedback_pending_item.rb +287 -0
- data/lib/crossly_buyer/models/feedback/list_buyer_feedback_pending_response.rb +248 -0
- data/lib/crossly_buyer/models/feedback/list_buyer_feedback_response.rb +248 -0
- data/lib/crossly_buyer/models/feedback/update_buyer_feedback_request.rb +413 -0
- data/lib/crossly_buyer/models/gift/create_buyer_gift_card_redeem_request.rb +251 -0
- data/lib/crossly_buyer/models/gift/create_buyer_gift_card_redeem_response.rb +223 -0
- data/lib/crossly_buyer/models/gift/create_buyer_gift_card_redeem_response_data.rb +309 -0
- data/lib/crossly_buyer/models/gift/create_buyer_gift_card_request.rb +322 -0
- data/lib/crossly_buyer/models/gift/create_buyer_gift_card_response.rb +223 -0
- data/lib/crossly_buyer/models/gift/create_buyer_gift_card_response_data.rb +321 -0
- data/lib/crossly_buyer/models/gift/get_buyer_gift_finder_option_response.rb +223 -0
- data/lib/crossly_buyer/models/gift/get_buyer_gift_finder_option_response_data.rb +241 -0
- data/lib/crossly_buyer/models/gift/get_buyer_gift_finder_option_response_data_budgets.rb +237 -0
- data/lib/crossly_buyer/models/gift/get_buyer_gift_finder_option_response_data_recipients.rb +253 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_card_credit_item.rb +311 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_card_credit_response.rb +248 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_cards_item.rb +366 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_cards_response.rb +248 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_finder_item.rb +267 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_finder_response.rb +248 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_sent_item.rb +333 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_sent_response.rb +248 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_pet_response.rb +223 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_pet_response_data.rb +269 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_pet_response_data_pets.rb +351 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_placeable_response.rb +223 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_placeable_response_data.rb +241 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_placeable_response_data_items.rb +321 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_placeable_response_data_items_ref.rb +271 -0
- data/lib/crossly_buyer/models/home/list_buyer_home_builders_item.rb +252 -0
- data/lib/crossly_buyer/models/home/list_buyer_home_builders_response.rb +248 -0
- data/lib/crossly_buyer/models/home/list_buyer_home_building_item.rb +237 -0
- data/lib/crossly_buyer/models/home/list_buyer_home_building_response.rb +248 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_builder_request.rb +225 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_layout_request.rb +225 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_pet_active_request.rb +253 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_pet_active_response.rb +223 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_pet_active_response_data.rb +253 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_request.rb +292 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_request_decor.rb +239 -0
- data/lib/crossly_buyer/models/listing/create_buyer_listing_split_response.rb +223 -0
- data/lib/crossly_buyer/models/listing/create_buyer_listing_split_response_data.rb +253 -0
- data/lib/crossly_buyer/models/listing/create_buyer_listing_split_response_data_shares.rb +251 -0
- data/lib/crossly_buyer/models/listing/create_buyer_listing_try_on_request.rb +241 -0
- data/lib/crossly_buyer/models/listing/create_buyer_listing_try_on_response.rb +223 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_audio_summary_response.rb +223 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_audio_summary_response_data.rb +247 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_bought_together_response.rb +223 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_bought_together_response_data.rb +253 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_bought_together_response_data_items.rb +271 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_break_response.rb +219 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_break_response_data.rb +327 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_cert_response.rb +219 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_cert_response_data.rb +371 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_fit_response.rb +223 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_fit_response_data.rb +235 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_fit_response_data_chart.rb +253 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_fit_response_data_chart_rows.rb +251 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_fit_response_data_comparisons.rb +251 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_fit_response_data_comparisons_result.rb +237 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_group_buy_response.rb +219 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_group_buy_response_data.rb +293 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_impact_response.rb +219 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_impact_response_data.rb +271 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_landed_cost_response.rb +439 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_resale_value_response.rb +219 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_resale_value_response_data.rb +299 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_subscribe_offer_response.rb +219 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_subscribe_offer_response_data.rb +267 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_try_on_response.rb +223 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_try_on_response_data.rb +237 -0
- data/lib/crossly_buyer/models/listing/list_buyer_listing_quick_questions_item.rb +237 -0
- data/lib/crossly_buyer/models/listing/list_buyer_listing_quick_questions_response.rb +248 -0
- data/lib/crossly_buyer/models/listing/list_buyer_listing_seller_reviews_item.rb +311 -0
- data/lib/crossly_buyer/models/listing/list_buyer_listing_seller_reviews_item_item.rb +229 -0
- data/lib/crossly_buyer/models/listing/list_buyer_listing_seller_reviews_item_media.rb +237 -0
- data/lib/crossly_buyer/models/listing/list_buyer_listing_seller_reviews_response.rb +248 -0
- data/lib/crossly_buyer/models/live/get_buyer_live_stream_auction_response.rb +219 -0
- data/lib/crossly_buyer/models/live/get_buyer_live_stream_auction_response_data.rb +247 -0
- data/lib/crossly_buyer/models/live/list_buyer_live_shipments_item.rb +335 -0
- data/lib/crossly_buyer/models/live/list_buyer_live_shipments_item_orders.rb +271 -0
- data/lib/crossly_buyer/models/live/list_buyer_live_shipments_response.rb +248 -0
- data/lib/crossly_buyer/models/live/list_buyer_live_stream_lineup_item.rb +323 -0
- data/lib/crossly_buyer/models/live/list_buyer_live_stream_lineup_response.rb +248 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_request.rb +237 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response.rb +461 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_alternates.rb +383 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_candidates.rb +282 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_coupon.rb +284 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_crossly.rb +299 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_hud.rb +343 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_hud_action.rb +282 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_hud_confirm.rb +283 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_hud_coupon.rb +254 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_hud_facts.rb +282 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_identifier.rb +271 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_offsite.rb +383 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_observe_request.rb +266 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_observe_request_attributes.rb +257 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_request.rb +223 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_response.rb +237 -0
- data/lib/crossly_buyer/models/loyalty/create_buyer_loyalty_reward_redeem_response.rb +223 -0
- data/lib/crossly_buyer/models/loyalty/create_buyer_loyalty_reward_redeem_response_data.rb +317 -0
- data/lib/crossly_buyer/models/loyalty/get_buyer_loyalty_reward_response.rb +223 -0
- data/lib/crossly_buyer/models/loyalty/get_buyer_loyalty_reward_response_data.rb +297 -0
- data/lib/crossly_buyer/models/loyalty/get_buyer_loyalty_reward_response_data_items.rb +299 -0
- data/lib/crossly_buyer/models/loyalty/get_buyer_loyalty_reward_response_data_redeemed.rb +223 -0
- data/lib/crossly_buyer/models/loyalty/list_buyer_loyalty_item.rb +375 -0
- data/lib/crossly_buyer/models/loyalty/list_buyer_loyalty_points_item.rb +279 -0
- data/lib/crossly_buyer/models/loyalty/list_buyer_loyalty_points_response.rb +248 -0
- data/lib/crossly_buyer/models/loyalty/list_buyer_loyalty_response.rb +248 -0
- data/lib/crossly_buyer/models/monitor/create_buyer_monitor_request.rb +310 -0
- data/lib/crossly_buyer/models/monitor/create_buyer_monitor_request_query.rb +282 -0
- data/lib/crossly_buyer/models/monitor/list_buyer_monitor_matches_item.rb +261 -0
- data/lib/crossly_buyer/models/monitor/list_buyer_monitor_matches_response.rb +248 -0
- data/lib/crossly_buyer/models/monitor/list_buyer_monitors_item.rb +403 -0
- data/lib/crossly_buyer/models/monitor/list_buyer_monitors_response.rb +248 -0
- data/lib/crossly_buyer/models/monitor/update_buyer_monitor_request.rb +227 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_request.rb +280 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_respond_request.rb +283 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_respond_response.rb +223 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_respond_response_data.rb +246 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_response.rb +223 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_response_data.rb +237 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_response_data_offer.rb +289 -0
- data/lib/crossly_buyer/models/offer/list_buyer_offers_item.rb +456 -0
- data/lib/crossly_buyer/models/offer/list_buyer_offers_item_items.rb +278 -0
- data/lib/crossly_buyer/models/offer/list_buyer_offers_response.rb +248 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_cancel_response.rb +223 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_cancel_response_data.rb +238 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_inr_request.rb +279 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_inr_response.rb +223 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_inr_response_data.rb +233 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_received_response.rb +223 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_received_response_data.rb +258 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_tip_response.rb +223 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_tip_response_data.rb +223 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_eligibility_response.rb +223 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_eligibility_response_data.rb +375 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_eligibility_response_data_inr.rb +254 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_export_response.rb +223 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_export_response_data.rb +251 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_price_protection_response.rb +219 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_price_protection_response_data.rb +251 -0
- data/lib/crossly_buyer/models/order/list_buyer_orders_item.rb +275 -0
- data/lib/crossly_buyer/models/order/list_buyer_orders_response.rb +248 -0
- data/lib/crossly_buyer/models/pack/create_buyer_pack_fairness_rotate_request.rb +219 -0
- data/lib/crossly_buyer/models/pack/create_buyer_pack_open_request.rb +232 -0
- data/lib/crossly_buyer/models/pack/create_buyer_pack_open_response.rb +223 -0
- data/lib/crossly_buyer/models/pack/create_buyer_pack_open_response_data.rb +237 -0
- data/lib/crossly_buyer/models/pack/create_buyer_pack_opening_sell_back_response.rb +223 -0
- data/lib/crossly_buyer/models/pack/create_buyer_pack_opening_sell_back_response_data.rb +223 -0
- data/lib/crossly_buyer/models/pack/get_buyer_pack_fairness_response.rb +223 -0
- data/lib/crossly_buyer/models/pack/get_buyer_pack_fairness_response_data.rb +267 -0
- data/lib/crossly_buyer/models/pack/get_buyer_pack_fairness_response_data_revealed.rb +293 -0
- data/lib/crossly_buyer/models/pack/get_buyer_pack_response.rb +223 -0
- data/lib/crossly_buyer/models/pack/list_buyer_pack_openings_item.rb +363 -0
- data/lib/crossly_buyer/models/pack/list_buyer_pack_openings_item_proof.rb +305 -0
- data/lib/crossly_buyer/models/pack/list_buyer_pack_openings_item_proof_tier_weights.rb +237 -0
- data/lib/crossly_buyer/models/pack/list_buyer_pack_openings_response.rb +248 -0
- data/lib/crossly_buyer/models/pack/list_buyer_packs_item.rb +387 -0
- data/lib/crossly_buyer/models/pack/list_buyer_packs_item_chase.rb +257 -0
- data/lib/crossly_buyer/models/pack/list_buyer_packs_item_tiers.rb +313 -0
- data/lib/crossly_buyer/models/pack/list_buyer_packs_response.rb +248 -0
- data/lib/crossly_buyer/models/passport/create_buyer_passport_claim_request.rb +227 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response.rb +223 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data.rb +457 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_authenticated.rb +229 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_details.rb +249 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_grading.rb +247 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_history.rb +223 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_holder.rb +241 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_item.rb +265 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_timeline.rb +247 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_verdict.rb +273 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_verdict_checks.rb +233 -0
- data/lib/crossly_buyer/models/purchase/create_buyer_purchase_fit_request.rb +257 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_delivery_response.rb +223 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_delivery_response_data.rb +253 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_live_moment_response.rb +219 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_live_moment_response_data.rb +303 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_return_response.rb +223 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_return_response_data.rb +253 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_return_response_data_reasons.rb +257 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_story_response.rb +219 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_story_response_data.rb +233 -0
- data/lib/crossly_buyer/models/registry/create_buyer_registry_gift_thanked_request.rb +223 -0
- data/lib/crossly_buyer/models/registry/create_buyer_registry_gift_thanked_response.rb +223 -0
- data/lib/crossly_buyer/models/registry/create_buyer_registry_gift_thanked_response_data.rb +237 -0
- data/lib/crossly_buyer/models/registry/create_buyer_registry_request.rb +291 -0
- data/lib/crossly_buyer/models/registry/create_buyer_registry_response.rb +223 -0
- data/lib/crossly_buyer/models/registry/create_buyer_registry_response_data.rb +337 -0
- data/lib/crossly_buyer/models/registry/list_buyer_registry_gifts_item.rb +303 -0
- data/lib/crossly_buyer/models/registry/list_buyer_registry_gifts_response.rb +248 -0
- data/lib/crossly_buyer/models/registry/list_buyer_registry_search_item.rb +275 -0
- data/lib/crossly_buyer/models/registry/list_buyer_registry_search_response.rb +248 -0
- data/lib/crossly_buyer/models/registry/update_buyer_registry_item_request.rb +223 -0
- data/lib/crossly_buyer/models/registry/update_buyer_registry_item_response.rb +223 -0
- data/lib/crossly_buyer/models/registry/update_buyer_registry_item_response_data.rb +237 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_arrival_photo_request.rb +225 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_buyout_response.rb +223 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_buyout_response_data.rb +275 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_claim_response_request.rb +223 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_extension_pay_response.rb +223 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_extension_pay_response_data.rb +233 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_extension_request.rb +223 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_extension_response.rb +223 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_extension_response_data.rb +284 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_identity_start_response.rb +223 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_identity_start_response_data.rb +247 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_return_shipped_request.rb +220 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_eligibility_response.rb +223 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_eligibility_response_data.rb +257 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response.rb +223 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data.rb +1123 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_buyout.rb +265 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_events.rb +281 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_extension.rb +265 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_extensions.rb +303 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_payments.rb +375 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_shipping.rb +289 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_timeline.rb +309 -0
- data/lib/crossly_buyer/models/rental/list_buyer_rentals_item.rb +795 -0
- data/lib/crossly_buyer/models/rental/list_buyer_rentals_response.rb +248 -0
- data/lib/crossly_buyer/models/scan/create_buyer_scan_request.rb +267 -0
- data/lib/crossly_buyer/models/scan/create_buyer_scan_response.rb +421 -0
- data/lib/crossly_buyer/models/scan/create_buyer_scan_session_end_response.rb +285 -0
- data/lib/crossly_buyer/models/scan/create_buyer_scan_session_request.rb +261 -0
- data/lib/crossly_buyer/models/scan/create_buyer_scan_session_response.rb +275 -0
- data/lib/crossly_buyer/models/scan/get_buyer_scan_session_response.rb +330 -0
- data/lib/crossly_buyer/models/scan/get_buyer_scan_session_response_captures.rb +295 -0
- data/lib/crossly_buyer/models/scan/get_buyer_scan_session_response_captures_identifier.rb +237 -0
- data/lib/crossly_buyer/models/scan/list_buyer_scan_sessions_item.rb +299 -0
- data/lib/crossly_buyer/models/scan/list_buyer_scan_sessions_response.rb +248 -0
- data/lib/crossly_buyer/models/seller/create_buyer_seller_club_join_response.rb +223 -0
- data/lib/crossly_buyer/models/seller/create_buyer_seller_club_join_response_data.rb +273 -0
- data/lib/crossly_buyer/models/seller/create_buyer_seller_club_join_response_data_member.rb +271 -0
- data/lib/crossly_buyer/models/seller/create_buyer_seller_club_join_response_data_member_next.rb +237 -0
- data/lib/crossly_buyer/models/seller/create_buyer_seller_club_join_response_data_tiers.rb +261 -0
- data/lib/crossly_buyer/models/seller/create_buyer_seller_report_request.rb +293 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_club_response.rb +219 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_club_response_data.rb +273 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response.rb +219 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data.rb +375 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member.rb +323 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member_history.rb +253 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member_next.rb +265 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member_next_tier.rb +305 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member_perks.rb +319 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member_standing.rb +261 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member_tier.rb +305 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_trust_response.rb +223 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_trust_response_data.rb +319 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_trust_response_data_rating.rb +237 -0
- data/lib/crossly_buyer/models/store/create_buyer_store_report_response.rb +223 -0
- data/lib/crossly_buyer/models/store/create_buyer_store_report_response_data.rb +248 -0
- data/lib/crossly_buyer/models/store/list_buyer_store_credit_item.rb +303 -0
- data/lib/crossly_buyer/models/store/list_buyer_store_credit_response.rb +248 -0
- data/lib/crossly_buyer/models/store/list_buyer_store_listings_item.rb +335 -0
- data/lib/crossly_buyer/models/store/list_buyer_store_listings_response.rb +248 -0
- data/lib/crossly_buyer/models/together/create_buyer_together_response.rb +223 -0
- data/lib/crossly_buyer/models/together/create_buyer_together_response_data.rb +237 -0
- data/lib/crossly_buyer/models/together/get_buyer_together_response.rb +219 -0
- data/lib/crossly_buyer/models/together/get_buyer_together_response_data.rb +327 -0
- data/lib/crossly_buyer/models/together/get_buyer_together_response_data_items.rb +341 -0
- data/lib/crossly_buyer/models/together/get_buyer_together_response_data_members.rb +237 -0
- data/lib/crossly_buyer/models/together/get_buyer_together_response_data_messages.rb +279 -0
- data/lib/crossly_buyer/models/together/list_buyer_together_item.rb +251 -0
- data/lib/crossly_buyer/models/together/list_buyer_together_response.rb +248 -0
- data/lib/crossly_buyer/models/total/create_buyer_total_request_request.rb +249 -0
- data/lib/crossly_buyer/models/total/create_buyer_total_request_response.rb +223 -0
- data/lib/crossly_buyer/models/total/create_buyer_total_request_response_data.rb +237 -0
- data/lib/crossly_buyer/models/total/list_buyer_total_requests_item.rb +339 -0
- data/lib/crossly_buyer/models/total/list_buyer_total_requests_item_lines.rb +237 -0
- data/lib/crossly_buyer/models/total/list_buyer_total_requests_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/create_buyer_vault_list_request.rb +232 -0
- data/lib/crossly_buyer/models/vault/create_buyer_vault_list_response.rb +223 -0
- data/lib/crossly_buyer/models/vault/create_buyer_vault_list_response_data.rb +237 -0
- data/lib/crossly_buyer/models/vault/create_buyer_vault_withdraw_request.rb +252 -0
- data/lib/crossly_buyer/models/vault/create_buyer_vault_withdraw_response.rb +223 -0
- data/lib/crossly_buyer/models/vault/create_buyer_vault_withdraw_response_data.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_history_response.rb +253 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_history_response_now.rb +321 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_history_response_now_marks.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_history_response_series.rb +293 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_history_response_today.rb +249 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_index_response.rb +533 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_index_response_history.rb +265 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_index_response_last_close.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_index_response_now.rb +233 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_instant_exit_response.rb +367 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_instant_exit_response_levels.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response.rb +367 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_expiries.rb +299 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_expiries_expected_move.rb +259 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_expiries_open_interest.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_historical_vol.rb +255 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_historical_vol_series.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_historical_vol_windows.rb +233 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_iv.rb +299 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_iv_history.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_put_call.rb +243 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_put_call_totals.rb +265 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_smile.rb +271 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_smile_by_strike.rb +317 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_smile_fitted.rb +233 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_smile_points.rb +248 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_surface.rb +241 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_surface_rows.rb +263 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_underlying.rb +331 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response.rb +325 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response_expiries.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response_rows.rb +243 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response_rows_call.rb +591 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response_series.rb +267 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response_underlying.rb +359 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response_venue.rb +313 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_iv_response.rb +307 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_position_response.rb +239 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_position_response_account.rb +281 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_position_response_positions.rb +429 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_position_response_positions_contract.rb +495 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_position_response_positions_greeks.rb +265 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response.rb +305 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_beta_weighted.rb +257 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_beta_weighted_index.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_by_underlying.rb +372 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_scenario.rb +305 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_scenario_grid.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_scenario_ranges.rb +311 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_total.rb +296 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_board_response.rb +253 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_board_response_rows.rb +331 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_event_response.rb +421 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_event_response_conversions.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_event_response_markets.rb +385 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_event_response_risk.rb +314 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_leaderboard_response.rb +353 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_leaderboard_response_rows.rb +313 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_history_response.rb +385 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_history_response_candles.rb +293 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_history_response_now.rb +353 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_history_response_points.rb +281 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response.rb +361 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_book.rb +297 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_book_bids.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_practice_book.rb +297 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_rules.rb +265 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_settlements.rb +445 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_trades.rb +279 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_venue.rb +351 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_venue_missing.rb +257 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_basket_response.rb +471 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_basket_response_members.rb +315 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_basket_response_mine.rb +239 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_basket_response_mine_members.rb +265 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response.rb +331 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_auto_invest.rb +481 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_distributions.rb +307 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_holdings.rb +313 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_holdings_series.rb +929 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_subscriptions.rb +395 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_totals.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_venue.rb +335 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_history_response.rb +437 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_history_response_appraisals.rb +305 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_history_response_candles.rb +321 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_perk_response.rb +323 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_perk_response_badge.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_perk_response_viewing_days.rb +375 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_perk_response_viewing_days_my_booking.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_perk_response_visit.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response.rb +379 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_buyouts.rb +453 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_buyouts_my_vote.rb +233 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_depth.rb +269 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_depth_bids.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_drop.rb +477 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_holders.rb +239 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_holders_distribution.rb +279 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_market.rb +267 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_market_indicative.rb +337 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_market_trading.rb +331 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_my.rb +241 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_my_orders.rb +485 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_my_subscriptions.rb +279 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_perks.rb +323 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_perks_viewing_days.rb +377 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_tape.rb +341 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_updates.rb +317 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_worth_response.rb +391 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_worth_response_sell_now.rb +299 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_worth_response_sell_now_blocked.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_worth_response_today.rb +249 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_item.rb +396 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_holdings_item.rb +533 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_holdings_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_indexes_item.rb +503 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_indexes_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_instant_exit_item.rb +383 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_instant_exit_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_combos_item.rb +529 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_combos_item_legs.rb +285 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_combos_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_notices_item.rb +383 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_notices_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_series_item.rb +363 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_series_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_strategies_item.rb +355 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_strategies_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_comments_item.rb +383 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_comments_item_replies.rb +367 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_comments_item_replies_author.rb +239 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_comments_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_markets_item.rb +613 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_markets_item_probability.rb +309 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_markets_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_positions_item.rb +499 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_positions_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_auto_invest_item.rb +481 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_auto_invest_item_targets.rb +237 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_auto_invest_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_baskets_item.rb +431 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_baskets_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_drops_item.rb +237 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_drops_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_gifts_item.rb +401 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_gifts_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_series_item.rb +925 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_series_item_mine.rb +251 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_series_item_rights.rb +251 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_series_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_watchlist_item.rb +375 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_watchlist_item_sparkline.rb +237 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_watchlist_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_response.rb +248 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_catalog_apply_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_catalog_apply_response_data.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_freight_request_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_freight_request_response_data.rb +361 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_freight_request_response_data_lines.rb +247 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_invoice_pay_link_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_invoice_pay_link_response_data.rb +265 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_quote_accept_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_quote_accept_response_data.rb +239 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_upload_validate_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_upload_validate_response_data.rb +255 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_upload_validate_response_data_lines.rb +423 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_upload_validate_response_data_lines_flags_item.rb +40 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_upload_validate_response_data_unmatched.rb +237 -0
- data/lib/crossly_buyer/models/wholesale/delete_buyer_wholesale_order_sheet_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/delete_buyer_wholesale_order_sheet_response_data.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data.rb +256 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data_groups.rb +365 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data_groups_checkout.rb +267 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data_groups_checkout_methods_item.rb +40 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data_groups_minimum.rb +330 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data_tax_exempt.rb +233 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data_violations.rb +312 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_catalog_apply_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_catalog_apply_response_data.rb +271 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_catalog_apply_response_data_catalog.rb +237 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_catalog_apply_response_data_prefill.rb +273 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_catalog_apply_response_data_requirements.rb +265 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_catalog_apply_response_data_requirements_questions.rb +311 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_drop_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_drop_response_data.rb +269 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_drop_response_data_listings.rb +303 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_drop_response_data_reservations.rb +425 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_invoice_pay_quote_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_invoice_pay_quote_response_data.rb +305 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_invoice_pay_quote_response_data_methods_item.rb +37 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_reorder_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_reorder_response_data.rb +277 -0
- data/lib/crossly_buyer/models/wholesale/list_buyer_wholesale_drops_item.rb +411 -0
- data/lib/crossly_buyer/models/wholesale/list_buyer_wholesale_drops_response.rb +248 -0
- data/lib/crossly_buyer/models/wholesale/list_buyer_wholesale_prebooks_item.rb +473 -0
- data/lib/crossly_buyer/models/wholesale/list_buyer_wholesale_prebooks_response.rb +248 -0
- data/lib/crossly_buyer/models/wholesale/update_buyer_wholesale_cart_po_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/update_buyer_wholesale_cart_po_response_data.rb +219 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_invite_response.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_invite_response_data.rb +251 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_item_request.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_join_response.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_join_response_data.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_request.rb +251 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_response.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_response_data.rb +237 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_share_request.rb +219 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_share_response.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_share_response_data.rb +261 -0
- data/lib/crossly_buyer/models/wishlist/delete_buyer_wishlist_item_response.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/delete_buyer_wishlist_item_response_data.rb +237 -0
- data/lib/crossly_buyer/models/wishlist/list_buyer_wishlist_items_item.rb +271 -0
- data/lib/crossly_buyer/models/wishlist/list_buyer_wishlist_items_response.rb +248 -0
- data/lib/crossly_buyer/models/wishlist/list_buyer_wishlist_members_item.rb +251 -0
- data/lib/crossly_buyer/models/wishlist/list_buyer_wishlist_members_response.rb +248 -0
- data/lib/crossly_buyer/models/wishlist/list_buyer_wishlists_item.rb +251 -0
- data/lib/crossly_buyer/models/wishlist/list_buyer_wishlists_response.rb +248 -0
- data/lib/crossly_buyer/models/wishlist/update_buyer_wishlist_request.rb +253 -0
- data/lib/crossly_buyer/models/wishlist/update_buyer_wishlist_response.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/update_buyer_wishlist_response_data.rb +285 -0
- data/lib/crossly_buyer/version.rb +15 -0
- data/lib/crossly_buyer.rb +887 -0
- data/lib/crossly_kit.rb +369 -0
- data/lib/crossly_webhooks.rb +142 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/spec_helper.rb +111 -0
- metadata +959 -0
|
@@ -0,0 +1,1543 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Crossly Buyer API
|
|
3
|
+
|
|
4
|
+
#The buyer-facing Crossly API — cart, orders, wishlists, offers, cashback. A DIFFERENT principal from the seller API: authenticated by a buyer OAuth token scoped `buyer:*` and resolved by `resolveBuyer`. A seller Personal Access Token will NOT authenticate these endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.4.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module CrosslyBuyer
|
|
16
|
+
class BuyerCatalogApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Identify a held object and return a HUD-ready answer.
|
|
23
|
+
# The gesture endpoint for Live Shop. Runs a cost ladder: a decoded BARCODE resolves in ~50ms for nothing; failing that, self-hosted CLIP matches the catalogue; failing that, a vision model names it (the only rung that costs anything, capped per buyer per day). `hud` is pre-formatted for a 600×600 lens — one headline, one subline, up to three fact chips and exactly ONE action, because a pinch cannot choose between buttons. A vision label is WORDS, never an identity: it names the thing so the buyer can search, and never drives a price comparison.
|
|
24
|
+
# @param create_buyer_identify_request [CreateBuyerIdentifyRequest]
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [CreateBuyerIdentifyResponse]
|
|
27
|
+
def create_buyer_identify(create_buyer_identify_request, opts = {})
|
|
28
|
+
data, _status_code, _headers = create_buyer_identify_with_http_info(create_buyer_identify_request, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Identify a held object and return a HUD-ready answer.
|
|
33
|
+
# The gesture endpoint for Live Shop. Runs a cost ladder: a decoded BARCODE resolves in ~50ms for nothing; failing that, self-hosted CLIP matches the catalogue; failing that, a vision model names it (the only rung that costs anything, capped per buyer per day). `hud` is pre-formatted for a 600×600 lens — one headline, one subline, up to three fact chips and exactly ONE action, because a pinch cannot choose between buttons. A vision label is WORDS, never an identity: it names the thing so the buyer can search, and never drives a price comparison.
|
|
34
|
+
# @param create_buyer_identify_request [CreateBuyerIdentifyRequest]
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(CreateBuyerIdentifyResponse, Integer, Hash)>] CreateBuyerIdentifyResponse data, response status code and response headers
|
|
37
|
+
def create_buyer_identify_with_http_info(create_buyer_identify_request, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.create_buyer_identify ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'create_buyer_identify_request' is set
|
|
42
|
+
if @api_client.config.client_side_validation && create_buyer_identify_request.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'create_buyer_identify_request' when calling BuyerCatalogApi.create_buyer_identify"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/v1/buyer/identify'
|
|
47
|
+
|
|
48
|
+
# query parameters
|
|
49
|
+
query_params = opts[:query_params] || {}
|
|
50
|
+
|
|
51
|
+
# header parameters
|
|
52
|
+
header_params = opts[:header_params] || {}
|
|
53
|
+
# HTTP header 'Accept' (if needed)
|
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
55
|
+
# HTTP header 'Content-Type'
|
|
56
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
57
|
+
if !content_type.nil?
|
|
58
|
+
header_params['Content-Type'] = content_type
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# form parameters
|
|
62
|
+
form_params = opts[:form_params] || {}
|
|
63
|
+
|
|
64
|
+
# http body (model)
|
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_buyer_identify_request)
|
|
66
|
+
|
|
67
|
+
# return_type
|
|
68
|
+
return_type = opts[:debug_return_type] || 'CreateBuyerIdentifyResponse'
|
|
69
|
+
|
|
70
|
+
# auth_names
|
|
71
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
72
|
+
|
|
73
|
+
new_options = opts.merge(
|
|
74
|
+
:operation => :"BuyerCatalogApi.create_buyer_identify",
|
|
75
|
+
:header_params => header_params,
|
|
76
|
+
:query_params => query_params,
|
|
77
|
+
:form_params => form_params,
|
|
78
|
+
:body => post_body,
|
|
79
|
+
:auth_names => auth_names,
|
|
80
|
+
:return_type => return_type
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
84
|
+
if @api_client.config.debugging
|
|
85
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#create_buyer_identify\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
|
+
end
|
|
87
|
+
return data, status_code, headers
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Lock on to an object the buyer is holding.
|
|
91
|
+
# Open this when on-device tracking acquires an object, then post observations to it as the buyer turns the thing over. The answer improves as evidence arrives — the style code inside a shoe settles what the front of it could not.
|
|
92
|
+
# @param create_buyer_lockon_request [CreateBuyerLockonRequest]
|
|
93
|
+
# @param [Hash] opts the optional parameters
|
|
94
|
+
# @return [CreateBuyerLockonResponse]
|
|
95
|
+
def create_buyer_lockon(create_buyer_lockon_request, opts = {})
|
|
96
|
+
data, _status_code, _headers = create_buyer_lockon_with_http_info(create_buyer_lockon_request, opts)
|
|
97
|
+
data
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Lock on to an object the buyer is holding.
|
|
101
|
+
# Open this when on-device tracking acquires an object, then post observations to it as the buyer turns the thing over. The answer improves as evidence arrives — the style code inside a shoe settles what the front of it could not.
|
|
102
|
+
# @param create_buyer_lockon_request [CreateBuyerLockonRequest]
|
|
103
|
+
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @return [Array<(CreateBuyerLockonResponse, Integer, Hash)>] CreateBuyerLockonResponse data, response status code and response headers
|
|
105
|
+
def create_buyer_lockon_with_http_info(create_buyer_lockon_request, opts = {})
|
|
106
|
+
if @api_client.config.debugging
|
|
107
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.create_buyer_lockon ...'
|
|
108
|
+
end
|
|
109
|
+
# verify the required parameter 'create_buyer_lockon_request' is set
|
|
110
|
+
if @api_client.config.client_side_validation && create_buyer_lockon_request.nil?
|
|
111
|
+
fail ArgumentError, "Missing the required parameter 'create_buyer_lockon_request' when calling BuyerCatalogApi.create_buyer_lockon"
|
|
112
|
+
end
|
|
113
|
+
# resource path
|
|
114
|
+
local_var_path = '/v1/buyer/lockons'
|
|
115
|
+
|
|
116
|
+
# query parameters
|
|
117
|
+
query_params = opts[:query_params] || {}
|
|
118
|
+
|
|
119
|
+
# header parameters
|
|
120
|
+
header_params = opts[:header_params] || {}
|
|
121
|
+
# HTTP header 'Accept' (if needed)
|
|
122
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
123
|
+
# HTTP header 'Content-Type'
|
|
124
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
125
|
+
if !content_type.nil?
|
|
126
|
+
header_params['Content-Type'] = content_type
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# form parameters
|
|
130
|
+
form_params = opts[:form_params] || {}
|
|
131
|
+
|
|
132
|
+
# http body (model)
|
|
133
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_buyer_lockon_request)
|
|
134
|
+
|
|
135
|
+
# return_type
|
|
136
|
+
return_type = opts[:debug_return_type] || 'CreateBuyerLockonResponse'
|
|
137
|
+
|
|
138
|
+
# auth_names
|
|
139
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
140
|
+
|
|
141
|
+
new_options = opts.merge(
|
|
142
|
+
:operation => :"BuyerCatalogApi.create_buyer_lockon",
|
|
143
|
+
:header_params => header_params,
|
|
144
|
+
:query_params => query_params,
|
|
145
|
+
:form_params => form_params,
|
|
146
|
+
:body => post_body,
|
|
147
|
+
:auth_names => auth_names,
|
|
148
|
+
:return_type => return_type
|
|
149
|
+
)
|
|
150
|
+
|
|
151
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
152
|
+
if @api_client.config.debugging
|
|
153
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#create_buyer_lockon\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
154
|
+
end
|
|
155
|
+
return data, status_code, headers
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# The buyer picked one of the candidates.
|
|
159
|
+
# Promotes a text match to a CONFIRMED identity — the strongest evidence in the system, because a person holding the object said yes. Validated against the candidates we actually offered, so it cannot be claimed about an arbitrary product.
|
|
160
|
+
# @param id [String]
|
|
161
|
+
# @param create_buyer_lockon_confirm_request [CreateBuyerLockonConfirmRequest]
|
|
162
|
+
# @param [Hash] opts the optional parameters
|
|
163
|
+
# @return [CreateBuyerLockonConfirmResponse]
|
|
164
|
+
def create_buyer_lockon_confirm(id, create_buyer_lockon_confirm_request, opts = {})
|
|
165
|
+
data, _status_code, _headers = create_buyer_lockon_confirm_with_http_info(id, create_buyer_lockon_confirm_request, opts)
|
|
166
|
+
data
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# The buyer picked one of the candidates.
|
|
170
|
+
# Promotes a text match to a CONFIRMED identity — the strongest evidence in the system, because a person holding the object said yes. Validated against the candidates we actually offered, so it cannot be claimed about an arbitrary product.
|
|
171
|
+
# @param id [String]
|
|
172
|
+
# @param create_buyer_lockon_confirm_request [CreateBuyerLockonConfirmRequest]
|
|
173
|
+
# @param [Hash] opts the optional parameters
|
|
174
|
+
# @return [Array<(CreateBuyerLockonConfirmResponse, Integer, Hash)>] CreateBuyerLockonConfirmResponse data, response status code and response headers
|
|
175
|
+
def create_buyer_lockon_confirm_with_http_info(id, create_buyer_lockon_confirm_request, opts = {})
|
|
176
|
+
if @api_client.config.debugging
|
|
177
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.create_buyer_lockon_confirm ...'
|
|
178
|
+
end
|
|
179
|
+
# verify the required parameter 'id' is set
|
|
180
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
181
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling BuyerCatalogApi.create_buyer_lockon_confirm"
|
|
182
|
+
end
|
|
183
|
+
# verify the required parameter 'create_buyer_lockon_confirm_request' is set
|
|
184
|
+
if @api_client.config.client_side_validation && create_buyer_lockon_confirm_request.nil?
|
|
185
|
+
fail ArgumentError, "Missing the required parameter 'create_buyer_lockon_confirm_request' when calling BuyerCatalogApi.create_buyer_lockon_confirm"
|
|
186
|
+
end
|
|
187
|
+
# resource path
|
|
188
|
+
local_var_path = '/v1/buyer/lockons/{id}/confirm'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
189
|
+
|
|
190
|
+
# query parameters
|
|
191
|
+
query_params = opts[:query_params] || {}
|
|
192
|
+
|
|
193
|
+
# header parameters
|
|
194
|
+
header_params = opts[:header_params] || {}
|
|
195
|
+
# HTTP header 'Accept' (if needed)
|
|
196
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
197
|
+
# HTTP header 'Content-Type'
|
|
198
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
199
|
+
if !content_type.nil?
|
|
200
|
+
header_params['Content-Type'] = content_type
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# form parameters
|
|
204
|
+
form_params = opts[:form_params] || {}
|
|
205
|
+
|
|
206
|
+
# http body (model)
|
|
207
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_buyer_lockon_confirm_request)
|
|
208
|
+
|
|
209
|
+
# return_type
|
|
210
|
+
return_type = opts[:debug_return_type] || 'CreateBuyerLockonConfirmResponse'
|
|
211
|
+
|
|
212
|
+
# auth_names
|
|
213
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
214
|
+
|
|
215
|
+
new_options = opts.merge(
|
|
216
|
+
:operation => :"BuyerCatalogApi.create_buyer_lockon_confirm",
|
|
217
|
+
:header_params => header_params,
|
|
218
|
+
:query_params => query_params,
|
|
219
|
+
:form_params => form_params,
|
|
220
|
+
:body => post_body,
|
|
221
|
+
:auth_names => auth_names,
|
|
222
|
+
:return_type => return_type
|
|
223
|
+
)
|
|
224
|
+
|
|
225
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
226
|
+
if @api_client.config.debugging
|
|
227
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#create_buyer_lockon_confirm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
228
|
+
end
|
|
229
|
+
return data, status_code, headers
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
# Add what this frame revealed, and get the current best answer.
|
|
233
|
+
# Send only what you LEARNED: a decoded barcode, newly-read OCR text, or a frame when neither settled it. Do not post every frame — tracking and decoding happen on-device for free, and this endpoint is for evidence, not video. Evidence is RANKED (confirmed > barcode > ocr > visual), so a late weak reading can never overwrite a strong early one. When text evidence finds several products, `candidates` comes back for the buyer to pick from — a vision label is words, and only a human confirmation turns it into an identity we will price against.
|
|
234
|
+
# @param id [String]
|
|
235
|
+
# @param [Hash] opts the optional parameters
|
|
236
|
+
# @option opts [CreateBuyerLockonObserveRequest] :create_buyer_lockon_observe_request
|
|
237
|
+
# @return [CreateBuyerLockonConfirmResponse]
|
|
238
|
+
def create_buyer_lockon_observe(id, opts = {})
|
|
239
|
+
data, _status_code, _headers = create_buyer_lockon_observe_with_http_info(id, opts)
|
|
240
|
+
data
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
# Add what this frame revealed, and get the current best answer.
|
|
244
|
+
# Send only what you LEARNED: a decoded barcode, newly-read OCR text, or a frame when neither settled it. Do not post every frame — tracking and decoding happen on-device for free, and this endpoint is for evidence, not video. Evidence is RANKED (confirmed > barcode > ocr > visual), so a late weak reading can never overwrite a strong early one. When text evidence finds several products, `candidates` comes back for the buyer to pick from — a vision label is words, and only a human confirmation turns it into an identity we will price against.
|
|
245
|
+
# @param id [String]
|
|
246
|
+
# @param [Hash] opts the optional parameters
|
|
247
|
+
# @option opts [CreateBuyerLockonObserveRequest] :create_buyer_lockon_observe_request
|
|
248
|
+
# @return [Array<(CreateBuyerLockonConfirmResponse, Integer, Hash)>] CreateBuyerLockonConfirmResponse data, response status code and response headers
|
|
249
|
+
def create_buyer_lockon_observe_with_http_info(id, opts = {})
|
|
250
|
+
if @api_client.config.debugging
|
|
251
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.create_buyer_lockon_observe ...'
|
|
252
|
+
end
|
|
253
|
+
# verify the required parameter 'id' is set
|
|
254
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
255
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling BuyerCatalogApi.create_buyer_lockon_observe"
|
|
256
|
+
end
|
|
257
|
+
# resource path
|
|
258
|
+
local_var_path = '/v1/buyer/lockons/{id}/observe'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
259
|
+
|
|
260
|
+
# query parameters
|
|
261
|
+
query_params = opts[:query_params] || {}
|
|
262
|
+
|
|
263
|
+
# header parameters
|
|
264
|
+
header_params = opts[:header_params] || {}
|
|
265
|
+
# HTTP header 'Accept' (if needed)
|
|
266
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
267
|
+
# HTTP header 'Content-Type'
|
|
268
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
269
|
+
if !content_type.nil?
|
|
270
|
+
header_params['Content-Type'] = content_type
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
# form parameters
|
|
274
|
+
form_params = opts[:form_params] || {}
|
|
275
|
+
|
|
276
|
+
# http body (model)
|
|
277
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_buyer_lockon_observe_request'])
|
|
278
|
+
|
|
279
|
+
# return_type
|
|
280
|
+
return_type = opts[:debug_return_type] || 'CreateBuyerLockonConfirmResponse'
|
|
281
|
+
|
|
282
|
+
# auth_names
|
|
283
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
284
|
+
|
|
285
|
+
new_options = opts.merge(
|
|
286
|
+
:operation => :"BuyerCatalogApi.create_buyer_lockon_observe",
|
|
287
|
+
:header_params => header_params,
|
|
288
|
+
:query_params => query_params,
|
|
289
|
+
:form_params => form_params,
|
|
290
|
+
:body => post_body,
|
|
291
|
+
:auth_names => auth_names,
|
|
292
|
+
:return_type => return_type
|
|
293
|
+
)
|
|
294
|
+
|
|
295
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
296
|
+
if @api_client.config.debugging
|
|
297
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#create_buyer_lockon_observe\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
298
|
+
end
|
|
299
|
+
return data, status_code, headers
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
# Identify a physical item and find the cheapest place to buy it.
|
|
303
|
+
# Send a barcode identifier OR a photo. A BARCODE establishes identity, so the response carries a full price verdict across Crossly and other retailers. A PHOTO establishes resemblance only: you get visual matches from the Crossly catalogue, and a price verdict ONLY if the matched listing carries a real identifier. When it does not, `comparable` is false and there is no verdict — a price comparison built on a visual guess is a claim about a different product. Most second-hand items have no identifier by nature, so this is expected rather than a failure.
|
|
304
|
+
# @param create_buyer_scan_request [CreateBuyerScanRequest]
|
|
305
|
+
# @param [Hash] opts the optional parameters
|
|
306
|
+
# @return [CreateBuyerScanResponse]
|
|
307
|
+
def create_buyer_scan(create_buyer_scan_request, opts = {})
|
|
308
|
+
data, _status_code, _headers = create_buyer_scan_with_http_info(create_buyer_scan_request, opts)
|
|
309
|
+
data
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
# Identify a physical item and find the cheapest place to buy it.
|
|
313
|
+
# Send a barcode identifier OR a photo. A BARCODE establishes identity, so the response carries a full price verdict across Crossly and other retailers. A PHOTO establishes resemblance only: you get visual matches from the Crossly catalogue, and a price verdict ONLY if the matched listing carries a real identifier. When it does not, `comparable` is false and there is no verdict — a price comparison built on a visual guess is a claim about a different product. Most second-hand items have no identifier by nature, so this is expected rather than a failure.
|
|
314
|
+
# @param create_buyer_scan_request [CreateBuyerScanRequest]
|
|
315
|
+
# @param [Hash] opts the optional parameters
|
|
316
|
+
# @return [Array<(CreateBuyerScanResponse, Integer, Hash)>] CreateBuyerScanResponse data, response status code and response headers
|
|
317
|
+
def create_buyer_scan_with_http_info(create_buyer_scan_request, opts = {})
|
|
318
|
+
if @api_client.config.debugging
|
|
319
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.create_buyer_scan ...'
|
|
320
|
+
end
|
|
321
|
+
# verify the required parameter 'create_buyer_scan_request' is set
|
|
322
|
+
if @api_client.config.client_side_validation && create_buyer_scan_request.nil?
|
|
323
|
+
fail ArgumentError, "Missing the required parameter 'create_buyer_scan_request' when calling BuyerCatalogApi.create_buyer_scan"
|
|
324
|
+
end
|
|
325
|
+
# resource path
|
|
326
|
+
local_var_path = '/v1/buyer/scan'
|
|
327
|
+
|
|
328
|
+
# query parameters
|
|
329
|
+
query_params = opts[:query_params] || {}
|
|
330
|
+
|
|
331
|
+
# header parameters
|
|
332
|
+
header_params = opts[:header_params] || {}
|
|
333
|
+
# HTTP header 'Accept' (if needed)
|
|
334
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
335
|
+
# HTTP header 'Content-Type'
|
|
336
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
337
|
+
if !content_type.nil?
|
|
338
|
+
header_params['Content-Type'] = content_type
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
# form parameters
|
|
342
|
+
form_params = opts[:form_params] || {}
|
|
343
|
+
|
|
344
|
+
# http body (model)
|
|
345
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_buyer_scan_request)
|
|
346
|
+
|
|
347
|
+
# return_type
|
|
348
|
+
return_type = opts[:debug_return_type] || 'CreateBuyerScanResponse'
|
|
349
|
+
|
|
350
|
+
# auth_names
|
|
351
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
352
|
+
|
|
353
|
+
new_options = opts.merge(
|
|
354
|
+
:operation => :"BuyerCatalogApi.create_buyer_scan",
|
|
355
|
+
:header_params => header_params,
|
|
356
|
+
:query_params => query_params,
|
|
357
|
+
:form_params => form_params,
|
|
358
|
+
:body => post_body,
|
|
359
|
+
:auth_names => auth_names,
|
|
360
|
+
:return_type => return_type
|
|
361
|
+
)
|
|
362
|
+
|
|
363
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
364
|
+
if @api_client.config.debugging
|
|
365
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#create_buyer_scan\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
366
|
+
end
|
|
367
|
+
return data, status_code, headers
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
# Open a Live Shop session.
|
|
371
|
+
# Call this when the glasses connect, then pass the returned id as `sessionId` on each scan. Opening a session CLOSES any other live one — a person is in one shop at a time, and two live sessions split a trip across both.
|
|
372
|
+
# @param [Hash] opts the optional parameters
|
|
373
|
+
# @option opts [CreateBuyerScanSessionRequest] :create_buyer_scan_session_request
|
|
374
|
+
# @return [CreateBuyerScanSessionResponse]
|
|
375
|
+
def create_buyer_scan_session(opts = {})
|
|
376
|
+
data, _status_code, _headers = create_buyer_scan_session_with_http_info(opts)
|
|
377
|
+
data
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
# Open a Live Shop session.
|
|
381
|
+
# Call this when the glasses connect, then pass the returned id as `sessionId` on each scan. Opening a session CLOSES any other live one — a person is in one shop at a time, and two live sessions split a trip across both.
|
|
382
|
+
# @param [Hash] opts the optional parameters
|
|
383
|
+
# @option opts [CreateBuyerScanSessionRequest] :create_buyer_scan_session_request
|
|
384
|
+
# @return [Array<(CreateBuyerScanSessionResponse, Integer, Hash)>] CreateBuyerScanSessionResponse data, response status code and response headers
|
|
385
|
+
def create_buyer_scan_session_with_http_info(opts = {})
|
|
386
|
+
if @api_client.config.debugging
|
|
387
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.create_buyer_scan_session ...'
|
|
388
|
+
end
|
|
389
|
+
# resource path
|
|
390
|
+
local_var_path = '/v1/buyer/scan/sessions'
|
|
391
|
+
|
|
392
|
+
# query parameters
|
|
393
|
+
query_params = opts[:query_params] || {}
|
|
394
|
+
|
|
395
|
+
# header parameters
|
|
396
|
+
header_params = opts[:header_params] || {}
|
|
397
|
+
# HTTP header 'Accept' (if needed)
|
|
398
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
399
|
+
# HTTP header 'Content-Type'
|
|
400
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
401
|
+
if !content_type.nil?
|
|
402
|
+
header_params['Content-Type'] = content_type
|
|
403
|
+
end
|
|
404
|
+
|
|
405
|
+
# form parameters
|
|
406
|
+
form_params = opts[:form_params] || {}
|
|
407
|
+
|
|
408
|
+
# http body (model)
|
|
409
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_buyer_scan_session_request'])
|
|
410
|
+
|
|
411
|
+
# return_type
|
|
412
|
+
return_type = opts[:debug_return_type] || 'CreateBuyerScanSessionResponse'
|
|
413
|
+
|
|
414
|
+
# auth_names
|
|
415
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
416
|
+
|
|
417
|
+
new_options = opts.merge(
|
|
418
|
+
:operation => :"BuyerCatalogApi.create_buyer_scan_session",
|
|
419
|
+
:header_params => header_params,
|
|
420
|
+
:query_params => query_params,
|
|
421
|
+
:form_params => form_params,
|
|
422
|
+
:body => post_body,
|
|
423
|
+
:auth_names => auth_names,
|
|
424
|
+
:return_type => return_type
|
|
425
|
+
)
|
|
426
|
+
|
|
427
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
428
|
+
if @api_client.config.debugging
|
|
429
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#create_buyer_scan_session\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
430
|
+
end
|
|
431
|
+
return data, status_code, headers
|
|
432
|
+
end
|
|
433
|
+
|
|
434
|
+
# Close a Live Shop session.
|
|
435
|
+
# @param id [String]
|
|
436
|
+
# @param [Hash] opts the optional parameters
|
|
437
|
+
# @return [CreateBuyerScanSessionEndResponse]
|
|
438
|
+
def create_buyer_scan_session_end(id, opts = {})
|
|
439
|
+
data, _status_code, _headers = create_buyer_scan_session_end_with_http_info(id, opts)
|
|
440
|
+
data
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
# Close a Live Shop session.
|
|
444
|
+
# @param id [String]
|
|
445
|
+
# @param [Hash] opts the optional parameters
|
|
446
|
+
# @return [Array<(CreateBuyerScanSessionEndResponse, Integer, Hash)>] CreateBuyerScanSessionEndResponse data, response status code and response headers
|
|
447
|
+
def create_buyer_scan_session_end_with_http_info(id, opts = {})
|
|
448
|
+
if @api_client.config.debugging
|
|
449
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.create_buyer_scan_session_end ...'
|
|
450
|
+
end
|
|
451
|
+
# verify the required parameter 'id' is set
|
|
452
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
453
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling BuyerCatalogApi.create_buyer_scan_session_end"
|
|
454
|
+
end
|
|
455
|
+
# resource path
|
|
456
|
+
local_var_path = '/v1/buyer/scan/sessions/{id}/end'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
457
|
+
|
|
458
|
+
# query parameters
|
|
459
|
+
query_params = opts[:query_params] || {}
|
|
460
|
+
|
|
461
|
+
# header parameters
|
|
462
|
+
header_params = opts[:header_params] || {}
|
|
463
|
+
# HTTP header 'Accept' (if needed)
|
|
464
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
465
|
+
|
|
466
|
+
# form parameters
|
|
467
|
+
form_params = opts[:form_params] || {}
|
|
468
|
+
|
|
469
|
+
# http body (model)
|
|
470
|
+
post_body = opts[:debug_body]
|
|
471
|
+
|
|
472
|
+
# return_type
|
|
473
|
+
return_type = opts[:debug_return_type] || 'CreateBuyerScanSessionEndResponse'
|
|
474
|
+
|
|
475
|
+
# auth_names
|
|
476
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
477
|
+
|
|
478
|
+
new_options = opts.merge(
|
|
479
|
+
:operation => :"BuyerCatalogApi.create_buyer_scan_session_end",
|
|
480
|
+
:header_params => header_params,
|
|
481
|
+
:query_params => query_params,
|
|
482
|
+
:form_params => form_params,
|
|
483
|
+
:body => post_body,
|
|
484
|
+
:auth_names => auth_names,
|
|
485
|
+
:return_type => return_type
|
|
486
|
+
)
|
|
487
|
+
|
|
488
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
489
|
+
if @api_client.config.debugging
|
|
490
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#create_buyer_scan_session_end\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
491
|
+
end
|
|
492
|
+
return data, status_code, headers
|
|
493
|
+
end
|
|
494
|
+
|
|
495
|
+
# Cheapest source for an item — Crossly first, then other retailers.
|
|
496
|
+
# Answers with a VERDICT, not a list: crossly_best, offsite_cheaper, offsite_only or no_match. Offsite offers come from licensed affiliate product feeds, are ranked CHEAPEST-FIRST — commission only ever breaks a sub-$1 tie — and only appear when they beat the price you passed in. `shippingUnknown: true` means a compared price omitted postage, so present the result as \"before postage\" rather than as a delivered total. Crossly wins ties within $1; beyond that the honest answer wins.
|
|
497
|
+
# @param ns [String] An identifier the item actually carries. No free-text fallback, ever — see docs/IDENTIFIER-FIRST.md. A title-matched \"cheaper elsewhere\" is a claim about a different product. The ALLOW-LIST, not a free string. `compare.ts` explains why: the namespace goes straight into a query, and an open passthrough lets a caller enumerate every namespace we hold — a map of the catalogue's provenance. Reusing the same list here keeps the two from drifting.
|
|
498
|
+
# @param value [String]
|
|
499
|
+
# @param [Hash] opts the optional parameters
|
|
500
|
+
# @option opts [Float] :page_price_cents What the buyer is looking at, so \"cheaper\" means cheaper than THAT.
|
|
501
|
+
# @option opts [String] :currency
|
|
502
|
+
# @return [GetBuyerAnywhereResponse]
|
|
503
|
+
def get_buyer_anywhere(ns, value, opts = {})
|
|
504
|
+
data, _status_code, _headers = get_buyer_anywhere_with_http_info(ns, value, opts)
|
|
505
|
+
data
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
# Cheapest source for an item — Crossly first, then other retailers.
|
|
509
|
+
# Answers with a VERDICT, not a list: crossly_best, offsite_cheaper, offsite_only or no_match. Offsite offers come from licensed affiliate product feeds, are ranked CHEAPEST-FIRST — commission only ever breaks a sub-$1 tie — and only appear when they beat the price you passed in. `shippingUnknown: true` means a compared price omitted postage, so present the result as \"before postage\" rather than as a delivered total. Crossly wins ties within $1; beyond that the honest answer wins.
|
|
510
|
+
# @param ns [String] An identifier the item actually carries. No free-text fallback, ever — see docs/IDENTIFIER-FIRST.md. A title-matched \"cheaper elsewhere\" is a claim about a different product. The ALLOW-LIST, not a free string. `compare.ts` explains why: the namespace goes straight into a query, and an open passthrough lets a caller enumerate every namespace we hold — a map of the catalogue's provenance. Reusing the same list here keeps the two from drifting.
|
|
511
|
+
# @param value [String]
|
|
512
|
+
# @param [Hash] opts the optional parameters
|
|
513
|
+
# @option opts [Float] :page_price_cents What the buyer is looking at, so \"cheaper\" means cheaper than THAT.
|
|
514
|
+
# @option opts [String] :currency
|
|
515
|
+
# @return [Array<(GetBuyerAnywhereResponse, Integer, Hash)>] GetBuyerAnywhereResponse data, response status code and response headers
|
|
516
|
+
def get_buyer_anywhere_with_http_info(ns, value, opts = {})
|
|
517
|
+
if @api_client.config.debugging
|
|
518
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.get_buyer_anywhere ...'
|
|
519
|
+
end
|
|
520
|
+
# verify the required parameter 'ns' is set
|
|
521
|
+
if @api_client.config.client_side_validation && ns.nil?
|
|
522
|
+
fail ArgumentError, "Missing the required parameter 'ns' when calling BuyerCatalogApi.get_buyer_anywhere"
|
|
523
|
+
end
|
|
524
|
+
# verify enum value
|
|
525
|
+
allowable_values = ["discogs", "tcgplayer", "gtin", "style_code", "lego_set", "asin"]
|
|
526
|
+
if @api_client.config.client_side_validation && !allowable_values.include?(ns)
|
|
527
|
+
fail ArgumentError, "invalid value for \"ns\", must be one of #{allowable_values}"
|
|
528
|
+
end
|
|
529
|
+
# verify the required parameter 'value' is set
|
|
530
|
+
if @api_client.config.client_side_validation && value.nil?
|
|
531
|
+
fail ArgumentError, "Missing the required parameter 'value' when calling BuyerCatalogApi.get_buyer_anywhere"
|
|
532
|
+
end
|
|
533
|
+
# resource path
|
|
534
|
+
local_var_path = '/v1/buyer/anywhere'
|
|
535
|
+
|
|
536
|
+
# query parameters
|
|
537
|
+
query_params = opts[:query_params] || {}
|
|
538
|
+
query_params[:'ns'] = ns
|
|
539
|
+
query_params[:'value'] = value
|
|
540
|
+
query_params[:'pagePriceCents'] = opts[:'page_price_cents'] if !opts[:'page_price_cents'].nil?
|
|
541
|
+
query_params[:'currency'] = opts[:'currency'] if !opts[:'currency'].nil?
|
|
542
|
+
|
|
543
|
+
# header parameters
|
|
544
|
+
header_params = opts[:header_params] || {}
|
|
545
|
+
# HTTP header 'Accept' (if needed)
|
|
546
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
547
|
+
|
|
548
|
+
# form parameters
|
|
549
|
+
form_params = opts[:form_params] || {}
|
|
550
|
+
|
|
551
|
+
# http body (model)
|
|
552
|
+
post_body = opts[:debug_body]
|
|
553
|
+
|
|
554
|
+
# return_type
|
|
555
|
+
return_type = opts[:debug_return_type] || 'GetBuyerAnywhereResponse'
|
|
556
|
+
|
|
557
|
+
# auth_names
|
|
558
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
559
|
+
|
|
560
|
+
new_options = opts.merge(
|
|
561
|
+
:operation => :"BuyerCatalogApi.get_buyer_anywhere",
|
|
562
|
+
:header_params => header_params,
|
|
563
|
+
:query_params => query_params,
|
|
564
|
+
:form_params => form_params,
|
|
565
|
+
:body => post_body,
|
|
566
|
+
:auth_names => auth_names,
|
|
567
|
+
:return_type => return_type
|
|
568
|
+
)
|
|
569
|
+
|
|
570
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
571
|
+
if @api_client.config.debugging
|
|
572
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#get_buyer_anywhere\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
573
|
+
end
|
|
574
|
+
return data, status_code, headers
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
# Brands, categories and conditions that currently have stock.
|
|
578
|
+
# The vocabulary the search filters accept. Counts are live, so a filter built from this will never return an empty page for a value that has since sold out.
|
|
579
|
+
# @param [Hash] opts the optional parameters
|
|
580
|
+
# @return [GetBuyerCatalogFacetResponse]
|
|
581
|
+
def get_buyer_catalog_facet(opts = {})
|
|
582
|
+
data, _status_code, _headers = get_buyer_catalog_facet_with_http_info(opts)
|
|
583
|
+
data
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
# Brands, categories and conditions that currently have stock.
|
|
587
|
+
# The vocabulary the search filters accept. Counts are live, so a filter built from this will never return an empty page for a value that has since sold out.
|
|
588
|
+
# @param [Hash] opts the optional parameters
|
|
589
|
+
# @return [Array<(GetBuyerCatalogFacetResponse, Integer, Hash)>] GetBuyerCatalogFacetResponse data, response status code and response headers
|
|
590
|
+
def get_buyer_catalog_facet_with_http_info(opts = {})
|
|
591
|
+
if @api_client.config.debugging
|
|
592
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.get_buyer_catalog_facet ...'
|
|
593
|
+
end
|
|
594
|
+
# resource path
|
|
595
|
+
local_var_path = '/v1/buyer/catalog/facets'
|
|
596
|
+
|
|
597
|
+
# query parameters
|
|
598
|
+
query_params = opts[:query_params] || {}
|
|
599
|
+
|
|
600
|
+
# header parameters
|
|
601
|
+
header_params = opts[:header_params] || {}
|
|
602
|
+
# HTTP header 'Accept' (if needed)
|
|
603
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
604
|
+
|
|
605
|
+
# form parameters
|
|
606
|
+
form_params = opts[:form_params] || {}
|
|
607
|
+
|
|
608
|
+
# http body (model)
|
|
609
|
+
post_body = opts[:debug_body]
|
|
610
|
+
|
|
611
|
+
# return_type
|
|
612
|
+
return_type = opts[:debug_return_type] || 'GetBuyerCatalogFacetResponse'
|
|
613
|
+
|
|
614
|
+
# auth_names
|
|
615
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
616
|
+
|
|
617
|
+
new_options = opts.merge(
|
|
618
|
+
:operation => :"BuyerCatalogApi.get_buyer_catalog_facet",
|
|
619
|
+
:header_params => header_params,
|
|
620
|
+
:query_params => query_params,
|
|
621
|
+
:form_params => form_params,
|
|
622
|
+
:body => post_body,
|
|
623
|
+
:auth_names => auth_names,
|
|
624
|
+
:return_type => return_type
|
|
625
|
+
)
|
|
626
|
+
|
|
627
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
628
|
+
if @api_client.config.debugging
|
|
629
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#get_buyer_catalog_facet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
630
|
+
end
|
|
631
|
+
return data, status_code, headers
|
|
632
|
+
end
|
|
633
|
+
|
|
634
|
+
# Display-only exchange rates (units per 1 USD).
|
|
635
|
+
# ECB daily reference rates rebased to US dollars: `rates.EUR = 0.92` means $1 ≈ €0.92. `asOf` is the ECB publication date (null until the first refresh). For showing an approximate price only — every Crossly price and charge is in USD, and the card issuer sets the final exchange rate.
|
|
636
|
+
# @param [Hash] opts the optional parameters
|
|
637
|
+
# @return [GetBuyerCatalogFxResponse]
|
|
638
|
+
def get_buyer_catalog_fx(opts = {})
|
|
639
|
+
data, _status_code, _headers = get_buyer_catalog_fx_with_http_info(opts)
|
|
640
|
+
data
|
|
641
|
+
end
|
|
642
|
+
|
|
643
|
+
# Display-only exchange rates (units per 1 USD).
|
|
644
|
+
# ECB daily reference rates rebased to US dollars: `rates.EUR = 0.92` means $1 ≈ €0.92. `asOf` is the ECB publication date (null until the first refresh). For showing an approximate price only — every Crossly price and charge is in USD, and the card issuer sets the final exchange rate.
|
|
645
|
+
# @param [Hash] opts the optional parameters
|
|
646
|
+
# @return [Array<(GetBuyerCatalogFxResponse, Integer, Hash)>] GetBuyerCatalogFxResponse data, response status code and response headers
|
|
647
|
+
def get_buyer_catalog_fx_with_http_info(opts = {})
|
|
648
|
+
if @api_client.config.debugging
|
|
649
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.get_buyer_catalog_fx ...'
|
|
650
|
+
end
|
|
651
|
+
# resource path
|
|
652
|
+
local_var_path = '/v1/buyer/catalog/fx'
|
|
653
|
+
|
|
654
|
+
# query parameters
|
|
655
|
+
query_params = opts[:query_params] || {}
|
|
656
|
+
|
|
657
|
+
# header parameters
|
|
658
|
+
header_params = opts[:header_params] || {}
|
|
659
|
+
# HTTP header 'Accept' (if needed)
|
|
660
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
661
|
+
|
|
662
|
+
# form parameters
|
|
663
|
+
form_params = opts[:form_params] || {}
|
|
664
|
+
|
|
665
|
+
# http body (model)
|
|
666
|
+
post_body = opts[:debug_body]
|
|
667
|
+
|
|
668
|
+
# return_type
|
|
669
|
+
return_type = opts[:debug_return_type] || 'GetBuyerCatalogFxResponse'
|
|
670
|
+
|
|
671
|
+
# auth_names
|
|
672
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
673
|
+
|
|
674
|
+
new_options = opts.merge(
|
|
675
|
+
:operation => :"BuyerCatalogApi.get_buyer_catalog_fx",
|
|
676
|
+
:header_params => header_params,
|
|
677
|
+
:query_params => query_params,
|
|
678
|
+
:form_params => form_params,
|
|
679
|
+
:body => post_body,
|
|
680
|
+
:auth_names => auth_names,
|
|
681
|
+
:return_type => return_type
|
|
682
|
+
)
|
|
683
|
+
|
|
684
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
685
|
+
if @api_client.config.debugging
|
|
686
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#get_buyer_catalog_fx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
687
|
+
end
|
|
688
|
+
return data, status_code, headers
|
|
689
|
+
end
|
|
690
|
+
|
|
691
|
+
# One listing, in full.
|
|
692
|
+
# @param slug [String]
|
|
693
|
+
# @param [Hash] opts the optional parameters
|
|
694
|
+
# @return [GetBuyerCatalogListingResponse]
|
|
695
|
+
def get_buyer_catalog_listing(slug, opts = {})
|
|
696
|
+
data, _status_code, _headers = get_buyer_catalog_listing_with_http_info(slug, opts)
|
|
697
|
+
data
|
|
698
|
+
end
|
|
699
|
+
|
|
700
|
+
# One listing, in full.
|
|
701
|
+
# @param slug [String]
|
|
702
|
+
# @param [Hash] opts the optional parameters
|
|
703
|
+
# @return [Array<(GetBuyerCatalogListingResponse, Integer, Hash)>] GetBuyerCatalogListingResponse data, response status code and response headers
|
|
704
|
+
def get_buyer_catalog_listing_with_http_info(slug, opts = {})
|
|
705
|
+
if @api_client.config.debugging
|
|
706
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.get_buyer_catalog_listing ...'
|
|
707
|
+
end
|
|
708
|
+
# verify the required parameter 'slug' is set
|
|
709
|
+
if @api_client.config.client_side_validation && slug.nil?
|
|
710
|
+
fail ArgumentError, "Missing the required parameter 'slug' when calling BuyerCatalogApi.get_buyer_catalog_listing"
|
|
711
|
+
end
|
|
712
|
+
# resource path
|
|
713
|
+
local_var_path = '/v1/buyer/catalog/listings/{slug}'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
|
|
714
|
+
|
|
715
|
+
# query parameters
|
|
716
|
+
query_params = opts[:query_params] || {}
|
|
717
|
+
|
|
718
|
+
# header parameters
|
|
719
|
+
header_params = opts[:header_params] || {}
|
|
720
|
+
# HTTP header 'Accept' (if needed)
|
|
721
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
722
|
+
|
|
723
|
+
# form parameters
|
|
724
|
+
form_params = opts[:form_params] || {}
|
|
725
|
+
|
|
726
|
+
# http body (model)
|
|
727
|
+
post_body = opts[:debug_body]
|
|
728
|
+
|
|
729
|
+
# return_type
|
|
730
|
+
return_type = opts[:debug_return_type] || 'GetBuyerCatalogListingResponse'
|
|
731
|
+
|
|
732
|
+
# auth_names
|
|
733
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
734
|
+
|
|
735
|
+
new_options = opts.merge(
|
|
736
|
+
:operation => :"BuyerCatalogApi.get_buyer_catalog_listing",
|
|
737
|
+
:header_params => header_params,
|
|
738
|
+
:query_params => query_params,
|
|
739
|
+
:form_params => form_params,
|
|
740
|
+
:body => post_body,
|
|
741
|
+
:auth_names => auth_names,
|
|
742
|
+
:return_type => return_type
|
|
743
|
+
)
|
|
744
|
+
|
|
745
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
746
|
+
if @api_client.config.debugging
|
|
747
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#get_buyer_catalog_listing\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
748
|
+
end
|
|
749
|
+
return data, status_code, headers
|
|
750
|
+
end
|
|
751
|
+
|
|
752
|
+
# Is it still buyable, and at what price.
|
|
753
|
+
# The cheapest endpoint here, and the one to poll if you are going to poll — a single indexed row, no joins beyond stock, and an ETag so an unchanged answer is a 304. If you want to be TOLD instead of asking, create a monitor.
|
|
754
|
+
# @param slug [String]
|
|
755
|
+
# @param [Hash] opts the optional parameters
|
|
756
|
+
# @return [GetBuyerCatalogListingAvailabilityResponse]
|
|
757
|
+
def get_buyer_catalog_listing_availability(slug, opts = {})
|
|
758
|
+
data, _status_code, _headers = get_buyer_catalog_listing_availability_with_http_info(slug, opts)
|
|
759
|
+
data
|
|
760
|
+
end
|
|
761
|
+
|
|
762
|
+
# Is it still buyable, and at what price.
|
|
763
|
+
# The cheapest endpoint here, and the one to poll if you are going to poll — a single indexed row, no joins beyond stock, and an ETag so an unchanged answer is a 304. If you want to be TOLD instead of asking, create a monitor.
|
|
764
|
+
# @param slug [String]
|
|
765
|
+
# @param [Hash] opts the optional parameters
|
|
766
|
+
# @return [Array<(GetBuyerCatalogListingAvailabilityResponse, Integer, Hash)>] GetBuyerCatalogListingAvailabilityResponse data, response status code and response headers
|
|
767
|
+
def get_buyer_catalog_listing_availability_with_http_info(slug, opts = {})
|
|
768
|
+
if @api_client.config.debugging
|
|
769
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.get_buyer_catalog_listing_availability ...'
|
|
770
|
+
end
|
|
771
|
+
# verify the required parameter 'slug' is set
|
|
772
|
+
if @api_client.config.client_side_validation && slug.nil?
|
|
773
|
+
fail ArgumentError, "Missing the required parameter 'slug' when calling BuyerCatalogApi.get_buyer_catalog_listing_availability"
|
|
774
|
+
end
|
|
775
|
+
# resource path
|
|
776
|
+
local_var_path = '/v1/buyer/catalog/listings/{slug}/availability'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
|
|
777
|
+
|
|
778
|
+
# query parameters
|
|
779
|
+
query_params = opts[:query_params] || {}
|
|
780
|
+
|
|
781
|
+
# header parameters
|
|
782
|
+
header_params = opts[:header_params] || {}
|
|
783
|
+
# HTTP header 'Accept' (if needed)
|
|
784
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
785
|
+
|
|
786
|
+
# form parameters
|
|
787
|
+
form_params = opts[:form_params] || {}
|
|
788
|
+
|
|
789
|
+
# http body (model)
|
|
790
|
+
post_body = opts[:debug_body]
|
|
791
|
+
|
|
792
|
+
# return_type
|
|
793
|
+
return_type = opts[:debug_return_type] || 'GetBuyerCatalogListingAvailabilityResponse'
|
|
794
|
+
|
|
795
|
+
# auth_names
|
|
796
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
797
|
+
|
|
798
|
+
new_options = opts.merge(
|
|
799
|
+
:operation => :"BuyerCatalogApi.get_buyer_catalog_listing_availability",
|
|
800
|
+
:header_params => header_params,
|
|
801
|
+
:query_params => query_params,
|
|
802
|
+
:form_params => form_params,
|
|
803
|
+
:body => post_body,
|
|
804
|
+
:auth_names => auth_names,
|
|
805
|
+
:return_type => return_type
|
|
806
|
+
)
|
|
807
|
+
|
|
808
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
809
|
+
if @api_client.config.debugging
|
|
810
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#get_buyer_catalog_listing_availability\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
811
|
+
end
|
|
812
|
+
return data, status_code, headers
|
|
813
|
+
end
|
|
814
|
+
|
|
815
|
+
# Shipping services and prices to a destination.
|
|
816
|
+
# Lists every shipping service the seller offers to `country` (default: the seller’s own country) with its price for `quantity` units and its delivery window in business days (handling included). `zip` is required for a domestic quote; `state` is optional. `shipsToCountry: false` means the seller does not ship there (`noShipMessage` says why); `partial: true` means a ZIP or postcode could change the answer. Pass a service `id` as `shippingServiceId` to POST /api/v1/buyer/checkout, or in `shippingServiceBySeller` to POST /api/v1/buyer/cart/quote. A seller on \"buyer pays: calculated\" prices each allowed carrier service from the live label rate for this parcel plus their handling fee (rates cached 15 minutes): those services carry `carrier` and `carrierService`, and `calculatedAtCheckout: true` means a ZIP is needed first.
|
|
817
|
+
# @param slug [String]
|
|
818
|
+
# @param [Hash] opts the optional parameters
|
|
819
|
+
# @option opts [String] :zip
|
|
820
|
+
# @option opts [String] :state
|
|
821
|
+
# @option opts [String] :country
|
|
822
|
+
# @option opts [Integer] :quantity
|
|
823
|
+
# @return [GetBuyerCatalogListingShippingResponse]
|
|
824
|
+
def get_buyer_catalog_listing_shipping(slug, opts = {})
|
|
825
|
+
data, _status_code, _headers = get_buyer_catalog_listing_shipping_with_http_info(slug, opts)
|
|
826
|
+
data
|
|
827
|
+
end
|
|
828
|
+
|
|
829
|
+
# Shipping services and prices to a destination.
|
|
830
|
+
# Lists every shipping service the seller offers to `country` (default: the seller’s own country) with its price for `quantity` units and its delivery window in business days (handling included). `zip` is required for a domestic quote; `state` is optional. `shipsToCountry: false` means the seller does not ship there (`noShipMessage` says why); `partial: true` means a ZIP or postcode could change the answer. Pass a service `id` as `shippingServiceId` to POST /api/v1/buyer/checkout, or in `shippingServiceBySeller` to POST /api/v1/buyer/cart/quote. A seller on \"buyer pays: calculated\" prices each allowed carrier service from the live label rate for this parcel plus their handling fee (rates cached 15 minutes): those services carry `carrier` and `carrierService`, and `calculatedAtCheckout: true` means a ZIP is needed first.
|
|
831
|
+
# @param slug [String]
|
|
832
|
+
# @param [Hash] opts the optional parameters
|
|
833
|
+
# @option opts [String] :zip
|
|
834
|
+
# @option opts [String] :state
|
|
835
|
+
# @option opts [String] :country
|
|
836
|
+
# @option opts [Integer] :quantity
|
|
837
|
+
# @return [Array<(GetBuyerCatalogListingShippingResponse, Integer, Hash)>] GetBuyerCatalogListingShippingResponse data, response status code and response headers
|
|
838
|
+
def get_buyer_catalog_listing_shipping_with_http_info(slug, opts = {})
|
|
839
|
+
if @api_client.config.debugging
|
|
840
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.get_buyer_catalog_listing_shipping ...'
|
|
841
|
+
end
|
|
842
|
+
# verify the required parameter 'slug' is set
|
|
843
|
+
if @api_client.config.client_side_validation && slug.nil?
|
|
844
|
+
fail ArgumentError, "Missing the required parameter 'slug' when calling BuyerCatalogApi.get_buyer_catalog_listing_shipping"
|
|
845
|
+
end
|
|
846
|
+
if @api_client.config.client_side_validation && !opts[:'state'].nil? && opts[:'state'].to_s.length > 60
|
|
847
|
+
fail ArgumentError, 'invalid value for "opts[:"state"]" when calling BuyerCatalogApi.get_buyer_catalog_listing_shipping, the character length must be smaller than or equal to 60.'
|
|
848
|
+
end
|
|
849
|
+
|
|
850
|
+
if @api_client.config.client_side_validation && !opts[:'country'].nil? && opts[:'country'].to_s.length > 2
|
|
851
|
+
fail ArgumentError, 'invalid value for "opts[:"country"]" when calling BuyerCatalogApi.get_buyer_catalog_listing_shipping, the character length must be smaller than or equal to 2.'
|
|
852
|
+
end
|
|
853
|
+
|
|
854
|
+
if @api_client.config.client_side_validation && !opts[:'country'].nil? && opts[:'country'].to_s.length < 2
|
|
855
|
+
fail ArgumentError, 'invalid value for "opts[:"country"]" when calling BuyerCatalogApi.get_buyer_catalog_listing_shipping, the character length must be great than or equal to 2.'
|
|
856
|
+
end
|
|
857
|
+
|
|
858
|
+
if @api_client.config.client_side_validation && !opts[:'quantity'].nil? && opts[:'quantity'] > 999
|
|
859
|
+
fail ArgumentError, 'invalid value for "opts[:"quantity"]" when calling BuyerCatalogApi.get_buyer_catalog_listing_shipping, must be smaller than or equal to 999.'
|
|
860
|
+
end
|
|
861
|
+
|
|
862
|
+
if @api_client.config.client_side_validation && !opts[:'quantity'].nil? && opts[:'quantity'] < 1
|
|
863
|
+
fail ArgumentError, 'invalid value for "opts[:"quantity"]" when calling BuyerCatalogApi.get_buyer_catalog_listing_shipping, must be greater than or equal to 1.'
|
|
864
|
+
end
|
|
865
|
+
|
|
866
|
+
# resource path
|
|
867
|
+
local_var_path = '/v1/buyer/catalog/listings/{slug}/shipping'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
|
|
868
|
+
|
|
869
|
+
# query parameters
|
|
870
|
+
query_params = opts[:query_params] || {}
|
|
871
|
+
query_params[:'zip'] = opts[:'zip'] if !opts[:'zip'].nil?
|
|
872
|
+
query_params[:'state'] = opts[:'state'] if !opts[:'state'].nil?
|
|
873
|
+
query_params[:'country'] = opts[:'country'] if !opts[:'country'].nil?
|
|
874
|
+
query_params[:'quantity'] = opts[:'quantity'] if !opts[:'quantity'].nil?
|
|
875
|
+
|
|
876
|
+
# header parameters
|
|
877
|
+
header_params = opts[:header_params] || {}
|
|
878
|
+
# HTTP header 'Accept' (if needed)
|
|
879
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
880
|
+
|
|
881
|
+
# form parameters
|
|
882
|
+
form_params = opts[:form_params] || {}
|
|
883
|
+
|
|
884
|
+
# http body (model)
|
|
885
|
+
post_body = opts[:debug_body]
|
|
886
|
+
|
|
887
|
+
# return_type
|
|
888
|
+
return_type = opts[:debug_return_type] || 'GetBuyerCatalogListingShippingResponse'
|
|
889
|
+
|
|
890
|
+
# auth_names
|
|
891
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
892
|
+
|
|
893
|
+
new_options = opts.merge(
|
|
894
|
+
:operation => :"BuyerCatalogApi.get_buyer_catalog_listing_shipping",
|
|
895
|
+
:header_params => header_params,
|
|
896
|
+
:query_params => query_params,
|
|
897
|
+
:form_params => form_params,
|
|
898
|
+
:body => post_body,
|
|
899
|
+
:auth_names => auth_names,
|
|
900
|
+
:return_type => return_type
|
|
901
|
+
)
|
|
902
|
+
|
|
903
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
904
|
+
if @api_client.config.debugging
|
|
905
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#get_buyer_catalog_listing_shipping\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
906
|
+
end
|
|
907
|
+
return data, status_code, headers
|
|
908
|
+
end
|
|
909
|
+
|
|
910
|
+
# Import duties, taxes and fees to a country (landed cost).
|
|
911
|
+
# Quotes the import duties, import taxes and fees for this listing shipped to `country` (ISO 3166-1 alpha-2), using the cheapest shipping service the seller offers there. `status: included` means checkout charges them now and the parcel ships DDP — no bill at the door; `unavailable` means it ships DDU and `notice` says the carrier or customs may charge on delivery; `none` means the parcel does not cross a border. Amounts are US-dollar cents. Answers 503 with `missingEnv` when landed-cost quoting is not configured on this deployment.
|
|
912
|
+
# @param country [String]
|
|
913
|
+
# @param slug [String]
|
|
914
|
+
# @param [Hash] opts the optional parameters
|
|
915
|
+
# @option opts [String] :postal_code
|
|
916
|
+
# @option opts [Integer] :quantity
|
|
917
|
+
# @return [GetBuyerListingLandedCostResponse]
|
|
918
|
+
def get_buyer_listing_landed_cost(country, slug, opts = {})
|
|
919
|
+
data, _status_code, _headers = get_buyer_listing_landed_cost_with_http_info(country, slug, opts)
|
|
920
|
+
data
|
|
921
|
+
end
|
|
922
|
+
|
|
923
|
+
# Import duties, taxes and fees to a country (landed cost).
|
|
924
|
+
# Quotes the import duties, import taxes and fees for this listing shipped to `country` (ISO 3166-1 alpha-2), using the cheapest shipping service the seller offers there. `status: included` means checkout charges them now and the parcel ships DDP — no bill at the door; `unavailable` means it ships DDU and `notice` says the carrier or customs may charge on delivery; `none` means the parcel does not cross a border. Amounts are US-dollar cents. Answers 503 with `missingEnv` when landed-cost quoting is not configured on this deployment.
|
|
925
|
+
# @param country [String]
|
|
926
|
+
# @param slug [String]
|
|
927
|
+
# @param [Hash] opts the optional parameters
|
|
928
|
+
# @option opts [String] :postal_code
|
|
929
|
+
# @option opts [Integer] :quantity
|
|
930
|
+
# @return [Array<(GetBuyerListingLandedCostResponse, Integer, Hash)>] GetBuyerListingLandedCostResponse data, response status code and response headers
|
|
931
|
+
def get_buyer_listing_landed_cost_with_http_info(country, slug, opts = {})
|
|
932
|
+
if @api_client.config.debugging
|
|
933
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.get_buyer_listing_landed_cost ...'
|
|
934
|
+
end
|
|
935
|
+
# verify the required parameter 'country' is set
|
|
936
|
+
if @api_client.config.client_side_validation && country.nil?
|
|
937
|
+
fail ArgumentError, "Missing the required parameter 'country' when calling BuyerCatalogApi.get_buyer_listing_landed_cost"
|
|
938
|
+
end
|
|
939
|
+
if @api_client.config.client_side_validation && country.to_s.length > 2
|
|
940
|
+
fail ArgumentError, 'invalid value for "country" when calling BuyerCatalogApi.get_buyer_listing_landed_cost, the character length must be smaller than or equal to 2.'
|
|
941
|
+
end
|
|
942
|
+
|
|
943
|
+
if @api_client.config.client_side_validation && country.to_s.length < 2
|
|
944
|
+
fail ArgumentError, 'invalid value for "country" when calling BuyerCatalogApi.get_buyer_listing_landed_cost, the character length must be great than or equal to 2.'
|
|
945
|
+
end
|
|
946
|
+
|
|
947
|
+
# verify the required parameter 'slug' is set
|
|
948
|
+
if @api_client.config.client_side_validation && slug.nil?
|
|
949
|
+
fail ArgumentError, "Missing the required parameter 'slug' when calling BuyerCatalogApi.get_buyer_listing_landed_cost"
|
|
950
|
+
end
|
|
951
|
+
if @api_client.config.client_side_validation && !opts[:'postal_code'].nil? && opts[:'postal_code'].to_s.length > 16
|
|
952
|
+
fail ArgumentError, 'invalid value for "opts[:"postal_code"]" when calling BuyerCatalogApi.get_buyer_listing_landed_cost, the character length must be smaller than or equal to 16.'
|
|
953
|
+
end
|
|
954
|
+
|
|
955
|
+
if @api_client.config.client_side_validation && !opts[:'quantity'].nil? && opts[:'quantity'] > 999
|
|
956
|
+
fail ArgumentError, 'invalid value for "opts[:"quantity"]" when calling BuyerCatalogApi.get_buyer_listing_landed_cost, must be smaller than or equal to 999.'
|
|
957
|
+
end
|
|
958
|
+
|
|
959
|
+
if @api_client.config.client_side_validation && !opts[:'quantity'].nil? && opts[:'quantity'] < 1
|
|
960
|
+
fail ArgumentError, 'invalid value for "opts[:"quantity"]" when calling BuyerCatalogApi.get_buyer_listing_landed_cost, must be greater than or equal to 1.'
|
|
961
|
+
end
|
|
962
|
+
|
|
963
|
+
# resource path
|
|
964
|
+
local_var_path = '/v1/buyer/listings/{slug}/landed-cost'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
|
|
965
|
+
|
|
966
|
+
# query parameters
|
|
967
|
+
query_params = opts[:query_params] || {}
|
|
968
|
+
query_params[:'country'] = country
|
|
969
|
+
query_params[:'postalCode'] = opts[:'postal_code'] if !opts[:'postal_code'].nil?
|
|
970
|
+
query_params[:'quantity'] = opts[:'quantity'] if !opts[:'quantity'].nil?
|
|
971
|
+
|
|
972
|
+
# header parameters
|
|
973
|
+
header_params = opts[:header_params] || {}
|
|
974
|
+
# HTTP header 'Accept' (if needed)
|
|
975
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
976
|
+
|
|
977
|
+
# form parameters
|
|
978
|
+
form_params = opts[:form_params] || {}
|
|
979
|
+
|
|
980
|
+
# http body (model)
|
|
981
|
+
post_body = opts[:debug_body]
|
|
982
|
+
|
|
983
|
+
# return_type
|
|
984
|
+
return_type = opts[:debug_return_type] || 'GetBuyerListingLandedCostResponse'
|
|
985
|
+
|
|
986
|
+
# auth_names
|
|
987
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
988
|
+
|
|
989
|
+
new_options = opts.merge(
|
|
990
|
+
:operation => :"BuyerCatalogApi.get_buyer_listing_landed_cost",
|
|
991
|
+
:header_params => header_params,
|
|
992
|
+
:query_params => query_params,
|
|
993
|
+
:form_params => form_params,
|
|
994
|
+
:body => post_body,
|
|
995
|
+
:auth_names => auth_names,
|
|
996
|
+
:return_type => return_type
|
|
997
|
+
)
|
|
998
|
+
|
|
999
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1000
|
+
if @api_client.config.debugging
|
|
1001
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#get_buyer_listing_landed_cost\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1002
|
+
end
|
|
1003
|
+
return data, status_code, headers
|
|
1004
|
+
end
|
|
1005
|
+
|
|
1006
|
+
# One trip and everything it found.
|
|
1007
|
+
# Verdicts are returned EXACTLY as they were given at the time, not re-priced. A history screen that silently refreshes old prices shows a saving that was never actually on offer.
|
|
1008
|
+
# @param id [String]
|
|
1009
|
+
# @param [Hash] opts the optional parameters
|
|
1010
|
+
# @return [GetBuyerScanSessionResponse]
|
|
1011
|
+
def get_buyer_scan_session(id, opts = {})
|
|
1012
|
+
data, _status_code, _headers = get_buyer_scan_session_with_http_info(id, opts)
|
|
1013
|
+
data
|
|
1014
|
+
end
|
|
1015
|
+
|
|
1016
|
+
# One trip and everything it found.
|
|
1017
|
+
# Verdicts are returned EXACTLY as they were given at the time, not re-priced. A history screen that silently refreshes old prices shows a saving that was never actually on offer.
|
|
1018
|
+
# @param id [String]
|
|
1019
|
+
# @param [Hash] opts the optional parameters
|
|
1020
|
+
# @return [Array<(GetBuyerScanSessionResponse, Integer, Hash)>] GetBuyerScanSessionResponse data, response status code and response headers
|
|
1021
|
+
def get_buyer_scan_session_with_http_info(id, opts = {})
|
|
1022
|
+
if @api_client.config.debugging
|
|
1023
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.get_buyer_scan_session ...'
|
|
1024
|
+
end
|
|
1025
|
+
# verify the required parameter 'id' is set
|
|
1026
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1027
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling BuyerCatalogApi.get_buyer_scan_session"
|
|
1028
|
+
end
|
|
1029
|
+
# resource path
|
|
1030
|
+
local_var_path = '/v1/buyer/scan/sessions/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1031
|
+
|
|
1032
|
+
# query parameters
|
|
1033
|
+
query_params = opts[:query_params] || {}
|
|
1034
|
+
|
|
1035
|
+
# header parameters
|
|
1036
|
+
header_params = opts[:header_params] || {}
|
|
1037
|
+
# HTTP header 'Accept' (if needed)
|
|
1038
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1039
|
+
|
|
1040
|
+
# form parameters
|
|
1041
|
+
form_params = opts[:form_params] || {}
|
|
1042
|
+
|
|
1043
|
+
# http body (model)
|
|
1044
|
+
post_body = opts[:debug_body]
|
|
1045
|
+
|
|
1046
|
+
# return_type
|
|
1047
|
+
return_type = opts[:debug_return_type] || 'GetBuyerScanSessionResponse'
|
|
1048
|
+
|
|
1049
|
+
# auth_names
|
|
1050
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
1051
|
+
|
|
1052
|
+
new_options = opts.merge(
|
|
1053
|
+
:operation => :"BuyerCatalogApi.get_buyer_scan_session",
|
|
1054
|
+
:header_params => header_params,
|
|
1055
|
+
:query_params => query_params,
|
|
1056
|
+
:form_params => form_params,
|
|
1057
|
+
:body => post_body,
|
|
1058
|
+
:auth_names => auth_names,
|
|
1059
|
+
:return_type => return_type
|
|
1060
|
+
)
|
|
1061
|
+
|
|
1062
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1063
|
+
if @api_client.config.debugging
|
|
1064
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#get_buyer_scan_session\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1065
|
+
end
|
|
1066
|
+
return data, status_code, headers
|
|
1067
|
+
end
|
|
1068
|
+
|
|
1069
|
+
# Browse the way the shop does — buying format, returns, size, color, sold items, Best Match.
|
|
1070
|
+
# Page-numbered and capped at 50 pages of up to 60, like the storefront. For walking the whole catalogue use /v1/buyer/catalog/search, which pages by cursor. Prices are integer CENTS (`minPriceCents=2500` is $25.00). `sold=true` returns recent sales of matching listings (last 90 days) with `soldPriceCents` and `soldAt`, instead of live stock.
|
|
1071
|
+
# @param [Hash] opts the optional parameters
|
|
1072
|
+
# @option opts [String] :q Free text; every word must appear in the title or brand.
|
|
1073
|
+
# @option opts [String] :format auction, buy_it_now, or offers (accepts offers).
|
|
1074
|
+
# @option opts [String] :returns true = only listings that accept returns.
|
|
1075
|
+
# @option opts [String] :sold true = recent sales instead of live listings.
|
|
1076
|
+
# @option opts [String] :size Exact size, case-insensitive (M does not match XL).
|
|
1077
|
+
# @option opts [String] :color Exact colour, case-insensitive.
|
|
1078
|
+
# @option opts [String] :ships_to ISO 3166-1 alpha-2 destination (e.g. GB): only listings whose seller ships there, decided as checkout decides it (the listing's shipping policy and its own restricted countries). An embargoed destination matches nothing. Omitted, or `any`, means no destination filter — the storefront grid defaults to the buyer's country, this endpoint does not.
|
|
1079
|
+
# @option opts [String] :sort Default best_match with q, newest without.
|
|
1080
|
+
# @option opts [Integer] :min_price_cents Lowest price, in cents.
|
|
1081
|
+
# @option opts [Integer] :max_price_cents Highest price, in cents.
|
|
1082
|
+
# @option opts [Integer] :page 1-indexed page. (default to 1)
|
|
1083
|
+
# @option opts [Integer] :limit Rows per page. (default to 24)
|
|
1084
|
+
# @option opts [String] :brand
|
|
1085
|
+
# @option opts [String] :condition
|
|
1086
|
+
# @option opts [String] :category
|
|
1087
|
+
# @option opts [String] :subcategory
|
|
1088
|
+
# @option opts [String] :free_shipping
|
|
1089
|
+
# @option opts [String] :local_pickup
|
|
1090
|
+
# @option opts [String] :deals
|
|
1091
|
+
# @option opts [String] :state
|
|
1092
|
+
# @option opts [String] :zip
|
|
1093
|
+
# @return [ListBuyerCatalogBrowseResponse]
|
|
1094
|
+
def list_buyer_catalog_browse(opts = {})
|
|
1095
|
+
data, _status_code, _headers = list_buyer_catalog_browse_with_http_info(opts)
|
|
1096
|
+
data
|
|
1097
|
+
end
|
|
1098
|
+
|
|
1099
|
+
# Browse the way the shop does — buying format, returns, size, color, sold items, Best Match.
|
|
1100
|
+
# Page-numbered and capped at 50 pages of up to 60, like the storefront. For walking the whole catalogue use /v1/buyer/catalog/search, which pages by cursor. Prices are integer CENTS (`minPriceCents=2500` is $25.00). `sold=true` returns recent sales of matching listings (last 90 days) with `soldPriceCents` and `soldAt`, instead of live stock.
|
|
1101
|
+
# @param [Hash] opts the optional parameters
|
|
1102
|
+
# @option opts [String] :q Free text; every word must appear in the title or brand.
|
|
1103
|
+
# @option opts [String] :format auction, buy_it_now, or offers (accepts offers).
|
|
1104
|
+
# @option opts [String] :returns true = only listings that accept returns.
|
|
1105
|
+
# @option opts [String] :sold true = recent sales instead of live listings.
|
|
1106
|
+
# @option opts [String] :size Exact size, case-insensitive (M does not match XL).
|
|
1107
|
+
# @option opts [String] :color Exact colour, case-insensitive.
|
|
1108
|
+
# @option opts [String] :ships_to ISO 3166-1 alpha-2 destination (e.g. GB): only listings whose seller ships there, decided as checkout decides it (the listing's shipping policy and its own restricted countries). An embargoed destination matches nothing. Omitted, or `any`, means no destination filter — the storefront grid defaults to the buyer's country, this endpoint does not.
|
|
1109
|
+
# @option opts [String] :sort Default best_match with q, newest without.
|
|
1110
|
+
# @option opts [Integer] :min_price_cents Lowest price, in cents.
|
|
1111
|
+
# @option opts [Integer] :max_price_cents Highest price, in cents.
|
|
1112
|
+
# @option opts [Integer] :page 1-indexed page.
|
|
1113
|
+
# @option opts [Integer] :limit Rows per page.
|
|
1114
|
+
# @option opts [String] :brand
|
|
1115
|
+
# @option opts [String] :condition
|
|
1116
|
+
# @option opts [String] :category
|
|
1117
|
+
# @option opts [String] :subcategory
|
|
1118
|
+
# @option opts [String] :free_shipping
|
|
1119
|
+
# @option opts [String] :local_pickup
|
|
1120
|
+
# @option opts [String] :deals
|
|
1121
|
+
# @option opts [String] :state
|
|
1122
|
+
# @option opts [String] :zip
|
|
1123
|
+
# @return [Array<(ListBuyerCatalogBrowseResponse, Integer, Hash)>] ListBuyerCatalogBrowseResponse data, response status code and response headers
|
|
1124
|
+
def list_buyer_catalog_browse_with_http_info(opts = {})
|
|
1125
|
+
if @api_client.config.debugging
|
|
1126
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.list_buyer_catalog_browse ...'
|
|
1127
|
+
end
|
|
1128
|
+
allowable_values = ["auction", "buy_it_now", "offers"]
|
|
1129
|
+
if @api_client.config.client_side_validation && opts[:'format'] && !allowable_values.include?(opts[:'format'])
|
|
1130
|
+
fail ArgumentError, "invalid value for \"format\", must be one of #{allowable_values}"
|
|
1131
|
+
end
|
|
1132
|
+
allowable_values = ["true", "false"]
|
|
1133
|
+
if @api_client.config.client_side_validation && opts[:'returns'] && !allowable_values.include?(opts[:'returns'])
|
|
1134
|
+
fail ArgumentError, "invalid value for \"returns\", must be one of #{allowable_values}"
|
|
1135
|
+
end
|
|
1136
|
+
allowable_values = ["true", "false"]
|
|
1137
|
+
if @api_client.config.client_side_validation && opts[:'sold'] && !allowable_values.include?(opts[:'sold'])
|
|
1138
|
+
fail ArgumentError, "invalid value for \"sold\", must be one of #{allowable_values}"
|
|
1139
|
+
end
|
|
1140
|
+
allowable_values = ["best_match", "newest", "price_low", "price_high", "popular", "ending_soon"]
|
|
1141
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
|
1142
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
|
1143
|
+
end
|
|
1144
|
+
if @api_client.config.client_side_validation && !opts[:'min_price_cents'].nil? && opts[:'min_price_cents'] < 0
|
|
1145
|
+
fail ArgumentError, 'invalid value for "opts[:"min_price_cents"]" when calling BuyerCatalogApi.list_buyer_catalog_browse, must be greater than or equal to 0.'
|
|
1146
|
+
end
|
|
1147
|
+
|
|
1148
|
+
if @api_client.config.client_side_validation && !opts[:'max_price_cents'].nil? && opts[:'max_price_cents'] < 0
|
|
1149
|
+
fail ArgumentError, 'invalid value for "opts[:"max_price_cents"]" when calling BuyerCatalogApi.list_buyer_catalog_browse, must be greater than or equal to 0.'
|
|
1150
|
+
end
|
|
1151
|
+
|
|
1152
|
+
if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] > 50
|
|
1153
|
+
fail ArgumentError, 'invalid value for "opts[:"page"]" when calling BuyerCatalogApi.list_buyer_catalog_browse, must be smaller than or equal to 50.'
|
|
1154
|
+
end
|
|
1155
|
+
|
|
1156
|
+
if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 1
|
|
1157
|
+
fail ArgumentError, 'invalid value for "opts[:"page"]" when calling BuyerCatalogApi.list_buyer_catalog_browse, must be greater than or equal to 1.'
|
|
1158
|
+
end
|
|
1159
|
+
|
|
1160
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 60
|
|
1161
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling BuyerCatalogApi.list_buyer_catalog_browse, must be smaller than or equal to 60.'
|
|
1162
|
+
end
|
|
1163
|
+
|
|
1164
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1165
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling BuyerCatalogApi.list_buyer_catalog_browse, must be greater than or equal to 1.'
|
|
1166
|
+
end
|
|
1167
|
+
|
|
1168
|
+
allowable_values = ["true", "false"]
|
|
1169
|
+
if @api_client.config.client_side_validation && opts[:'free_shipping'] && !allowable_values.include?(opts[:'free_shipping'])
|
|
1170
|
+
fail ArgumentError, "invalid value for \"free_shipping\", must be one of #{allowable_values}"
|
|
1171
|
+
end
|
|
1172
|
+
allowable_values = ["true", "false"]
|
|
1173
|
+
if @api_client.config.client_side_validation && opts[:'local_pickup'] && !allowable_values.include?(opts[:'local_pickup'])
|
|
1174
|
+
fail ArgumentError, "invalid value for \"local_pickup\", must be one of #{allowable_values}"
|
|
1175
|
+
end
|
|
1176
|
+
allowable_values = ["true", "false"]
|
|
1177
|
+
if @api_client.config.client_side_validation && opts[:'deals'] && !allowable_values.include?(opts[:'deals'])
|
|
1178
|
+
fail ArgumentError, "invalid value for \"deals\", must be one of #{allowable_values}"
|
|
1179
|
+
end
|
|
1180
|
+
# resource path
|
|
1181
|
+
local_var_path = '/v1/buyer/catalog/browse'
|
|
1182
|
+
|
|
1183
|
+
# query parameters
|
|
1184
|
+
query_params = opts[:query_params] || {}
|
|
1185
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
1186
|
+
query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
|
|
1187
|
+
query_params[:'returns'] = opts[:'returns'] if !opts[:'returns'].nil?
|
|
1188
|
+
query_params[:'sold'] = opts[:'sold'] if !opts[:'sold'].nil?
|
|
1189
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
|
1190
|
+
query_params[:'color'] = opts[:'color'] if !opts[:'color'].nil?
|
|
1191
|
+
query_params[:'shipsTo'] = opts[:'ships_to'] if !opts[:'ships_to'].nil?
|
|
1192
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1193
|
+
query_params[:'minPriceCents'] = opts[:'min_price_cents'] if !opts[:'min_price_cents'].nil?
|
|
1194
|
+
query_params[:'maxPriceCents'] = opts[:'max_price_cents'] if !opts[:'max_price_cents'].nil?
|
|
1195
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1196
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1197
|
+
query_params[:'brand'] = opts[:'brand'] if !opts[:'brand'].nil?
|
|
1198
|
+
query_params[:'condition'] = opts[:'condition'] if !opts[:'condition'].nil?
|
|
1199
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
|
1200
|
+
query_params[:'subcategory'] = opts[:'subcategory'] if !opts[:'subcategory'].nil?
|
|
1201
|
+
query_params[:'freeShipping'] = opts[:'free_shipping'] if !opts[:'free_shipping'].nil?
|
|
1202
|
+
query_params[:'localPickup'] = opts[:'local_pickup'] if !opts[:'local_pickup'].nil?
|
|
1203
|
+
query_params[:'deals'] = opts[:'deals'] if !opts[:'deals'].nil?
|
|
1204
|
+
query_params[:'state'] = opts[:'state'] if !opts[:'state'].nil?
|
|
1205
|
+
query_params[:'zip'] = opts[:'zip'] if !opts[:'zip'].nil?
|
|
1206
|
+
|
|
1207
|
+
# header parameters
|
|
1208
|
+
header_params = opts[:header_params] || {}
|
|
1209
|
+
# HTTP header 'Accept' (if needed)
|
|
1210
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1211
|
+
|
|
1212
|
+
# form parameters
|
|
1213
|
+
form_params = opts[:form_params] || {}
|
|
1214
|
+
|
|
1215
|
+
# http body (model)
|
|
1216
|
+
post_body = opts[:debug_body]
|
|
1217
|
+
|
|
1218
|
+
# return_type
|
|
1219
|
+
return_type = opts[:debug_return_type] || 'ListBuyerCatalogBrowseResponse'
|
|
1220
|
+
|
|
1221
|
+
# auth_names
|
|
1222
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
1223
|
+
|
|
1224
|
+
new_options = opts.merge(
|
|
1225
|
+
:operation => :"BuyerCatalogApi.list_buyer_catalog_browse",
|
|
1226
|
+
:header_params => header_params,
|
|
1227
|
+
:query_params => query_params,
|
|
1228
|
+
:form_params => form_params,
|
|
1229
|
+
:body => post_body,
|
|
1230
|
+
:auth_names => auth_names,
|
|
1231
|
+
:return_type => return_type
|
|
1232
|
+
)
|
|
1233
|
+
|
|
1234
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1235
|
+
if @api_client.config.debugging
|
|
1236
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#list_buyer_catalog_browse\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1237
|
+
end
|
|
1238
|
+
return data, status_code, headers
|
|
1239
|
+
end
|
|
1240
|
+
|
|
1241
|
+
# What THIS listing has sold for, newest first (last 50), with the median.
|
|
1242
|
+
# This listing only — never \"similar items\", which would mean matching other listings by resemblance. Prices are per unit, in cents, excluding shipping and tax.
|
|
1243
|
+
# @param slug [String] The listing slug.
|
|
1244
|
+
# @param [Hash] opts the optional parameters
|
|
1245
|
+
# @return [ListBuyerCatalogListingSoldHistoryResponse]
|
|
1246
|
+
def list_buyer_catalog_listing_sold_history(slug, opts = {})
|
|
1247
|
+
data, _status_code, _headers = list_buyer_catalog_listing_sold_history_with_http_info(slug, opts)
|
|
1248
|
+
data
|
|
1249
|
+
end
|
|
1250
|
+
|
|
1251
|
+
# What THIS listing has sold for, newest first (last 50), with the median.
|
|
1252
|
+
# This listing only — never \"similar items\", which would mean matching other listings by resemblance. Prices are per unit, in cents, excluding shipping and tax.
|
|
1253
|
+
# @param slug [String] The listing slug.
|
|
1254
|
+
# @param [Hash] opts the optional parameters
|
|
1255
|
+
# @return [Array<(ListBuyerCatalogListingSoldHistoryResponse, Integer, Hash)>] ListBuyerCatalogListingSoldHistoryResponse data, response status code and response headers
|
|
1256
|
+
def list_buyer_catalog_listing_sold_history_with_http_info(slug, opts = {})
|
|
1257
|
+
if @api_client.config.debugging
|
|
1258
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.list_buyer_catalog_listing_sold_history ...'
|
|
1259
|
+
end
|
|
1260
|
+
# verify the required parameter 'slug' is set
|
|
1261
|
+
if @api_client.config.client_side_validation && slug.nil?
|
|
1262
|
+
fail ArgumentError, "Missing the required parameter 'slug' when calling BuyerCatalogApi.list_buyer_catalog_listing_sold_history"
|
|
1263
|
+
end
|
|
1264
|
+
# resource path
|
|
1265
|
+
local_var_path = '/v1/buyer/catalog/listings/{slug}/sold-history'.sub('{' + 'slug' + '}', CGI.escape(slug.to_s))
|
|
1266
|
+
|
|
1267
|
+
# query parameters
|
|
1268
|
+
query_params = opts[:query_params] || {}
|
|
1269
|
+
|
|
1270
|
+
# header parameters
|
|
1271
|
+
header_params = opts[:header_params] || {}
|
|
1272
|
+
# HTTP header 'Accept' (if needed)
|
|
1273
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1274
|
+
|
|
1275
|
+
# form parameters
|
|
1276
|
+
form_params = opts[:form_params] || {}
|
|
1277
|
+
|
|
1278
|
+
# http body (model)
|
|
1279
|
+
post_body = opts[:debug_body]
|
|
1280
|
+
|
|
1281
|
+
# return_type
|
|
1282
|
+
return_type = opts[:debug_return_type] || 'ListBuyerCatalogListingSoldHistoryResponse'
|
|
1283
|
+
|
|
1284
|
+
# auth_names
|
|
1285
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
1286
|
+
|
|
1287
|
+
new_options = opts.merge(
|
|
1288
|
+
:operation => :"BuyerCatalogApi.list_buyer_catalog_listing_sold_history",
|
|
1289
|
+
:header_params => header_params,
|
|
1290
|
+
:query_params => query_params,
|
|
1291
|
+
:form_params => form_params,
|
|
1292
|
+
:body => post_body,
|
|
1293
|
+
:auth_names => auth_names,
|
|
1294
|
+
:return_type => return_type
|
|
1295
|
+
)
|
|
1296
|
+
|
|
1297
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1298
|
+
if @api_client.config.debugging
|
|
1299
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#list_buyer_catalog_listing_sold_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1300
|
+
end
|
|
1301
|
+
return data, status_code, headers
|
|
1302
|
+
end
|
|
1303
|
+
|
|
1304
|
+
# Search the Crossly catalogue.
|
|
1305
|
+
# Keyset-paginated. Pass the `nextCursor` you were given back as `cursor`; page 500 costs the same as page 1. Cursors are opaque — do not parse them. Responses carry an ETag: send it back as If-None-Match and an unchanged page answers 304, which is free. `sort=popular` is deliberately unavailable, because a cursor into a continuously-reordering list silently skips rows.
|
|
1306
|
+
# @param [Hash] opts the optional parameters
|
|
1307
|
+
# @option opts [String] :q
|
|
1308
|
+
# @option opts [String] :brand
|
|
1309
|
+
# @option opts [String] :category
|
|
1310
|
+
# @option opts [String] :condition
|
|
1311
|
+
# @option opts [String] :seller
|
|
1312
|
+
# @option opts [Float] :min_price_cents
|
|
1313
|
+
# @option opts [Float] :max_price_cents
|
|
1314
|
+
# @option opts [String] :listed_after
|
|
1315
|
+
# @option opts [String] :in_stock_only
|
|
1316
|
+
# @option opts [String] :sort
|
|
1317
|
+
# @option opts [Float] :limit
|
|
1318
|
+
# @option opts [String] :cursor
|
|
1319
|
+
# @return [ListBuyerCatalogSearchResponse]
|
|
1320
|
+
def list_buyer_catalog_search(opts = {})
|
|
1321
|
+
data, _status_code, _headers = list_buyer_catalog_search_with_http_info(opts)
|
|
1322
|
+
data
|
|
1323
|
+
end
|
|
1324
|
+
|
|
1325
|
+
# Search the Crossly catalogue.
|
|
1326
|
+
# Keyset-paginated. Pass the `nextCursor` you were given back as `cursor`; page 500 costs the same as page 1. Cursors are opaque — do not parse them. Responses carry an ETag: send it back as If-None-Match and an unchanged page answers 304, which is free. `sort=popular` is deliberately unavailable, because a cursor into a continuously-reordering list silently skips rows.
|
|
1327
|
+
# @param [Hash] opts the optional parameters
|
|
1328
|
+
# @option opts [String] :q
|
|
1329
|
+
# @option opts [String] :brand
|
|
1330
|
+
# @option opts [String] :category
|
|
1331
|
+
# @option opts [String] :condition
|
|
1332
|
+
# @option opts [String] :seller
|
|
1333
|
+
# @option opts [Float] :min_price_cents
|
|
1334
|
+
# @option opts [Float] :max_price_cents
|
|
1335
|
+
# @option opts [String] :listed_after
|
|
1336
|
+
# @option opts [String] :in_stock_only
|
|
1337
|
+
# @option opts [String] :sort
|
|
1338
|
+
# @option opts [Float] :limit
|
|
1339
|
+
# @option opts [String] :cursor
|
|
1340
|
+
# @return [Array<(ListBuyerCatalogSearchResponse, Integer, Hash)>] ListBuyerCatalogSearchResponse data, response status code and response headers
|
|
1341
|
+
def list_buyer_catalog_search_with_http_info(opts = {})
|
|
1342
|
+
if @api_client.config.debugging
|
|
1343
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.list_buyer_catalog_search ...'
|
|
1344
|
+
end
|
|
1345
|
+
allowable_values = ["true", "false"]
|
|
1346
|
+
if @api_client.config.client_side_validation && opts[:'in_stock_only'] && !allowable_values.include?(opts[:'in_stock_only'])
|
|
1347
|
+
fail ArgumentError, "invalid value for \"in_stock_only\", must be one of #{allowable_values}"
|
|
1348
|
+
end
|
|
1349
|
+
allowable_values = ["newest", "price_low", "price_high"]
|
|
1350
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
|
1351
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
|
1352
|
+
end
|
|
1353
|
+
# resource path
|
|
1354
|
+
local_var_path = '/v1/buyer/catalog/search'
|
|
1355
|
+
|
|
1356
|
+
# query parameters
|
|
1357
|
+
query_params = opts[:query_params] || {}
|
|
1358
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
1359
|
+
query_params[:'brand'] = opts[:'brand'] if !opts[:'brand'].nil?
|
|
1360
|
+
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
|
1361
|
+
query_params[:'condition'] = opts[:'condition'] if !opts[:'condition'].nil?
|
|
1362
|
+
query_params[:'seller'] = opts[:'seller'] if !opts[:'seller'].nil?
|
|
1363
|
+
query_params[:'minPriceCents'] = opts[:'min_price_cents'] if !opts[:'min_price_cents'].nil?
|
|
1364
|
+
query_params[:'maxPriceCents'] = opts[:'max_price_cents'] if !opts[:'max_price_cents'].nil?
|
|
1365
|
+
query_params[:'listedAfter'] = opts[:'listed_after'] if !opts[:'listed_after'].nil?
|
|
1366
|
+
query_params[:'inStockOnly'] = opts[:'in_stock_only'] if !opts[:'in_stock_only'].nil?
|
|
1367
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1368
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1369
|
+
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
|
1370
|
+
|
|
1371
|
+
# header parameters
|
|
1372
|
+
header_params = opts[:header_params] || {}
|
|
1373
|
+
# HTTP header 'Accept' (if needed)
|
|
1374
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1375
|
+
|
|
1376
|
+
# form parameters
|
|
1377
|
+
form_params = opts[:form_params] || {}
|
|
1378
|
+
|
|
1379
|
+
# http body (model)
|
|
1380
|
+
post_body = opts[:debug_body]
|
|
1381
|
+
|
|
1382
|
+
# return_type
|
|
1383
|
+
return_type = opts[:debug_return_type] || 'ListBuyerCatalogSearchResponse'
|
|
1384
|
+
|
|
1385
|
+
# auth_names
|
|
1386
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
1387
|
+
|
|
1388
|
+
new_options = opts.merge(
|
|
1389
|
+
:operation => :"BuyerCatalogApi.list_buyer_catalog_search",
|
|
1390
|
+
:header_params => header_params,
|
|
1391
|
+
:query_params => query_params,
|
|
1392
|
+
:form_params => form_params,
|
|
1393
|
+
:body => post_body,
|
|
1394
|
+
:auth_names => auth_names,
|
|
1395
|
+
:return_type => return_type
|
|
1396
|
+
)
|
|
1397
|
+
|
|
1398
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1399
|
+
if @api_client.config.debugging
|
|
1400
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#list_buyer_catalog_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1401
|
+
end
|
|
1402
|
+
return data, status_code, headers
|
|
1403
|
+
end
|
|
1404
|
+
|
|
1405
|
+
# Find a seller by shop handle or shop name.
|
|
1406
|
+
# Only shops that have listed on Crossly. Exact matches first, then prefix, then by live listing count.
|
|
1407
|
+
# @param q [String] At least two characters of a handle or shop name.
|
|
1408
|
+
# @param [Hash] opts the optional parameters
|
|
1409
|
+
# @option opts [Integer] :limit How many shops to return. (default to 12)
|
|
1410
|
+
# @return [ListBuyerCatalogSellersResponse]
|
|
1411
|
+
def list_buyer_catalog_sellers(q, opts = {})
|
|
1412
|
+
data, _status_code, _headers = list_buyer_catalog_sellers_with_http_info(q, opts)
|
|
1413
|
+
data
|
|
1414
|
+
end
|
|
1415
|
+
|
|
1416
|
+
# Find a seller by shop handle or shop name.
|
|
1417
|
+
# Only shops that have listed on Crossly. Exact matches first, then prefix, then by live listing count.
|
|
1418
|
+
# @param q [String] At least two characters of a handle or shop name.
|
|
1419
|
+
# @param [Hash] opts the optional parameters
|
|
1420
|
+
# @option opts [Integer] :limit How many shops to return.
|
|
1421
|
+
# @return [Array<(ListBuyerCatalogSellersResponse, Integer, Hash)>] ListBuyerCatalogSellersResponse data, response status code and response headers
|
|
1422
|
+
def list_buyer_catalog_sellers_with_http_info(q, opts = {})
|
|
1423
|
+
if @api_client.config.debugging
|
|
1424
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.list_buyer_catalog_sellers ...'
|
|
1425
|
+
end
|
|
1426
|
+
# verify the required parameter 'q' is set
|
|
1427
|
+
if @api_client.config.client_side_validation && q.nil?
|
|
1428
|
+
fail ArgumentError, "Missing the required parameter 'q' when calling BuyerCatalogApi.list_buyer_catalog_sellers"
|
|
1429
|
+
end
|
|
1430
|
+
if @api_client.config.client_side_validation && q.to_s.length > 60
|
|
1431
|
+
fail ArgumentError, 'invalid value for "q" when calling BuyerCatalogApi.list_buyer_catalog_sellers, the character length must be smaller than or equal to 60.'
|
|
1432
|
+
end
|
|
1433
|
+
|
|
1434
|
+
if @api_client.config.client_side_validation && q.to_s.length < 2
|
|
1435
|
+
fail ArgumentError, 'invalid value for "q" when calling BuyerCatalogApi.list_buyer_catalog_sellers, the character length must be great than or equal to 2.'
|
|
1436
|
+
end
|
|
1437
|
+
|
|
1438
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 30
|
|
1439
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling BuyerCatalogApi.list_buyer_catalog_sellers, must be smaller than or equal to 30.'
|
|
1440
|
+
end
|
|
1441
|
+
|
|
1442
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
1443
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling BuyerCatalogApi.list_buyer_catalog_sellers, must be greater than or equal to 1.'
|
|
1444
|
+
end
|
|
1445
|
+
|
|
1446
|
+
# resource path
|
|
1447
|
+
local_var_path = '/v1/buyer/catalog/sellers'
|
|
1448
|
+
|
|
1449
|
+
# query parameters
|
|
1450
|
+
query_params = opts[:query_params] || {}
|
|
1451
|
+
query_params[:'q'] = q
|
|
1452
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1453
|
+
|
|
1454
|
+
# header parameters
|
|
1455
|
+
header_params = opts[:header_params] || {}
|
|
1456
|
+
# HTTP header 'Accept' (if needed)
|
|
1457
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1458
|
+
|
|
1459
|
+
# form parameters
|
|
1460
|
+
form_params = opts[:form_params] || {}
|
|
1461
|
+
|
|
1462
|
+
# http body (model)
|
|
1463
|
+
post_body = opts[:debug_body]
|
|
1464
|
+
|
|
1465
|
+
# return_type
|
|
1466
|
+
return_type = opts[:debug_return_type] || 'ListBuyerCatalogSellersResponse'
|
|
1467
|
+
|
|
1468
|
+
# auth_names
|
|
1469
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
1470
|
+
|
|
1471
|
+
new_options = opts.merge(
|
|
1472
|
+
:operation => :"BuyerCatalogApi.list_buyer_catalog_sellers",
|
|
1473
|
+
:header_params => header_params,
|
|
1474
|
+
:query_params => query_params,
|
|
1475
|
+
:form_params => form_params,
|
|
1476
|
+
:body => post_body,
|
|
1477
|
+
:auth_names => auth_names,
|
|
1478
|
+
:return_type => return_type
|
|
1479
|
+
)
|
|
1480
|
+
|
|
1481
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1482
|
+
if @api_client.config.debugging
|
|
1483
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#list_buyer_catalog_sellers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1484
|
+
end
|
|
1485
|
+
return data, status_code, headers
|
|
1486
|
+
end
|
|
1487
|
+
|
|
1488
|
+
# Your scanning trips, newest first.
|
|
1489
|
+
# @param [Hash] opts the optional parameters
|
|
1490
|
+
# @return [ListBuyerScanSessionsResponse]
|
|
1491
|
+
def list_buyer_scan_sessions(opts = {})
|
|
1492
|
+
data, _status_code, _headers = list_buyer_scan_sessions_with_http_info(opts)
|
|
1493
|
+
data
|
|
1494
|
+
end
|
|
1495
|
+
|
|
1496
|
+
# Your scanning trips, newest first.
|
|
1497
|
+
# @param [Hash] opts the optional parameters
|
|
1498
|
+
# @return [Array<(ListBuyerScanSessionsResponse, Integer, Hash)>] ListBuyerScanSessionsResponse data, response status code and response headers
|
|
1499
|
+
def list_buyer_scan_sessions_with_http_info(opts = {})
|
|
1500
|
+
if @api_client.config.debugging
|
|
1501
|
+
@api_client.config.logger.debug 'Calling API: BuyerCatalogApi.list_buyer_scan_sessions ...'
|
|
1502
|
+
end
|
|
1503
|
+
# resource path
|
|
1504
|
+
local_var_path = '/v1/buyer/scan/sessions'
|
|
1505
|
+
|
|
1506
|
+
# query parameters
|
|
1507
|
+
query_params = opts[:query_params] || {}
|
|
1508
|
+
|
|
1509
|
+
# header parameters
|
|
1510
|
+
header_params = opts[:header_params] || {}
|
|
1511
|
+
# HTTP header 'Accept' (if needed)
|
|
1512
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
1513
|
+
|
|
1514
|
+
# form parameters
|
|
1515
|
+
form_params = opts[:form_params] || {}
|
|
1516
|
+
|
|
1517
|
+
# http body (model)
|
|
1518
|
+
post_body = opts[:debug_body]
|
|
1519
|
+
|
|
1520
|
+
# return_type
|
|
1521
|
+
return_type = opts[:debug_return_type] || 'ListBuyerScanSessionsResponse'
|
|
1522
|
+
|
|
1523
|
+
# auth_names
|
|
1524
|
+
auth_names = opts[:debug_auth_names] || ['BuyerOAuth']
|
|
1525
|
+
|
|
1526
|
+
new_options = opts.merge(
|
|
1527
|
+
:operation => :"BuyerCatalogApi.list_buyer_scan_sessions",
|
|
1528
|
+
:header_params => header_params,
|
|
1529
|
+
:query_params => query_params,
|
|
1530
|
+
:form_params => form_params,
|
|
1531
|
+
:body => post_body,
|
|
1532
|
+
:auth_names => auth_names,
|
|
1533
|
+
:return_type => return_type
|
|
1534
|
+
)
|
|
1535
|
+
|
|
1536
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1537
|
+
if @api_client.config.debugging
|
|
1538
|
+
@api_client.config.logger.debug "API called: BuyerCatalogApi#list_buyer_scan_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1539
|
+
end
|
|
1540
|
+
return data, status_code, headers
|
|
1541
|
+
end
|
|
1542
|
+
end
|
|
1543
|
+
end
|