@wix/form-public 0.183.0 → 0.185.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.
@@ -51,7 +51,6 @@ import { RadioGroup } from '@wix/form-fields/headless';
51
51
  import { RatingInput } from '@wix/form-fields/headless';
52
52
  import { default as React_2 } from 'react';
53
53
  import { ReactElement } from 'react';
54
- import { requests } from '@wix/ambassador-forms-v4-submission/build/cjs/proto/client/proto-generated';
55
54
  import { RichText } from '@wix/form-fields/headless';
56
55
  import { FieldType as SchemaFieldType } from '@wix/form-fields';
57
56
  import { Signature } from '@wix/form-fields/headless';
@@ -176,7 +175,16 @@ export declare const mapFieldTypes: (fields: FieldMap, typeMap: Record<SchemaFie
176
175
 
177
176
  export { MultilineAddress }
178
177
 
179
- declare type MultilineAddressSubmission = requests.wix.forms.v4.values.MultilineAddressSubmission;
178
+ declare interface MultilineAddressSubmission {
179
+ country?: string;
180
+ subdivision?: string;
181
+ city?: string;
182
+ postalCode?: string;
183
+ streetNumber?: string;
184
+ streetName?: string;
185
+ addressLine?: string;
186
+ addressLine2?: string;
187
+ }
180
188
 
181
189
  /**
182
190
  * Normalizes object schema by removing underscore prefixes and converting keys to camelCase
@@ -51,7 +51,6 @@ import { RadioGroup } from '@wix/form-fields/headless';
51
51
  import { RatingInput } from '@wix/form-fields/headless';
52
52
  import { default as React_2 } from 'react';
53
53
  import { ReactElement } from 'react';
54
- import { requests } from '@wix/ambassador-forms-v4-submission/build/cjs/proto/client/proto-generated';
55
54
  import { RichText } from '@wix/form-fields/headless';
56
55
  import { FieldType as SchemaFieldType } from '@wix/form-fields';
57
56
  import { Signature } from '@wix/form-fields/headless';
@@ -176,7 +175,16 @@ export declare const mapFieldTypes: (fields: FieldMap, typeMap: Record<SchemaFie
176
175
 
177
176
  export { MultilineAddress }
178
177
 
179
- declare type MultilineAddressSubmission = requests.wix.forms.v4.values.MultilineAddressSubmission;
178
+ declare interface MultilineAddressSubmission {
179
+ country?: string;
180
+ subdivision?: string;
181
+ city?: string;
182
+ postalCode?: string;
183
+ streetNumber?: string;
184
+ streetName?: string;
185
+ addressLine?: string;
186
+ addressLine2?: string;
187
+ }
180
188
 
181
189
  /**
182
190
  * Normalizes object schema by removing underscore prefixes and converting keys to camelCase