finite-state-sdk
Version:
The Finite State SDK.
23 lines (22 loc) • 589 B
TypeScript
export interface getProductsOptionsParams {
productId?: string;
businessUnitId?: string;
}
export interface GetAllProductsResponse {
_cursor: string | null;
id: string;
name: string;
createdAt: string;
createdBy: {
id: string;
email: string;
__typename: string;
} | null;
group: {
id: string;
name: string;
} | null;
__typename: string;
}
declare function getProducts(token: any, organizationContext: any, params?: getProductsOptionsParams): Promise<GetAllProductsResponse[]>;
export default getProducts;