Documentation
¶
Overview ¶
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Dodo Global API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: v2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AddressModel
- type BasicAuth
- type BrandDailyRevenueListModel
- type BrandListDailyRevenueListModel
- type BrandListTotalUnitCountListModel
- type BrandModel
- type BrandTotalUnitCountListModel
- type BrandsApiService
- type Configuration
- type CoordinatesModel
- type CountriesApiService
- type CountryDailyRevenueModel
- type CountryDailyRevenueModelBrandData
- type CountryModel
- type CountryModelBrandData
- type DailyMetricsModel
- type DailyRevenueListModel
- type ErrorModel
- type GenericSwaggerError
- type HouseModel
- type LocalityModel
- type MetricsHistoryModel
- type MetricsModel
- type MonthRevenueHistoryModel
- type MonthRevenueHistoryModelBrandData
- type MonthRevenueModel
- type MonthTotalRevenueModel
- type MonthTotalRevenueModelBrandData
- type MonthTotalRevenueModelBrandListData
- type MonthUnitCountHistoryModel
- type MonthUnitCountHistoryModelBrandData
- type MonthUnitCountHistoryModelBrandListData
- type MonthUnitCountModel
- type OrderModel
- type OrderModelBrandData
- type OrderModelBrandListData
- type OrdersApiService
- func (a *OrdersApiService) ApiV2BrandOrdersCountBySourceYearMonthDayGet(ctx context.Context, brand string, year int32, month int32, day int32) (OrderModelBrandData, *http.Response, error)
- func (a *OrdersApiService) ApiV2OrdersCountBySourceYearMonthDayGet(ctx context.Context, year int32, month int32, day int32) (OrderModelBrandListData, *http.Response, error)
- type OrdersCountBySourceStatistics
- type Period
- type PeriodicRevenueListModel
- type ProductImage
- type ProductStatistic
- type ProductStatisticsModel
- type ProductStatisticsModelBrandData
- type ProductsApiApiV2BrandCountryIdUnitIdProductsTopGetOpts
- type ProductsApiApiV2BrandProductsTopGetOpts
- type ProductsApiService
- func (a *ProductsApiService) ApiV2BrandCountryIdUnitIdProductsTopGet(ctx context.Context, brand string, countryId int32, unitId int32, ...) (ProductStatisticsModelBrandData, *http.Response, error)
- func (a *ProductsApiService) ApiV2BrandProductsTopGet(ctx context.Context, brand string, ...) (ProductStatisticsModelBrandData, *http.Response, error)
- type Rating
- type RatingsApiService
- type RatingsModel
- type RatingsModelBrandData
- type RatingsModelBrandListData
- type RevenueApiApiV2BrandCountryIdRevenueDailyGetOpts
- type RevenueApiApiV2BrandRevenueWeeklyTopGetOpts
- type RevenueApiApiV2RevenueWeeklyTopGetOpts
- type RevenueApiService
- func (a *RevenueApiService) ApiV2BrandCountryIdRevenueDailyGet(ctx context.Context, brand string, countryId int32, ...) (CountryDailyRevenueModelBrandData, *http.Response, error)
- func (a *RevenueApiService) ApiV2BrandRevenueDailyYearMonthDayGet(ctx context.Context, brand string, year int32, month int32, day int32) (BrandDailyRevenueListModel, *http.Response, error)
- func (a *RevenueApiService) ApiV2BrandRevenueMonthsLastGet(ctx context.Context, brand string) (MonthTotalRevenueModelBrandData, *http.Response, error)
- func (a *RevenueApiService) ApiV2BrandRevenueMonthsYearMonthGet(ctx context.Context, brand string, year int32, month int32) (TotalRevenueHistoryModelBrandData, *http.Response, error)
- func (a *RevenueApiService) ApiV2BrandRevenueWeeklyTopGet(ctx context.Context, brand string, ...) (WeeklyTopModelBrandData, *http.Response, error)
- func (a *RevenueApiService) ApiV2RevenueDailyYearMonthDayGet(ctx context.Context, year int32, month int32, day int32) (BrandListDailyRevenueListModel, *http.Response, error)
- func (a *RevenueApiService) ApiV2RevenueMonthsLastGet(ctx context.Context) (MonthTotalRevenueModelBrandListData, *http.Response, error)
- func (a *RevenueApiService) ApiV2RevenueMonthsYearMonthGet(ctx context.Context, year int32, month int32) (TotalRevenueHistoryModelBrandListData, *http.Response, error)
- func (a *RevenueApiService) ApiV2RevenueWeeklyTopGet(ctx context.Context, localVarOptionals *RevenueApiApiV2RevenueWeeklyTopGetOpts) (WeeklyTopModelBrandListData, *http.Response, error)
- type RevenueHistoryModel
- type RevenueHistoryModelBrandData
- type RevenueModel
- type RouteRoot
- type ScheduleModel
- type StatisticsModel
- type StatisticsModelBrandData
- type StreetModel
- type TotalRevenueHistoryModel
- type TotalRevenueHistoryModelBrandData
- type TotalRevenueHistoryModelBrandListData
- type TotalRevenueModel
- type TotalUnitCountListModel
- type UnitCountModel
- type UnitListModel
- type UnitListModelBrandData
- type UnitListModelBrandListData
- type UnitModel
- type UnitRevenueApiService
- func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdDailyYearMonthDayGet(ctx context.Context, brand string, countryId int32, unitId int32, year int32, ...) (DailyRevenueListModel, *http.Response, error)
- func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdHistoryGet(ctx context.Context, brand string, countryId int32, unitId int32) (RevenueHistoryModelBrandData, *http.Response, error)
- func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdHistoryStartYearEndYearGet(ctx context.Context, brand string, countryId int32, unitId int32, ...) (RevenueHistoryModelBrandData, *http.Response, error)
- func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdMonthlyYearMonthGet(ctx context.Context, brand string, countryId int32, unitId int32, year int32, ...) (PeriodicRevenueListModel, *http.Response, error)
- func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdMonthsLastGet(ctx context.Context, brand string, countryId int32, unitId int32) (MonthRevenueHistoryModelBrandData, *http.Response, error)
- func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdTodayGet(ctx context.Context, brand string, countryId int32, unitId int32) (StatisticsModelBrandData, *http.Response, error)
- func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdWeekHistoryStartYearEndYearGet(ctx context.Context, brand string, countryId int32, unitId int32, ...) (WeekRevenueHistoryModelBrandData, *http.Response, error)
- func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdYesterdayGet(ctx context.Context, brand string, countryId int32, unitId int32) (StatisticsModelBrandData, *http.Response, error)
- type UnitSingleModel
- type UnitSingleModelBrandData
- type UnitsApiService
- func (a *UnitsApiService) ApiV2BrandUnitsAllCountryIdGet(ctx context.Context, brand string, countryId int32) (UnitListModelBrandData, *http.Response, error)
- func (a *UnitsApiService) ApiV2BrandUnitsCountGet(ctx context.Context, brand string) (TotalUnitCountListModel, *http.Response, error)
- func (a *UnitsApiService) ApiV2BrandUnitsCountMonthsYearMonthGet(ctx context.Context, brand string, year int32, month int32) (MonthUnitCountHistoryModelBrandData, *http.Response, error)
- func (a *UnitsApiService) ApiV2BrandUnitsCountryIdUnitIdGet(ctx context.Context, brand string, countryId int32, unitId int32) (UnitSingleModelBrandData, *http.Response, error)
- func (a *UnitsApiService) ApiV2UnitsAllCountryIdGet(ctx context.Context, countryId int32) (UnitListModelBrandListData, *http.Response, error)
- func (a *UnitsApiService) ApiV2UnitsCountGet(ctx context.Context) (BrandListTotalUnitCountListModel, *http.Response, error)
- func (a *UnitsApiService) ApiV2UnitsCountMonthsYearMonthGet(ctx context.Context, year int32, month int32) (MonthUnitCountHistoryModelBrandListData, *http.Response, error)
- type WeekRevenueHistoryModel
- type WeekRevenueHistoryModelBrandData
- type WeekRevenueModel
- type WeeklyTopModel
- type WeeklyTopModelBrandData
- type WeeklyTopModelBrandListData
- type WeeklyTopUnitModel
- type WorkTimeModel
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct {
BrandsApi *BrandsApiService
CountriesApi *CountriesApiService
OrdersApi *OrdersApiService
ProductsApi *ProductsApiService
RatingsApi *RatingsApiService
RevenueApi *RevenueApiService
UnitRevenueApi *UnitRevenueApiService
UnitsApi *UnitsApiService
// contains filtered or unexported fields
}
APIClient manages communication with the authentik API v2023.10.6 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the swagger operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AddressModel ¶
type AddressModel struct {
Text string `json:"text,omitempty"`
Locality *LocalityModel `json:"locality,omitempty"`
Street *StreetModel `json:"street,omitempty"`
House *HouseModel `json:"house,omitempty"`
}
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BrandDailyRevenueListModel ¶
type BrandDailyRevenueListModel struct {
Countries []MetricsHistoryModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Day string `json:"day,omitempty"`
Brand string `json:"brand,omitempty"`
}
type BrandListDailyRevenueListModel ¶
type BrandListDailyRevenueListModel struct {
Brands []BrandDailyRevenueListModel `json:"brands,omitempty"`
}
type BrandListTotalUnitCountListModel ¶
type BrandListTotalUnitCountListModel struct {
Brands []BrandTotalUnitCountListModel `json:"brands,omitempty"`
}
type BrandModel ¶
type BrandModel struct {
Name string `json:"name,omitempty"`
}
type BrandTotalUnitCountListModel ¶
type BrandTotalUnitCountListModel struct {
Countries []UnitCountModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Total int32 `json:"total,omitempty"`
Brand string `json:"brand,omitempty"`
}
type BrandsApiService ¶
type BrandsApiService service
func (*BrandsApiService) ApiV2BrandsGet ¶
func (a *BrandsApiService) ApiV2BrandsGet(ctx context.Context) ([]BrandModel, *http.Response, error)
BrandsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return []BrandModel
type Configuration ¶
type Configuration struct {
BasePath string `json:"basePath,omitempty"`
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
HTTPClient *http.Client
}
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type CoordinatesModel ¶
type CountriesApiService ¶
type CountriesApiService service
func (*CountriesApiService) ApiV2BrandCountriesGet ¶
func (a *CountriesApiService) ApiV2BrandCountriesGet(ctx context.Context, brand string) ([]CountryModel, *http.Response, error)
CountriesApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
@return []CountryModel
func (*CountriesApiService) ApiV2CountriesGet ¶
func (a *CountriesApiService) ApiV2CountriesGet(ctx context.Context) ([]CountryModelBrandData, *http.Response, error)
CountriesApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return []CountryModelBrandData
type CountryDailyRevenueModel ¶
type CountryDailyRevenueModel struct {
CountryId int32 `json:"countryId,omitempty"`
CountryCode string `json:"countryCode,omitempty"`
Days []DailyMetricsModel `json:"days,omitempty"`
}
type CountryDailyRevenueModelBrandData ¶
type CountryDailyRevenueModelBrandData struct {
Countries []CountryDailyRevenueModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type CountryModel ¶
type CountryModelBrandData ¶
type CountryModelBrandData struct {
Countries []CountryModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type DailyMetricsModel ¶
type DailyMetricsModel struct {
Day string `json:"day,omitempty"`
Metrics []MetricsModel `json:"metrics,omitempty"`
}
type DailyRevenueListModel ¶
type DailyRevenueListModel struct {
Countries []MetricsHistoryModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Day string `json:"day,omitempty"`
}
type ErrorModel ¶
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type HouseModel ¶
type HouseModel struct {
Number string `json:"number,omitempty"`
}
type LocalityModel ¶
type MetricsHistoryModel ¶
type MetricsHistoryModel struct {
CountryId int32 `json:"countryId,omitempty"`
CountryCode string `json:"countryCode,omitempty"`
Metrics []MetricsModel `json:"metrics,omitempty"`
}
type MetricsModel ¶
type MetricsModel struct {
UnitId int32 `json:"unitId,omitempty"`
Revenue float64 `json:"revenue,omitempty"`
Count int32 `json:"count,omitempty"`
StationaryRevenue float64 `json:"stationaryRevenue,omitempty"`
StationaryCount int32 `json:"stationaryCount,omitempty"`
DeliveryRevenue float64 `json:"deliveryRevenue,omitempty"`
DeliveryCount int32 `json:"deliveryCount,omitempty"`
PickupRevenue float64 `json:"pickupRevenue,omitempty"`
PickupCount int32 `json:"pickupCount,omitempty"`
StationaryMobileRevenue float64 `json:"stationaryMobileRevenue,omitempty"`
StationaryMobileCount int32 `json:"stationaryMobileCount,omitempty"`
DeliveryMobileRevenue float64 `json:"deliveryMobileRevenue,omitempty"`
DeliveryMobileCount int32 `json:"deliveryMobileCount,omitempty"`
PickupMobileRevenue float64 `json:"pickupMobileRevenue,omitempty"`
PickupMobileCount int32 `json:"pickupMobileCount,omitempty"`
}
type MonthRevenueHistoryModel ¶
type MonthRevenueHistoryModel struct {
CountryId int32 `json:"countryId,omitempty"`
CountryCode string `json:"countryCode,omitempty"`
UnitId int32 `json:"unitId,omitempty"`
Monthes []MonthRevenueModel `json:"monthes,omitempty"`
}
type MonthRevenueHistoryModelBrandData ¶
type MonthRevenueHistoryModelBrandData struct {
Countries []MonthRevenueHistoryModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type MonthRevenueModel ¶
type MonthTotalRevenueModel ¶
type MonthTotalRevenueModelBrandData ¶
type MonthTotalRevenueModelBrandData struct {
Countries []MonthTotalRevenueModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type MonthTotalRevenueModelBrandListData ¶
type MonthTotalRevenueModelBrandListData struct {
Brands []MonthTotalRevenueModelBrandData `json:"brands,omitempty"`
}
type MonthUnitCountHistoryModel ¶
type MonthUnitCountHistoryModel struct {
CountryId int32 `json:"countryId,omitempty"`
CountryCode string `json:"countryCode,omitempty"`
Monthes []MonthUnitCountModel `json:"monthes,omitempty"`
}
type MonthUnitCountHistoryModelBrandData ¶
type MonthUnitCountHistoryModelBrandData struct {
Countries []MonthUnitCountHistoryModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type MonthUnitCountHistoryModelBrandListData ¶
type MonthUnitCountHistoryModelBrandListData struct {
Brands []MonthUnitCountHistoryModelBrandData `json:"brands,omitempty"`
}
type MonthUnitCountModel ¶
type OrderModel ¶
type OrderModel struct {
CountryId int32 `json:"countryId,omitempty"`
CountryCode string `json:"countryCode,omitempty"`
CountryName string `json:"countryName,omitempty"`
Value *OrdersCountBySourceStatistics `json:"value,omitempty"`
}
type OrderModelBrandData ¶
type OrderModelBrandData struct {
Countries []OrderModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type OrderModelBrandListData ¶
type OrderModelBrandListData struct {
Brands []OrderModelBrandData `json:"brands,omitempty"`
}
type OrdersApiService ¶
type OrdersApiService service
func (*OrdersApiService) ApiV2BrandOrdersCountBySourceYearMonthDayGet ¶
func (a *OrdersApiService) ApiV2BrandOrdersCountBySourceYearMonthDayGet(ctx context.Context, brand string, year int32, month int32, day int32) (OrderModelBrandData, *http.Response, error)
OrdersApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param year
- @param month
- @param day
@return OrderModelBrandData
func (*OrdersApiService) ApiV2OrdersCountBySourceYearMonthDayGet ¶
func (a *OrdersApiService) ApiV2OrdersCountBySourceYearMonthDayGet(ctx context.Context, year int32, month int32, day int32) (OrderModelBrandListData, *http.Response, error)
OrdersApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param year
- @param month
- @param day
@return OrderModelBrandListData
type OrdersCountBySourceStatistics ¶
type OrdersCountBySourceStatistics struct {
OrdersCountByPhone int32 `json:"ordersCountByPhone,omitempty"`
OrdersCountBySite int32 `json:"ordersCountBySite,omitempty"`
OrdersCountByRestaurant int32 `json:"ordersCountByRestaurant,omitempty"`
OrdersCountByDefectOrder int32 `json:"ordersCountByDefectOrder,omitempty"`
OrdersCountByMobile int32 `json:"ordersCountByMobile,omitempty"`
OrdersCountByPizzeria int32 `json:"ordersCountByPizzeria,omitempty"`
OrdersCountByAggregator int32 `json:"ordersCountByAggregator,omitempty"`
TotalCount int32 `json:"totalCount,omitempty"`
}
type PeriodicRevenueListModel ¶
type PeriodicRevenueListModel struct {
Countries []MetricsHistoryModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Period *Period `json:"period,omitempty"`
}
type ProductImage ¶
type ProductStatistic ¶
type ProductStatistic struct {
Name string `json:"name,omitempty"`
OrdersCount int32 `json:"ordersCount,omitempty"`
Images []ProductImage `json:"images,omitempty"`
}
type ProductStatisticsModel ¶
type ProductStatisticsModel struct {
CountryId int32 `json:"countryId,omitempty"`
CountryCode string `json:"countryCode,omitempty"`
CountryName string `json:"countryName,omitempty"`
Products []ProductStatistic `json:"products,omitempty"`
}
type ProductStatisticsModelBrandData ¶
type ProductStatisticsModelBrandData struct {
Countries []ProductStatisticsModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type ProductsApiService ¶
type ProductsApiService service
func (*ProductsApiService) ApiV2BrandCountryIdUnitIdProductsTopGet ¶
func (a *ProductsApiService) ApiV2BrandCountryIdUnitIdProductsTopGet(ctx context.Context, brand string, countryId int32, unitId int32, localVarOptionals *ProductsApiApiV2BrandCountryIdUnitIdProductsTopGetOpts) (ProductStatisticsModelBrandData, *http.Response, error)
func (*ProductsApiService) ApiV2BrandProductsTopGet ¶
func (a *ProductsApiService) ApiV2BrandProductsTopGet(ctx context.Context, brand string, localVarOptionals *ProductsApiApiV2BrandProductsTopGetOpts) (ProductStatisticsModelBrandData, *http.Response, error)
type Rating ¶
type Rating struct {
UnitUUId string `json:"unitUUId,omitempty"`
AvgServiceTime int32 `json:"avgServiceTime,omitempty"`
SummaryRates int32 `json:"summaryRates,omitempty"`
FeedbackQty int32 `json:"feedbackQty,omitempty"`
AvgRating float64 `json:"avgRating,omitempty"`
AvgCookingTime int32 `json:"avgCookingTime,omitempty"`
}
type RatingsApiService ¶
type RatingsApiService service
func (*RatingsApiService) ApiV2BrandRatingsGet ¶
func (a *RatingsApiService) ApiV2BrandRatingsGet(ctx context.Context, brand string) (RatingsModelBrandData, *http.Response, error)
RatingsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
@return RatingsModelBrandData
func (*RatingsApiService) ApiV2RatingsGet ¶
func (a *RatingsApiService) ApiV2RatingsGet(ctx context.Context) (RatingsModelBrandListData, *http.Response, error)
RatingsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return RatingsModelBrandListData
type RatingsModel ¶
type RatingsModelBrandData ¶
type RatingsModelBrandData struct {
Countries []RatingsModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type RatingsModelBrandListData ¶
type RatingsModelBrandListData struct {
Brands []RatingsModelBrandData `json:"brands,omitempty"`
}
type RevenueApiService ¶
type RevenueApiService service
func (*RevenueApiService) ApiV2BrandCountryIdRevenueDailyGet ¶
func (a *RevenueApiService) ApiV2BrandCountryIdRevenueDailyGet(ctx context.Context, brand string, countryId int32, localVarOptionals *RevenueApiApiV2BrandCountryIdRevenueDailyGetOpts) (CountryDailyRevenueModelBrandData, *http.Response, error)
func (*RevenueApiService) ApiV2BrandRevenueDailyYearMonthDayGet ¶
func (a *RevenueApiService) ApiV2BrandRevenueDailyYearMonthDayGet(ctx context.Context, brand string, year int32, month int32, day int32) (BrandDailyRevenueListModel, *http.Response, error)
RevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param year
- @param month
- @param day
@return BrandDailyRevenueListModel
func (*RevenueApiService) ApiV2BrandRevenueMonthsLastGet ¶
func (a *RevenueApiService) ApiV2BrandRevenueMonthsLastGet(ctx context.Context, brand string) (MonthTotalRevenueModelBrandData, *http.Response, error)
RevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
@return MonthTotalRevenueModelBrandData
func (*RevenueApiService) ApiV2BrandRevenueMonthsYearMonthGet ¶
func (a *RevenueApiService) ApiV2BrandRevenueMonthsYearMonthGet(ctx context.Context, brand string, year int32, month int32) (TotalRevenueHistoryModelBrandData, *http.Response, error)
RevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param year
- @param month
@return TotalRevenueHistoryModelBrandData
func (*RevenueApiService) ApiV2BrandRevenueWeeklyTopGet ¶
func (a *RevenueApiService) ApiV2BrandRevenueWeeklyTopGet(ctx context.Context, brand string, localVarOptionals *RevenueApiApiV2BrandRevenueWeeklyTopGetOpts) (WeeklyTopModelBrandData, *http.Response, error)
func (*RevenueApiService) ApiV2RevenueDailyYearMonthDayGet ¶
func (a *RevenueApiService) ApiV2RevenueDailyYearMonthDayGet(ctx context.Context, year int32, month int32, day int32) (BrandListDailyRevenueListModel, *http.Response, error)
RevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param year
- @param month
- @param day
@return BrandListDailyRevenueListModel
func (*RevenueApiService) ApiV2RevenueMonthsLastGet ¶
func (a *RevenueApiService) ApiV2RevenueMonthsLastGet(ctx context.Context) (MonthTotalRevenueModelBrandListData, *http.Response, error)
RevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return MonthTotalRevenueModelBrandListData
func (*RevenueApiService) ApiV2RevenueMonthsYearMonthGet ¶
func (a *RevenueApiService) ApiV2RevenueMonthsYearMonthGet(ctx context.Context, year int32, month int32) (TotalRevenueHistoryModelBrandListData, *http.Response, error)
RevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param year
- @param month
@return TotalRevenueHistoryModelBrandListData
func (*RevenueApiService) ApiV2RevenueWeeklyTopGet ¶
func (a *RevenueApiService) ApiV2RevenueWeeklyTopGet(ctx context.Context, localVarOptionals *RevenueApiApiV2RevenueWeeklyTopGetOpts) (WeeklyTopModelBrandListData, *http.Response, error)
type RevenueHistoryModel ¶
type RevenueHistoryModel struct {
CountryId int32 `json:"countryId,omitempty"`
CountryCode string `json:"countryCode,omitempty"`
UnitId int32 `json:"unitId,omitempty"`
Monthes []RevenueModel `json:"monthes,omitempty"`
}
type RevenueHistoryModelBrandData ¶
type RevenueHistoryModelBrandData struct {
Countries []RevenueHistoryModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type RevenueModel ¶
type RevenueModel struct {
Year int32 `json:"year,omitempty"`
Month int32 `json:"month,omitempty"`
Revenue float64 `json:"revenue,omitempty"`
StationaryRevenue float64 `json:"stationaryRevenue,omitempty"`
DeliveryRevenue float64 `json:"deliveryRevenue,omitempty"`
PickupRevenue float64 `json:"pickupRevenue,omitempty"`
}
type ScheduleModel ¶
type ScheduleModel struct {
WorkTime []WorkTimeModel `json:"workTime,omitempty"`
}
type StatisticsModel ¶
type StatisticsModel struct {
CountryId int32 `json:"countryId,omitempty"`
CountryCode string `json:"countryCode,omitempty"`
UnitId int32 `json:"unitId,omitempty"`
Date string `json:"date,omitempty"`
StationaryRevenue float64 `json:"stationaryRevenue,omitempty"`
StationaryOrderCount int32 `json:"stationaryOrderCount,omitempty"`
DeliveryRevenue float64 `json:"deliveryRevenue,omitempty"`
DeliveryOrderCount int32 `json:"deliveryOrderCount,omitempty"`
Revenue float64 `json:"revenue,omitempty"`
OrderCount int32 `json:"orderCount,omitempty"`
AvgCheck float64 `json:"avgCheck,omitempty"`
}
type StatisticsModelBrandData ¶
type StatisticsModelBrandData struct {
Countries []StatisticsModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type StreetModel ¶
type TotalRevenueHistoryModel ¶
type TotalRevenueHistoryModel struct {
CountryId int32 `json:"countryId,omitempty"`
CountryCode string `json:"countryCode,omitempty"`
Monthes []TotalRevenueModel `json:"monthes,omitempty"`
}
type TotalRevenueHistoryModelBrandData ¶
type TotalRevenueHistoryModelBrandData struct {
Countries []TotalRevenueHistoryModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type TotalRevenueHistoryModelBrandListData ¶
type TotalRevenueHistoryModelBrandListData struct {
Brands []TotalRevenueHistoryModelBrandData `json:"brands,omitempty"`
}
type TotalRevenueModel ¶
type TotalUnitCountListModel ¶
type TotalUnitCountListModel struct {
Countries []UnitCountModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Total int32 `json:"total,omitempty"`
}
type UnitCountModel ¶
type UnitListModel ¶
type UnitListModelBrandData ¶
type UnitListModelBrandData struct {
Countries []UnitListModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type UnitListModelBrandListData ¶
type UnitListModelBrandListData struct {
Brands []UnitListModelBrandData `json:"brands,omitempty"`
}
type UnitModel ¶
type UnitModel struct {
Id int64 `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Uuid string `json:"uuid,omitempty"`
Alias string `json:"alias,omitempty"`
StartDate string `json:"startDate,omitempty"`
TimeZoneShift int32 `json:"timeZoneShift,omitempty"`
WebcamUrl string `json:"webcamUrl,omitempty"`
Coords *CoordinatesModel `json:"coords,omitempty"`
Address *AddressModel `json:"address,omitempty"`
Stationary *ScheduleModel `json:"stationary,omitempty"`
Delivery *ScheduleModel `json:"delivery,omitempty"`
}
type UnitRevenueApiService ¶
type UnitRevenueApiService service
func (*UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdDailyYearMonthDayGet ¶
func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdDailyYearMonthDayGet(ctx context.Context, brand string, countryId int32, unitId int32, year int32, month int32, day int32) (DailyRevenueListModel, *http.Response, error)
UnitRevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param countryId
- @param unitId
- @param year
- @param month
- @param day
@return DailyRevenueListModel
func (*UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdHistoryGet ¶
func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdHistoryGet(ctx context.Context, brand string, countryId int32, unitId int32) (RevenueHistoryModelBrandData, *http.Response, error)
UnitRevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param countryId
- @param unitId
@return RevenueHistoryModelBrandData
func (*UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdHistoryStartYearEndYearGet ¶
func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdHistoryStartYearEndYearGet(ctx context.Context, brand string, countryId int32, unitId int32, startYear int32, endYear int32) (RevenueHistoryModelBrandData, *http.Response, error)
UnitRevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param countryId
- @param unitId
- @param startYear
- @param endYear
@return RevenueHistoryModelBrandData
func (*UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdMonthlyYearMonthGet ¶
func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdMonthlyYearMonthGet(ctx context.Context, brand string, countryId int32, unitId int32, year int32, month int32) (PeriodicRevenueListModel, *http.Response, error)
UnitRevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param countryId
- @param unitId
- @param year
- @param month
@return PeriodicRevenueListModel
func (*UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdMonthsLastGet ¶
func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdMonthsLastGet(ctx context.Context, brand string, countryId int32, unitId int32) (MonthRevenueHistoryModelBrandData, *http.Response, error)
UnitRevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param countryId
- @param unitId
@return MonthRevenueHistoryModelBrandData
func (*UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdTodayGet ¶
func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdTodayGet(ctx context.Context, brand string, countryId int32, unitId int32) (StatisticsModelBrandData, *http.Response, error)
UnitRevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param countryId
- @param unitId
@return StatisticsModelBrandData
func (*UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdWeekHistoryStartYearEndYearGet ¶
func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdWeekHistoryStartYearEndYearGet(ctx context.Context, brand string, countryId int32, unitId int32, startYear int32, endYear int32) (WeekRevenueHistoryModelBrandData, *http.Response, error)
UnitRevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param countryId
- @param unitId
- @param startYear
- @param endYear
@return WeekRevenueHistoryModelBrandData
func (*UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdYesterdayGet ¶
func (a *UnitRevenueApiService) ApiV2BrandRevenueUnitCountryIdUnitIdYesterdayGet(ctx context.Context, brand string, countryId int32, unitId int32) (StatisticsModelBrandData, *http.Response, error)
UnitRevenueApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param countryId
- @param unitId
@return StatisticsModelBrandData
type UnitSingleModel ¶
type UnitSingleModelBrandData ¶
type UnitSingleModelBrandData struct {
Countries []UnitSingleModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type UnitsApiService ¶
type UnitsApiService service
func (*UnitsApiService) ApiV2BrandUnitsAllCountryIdGet ¶
func (a *UnitsApiService) ApiV2BrandUnitsAllCountryIdGet(ctx context.Context, brand string, countryId int32) (UnitListModelBrandData, *http.Response, error)
UnitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param countryId
@return UnitListModelBrandData
func (*UnitsApiService) ApiV2BrandUnitsCountGet ¶
func (a *UnitsApiService) ApiV2BrandUnitsCountGet(ctx context.Context, brand string) (TotalUnitCountListModel, *http.Response, error)
UnitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
@return TotalUnitCountListModel
func (*UnitsApiService) ApiV2BrandUnitsCountMonthsYearMonthGet ¶
func (a *UnitsApiService) ApiV2BrandUnitsCountMonthsYearMonthGet(ctx context.Context, brand string, year int32, month int32) (MonthUnitCountHistoryModelBrandData, *http.Response, error)
UnitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param year
- @param month
@return MonthUnitCountHistoryModelBrandData
func (*UnitsApiService) ApiV2BrandUnitsCountryIdUnitIdGet ¶
func (a *UnitsApiService) ApiV2BrandUnitsCountryIdUnitIdGet(ctx context.Context, brand string, countryId int32, unitId int32) (UnitSingleModelBrandData, *http.Response, error)
UnitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param brand
- @param countryId
- @param unitId
@return UnitSingleModelBrandData
func (*UnitsApiService) ApiV2UnitsAllCountryIdGet ¶
func (a *UnitsApiService) ApiV2UnitsAllCountryIdGet(ctx context.Context, countryId int32) (UnitListModelBrandListData, *http.Response, error)
UnitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param countryId
@return UnitListModelBrandListData
func (*UnitsApiService) ApiV2UnitsCountGet ¶
func (a *UnitsApiService) ApiV2UnitsCountGet(ctx context.Context) (BrandListTotalUnitCountListModel, *http.Response, error)
UnitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return BrandListTotalUnitCountListModel
func (*UnitsApiService) ApiV2UnitsCountMonthsYearMonthGet ¶
func (a *UnitsApiService) ApiV2UnitsCountMonthsYearMonthGet(ctx context.Context, year int32, month int32) (MonthUnitCountHistoryModelBrandListData, *http.Response, error)
UnitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param year
- @param month
@return MonthUnitCountHistoryModelBrandListData
type WeekRevenueHistoryModel ¶
type WeekRevenueHistoryModel struct {
CountryId int32 `json:"countryId,omitempty"`
CountryCode string `json:"countryCode,omitempty"`
UnitId int32 `json:"unitId,omitempty"`
Weeks []WeekRevenueModel `json:"weeks,omitempty"`
}
type WeekRevenueHistoryModelBrandData ¶
type WeekRevenueHistoryModelBrandData struct {
Countries []WeekRevenueHistoryModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type WeekRevenueModel ¶
type WeekRevenueModel struct {
StartDay time.Time `json:"startDay,omitempty"`
EndDay time.Time `json:"endDay,omitempty"`
Revenue float64 `json:"revenue,omitempty"`
Count int32 `json:"count,omitempty"`
DeliveryRevenue float64 `json:"deliveryRevenue,omitempty"`
DeliveryCount int32 `json:"deliveryCount,omitempty"`
StationaryRevenue float64 `json:"stationaryRevenue,omitempty"`
StationaryCount int32 `json:"stationaryCount,omitempty"`
PickupRevenue float64 `json:"pickupRevenue,omitempty"`
PickupCount int32 `json:"pickupCount,omitempty"`
WeekId int32 `json:"weekId,omitempty"`
}
type WeeklyTopModel ¶
type WeeklyTopModel struct {
CountryId int32 `json:"countryId,omitempty"`
CountryCode string `json:"countryCode,omitempty"`
Top []WeeklyTopUnitModel `json:"top,omitempty"`
}
type WeeklyTopModelBrandData ¶
type WeeklyTopModelBrandData struct {
Countries []WeeklyTopModel `json:"countries,omitempty"`
Errors []ErrorModel `json:"errors,omitempty"`
Brand string `json:"brand,omitempty"`
}
type WeeklyTopModelBrandListData ¶
type WeeklyTopModelBrandListData struct {
Brands []WeeklyTopModelBrandData `json:"brands,omitempty"`
}
type WeeklyTopUnitModel ¶
type WeeklyTopUnitModel struct {
UnitId int32 `json:"unitId,omitempty"`
Weeks []WeekRevenueModel `json:"weeks,omitempty"`
}
type WorkTimeModel ¶
Source Files
¶
- api_brands.go
- api_countries.go
- api_orders.go
- api_products.go
- api_ratings.go
- api_revenue.go
- api_unit_revenue.go
- api_units.go
- client.go
- configuration.go
- consts.go
- model_address_model.go
- model_brand_daily_revenue_list_model.go
- model_brand_list_daily_revenue_list_model.go
- model_brand_list_total_unit_count_list_model.go
- model_brand_model.go
- model_brand_total_unit_count_list_model.go
- model_coordinates_model.go
- model_country_daily_revenue_model.go
- model_country_daily_revenue_model_brand_data.go
- model_country_model.go
- model_country_model_brand_data.go
- model_daily_metrics_model.go
- model_daily_revenue_list_model.go
- model_error_model.go
- model_house_model.go
- model_locality_model.go
- model_metrics_history_model.go
- model_metrics_model.go
- model_month_revenue_history_model.go
- model_month_revenue_history_model_brand_data.go
- model_month_revenue_model.go
- model_month_total_revenue_model.go
- model_month_total_revenue_model_brand_data.go
- model_month_total_revenue_model_brand_list_data.go
- model_month_unit_count_history_model.go
- model_month_unit_count_history_model_brand_data.go
- model_month_unit_count_history_model_brand_list_data.go
- model_month_unit_count_model.go
- model_order_model.go
- model_order_model_brand_data.go
- model_order_model_brand_list_data.go
- model_orders_count_by_source_statistics.go
- model_period.go
- model_periodic_revenue_list_model.go
- model_product_image.go
- model_product_statistic.go
- model_product_statistics_model.go
- model_product_statistics_model_brand_data.go
- model_rating.go
- model_ratings_model.go
- model_ratings_model_brand_data.go
- model_ratings_model_brand_list_data.go
- model_revenue_history_model.go
- model_revenue_history_model_brand_data.go
- model_revenue_model.go
- model_schedule_model.go
- model_statistics_model.go
- model_statistics_model_brand_data.go
- model_street_model.go
- model_total_revenue_history_model.go
- model_total_revenue_history_model_brand_data.go
- model_total_revenue_history_model_brand_list_data.go
- model_total_revenue_model.go
- model_total_unit_count_list_model.go
- model_unit_count_model.go
- model_unit_list_model.go
- model_unit_list_model_brand_data.go
- model_unit_list_model_brand_list_data.go
- model_unit_model.go
- model_unit_single_model.go
- model_unit_single_model_brand_data.go
- model_week_revenue_history_model.go
- model_week_revenue_history_model_brand_data.go
- model_week_revenue_model.go
- model_weekly_top_model.go
- model_weekly_top_model_brand_data.go
- model_weekly_top_model_brand_list_data.go
- model_weekly_top_unit_model.go
- model_work_time_model.go
- response.go