File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,10 @@ export namespace Typeform {
146
146
* Choice answer for a properties's choices property of a field.
147
147
*/
148
148
export interface Choice {
149
+ /**
150
+ * Only available when retrieving a form.
151
+ */
152
+ id ?: string
149
153
/**
150
154
* Readable name you can use to reference the answer choice. Available for `multiple_choice` and `picture_choice` types.
151
155
* Not available for dropdown types.
@@ -1031,10 +1035,7 @@ export namespace Typeform {
1031
1035
/**
1032
1036
* Represents single choice answers for dropdown-like fields.
1033
1037
*/
1034
- choice ?: {
1035
- label ?: string
1036
- other ?: string
1037
- }
1038
+ choice ?: Omit < Choice , 'attachment' >
1038
1039
/**
1039
1040
* Represents multiple choice answers.
1040
1041
*/
@@ -1229,24 +1230,30 @@ export namespace Typeform {
1229
1230
* The type of field.
1230
1231
*/
1231
1232
type Type =
1233
+ | 'address'
1234
+ | 'calendly'
1235
+ | 'contact_info'
1232
1236
| 'date'
1233
1237
| 'dropdown'
1234
1238
| 'email'
1235
1239
| 'file_upload'
1236
1240
| 'group'
1237
1241
| 'legal'
1238
1242
| 'long_text'
1243
+ | 'matrix'
1239
1244
| 'multiple_choice'
1245
+ | 'nps'
1240
1246
| 'number'
1241
1247
| 'opinion_scale'
1242
1248
| 'payment'
1249
+ | 'phone_number'
1243
1250
| 'picture_choice'
1251
+ | 'ranking'
1244
1252
| 'rating'
1245
1253
| 'short_text'
1246
1254
| 'statement'
1247
1255
| 'website'
1248
1256
| 'yes_no'
1249
- | 'phone_number'
1250
1257
/**
1251
1258
* Validations of a field.
1252
1259
*/
You can’t perform that action at this time.
0 commit comments