amazon-sp-api
Version:
Amazon Selling Partner API client
20 lines (15 loc) • 458 B
text/typescript
import type {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;
}