hud-ai
Version:
Hud.ai API Client
35 lines (34 loc) • 1.31 kB
TypeScript
/// <reference types="bluebird" />
import * as Promise from 'bluebird';
import { HudAiCreateAttributes, HudAiUpdateAttributes, Resource } from '../utils/Resource';
import { RequestManager } from '../RequestManager';
import { CompanyProfile } from '../entities';
export interface CompanyProfileGetAttributes {
companyId: string;
}
export interface CompanyProfileCreateAttributes extends HudAiCreateAttributes {
companyId: string;
description?: string;
profileImageUrl?: string;
homepageUrl?: string;
linkedinUrl?: string;
city?: string;
state?: string;
country?: string;
}
export interface CompanyProfileUpdateAttributes extends HudAiUpdateAttributes {
companyId: string;
description?: string;
profileImageUrl?: string;
homepageUrl?: string;
linkedinUrl?: string;
city?: string;
state?: string;
country?: string;
}
export declare class CompanyProfileResource extends Resource<CompanyProfile, any, CompanyProfileCreateAttributes, CompanyProfileUpdateAttributes> {
constructor(requestManager: RequestManager);
get(getArgs: CompanyProfileGetAttributes): Promise<CompanyProfile>;
create(createArgs: CompanyProfileCreateAttributes): Promise<CompanyProfile>;
update(updateArgs: CompanyProfileUpdateAttributes): Promise<CompanyProfile>;
}