package
0.0.0-20240405104727-3fc460ca096e
Repository: https://github.com/brandedtech/sp-api-sdk.git
Documentation: pkg.go.dev
# Functions
NewAddAppointmentForServiceJobByServiceJobIdRequest calls the generic AddAppointmentForServiceJobByServiceJobId builder with application/json body.
NewAddAppointmentForServiceJobByServiceJobIdRequestWithBody generates requests for AddAppointmentForServiceJobByServiceJobId with any type of body.
NewCancelServiceJobByServiceJobIdRequest generates requests for CancelServiceJobByServiceJobId.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewCompleteServiceJobByServiceJobIdRequest generates requests for CompleteServiceJobByServiceJobId.
NewGetServiceJobByServiceJobIdRequest generates requests for GetServiceJobByServiceJobId.
NewGetServiceJobsRequest generates requests for GetServiceJobs.
NewRescheduleAppointmentForServiceJobByServiceJobIdRequest calls the generic RescheduleAppointmentForServiceJobByServiceJobId builder with application/json body.
NewRescheduleAppointmentForServiceJobByServiceJobIdRequestWithBody generates requests for RescheduleAppointmentForServiceJobByServiceJobId with any type of body.
ParseAddAppointmentForServiceJobByServiceJobIdResp parses an HTTP response from a AddAppointmentForServiceJobByServiceJobIdWithResponse call.
ParseCancelServiceJobByServiceJobIdResp parses an HTTP response from a CancelServiceJobByServiceJobIdWithResponse call.
ParseCompleteServiceJobByServiceJobIdResp parses an HTTP response from a CompleteServiceJobByServiceJobIdWithResponse call.
ParseGetServiceJobByServiceJobIdResp parses an HTTP response from a GetServiceJobByServiceJobIdWithResponse call.
ParseGetServiceJobsResp parses an HTTP response from a GetServiceJobsWithResponse call.
ParseRescheduleAppointmentForServiceJobByServiceJobIdResp parses an HTTP response from a RescheduleAppointmentForServiceJobByServiceJobIdWithResponse call.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestBefore allows setting up a callback function, which will be called right before sending the request.
WithResponseAfter allows setting up a callback function, which will be called right after get response the request.
WithUserAgent set up useragent add user agent to every request automatically.
# Structs
No description provided by the author
AddAppointmentRequest defines model for AddAppointmentRequest.
Address defines model for Address.
Appointment defines model for Appointment.
AppointmentTime defines model for AppointmentTime.
AppointmentTimeInput defines model for AppointmentTimeInput.
AssociatedItem defines model for AssociatedItem.
Buyer defines model for Buyer.
CancelServiceJobByServiceJobIdParams defines parameters for CancelServiceJobByServiceJobId.
No description provided by the author
CancelServiceJobByServiceJobIdResponse defines model for CancelServiceJobByServiceJobIdResponse.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
No description provided by the author
CompleteServiceJobByServiceJobIdResponse defines model for CompleteServiceJobByServiceJobIdResponse.
Error defines model for Error.
No description provided by the author
GetServiceJobByServiceJobIdResponse defines model for GetServiceJobByServiceJobIdResponse.
GetServiceJobsParams defines parameters for GetServiceJobs.
No description provided by the author
GetServiceJobsResponse defines model for GetServiceJobsResponse.
ItemDelivery defines model for ItemDelivery.
ItemDeliveryPromise defines model for ItemDeliveryPromise.
JobListing defines model for JobListing.
Poa defines model for Poa.
No description provided by the author
RescheduleAppointmentRequest defines model for RescheduleAppointmentRequest.
ScopeOfWork defines model for ScopeOfWork.
Seller defines model for Seller.
ServiceJob defines model for ServiceJob.
ServiceJobProvider defines model for ServiceJobProvider.
ServiceLocation defines model for ServiceLocation.
SetAppointmentResponse defines model for SetAppointmentResponse.
Technician defines model for Technician.
Warning defines model for Warning.
# Interfaces
The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.
# Type aliases
AddAppointmentForServiceJobByServiceJobIdJSONBody defines parameters for AddAppointmentForServiceJobByServiceJobId.
AddAppointmentForServiceJobByServiceJobIdRequestBody defines body for AddAppointmentForServiceJobByServiceJobId for application/json ContentType.
AppointmentId defines model for AppointmentId.
ClientOption allows setting custom parameters during construction.
ErrorList defines model for ErrorList.
OrderId defines model for OrderId.
RequestBeforeFn is the function signature for the RequestBefore callback function.
RescheduleAppointmentForServiceJobByServiceJobIdJSONBody defines parameters for RescheduleAppointmentForServiceJobByServiceJobId.
RescheduleAppointmentForServiceJobByServiceJobIdRequestBody defines body for RescheduleAppointmentForServiceJobByServiceJobId for application/json ContentType.
RescheduleReasonCode defines model for RescheduleReasonCode.
ResponseAfterFn is the function signature for the ResponseAfter callback function.
ServiceJobId defines model for ServiceJobId.
WarningList defines model for WarningList.