@vendasta/forms_microservice 0.5.0 → 0.6.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.
@@ -818,6 +818,9 @@ class FormConfigFieldMappedField {
818
818
  if (proto.options) {
819
819
  m.options = proto.options.map(FormConfigFieldOption.fromProto);
820
820
  }
821
+ if (proto.systemDefined) {
822
+ m.systemDefined = FormConfigFieldSystemDefined.fromProto(proto.systemDefined);
823
+ }
821
824
  return m;
822
825
  }
823
826
  constructor(kwargs) {
@@ -840,6 +843,9 @@ class FormConfigFieldMappedField {
840
843
  if (typeof this.mappedTo !== 'undefined') {
841
844
  toReturn['mappedTo'] = this.mappedTo;
842
845
  }
846
+ if (typeof this.systemDefined !== 'undefined' && this.systemDefined !== null) {
847
+ toReturn['systemDefined'] = 'toApiJson' in this.systemDefined ? this.systemDefined.toApiJson() : this.systemDefined;
848
+ }
843
849
  return toReturn;
844
850
  }
845
851
  }
@@ -1116,6 +1122,26 @@ class FormSubmissionSubmittedValue {
1116
1122
  return toReturn;
1117
1123
  }
1118
1124
  }
1125
+ class FormConfigFieldSystemDefined {
1126
+ static fromProto(proto) {
1127
+ let m = new FormConfigFieldSystemDefined();
1128
+ m = Object.assign(m, proto);
1129
+ return m;
1130
+ }
1131
+ constructor(kwargs) {
1132
+ if (!kwargs) {
1133
+ return;
1134
+ }
1135
+ Object.assign(this, kwargs);
1136
+ }
1137
+ toApiJson() {
1138
+ const toReturn = {};
1139
+ if (typeof this.required !== 'undefined') {
1140
+ toReturn['required'] = this.required;
1141
+ }
1142
+ return toReturn;
1143
+ }
1144
+ }
1119
1145
  class FormConfigFieldUnmappedField {
1120
1146
  static fromProto(proto) {
1121
1147
  let m = new FormConfigFieldUnmappedField();
@@ -1469,5 +1495,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1469
1495
  * Generated bundle index. Do not edit.
1470
1496
  */
1471
1497
 
1472
- export { CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DeleteFormRequest, FieldType, FieldValue, FormConfig, FormConfigField, FormConfigFieldMappedField, FormConfigFieldOption, FormConfigFieldSchema, FormConfigFieldUnmappedField, FormSubmission, FormSubmissionApiService, FormSubmissionSubmittedValue, FormSubmissionsExportService, FormsApiService, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiFormVersionsListResponseVersions, GetMultiRequest, GetMultiRequestFormConfigIdentifier, GetMultiResponse, HostService, JsonSchemaLibrary, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsRequestFilters, ListFormsResponse, ListFormsResponseFormRow, PagedRequestOptions, PagedResponseMetadata, PreviewFormRequest, PreviewFormResponse, RenderFormRequest, RenderFormResponse, RenderFormResponsePreFillByUrlQueryParameter, Styles, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError };
1498
+ export { CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DeleteFormRequest, FieldType, FieldValue, FormConfig, FormConfigField, FormConfigFieldMappedField, FormConfigFieldOption, FormConfigFieldSchema, FormConfigFieldSystemDefined, FormConfigFieldUnmappedField, FormSubmission, FormSubmissionApiService, FormSubmissionSubmittedValue, FormSubmissionsExportService, FormsApiService, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiFormVersionsListResponseVersions, GetMultiRequest, GetMultiRequestFormConfigIdentifier, GetMultiResponse, HostService, JsonSchemaLibrary, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsRequestFilters, ListFormsResponse, ListFormsResponseFormRow, PagedRequestOptions, PagedResponseMetadata, PreviewFormRequest, PreviewFormResponse, RenderFormRequest, RenderFormResponse, RenderFormResponsePreFillByUrlQueryParameter, Styles, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError };
1473
1499
  //# sourceMappingURL=vendasta-forms_microservice.mjs.map