@planet-a/affinity-node
Version:
API wrapper for the affinity.co API
122 lines (121 loc) • 4.59 kB
TypeScript
export * from './Attendee.js';
export * from './AuthenticationError.js';
export * from './AuthorizationError.js';
export * from './AuthorizationErrors.js';
export * from './BadRequestError.js';
export * from './ChatMessage.js';
export * from './CompaniesValue.js';
export * from './CompaniesValueUpdate.js';
export * from './Company.js';
export * from './CompanyData.js';
export * from './CompanyListEntry.js';
export * from './CompanyPaged.js';
export * from './CompanyReference.js';
export * from './CompanyValue.js';
export * from './CompanyValueUpdate.js';
export * from './ConflictError.js';
export * from './DateValue.js';
export * from './Dropdown.js';
export * from './DropdownReference.js';
export * from './DropdownValue.js';
export * from './DropdownValueUpdate.js';
export * from './DropdownsValue.js';
export * from './DropdownsValueUpdate.js';
export * from './Email.js';
export * from './Errors.js';
export * from './Field.js';
export * from './FieldMetadata.js';
export * from './FieldMetadataPaged.js';
export * from './FieldPaged.js';
export * from './FieldUpdate.js';
export * from './FieldValue.js';
export * from './FieldValueUpdate.js';
export * from './FloatValue.js';
export * from './FloatsValue.js';
export * from './FormulaNumber.js';
export * from './FormulaValue.js';
export * from './Grant.js';
export * from './InlineObject.js';
export * from './InlineObjectErrorsInner.js';
export * from './Interaction.js';
export * from './InteractionValue.js';
export * from './List.js';
export * from './ListEntry.js';
export * from './ListEntryBatchOperationResponse.js';
export * from './ListEntryBatchOperationUpdateFields.js';
export * from './ListEntryBatchOperationUpdateFieldsUpdatesInner.js';
export * from './ListEntryBatchOperations.js';
export * from './ListEntryPaged.js';
export * from './ListEntryWithEntity.js';
export * from './ListEntryWithEntityPaged.js';
export * from './ListPaged.js';
export * from './ListWithType.js';
export * from './ListWithTypePaged.js';
export * from './Location.js';
export * from './LocationValue.js';
export * from './LocationsValue.js';
export * from './Meeting.js';
export * from './MethodNotAllowedError.js';
export * from './ModelError.js';
export * from './NotAcceptableError.js';
export * from './NotFoundError.js';
export * from './NotFoundErrors.js';
export * from './NotImplementedError.js';
export * from './Opportunity.js';
export * from './OpportunityListEntry.js';
export * from './OpportunityPaged.js';
export * from './OpportunityWithFields.js';
export * from './Pagination.js';
export * from './Person.js';
export * from './PersonData.js';
export * from './PersonListEntry.js';
export * from './PersonPaged.js';
export * from './PersonReference.js';
export * from './PersonValue.js';
export * from './PersonValueUpdate.js';
export * from './PersonsValue.js';
export * from './PersonsValueUpdate.js';
export * from './PhoneCall.js';
export * from './RankedDropdown.js';
export * from './RankedDropdownReference.js';
export * from './RankedDropdownValue.js';
export * from './RankedDropdownValueUpdate.js';
export * from './RateLimitError.js';
export * from './SavedView.js';
export * from './SavedViewPaged.js';
export * from './ServerError.js';
export * from './Tenant.js';
export * from './TextValue.js';
export * from './TextsValue.js';
export * from './UnprocessableEntityError.js';
export * from './UnsupportedMediaTypeError.js';
export * from './User.js';
export * from './ValidationError.js';
export * from './WhoAmI.js';
export declare class ObjectSerializer {
static findCorrectType(data: any, expectedType: string): any;
static serialize(data: any, type: string, format: string): any;
static deserialize(data: any, type: string, format: string): any;
/**
* Normalize media type
*
* We currently do not handle any media types attributes, i.e. anything
* after a semicolon. All content is assumed to be UTF-8 compatible.
*/
static normalizeMediaType(mediaType: string | undefined): string | undefined;
/**
* From a list of possible media types, choose the one we can handle best.
*
* The order of the given media types does not have any impact on the choice
* made.
*/
static getPreferredMediaType(mediaTypes: Array<string>): string;
/**
* Convert data to a string according the given media type
*/
static stringify(data: any, mediaType: string): string;
/**
* Parse data from a string according to the given media type
*/
static parse(rawData: string, mediaType: string | undefined): any;
}