trender-client
Version:
Official Trender client API
17 lines (16 loc) • 370 B
TypeScript
import type { error } from "./Global";
export interface affiliationFetchSchema {
my_code?: string;
affiliate_to?: string;
affiliate_number: number;
}
export interface affiliationCreateResponse {
error?: error;
data?: {
code: string;
};
}
export interface affiliationFetchResponse {
error?: error;
data?: affiliationFetchSchema;
}