Skip to content

Commit

Permalink
Adds missing answers parameter. Reorders parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
coconutcraig committed Nov 17, 2018
1 parent 551ce0f commit ab22aca
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions src/types/parameters.d.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,32 @@
import { AnswerModel } from './models';

export interface AnswerParameters {
question: number | null;
value: string | null;
}

export interface AttendeeParameters {
first_name: string | null;
last_name: string | null;
email: string | null;
address?: string;
answers?: AnswerModel | AnswerModel[];
cell_phone?: string;
city?: string;
region?: string;
country?: string;
email: string | null;
first_name: string | null;
last_name: string | null;
phone?: string;
postcode?: string;
region?: string;
timezone?: string;
phone?: string;
cell_phone?: string;
work_phone?: string;
}

export interface LocationDetailParameters {
address?: string;
city?: string;
region?: string;
country?: string;
postcode?: string;
region?: string;
timezone?: string;
}

Expand All @@ -45,9 +48,9 @@ export interface QuestionParameters {
}

export interface ReachableDetailParameters {
cell_phone?: string;
email: string;
phone?: string;
cell_phone?: string;
work_phone?: string;
}

Expand Down

0 comments on commit ab22aca

Please sign in to comment.