@commercelayer/react-components
Version:
The Official Commerce Layer React Components
28 lines (27 loc) • 580 B
TypeScript
interface JWT {
application: {
id: string;
kind: 'sales_channel' | 'integration';
public: boolean;
};
exp: number;
market: {
id: string[];
price_list_id: string;
stock_location_ids: string[];
geocoder_id: null | string;
allows_external_prices: boolean;
};
organization: {
id: string;
slug: string;
};
owner: {
id: string;
type: 'Customer';
};
rand: number;
test: boolean;
}
export declare function jwt(accessToken: string): JWT;
export {};