Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
fix: fix api-extrator issues
Browse files Browse the repository at this point in the history
  • Loading branch information
justinemmanuelmercado committed Jul 9, 2020
1 parent 1adb47a commit 0db5be3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/sections/recommendations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import { FulfillmentChannelEnum } from './types'

const RECOMMENDATIONS_API_VERSION = '2013-04-01'

interface GetLastUpdatedTimeForRecommendationsParameters {
export interface GetLastUpdatedTimeForRecommendationsParameters {
MarketplaceId: string
}

const GetLastUpdatedTimeForRecommendations = oneOf([
export const GetLastUpdatedTimeForRecommendations = oneOf([
Codec.interface({
InventoryRecommendationsLastUpdated: mwsDate,
PricingRecommendationsLastUpdated: mwsDate,
Expand All @@ -32,7 +32,7 @@ const GetLastUpdatedTimeForRecommendations = oneOf([
exactly(''),
])

type GetLastUpdatedTimeForRecommendations = GetInterface<
export type GetLastUpdatedTimeForRecommendations = GetInterface<
typeof GetLastUpdatedTimeForRecommendations
>

Expand All @@ -42,7 +42,7 @@ const GetLastUpdatedTimeForRecommendationsResponse = Codec.interface({
}),
})

type RecommedationCategory =
export type RecommedationCategory =
| 'Inventory'
| 'Selection'
| 'Pricing'
Expand All @@ -51,12 +51,12 @@ type RecommedationCategory =
| 'GlobalSelling'
| 'Advertising'

interface CategoryQuery {
export interface CategoryQuery {
RecommendationCategory: RecommedationCategory
FilterOptions: string
}

interface ListRecommendationsParameters {
export interface ListRecommendationsParameters {
MarketplaceId: string
RecommendationCategory?: RecommedationCategory
CategoryQueryList?: CategoryQuery[]
Expand Down Expand Up @@ -172,7 +172,7 @@ const AdvertisingRecommendation = Codec.interface({
SalesForTheLast30Days: optional(number),
})

const ListRecommendations = Codec.interface({
export const ListRecommendations = Codec.interface({
NextToken: optional(nextTokenCodec('ListRecommendations')),
FulfillmentRecommendations: optional(ensureArray('member', FulfillmentRecommendation)),
InventoryRecommendations: optional(ensureArray('member', InventoryRecommendation)),
Expand All @@ -181,7 +181,7 @@ const ListRecommendations = Codec.interface({
AdvertisingRecommendations: optional(ensureArray('member', AdvertisingRecommendation)),
})

type ListRecommendations = GetInterface<typeof ListRecommendations>
export type ListRecommendations = GetInterface<typeof ListRecommendations>

const ListRecommendationsResponse = Codec.interface({
ListRecommendationsResponse: Codec.interface({
Expand Down

0 comments on commit 0db5be3

Please sign in to comment.