@vendasta/forms_microservice 0.28.0 → 0.30.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.
@@ -139,8 +139,9 @@ var SecuritySchemeType;
139
139
  var ConsentType;
140
140
  (function (ConsentType) {
141
141
  ConsentType[ConsentType["CONSENT_TYPE_INVALID"] = 0] = "CONSENT_TYPE_INVALID";
142
- ConsentType[ConsentType["CONSENT_TYPE_EMAIL"] = 1] = "CONSENT_TYPE_EMAIL";
143
- ConsentType[ConsentType["CONSENT_TYPE_SMS"] = 2] = "CONSENT_TYPE_SMS";
142
+ ConsentType[ConsentType["CONSENT_TYPE_MARKETING_EMAIL"] = 1] = "CONSENT_TYPE_MARKETING_EMAIL";
143
+ ConsentType[ConsentType["CONSENT_TYPE_TRANSACTION_SMS"] = 2] = "CONSENT_TYPE_TRANSACTION_SMS";
144
+ ConsentType[ConsentType["CONSENT_TYPE_MARKETING_SMS"] = 3] = "CONSENT_TYPE_MARKETING_SMS";
144
145
  })(ConsentType || (ConsentType = {}));
145
146
  var FieldType;
146
147
  (function (FieldType) {
@@ -2796,6 +2797,9 @@ class MappedField {
2796
2797
  if (proto.consentConfig) {
2797
2798
  m.consentConfig = ConsentFieldConfig.fromProto(proto.consentConfig);
2798
2799
  }
2800
+ if (proto.promoSelectionConfig) {
2801
+ m.promoSelectionConfig = PromoSelectionFieldConfig.fromProto(proto.promoSelectionConfig);
2802
+ }
2799
2803
  return m;
2800
2804
  }
2801
2805
  constructor(kwargs) {
@@ -2830,6 +2834,9 @@ class MappedField {
2830
2834
  if (typeof this.consentConfig !== 'undefined' && this.consentConfig !== null) {
2831
2835
  toReturn['consentConfig'] = 'toApiJson' in this.consentConfig ? this.consentConfig.toApiJson() : this.consentConfig;
2832
2836
  }
2837
+ if (typeof this.promoSelectionConfig !== 'undefined' && this.promoSelectionConfig !== null) {
2838
+ toReturn['promoSelectionConfig'] = 'toApiJson' in this.promoSelectionConfig ? this.promoSelectionConfig.toApiJson() : this.promoSelectionConfig;
2839
+ }
2833
2840
  return toReturn;
2834
2841
  }
2835
2842
  }
@@ -2960,6 +2967,26 @@ class FormSubmissionProcessResult {
2960
2967
  return toReturn;
2961
2968
  }
2962
2969
  }
2970
+ class PromoSelectionFieldConfig {
2971
+ static fromProto(proto) {
2972
+ let m = new PromoSelectionFieldConfig();
2973
+ m = Object.assign(m, proto);
2974
+ return m;
2975
+ }
2976
+ constructor(kwargs) {
2977
+ if (!kwargs) {
2978
+ return;
2979
+ }
2980
+ Object.assign(this, kwargs);
2981
+ }
2982
+ toApiJson() {
2983
+ const toReturn = {};
2984
+ if (typeof this.autoAdvance !== 'undefined') {
2985
+ toReturn['autoAdvance'] = this.autoAdvance;
2986
+ }
2987
+ return toReturn;
2988
+ }
2989
+ }
2963
2990
  class RecoverFormRequest {
2964
2991
  static fromProto(proto) {
2965
2992
  let m = new RecoverFormRequest();
@@ -3808,5 +3835,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
3808
3835
  * Generated bundle index. Do not edit.
3809
3836
  */
3810
3837
 
3811
- export { Access, ActionParameters, ConsentField, ConsentFieldConfig, ConsentType, Contact, CreateFormFromTemplateRequest, CreateFormFromTemplateResponse, CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DateDefault, DeleteFormRequest, EnumSchema, EnumSchemaExtensionsEntry, ExternalDocumentation, FieldOption, FieldType, FieldValue, Filter, FilterGroup, FilterGroupOperator, FilterOperator, FilterType, FilterValue, FormConfig, FormConfigField, FormConfigFieldSchema, FormConfigTemplateSetupSettings, FormCreationStatus, FormSubmission, FormSubmissionApiService, FormSubmissionProcessResult, FormSubmissionProcessResultErrorType, FormSubmissionProcessResultStatus, FormSubmissionResultError, FormSubmissionSubmittedValue, FormSubmissionsExportService, FormTemplateApiService, FormsApiService, GenerateCustomCSSRequest, GenerateCustomCSSResponse, GetCreateFormFromTemplateStatusRequest, GetCreateFormFromTemplateStatusResponse, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiFormVersionsListResponseVersions, GetMultiRequest, GetMultiRequestFormConfigIdentifier, GetMultiResponse, Header, HeaderParameter, HeaderParameterType, HostService, Info, InfoExtensionsEntry, JSONSchema, JSONSchemaExtensionsEntry, JSONSchemaFieldConfiguration, JSONSchemaJSONSchemaSimpleTypes, JsonSchemaLibrary, License, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsRequestFilters, ListFormsResponse, ListFormsResponseFormRow, ListFormsResponseProcessResultStatus, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, MCPOptions, MappedField, NextParameters, Operation, OperationExtensionsEntry, OperationResponsesEntry, PagedRequestOptions, PagedResponseMetadata, Parameters, Phone, PreviewFormRequest, PreviewFormResponse, RecoverFormRequest, RecoverFormResponse, RenderFormRequest, RenderFormResponse, RenderFormResponseDefaultValues, RenderFormResponsePreFillByUrlQueryParameter, ReprocessStatus, ReprocessSubmissionRequest, ReprocessSubmissionResponse, Response, ResponseExamplesEntry, ResponseExtensionsEntry, ResponseHeadersEntry, Schema, Scheme, Scopes, ScopesScopeEntry, SectionAction, SectionConfig, SecurityDefinitions, SecurityDefinitionsSecurityEntry, SecurityRequirement, SecurityRequirementSecurityRequirementEntry, SecurityRequirementSecurityRequirementValue, SecurityScheme, SecuritySchemeExtensionsEntry, SecuritySchemeFlow, SecuritySchemeIn, SecuritySchemeType, StringList, Styles, SubmitConditionParameters, Swagger, SwaggerExtensionsEntry, SwaggerResponsesEntry, SystemDefined, Tag, TagExtensionsEntry, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError };
3838
+ export { Access, ActionParameters, ConsentField, ConsentFieldConfig, ConsentType, Contact, CreateFormFromTemplateRequest, CreateFormFromTemplateResponse, CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DateDefault, DeleteFormRequest, EnumSchema, EnumSchemaExtensionsEntry, ExternalDocumentation, FieldOption, FieldType, FieldValue, Filter, FilterGroup, FilterGroupOperator, FilterOperator, FilterType, FilterValue, FormConfig, FormConfigField, FormConfigFieldSchema, FormConfigTemplateSetupSettings, FormCreationStatus, FormSubmission, FormSubmissionApiService, FormSubmissionProcessResult, FormSubmissionProcessResultErrorType, FormSubmissionProcessResultStatus, FormSubmissionResultError, FormSubmissionSubmittedValue, FormSubmissionsExportService, FormTemplateApiService, FormsApiService, GenerateCustomCSSRequest, GenerateCustomCSSResponse, GetCreateFormFromTemplateStatusRequest, GetCreateFormFromTemplateStatusResponse, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiFormVersionsListResponseVersions, GetMultiRequest, GetMultiRequestFormConfigIdentifier, GetMultiResponse, Header, HeaderParameter, HeaderParameterType, HostService, Info, InfoExtensionsEntry, JSONSchema, JSONSchemaExtensionsEntry, JSONSchemaFieldConfiguration, JSONSchemaJSONSchemaSimpleTypes, JsonSchemaLibrary, License, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsRequestFilters, ListFormsResponse, ListFormsResponseFormRow, ListFormsResponseProcessResultStatus, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, MCPOptions, MappedField, NextParameters, Operation, OperationExtensionsEntry, OperationResponsesEntry, PagedRequestOptions, PagedResponseMetadata, Parameters, Phone, PreviewFormRequest, PreviewFormResponse, PromoSelectionFieldConfig, RecoverFormRequest, RecoverFormResponse, RenderFormRequest, RenderFormResponse, RenderFormResponseDefaultValues, RenderFormResponsePreFillByUrlQueryParameter, ReprocessStatus, ReprocessSubmissionRequest, ReprocessSubmissionResponse, Response, ResponseExamplesEntry, ResponseExtensionsEntry, ResponseHeadersEntry, Schema, Scheme, Scopes, ScopesScopeEntry, SectionAction, SectionConfig, SecurityDefinitions, SecurityDefinitionsSecurityEntry, SecurityRequirement, SecurityRequirementSecurityRequirementEntry, SecurityRequirementSecurityRequirementValue, SecurityScheme, SecuritySchemeExtensionsEntry, SecuritySchemeFlow, SecuritySchemeIn, SecuritySchemeType, StringList, Styles, SubmitConditionParameters, Swagger, SwaggerExtensionsEntry, SwaggerResponsesEntry, SystemDefined, Tag, TagExtensionsEntry, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError };
3812
3839
  //# sourceMappingURL=vendasta-forms_microservice.mjs.map