UNPKG

amazon-sp-api-timeout

Version:

Amazon Selling Partner API client

23 lines (19 loc) 464 B
import { BaseResponse } from "../baseTypes"; export interface CreateRestrictedDataTokenBody { targetApplication?: string; restrictedResources: RestrictedResource[]; } export interface RestrictedResource { method: Method; path: string; dataElements?: string[]; } type Method = | "GET" | "PUT" | "POST" | "DELETE"; export interface CreateRestrictedDataTokenResponse extends BaseResponse { restrictedDataToken?: string; expiresIn?: string; }