source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/get_shipment_items_response.rb | Ruby | mit | 308 | main | 509 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# The response schema for the getShipmentItems operation.
GetShipmentItemsResponse = Structure.new do
# @return [Array<Error>]
attribute?(:e... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/get_prep_instructions_result.rb | Ruby | mit | 308 | main | 827 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Result for the get prep instructions operation
GetPrepInstructionsResult = Structure.new do
# @return [Array<ASINPrepInstructions>]
attrib... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/get_shipments_result.rb | Ruby | mit | 308 | main | 644 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Result for the get shipments operation
GetShipmentsResult = Structure.new do
# @return [String] When present and not empty, pass this string token... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/inbound_shipment_list.rb | Ruby | mit | 308 | main | 407 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class FulfillmentInboundV0
# A list of inbound shipment information.
class InboundShipmentList < Array
class << self
def parse(array)
new(array.map { |item| In... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/asin_prep_instructions.rb | Ruby | mit | 308 | main | 760 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Item preparation instructions to help with item sourcing decisions.
ASINPrepInstructions = Structure.new do
# @return [String] The Amazon Standard... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/bill_of_lading_download_url.rb | Ruby | mit | 308 | main | 476 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Download URL for the bill of lading.
BillOfLadingDownloadURL = Structure.new do
# @return [String] URL to download the bill of lading for the pack... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/get_bill_of_lading_response.rb | Ruby | mit | 308 | main | 508 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# The response schema for the getBillOfLading operation.
GetBillOfLadingResponse = Structure.new do
# @return [Array<Error>]
attribute?(:err... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/fulfillment_inbound_v0/invalid_sku.rb | Ruby | mit | 308 | main | 508 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class FulfillmentInboundV0
# Contains detail about an invalid SKU
InvalidSKU = Structure.new do
# @return [String] The reason why the seller SKU is invalid.
attribute?... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/application_integrations_2024_04_01/error.rb | Ruby | mit | 308 | main | 685 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ApplicationIntegrations20240401
# Error response returned when the request is unsuccessful.
Error = Structure.new do
# @return [String] An error code that identifies the... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/application_integrations_2024_04_01/record_action_feedback_request.rb | Ruby | mit | 308 | main | 475 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ApplicationIntegrations20240401
# The request for the `recordActionFeedback` operation.
RecordActionFeedbackRequest = Structure.new do
# @return [String] The unique iden... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/application_integrations_2024_04_01/delete_notifications_request.rb | Ruby | mit | 308 | main | 677 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ApplicationIntegrations20240401
# The request for the `deleteNotifications` operation.
DeleteNotificationsRequest = Structure.new do
# @return [String] The unique identi... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/application_integrations_2024_04_01/error_list.rb | Ruby | mit | 308 | main | 441 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ApplicationIntegrations20240401
# A list of error responses returned when a request is unsuccessful.
ErrorList = Structure.new do
# @return [Array<Error>] Error response... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/application_integrations_2024_04_01/create_notification_response.rb | Ruby | mit | 308 | main | 453 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ApplicationIntegrations20240401
# The response for the `createNotification` operation.
CreateNotificationResponse = Structure.new do
# @return [String] The unique identi... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/application_integrations_2024_04_01/create_notification_request.rb | Ruby | mit | 308 | main | 851 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ApplicationIntegrations20240401
# The request for the `createNotification` operation.
CreateNotificationRequest = Structure.new do
# @return [Hash] The parameters specif... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/test_order.rb | Ruby | mit | 308 | main | 464 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class VendorDirectFulfillmentSandboxTestData20211028
# Error response returned when the request is unsuccessful.
TestOrder = Structure.new do
# @return [String] An error code ... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/error.rb | Ruby | mit | 308 | main | 700 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class VendorDirectFulfillmentSandboxTestData20211028
# Error response returned when the request is unsuccessful.
Error = Structure.new do
# @return [String] An error code that... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/error_list.rb | Ruby | mit | 308 | main | 461 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class VendorDirectFulfillmentSandboxTestData20211028
# A list of error responses returned when a request is unsuccessful.
ErrorList = Structure.new do
# @return [Array<Error>]... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/pagination.rb | Ruby | mit | 308 | main | 644 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class VendorDirectFulfillmentSandboxTestData20211028
# A generated string used to pass information to your next request. If NextToken is returned, pass the value of
# NextToken to the... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/transaction_reference.rb | Ruby | mit | 308 | main | 503 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class VendorDirectFulfillmentSandboxTestData20211028
# A GUID assigned by Amazon to identify this transaction.
TransactionReference = Structure.new do
# @return [String] A GUI... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/scenario.rb | Ruby | mit | 308 | main | 689 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class VendorDirectFulfillmentSandboxTestData20211028
# A scenario test case response returned when the request is successful.
Scenario = Structure.new do
# @return [Array<Test... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/order_scenario_request.rb | Ruby | mit | 308 | main | 663 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class VendorDirectFulfillmentSandboxTestData20211028
# The party identifiers required to generate the test data.
OrderScenarioRequest = Structure.new do
# @return [PartyIdenti... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/test_case_data.rb | Ruby | mit | 308 | main | 465 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class VendorDirectFulfillmentSandboxTestData20211028
# The set of test case data returned in response to the test data request.
TestCaseData = Structure.new do
# @return [Arra... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/generate_order_scenario_request.rb | Ruby | mit | 308 | main | 496 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class VendorDirectFulfillmentSandboxTestData20211028
# The request body for the generateOrderScenarios operation.
GenerateOrderScenarioRequest = Structure.new do
# @return [Ar... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/transaction.rb | Ruby | mit | 308 | main | 912 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class VendorDirectFulfillmentSandboxTestData20211028
# The transaction details including the status. If the transaction was successful, also includes the requested
# test order data.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/party_identification.rb | Ruby | mit | 308 | main | 651 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class VendorDirectFulfillmentSandboxTestData20211028
# The identification object for the party information. For example, warehouse code or vendor code. Please refer to
# specific part... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vendor_direct_fulfillment_sandbox_test_data_2021_10_28/transaction_status.rb | Ruby | mit | 308 | main | 418 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class VendorDirectFulfillmentSandboxTestData20211028
# The payload for the getOrderScenarios operation.
TransactionStatus = Structure.new do
# @return [Transaction]
at... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vehicles_2024_11_01/error_list.rb | Ruby | mit | 308 | main | 384 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Vehicles20241101
# A list of error responses returned when a request is unsuccessful.
ErrorList = Structure.new do
# @return [Array<Error>] array of errors
attri... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vehicles_2024_11_01/vehicle_identifiers.rb | Ruby | mit | 308 | main | 616 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Vehicles20241101
# Combination of vehicle standard and id that can uniquely identify a vehicle from Amazon's catalog.
VehicleIdentifiers = Structure.new do
# @return [St... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vehicles_2024_11_01/error.rb | Ruby | mit | 308 | main | 670 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Vehicles20241101
# Error response returned when the request is unsuccessful.
Error = Structure.new do
# @return [String] An error code that identifies the type of error ... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vehicles_2024_11_01/engine_output.rb | Ruby | mit | 308 | main | 471 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Vehicles20241101
# Engine power output of vehicle.
EngineOutput = Structure.new do
# @return [String] Unit for measuring engine power.
attribute(:unit, String, n... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vehicles_2024_11_01/month_and_year.rb | Ruby | mit | 308 | main | 381 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Vehicles20241101
# Represents a month in a specific year.
MonthAndYear = Structure.new do
# @return [Float]
attribute?(:month, Float)
# @return [Float]
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vehicles_2024_11_01/vehicle.rb | Ruby | mit | 308 | main | 2,031 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Vehicles20241101
# Combinations of attributes and unique identifier that represents a vehicle in vehicle list.
Vehicle = Structure.new do
# @return [Array<VehicleIdentif... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vehicles_2024_11_01/pagination.rb | Ruby | mit | 308 | main | 922 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Vehicles20241101
# When a request produces a response that exceeds the `pageSize`, pagination occurs. This means the response is
# divided into individual pages. To retrieve the... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/vehicles_2024_11_01/vehicles_response.rb | Ruby | mit | 308 | main | 592 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class Vehicles20241101
# Get paginated list of vehicle from Amazon's catalog
VehiclesResponse = Structure.new do
# @return [Array<Vehicle>] List of vehicles from Amazon's cata... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/get_service_jobs_response.rb | Ruby | mit | 308 | main | 541 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Response schema for the `getServiceJobs` operation.
GetServiceJobsResponse = Structure.new do
# @return [Array<Error>] An unexpected condition occurred duri... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/create_service_document_upload_destination.rb | Ruby | mit | 308 | main | 509 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# The response schema for the `createServiceDocumentUploadDestination` operation.
CreateServiceDocumentUploadDestination = Structure.new do
# @return [Array<E... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/recurrence.rb | Ruby | mit | 308 | main | 782 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# Repeated occurrence of an event in a time range.
Recurrence = Structure.new do
# @return [Time] End time of the recurrence.
attribute... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/range_slot.rb | Ruby | mit | 308 | main | 705 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# Capacity slots represented in a format similar to availability rules.
RangeSlot = Structure.new do
# @return [Integer] Capacity of the slot.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/availability_records.rb | Ruby | mit | 308 | main | 445 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class ServicesV1
# List of `AvailabilityRecord`s to represent the capacity of a resource over a time range.
class AvailabilityRecords < Array
class << self
def parse(array... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/encryption_details.rb | Ruby | mit | 308 | main | 821 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Encryption details for required client-side encryption and decryption of document contents.
EncryptionDetails = Structure.new do
# @return [String] The vect... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/availability_record.rb | Ruby | mit | 308 | main | 932 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# `AvailabilityRecord` to represent the capacity of a resource over a time range.
AvailabilityRecord = Structure.new do
# @return [Time] Denote... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/update_schedule_request.rb | Ruby | mit | 308 | main | 462 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Request schema for the `updateSchedule` operation.
UpdateScheduleRequest = Structure.new do
# @return [Array<AvailabilityRecord>] List of schedule objects t... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/create_reservation_request.rb | Ruby | mit | 308 | main | 561 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Request schema for the `createReservation` operation.
CreateReservationRequest = Structure.new do
# @return [Reservation] `Reservation` object to reduce the... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/assign_appointment_resources_response.rb | Ruby | mit | 308 | main | 566 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Response schema for the `assignAppointmentResources` operation.
AssignAppointmentResourcesResponse = Structure.new do
# @return [Array<Error>] Errors occurr... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/reservation.rb | Ruby | mit | 308 | main | 874 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Reservation object reduces the capacity of a resource.
Reservation = Structure.new do
# @return [AvailabilityRecord] `AvailabilityRecord` to represent the c... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/fulfillment_document.rb | Ruby | mit | 308 | main | 818 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Document that captured during service appointment fulfillment that portrays proof of completion
FulfillmentDocument = Structure.new do
# @return [String] Sh... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/fixed_slot.rb | Ruby | mit | 308 | main | 1,512 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# In this slot format each slot only has the requested capacity types. This slot size is as specified by slot
# duration.
FixedSlot = Structure.n... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/set_appointment_fulfillment_data_request.rb | Ruby | mit | 308 | main | 1,064 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# Input for set appointment fulfillment data operation.
SetAppointmentFulfillmentDataRequest = Structure.new do
# @return [Array<AppointmentRes... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/technician.rb | Ruby | mit | 308 | main | 499 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# A technician who is assigned to perform the service job in part or in full.
Technician = Structure.new do
# @return [String] The name of the technician.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/assign_appointment_resources_request.rb | Ruby | mit | 308 | main | 454 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Request schema for the `assignAppointmentResources` operation.
AssignAppointmentResourcesRequest = Structure.new do
# @return [Array<AppointmentResource>] L... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/appointment.rb | Ruby | mit | 308 | main | 1,099 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# The details of an appointment.
Appointment = Structure.new do
# @return [String] The appointment identifier.
attribute?(:appointment_... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/seller.rb | Ruby | mit | 308 | main | 392 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Information about the seller of the service job.
Seller = Structure.new do
# @return [String] The identifier of the seller of the service job.
attri... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/fixed_slot_capacity.rb | Ruby | mit | 308 | main | 899 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Response schema for the `getFixedSlotCapacity` operation.
FixedSlotCapacity = Structure.new do
# @return [Array<FixedSlot>] Array of capacity slots in fixed... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/appointment_slot_report.rb | Ruby | mit | 308 | main | 974 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# Availability information as per the service context queried.
AppointmentSlotReport = Structure.new do
# @return [Array<AppointmentSlot>] A li... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/add_appointment_request.rb | Ruby | mit | 308 | main | 447 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# Input for add appointment operation.
AddAppointmentRequest = Structure.new do
# @return [AppointmentTimeInput] Input appointment time details... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/money_amount.rb | Ruby | mit | 308 | main | 465 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# The monetary amount and type of currency.
MoneyAmount = Structure.new do
# @return [String] The currency code in ISO 4217 format.
attribute(:currenc... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/fixed_slot_capacity_errors.rb | Ruby | mit | 308 | main | 429 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# The error response schema for the `getFixedSlotCapacity` operation.
FixedSlotCapacityErrors = Structure.new do
# @return [Array<Error>] Errors encountered d... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/service_job_provider.rb | Ruby | mit | 308 | main | 420 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Information about the service job provider.
ServiceJobProvider = Structure.new do
# @return [String] The identifier of the service job provider.
att... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/appointment_resources.rb | Ruby | mit | 308 | main | 432 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class ServicesV1
# List of resources that performs or performed job appointment fulfillment.
class AppointmentResources < Array
class << self
def parse(array)
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/update_reservation_response.rb | Ruby | mit | 308 | main | 661 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Response schema for the `updateReservation` operation.
UpdateReservationResponse = Structure.new do
# @return [Array<Error>] Errors encountered, if any.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/service_location.rb | Ruby | mit | 308 | main | 519 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Information about the location of the service job.
ServiceLocation = Structure.new do
# @return [Address] The shipping address for the service job.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/appointment_resource.rb | Ruby | mit | 308 | main | 401 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# The resource that performs or performed appointment fulfillment.
AppointmentResource = Structure.new do
# @return [String] The resource identifier.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/warning_list.rb | Ruby | mit | 308 | main | 420 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class ServicesV1
# A list of warnings returned in the sucessful execution response of an API request.
class WarningList < Array
class << self
def parse(array)
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/cancel_service_job_by_service_job_id_response.rb | Ruby | mit | 308 | main | 451 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Response schema for the `cancelServiceJobByServiceJobId` operation.
CancelServiceJobByServiceJobIdResponse = Structure.new do
# @return [Array<Error>] Encou... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/payment.rb | Ruby | mit | 308 | main | 462 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Payment information for the service job.
Payment = Structure.new do
# @return [MoneyAmount] The payment amount.
attribute?(:amount, MoneyAmount)
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/complete_service_job_by_service_job_id_response.rb | Ruby | mit | 308 | main | 457 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Response schema for the `completeServiceJobByServiceJobId` operation.
CompleteServiceJobByServiceJobIdResponse = Structure.new do
# @return [Array<Error>] E... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/get_appointment_slots_response.rb | Ruby | mit | 308 | main | 558 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# The response of fetching appointment slots based on service context.
GetAppointmentSlotsResponse = Structure.new do
# @return [Array<Error>] Errors occurred... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/appointment_slot.rb | Ruby | mit | 308 | main | 685 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# A time window along with associated capacity in which the service can be performed.
AppointmentSlot = Structure.new do
# @return [Integer] Nu... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/job_listing.rb | Ruby | mit | 308 | main | 1,107 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# The payload for the `getServiceJobs` operation.
JobListing = Structure.new do
# @return [Array<ServiceJob>] List of job details for the given input.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/poa.rb | Ruby | mit | 308 | main | 939 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# Proof of Appointment (POA) details.
Poa = Structure.new do
# @return [AppointmentTime] The time of the appointment window.
attribute?... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/range_slot_capacity_errors.rb | Ruby | mit | 308 | main | 429 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# The error response schema for the `getRangeSlotCapacity` operation.
RangeSlotCapacityErrors = Structure.new do
# @return [Array<Error>] Errors encountered d... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/range_slot_capacity.rb | Ruby | mit | 308 | main | 693 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Response schema for the `getRangeSlotCapacity` operation.
RangeSlotCapacity = Structure.new do
# @return [Array<RangeCapacity>] Array of range capacities wh... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/service_upload_document.rb | Ruby | mit | 308 | main | 824 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Input for to be uploaded document.
ServiceUploadDocument = Structure.new do
# @return [Float] The content length of the to-be-uploaded file
attribut... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/address.rb | Ruby | mit | 308 | main | 1,531 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# The shipping address for the service job.
Address = Structure.new do
# @return [String] The first line of the address.
attribute(:address_line1, Str... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/update_schedule_record.rb | Ruby | mit | 308 | main | 717 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# `UpdateScheduleRecord` entity contains the `AvailabilityRecord` if there is an error/warning while performing
# the requested operation on it.
UpdateScheduleR... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/range_capacity.rb | Ruby | mit | 308 | main | 559 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Range capacity entity where each entry has a capacity type and corresponding slots.
RangeCapacity = Structure.new do
# @return [String] Capacity type corres... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/appointment_time_input.rb | Ruby | mit | 308 | main | 597 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# The input appointment time details.
AppointmentTimeInput = Structure.new do
# @return [Time] The date, time in UTC for the start time of an a... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/service_document_upload_destination.rb | Ruby | mit | 308 | main | 830 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Information about an upload destination.
ServiceDocumentUploadDestination = Structure.new do
# @return [EncryptionDetails]
attribute(:encryption_det... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/cancel_reservation_response.rb | Ruby | mit | 308 | main | 381 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Response schema for the `cancelReservation` operation.
CancelReservationResponse = Structure.new do
# @return [Array<Error>] Errors encountered, if any
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/range_slot_capacity_query.rb | Ruby | mit | 308 | main | 982 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# Request schema for the `getRangeSlotCapacity` operation. This schema is used to define the time range and
# capacity types that are being queried.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/fulfillment_documents.rb | Ruby | mit | 308 | main | 425 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class ServicesV1
# List of documents captured during service appointment fulfillment.
class FulfillmentDocuments < Array
class << self
def parse(array)
new(arr... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/associated_item.rb | Ruby | mit | 308 | main | 1,134 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Information about an item associated with the service job.
AssociatedItem = Structure.new do
# @return [String] The Amazon Standard Identification Number (A... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/fulfillment_time.rb | Ruby | mit | 308 | main | 572 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# Input for fulfillment time details
FulfillmentTime = Structure.new do
# @return [Time] The date, time in UTC of the fulfillment end time in I... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/fixed_slot_capacity_query.rb | Ruby | mit | 308 | main | 1,230 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# Request schema for the `getFixedSlotCapacity` operation. This schema is used to define the time range, capacity
# types and slot duration which are b... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/reschedule_appointment_request.rb | Ruby | mit | 308 | main | 621 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# Input for rescheduled appointment operation.
RescheduleAppointmentRequest = Structure.new do
# @return [AppointmentTimeInput] Input appointme... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/error_list.rb | Ruby | mit | 308 | main | 400 | # frozen_string_literal: true
# This file is generated. Edit template if necessary.
module Peddler
module APIs
class ServicesV1
# A list of error responses returned when a request is unsuccessful.
class ErrorList < Array
class << self
def parse(array)
new(array.map { |i... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/item_delivery.rb | Ruby | mit | 308 | main | 675 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# Delivery information for the item.
ItemDelivery = Structure.new do
# @return [Time] The date and time of the latest Estimated Delivery Date (... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/set_appointment_response.rb | Ruby | mit | 308 | main | 1,089 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Response schema for the `addAppointmentForServiceJobByServiceJobId` and
# `rescheduleAppointmentForServiceJobByServiceJobId` operations.
SetAppointmentRespons... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/create_reservation_response.rb | Ruby | mit | 308 | main | 661 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Response schema for the `createReservation` operation.
CreateReservationResponse = Structure.new do
# @return [Array<Error>] Errors encountered, if any.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/error.rb | Ruby | mit | 308 | main | 772 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Error response returned when the request is unsuccessful.
Error = Structure.new do
# @return [String] An error code that identifies the type of error that o... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/get_service_job_by_service_job_id_response.rb | Ruby | mit | 308 | main | 597 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# The response schema for the `getServiceJobByServiceJobId` operation.
GetServiceJobByServiceJobIdResponse = Structure.new do
# @return [Array<Error>] An unex... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/date_time_range.rb | Ruby | mit | 308 | main | 704 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# A range of time.
DateTimeRange = Structure.new do
# @return [Time] The end of the time range. Must be in UTC in [ISO
# 8601](https:... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/item_delivery_promise.rb | Ruby | mit | 308 | main | 607 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# Promised delivery information for the item.
ItemDeliveryPromise = Structure.new do
# @return [Time] The date and time of the end of the promi... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/scope_of_work.rb | Ruby | mit | 308 | main | 719 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# The scope of work for the order.
ScopeOfWork = Structure.new do
# @return [String] The Amazon Standard Identification Number (ASIN) of the service job.
... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/buyer.rb | Ruby | mit | 308 | main | 678 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Information about the buyer.
Buyer = Structure.new do
# @return [String] The identifier of the buyer.
attribute?(:buyer_id, String, from: "buyerId")... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/service_job.rb | Ruby | mit | 308 | main | 2,498 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
require "time"
module Peddler
module APIs
class ServicesV1
# The job details of a service.
ServiceJob = Structure.new do
# @return [Array<Appointment>] A list of appointments.
attribute?(:appoin... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/update_reservation_record.rb | Ruby | mit | 308 | main | 840 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# `UpdateReservationRecord` entity contains the `Reservation` if there is an error/warning while performing the
# requested operation on it, otherwise it will contain... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/create_reservation_record.rb | Ruby | mit | 308 | main | 840 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# `CreateReservationRecord` entity contains the `Reservation` if there is an error/warning while performing the
# requested operation on it, otherwise it will contain... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/update_reservation_request.rb | Ruby | mit | 308 | main | 561 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Request schema for the `updateReservation` operation.
UpdateReservationRequest = Structure.new do
# @return [Reservation] `Reservation` object to reduce the... |
github | lineofflight/peddler | https://github.com/lineofflight/peddler | lib/peddler/apis/services_v1/warning.rb | Ruby | mit | 308 | main | 791 | # frozen_string_literal: true
# This file is generated. Do not edit.
require "structure"
module Peddler
module APIs
class ServicesV1
# Warning returned when the request is successful, but there are important callouts based on which API clients
# should take defined actions.
Warning = Structur... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.