package
0.0.0-20240405104727-3fc460ca096e
Repository: https://github.com/brandedtech/sp-api-sdk.git
Documentation: pkg.go.dev
# Functions
NewCancelReportRequest generates requests for CancelReport.
NewCancelReportScheduleRequest generates requests for CancelReportSchedule.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewCreateReportRequest calls the generic CreateReport builder with application/json body.
NewCreateReportRequestWithBody generates requests for CreateReport with any type of body.
NewCreateReportScheduleRequest calls the generic CreateReportSchedule builder with application/json body.
NewCreateReportScheduleRequestWithBody generates requests for CreateReportSchedule with any type of body.
NewGetReportDocumentRequest generates requests for GetReportDocument.
NewGetReportRequest generates requests for GetReport.
NewGetReportScheduleRequest generates requests for GetReportSchedule.
NewGetReportSchedulesRequest generates requests for GetReportSchedules.
NewGetReportsRequest generates requests for GetReports.
ParseCancelReportResp parses an HTTP response from a CancelReportWithResponse call.
ParseCancelReportScheduleResp parses an HTTP response from a CancelReportScheduleWithResponse call.
ParseCreateReportResp parses an HTTP response from a CreateReportWithResponse call.
ParseCreateReportScheduleResp parses an HTTP response from a CreateReportScheduleWithResponse call.
ParseGetReportDocumentResp parses an HTTP response from a GetReportDocumentWithResponse call.
ParseGetReportResp parses an HTTP response from a GetReportWithResponse call.
ParseGetReportScheduleResp parses an HTTP response from a GetReportScheduleWithResponse call.
ParseGetReportSchedulesResp parses an HTTP response from a GetReportSchedulesWithResponse call.
ParseGetReportsResp parses an HTTP response from a GetReportsWithResponse 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
CancelReportResponse defines model for CancelReportResponse.
No description provided by the author
CancelReportScheduleResponse defines model for CancelReportScheduleResponse.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
No description provided by the author
CreateReportResponse defines model for CreateReportResponse.
CreateReportResult defines model for CreateReportResult.
No description provided by the author
CreateReportScheduleResponse defines model for CreateReportScheduleResponse.
CreateReportScheduleResult defines model for CreateReportScheduleResult.
CreateReportScheduleSpecification defines model for CreateReportScheduleSpecification.
CreateReportSpecification defines model for CreateReportSpecification.
Error defines model for Error.
No description provided by the author
GetReportDocumentResponse defines model for GetReportDocumentResponse.
No description provided by the author
GetReportResponse defines model for GetReportResponse.
No description provided by the author
GetReportScheduleResponse defines model for GetReportScheduleResponse.
GetReportSchedulesParams defines parameters for GetReportSchedules.
No description provided by the author
GetReportSchedulesResponse defines model for GetReportSchedulesResponse.
GetReportsParams defines parameters for GetReports.
No description provided by the author
GetReportsResponse defines model for GetReportsResponse.
Report defines model for Report.
ReportDocument defines model for ReportDocument.
ReportDocumentEncryptionDetails defines model for ReportDocumentEncryptionDetails.
ReportOptions defines model for ReportOptions.
ReportSchedule defines model for ReportSchedule.
# 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
ClientOption allows setting custom parameters during construction.
CreateReportJSONBody defines parameters for CreateReport.
CreateReportRequestBody defines body for CreateReport for application/json ContentType.
CreateReportScheduleJSONBody defines parameters for CreateReportSchedule.
CreateReportScheduleRequestBody defines body for CreateReportSchedule for application/json ContentType.
ErrorList defines model for ErrorList.
ReportList defines model for ReportList.
ReportScheduleList defines model for ReportScheduleList.
RequestBeforeFn is the function signature for the RequestBefore callback function.
ResponseAfterFn is the function signature for the ResponseAfter callback function.