@vendasta/meetings 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -126,6 +126,8 @@ var FormFieldType;
126
126
  FormFieldType[FormFieldType["FORM_FIELD_TYPE_EMAIL"] = 2] = "FORM_FIELD_TYPE_EMAIL";
127
127
  FormFieldType[FormFieldType["FORM_FIELD_TYPE_PHONE_NUMBER"] = 3] = "FORM_FIELD_TYPE_PHONE_NUMBER";
128
128
  FormFieldType[FormFieldType["FORM_FIELD_TYPE_SELECT"] = 4] = "FORM_FIELD_TYPE_SELECT";
129
+ FormFieldType[FormFieldType["FORM_FIELD_TYPE_MULTIPLE_CHOICE"] = 5] = "FORM_FIELD_TYPE_MULTIPLE_CHOICE";
130
+ FormFieldType[FormFieldType["FORM_FIELD_TYPE_DROPDOWN"] = 6] = "FORM_FIELD_TYPE_DROPDOWN";
129
131
  })(FormFieldType || (FormFieldType = {}));
130
132
  var OnBoardingState;
131
133
  (function (OnBoardingState) {
@@ -2269,6 +2271,9 @@ class Field {
2269
2271
  if (typeof this.required !== 'undefined') {
2270
2272
  toReturn['required'] = this.required;
2271
2273
  }
2274
+ if (typeof this.options !== 'undefined') {
2275
+ toReturn['options'] = this.options;
2276
+ }
2272
2277
  return toReturn;
2273
2278
  }
2274
2279
  }
@@ -10937,6 +10942,7 @@ function MeetingTypeFromApi(req) {
10937
10942
  label: field.label || "",
10938
10943
  type: field.type || FormFieldType.FORM_FIELD_TYPE_INVALID,
10939
10944
  required: field.required || false,
10945
+ options: field.options || [],
10940
10946
  };
10941
10947
  }),
10942
10948
  };