@wix/forms 1.0.150 → 1.0.152

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.
@@ -1,9 +1,9 @@
1
- type HostModule$2<T, H extends Host$2> = {
1
+ type HostModule<T, H extends Host> = {
2
2
  __type: 'host';
3
3
  create(host: H): T;
4
4
  };
5
- type HostModuleAPI$2<T extends HostModule$2<any, any>> = T extends HostModule$2<infer U, any> ? U : never;
6
- type Host$2<Environment = unknown> = {
5
+ type HostModuleAPI<T extends HostModule<any, any>> = T extends HostModule<infer U, any> ? U : never;
6
+ type Host<Environment = unknown> = {
7
7
  channel: {
8
8
  observeState(callback: (props: unknown, environment: Environment) => unknown): {
9
9
  disconnect: () => void;
@@ -36,92 +36,92 @@ type Host$2<Environment = unknown> = {
36
36
  };
37
37
  };
38
38
 
39
- type RESTFunctionDescriptor$2<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient$2) => T;
40
- interface HttpClient$2 {
41
- request<TResponse, TData = any>(req: RequestOptionsFactory$2<TResponse, TData>): Promise<HttpResponse$2<TResponse>>;
39
+ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
40
+ interface HttpClient {
41
+ request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
42
42
  fetchWithAuth: typeof fetch;
43
43
  wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
44
44
  getActiveToken?: () => string | undefined;
45
45
  }
46
- type RequestOptionsFactory$2<TResponse = any, TData = any> = (context: any) => RequestOptions$2<TResponse, TData>;
47
- type HttpResponse$2<T = any> = {
46
+ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
47
+ type HttpResponse<T = any> = {
48
48
  data: T;
49
49
  status: number;
50
50
  statusText: string;
51
51
  headers: any;
52
52
  request?: any;
53
53
  };
54
- type RequestOptions$2<_TResponse = any, Data = any> = {
54
+ type RequestOptions<_TResponse = any, Data = any> = {
55
55
  method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
56
56
  url: string;
57
57
  data?: Data;
58
58
  params?: URLSearchParams;
59
- } & APIMetadata$2;
60
- type APIMetadata$2 = {
59
+ } & APIMetadata;
60
+ type APIMetadata = {
61
61
  methodFqn?: string;
62
62
  entityFqdn?: string;
63
63
  packageName?: string;
64
64
  };
65
- type BuildRESTFunction$2<T extends RESTFunctionDescriptor$2> = T extends RESTFunctionDescriptor$2<infer U> ? U : never;
66
- type EventDefinition$2<Payload = unknown, Type extends string = string> = {
65
+ type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
66
+ type EventDefinition<Payload = unknown, Type extends string = string> = {
67
67
  __type: 'event-definition';
68
68
  type: Type;
69
69
  isDomainEvent?: boolean;
70
70
  transformations?: (envelope: unknown) => Payload;
71
71
  __payload: Payload;
72
72
  };
73
- declare function EventDefinition$2<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$2<Payload, Type>;
74
- type EventHandler$2<T extends EventDefinition$2> = (payload: T['__payload']) => void | Promise<void>;
75
- type BuildEventDefinition$2<T extends EventDefinition$2<any, string>> = (handler: EventHandler$2<T>) => void;
73
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
74
+ type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
75
+ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
76
76
 
77
- type ServicePluginMethodInput$2 = {
77
+ type ServicePluginMethodInput = {
78
78
  request: any;
79
79
  metadata: any;
80
80
  };
81
- type ServicePluginContract$2 = Record<string, (payload: ServicePluginMethodInput$2) => unknown | Promise<unknown>>;
82
- type ServicePluginMethodMetadata$2 = {
81
+ type ServicePluginContract = Record<string, (payload: ServicePluginMethodInput) => unknown | Promise<unknown>>;
82
+ type ServicePluginMethodMetadata = {
83
83
  name: string;
84
84
  primaryHttpMappingPath: string;
85
85
  transformations: {
86
- fromREST: (...args: unknown[]) => ServicePluginMethodInput$2;
86
+ fromREST: (...args: unknown[]) => ServicePluginMethodInput;
87
87
  toREST: (...args: unknown[]) => unknown;
88
88
  };
89
89
  };
90
- type ServicePluginDefinition$2<Contract extends ServicePluginContract$2> = {
90
+ type ServicePluginDefinition<Contract extends ServicePluginContract> = {
91
91
  __type: 'service-plugin-definition';
92
92
  componentType: string;
93
- methods: ServicePluginMethodMetadata$2[];
93
+ methods: ServicePluginMethodMetadata[];
94
94
  __contract: Contract;
95
95
  };
96
- declare function ServicePluginDefinition$2<Contract extends ServicePluginContract$2>(componentType: string, methods: ServicePluginMethodMetadata$2[]): ServicePluginDefinition$2<Contract>;
97
- type BuildServicePluginDefinition$2<T extends ServicePluginDefinition$2<any>> = (implementation: T['__contract']) => void;
98
- declare const SERVICE_PLUGIN_ERROR_TYPE$2 = "wix_spi_error";
96
+ declare function ServicePluginDefinition<Contract extends ServicePluginContract>(componentType: string, methods: ServicePluginMethodMetadata[]): ServicePluginDefinition<Contract>;
97
+ type BuildServicePluginDefinition<T extends ServicePluginDefinition<any>> = (implementation: T['__contract']) => void;
98
+ declare const SERVICE_PLUGIN_ERROR_TYPE = "wix_spi_error";
99
99
 
100
- type RequestContext$2 = {
100
+ type RequestContext = {
101
101
  isSSR: boolean;
102
102
  host: string;
103
103
  protocol?: string;
104
104
  };
105
- type ResponseTransformer$2 = (data: any, headers?: any) => any;
105
+ type ResponseTransformer = (data: any, headers?: any) => any;
106
106
  /**
107
107
  * Ambassador request options types are copied mostly from AxiosRequestConfig.
108
108
  * They are copied and not imported to reduce the amount of dependencies (to reduce install time).
109
109
  * https://github.com/axios/axios/blob/3f53eb6960f05a1f88409c4b731a40de595cb825/index.d.ts#L307-L315
110
110
  */
111
- type Method$2 = 'get' | 'GET' | 'delete' | 'DELETE' | 'head' | 'HEAD' | 'options' | 'OPTIONS' | 'post' | 'POST' | 'put' | 'PUT' | 'patch' | 'PATCH' | 'purge' | 'PURGE' | 'link' | 'LINK' | 'unlink' | 'UNLINK';
112
- type AmbassadorRequestOptions$2<T = any> = {
111
+ type Method = 'get' | 'GET' | 'delete' | 'DELETE' | 'head' | 'HEAD' | 'options' | 'OPTIONS' | 'post' | 'POST' | 'put' | 'PUT' | 'patch' | 'PATCH' | 'purge' | 'PURGE' | 'link' | 'LINK' | 'unlink' | 'UNLINK';
112
+ type AmbassadorRequestOptions<T = any> = {
113
113
  _?: T;
114
114
  url?: string;
115
- method?: Method$2;
115
+ method?: Method;
116
116
  params?: any;
117
117
  data?: any;
118
- transformResponse?: ResponseTransformer$2 | ResponseTransformer$2[];
118
+ transformResponse?: ResponseTransformer | ResponseTransformer[];
119
119
  };
120
- type AmbassadorFactory$2<Request, Response> = (payload: Request) => ((context: RequestContext$2) => AmbassadorRequestOptions$2<Response>) & {
120
+ type AmbassadorFactory<Request, Response> = (payload: Request) => ((context: RequestContext) => AmbassadorRequestOptions<Response>) & {
121
121
  __isAmbassador: boolean;
122
122
  };
123
- type AmbassadorFunctionDescriptor$2<Request = any, Response = any> = AmbassadorFactory$2<Request, Response>;
124
- type BuildAmbassadorFunction$2<T extends AmbassadorFunctionDescriptor$2> = T extends AmbassadorFunctionDescriptor$2<infer Request, infer Response> ? (req: Request) => Promise<Response> : never;
123
+ type AmbassadorFunctionDescriptor<Request = any, Response = any> = AmbassadorFactory<Request, Response>;
124
+ type BuildAmbassadorFunction<T extends AmbassadorFunctionDescriptor> = T extends AmbassadorFunctionDescriptor<infer Request, infer Response> ? (req: Request) => Promise<Response> : never;
125
125
 
126
126
  declare global {
127
127
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
@@ -130,7 +130,7 @@ declare global {
130
130
  }
131
131
  }
132
132
 
133
- declare const emptyObjectSymbol$2: unique symbol;
133
+ declare const emptyObjectSymbol: unique symbol;
134
134
 
135
135
  /**
136
136
  Represents a strictly empty plain object, the `{}` value.
@@ -158,7 +158,7 @@ Unfortunately, `Record<string, never>`, `Record<keyof any, never>` and `Record<n
158
158
 
159
159
  @category Object
160
160
  */
161
- type EmptyObject$2 = {[emptyObjectSymbol$2]?: never};
161
+ type EmptyObject = {[emptyObjectSymbol]?: never};
162
162
 
163
163
  /**
164
164
  Returns a boolean for whether the two given types are equal.
@@ -186,7 +186,7 @@ type Includes<Value extends readonly any[], Item> =
186
186
  @category Type Guard
187
187
  @category Utilities
188
188
  */
189
- type IsEqual$2<A, B> =
189
+ type IsEqual<A, B> =
190
190
  (<G>() => G extends A ? 1 : 2) extends
191
191
  (<G>() => G extends B ? 1 : 2)
192
192
  ? true
@@ -219,9 +219,9 @@ type Filtered = Filter<'bar', 'foo'>;
219
219
 
220
220
  @see {Except}
221
221
  */
222
- type Filter$2<KeyType, ExcludeType> = IsEqual$2<KeyType, ExcludeType> extends true ? never : (KeyType extends ExcludeType ? never : KeyType);
222
+ type Filter<KeyType, ExcludeType> = IsEqual<KeyType, ExcludeType> extends true ? never : (KeyType extends ExcludeType ? never : KeyType);
223
223
 
224
- type ExceptOptions$2 = {
224
+ type ExceptOptions = {
225
225
  /**
226
226
  Disallow assigning non-specified properties.
227
227
 
@@ -265,8 +265,8 @@ const fooWithoutB: FooWithoutB = {a: 1, b: '2'};
265
265
 
266
266
  @category Object
267
267
  */
268
- type Except$2<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions$2 = {requireExactProps: false}> = {
269
- [KeyType in keyof ObjectType as Filter$2<KeyType, KeysType>]: ObjectType[KeyType];
268
+ type Except<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions = {requireExactProps: false}> = {
269
+ [KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType];
270
270
  } & (Options['requireExactProps'] extends true
271
271
  ? Partial<Record<KeysType, never>>
272
272
  : {});
@@ -303,7 +303,7 @@ type StringKeysAndUndefined = ConditionalKeys<Example, string | undefined>;
303
303
 
304
304
  @category Object
305
305
  */
306
- type ConditionalKeys$2<Base, Condition> = NonNullable<
306
+ type ConditionalKeys<Base, Condition> = NonNullable<
307
307
  // Wrap in `NonNullable` to strip away the `undefined` type from the produced union.
308
308
  {
309
309
  // Map through all the keys of the given base type.
@@ -357,9 +357,9 @@ type NonStringKeysOnly = ConditionalExcept<Example, string>;
357
357
 
358
358
  @category Object
359
359
  */
360
- type ConditionalExcept$2<Base, Condition> = Except$2<
360
+ type ConditionalExcept<Base, Condition> = Except<
361
361
  Base,
362
- ConditionalKeys$2<Base, Condition>
362
+ ConditionalKeys<Base, Condition>
363
363
  >;
364
364
 
365
365
  /**
@@ -367,8 +367,8 @@ ConditionalKeys$2<Base, Condition>
367
367
  * can either be a REST module or a host module.
368
368
  * This type is recursive, so it can describe nested modules.
369
369
  */
370
- type Descriptors$2 = RESTFunctionDescriptor$2 | AmbassadorFunctionDescriptor$2 | HostModule$2<any, any> | EventDefinition$2<any> | ServicePluginDefinition$2<any> | {
371
- [key: string]: Descriptors$2 | PublicMetadata$2 | any;
370
+ type Descriptors = RESTFunctionDescriptor | AmbassadorFunctionDescriptor | HostModule<any, any> | EventDefinition<any> | ServicePluginDefinition<any> | {
371
+ [key: string]: Descriptors | PublicMetadata | any;
372
372
  };
373
373
  /**
374
374
  * This type takes in a descriptors object of a certain Host (including an `unknown` host)
@@ -376,12 +376,12 @@ type Descriptors$2 = RESTFunctionDescriptor$2 | AmbassadorFunctionDescriptor$2 |
376
376
  * Any non-descriptor properties are removed from the returned object, including descriptors that
377
377
  * do not match the given host (as they will not work with the given host).
378
378
  */
379
- type BuildDescriptors$2<T extends Descriptors$2, H extends Host$2<any> | undefined, Depth extends number = 5> = {
379
+ type BuildDescriptors<T extends Descriptors, H extends Host<any> | undefined, Depth extends number = 5> = {
380
380
  done: T;
381
381
  recurse: T extends {
382
- __type: typeof SERVICE_PLUGIN_ERROR_TYPE$2;
383
- } ? never : T extends AmbassadorFunctionDescriptor$2 ? BuildAmbassadorFunction$2<T> : T extends RESTFunctionDescriptor$2 ? BuildRESTFunction$2<T> : T extends EventDefinition$2<any> ? BuildEventDefinition$2<T> : T extends ServicePluginDefinition$2<any> ? BuildServicePluginDefinition$2<T> : T extends HostModule$2<any, any> ? HostModuleAPI$2<T> : ConditionalExcept$2<{
384
- [Key in keyof T]: T[Key] extends Descriptors$2 ? BuildDescriptors$2<T[Key], H, [
382
+ __type: typeof SERVICE_PLUGIN_ERROR_TYPE;
383
+ } ? never : T extends AmbassadorFunctionDescriptor ? BuildAmbassadorFunction<T> : T extends RESTFunctionDescriptor ? BuildRESTFunction<T> : T extends EventDefinition<any> ? BuildEventDefinition<T> : T extends ServicePluginDefinition<any> ? BuildServicePluginDefinition<T> : T extends HostModule<any, any> ? HostModuleAPI<T> : ConditionalExcept<{
384
+ [Key in keyof T]: T[Key] extends Descriptors ? BuildDescriptors<T[Key], H, [
385
385
  -1,
386
386
  0,
387
387
  1,
@@ -390,9 +390,9 @@ type BuildDescriptors$2<T extends Descriptors$2, H extends Host$2<any> | undefin
390
390
  4,
391
391
  5
392
392
  ][Depth]> : never;
393
- }, EmptyObject$2>;
393
+ }, EmptyObject>;
394
394
  }[Depth extends -1 ? 'done' : 'recurse'];
395
- type PublicMetadata$2 = {
395
+ type PublicMetadata = {
396
396
  PACKAGE_NAME?: string;
397
397
  };
398
398
 
@@ -404,9 +404,9 @@ declare global {
404
404
  * A type used to create concerete types from SDK descriptors in
405
405
  * case a contextual client is available.
406
406
  */
407
- type MaybeContext$2<T extends Descriptors$2> = globalThis.ContextualClient extends {
408
- host: Host$2;
409
- } ? BuildDescriptors$2<T, globalThis.ContextualClient['host']> : T;
407
+ type MaybeContext<T extends Descriptors> = globalThis.ContextualClient extends {
408
+ host: Host;
409
+ } ? BuildDescriptors<T, globalThis.ContextualClient['host']> : T;
410
410
 
411
411
  interface Form$1 {
412
412
  /**
@@ -2652,7 +2652,8 @@ interface InputFieldArrayErrorMessages$1 {
2652
2652
  }
2653
2653
  declare enum ComponentType$1 {
2654
2654
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2655
- CHECKBOX_GROUP = "CHECKBOX_GROUP"
2655
+ CHECKBOX_GROUP = "CHECKBOX_GROUP",
2656
+ TAGS = "TAGS"
2656
2657
  }
2657
2658
  interface CheckboxGroup$1 {
2658
2659
  /** Label of the field */
@@ -2701,6 +2702,44 @@ interface CustomOption$1 {
2701
2702
  /** Placeholder of custom option input */
2702
2703
  placeholder?: string | null;
2703
2704
  }
2705
+ interface Tags$1 {
2706
+ /** Label of the field */
2707
+ label?: string | null;
2708
+ /** Description of the field */
2709
+ description?: RichContent$1;
2710
+ /** List of options to select from */
2711
+ options?: TagsOption$1[];
2712
+ /**
2713
+ * Flag identifying to hide or not label
2714
+ * Default: true
2715
+ */
2716
+ showLabel?: boolean | null;
2717
+ /** Option which can be specified by UoU, enabled when this object is specified. */
2718
+ customOption?: CommonCustomOption$1;
2719
+ /**
2720
+ * Specifies the number of columns used to display the selections within the component.
2721
+ * Default: ONE
2722
+ */
2723
+ numberOfColumns?: NumberOfColumns$1;
2724
+ }
2725
+ interface TagsOption$1 {
2726
+ /** Selectable option label */
2727
+ label?: string | null;
2728
+ /** Selectable option value, which is saved to DB. */
2729
+ value?: any;
2730
+ /** Flag identifying that option should be selected by default */
2731
+ default?: boolean;
2732
+ /** Option id. Used as binding for translations */
2733
+ _id?: string;
2734
+ /** Media item. Media, associated with option, like image. */
2735
+ media?: MediaItem$1;
2736
+ }
2737
+ interface CommonCustomOption$1 {
2738
+ /** Label of custom option input */
2739
+ label?: string | null;
2740
+ /** Placeholder of custom option input */
2741
+ placeholder?: string | null;
2742
+ }
2704
2743
  declare enum WixFileComponentType$1 {
2705
2744
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2706
2745
  FILE_UPLOAD = "FILE_UPLOAD",
@@ -2817,12 +2856,6 @@ interface DonationInputOption$1 {
2817
2856
  /** Flag identifying that option should be selected by default */
2818
2857
  default?: boolean;
2819
2858
  }
2820
- interface CommonCustomOption$1 {
2821
- /** Label of custom option input */
2822
- label?: string | null;
2823
- /** Placeholder of custom option input */
2824
- placeholder?: string | null;
2825
- }
2826
2859
  declare enum MultilineAddressComponentType$1 {
2827
2860
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2828
2861
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
@@ -3042,6 +3075,8 @@ interface _BooleanComponentTypeOptionsOneOf$1 {
3042
3075
  interface _Array$1 extends _ArrayComponentTypeOptionsOneOf$1 {
3043
3076
  /** Checkbox group input field */
3044
3077
  checkboxGroupOptions?: CheckboxGroup$1;
3078
+ /** Tags input field */
3079
+ tagsOptions?: Tags$1;
3045
3080
  /** Validation of array type. */
3046
3081
  validation?: InputFieldArrayType$1;
3047
3082
  /**
@@ -3054,6 +3089,8 @@ interface _Array$1 extends _ArrayComponentTypeOptionsOneOf$1 {
3054
3089
  interface _ArrayComponentTypeOptionsOneOf$1 {
3055
3090
  /** Checkbox group input field */
3056
3091
  checkboxGroupOptions?: CheckboxGroup$1;
3092
+ /** Tags input field */
3093
+ tagsOptions?: Tags$1;
3057
3094
  }
3058
3095
  interface _Object$1 extends _ObjectValidationOneOf$1 {
3059
3096
  /** Validation of object type. */
@@ -4398,6 +4435,16 @@ interface CheckboxGroupNonNullableFields {
4398
4435
  options: OptionNonNullableFields[];
4399
4436
  numberOfColumns: NumberOfColumns$1;
4400
4437
  }
4438
+ interface TagsOptionNonNullableFields {
4439
+ default: boolean;
4440
+ _id: string;
4441
+ media?: MediaItemNonNullableFields;
4442
+ }
4443
+ interface TagsNonNullableFields {
4444
+ description?: RichContentNonNullableFields;
4445
+ options: TagsOptionNonNullableFields[];
4446
+ numberOfColumns: NumberOfColumns$1;
4447
+ }
4401
4448
  interface ArrayTypeArrayItemsNonNullableFields {
4402
4449
  stringOptions?: InputFieldStringTypeNonNullableFields;
4403
4450
  booleanOptions?: InputFieldBooleanTypeNonNullableFields;
@@ -4408,6 +4455,7 @@ interface InputFieldArrayTypeNonNullableFields {
4408
4455
  }
4409
4456
  interface _ArrayNonNullableFields {
4410
4457
  checkboxGroupOptions?: CheckboxGroupNonNullableFields;
4458
+ tagsOptions?: TagsNonNullableFields;
4411
4459
  validation?: InputFieldArrayTypeNonNullableFields;
4412
4460
  componentType: ComponentType$1;
4413
4461
  }
@@ -4929,7 +4977,7 @@ interface UpdateExtendedFieldsOptions {
4929
4977
  namespaceData: Record<string, any> | null;
4930
4978
  }
4931
4979
 
4932
- declare function createForm$1(httpClient: HttpClient$2): CreateFormSignature;
4980
+ declare function createForm$1(httpClient: HttpClient): CreateFormSignature;
4933
4981
  interface CreateFormSignature {
4934
4982
  /**
4935
4983
  * Creates a new form.
@@ -4938,14 +4986,14 @@ interface CreateFormSignature {
4938
4986
  */
4939
4987
  (form: Form$1): Promise<Form$1 & FormNonNullableFields>;
4940
4988
  }
4941
- declare function bulkCreateForm$1(httpClient: HttpClient$2): BulkCreateFormSignature;
4989
+ declare function bulkCreateForm$1(httpClient: HttpClient): BulkCreateFormSignature;
4942
4990
  interface BulkCreateFormSignature {
4943
4991
  /**
4944
4992
  * Creates multiple new forms.
4945
4993
  */
4946
4994
  (options?: BulkCreateFormOptions | undefined): Promise<BulkCreateFormResponse & BulkCreateFormResponseNonNullableFields>;
4947
4995
  }
4948
- declare function cloneForm$1(httpClient: HttpClient$2): CloneFormSignature;
4996
+ declare function cloneForm$1(httpClient: HttpClient): CloneFormSignature;
4949
4997
  interface CloneFormSignature {
4950
4998
  /**
4951
4999
  * Clones an existing form.
@@ -4953,7 +5001,7 @@ interface CloneFormSignature {
4953
5001
  */
4954
5002
  (formId: string): Promise<CloneFormResponse & CloneFormResponseNonNullableFields>;
4955
5003
  }
4956
- declare function getForm$1(httpClient: HttpClient$2): GetFormSignature;
5004
+ declare function getForm$1(httpClient: HttpClient): GetFormSignature;
4957
5005
  interface GetFormSignature {
4958
5006
  /**
4959
5007
  * Gets a form by id.
@@ -4962,7 +5010,7 @@ interface GetFormSignature {
4962
5010
  */
4963
5011
  (formId: string, options?: GetFormOptions | undefined): Promise<Form$1 & FormNonNullableFields>;
4964
5012
  }
4965
- declare function updateForm$1(httpClient: HttpClient$2): UpdateFormSignature;
5013
+ declare function updateForm$1(httpClient: HttpClient): UpdateFormSignature;
4966
5014
  interface UpdateFormSignature {
4967
5015
  /**
4968
5016
  * Updates a form, supports partial update.
@@ -4972,7 +5020,7 @@ interface UpdateFormSignature {
4972
5020
  */
4973
5021
  (_id: string | null, form: UpdateForm): Promise<Form$1 & FormNonNullableFields>;
4974
5022
  }
4975
- declare function removeFormFromTrashBin$1(httpClient: HttpClient$2): RemoveFormFromTrashBinSignature;
5023
+ declare function removeFormFromTrashBin$1(httpClient: HttpClient): RemoveFormFromTrashBinSignature;
4976
5024
  interface RemoveFormFromTrashBinSignature {
4977
5025
  /**
4978
5026
  * Deletes a form. It is stored in trash for 90 days.
@@ -4981,7 +5029,7 @@ interface RemoveFormFromTrashBinSignature {
4981
5029
  */
4982
5030
  (formId: string): Promise<void>;
4983
5031
  }
4984
- declare function deleteForm$1(httpClient: HttpClient$2): DeleteFormSignature;
5032
+ declare function deleteForm$1(httpClient: HttpClient): DeleteFormSignature;
4985
5033
  interface DeleteFormSignature {
4986
5034
  /**
4987
5035
  * Deletes a form. It is stored in trash for 90 days.
@@ -4990,7 +5038,7 @@ interface DeleteFormSignature {
4990
5038
  */
4991
5039
  (formId: string, options?: DeleteFormOptions | undefined): Promise<void>;
4992
5040
  }
4993
- declare function restoreFromTrashBin$1(httpClient: HttpClient$2): RestoreFromTrashBinSignature;
5041
+ declare function restoreFromTrashBin$1(httpClient: HttpClient): RestoreFromTrashBinSignature;
4994
5042
  interface RestoreFromTrashBinSignature {
4995
5043
  /**
4996
5044
  * Restores a form from trash.
@@ -4998,14 +5046,14 @@ interface RestoreFromTrashBinSignature {
4998
5046
  */
4999
5047
  (formId: string): Promise<RestoreFromTrashBinResponse & RestoreFromTrashBinResponseNonNullableFields>;
5000
5048
  }
5001
- declare function queryForms$1(httpClient: HttpClient$2): QueryFormsSignature;
5049
+ declare function queryForms$1(httpClient: HttpClient): QueryFormsSignature;
5002
5050
  interface QueryFormsSignature {
5003
5051
  /**
5004
5052
  * Query forms using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
5005
5053
  */
5006
5054
  (options?: QueryFormsOptions | undefined): FormsQueryBuilder;
5007
5055
  }
5008
- declare function countForms$1(httpClient: HttpClient$2): CountFormsSignature;
5056
+ declare function countForms$1(httpClient: HttpClient): CountFormsSignature;
5009
5057
  interface CountFormsSignature {
5010
5058
  /**
5011
5059
  * Counts forms.
@@ -5013,7 +5061,7 @@ interface CountFormsSignature {
5013
5061
  */
5014
5062
  (namespace: string, options?: CountFormsOptions | undefined): Promise<CountFormsResponse & CountFormsResponseNonNullableFields>;
5015
5063
  }
5016
- declare function listForms$1(httpClient: HttpClient$2): ListFormsSignature;
5064
+ declare function listForms$1(httpClient: HttpClient): ListFormsSignature;
5017
5065
  interface ListFormsSignature {
5018
5066
  /**
5019
5067
  * Lists forms, filtered by namespace and its disabled status. If specified, sorts forms in the desired order.
@@ -5022,7 +5070,7 @@ interface ListFormsSignature {
5022
5070
  */
5023
5071
  (namespace: string, options?: ListFormsOptions | undefined): Promise<ListFormsResponse & ListFormsResponseNonNullableFields>;
5024
5072
  }
5025
- declare function getDeletedForm$1(httpClient: HttpClient$2): GetDeletedFormSignature;
5073
+ declare function getDeletedForm$1(httpClient: HttpClient): GetDeletedFormSignature;
5026
5074
  interface GetDeletedFormSignature {
5027
5075
  /**
5028
5076
  * Get a deleted Form by id
@@ -5030,7 +5078,7 @@ interface GetDeletedFormSignature {
5030
5078
  */
5031
5079
  (formId: string): Promise<GetDeletedFormResponse & GetDeletedFormResponseNonNullableFields>;
5032
5080
  }
5033
- declare function queryDeletedForms$1(httpClient: HttpClient$2): QueryDeletedFormsSignature;
5081
+ declare function queryDeletedForms$1(httpClient: HttpClient): QueryDeletedFormsSignature;
5034
5082
  interface QueryDeletedFormsSignature {
5035
5083
  /**
5036
5084
  * Query deleted Forms using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
@@ -5038,7 +5086,7 @@ interface QueryDeletedFormsSignature {
5038
5086
  */
5039
5087
  (query: CursorQuery$2): Promise<QueryDeletedFormsResponse & QueryDeletedFormsResponseNonNullableFields>;
5040
5088
  }
5041
- declare function listDeletedForms$1(httpClient: HttpClient$2): ListDeletedFormsSignature;
5089
+ declare function listDeletedForms$1(httpClient: HttpClient): ListDeletedFormsSignature;
5042
5090
  interface ListDeletedFormsSignature {
5043
5091
  /**
5044
5092
  * List deleted Forms
@@ -5046,7 +5094,7 @@ interface ListDeletedFormsSignature {
5046
5094
  */
5047
5095
  (namespace: string, options?: ListDeletedFormsOptions | undefined): Promise<ListDeletedFormsResponse & ListDeletedFormsResponseNonNullableFields>;
5048
5096
  }
5049
- declare function bulkRemoveDeletedField$1(httpClient: HttpClient$2): BulkRemoveDeletedFieldSignature;
5097
+ declare function bulkRemoveDeletedField$1(httpClient: HttpClient): BulkRemoveDeletedFieldSignature;
5050
5098
  interface BulkRemoveDeletedFieldSignature {
5051
5099
  /**
5052
5100
  * Remove delete field by its target
@@ -5054,7 +5102,7 @@ interface BulkRemoveDeletedFieldSignature {
5054
5102
  */
5055
5103
  (formId: string, options?: BulkRemoveDeletedFieldOptions | undefined): Promise<BulkRemoveDeletedFieldResponse & BulkRemoveDeletedFieldResponseNonNullableFields>;
5056
5104
  }
5057
- declare function updateExtendedFields$1(httpClient: HttpClient$2): UpdateExtendedFieldsSignature;
5105
+ declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature;
5058
5106
  interface UpdateExtendedFieldsSignature {
5059
5107
  /**
5060
5108
  * Update Extended Fields of the Form
@@ -5063,7 +5111,7 @@ interface UpdateExtendedFieldsSignature {
5063
5111
  */
5064
5112
  (_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields>;
5065
5113
  }
5066
- declare function listFormsProvidersConfigs$1(httpClient: HttpClient$2): ListFormsProvidersConfigsSignature;
5114
+ declare function listFormsProvidersConfigs$1(httpClient: HttpClient): ListFormsProvidersConfigsSignature;
5067
5115
  interface ListFormsProvidersConfigsSignature {
5068
5116
  /**
5069
5117
  * List configurations set by apps providing ability to create forms under their domain.
@@ -5071,23 +5119,23 @@ interface ListFormsProvidersConfigsSignature {
5071
5119
  (): Promise<ListFormsProvidersConfigsResponse & ListFormsProvidersConfigsResponseNonNullableFields>;
5072
5120
  }
5073
5121
 
5074
- declare const createForm: MaybeContext$2<BuildRESTFunction$2<typeof createForm$1> & typeof createForm$1>;
5075
- declare const bulkCreateForm: MaybeContext$2<BuildRESTFunction$2<typeof bulkCreateForm$1> & typeof bulkCreateForm$1>;
5076
- declare const cloneForm: MaybeContext$2<BuildRESTFunction$2<typeof cloneForm$1> & typeof cloneForm$1>;
5077
- declare const getForm: MaybeContext$2<BuildRESTFunction$2<typeof getForm$1> & typeof getForm$1>;
5078
- declare const updateForm: MaybeContext$2<BuildRESTFunction$2<typeof updateForm$1> & typeof updateForm$1>;
5079
- declare const removeFormFromTrashBin: MaybeContext$2<BuildRESTFunction$2<typeof removeFormFromTrashBin$1> & typeof removeFormFromTrashBin$1>;
5080
- declare const deleteForm: MaybeContext$2<BuildRESTFunction$2<typeof deleteForm$1> & typeof deleteForm$1>;
5081
- declare const restoreFromTrashBin: MaybeContext$2<BuildRESTFunction$2<typeof restoreFromTrashBin$1> & typeof restoreFromTrashBin$1>;
5082
- declare const queryForms: MaybeContext$2<BuildRESTFunction$2<typeof queryForms$1> & typeof queryForms$1>;
5083
- declare const countForms: MaybeContext$2<BuildRESTFunction$2<typeof countForms$1> & typeof countForms$1>;
5084
- declare const listForms: MaybeContext$2<BuildRESTFunction$2<typeof listForms$1> & typeof listForms$1>;
5085
- declare const getDeletedForm: MaybeContext$2<BuildRESTFunction$2<typeof getDeletedForm$1> & typeof getDeletedForm$1>;
5086
- declare const queryDeletedForms: MaybeContext$2<BuildRESTFunction$2<typeof queryDeletedForms$1> & typeof queryDeletedForms$1>;
5087
- declare const listDeletedForms: MaybeContext$2<BuildRESTFunction$2<typeof listDeletedForms$1> & typeof listDeletedForms$1>;
5088
- declare const bulkRemoveDeletedField: MaybeContext$2<BuildRESTFunction$2<typeof bulkRemoveDeletedField$1> & typeof bulkRemoveDeletedField$1>;
5089
- declare const updateExtendedFields: MaybeContext$2<BuildRESTFunction$2<typeof updateExtendedFields$1> & typeof updateExtendedFields$1>;
5090
- declare const listFormsProvidersConfigs: MaybeContext$2<BuildRESTFunction$2<typeof listFormsProvidersConfigs$1> & typeof listFormsProvidersConfigs$1>;
5122
+ declare const createForm: MaybeContext<BuildRESTFunction<typeof createForm$1> & typeof createForm$1>;
5123
+ declare const bulkCreateForm: MaybeContext<BuildRESTFunction<typeof bulkCreateForm$1> & typeof bulkCreateForm$1>;
5124
+ declare const cloneForm: MaybeContext<BuildRESTFunction<typeof cloneForm$1> & typeof cloneForm$1>;
5125
+ declare const getForm: MaybeContext<BuildRESTFunction<typeof getForm$1> & typeof getForm$1>;
5126
+ declare const updateForm: MaybeContext<BuildRESTFunction<typeof updateForm$1> & typeof updateForm$1>;
5127
+ declare const removeFormFromTrashBin: MaybeContext<BuildRESTFunction<typeof removeFormFromTrashBin$1> & typeof removeFormFromTrashBin$1>;
5128
+ declare const deleteForm: MaybeContext<BuildRESTFunction<typeof deleteForm$1> & typeof deleteForm$1>;
5129
+ declare const restoreFromTrashBin: MaybeContext<BuildRESTFunction<typeof restoreFromTrashBin$1> & typeof restoreFromTrashBin$1>;
5130
+ declare const queryForms: MaybeContext<BuildRESTFunction<typeof queryForms$1> & typeof queryForms$1>;
5131
+ declare const countForms: MaybeContext<BuildRESTFunction<typeof countForms$1> & typeof countForms$1>;
5132
+ declare const listForms: MaybeContext<BuildRESTFunction<typeof listForms$1> & typeof listForms$1>;
5133
+ declare const getDeletedForm: MaybeContext<BuildRESTFunction<typeof getDeletedForm$1> & typeof getDeletedForm$1>;
5134
+ declare const queryDeletedForms: MaybeContext<BuildRESTFunction<typeof queryDeletedForms$1> & typeof queryDeletedForms$1>;
5135
+ declare const listDeletedForms: MaybeContext<BuildRESTFunction<typeof listDeletedForms$1> & typeof listDeletedForms$1>;
5136
+ declare const bulkRemoveDeletedField: MaybeContext<BuildRESTFunction<typeof bulkRemoveDeletedField$1> & typeof bulkRemoveDeletedField$1>;
5137
+ declare const updateExtendedFields: MaybeContext<BuildRESTFunction<typeof updateExtendedFields$1> & typeof updateExtendedFields$1>;
5138
+ declare const listFormsProvidersConfigs: MaybeContext<BuildRESTFunction<typeof listFormsProvidersConfigs$1> & typeof listFormsProvidersConfigs$1>;
5091
5139
 
5092
5140
  type context$2_BulkCreateFormOptions = BulkCreateFormOptions;
5093
5141
  type context$2_BulkCreateFormRequest = BulkCreateFormRequest;
@@ -5184,515 +5232,105 @@ declare const context$2_restoreFromTrashBin: typeof restoreFromTrashBin;
5184
5232
  declare const context$2_updateExtendedFields: typeof updateExtendedFields;
5185
5233
  declare const context$2_updateForm: typeof updateForm;
5186
5234
  declare namespace context$2 {
5187
- export { type ActionEvent$2 as ActionEvent, type AddressInfo$1 as AddressInfo, type AddressLine2$1 as AddressLine2, Alignment$1 as Alignment, type AnchorData$1 as AnchorData, type AppEmbedData$1 as AppEmbedData, type AppEmbedDataAppDataOneOf$1 as AppEmbedDataAppDataOneOf, AppType$1 as AppType, type ApplicationError$2 as ApplicationError, type ArrayErrorMessages$1 as ArrayErrorMessages, type ArrayItems$1 as ArrayItems, type ArrayItemsItemsOneOf$1 as ArrayItemsItemsOneOf, type ArrayType$1 as ArrayType, type ArrayTypeArrayItems$1 as ArrayTypeArrayItems, type ArrayTypeArrayItemsItemTypeOptionsOneOf$1 as ArrayTypeArrayItemsItemTypeOptionsOneOf, type AudioData$1 as AudioData, type Background$1 as Background, type BackgroundBackgroundOneOf$1 as BackgroundBackgroundOneOf, BackgroundType$1 as BackgroundType, type BlockquoteData$1 as BlockquoteData, type BookingData$1 as BookingData, BooleanComponentType$1 as BooleanComponentType, type BooleanErrorMessages$1 as BooleanErrorMessages, type BooleanType$1 as BooleanType, type Border$1 as Border, type BorderColors$1 as BorderColors, type BreakPoint$1 as BreakPoint, type BulkActionMetadata$2 as BulkActionMetadata, type context$2_BulkCreateFormOptions as BulkCreateFormOptions, type context$2_BulkCreateFormRequest as BulkCreateFormRequest, type context$2_BulkCreateFormResponse as BulkCreateFormResponse, type context$2_BulkCreateFormResponseNonNullableFields as BulkCreateFormResponseNonNullableFields, type context$2_BulkFormResult as BulkFormResult, type context$2_BulkRemoveDeletedFieldOptions as BulkRemoveDeletedFieldOptions, type context$2_BulkRemoveDeletedFieldRequest as BulkRemoveDeletedFieldRequest, type context$2_BulkRemoveDeletedFieldResponse as BulkRemoveDeletedFieldResponse, type context$2_BulkRemoveDeletedFieldResponseNonNullableFields as BulkRemoveDeletedFieldResponseNonNullableFields, type BulletedListData$1 as BulletedListData, type ButtonData$1 as ButtonData, ButtonDataType$1 as ButtonDataType, type CellStyle$1 as CellStyle, type Checkbox$1 as Checkbox, type CheckboxGroup$1 as CheckboxGroup, type context$2_CloneFormRequest as CloneFormRequest, type context$2_CloneFormResponse as CloneFormResponse, type context$2_CloneFormResponseNonNullableFields as CloneFormResponseNonNullableFields, type CodeBlockData$1 as CodeBlockData, type CollapsibleListData$1 as CollapsibleListData, type ColorData$1 as ColorData, type Colors$1 as Colors, type CommonCustomOption$1 as CommonCustomOption, ComponentType$1 as ComponentType, ContactField$1 as ContactField, context$2_CountFormsFieldset as CountFormsFieldset, type context$2_CountFormsOptions as CountFormsOptions, type context$2_CountFormsRequest as CountFormsRequest, type context$2_CountFormsResponse as CountFormsResponse, type context$2_CountFormsResponseNonNullableFields as CountFormsResponseNonNullableFields, type context$2_CreateFormRequest as CreateFormRequest, type context$2_CreateFormResponse as CreateFormResponse, type context$2_CreateFormResponseNonNullableFields as CreateFormResponseNonNullableFields, Crop$1 as Crop, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type Cursors$2 as Cursors, type CustomFieldInfo$1 as CustomFieldInfo, type CustomOption$1 as CustomOption, type DataExtensionsDetails$1 as DataExtensionsDetails, type DateInput$1 as DateInput, type DateOptions$1 as DateOptions, type DatePicker$1 as DatePicker, type DatePickerOptions$1 as DatePickerOptions, type DateTimeConstraints$1 as DateTimeConstraints, type DateTimeInput$1 as DateTimeInput, type DateTimeInputDateTimeInputTypeOptionsOneOf$1 as DateTimeInputDateTimeInputTypeOptionsOneOf, DateTimeInputType$1 as DateTimeInputType, type DateTimeOptions$1 as DateTimeOptions, type Decoration$1 as Decoration, type DecorationDataOneOf$1 as DecorationDataOneOf, DecorationType$1 as DecorationType, type DefaultCountryConfig$1 as DefaultCountryConfig, type DefaultCountryConfigOptionsOneOf$1 as DefaultCountryConfigOptionsOneOf, type context$2_DeleteFormOptions as DeleteFormOptions, type context$2_DeleteFormRequest as DeleteFormRequest, type context$2_DeleteFormResponse as DeleteFormResponse, type Design$1 as Design, type Dimensions$1 as Dimensions, Direction$1 as Direction, type DisplayField$1 as DisplayField, type DisplayFieldComponentTypeOneOf$1 as DisplayFieldComponentTypeOneOf, type DividerData$1 as DividerData, type DocumentStyle$1 as DocumentStyle, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type DonationInput$1 as DonationInput, type DonationInputOption$1 as DonationInputOption, type Dropdown$1 as Dropdown, type DropdownCustomOption$1 as DropdownCustomOption, type DropdownOption$1 as DropdownOption, type DynamicPriceOptions$1 as DynamicPriceOptions, type EmailInfo$1 as EmailInfo, EmailInfoTag$1 as EmailInfoTag, type EmbedData$1 as EmbedData, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventData$1 as EventData, type ExtendedFields$2 as ExtendedFields, type FieldGroup$1 as FieldGroup, type FieldOverrides$1 as FieldOverrides, FieldType$1 as FieldType, type FieldsOverrides$1 as FieldsOverrides, type FieldsSettings$1 as FieldsSettings, context$2_Fieldset as Fieldset, type FileData$1 as FileData, type FileSource$1 as FileSource, type FileSourceDataOneOf$1 as FileSourceDataOneOf, type FileUpload$1 as FileUpload, FirstDayOfWeek$1 as FirstDayOfWeek, FirstDayOfWeekEnumFirstDayOfWeek$1 as FirstDayOfWeekEnumFirstDayOfWeek, type FixedPriceOptions$1 as FixedPriceOptions, type FontSizeData$1 as FontSizeData, FontType$1 as FontType, type Form$1 as Form, type context$2_FormChanged as FormChanged, type context$2_FormDeleted as FormDeleted, type FormField$1 as FormField, type FormFieldContactInfo$1 as FormFieldContactInfo, type FormFieldContactInfoAdditionalInfoOneOf$1 as FormFieldContactInfoAdditionalInfoOneOf, type FormFieldV2$1 as FormFieldV2, type FormFieldV2FieldTypeOptionsOneOf$1 as FormFieldV2FieldTypeOptionsOneOf, type FormLayout$1 as FormLayout, type context$2_FormNonNullableFields as FormNonNullableFields, type FormOverride$1 as FormOverride, type FormProperties$1 as FormProperties, type context$2_FormProviderRestrictions as FormProviderRestrictions, type FormRule$1 as FormRule, Format$1 as Format, FormatEnumFormat$1 as FormatEnumFormat, type context$2_FormsQueryBuilder as FormsQueryBuilder, type context$2_FormsQueryResult as FormsQueryResult, type context$2_FormsSchemaProvidersConfig as FormsSchemaProvidersConfig, type GIF$1 as GIF, type GIFData$1 as GIFData, type GalleryData$1 as GalleryData, type GalleryOptions$1 as GalleryOptions, type context$2_GetDeletedFormRequest as GetDeletedFormRequest, type context$2_GetDeletedFormResponse as GetDeletedFormResponse, type context$2_GetDeletedFormResponseNonNullableFields as GetDeletedFormResponseNonNullableFields, type context$2_GetFormOptions as GetFormOptions, type context$2_GetFormRequest as GetFormRequest, type context$2_GetFormResponse as GetFormResponse, type context$2_GetFormResponseNonNullableFields as GetFormResponseNonNullableFields, type Gradient$1 as Gradient, type Group$1 as Group, type HTMLData$1 as HTMLData, type HTMLDataDataOneOf$1 as HTMLDataDataOneOf, type Header$1 as Header, type HeadingData$1 as HeadingData, type Height$1 as Height, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type Image$1 as Image, type ImageData$1 as ImageData, ImageFit$1 as ImageFit, InitialExpandedItems$1 as InitialExpandedItems, type InputField$1 as InputField, type InputFieldArrayErrorMessages$1 as InputFieldArrayErrorMessages, type InputFieldArrayType$1 as InputFieldArrayType, type InputFieldBooleanErrorMessages$1 as InputFieldBooleanErrorMessages, type InputFieldBooleanType$1 as InputFieldBooleanType, type InputFieldInputTypeOptionsOneOf$1 as InputFieldInputTypeOptionsOneOf, type InputFieldIntegerType$1 as InputFieldIntegerType, type InputFieldMultilineAddress$1 as InputFieldMultilineAddress, type InputFieldMultilineAddressComponentTypeOptionsOneOf$1 as InputFieldMultilineAddressComponentTypeOptionsOneOf, type InputFieldNumberErrorMessages$1 as InputFieldNumberErrorMessages, type InputFieldNumberType$1 as InputFieldNumberType, type InputFieldObjectErrorMessages$1 as InputFieldObjectErrorMessages, type InputFieldObjectType$1 as InputFieldObjectType, type InputFieldStringErrorMessages$1 as InputFieldStringErrorMessages, type InputFieldStringType$1 as InputFieldStringType, type InputFieldStringTypeFormatOptionsOneOf$1 as InputFieldStringTypeFormatOptionsOneOf, InputType$1 as InputType, type IntegerType$1 as IntegerType, type Item$1 as Item, type ItemDataOneOf$1 as ItemDataOneOf, type ItemLayout$1 as ItemLayout, type ItemLayoutItemOneOf$1 as ItemLayoutItemOneOf, type ItemMetadata$2 as ItemMetadata, type ItemStyle$1 as ItemStyle, ItemType$1 as ItemType, Kind$1 as Kind, type Layout$1 as Layout, LayoutType$1 as LayoutType, type LimitationRule$1 as LimitationRule, LineStyle$1 as LineStyle, type Link$1 as Link, type LinkData$1 as LinkData, type LinkDataOneOf$1 as LinkDataOneOf, type LinkPreviewData$1 as LinkPreviewData, LinkTarget$1 as LinkTarget, type context$2_ListDeletedFormsOptions as ListDeletedFormsOptions, context$2_ListDeletedFormsOrder as ListDeletedFormsOrder, type context$2_ListDeletedFormsRequest as ListDeletedFormsRequest, type context$2_ListDeletedFormsResponse as ListDeletedFormsResponse, type context$2_ListDeletedFormsResponseNonNullableFields as ListDeletedFormsResponseNonNullableFields, type context$2_ListFormsOptions as ListFormsOptions, context$2_ListFormsOrder as ListFormsOrder, type context$2_ListFormsProvidersConfigsRequest as ListFormsProvidersConfigsRequest, type context$2_ListFormsProvidersConfigsResponse as ListFormsProvidersConfigsResponse, type context$2_ListFormsProvidersConfigsResponseNonNullableFields as ListFormsProvidersConfigsResponseNonNullableFields, type context$2_ListFormsRequest as ListFormsRequest, type context$2_ListFormsResponse as ListFormsResponse, type context$2_ListFormsResponseNonNullableFields as ListFormsResponseNonNullableFields, type ListValue$1 as ListValue, type MapData$1 as MapData, type MapSettings$1 as MapSettings, MapType$1 as MapType, type Margin$1 as Margin, type Media$1 as Media, type MediaItem$1 as MediaItem, type MediaItemMediaOneOf$1 as MediaItemMediaOneOf, type MentionData$1 as MentionData, type MessageEnvelope$2 as MessageEnvelope, type Metadata$1 as Metadata, type MultilineAddress$1 as MultilineAddress, MultilineAddressComponentType$1 as MultilineAddressComponentType, type MultilineAddressValidation$1 as MultilineAddressValidation, type NestedForm$1 as NestedForm, type NestedFormFieldOverrides$1 as NestedFormFieldOverrides, type NestedFormOverrides$1 as NestedFormOverrides, type Node$1 as Node, type NodeDataOneOf$1 as NodeDataOneOf, type NodeStyle$1 as NodeStyle, NodeType$1 as NodeType, NullValue$1 as NullValue, NumberComponentType$1 as NumberComponentType, type NumberErrorMessages$1 as NumberErrorMessages, type NumberInput$1 as NumberInput, NumberOfColumns$1 as NumberOfColumns, type NumberType$1 as NumberType, type ObjectErrorMessages$1 as ObjectErrorMessages, type ObjectType$1 as ObjectType, type ObjectTypePropertiesType$1 as ObjectTypePropertiesType, type ObjectTypePropertiesTypePropertiesTypeOptionsOneOf$1 as ObjectTypePropertiesTypePropertiesTypeOptionsOneOf, type Oembed$1 as Oembed, OptInLevel$1 as OptInLevel, type Option$1 as Option, type OptionDesign$1 as OptionDesign, type OptionLayout$1 as OptionLayout, type OrderedListData$1 as OrderedListData, Orientation$1 as Orientation, OverrideEntityType$1 as OverrideEntityType, type PDFSettings$1 as PDFSettings, type ParagraphData$1 as ParagraphData, type Payment$1 as Payment, PaymentComponentType$1 as PaymentComponentType, type PaymentComponentTypeOptionsOneOf$1 as PaymentComponentTypeOptionsOneOf, type PaymentType$1 as PaymentType, type Permissions$1 as Permissions, type PhoneConstraints$1 as PhoneConstraints, type PhoneInfo$1 as PhoneInfo, PhoneInfoTag$1 as PhoneInfoTag, type PhoneInput$1 as PhoneInput, type context$2_PiiFieldsUpdated as PiiFieldsUpdated, type PlaybackOptions$1 as PlaybackOptions, type PluginContainerData$1 as PluginContainerData, PluginContainerDataAlignment$1 as PluginContainerDataAlignment, type PluginContainerDataWidth$1 as PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf$1 as PluginContainerDataWidthDataOneOf, type Poll$1 as Poll, type PollData$1 as PollData, type PollDataLayout$1 as PollDataLayout, type PollDesign$1 as PollDesign, type PollLayout$1 as PollLayout, PollLayoutDirection$1 as PollLayoutDirection, PollLayoutType$1 as PollLayoutType, type PollOption$1 as PollOption, type PostSubmissionTriggers$1 as PostSubmissionTriggers, type PredefinedValidation$1 as PredefinedValidation, type PredefinedValidationFormatOptionsOneOf$1 as PredefinedValidationFormatOptionsOneOf, PriceType$1 as PriceType, type Product$1 as Product, type ProductCheckboxGroup$1 as ProductCheckboxGroup, type ProductCheckboxGroupOption$1 as ProductCheckboxGroupOption, type ProductPriceOptionsOneOf$1 as ProductPriceOptionsOneOf, ProductType$1 as ProductType, type PropertiesType$1 as PropertiesType, PropertiesTypeEnum$1 as PropertiesTypeEnum, type PropertiesTypePropertiesTypeOneOf$1 as PropertiesTypePropertiesTypeOneOf, type QuantityLimit$1 as QuantityLimit, type context$2_QueryDeletedFormsRequest as QueryDeletedFormsRequest, type context$2_QueryDeletedFormsResponse as QueryDeletedFormsResponse, type context$2_QueryDeletedFormsResponseNonNullableFields as QueryDeletedFormsResponseNonNullableFields, type context$2_QueryFormsOptions as QueryFormsOptions, type context$2_QueryFormsRequest as QueryFormsRequest, type context$2_QueryFormsResponse as QueryFormsResponse, type context$2_QueryFormsResponseNonNullableFields as QueryFormsResponseNonNullableFields, type RadioGroup$1 as RadioGroup, type RadioGroupCustomOption$1 as RadioGroupCustomOption, type RadioGroupOption$1 as RadioGroupOption, type RatingInput$1 as RatingInput, type Redirect$1 as Redirect, type RedirectOptions$1 as RedirectOptions, type Rel$1 as Rel, type context$2_RemoveFormFromTrashBinRequest as RemoveFormFromTrashBinRequest, type context$2_RemoveFormFromTrashBinResponse as RemoveFormFromTrashBinResponse, RequiredIndicator$1 as RequiredIndicator, RequiredIndicatorPlacement$1 as RequiredIndicatorPlacement, type RequiredIndicatorProperties$1 as RequiredIndicatorProperties, type context$2_RestoreFromTrashBinRequest as RestoreFromTrashBinRequest, type context$2_RestoreFromTrashBinResponse as RestoreFromTrashBinResponse, type context$2_RestoreFromTrashBinResponseNonNullableFields as RestoreFromTrashBinResponseNonNullableFields, type RestoreInfo$2 as RestoreInfo, type RichContent$1 as RichContent, type RichText$1 as RichText, type Section$1 as Section, type Settings$1 as Settings, type Signature$1 as Signature, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, Source$1 as Source, SpamFilterProtectionLevel$1 as SpamFilterProtectionLevel, type Spoiler$1 as Spoiler, type SpoilerData$1 as SpoilerData, type Step$1 as Step, StringComponentType$1 as StringComponentType, type StringErrorMessages$1 as StringErrorMessages, type StringType$1 as StringType, type StringTypeDateTimeConstraints$1 as StringTypeDateTimeConstraints, type StringTypeFormatOptionsOneOf$1 as StringTypeFormatOptionsOneOf, type StringTypePhoneConstraints$1 as StringTypePhoneConstraints, type Styles$1 as Styles, type context$2_SubmissionKeysPermanentlyDeleted as SubmissionKeysPermanentlyDeleted, type SubmitButton$1 as SubmitButton, type SubmitButtonSubmitActionOneOf$1 as SubmitButtonSubmitActionOneOf, type SubmitSettings$1 as SubmitSettings, type SubmitSettingsSubmitSuccessActionOptionsOneOf$1 as SubmitSettingsSubmitSuccessActionOptionsOneOf, SubmitSuccessAction$1 as SubmitSuccessAction, type SubscriptionInfo$1 as SubscriptionInfo, type TableCellData$1 as TableCellData, type TableData$1 as TableData, Tag$1 as Tag, Target$1 as Target, TextAlignment$1 as TextAlignment, type TextData$1 as TextData, type TextInput$1 as TextInput, type TextNodeStyle$1 as TextNodeStyle, type TextStyle$1 as TextStyle, type ThankYouMessage$1 as ThankYouMessage, type ThankYouMessageOptions$1 as ThankYouMessageOptions, type Thumbnails$1 as Thumbnails, ThumbnailsAlignment$1 as ThumbnailsAlignment, type TimeInput$1 as TimeInput, type TimeOptions$1 as TimeOptions, Type$1 as Type, type context$2_UpdateExtendedFieldsOptions as UpdateExtendedFieldsOptions, type context$2_UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest, type context$2_UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse, type context$2_UpdateExtendedFieldsResponseNonNullableFields as UpdateExtendedFieldsResponseNonNullableFields, type context$2_UpdateForm as UpdateForm, type context$2_UpdateFormRequest as UpdateFormRequest, type context$2_UpdateFormResponse as UpdateFormResponse, type context$2_UpdateFormResponseNonNullableFields as UpdateFormResponseNonNullableFields, UploadFileFormat$1 as UploadFileFormat, type UpsertContact$1 as UpsertContact, UrlTargetEnumTarget$1 as UrlTargetEnumTarget, type Validation$1 as Validation, ValidationFormat$1 as ValidationFormat, type ValidationValidationOneOf$1 as ValidationValidationOneOf, VerticalAlignment$1 as VerticalAlignment, type Video$1 as Video, type VideoData$1 as VideoData, ViewMode$1 as ViewMode, ViewRole$1 as ViewRole, VoteRole$1 as VoteRole, WebhookIdentityType$2 as WebhookIdentityType, Width$1 as Width, WidthType$1 as WidthType, type WixFile$1 as WixFile, WixFileComponentType$1 as WixFileComponentType, type WixFileComponentTypeOptionsOneOf$1 as WixFileComponentTypeOptionsOneOf, type _Array$1 as _Array, type _ArrayComponentTypeOptionsOneOf$1 as _ArrayComponentTypeOptionsOneOf, type _Boolean$1 as _Boolean, type _BooleanComponentTypeOptionsOneOf$1 as _BooleanComponentTypeOptionsOneOf, type _Number$1 as _Number, type _NumberComponentTypeOptionsOneOf$1 as _NumberComponentTypeOptionsOneOf, type _Object$1 as _Object, type _ObjectValidationOneOf$1 as _ObjectValidationOneOf, type _String$1 as _String, type _StringComponentTypeOptionsOneOf$1 as _StringComponentTypeOptionsOneOf, context$2_bulkCreateForm as bulkCreateForm, context$2_bulkRemoveDeletedField as bulkRemoveDeletedField, context$2_cloneForm as cloneForm, context$2_countForms as countForms, context$2_createForm as createForm, context$2_deleteForm as deleteForm, context$2_getDeletedForm as getDeletedForm, context$2_getForm as getForm, context$2_listDeletedForms as listDeletedForms, context$2_listForms as listForms, context$2_listFormsProvidersConfigs as listFormsProvidersConfigs, context$2_queryDeletedForms as queryDeletedForms, context$2_queryForms as queryForms, context$2_removeFormFromTrashBin as removeFormFromTrashBin, context$2_restoreFromTrashBin as restoreFromTrashBin, context$2_updateExtendedFields as updateExtendedFields, context$2_updateForm as updateForm };
5235
+ export { type ActionEvent$2 as ActionEvent, type AddressInfo$1 as AddressInfo, type AddressLine2$1 as AddressLine2, Alignment$1 as Alignment, type AnchorData$1 as AnchorData, type AppEmbedData$1 as AppEmbedData, type AppEmbedDataAppDataOneOf$1 as AppEmbedDataAppDataOneOf, AppType$1 as AppType, type ApplicationError$2 as ApplicationError, type ArrayErrorMessages$1 as ArrayErrorMessages, type ArrayItems$1 as ArrayItems, type ArrayItemsItemsOneOf$1 as ArrayItemsItemsOneOf, type ArrayType$1 as ArrayType, type ArrayTypeArrayItems$1 as ArrayTypeArrayItems, type ArrayTypeArrayItemsItemTypeOptionsOneOf$1 as ArrayTypeArrayItemsItemTypeOptionsOneOf, type AudioData$1 as AudioData, type Background$1 as Background, type BackgroundBackgroundOneOf$1 as BackgroundBackgroundOneOf, BackgroundType$1 as BackgroundType, type BlockquoteData$1 as BlockquoteData, type BookingData$1 as BookingData, BooleanComponentType$1 as BooleanComponentType, type BooleanErrorMessages$1 as BooleanErrorMessages, type BooleanType$1 as BooleanType, type Border$1 as Border, type BorderColors$1 as BorderColors, type BreakPoint$1 as BreakPoint, type BulkActionMetadata$2 as BulkActionMetadata, type context$2_BulkCreateFormOptions as BulkCreateFormOptions, type context$2_BulkCreateFormRequest as BulkCreateFormRequest, type context$2_BulkCreateFormResponse as BulkCreateFormResponse, type context$2_BulkCreateFormResponseNonNullableFields as BulkCreateFormResponseNonNullableFields, type context$2_BulkFormResult as BulkFormResult, type context$2_BulkRemoveDeletedFieldOptions as BulkRemoveDeletedFieldOptions, type context$2_BulkRemoveDeletedFieldRequest as BulkRemoveDeletedFieldRequest, type context$2_BulkRemoveDeletedFieldResponse as BulkRemoveDeletedFieldResponse, type context$2_BulkRemoveDeletedFieldResponseNonNullableFields as BulkRemoveDeletedFieldResponseNonNullableFields, type BulletedListData$1 as BulletedListData, type ButtonData$1 as ButtonData, ButtonDataType$1 as ButtonDataType, type CellStyle$1 as CellStyle, type Checkbox$1 as Checkbox, type CheckboxGroup$1 as CheckboxGroup, type context$2_CloneFormRequest as CloneFormRequest, type context$2_CloneFormResponse as CloneFormResponse, type context$2_CloneFormResponseNonNullableFields as CloneFormResponseNonNullableFields, type CodeBlockData$1 as CodeBlockData, type CollapsibleListData$1 as CollapsibleListData, type ColorData$1 as ColorData, type Colors$1 as Colors, type CommonCustomOption$1 as CommonCustomOption, ComponentType$1 as ComponentType, ContactField$1 as ContactField, context$2_CountFormsFieldset as CountFormsFieldset, type context$2_CountFormsOptions as CountFormsOptions, type context$2_CountFormsRequest as CountFormsRequest, type context$2_CountFormsResponse as CountFormsResponse, type context$2_CountFormsResponseNonNullableFields as CountFormsResponseNonNullableFields, type context$2_CreateFormRequest as CreateFormRequest, type context$2_CreateFormResponse as CreateFormResponse, type context$2_CreateFormResponseNonNullableFields as CreateFormResponseNonNullableFields, Crop$1 as Crop, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type Cursors$2 as Cursors, type CustomFieldInfo$1 as CustomFieldInfo, type CustomOption$1 as CustomOption, type DataExtensionsDetails$1 as DataExtensionsDetails, type DateInput$1 as DateInput, type DateOptions$1 as DateOptions, type DatePicker$1 as DatePicker, type DatePickerOptions$1 as DatePickerOptions, type DateTimeConstraints$1 as DateTimeConstraints, type DateTimeInput$1 as DateTimeInput, type DateTimeInputDateTimeInputTypeOptionsOneOf$1 as DateTimeInputDateTimeInputTypeOptionsOneOf, DateTimeInputType$1 as DateTimeInputType, type DateTimeOptions$1 as DateTimeOptions, type Decoration$1 as Decoration, type DecorationDataOneOf$1 as DecorationDataOneOf, DecorationType$1 as DecorationType, type DefaultCountryConfig$1 as DefaultCountryConfig, type DefaultCountryConfigOptionsOneOf$1 as DefaultCountryConfigOptionsOneOf, type context$2_DeleteFormOptions as DeleteFormOptions, type context$2_DeleteFormRequest as DeleteFormRequest, type context$2_DeleteFormResponse as DeleteFormResponse, type Design$1 as Design, type Dimensions$1 as Dimensions, Direction$1 as Direction, type DisplayField$1 as DisplayField, type DisplayFieldComponentTypeOneOf$1 as DisplayFieldComponentTypeOneOf, type DividerData$1 as DividerData, type DocumentStyle$1 as DocumentStyle, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type DonationInput$1 as DonationInput, type DonationInputOption$1 as DonationInputOption, type Dropdown$1 as Dropdown, type DropdownCustomOption$1 as DropdownCustomOption, type DropdownOption$1 as DropdownOption, type DynamicPriceOptions$1 as DynamicPriceOptions, type EmailInfo$1 as EmailInfo, EmailInfoTag$1 as EmailInfoTag, type EmbedData$1 as EmbedData, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventData$1 as EventData, type ExtendedFields$2 as ExtendedFields, type FieldGroup$1 as FieldGroup, type FieldOverrides$1 as FieldOverrides, FieldType$1 as FieldType, type FieldsOverrides$1 as FieldsOverrides, type FieldsSettings$1 as FieldsSettings, context$2_Fieldset as Fieldset, type FileData$1 as FileData, type FileSource$1 as FileSource, type FileSourceDataOneOf$1 as FileSourceDataOneOf, type FileUpload$1 as FileUpload, FirstDayOfWeek$1 as FirstDayOfWeek, FirstDayOfWeekEnumFirstDayOfWeek$1 as FirstDayOfWeekEnumFirstDayOfWeek, type FixedPriceOptions$1 as FixedPriceOptions, type FontSizeData$1 as FontSizeData, FontType$1 as FontType, type Form$1 as Form, type context$2_FormChanged as FormChanged, type context$2_FormDeleted as FormDeleted, type FormField$1 as FormField, type FormFieldContactInfo$1 as FormFieldContactInfo, type FormFieldContactInfoAdditionalInfoOneOf$1 as FormFieldContactInfoAdditionalInfoOneOf, type FormFieldV2$1 as FormFieldV2, type FormFieldV2FieldTypeOptionsOneOf$1 as FormFieldV2FieldTypeOptionsOneOf, type FormLayout$1 as FormLayout, type context$2_FormNonNullableFields as FormNonNullableFields, type FormOverride$1 as FormOverride, type FormProperties$1 as FormProperties, type context$2_FormProviderRestrictions as FormProviderRestrictions, type FormRule$1 as FormRule, Format$1 as Format, FormatEnumFormat$1 as FormatEnumFormat, type context$2_FormsQueryBuilder as FormsQueryBuilder, type context$2_FormsQueryResult as FormsQueryResult, type context$2_FormsSchemaProvidersConfig as FormsSchemaProvidersConfig, type GIF$1 as GIF, type GIFData$1 as GIFData, type GalleryData$1 as GalleryData, type GalleryOptions$1 as GalleryOptions, type context$2_GetDeletedFormRequest as GetDeletedFormRequest, type context$2_GetDeletedFormResponse as GetDeletedFormResponse, type context$2_GetDeletedFormResponseNonNullableFields as GetDeletedFormResponseNonNullableFields, type context$2_GetFormOptions as GetFormOptions, type context$2_GetFormRequest as GetFormRequest, type context$2_GetFormResponse as GetFormResponse, type context$2_GetFormResponseNonNullableFields as GetFormResponseNonNullableFields, type Gradient$1 as Gradient, type Group$1 as Group, type HTMLData$1 as HTMLData, type HTMLDataDataOneOf$1 as HTMLDataDataOneOf, type Header$1 as Header, type HeadingData$1 as HeadingData, type Height$1 as Height, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type Image$1 as Image, type ImageData$1 as ImageData, ImageFit$1 as ImageFit, InitialExpandedItems$1 as InitialExpandedItems, type InputField$1 as InputField, type InputFieldArrayErrorMessages$1 as InputFieldArrayErrorMessages, type InputFieldArrayType$1 as InputFieldArrayType, type InputFieldBooleanErrorMessages$1 as InputFieldBooleanErrorMessages, type InputFieldBooleanType$1 as InputFieldBooleanType, type InputFieldInputTypeOptionsOneOf$1 as InputFieldInputTypeOptionsOneOf, type InputFieldIntegerType$1 as InputFieldIntegerType, type InputFieldMultilineAddress$1 as InputFieldMultilineAddress, type InputFieldMultilineAddressComponentTypeOptionsOneOf$1 as InputFieldMultilineAddressComponentTypeOptionsOneOf, type InputFieldNumberErrorMessages$1 as InputFieldNumberErrorMessages, type InputFieldNumberType$1 as InputFieldNumberType, type InputFieldObjectErrorMessages$1 as InputFieldObjectErrorMessages, type InputFieldObjectType$1 as InputFieldObjectType, type InputFieldStringErrorMessages$1 as InputFieldStringErrorMessages, type InputFieldStringType$1 as InputFieldStringType, type InputFieldStringTypeFormatOptionsOneOf$1 as InputFieldStringTypeFormatOptionsOneOf, InputType$1 as InputType, type IntegerType$1 as IntegerType, type Item$1 as Item, type ItemDataOneOf$1 as ItemDataOneOf, type ItemLayout$1 as ItemLayout, type ItemLayoutItemOneOf$1 as ItemLayoutItemOneOf, type ItemMetadata$2 as ItemMetadata, type ItemStyle$1 as ItemStyle, ItemType$1 as ItemType, Kind$1 as Kind, type Layout$1 as Layout, LayoutType$1 as LayoutType, type LimitationRule$1 as LimitationRule, LineStyle$1 as LineStyle, type Link$1 as Link, type LinkData$1 as LinkData, type LinkDataOneOf$1 as LinkDataOneOf, type LinkPreviewData$1 as LinkPreviewData, LinkTarget$1 as LinkTarget, type context$2_ListDeletedFormsOptions as ListDeletedFormsOptions, context$2_ListDeletedFormsOrder as ListDeletedFormsOrder, type context$2_ListDeletedFormsRequest as ListDeletedFormsRequest, type context$2_ListDeletedFormsResponse as ListDeletedFormsResponse, type context$2_ListDeletedFormsResponseNonNullableFields as ListDeletedFormsResponseNonNullableFields, type context$2_ListFormsOptions as ListFormsOptions, context$2_ListFormsOrder as ListFormsOrder, type context$2_ListFormsProvidersConfigsRequest as ListFormsProvidersConfigsRequest, type context$2_ListFormsProvidersConfigsResponse as ListFormsProvidersConfigsResponse, type context$2_ListFormsProvidersConfigsResponseNonNullableFields as ListFormsProvidersConfigsResponseNonNullableFields, type context$2_ListFormsRequest as ListFormsRequest, type context$2_ListFormsResponse as ListFormsResponse, type context$2_ListFormsResponseNonNullableFields as ListFormsResponseNonNullableFields, type ListValue$1 as ListValue, type MapData$1 as MapData, type MapSettings$1 as MapSettings, MapType$1 as MapType, type Margin$1 as Margin, type Media$1 as Media, type MediaItem$1 as MediaItem, type MediaItemMediaOneOf$1 as MediaItemMediaOneOf, type MentionData$1 as MentionData, type MessageEnvelope$2 as MessageEnvelope, type Metadata$1 as Metadata, type MultilineAddress$1 as MultilineAddress, MultilineAddressComponentType$1 as MultilineAddressComponentType, type MultilineAddressValidation$1 as MultilineAddressValidation, type NestedForm$1 as NestedForm, type NestedFormFieldOverrides$1 as NestedFormFieldOverrides, type NestedFormOverrides$1 as NestedFormOverrides, type Node$1 as Node, type NodeDataOneOf$1 as NodeDataOneOf, type NodeStyle$1 as NodeStyle, NodeType$1 as NodeType, NullValue$1 as NullValue, NumberComponentType$1 as NumberComponentType, type NumberErrorMessages$1 as NumberErrorMessages, type NumberInput$1 as NumberInput, NumberOfColumns$1 as NumberOfColumns, type NumberType$1 as NumberType, type ObjectErrorMessages$1 as ObjectErrorMessages, type ObjectType$1 as ObjectType, type ObjectTypePropertiesType$1 as ObjectTypePropertiesType, type ObjectTypePropertiesTypePropertiesTypeOptionsOneOf$1 as ObjectTypePropertiesTypePropertiesTypeOptionsOneOf, type Oembed$1 as Oembed, OptInLevel$1 as OptInLevel, type Option$1 as Option, type OptionDesign$1 as OptionDesign, type OptionLayout$1 as OptionLayout, type OrderedListData$1 as OrderedListData, Orientation$1 as Orientation, OverrideEntityType$1 as OverrideEntityType, type PDFSettings$1 as PDFSettings, type ParagraphData$1 as ParagraphData, type Payment$1 as Payment, PaymentComponentType$1 as PaymentComponentType, type PaymentComponentTypeOptionsOneOf$1 as PaymentComponentTypeOptionsOneOf, type PaymentType$1 as PaymentType, type Permissions$1 as Permissions, type PhoneConstraints$1 as PhoneConstraints, type PhoneInfo$1 as PhoneInfo, PhoneInfoTag$1 as PhoneInfoTag, type PhoneInput$1 as PhoneInput, type context$2_PiiFieldsUpdated as PiiFieldsUpdated, type PlaybackOptions$1 as PlaybackOptions, type PluginContainerData$1 as PluginContainerData, PluginContainerDataAlignment$1 as PluginContainerDataAlignment, type PluginContainerDataWidth$1 as PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf$1 as PluginContainerDataWidthDataOneOf, type Poll$1 as Poll, type PollData$1 as PollData, type PollDataLayout$1 as PollDataLayout, type PollDesign$1 as PollDesign, type PollLayout$1 as PollLayout, PollLayoutDirection$1 as PollLayoutDirection, PollLayoutType$1 as PollLayoutType, type PollOption$1 as PollOption, type PostSubmissionTriggers$1 as PostSubmissionTriggers, type PredefinedValidation$1 as PredefinedValidation, type PredefinedValidationFormatOptionsOneOf$1 as PredefinedValidationFormatOptionsOneOf, PriceType$1 as PriceType, type Product$1 as Product, type ProductCheckboxGroup$1 as ProductCheckboxGroup, type ProductCheckboxGroupOption$1 as ProductCheckboxGroupOption, type ProductPriceOptionsOneOf$1 as ProductPriceOptionsOneOf, ProductType$1 as ProductType, type PropertiesType$1 as PropertiesType, PropertiesTypeEnum$1 as PropertiesTypeEnum, type PropertiesTypePropertiesTypeOneOf$1 as PropertiesTypePropertiesTypeOneOf, type QuantityLimit$1 as QuantityLimit, type context$2_QueryDeletedFormsRequest as QueryDeletedFormsRequest, type context$2_QueryDeletedFormsResponse as QueryDeletedFormsResponse, type context$2_QueryDeletedFormsResponseNonNullableFields as QueryDeletedFormsResponseNonNullableFields, type context$2_QueryFormsOptions as QueryFormsOptions, type context$2_QueryFormsRequest as QueryFormsRequest, type context$2_QueryFormsResponse as QueryFormsResponse, type context$2_QueryFormsResponseNonNullableFields as QueryFormsResponseNonNullableFields, type RadioGroup$1 as RadioGroup, type RadioGroupCustomOption$1 as RadioGroupCustomOption, type RadioGroupOption$1 as RadioGroupOption, type RatingInput$1 as RatingInput, type Redirect$1 as Redirect, type RedirectOptions$1 as RedirectOptions, type Rel$1 as Rel, type context$2_RemoveFormFromTrashBinRequest as RemoveFormFromTrashBinRequest, type context$2_RemoveFormFromTrashBinResponse as RemoveFormFromTrashBinResponse, RequiredIndicator$1 as RequiredIndicator, RequiredIndicatorPlacement$1 as RequiredIndicatorPlacement, type RequiredIndicatorProperties$1 as RequiredIndicatorProperties, type context$2_RestoreFromTrashBinRequest as RestoreFromTrashBinRequest, type context$2_RestoreFromTrashBinResponse as RestoreFromTrashBinResponse, type context$2_RestoreFromTrashBinResponseNonNullableFields as RestoreFromTrashBinResponseNonNullableFields, type RestoreInfo$2 as RestoreInfo, type RichContent$1 as RichContent, type RichText$1 as RichText, type Section$1 as Section, type Settings$1 as Settings, type Signature$1 as Signature, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, Source$1 as Source, SpamFilterProtectionLevel$1 as SpamFilterProtectionLevel, type Spoiler$1 as Spoiler, type SpoilerData$1 as SpoilerData, type Step$1 as Step, StringComponentType$1 as StringComponentType, type StringErrorMessages$1 as StringErrorMessages, type StringType$1 as StringType, type StringTypeDateTimeConstraints$1 as StringTypeDateTimeConstraints, type StringTypeFormatOptionsOneOf$1 as StringTypeFormatOptionsOneOf, type StringTypePhoneConstraints$1 as StringTypePhoneConstraints, type Styles$1 as Styles, type context$2_SubmissionKeysPermanentlyDeleted as SubmissionKeysPermanentlyDeleted, type SubmitButton$1 as SubmitButton, type SubmitButtonSubmitActionOneOf$1 as SubmitButtonSubmitActionOneOf, type SubmitSettings$1 as SubmitSettings, type SubmitSettingsSubmitSuccessActionOptionsOneOf$1 as SubmitSettingsSubmitSuccessActionOptionsOneOf, SubmitSuccessAction$1 as SubmitSuccessAction, type SubscriptionInfo$1 as SubscriptionInfo, type TableCellData$1 as TableCellData, type TableData$1 as TableData, Tag$1 as Tag, type Tags$1 as Tags, type TagsOption$1 as TagsOption, Target$1 as Target, TextAlignment$1 as TextAlignment, type TextData$1 as TextData, type TextInput$1 as TextInput, type TextNodeStyle$1 as TextNodeStyle, type TextStyle$1 as TextStyle, type ThankYouMessage$1 as ThankYouMessage, type ThankYouMessageOptions$1 as ThankYouMessageOptions, type Thumbnails$1 as Thumbnails, ThumbnailsAlignment$1 as ThumbnailsAlignment, type TimeInput$1 as TimeInput, type TimeOptions$1 as TimeOptions, Type$1 as Type, type context$2_UpdateExtendedFieldsOptions as UpdateExtendedFieldsOptions, type context$2_UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest, type context$2_UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse, type context$2_UpdateExtendedFieldsResponseNonNullableFields as UpdateExtendedFieldsResponseNonNullableFields, type context$2_UpdateForm as UpdateForm, type context$2_UpdateFormRequest as UpdateFormRequest, type context$2_UpdateFormResponse as UpdateFormResponse, type context$2_UpdateFormResponseNonNullableFields as UpdateFormResponseNonNullableFields, UploadFileFormat$1 as UploadFileFormat, type UpsertContact$1 as UpsertContact, UrlTargetEnumTarget$1 as UrlTargetEnumTarget, type Validation$1 as Validation, ValidationFormat$1 as ValidationFormat, type ValidationValidationOneOf$1 as ValidationValidationOneOf, VerticalAlignment$1 as VerticalAlignment, type Video$1 as Video, type VideoData$1 as VideoData, ViewMode$1 as ViewMode, ViewRole$1 as ViewRole, VoteRole$1 as VoteRole, WebhookIdentityType$2 as WebhookIdentityType, Width$1 as Width, WidthType$1 as WidthType, type WixFile$1 as WixFile, WixFileComponentType$1 as WixFileComponentType, type WixFileComponentTypeOptionsOneOf$1 as WixFileComponentTypeOptionsOneOf, type _Array$1 as _Array, type _ArrayComponentTypeOptionsOneOf$1 as _ArrayComponentTypeOptionsOneOf, type _Boolean$1 as _Boolean, type _BooleanComponentTypeOptionsOneOf$1 as _BooleanComponentTypeOptionsOneOf, type _Number$1 as _Number, type _NumberComponentTypeOptionsOneOf$1 as _NumberComponentTypeOptionsOneOf, type _Object$1 as _Object, type _ObjectValidationOneOf$1 as _ObjectValidationOneOf, type _String$1 as _String, type _StringComponentTypeOptionsOneOf$1 as _StringComponentTypeOptionsOneOf, context$2_bulkCreateForm as bulkCreateForm, context$2_bulkRemoveDeletedField as bulkRemoveDeletedField, context$2_cloneForm as cloneForm, context$2_countForms as countForms, context$2_createForm as createForm, context$2_deleteForm as deleteForm, context$2_getDeletedForm as getDeletedForm, context$2_getForm as getForm, context$2_listDeletedForms as listDeletedForms, context$2_listForms as listForms, context$2_listFormsProvidersConfigs as listFormsProvidersConfigs, context$2_queryDeletedForms as queryDeletedForms, context$2_queryForms as queryForms, context$2_removeFormFromTrashBin as removeFormFromTrashBin, context$2_restoreFromTrashBin as restoreFromTrashBin, context$2_updateExtendedFields as updateExtendedFields, context$2_updateForm as updateForm };
5188
5236
  }
5189
5237
 
5190
- type HostModule$1<T, H extends Host$1> = {
5191
- __type: 'host';
5192
- create(host: H): T;
5193
- };
5194
- type HostModuleAPI$1<T extends HostModule$1<any, any>> = T extends HostModule$1<infer U, any> ? U : never;
5195
- type Host$1<Environment = unknown> = {
5196
- channel: {
5197
- observeState(callback: (props: unknown, environment: Environment) => unknown): {
5198
- disconnect: () => void;
5199
- } | Promise<{
5200
- disconnect: () => void;
5201
- }>;
5202
- };
5203
- environment?: Environment;
5238
+ /**
5239
+ * FormSpamSubmissionReportReport stores a form submission spam report.
5240
+ * It contains submission details as well as report reason.
5241
+ */
5242
+ interface FormSpamSubmissionReport {
5204
5243
  /**
5205
- * Optional bast url to use for API requests, for example `www.wixapis.com`
5244
+ * Form spam submission report id.
5245
+ * @readonly
5206
5246
  */
5207
- apiBaseUrl?: string;
5247
+ _id?: string | null;
5248
+ /** Id of a form to which the form spam submission report belongs. */
5249
+ formId?: string;
5208
5250
  /**
5209
- * Possible data to be provided by every host, for cross cutting concerns
5210
- * like internationalization, billing, etc.
5251
+ * Form namespace to which the form spam submission report belongs.
5252
+ * @readonly
5211
5253
  */
5212
- essentials?: {
5213
- /**
5214
- * The language of the currently viewed session
5215
- */
5216
- language?: string;
5217
- /**
5218
- * The locale of the currently viewed session
5219
- */
5220
- locale?: string;
5221
- /**
5222
- * Any headers that should be passed through to the API requests
5223
- */
5224
- passThroughHeaders?: Record<string, string>;
5225
- };
5226
- };
5227
-
5228
- type RESTFunctionDescriptor$1<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient$1) => T;
5229
- interface HttpClient$1 {
5230
- request<TResponse, TData = any>(req: RequestOptionsFactory$1<TResponse, TData>): Promise<HttpResponse$1<TResponse>>;
5231
- fetchWithAuth: typeof fetch;
5232
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
5233
- getActiveToken?: () => string | undefined;
5254
+ namespace?: string;
5255
+ /** Form submission submitter id. */
5256
+ submitter?: Submitter$1;
5257
+ /** Submission values where key is a target of a form field and value is a submissions for the given field. */
5258
+ submissions?: Record<string, any>;
5259
+ /** Identifies the reason why the submission was reported as spam. */
5260
+ reportReason?: ReportReason;
5261
+ /** Date of submission creation. If a submission was created in the past, pass the original submission creation date. */
5262
+ _createdDate?: Date;
5263
+ /**
5264
+ * Date of form spam submission report creation.
5265
+ * @readonly
5266
+ */
5267
+ reportedDate?: Date;
5268
+ /**
5269
+ * Date of last update.
5270
+ * @readonly
5271
+ */
5272
+ _updatedDate?: Date;
5273
+ /**
5274
+ * Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision.
5275
+ * @readonly
5276
+ */
5277
+ revision?: string | null;
5278
+ /** Data extensions ExtendedFields. */
5279
+ extendedFields?: ExtendedFields$1;
5280
+ /** Last status of the submission at the time of the report */
5281
+ submissionStatusAtReport?: SubmissionStatus$1;
5282
+ /** Order details. */
5283
+ orderDetails?: OrderDetails$1;
5284
+ /**
5285
+ * Contact ID. Member who created the submission, or a mapped contact.
5286
+ * @readonly
5287
+ */
5288
+ contactId?: string | null;
5234
5289
  }
5235
- type RequestOptionsFactory$1<TResponse = any, TData = any> = (context: any) => RequestOptions$1<TResponse, TData>;
5236
- type HttpResponse$1<T = any> = {
5237
- data: T;
5238
- status: number;
5239
- statusText: string;
5240
- headers: any;
5241
- request?: any;
5242
- };
5243
- type RequestOptions$1<_TResponse = any, Data = any> = {
5244
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
5245
- url: string;
5246
- data?: Data;
5247
- params?: URLSearchParams;
5248
- } & APIMetadata$1;
5249
- type APIMetadata$1 = {
5250
- methodFqn?: string;
5251
- entityFqdn?: string;
5252
- packageName?: string;
5253
- };
5254
- type BuildRESTFunction$1<T extends RESTFunctionDescriptor$1> = T extends RESTFunctionDescriptor$1<infer U> ? U : never;
5255
- type EventDefinition$1<Payload = unknown, Type extends string = string> = {
5256
- __type: 'event-definition';
5257
- type: Type;
5258
- isDomainEvent?: boolean;
5259
- transformations?: (envelope: unknown) => Payload;
5260
- __payload: Payload;
5261
- };
5262
- declare function EventDefinition$1<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$1<Payload, Type>;
5263
- type EventHandler$1<T extends EventDefinition$1> = (payload: T['__payload']) => void | Promise<void>;
5264
- type BuildEventDefinition$1<T extends EventDefinition$1<any, string>> = (handler: EventHandler$1<T>) => void;
5265
-
5266
- type ServicePluginMethodInput$1 = {
5267
- request: any;
5268
- metadata: any;
5269
- };
5270
- type ServicePluginContract$1 = Record<string, (payload: ServicePluginMethodInput$1) => unknown | Promise<unknown>>;
5271
- type ServicePluginMethodMetadata$1 = {
5272
- name: string;
5273
- primaryHttpMappingPath: string;
5274
- transformations: {
5275
- fromREST: (...args: unknown[]) => ServicePluginMethodInput$1;
5276
- toREST: (...args: unknown[]) => unknown;
5277
- };
5278
- };
5279
- type ServicePluginDefinition$1<Contract extends ServicePluginContract$1> = {
5280
- __type: 'service-plugin-definition';
5281
- componentType: string;
5282
- methods: ServicePluginMethodMetadata$1[];
5283
- __contract: Contract;
5284
- };
5285
- declare function ServicePluginDefinition$1<Contract extends ServicePluginContract$1>(componentType: string, methods: ServicePluginMethodMetadata$1[]): ServicePluginDefinition$1<Contract>;
5286
- type BuildServicePluginDefinition$1<T extends ServicePluginDefinition$1<any>> = (implementation: T['__contract']) => void;
5287
- declare const SERVICE_PLUGIN_ERROR_TYPE$1 = "wix_spi_error";
5288
-
5289
- type RequestContext$1 = {
5290
- isSSR: boolean;
5291
- host: string;
5292
- protocol?: string;
5293
- };
5294
- type ResponseTransformer$1 = (data: any, headers?: any) => any;
5295
- /**
5296
- * Ambassador request options types are copied mostly from AxiosRequestConfig.
5297
- * They are copied and not imported to reduce the amount of dependencies (to reduce install time).
5298
- * https://github.com/axios/axios/blob/3f53eb6960f05a1f88409c4b731a40de595cb825/index.d.ts#L307-L315
5299
- */
5300
- type Method$1 = 'get' | 'GET' | 'delete' | 'DELETE' | 'head' | 'HEAD' | 'options' | 'OPTIONS' | 'post' | 'POST' | 'put' | 'PUT' | 'patch' | 'PATCH' | 'purge' | 'PURGE' | 'link' | 'LINK' | 'unlink' | 'UNLINK';
5301
- type AmbassadorRequestOptions$1<T = any> = {
5302
- _?: T;
5303
- url?: string;
5304
- method?: Method$1;
5305
- params?: any;
5306
- data?: any;
5307
- transformResponse?: ResponseTransformer$1 | ResponseTransformer$1[];
5308
- };
5309
- type AmbassadorFactory$1<Request, Response> = (payload: Request) => ((context: RequestContext$1) => AmbassadorRequestOptions$1<Response>) & {
5310
- __isAmbassador: boolean;
5311
- };
5312
- type AmbassadorFunctionDescriptor$1<Request = any, Response = any> = AmbassadorFactory$1<Request, Response>;
5313
- type BuildAmbassadorFunction$1<T extends AmbassadorFunctionDescriptor$1> = T extends AmbassadorFunctionDescriptor$1<infer Request, infer Response> ? (req: Request) => Promise<Response> : never;
5314
-
5315
- declare global {
5316
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
5317
- interface SymbolConstructor {
5318
- readonly observable: symbol;
5319
- }
5290
+ interface Submitter$1 extends SubmitterSubmitterOneOf$1 {
5291
+ /** Member ID. */
5292
+ memberId?: string | null;
5293
+ /** Visitor ID. */
5294
+ visitorId?: string | null;
5295
+ /** Application ID. */
5296
+ applicationId?: string | null;
5297
+ /** User ID. */
5298
+ userId?: string | null;
5320
5299
  }
5321
-
5322
- declare const emptyObjectSymbol$1: unique symbol;
5323
-
5324
- /**
5325
- Represents a strictly empty plain object, the `{}` value.
5326
-
5327
- When you annotate something as the type `{}`, it can be anything except `null` and `undefined`. This means that you cannot use `{}` to represent an empty plain object ([read more](https://stackoverflow.com/questions/47339869/typescript-empty-object-and-any-difference/52193484#52193484)).
5328
-
5329
- @example
5330
- ```
5331
- import type {EmptyObject} from 'type-fest';
5332
-
5333
- // The following illustrates the problem with `{}`.
5334
- const foo1: {} = {}; // Pass
5335
- const foo2: {} = []; // Pass
5336
- const foo3: {} = 42; // Pass
5337
- const foo4: {} = {a: 1}; // Pass
5338
-
5339
- // With `EmptyObject` only the first case is valid.
5340
- const bar1: EmptyObject = {}; // Pass
5341
- const bar2: EmptyObject = 42; // Fail
5342
- const bar3: EmptyObject = []; // Fail
5343
- const bar4: EmptyObject = {a: 1}; // Fail
5344
- ```
5345
-
5346
- Unfortunately, `Record<string, never>`, `Record<keyof any, never>` and `Record<never, never>` do not work. See {@link https://github.com/sindresorhus/type-fest/issues/395 #395}.
5347
-
5348
- @category Object
5349
- */
5350
- type EmptyObject$1 = {[emptyObjectSymbol$1]?: never};
5351
-
5352
- /**
5353
- Returns a boolean for whether the two given types are equal.
5354
-
5355
- @link https://github.com/microsoft/TypeScript/issues/27024#issuecomment-421529650
5356
- @link https://stackoverflow.com/questions/68961864/how-does-the-equals-work-in-typescript/68963796#68963796
5357
-
5358
- Use-cases:
5359
- - If you want to make a conditional branch based on the result of a comparison of two types.
5360
-
5361
- @example
5362
- ```
5363
- import type {IsEqual} from 'type-fest';
5364
-
5365
- // This type returns a boolean for whether the given array includes the given item.
5366
- // `IsEqual` is used to compare the given array at position 0 and the given item and then return true if they are equal.
5367
- type Includes<Value extends readonly any[], Item> =
5368
- Value extends readonly [Value[0], ...infer rest]
5369
- ? IsEqual<Value[0], Item> extends true
5370
- ? true
5371
- : Includes<rest, Item>
5372
- : false;
5373
- ```
5374
-
5375
- @category Type Guard
5376
- @category Utilities
5377
- */
5378
- type IsEqual$1<A, B> =
5379
- (<G>() => G extends A ? 1 : 2) extends
5380
- (<G>() => G extends B ? 1 : 2)
5381
- ? true
5382
- : false;
5383
-
5384
- /**
5385
- Filter out keys from an object.
5386
-
5387
- Returns `never` if `Exclude` is strictly equal to `Key`.
5388
- Returns `never` if `Key` extends `Exclude`.
5389
- Returns `Key` otherwise.
5390
-
5391
- @example
5392
- ```
5393
- type Filtered = Filter<'foo', 'foo'>;
5394
- //=> never
5395
- ```
5396
-
5397
- @example
5398
- ```
5399
- type Filtered = Filter<'bar', string>;
5400
- //=> never
5401
- ```
5402
-
5403
- @example
5404
- ```
5405
- type Filtered = Filter<'bar', 'foo'>;
5406
- //=> 'bar'
5407
- ```
5408
-
5409
- @see {Except}
5410
- */
5411
- type Filter$1<KeyType, ExcludeType> = IsEqual$1<KeyType, ExcludeType> extends true ? never : (KeyType extends ExcludeType ? never : KeyType);
5412
-
5413
- type ExceptOptions$1 = {
5414
- /**
5415
- Disallow assigning non-specified properties.
5416
-
5417
- Note that any omitted properties in the resulting type will be present in autocomplete as `undefined`.
5418
-
5419
- @default false
5420
- */
5421
- requireExactProps?: boolean;
5422
- };
5423
-
5424
- /**
5425
- Create a type from an object type without certain keys.
5426
-
5427
- We recommend setting the `requireExactProps` option to `true`.
5428
-
5429
- This type is a stricter version of [`Omit`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#the-omit-helper-type). The `Omit` type does not restrict the omitted keys to be keys present on the given type, while `Except` does. The benefits of a stricter type are avoiding typos and allowing the compiler to pick up on rename refactors automatically.
5430
-
5431
- This type was proposed to the TypeScript team, which declined it, saying they prefer that libraries implement stricter versions of the built-in types ([microsoft/TypeScript#30825](https://github.com/microsoft/TypeScript/issues/30825#issuecomment-523668235)).
5432
-
5433
- @example
5434
- ```
5435
- import type {Except} from 'type-fest';
5436
-
5437
- type Foo = {
5438
- a: number;
5439
- b: string;
5440
- };
5441
-
5442
- type FooWithoutA = Except<Foo, 'a'>;
5443
- //=> {b: string}
5444
-
5445
- const fooWithoutA: FooWithoutA = {a: 1, b: '2'};
5446
- //=> errors: 'a' does not exist in type '{ b: string; }'
5447
-
5448
- type FooWithoutB = Except<Foo, 'b', {requireExactProps: true}>;
5449
- //=> {a: number} & Partial<Record<"b", never>>
5450
-
5451
- const fooWithoutB: FooWithoutB = {a: 1, b: '2'};
5452
- //=> errors at 'b': Type 'string' is not assignable to type 'undefined'.
5453
- ```
5454
-
5455
- @category Object
5456
- */
5457
- type Except$1<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions$1 = {requireExactProps: false}> = {
5458
- [KeyType in keyof ObjectType as Filter$1<KeyType, KeysType>]: ObjectType[KeyType];
5459
- } & (Options['requireExactProps'] extends true
5460
- ? Partial<Record<KeysType, never>>
5461
- : {});
5462
-
5463
- /**
5464
- Extract the keys from a type where the value type of the key extends the given `Condition`.
5465
-
5466
- Internally this is used for the `ConditionalPick` and `ConditionalExcept` types.
5467
-
5468
- @example
5469
- ```
5470
- import type {ConditionalKeys} from 'type-fest';
5471
-
5472
- interface Example {
5473
- a: string;
5474
- b: string | number;
5475
- c?: string;
5476
- d: {};
5300
+ /** @oneof */
5301
+ interface SubmitterSubmitterOneOf$1 {
5302
+ /** Member ID. */
5303
+ memberId?: string | null;
5304
+ /** Visitor ID. */
5305
+ visitorId?: string | null;
5306
+ /** Application ID. */
5307
+ applicationId?: string | null;
5308
+ /** User ID. */
5309
+ userId?: string | null;
5477
5310
  }
5478
-
5479
- type StringKeysOnly = ConditionalKeys<Example, string>;
5480
- //=> 'a'
5481
- ```
5482
-
5483
- To support partial types, make sure your `Condition` is a union of undefined (for example, `string | undefined`) as demonstrated below.
5484
-
5485
- @example
5486
- ```
5487
- import type {ConditionalKeys} from 'type-fest';
5488
-
5489
- type StringKeysAndUndefined = ConditionalKeys<Example, string | undefined>;
5490
- //=> 'a' | 'c'
5491
- ```
5492
-
5493
- @category Object
5494
- */
5495
- type ConditionalKeys$1<Base, Condition> = NonNullable<
5496
- // Wrap in `NonNullable` to strip away the `undefined` type from the produced union.
5497
- {
5498
- // Map through all the keys of the given base type.
5499
- [Key in keyof Base]:
5500
- // Pick only keys with types extending the given `Condition` type.
5501
- Base[Key] extends Condition
5502
- // Retain this key since the condition passes.
5503
- ? Key
5504
- // Discard this key since the condition fails.
5505
- : never;
5506
-
5507
- // Convert the produced object into a union type of the keys which passed the conditional test.
5508
- }[keyof Base]
5509
- >;
5510
-
5511
- /**
5512
- Exclude keys from a shape that matches the given `Condition`.
5513
-
5514
- This is useful when you want to create a new type with a specific set of keys from a shape. For example, you might want to exclude all the primitive properties from a class and form a new shape containing everything but the primitive properties.
5515
-
5516
- @example
5517
- ```
5518
- import type {Primitive, ConditionalExcept} from 'type-fest';
5519
-
5520
- class Awesome {
5521
- name: string;
5522
- successes: number;
5523
- failures: bigint;
5524
-
5525
- run() {}
5311
+ declare enum ReportReason {
5312
+ UNKNOWN_REASON = "UNKNOWN_REASON",
5313
+ /** An email quota is reached. There were too many submissions in a short time period with the same email. */
5314
+ EMAIL_QUOTA_REACHED = "EMAIL_QUOTA_REACHED",
5315
+ /** An IP address is is blocklisted. */
5316
+ IP_BLOCKLISTED = "IP_BLOCKLISTED",
5317
+ /** An email is is blocklisted. */
5318
+ EMAIL_BLOCKLISTED = "EMAIL_BLOCKLISTED",
5319
+ /** Reported spam by the AI spam detection model. It uses submission text as an input. */
5320
+ AI_REPORTED = "AI_REPORTED",
5321
+ /** Reported as spam by a submission manager. */
5322
+ MANUALLY_REPORTED = "MANUALLY_REPORTED"
5526
5323
  }
5527
-
5528
- type ExceptPrimitivesFromAwesome = ConditionalExcept<Awesome, Primitive>;
5529
- //=> {run: () => void}
5530
- ```
5531
-
5532
- @example
5533
- ```
5534
- import type {ConditionalExcept} from 'type-fest';
5535
-
5536
- interface Example {
5537
- a: string;
5538
- b: string | number;
5539
- c: () => void;
5540
- d: {};
5541
- }
5542
-
5543
- type NonStringKeysOnly = ConditionalExcept<Example, string>;
5544
- //=> {b: string | number; c: () => void; d: {}}
5545
- ```
5546
-
5547
- @category Object
5548
- */
5549
- type ConditionalExcept$1<Base, Condition> = Except$1<
5550
- Base,
5551
- ConditionalKeys$1<Base, Condition>
5552
- >;
5553
-
5554
- /**
5555
- * Descriptors are objects that describe the API of a module, and the module
5556
- * can either be a REST module or a host module.
5557
- * This type is recursive, so it can describe nested modules.
5558
- */
5559
- type Descriptors$1 = RESTFunctionDescriptor$1 | AmbassadorFunctionDescriptor$1 | HostModule$1<any, any> | EventDefinition$1<any> | ServicePluginDefinition$1<any> | {
5560
- [key: string]: Descriptors$1 | PublicMetadata$1 | any;
5561
- };
5562
- /**
5563
- * This type takes in a descriptors object of a certain Host (including an `unknown` host)
5564
- * and returns an object with the same structure, but with all descriptors replaced with their API.
5565
- * Any non-descriptor properties are removed from the returned object, including descriptors that
5566
- * do not match the given host (as they will not work with the given host).
5567
- */
5568
- type BuildDescriptors$1<T extends Descriptors$1, H extends Host$1<any> | undefined, Depth extends number = 5> = {
5569
- done: T;
5570
- recurse: T extends {
5571
- __type: typeof SERVICE_PLUGIN_ERROR_TYPE$1;
5572
- } ? never : T extends AmbassadorFunctionDescriptor$1 ? BuildAmbassadorFunction$1<T> : T extends RESTFunctionDescriptor$1 ? BuildRESTFunction$1<T> : T extends EventDefinition$1<any> ? BuildEventDefinition$1<T> : T extends ServicePluginDefinition$1<any> ? BuildServicePluginDefinition$1<T> : T extends HostModule$1<any, any> ? HostModuleAPI$1<T> : ConditionalExcept$1<{
5573
- [Key in keyof T]: T[Key] extends Descriptors$1 ? BuildDescriptors$1<T[Key], H, [
5574
- -1,
5575
- 0,
5576
- 1,
5577
- 2,
5578
- 3,
5579
- 4,
5580
- 5
5581
- ][Depth]> : never;
5582
- }, EmptyObject$1>;
5583
- }[Depth extends -1 ? 'done' : 'recurse'];
5584
- type PublicMetadata$1 = {
5585
- PACKAGE_NAME?: string;
5586
- };
5587
-
5588
- declare global {
5589
- interface ContextualClient {
5590
- }
5591
- }
5592
- /**
5593
- * A type used to create concerete types from SDK descriptors in
5594
- * case a contextual client is available.
5595
- */
5596
- type MaybeContext$1<T extends Descriptors$1> = globalThis.ContextualClient extends {
5597
- host: Host$1;
5598
- } ? BuildDescriptors$1<T, globalThis.ContextualClient['host']> : T;
5599
-
5600
- /**
5601
- * FormSpamSubmissionReportReport stores a form submission spam report.
5602
- * It contains submission details as well as report reason.
5603
- */
5604
- interface FormSpamSubmissionReport {
5605
- /**
5606
- * Form spam submission report id.
5607
- * @readonly
5608
- */
5609
- _id?: string | null;
5610
- /** Id of a form to which the form spam submission report belongs. */
5611
- formId?: string;
5612
- /**
5613
- * Form namespace to which the form spam submission report belongs.
5614
- * @readonly
5615
- */
5616
- namespace?: string;
5617
- /** Form submission submitter id. */
5618
- submitter?: Submitter$1;
5619
- /** Submission values where key is a target of a form field and value is a submissions for the given field. */
5620
- submissions?: Record<string, any>;
5621
- /** Identifies the reason why the submission was reported as spam. */
5622
- reportReason?: ReportReason;
5623
- /** Date of submission creation. If a submission was created in the past, pass the original submission creation date. */
5624
- _createdDate?: Date;
5625
- /**
5626
- * Date of form spam submission report creation.
5627
- * @readonly
5628
- */
5629
- reportedDate?: Date;
5630
- /**
5631
- * Date of last update.
5632
- * @readonly
5633
- */
5634
- _updatedDate?: Date;
5635
- /**
5636
- * Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision.
5637
- * @readonly
5638
- */
5639
- revision?: string | null;
5640
- /** Data extensions ExtendedFields. */
5641
- extendedFields?: ExtendedFields$1;
5642
- /** Last status of the submission at the time of the report */
5643
- submissionStatusAtReport?: SubmissionStatus$1;
5644
- /** Order details. */
5645
- orderDetails?: OrderDetails$1;
5646
- /**
5647
- * Contact ID. Member who created the submission, or a mapped contact.
5648
- * @readonly
5649
- */
5650
- contactId?: string | null;
5651
- }
5652
- interface Submitter$1 extends SubmitterSubmitterOneOf$1 {
5653
- /** Member ID. */
5654
- memberId?: string | null;
5655
- /** Visitor ID. */
5656
- visitorId?: string | null;
5657
- /** Application ID. */
5658
- applicationId?: string | null;
5659
- /** User ID. */
5660
- userId?: string | null;
5661
- }
5662
- /** @oneof */
5663
- interface SubmitterSubmitterOneOf$1 {
5664
- /** Member ID. */
5665
- memberId?: string | null;
5666
- /** Visitor ID. */
5667
- visitorId?: string | null;
5668
- /** Application ID. */
5669
- applicationId?: string | null;
5670
- /** User ID. */
5671
- userId?: string | null;
5672
- }
5673
- declare enum ReportReason {
5674
- UNKNOWN_REASON = "UNKNOWN_REASON",
5675
- /** An email quota is reached. There were too many submissions in a short time period with the same email. */
5676
- EMAIL_QUOTA_REACHED = "EMAIL_QUOTA_REACHED",
5677
- /** An IP address is is blocklisted. */
5678
- IP_BLOCKLISTED = "IP_BLOCKLISTED",
5679
- /** An email is is blocklisted. */
5680
- EMAIL_BLOCKLISTED = "EMAIL_BLOCKLISTED",
5681
- /** Reported spam by the AI spam detection model. It uses submission text as an input. */
5682
- AI_REPORTED = "AI_REPORTED",
5683
- /** Reported as spam by a submission manager. */
5684
- MANUALLY_REPORTED = "MANUALLY_REPORTED"
5685
- }
5686
- interface ExtendedFields$1 {
5687
- /**
5688
- * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
5689
- * The value of each key is structured according to the schema defined when the extended fields were configured.
5690
- *
5691
- * You can only access fields for which you have the appropriate permissions.
5692
- *
5693
- * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
5694
- */
5695
- namespaces?: Record<string, Record<string, any>>;
5324
+ interface ExtendedFields$1 {
5325
+ /**
5326
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
5327
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
5328
+ *
5329
+ * You can only access fields for which you have the appropriate permissions.
5330
+ *
5331
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
5332
+ */
5333
+ namespaces?: Record<string, Record<string, any>>;
5696
5334
  }
5697
5335
  declare enum SubmissionStatus$1 {
5698
5336
  UNKNOWN_SUBMISSION_STATUS = "UNKNOWN_SUBMISSION_STATUS",
@@ -6309,7 +5947,7 @@ interface FormSpamSubmissionReportsQueryBuilder {
6309
5947
  find: () => Promise<FormSpamSubmissionReportsQueryResult>;
6310
5948
  }
6311
5949
 
6312
- declare function checkForSpam$1(httpClient: HttpClient$1): CheckForSpamSignature;
5950
+ declare function checkForSpam$1(httpClient: HttpClient): CheckForSpamSignature;
6313
5951
  interface CheckForSpamSignature {
6314
5952
  /**
6315
5953
  * Checks if submission is a spam.
@@ -6317,7 +5955,7 @@ interface CheckForSpamSignature {
6317
5955
  */
6318
5956
  (submission: FormSubmission$1): Promise<CheckForSpamResponse & CheckForSpamResponseNonNullableFields>;
6319
5957
  }
6320
- declare function createFormSpamSubmissionReport$1(httpClient: HttpClient$1): CreateFormSpamSubmissionReportSignature;
5958
+ declare function createFormSpamSubmissionReport$1(httpClient: HttpClient): CreateFormSpamSubmissionReportSignature;
6321
5959
  interface CreateFormSpamSubmissionReportSignature {
6322
5960
  /**
6323
5961
  * Creates a new spam submission.
@@ -6327,7 +5965,7 @@ interface CreateFormSpamSubmissionReportSignature {
6327
5965
  */
6328
5966
  (formSpamSubmissionReport: FormSpamSubmissionReport): Promise<FormSpamSubmissionReport & FormSpamSubmissionReportNonNullableFields>;
6329
5967
  }
6330
- declare function getFormSpamSubmissionReport$1(httpClient: HttpClient$1): GetFormSpamSubmissionReportSignature;
5968
+ declare function getFormSpamSubmissionReport$1(httpClient: HttpClient): GetFormSpamSubmissionReportSignature;
6331
5969
  interface GetFormSpamSubmissionReportSignature {
6332
5970
  /**
6333
5971
  * Get a spam submission by id.
@@ -6336,7 +5974,7 @@ interface GetFormSpamSubmissionReportSignature {
6336
5974
  */
6337
5975
  (formSpamSubmissionReportId: string): Promise<FormSpamSubmissionReport & FormSpamSubmissionReportNonNullableFields>;
6338
5976
  }
6339
- declare function deleteFormSpamSubmissionReport$1(httpClient: HttpClient$1): DeleteFormSpamSubmissionReportSignature;
5977
+ declare function deleteFormSpamSubmissionReport$1(httpClient: HttpClient): DeleteFormSpamSubmissionReportSignature;
6340
5978
  interface DeleteFormSpamSubmissionReportSignature {
6341
5979
  /**
6342
5980
  * Delete a spam submission report.
@@ -6344,7 +5982,7 @@ interface DeleteFormSpamSubmissionReportSignature {
6344
5982
  */
6345
5983
  (formSpamSubmissionReportId: string): Promise<void>;
6346
5984
  }
6347
- declare function bulkDeleteFormSpamSubmissionReport$1(httpClient: HttpClient$1): BulkDeleteFormSpamSubmissionReportSignature;
5985
+ declare function bulkDeleteFormSpamSubmissionReport$1(httpClient: HttpClient): BulkDeleteFormSpamSubmissionReportSignature;
6348
5986
  interface BulkDeleteFormSpamSubmissionReportSignature {
6349
5987
  /**
6350
5988
  * Deletes report by IDS or all for specific form.
@@ -6352,7 +5990,7 @@ interface BulkDeleteFormSpamSubmissionReportSignature {
6352
5990
  */
6353
5991
  (formId: string, options?: BulkDeleteFormSpamSubmissionReportOptions | undefined): Promise<BulkDeleteFormSpamSubmissionReportResponse & BulkDeleteFormSpamSubmissionReportResponseNonNullableFields>;
6354
5992
  }
6355
- declare function bulkDeleteFormSpamSubmissionReportByFilter$1(httpClient: HttpClient$1): BulkDeleteFormSpamSubmissionReportByFilterSignature;
5993
+ declare function bulkDeleteFormSpamSubmissionReportByFilter$1(httpClient: HttpClient): BulkDeleteFormSpamSubmissionReportByFilterSignature;
6356
5994
  interface BulkDeleteFormSpamSubmissionReportByFilterSignature {
6357
5995
  /**
6358
5996
  * Deletes reports by filter for specific form.
@@ -6362,7 +6000,7 @@ interface BulkDeleteFormSpamSubmissionReportByFilterSignature {
6362
6000
  */
6363
6001
  (filter: Record<string, any> | null): Promise<BulkDeleteFormSpamSubmissionReportByFilterResponse & BulkDeleteFormSpamSubmissionReportByFilterResponseNonNullableFields>;
6364
6002
  }
6365
- declare function reportNotSpamSubmission$1(httpClient: HttpClient$1): ReportNotSpamSubmissionSignature;
6003
+ declare function reportNotSpamSubmission$1(httpClient: HttpClient): ReportNotSpamSubmissionSignature;
6366
6004
  interface ReportNotSpamSubmissionSignature {
6367
6005
  /**
6368
6006
  * Report a spam submission as not spam. The submission is created, and the spam report is deleted.
@@ -6371,537 +6009,127 @@ interface ReportNotSpamSubmissionSignature {
6371
6009
  */
6372
6010
  (formSpamSubmissionReportId: string): Promise<ReportNotSpamSubmissionResponse & ReportNotSpamSubmissionResponseNonNullableFields>;
6373
6011
  }
6374
- declare function bulkReportNotSpamSubmission$1(httpClient: HttpClient$1): BulkReportNotSpamSubmissionSignature;
6375
- interface BulkReportNotSpamSubmissionSignature {
6376
- /**
6377
- * Report a spam submissions as not spam. The submissions is created, and the spam reports is deleted.
6378
- * Submissions automations are triggered the same way as in standard submission creation flow.
6379
- * @param - Id of the form to which belong reports
6380
- */
6381
- (formId: string, options?: BulkReportNotSpamSubmissionOptions | undefined): Promise<BulkReportNotSpamSubmissionResponse & BulkReportNotSpamSubmissionResponseNonNullableFields>;
6382
- }
6383
- declare function reportSpamSubmission$1(httpClient: HttpClient$1): ReportSpamSubmissionSignature;
6384
- interface ReportSpamSubmissionSignature {
6385
- /**
6386
- * Report a submission as spam. The spam submission report is created, and the submission is deleted.
6387
- * @param - Id of the submission to report as spam.
6388
- * @param - Identifies the reason why the submission was reported as spam.
6389
- */
6390
- (submissionId: string, reportReason: ReportReason): Promise<ReportSpamSubmissionResponse & ReportSpamSubmissionResponseNonNullableFields>;
6391
- }
6392
- declare function bulkReportSpamSubmission$1(httpClient: HttpClient$1): BulkReportSpamSubmissionSignature;
6393
- interface BulkReportSpamSubmissionSignature {
6394
- /**
6395
- * Report multiple submissions as spam. The spam submission reports is created, and the submissions is deleted.
6396
- * @param - Id of the form to which belong submissions to report as spam.
6397
- */
6398
- (formId: string, options?: BulkReportSpamSubmissionOptions | undefined): Promise<BulkReportSpamSubmissionResponse & BulkReportSpamSubmissionResponseNonNullableFields>;
6399
- }
6400
- declare function queryFormSpamSubmissionReportsByNamespace$1(httpClient: HttpClient$1): QueryFormSpamSubmissionReportsByNamespaceSignature;
6401
- interface QueryFormSpamSubmissionReportsByNamespaceSignature {
6402
- /**
6403
- * Query form spam submission reports using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
6404
- */
6405
- (): FormSpamSubmissionReportsQueryBuilder;
6406
- }
6407
- declare function countFormSpamSubmissionReports$1(httpClient: HttpClient$1): CountFormSpamSubmissionReportsSignature;
6408
- interface CountFormSpamSubmissionReportsSignature {
6409
- /**
6410
- * Counts the number of spam submission reports belonging to the specified forms.
6411
- * @param - Form IDs.
6412
- * @param - Identifies the app which the form submissions belong to. For example, the namespace for the Wix Forms App is `"wix.form_app.form"`. The namespace of a submission can be retrieved using the Get Submission endpoint.
6413
- */
6414
- (formIds: string[], namespace: string): Promise<CountFormSpamSubmissionReportsResponse & CountFormSpamSubmissionReportsResponseNonNullableFields>;
6415
- }
6416
-
6417
- declare const checkForSpam: MaybeContext$1<BuildRESTFunction$1<typeof checkForSpam$1> & typeof checkForSpam$1>;
6418
- declare const createFormSpamSubmissionReport: MaybeContext$1<BuildRESTFunction$1<typeof createFormSpamSubmissionReport$1> & typeof createFormSpamSubmissionReport$1>;
6419
- declare const getFormSpamSubmissionReport: MaybeContext$1<BuildRESTFunction$1<typeof getFormSpamSubmissionReport$1> & typeof getFormSpamSubmissionReport$1>;
6420
- declare const deleteFormSpamSubmissionReport: MaybeContext$1<BuildRESTFunction$1<typeof deleteFormSpamSubmissionReport$1> & typeof deleteFormSpamSubmissionReport$1>;
6421
- declare const bulkDeleteFormSpamSubmissionReport: MaybeContext$1<BuildRESTFunction$1<typeof bulkDeleteFormSpamSubmissionReport$1> & typeof bulkDeleteFormSpamSubmissionReport$1>;
6422
- declare const bulkDeleteFormSpamSubmissionReportByFilter: MaybeContext$1<BuildRESTFunction$1<typeof bulkDeleteFormSpamSubmissionReportByFilter$1> & typeof bulkDeleteFormSpamSubmissionReportByFilter$1>;
6423
- declare const reportNotSpamSubmission: MaybeContext$1<BuildRESTFunction$1<typeof reportNotSpamSubmission$1> & typeof reportNotSpamSubmission$1>;
6424
- declare const bulkReportNotSpamSubmission: MaybeContext$1<BuildRESTFunction$1<typeof bulkReportNotSpamSubmission$1> & typeof bulkReportNotSpamSubmission$1>;
6425
- declare const reportSpamSubmission: MaybeContext$1<BuildRESTFunction$1<typeof reportSpamSubmission$1> & typeof reportSpamSubmission$1>;
6426
- declare const bulkReportSpamSubmission: MaybeContext$1<BuildRESTFunction$1<typeof bulkReportSpamSubmission$1> & typeof bulkReportSpamSubmission$1>;
6427
- declare const queryFormSpamSubmissionReportsByNamespace: MaybeContext$1<BuildRESTFunction$1<typeof queryFormSpamSubmissionReportsByNamespace$1> & typeof queryFormSpamSubmissionReportsByNamespace$1>;
6428
- declare const countFormSpamSubmissionReports: MaybeContext$1<BuildRESTFunction$1<typeof countFormSpamSubmissionReports$1> & typeof countFormSpamSubmissionReports$1>;
6429
-
6430
- type context$1_BulkDeleteFormSpamSubmissionReportByFilterRequest = BulkDeleteFormSpamSubmissionReportByFilterRequest;
6431
- type context$1_BulkDeleteFormSpamSubmissionReportByFilterResponse = BulkDeleteFormSpamSubmissionReportByFilterResponse;
6432
- type context$1_BulkDeleteFormSpamSubmissionReportByFilterResponseNonNullableFields = BulkDeleteFormSpamSubmissionReportByFilterResponseNonNullableFields;
6433
- type context$1_BulkDeleteFormSpamSubmissionReportOptions = BulkDeleteFormSpamSubmissionReportOptions;
6434
- type context$1_BulkDeleteFormSpamSubmissionReportRequest = BulkDeleteFormSpamSubmissionReportRequest;
6435
- type context$1_BulkDeleteFormSpamSubmissionReportResponse = BulkDeleteFormSpamSubmissionReportResponse;
6436
- type context$1_BulkDeleteFormSpamSubmissionReportResponseNonNullableFields = BulkDeleteFormSpamSubmissionReportResponseNonNullableFields;
6437
- type context$1_BulkDeleteFormSpamSubmissionReportResult = BulkDeleteFormSpamSubmissionReportResult;
6438
- type context$1_BulkReportNotSpamSubmissionOptions = BulkReportNotSpamSubmissionOptions;
6439
- type context$1_BulkReportNotSpamSubmissionRequest = BulkReportNotSpamSubmissionRequest;
6440
- type context$1_BulkReportNotSpamSubmissionResponse = BulkReportNotSpamSubmissionResponse;
6441
- type context$1_BulkReportNotSpamSubmissionResponseNonNullableFields = BulkReportNotSpamSubmissionResponseNonNullableFields;
6442
- type context$1_BulkReportNotSpamSubmissionResult = BulkReportNotSpamSubmissionResult;
6443
- type context$1_BulkReportSpamSubmissionOptions = BulkReportSpamSubmissionOptions;
6444
- type context$1_BulkReportSpamSubmissionRequest = BulkReportSpamSubmissionRequest;
6445
- type context$1_BulkReportSpamSubmissionResponse = BulkReportSpamSubmissionResponse;
6446
- type context$1_BulkReportSpamSubmissionResponseNonNullableFields = BulkReportSpamSubmissionResponseNonNullableFields;
6447
- type context$1_BulkReportSpamSubmissionResult = BulkReportSpamSubmissionResult;
6448
- type context$1_CheckForSpamRequest = CheckForSpamRequest;
6449
- type context$1_CheckForSpamResponse = CheckForSpamResponse;
6450
- type context$1_CheckForSpamResponseNonNullableFields = CheckForSpamResponseNonNullableFields;
6451
- type context$1_CountFormSpamSubmissionReportsRequest = CountFormSpamSubmissionReportsRequest;
6452
- type context$1_CountFormSpamSubmissionReportsResponse = CountFormSpamSubmissionReportsResponse;
6453
- type context$1_CountFormSpamSubmissionReportsResponseNonNullableFields = CountFormSpamSubmissionReportsResponseNonNullableFields;
6454
- type context$1_CreateFormSpamSubmissionReportRequest = CreateFormSpamSubmissionReportRequest;
6455
- type context$1_CreateFormSpamSubmissionReportResponse = CreateFormSpamSubmissionReportResponse;
6456
- type context$1_CreateFormSpamSubmissionReportResponseNonNullableFields = CreateFormSpamSubmissionReportResponseNonNullableFields;
6457
- type context$1_DeleteFormSpamSubmissionReportRequest = DeleteFormSpamSubmissionReportRequest;
6458
- type context$1_DeleteFormSpamSubmissionReportResponse = DeleteFormSpamSubmissionReportResponse;
6459
- type context$1_FormSpamSubmissionReport = FormSpamSubmissionReport;
6460
- type context$1_FormSpamSubmissionReportNonNullableFields = FormSpamSubmissionReportNonNullableFields;
6461
- type context$1_FormSpamSubmissionReportsCount = FormSpamSubmissionReportsCount;
6462
- type context$1_FormSpamSubmissionReportsQueryBuilder = FormSpamSubmissionReportsQueryBuilder;
6463
- type context$1_FormSpamSubmissionReportsQueryResult = FormSpamSubmissionReportsQueryResult;
6464
- type context$1_FormSubmissionOrderDetails = FormSubmissionOrderDetails;
6465
- type context$1_GetFormSpamSubmissionReportRequest = GetFormSpamSubmissionReportRequest;
6466
- type context$1_GetFormSpamSubmissionReportResponse = GetFormSpamSubmissionReportResponse;
6467
- type context$1_GetFormSpamSubmissionReportResponseNonNullableFields = GetFormSpamSubmissionReportResponseNonNullableFields;
6468
- type context$1_QueryFormSpamSubmissionReportsByNamespaceRequest = QueryFormSpamSubmissionReportsByNamespaceRequest;
6469
- type context$1_QueryFormSpamSubmissionReportsByNamespaceResponse = QueryFormSpamSubmissionReportsByNamespaceResponse;
6470
- type context$1_QueryFormSpamSubmissionReportsByNamespaceResponseNonNullableFields = QueryFormSpamSubmissionReportsByNamespaceResponseNonNullableFields;
6471
- type context$1_ReportNotSpamSubmissionRequest = ReportNotSpamSubmissionRequest;
6472
- type context$1_ReportNotSpamSubmissionResponse = ReportNotSpamSubmissionResponse;
6473
- type context$1_ReportNotSpamSubmissionResponseNonNullableFields = ReportNotSpamSubmissionResponseNonNullableFields;
6474
- type context$1_ReportReason = ReportReason;
6475
- declare const context$1_ReportReason: typeof ReportReason;
6476
- type context$1_ReportSpamSubmissionRequest = ReportSpamSubmissionRequest;
6477
- type context$1_ReportSpamSubmissionResponse = ReportSpamSubmissionResponse;
6478
- type context$1_ReportSpamSubmissionResponseNonNullableFields = ReportSpamSubmissionResponseNonNullableFields;
6479
- type context$1_SpamReport = SpamReport;
6480
- declare const context$1_bulkDeleteFormSpamSubmissionReport: typeof bulkDeleteFormSpamSubmissionReport;
6481
- declare const context$1_bulkDeleteFormSpamSubmissionReportByFilter: typeof bulkDeleteFormSpamSubmissionReportByFilter;
6482
- declare const context$1_bulkReportNotSpamSubmission: typeof bulkReportNotSpamSubmission;
6483
- declare const context$1_bulkReportSpamSubmission: typeof bulkReportSpamSubmission;
6484
- declare const context$1_checkForSpam: typeof checkForSpam;
6485
- declare const context$1_countFormSpamSubmissionReports: typeof countFormSpamSubmissionReports;
6486
- declare const context$1_createFormSpamSubmissionReport: typeof createFormSpamSubmissionReport;
6487
- declare const context$1_deleteFormSpamSubmissionReport: typeof deleteFormSpamSubmissionReport;
6488
- declare const context$1_getFormSpamSubmissionReport: typeof getFormSpamSubmissionReport;
6489
- declare const context$1_queryFormSpamSubmissionReportsByNamespace: typeof queryFormSpamSubmissionReportsByNamespace;
6490
- declare const context$1_reportNotSpamSubmission: typeof reportNotSpamSubmission;
6491
- declare const context$1_reportSpamSubmission: typeof reportSpamSubmission;
6492
- declare namespace context$1 {
6493
- export { type ActionEvent$1 as ActionEvent, type ApplicationError$1 as ApplicationError, type BulkActionMetadata$1 as BulkActionMetadata, type context$1_BulkDeleteFormSpamSubmissionReportByFilterRequest as BulkDeleteFormSpamSubmissionReportByFilterRequest, type context$1_BulkDeleteFormSpamSubmissionReportByFilterResponse as BulkDeleteFormSpamSubmissionReportByFilterResponse, type context$1_BulkDeleteFormSpamSubmissionReportByFilterResponseNonNullableFields as BulkDeleteFormSpamSubmissionReportByFilterResponseNonNullableFields, type context$1_BulkDeleteFormSpamSubmissionReportOptions as BulkDeleteFormSpamSubmissionReportOptions, type context$1_BulkDeleteFormSpamSubmissionReportRequest as BulkDeleteFormSpamSubmissionReportRequest, type context$1_BulkDeleteFormSpamSubmissionReportResponse as BulkDeleteFormSpamSubmissionReportResponse, type context$1_BulkDeleteFormSpamSubmissionReportResponseNonNullableFields as BulkDeleteFormSpamSubmissionReportResponseNonNullableFields, type context$1_BulkDeleteFormSpamSubmissionReportResult as BulkDeleteFormSpamSubmissionReportResult, type context$1_BulkReportNotSpamSubmissionOptions as BulkReportNotSpamSubmissionOptions, type context$1_BulkReportNotSpamSubmissionRequest as BulkReportNotSpamSubmissionRequest, type context$1_BulkReportNotSpamSubmissionResponse as BulkReportNotSpamSubmissionResponse, type context$1_BulkReportNotSpamSubmissionResponseNonNullableFields as BulkReportNotSpamSubmissionResponseNonNullableFields, type context$1_BulkReportNotSpamSubmissionResult as BulkReportNotSpamSubmissionResult, type context$1_BulkReportSpamSubmissionOptions as BulkReportSpamSubmissionOptions, type context$1_BulkReportSpamSubmissionRequest as BulkReportSpamSubmissionRequest, type context$1_BulkReportSpamSubmissionResponse as BulkReportSpamSubmissionResponse, type context$1_BulkReportSpamSubmissionResponseNonNullableFields as BulkReportSpamSubmissionResponseNonNullableFields, type context$1_BulkReportSpamSubmissionResult as BulkReportSpamSubmissionResult, type context$1_CheckForSpamRequest as CheckForSpamRequest, type context$1_CheckForSpamResponse as CheckForSpamResponse, type context$1_CheckForSpamResponseNonNullableFields as CheckForSpamResponseNonNullableFields, type context$1_CountFormSpamSubmissionReportsRequest as CountFormSpamSubmissionReportsRequest, type context$1_CountFormSpamSubmissionReportsResponse as CountFormSpamSubmissionReportsResponse, type context$1_CountFormSpamSubmissionReportsResponseNonNullableFields as CountFormSpamSubmissionReportsResponseNonNullableFields, type context$1_CreateFormSpamSubmissionReportRequest as CreateFormSpamSubmissionReportRequest, type context$1_CreateFormSpamSubmissionReportResponse as CreateFormSpamSubmissionReportResponse, type context$1_CreateFormSpamSubmissionReportResponseNonNullableFields as CreateFormSpamSubmissionReportResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type CursorQuery$1 as CursorQuery, type CursorQueryPagingMethodOneOf$1 as CursorQueryPagingMethodOneOf, type Cursors$1 as Cursors, type context$1_DeleteFormSpamSubmissionReportRequest as DeleteFormSpamSubmissionReportRequest, type context$1_DeleteFormSpamSubmissionReportResponse as DeleteFormSpamSubmissionReportResponse, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type ExtendedFields$1 as ExtendedFields, type context$1_FormSpamSubmissionReport as FormSpamSubmissionReport, type context$1_FormSpamSubmissionReportNonNullableFields as FormSpamSubmissionReportNonNullableFields, type context$1_FormSpamSubmissionReportsCount as FormSpamSubmissionReportsCount, type context$1_FormSpamSubmissionReportsQueryBuilder as FormSpamSubmissionReportsQueryBuilder, type context$1_FormSpamSubmissionReportsQueryResult as FormSpamSubmissionReportsQueryResult, type FormSubmission$1 as FormSubmission, type context$1_FormSubmissionOrderDetails as FormSubmissionOrderDetails, type context$1_GetFormSpamSubmissionReportRequest as GetFormSpamSubmissionReportRequest, type context$1_GetFormSpamSubmissionReportResponse as GetFormSpamSubmissionReportResponse, type context$1_GetFormSpamSubmissionReportResponseNonNullableFields as GetFormSpamSubmissionReportResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type ItemMetadata$1 as ItemMetadata, type MessageEnvelope$1 as MessageEnvelope, type OrderDetails$1 as OrderDetails, type context$1_QueryFormSpamSubmissionReportsByNamespaceRequest as QueryFormSpamSubmissionReportsByNamespaceRequest, type context$1_QueryFormSpamSubmissionReportsByNamespaceResponse as QueryFormSpamSubmissionReportsByNamespaceResponse, type context$1_QueryFormSpamSubmissionReportsByNamespaceResponseNonNullableFields as QueryFormSpamSubmissionReportsByNamespaceResponseNonNullableFields, type context$1_ReportNotSpamSubmissionRequest as ReportNotSpamSubmissionRequest, type context$1_ReportNotSpamSubmissionResponse as ReportNotSpamSubmissionResponse, type context$1_ReportNotSpamSubmissionResponseNonNullableFields as ReportNotSpamSubmissionResponseNonNullableFields, context$1_ReportReason as ReportReason, type context$1_ReportSpamSubmissionRequest as ReportSpamSubmissionRequest, type context$1_ReportSpamSubmissionResponse as ReportSpamSubmissionResponse, type context$1_ReportSpamSubmissionResponseNonNullableFields as ReportSpamSubmissionResponseNonNullableFields, type RestoreInfo$1 as RestoreInfo, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type context$1_SpamReport as SpamReport, SubmissionStatus$1 as SubmissionStatus, type Submitter$1 as Submitter, type SubmitterSubmitterOneOf$1 as SubmitterSubmitterOneOf, WebhookIdentityType$1 as WebhookIdentityType, context$1_bulkDeleteFormSpamSubmissionReport as bulkDeleteFormSpamSubmissionReport, context$1_bulkDeleteFormSpamSubmissionReportByFilter as bulkDeleteFormSpamSubmissionReportByFilter, context$1_bulkReportNotSpamSubmission as bulkReportNotSpamSubmission, context$1_bulkReportSpamSubmission as bulkReportSpamSubmission, context$1_checkForSpam as checkForSpam, context$1_countFormSpamSubmissionReports as countFormSpamSubmissionReports, context$1_createFormSpamSubmissionReport as createFormSpamSubmissionReport, context$1_deleteFormSpamSubmissionReport as deleteFormSpamSubmissionReport, context$1_getFormSpamSubmissionReport as getFormSpamSubmissionReport, context$1_queryFormSpamSubmissionReportsByNamespace as queryFormSpamSubmissionReportsByNamespace, context$1_reportNotSpamSubmission as reportNotSpamSubmission, context$1_reportSpamSubmission as reportSpamSubmission };
6494
- }
6495
-
6496
- type HostModule<T, H extends Host> = {
6497
- __type: 'host';
6498
- create(host: H): T;
6499
- };
6500
- type HostModuleAPI<T extends HostModule<any, any>> = T extends HostModule<infer U, any> ? U : never;
6501
- type Host<Environment = unknown> = {
6502
- channel: {
6503
- observeState(callback: (props: unknown, environment: Environment) => unknown): {
6504
- disconnect: () => void;
6505
- } | Promise<{
6506
- disconnect: () => void;
6507
- }>;
6508
- };
6509
- environment?: Environment;
6510
- /**
6511
- * Optional bast url to use for API requests, for example `www.wixapis.com`
6512
- */
6513
- apiBaseUrl?: string;
6514
- /**
6515
- * Possible data to be provided by every host, for cross cutting concerns
6516
- * like internationalization, billing, etc.
6517
- */
6518
- essentials?: {
6519
- /**
6520
- * The language of the currently viewed session
6521
- */
6522
- language?: string;
6523
- /**
6524
- * The locale of the currently viewed session
6525
- */
6526
- locale?: string;
6527
- /**
6528
- * Any headers that should be passed through to the API requests
6529
- */
6530
- passThroughHeaders?: Record<string, string>;
6531
- };
6532
- };
6533
-
6534
- type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
6535
- interface HttpClient {
6536
- request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
6537
- fetchWithAuth: typeof fetch;
6538
- wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
6539
- getActiveToken?: () => string | undefined;
6540
- }
6541
- type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
6542
- type HttpResponse<T = any> = {
6543
- data: T;
6544
- status: number;
6545
- statusText: string;
6546
- headers: any;
6547
- request?: any;
6548
- };
6549
- type RequestOptions<_TResponse = any, Data = any> = {
6550
- method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
6551
- url: string;
6552
- data?: Data;
6553
- params?: URLSearchParams;
6554
- } & APIMetadata;
6555
- type APIMetadata = {
6556
- methodFqn?: string;
6557
- entityFqdn?: string;
6558
- packageName?: string;
6559
- };
6560
- type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
6561
- type EventDefinition<Payload = unknown, Type extends string = string> = {
6562
- __type: 'event-definition';
6563
- type: Type;
6564
- isDomainEvent?: boolean;
6565
- transformations?: (envelope: unknown) => Payload;
6566
- __payload: Payload;
6567
- };
6568
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
6569
- type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
6570
- type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
6571
-
6572
- type ServicePluginMethodInput = {
6573
- request: any;
6574
- metadata: any;
6575
- };
6576
- type ServicePluginContract = Record<string, (payload: ServicePluginMethodInput) => unknown | Promise<unknown>>;
6577
- type ServicePluginMethodMetadata = {
6578
- name: string;
6579
- primaryHttpMappingPath: string;
6580
- transformations: {
6581
- fromREST: (...args: unknown[]) => ServicePluginMethodInput;
6582
- toREST: (...args: unknown[]) => unknown;
6583
- };
6584
- };
6585
- type ServicePluginDefinition<Contract extends ServicePluginContract> = {
6586
- __type: 'service-plugin-definition';
6587
- componentType: string;
6588
- methods: ServicePluginMethodMetadata[];
6589
- __contract: Contract;
6590
- };
6591
- declare function ServicePluginDefinition<Contract extends ServicePluginContract>(componentType: string, methods: ServicePluginMethodMetadata[]): ServicePluginDefinition<Contract>;
6592
- type BuildServicePluginDefinition<T extends ServicePluginDefinition<any>> = (implementation: T['__contract']) => void;
6593
- declare const SERVICE_PLUGIN_ERROR_TYPE = "wix_spi_error";
6594
-
6595
- type RequestContext = {
6596
- isSSR: boolean;
6597
- host: string;
6598
- protocol?: string;
6599
- };
6600
- type ResponseTransformer = (data: any, headers?: any) => any;
6601
- /**
6602
- * Ambassador request options types are copied mostly from AxiosRequestConfig.
6603
- * They are copied and not imported to reduce the amount of dependencies (to reduce install time).
6604
- * https://github.com/axios/axios/blob/3f53eb6960f05a1f88409c4b731a40de595cb825/index.d.ts#L307-L315
6605
- */
6606
- type Method = 'get' | 'GET' | 'delete' | 'DELETE' | 'head' | 'HEAD' | 'options' | 'OPTIONS' | 'post' | 'POST' | 'put' | 'PUT' | 'patch' | 'PATCH' | 'purge' | 'PURGE' | 'link' | 'LINK' | 'unlink' | 'UNLINK';
6607
- type AmbassadorRequestOptions<T = any> = {
6608
- _?: T;
6609
- url?: string;
6610
- method?: Method;
6611
- params?: any;
6612
- data?: any;
6613
- transformResponse?: ResponseTransformer | ResponseTransformer[];
6614
- };
6615
- type AmbassadorFactory<Request, Response> = (payload: Request) => ((context: RequestContext) => AmbassadorRequestOptions<Response>) & {
6616
- __isAmbassador: boolean;
6617
- };
6618
- type AmbassadorFunctionDescriptor<Request = any, Response = any> = AmbassadorFactory<Request, Response>;
6619
- type BuildAmbassadorFunction<T extends AmbassadorFunctionDescriptor> = T extends AmbassadorFunctionDescriptor<infer Request, infer Response> ? (req: Request) => Promise<Response> : never;
6620
-
6621
- declare global {
6622
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
6623
- interface SymbolConstructor {
6624
- readonly observable: symbol;
6625
- }
6626
- }
6627
-
6628
- declare const emptyObjectSymbol: unique symbol;
6629
-
6630
- /**
6631
- Represents a strictly empty plain object, the `{}` value.
6632
-
6633
- When you annotate something as the type `{}`, it can be anything except `null` and `undefined`. This means that you cannot use `{}` to represent an empty plain object ([read more](https://stackoverflow.com/questions/47339869/typescript-empty-object-and-any-difference/52193484#52193484)).
6634
-
6635
- @example
6636
- ```
6637
- import type {EmptyObject} from 'type-fest';
6638
-
6639
- // The following illustrates the problem with `{}`.
6640
- const foo1: {} = {}; // Pass
6641
- const foo2: {} = []; // Pass
6642
- const foo3: {} = 42; // Pass
6643
- const foo4: {} = {a: 1}; // Pass
6644
-
6645
- // With `EmptyObject` only the first case is valid.
6646
- const bar1: EmptyObject = {}; // Pass
6647
- const bar2: EmptyObject = 42; // Fail
6648
- const bar3: EmptyObject = []; // Fail
6649
- const bar4: EmptyObject = {a: 1}; // Fail
6650
- ```
6651
-
6652
- Unfortunately, `Record<string, never>`, `Record<keyof any, never>` and `Record<never, never>` do not work. See {@link https://github.com/sindresorhus/type-fest/issues/395 #395}.
6653
-
6654
- @category Object
6655
- */
6656
- type EmptyObject = {[emptyObjectSymbol]?: never};
6657
-
6658
- /**
6659
- Returns a boolean for whether the two given types are equal.
6660
-
6661
- @link https://github.com/microsoft/TypeScript/issues/27024#issuecomment-421529650
6662
- @link https://stackoverflow.com/questions/68961864/how-does-the-equals-work-in-typescript/68963796#68963796
6663
-
6664
- Use-cases:
6665
- - If you want to make a conditional branch based on the result of a comparison of two types.
6666
-
6667
- @example
6668
- ```
6669
- import type {IsEqual} from 'type-fest';
6670
-
6671
- // This type returns a boolean for whether the given array includes the given item.
6672
- // `IsEqual` is used to compare the given array at position 0 and the given item and then return true if they are equal.
6673
- type Includes<Value extends readonly any[], Item> =
6674
- Value extends readonly [Value[0], ...infer rest]
6675
- ? IsEqual<Value[0], Item> extends true
6676
- ? true
6677
- : Includes<rest, Item>
6678
- : false;
6679
- ```
6680
-
6681
- @category Type Guard
6682
- @category Utilities
6683
- */
6684
- type IsEqual<A, B> =
6685
- (<G>() => G extends A ? 1 : 2) extends
6686
- (<G>() => G extends B ? 1 : 2)
6687
- ? true
6688
- : false;
6689
-
6690
- /**
6691
- Filter out keys from an object.
6692
-
6693
- Returns `never` if `Exclude` is strictly equal to `Key`.
6694
- Returns `never` if `Key` extends `Exclude`.
6695
- Returns `Key` otherwise.
6696
-
6697
- @example
6698
- ```
6699
- type Filtered = Filter<'foo', 'foo'>;
6700
- //=> never
6701
- ```
6702
-
6703
- @example
6704
- ```
6705
- type Filtered = Filter<'bar', string>;
6706
- //=> never
6707
- ```
6708
-
6709
- @example
6710
- ```
6711
- type Filtered = Filter<'bar', 'foo'>;
6712
- //=> 'bar'
6713
- ```
6714
-
6715
- @see {Except}
6716
- */
6717
- type Filter<KeyType, ExcludeType> = IsEqual<KeyType, ExcludeType> extends true ? never : (KeyType extends ExcludeType ? never : KeyType);
6718
-
6719
- type ExceptOptions = {
6720
- /**
6721
- Disallow assigning non-specified properties.
6722
-
6723
- Note that any omitted properties in the resulting type will be present in autocomplete as `undefined`.
6724
-
6725
- @default false
6726
- */
6727
- requireExactProps?: boolean;
6728
- };
6729
-
6730
- /**
6731
- Create a type from an object type without certain keys.
6732
-
6733
- We recommend setting the `requireExactProps` option to `true`.
6734
-
6735
- This type is a stricter version of [`Omit`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#the-omit-helper-type). The `Omit` type does not restrict the omitted keys to be keys present on the given type, while `Except` does. The benefits of a stricter type are avoiding typos and allowing the compiler to pick up on rename refactors automatically.
6736
-
6737
- This type was proposed to the TypeScript team, which declined it, saying they prefer that libraries implement stricter versions of the built-in types ([microsoft/TypeScript#30825](https://github.com/microsoft/TypeScript/issues/30825#issuecomment-523668235)).
6738
-
6739
- @example
6740
- ```
6741
- import type {Except} from 'type-fest';
6742
-
6743
- type Foo = {
6744
- a: number;
6745
- b: string;
6746
- };
6747
-
6748
- type FooWithoutA = Except<Foo, 'a'>;
6749
- //=> {b: string}
6750
-
6751
- const fooWithoutA: FooWithoutA = {a: 1, b: '2'};
6752
- //=> errors: 'a' does not exist in type '{ b: string; }'
6753
-
6754
- type FooWithoutB = Except<Foo, 'b', {requireExactProps: true}>;
6755
- //=> {a: number} & Partial<Record<"b", never>>
6756
-
6757
- const fooWithoutB: FooWithoutB = {a: 1, b: '2'};
6758
- //=> errors at 'b': Type 'string' is not assignable to type 'undefined'.
6759
- ```
6760
-
6761
- @category Object
6762
- */
6763
- type Except<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions = {requireExactProps: false}> = {
6764
- [KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType];
6765
- } & (Options['requireExactProps'] extends true
6766
- ? Partial<Record<KeysType, never>>
6767
- : {});
6768
-
6769
- /**
6770
- Extract the keys from a type where the value type of the key extends the given `Condition`.
6771
-
6772
- Internally this is used for the `ConditionalPick` and `ConditionalExcept` types.
6773
-
6774
- @example
6775
- ```
6776
- import type {ConditionalKeys} from 'type-fest';
6777
-
6778
- interface Example {
6779
- a: string;
6780
- b: string | number;
6781
- c?: string;
6782
- d: {};
6012
+ declare function bulkReportNotSpamSubmission$1(httpClient: HttpClient): BulkReportNotSpamSubmissionSignature;
6013
+ interface BulkReportNotSpamSubmissionSignature {
6014
+ /**
6015
+ * Report a spam submissions as not spam. The submissions is created, and the spam reports is deleted.
6016
+ * Submissions automations are triggered the same way as in standard submission creation flow.
6017
+ * @param - Id of the form to which belong reports
6018
+ */
6019
+ (formId: string, options?: BulkReportNotSpamSubmissionOptions | undefined): Promise<BulkReportNotSpamSubmissionResponse & BulkReportNotSpamSubmissionResponseNonNullableFields>;
6783
6020
  }
6784
-
6785
- type StringKeysOnly = ConditionalKeys<Example, string>;
6786
- //=> 'a'
6787
- ```
6788
-
6789
- To support partial types, make sure your `Condition` is a union of undefined (for example, `string | undefined`) as demonstrated below.
6790
-
6791
- @example
6792
- ```
6793
- import type {ConditionalKeys} from 'type-fest';
6794
-
6795
- type StringKeysAndUndefined = ConditionalKeys<Example, string | undefined>;
6796
- //=> 'a' | 'c'
6797
- ```
6798
-
6799
- @category Object
6800
- */
6801
- type ConditionalKeys<Base, Condition> = NonNullable<
6802
- // Wrap in `NonNullable` to strip away the `undefined` type from the produced union.
6803
- {
6804
- // Map through all the keys of the given base type.
6805
- [Key in keyof Base]:
6806
- // Pick only keys with types extending the given `Condition` type.
6807
- Base[Key] extends Condition
6808
- // Retain this key since the condition passes.
6809
- ? Key
6810
- // Discard this key since the condition fails.
6811
- : never;
6812
-
6813
- // Convert the produced object into a union type of the keys which passed the conditional test.
6814
- }[keyof Base]
6815
- >;
6816
-
6817
- /**
6818
- Exclude keys from a shape that matches the given `Condition`.
6819
-
6820
- This is useful when you want to create a new type with a specific set of keys from a shape. For example, you might want to exclude all the primitive properties from a class and form a new shape containing everything but the primitive properties.
6821
-
6822
- @example
6823
- ```
6824
- import type {Primitive, ConditionalExcept} from 'type-fest';
6825
-
6826
- class Awesome {
6827
- name: string;
6828
- successes: number;
6829
- failures: bigint;
6830
-
6831
- run() {}
6021
+ declare function reportSpamSubmission$1(httpClient: HttpClient): ReportSpamSubmissionSignature;
6022
+ interface ReportSpamSubmissionSignature {
6023
+ /**
6024
+ * Report a submission as spam. The spam submission report is created, and the submission is deleted.
6025
+ * @param - Id of the submission to report as spam.
6026
+ * @param - Identifies the reason why the submission was reported as spam.
6027
+ */
6028
+ (submissionId: string, reportReason: ReportReason): Promise<ReportSpamSubmissionResponse & ReportSpamSubmissionResponseNonNullableFields>;
6832
6029
  }
6833
-
6834
- type ExceptPrimitivesFromAwesome = ConditionalExcept<Awesome, Primitive>;
6835
- //=> {run: () => void}
6836
- ```
6837
-
6838
- @example
6839
- ```
6840
- import type {ConditionalExcept} from 'type-fest';
6841
-
6842
- interface Example {
6843
- a: string;
6844
- b: string | number;
6845
- c: () => void;
6846
- d: {};
6030
+ declare function bulkReportSpamSubmission$1(httpClient: HttpClient): BulkReportSpamSubmissionSignature;
6031
+ interface BulkReportSpamSubmissionSignature {
6032
+ /**
6033
+ * Report multiple submissions as spam. The spam submission reports is created, and the submissions is deleted.
6034
+ * @param - Id of the form to which belong submissions to report as spam.
6035
+ */
6036
+ (formId: string, options?: BulkReportSpamSubmissionOptions | undefined): Promise<BulkReportSpamSubmissionResponse & BulkReportSpamSubmissionResponseNonNullableFields>;
6037
+ }
6038
+ declare function queryFormSpamSubmissionReportsByNamespace$1(httpClient: HttpClient): QueryFormSpamSubmissionReportsByNamespaceSignature;
6039
+ interface QueryFormSpamSubmissionReportsByNamespaceSignature {
6040
+ /**
6041
+ * Query form spam submission reports using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
6042
+ */
6043
+ (): FormSpamSubmissionReportsQueryBuilder;
6044
+ }
6045
+ declare function countFormSpamSubmissionReports$1(httpClient: HttpClient): CountFormSpamSubmissionReportsSignature;
6046
+ interface CountFormSpamSubmissionReportsSignature {
6047
+ /**
6048
+ * Counts the number of spam submission reports belonging to the specified forms.
6049
+ * @param - Form IDs.
6050
+ * @param - Identifies the app which the form submissions belong to. For example, the namespace for the Wix Forms App is `"wix.form_app.form"`. The namespace of a submission can be retrieved using the Get Submission endpoint.
6051
+ */
6052
+ (formIds: string[], namespace: string): Promise<CountFormSpamSubmissionReportsResponse & CountFormSpamSubmissionReportsResponseNonNullableFields>;
6847
6053
  }
6848
6054
 
6849
- type NonStringKeysOnly = ConditionalExcept<Example, string>;
6850
- //=> {b: string | number; c: () => void; d: {}}
6851
- ```
6852
-
6853
- @category Object
6854
- */
6855
- type ConditionalExcept<Base, Condition> = Except<
6856
- Base,
6857
- ConditionalKeys<Base, Condition>
6858
- >;
6859
-
6860
- /**
6861
- * Descriptors are objects that describe the API of a module, and the module
6862
- * can either be a REST module or a host module.
6863
- * This type is recursive, so it can describe nested modules.
6864
- */
6865
- type Descriptors = RESTFunctionDescriptor | AmbassadorFunctionDescriptor | HostModule<any, any> | EventDefinition<any> | ServicePluginDefinition<any> | {
6866
- [key: string]: Descriptors | PublicMetadata | any;
6867
- };
6868
- /**
6869
- * This type takes in a descriptors object of a certain Host (including an `unknown` host)
6870
- * and returns an object with the same structure, but with all descriptors replaced with their API.
6871
- * Any non-descriptor properties are removed from the returned object, including descriptors that
6872
- * do not match the given host (as they will not work with the given host).
6873
- */
6874
- type BuildDescriptors<T extends Descriptors, H extends Host<any> | undefined, Depth extends number = 5> = {
6875
- done: T;
6876
- recurse: T extends {
6877
- __type: typeof SERVICE_PLUGIN_ERROR_TYPE;
6878
- } ? never : T extends AmbassadorFunctionDescriptor ? BuildAmbassadorFunction<T> : T extends RESTFunctionDescriptor ? BuildRESTFunction<T> : T extends EventDefinition<any> ? BuildEventDefinition<T> : T extends ServicePluginDefinition<any> ? BuildServicePluginDefinition<T> : T extends HostModule<any, any> ? HostModuleAPI<T> : ConditionalExcept<{
6879
- [Key in keyof T]: T[Key] extends Descriptors ? BuildDescriptors<T[Key], H, [
6880
- -1,
6881
- 0,
6882
- 1,
6883
- 2,
6884
- 3,
6885
- 4,
6886
- 5
6887
- ][Depth]> : never;
6888
- }, EmptyObject>;
6889
- }[Depth extends -1 ? 'done' : 'recurse'];
6890
- type PublicMetadata = {
6891
- PACKAGE_NAME?: string;
6892
- };
6055
+ declare const checkForSpam: MaybeContext<BuildRESTFunction<typeof checkForSpam$1> & typeof checkForSpam$1>;
6056
+ declare const createFormSpamSubmissionReport: MaybeContext<BuildRESTFunction<typeof createFormSpamSubmissionReport$1> & typeof createFormSpamSubmissionReport$1>;
6057
+ declare const getFormSpamSubmissionReport: MaybeContext<BuildRESTFunction<typeof getFormSpamSubmissionReport$1> & typeof getFormSpamSubmissionReport$1>;
6058
+ declare const deleteFormSpamSubmissionReport: MaybeContext<BuildRESTFunction<typeof deleteFormSpamSubmissionReport$1> & typeof deleteFormSpamSubmissionReport$1>;
6059
+ declare const bulkDeleteFormSpamSubmissionReport: MaybeContext<BuildRESTFunction<typeof bulkDeleteFormSpamSubmissionReport$1> & typeof bulkDeleteFormSpamSubmissionReport$1>;
6060
+ declare const bulkDeleteFormSpamSubmissionReportByFilter: MaybeContext<BuildRESTFunction<typeof bulkDeleteFormSpamSubmissionReportByFilter$1> & typeof bulkDeleteFormSpamSubmissionReportByFilter$1>;
6061
+ declare const reportNotSpamSubmission: MaybeContext<BuildRESTFunction<typeof reportNotSpamSubmission$1> & typeof reportNotSpamSubmission$1>;
6062
+ declare const bulkReportNotSpamSubmission: MaybeContext<BuildRESTFunction<typeof bulkReportNotSpamSubmission$1> & typeof bulkReportNotSpamSubmission$1>;
6063
+ declare const reportSpamSubmission: MaybeContext<BuildRESTFunction<typeof reportSpamSubmission$1> & typeof reportSpamSubmission$1>;
6064
+ declare const bulkReportSpamSubmission: MaybeContext<BuildRESTFunction<typeof bulkReportSpamSubmission$1> & typeof bulkReportSpamSubmission$1>;
6065
+ declare const queryFormSpamSubmissionReportsByNamespace: MaybeContext<BuildRESTFunction<typeof queryFormSpamSubmissionReportsByNamespace$1> & typeof queryFormSpamSubmissionReportsByNamespace$1>;
6066
+ declare const countFormSpamSubmissionReports: MaybeContext<BuildRESTFunction<typeof countFormSpamSubmissionReports$1> & typeof countFormSpamSubmissionReports$1>;
6893
6067
 
6894
- declare global {
6895
- interface ContextualClient {
6896
- }
6068
+ type context$1_BulkDeleteFormSpamSubmissionReportByFilterRequest = BulkDeleteFormSpamSubmissionReportByFilterRequest;
6069
+ type context$1_BulkDeleteFormSpamSubmissionReportByFilterResponse = BulkDeleteFormSpamSubmissionReportByFilterResponse;
6070
+ type context$1_BulkDeleteFormSpamSubmissionReportByFilterResponseNonNullableFields = BulkDeleteFormSpamSubmissionReportByFilterResponseNonNullableFields;
6071
+ type context$1_BulkDeleteFormSpamSubmissionReportOptions = BulkDeleteFormSpamSubmissionReportOptions;
6072
+ type context$1_BulkDeleteFormSpamSubmissionReportRequest = BulkDeleteFormSpamSubmissionReportRequest;
6073
+ type context$1_BulkDeleteFormSpamSubmissionReportResponse = BulkDeleteFormSpamSubmissionReportResponse;
6074
+ type context$1_BulkDeleteFormSpamSubmissionReportResponseNonNullableFields = BulkDeleteFormSpamSubmissionReportResponseNonNullableFields;
6075
+ type context$1_BulkDeleteFormSpamSubmissionReportResult = BulkDeleteFormSpamSubmissionReportResult;
6076
+ type context$1_BulkReportNotSpamSubmissionOptions = BulkReportNotSpamSubmissionOptions;
6077
+ type context$1_BulkReportNotSpamSubmissionRequest = BulkReportNotSpamSubmissionRequest;
6078
+ type context$1_BulkReportNotSpamSubmissionResponse = BulkReportNotSpamSubmissionResponse;
6079
+ type context$1_BulkReportNotSpamSubmissionResponseNonNullableFields = BulkReportNotSpamSubmissionResponseNonNullableFields;
6080
+ type context$1_BulkReportNotSpamSubmissionResult = BulkReportNotSpamSubmissionResult;
6081
+ type context$1_BulkReportSpamSubmissionOptions = BulkReportSpamSubmissionOptions;
6082
+ type context$1_BulkReportSpamSubmissionRequest = BulkReportSpamSubmissionRequest;
6083
+ type context$1_BulkReportSpamSubmissionResponse = BulkReportSpamSubmissionResponse;
6084
+ type context$1_BulkReportSpamSubmissionResponseNonNullableFields = BulkReportSpamSubmissionResponseNonNullableFields;
6085
+ type context$1_BulkReportSpamSubmissionResult = BulkReportSpamSubmissionResult;
6086
+ type context$1_CheckForSpamRequest = CheckForSpamRequest;
6087
+ type context$1_CheckForSpamResponse = CheckForSpamResponse;
6088
+ type context$1_CheckForSpamResponseNonNullableFields = CheckForSpamResponseNonNullableFields;
6089
+ type context$1_CountFormSpamSubmissionReportsRequest = CountFormSpamSubmissionReportsRequest;
6090
+ type context$1_CountFormSpamSubmissionReportsResponse = CountFormSpamSubmissionReportsResponse;
6091
+ type context$1_CountFormSpamSubmissionReportsResponseNonNullableFields = CountFormSpamSubmissionReportsResponseNonNullableFields;
6092
+ type context$1_CreateFormSpamSubmissionReportRequest = CreateFormSpamSubmissionReportRequest;
6093
+ type context$1_CreateFormSpamSubmissionReportResponse = CreateFormSpamSubmissionReportResponse;
6094
+ type context$1_CreateFormSpamSubmissionReportResponseNonNullableFields = CreateFormSpamSubmissionReportResponseNonNullableFields;
6095
+ type context$1_DeleteFormSpamSubmissionReportRequest = DeleteFormSpamSubmissionReportRequest;
6096
+ type context$1_DeleteFormSpamSubmissionReportResponse = DeleteFormSpamSubmissionReportResponse;
6097
+ type context$1_FormSpamSubmissionReport = FormSpamSubmissionReport;
6098
+ type context$1_FormSpamSubmissionReportNonNullableFields = FormSpamSubmissionReportNonNullableFields;
6099
+ type context$1_FormSpamSubmissionReportsCount = FormSpamSubmissionReportsCount;
6100
+ type context$1_FormSpamSubmissionReportsQueryBuilder = FormSpamSubmissionReportsQueryBuilder;
6101
+ type context$1_FormSpamSubmissionReportsQueryResult = FormSpamSubmissionReportsQueryResult;
6102
+ type context$1_FormSubmissionOrderDetails = FormSubmissionOrderDetails;
6103
+ type context$1_GetFormSpamSubmissionReportRequest = GetFormSpamSubmissionReportRequest;
6104
+ type context$1_GetFormSpamSubmissionReportResponse = GetFormSpamSubmissionReportResponse;
6105
+ type context$1_GetFormSpamSubmissionReportResponseNonNullableFields = GetFormSpamSubmissionReportResponseNonNullableFields;
6106
+ type context$1_QueryFormSpamSubmissionReportsByNamespaceRequest = QueryFormSpamSubmissionReportsByNamespaceRequest;
6107
+ type context$1_QueryFormSpamSubmissionReportsByNamespaceResponse = QueryFormSpamSubmissionReportsByNamespaceResponse;
6108
+ type context$1_QueryFormSpamSubmissionReportsByNamespaceResponseNonNullableFields = QueryFormSpamSubmissionReportsByNamespaceResponseNonNullableFields;
6109
+ type context$1_ReportNotSpamSubmissionRequest = ReportNotSpamSubmissionRequest;
6110
+ type context$1_ReportNotSpamSubmissionResponse = ReportNotSpamSubmissionResponse;
6111
+ type context$1_ReportNotSpamSubmissionResponseNonNullableFields = ReportNotSpamSubmissionResponseNonNullableFields;
6112
+ type context$1_ReportReason = ReportReason;
6113
+ declare const context$1_ReportReason: typeof ReportReason;
6114
+ type context$1_ReportSpamSubmissionRequest = ReportSpamSubmissionRequest;
6115
+ type context$1_ReportSpamSubmissionResponse = ReportSpamSubmissionResponse;
6116
+ type context$1_ReportSpamSubmissionResponseNonNullableFields = ReportSpamSubmissionResponseNonNullableFields;
6117
+ type context$1_SpamReport = SpamReport;
6118
+ declare const context$1_bulkDeleteFormSpamSubmissionReport: typeof bulkDeleteFormSpamSubmissionReport;
6119
+ declare const context$1_bulkDeleteFormSpamSubmissionReportByFilter: typeof bulkDeleteFormSpamSubmissionReportByFilter;
6120
+ declare const context$1_bulkReportNotSpamSubmission: typeof bulkReportNotSpamSubmission;
6121
+ declare const context$1_bulkReportSpamSubmission: typeof bulkReportSpamSubmission;
6122
+ declare const context$1_checkForSpam: typeof checkForSpam;
6123
+ declare const context$1_countFormSpamSubmissionReports: typeof countFormSpamSubmissionReports;
6124
+ declare const context$1_createFormSpamSubmissionReport: typeof createFormSpamSubmissionReport;
6125
+ declare const context$1_deleteFormSpamSubmissionReport: typeof deleteFormSpamSubmissionReport;
6126
+ declare const context$1_getFormSpamSubmissionReport: typeof getFormSpamSubmissionReport;
6127
+ declare const context$1_queryFormSpamSubmissionReportsByNamespace: typeof queryFormSpamSubmissionReportsByNamespace;
6128
+ declare const context$1_reportNotSpamSubmission: typeof reportNotSpamSubmission;
6129
+ declare const context$1_reportSpamSubmission: typeof reportSpamSubmission;
6130
+ declare namespace context$1 {
6131
+ export { type ActionEvent$1 as ActionEvent, type ApplicationError$1 as ApplicationError, type BulkActionMetadata$1 as BulkActionMetadata, type context$1_BulkDeleteFormSpamSubmissionReportByFilterRequest as BulkDeleteFormSpamSubmissionReportByFilterRequest, type context$1_BulkDeleteFormSpamSubmissionReportByFilterResponse as BulkDeleteFormSpamSubmissionReportByFilterResponse, type context$1_BulkDeleteFormSpamSubmissionReportByFilterResponseNonNullableFields as BulkDeleteFormSpamSubmissionReportByFilterResponseNonNullableFields, type context$1_BulkDeleteFormSpamSubmissionReportOptions as BulkDeleteFormSpamSubmissionReportOptions, type context$1_BulkDeleteFormSpamSubmissionReportRequest as BulkDeleteFormSpamSubmissionReportRequest, type context$1_BulkDeleteFormSpamSubmissionReportResponse as BulkDeleteFormSpamSubmissionReportResponse, type context$1_BulkDeleteFormSpamSubmissionReportResponseNonNullableFields as BulkDeleteFormSpamSubmissionReportResponseNonNullableFields, type context$1_BulkDeleteFormSpamSubmissionReportResult as BulkDeleteFormSpamSubmissionReportResult, type context$1_BulkReportNotSpamSubmissionOptions as BulkReportNotSpamSubmissionOptions, type context$1_BulkReportNotSpamSubmissionRequest as BulkReportNotSpamSubmissionRequest, type context$1_BulkReportNotSpamSubmissionResponse as BulkReportNotSpamSubmissionResponse, type context$1_BulkReportNotSpamSubmissionResponseNonNullableFields as BulkReportNotSpamSubmissionResponseNonNullableFields, type context$1_BulkReportNotSpamSubmissionResult as BulkReportNotSpamSubmissionResult, type context$1_BulkReportSpamSubmissionOptions as BulkReportSpamSubmissionOptions, type context$1_BulkReportSpamSubmissionRequest as BulkReportSpamSubmissionRequest, type context$1_BulkReportSpamSubmissionResponse as BulkReportSpamSubmissionResponse, type context$1_BulkReportSpamSubmissionResponseNonNullableFields as BulkReportSpamSubmissionResponseNonNullableFields, type context$1_BulkReportSpamSubmissionResult as BulkReportSpamSubmissionResult, type context$1_CheckForSpamRequest as CheckForSpamRequest, type context$1_CheckForSpamResponse as CheckForSpamResponse, type context$1_CheckForSpamResponseNonNullableFields as CheckForSpamResponseNonNullableFields, type context$1_CountFormSpamSubmissionReportsRequest as CountFormSpamSubmissionReportsRequest, type context$1_CountFormSpamSubmissionReportsResponse as CountFormSpamSubmissionReportsResponse, type context$1_CountFormSpamSubmissionReportsResponseNonNullableFields as CountFormSpamSubmissionReportsResponseNonNullableFields, type context$1_CreateFormSpamSubmissionReportRequest as CreateFormSpamSubmissionReportRequest, type context$1_CreateFormSpamSubmissionReportResponse as CreateFormSpamSubmissionReportResponse, type context$1_CreateFormSpamSubmissionReportResponseNonNullableFields as CreateFormSpamSubmissionReportResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type CursorQuery$1 as CursorQuery, type CursorQueryPagingMethodOneOf$1 as CursorQueryPagingMethodOneOf, type Cursors$1 as Cursors, type context$1_DeleteFormSpamSubmissionReportRequest as DeleteFormSpamSubmissionReportRequest, type context$1_DeleteFormSpamSubmissionReportResponse as DeleteFormSpamSubmissionReportResponse, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type ExtendedFields$1 as ExtendedFields, type context$1_FormSpamSubmissionReport as FormSpamSubmissionReport, type context$1_FormSpamSubmissionReportNonNullableFields as FormSpamSubmissionReportNonNullableFields, type context$1_FormSpamSubmissionReportsCount as FormSpamSubmissionReportsCount, type context$1_FormSpamSubmissionReportsQueryBuilder as FormSpamSubmissionReportsQueryBuilder, type context$1_FormSpamSubmissionReportsQueryResult as FormSpamSubmissionReportsQueryResult, type FormSubmission$1 as FormSubmission, type context$1_FormSubmissionOrderDetails as FormSubmissionOrderDetails, type context$1_GetFormSpamSubmissionReportRequest as GetFormSpamSubmissionReportRequest, type context$1_GetFormSpamSubmissionReportResponse as GetFormSpamSubmissionReportResponse, type context$1_GetFormSpamSubmissionReportResponseNonNullableFields as GetFormSpamSubmissionReportResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type ItemMetadata$1 as ItemMetadata, type MessageEnvelope$1 as MessageEnvelope, type OrderDetails$1 as OrderDetails, type context$1_QueryFormSpamSubmissionReportsByNamespaceRequest as QueryFormSpamSubmissionReportsByNamespaceRequest, type context$1_QueryFormSpamSubmissionReportsByNamespaceResponse as QueryFormSpamSubmissionReportsByNamespaceResponse, type context$1_QueryFormSpamSubmissionReportsByNamespaceResponseNonNullableFields as QueryFormSpamSubmissionReportsByNamespaceResponseNonNullableFields, type context$1_ReportNotSpamSubmissionRequest as ReportNotSpamSubmissionRequest, type context$1_ReportNotSpamSubmissionResponse as ReportNotSpamSubmissionResponse, type context$1_ReportNotSpamSubmissionResponseNonNullableFields as ReportNotSpamSubmissionResponseNonNullableFields, context$1_ReportReason as ReportReason, type context$1_ReportSpamSubmissionRequest as ReportSpamSubmissionRequest, type context$1_ReportSpamSubmissionResponse as ReportSpamSubmissionResponse, type context$1_ReportSpamSubmissionResponseNonNullableFields as ReportSpamSubmissionResponseNonNullableFields, type RestoreInfo$1 as RestoreInfo, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type context$1_SpamReport as SpamReport, SubmissionStatus$1 as SubmissionStatus, type Submitter$1 as Submitter, type SubmitterSubmitterOneOf$1 as SubmitterSubmitterOneOf, WebhookIdentityType$1 as WebhookIdentityType, context$1_bulkDeleteFormSpamSubmissionReport as bulkDeleteFormSpamSubmissionReport, context$1_bulkDeleteFormSpamSubmissionReportByFilter as bulkDeleteFormSpamSubmissionReportByFilter, context$1_bulkReportNotSpamSubmission as bulkReportNotSpamSubmission, context$1_bulkReportSpamSubmission as bulkReportSpamSubmission, context$1_checkForSpam as checkForSpam, context$1_countFormSpamSubmissionReports as countFormSpamSubmissionReports, context$1_createFormSpamSubmissionReport as createFormSpamSubmissionReport, context$1_deleteFormSpamSubmissionReport as deleteFormSpamSubmissionReport, context$1_getFormSpamSubmissionReport as getFormSpamSubmissionReport, context$1_queryFormSpamSubmissionReportsByNamespace as queryFormSpamSubmissionReportsByNamespace, context$1_reportNotSpamSubmission as reportNotSpamSubmission, context$1_reportSpamSubmission as reportSpamSubmission };
6897
6132
  }
6898
- /**
6899
- * A type used to create concerete types from SDK descriptors in
6900
- * case a contextual client is available.
6901
- */
6902
- type MaybeContext<T extends Descriptors> = globalThis.ContextualClient extends {
6903
- host: Host;
6904
- } ? BuildDescriptors<T, globalThis.ContextualClient['host']> : T;
6905
6133
 
6906
6134
  /** Form submission that was created or retrieved. */
6907
6135
  interface FormSubmission {
@@ -9329,7 +8557,8 @@ interface InputFieldArrayErrorMessages {
9329
8557
  }
9330
8558
  declare enum ComponentType {
9331
8559
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
9332
- CHECKBOX_GROUP = "CHECKBOX_GROUP"
8560
+ CHECKBOX_GROUP = "CHECKBOX_GROUP",
8561
+ TAGS = "TAGS"
9333
8562
  }
9334
8563
  interface CheckboxGroup {
9335
8564
  /** Label of the field */
@@ -9378,6 +8607,44 @@ interface CustomOption {
9378
8607
  /** Placeholder of custom option input */
9379
8608
  placeholder?: string | null;
9380
8609
  }
8610
+ interface Tags {
8611
+ /** Label of the field */
8612
+ label?: string | null;
8613
+ /** Description of the field */
8614
+ description?: RichContent;
8615
+ /** List of options to select from */
8616
+ options?: TagsOption[];
8617
+ /**
8618
+ * Flag identifying to hide or not label
8619
+ * Default: true
8620
+ */
8621
+ showLabel?: boolean | null;
8622
+ /** Option which can be specified by UoU, enabled when this object is specified. */
8623
+ customOption?: CommonCustomOption;
8624
+ /**
8625
+ * Specifies the number of columns used to display the selections within the component.
8626
+ * Default: ONE
8627
+ */
8628
+ numberOfColumns?: NumberOfColumns;
8629
+ }
8630
+ interface TagsOption {
8631
+ /** Selectable option label */
8632
+ label?: string | null;
8633
+ /** Selectable option value, which is saved to DB. */
8634
+ value?: any;
8635
+ /** Flag identifying that option should be selected by default */
8636
+ default?: boolean;
8637
+ /** Option id. Used as binding for translations */
8638
+ _id?: string;
8639
+ /** Media item. Media, associated with option, like image. */
8640
+ media?: MediaItem;
8641
+ }
8642
+ interface CommonCustomOption {
8643
+ /** Label of custom option input */
8644
+ label?: string | null;
8645
+ /** Placeholder of custom option input */
8646
+ placeholder?: string | null;
8647
+ }
9381
8648
  declare enum WixFileComponentType {
9382
8649
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
9383
8650
  FILE_UPLOAD = "FILE_UPLOAD",
@@ -9494,12 +8761,6 @@ interface DonationInputOption {
9494
8761
  /** Flag identifying that option should be selected by default */
9495
8762
  default?: boolean;
9496
8763
  }
9497
- interface CommonCustomOption {
9498
- /** Label of custom option input */
9499
- label?: string | null;
9500
- /** Placeholder of custom option input */
9501
- placeholder?: string | null;
9502
- }
9503
8764
  declare enum MultilineAddressComponentType {
9504
8765
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
9505
8766
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
@@ -9719,6 +8980,8 @@ interface _BooleanComponentTypeOptionsOneOf {
9719
8980
  interface _Array extends _ArrayComponentTypeOptionsOneOf {
9720
8981
  /** Checkbox group input field */
9721
8982
  checkboxGroupOptions?: CheckboxGroup;
8983
+ /** Tags input field */
8984
+ tagsOptions?: Tags;
9722
8985
  /** Validation of array type. */
9723
8986
  validation?: InputFieldArrayType;
9724
8987
  /**
@@ -9731,6 +8994,8 @@ interface _Array extends _ArrayComponentTypeOptionsOneOf {
9731
8994
  interface _ArrayComponentTypeOptionsOneOf {
9732
8995
  /** Checkbox group input field */
9733
8996
  checkboxGroupOptions?: CheckboxGroup;
8997
+ /** Tags input field */
8998
+ tagsOptions?: Tags;
9734
8999
  }
9735
9000
  interface _Object extends _ObjectValidationOneOf {
9736
9001
  /** Validation of object type. */
@@ -11812,6 +11077,8 @@ type context_TableCellData = TableCellData;
11812
11077
  type context_TableData = TableData;
11813
11078
  type context_Tag = Tag;
11814
11079
  declare const context_Tag: typeof Tag;
11080
+ type context_Tags = Tags;
11081
+ type context_TagsOption = TagsOption;
11815
11082
  type context_Target = Target;
11816
11083
  declare const context_Target: typeof Target;
11817
11084
  type context_TextAlignment = TextAlignment;
@@ -11899,7 +11166,7 @@ declare const context_searchSubmissionsByNamespace: typeof searchSubmissionsByNa
11899
11166
  declare const context_updateSubmission: typeof updateSubmission;
11900
11167
  declare const context_upsertContactFromSubmission: typeof upsertContactFromSubmission;
11901
11168
  declare namespace context {
11902
- export { type context_ActionEvent as ActionEvent, type context_AddressInfo as AddressInfo, type context_AddressLine2 as AddressLine2, context_Alignment as Alignment, type context_AnchorData as AnchorData, type context_AppEmbedData as AppEmbedData, type context_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, context_AppType as AppType, type context_ApplicationError as ApplicationError, type context_ArrayErrorMessages as ArrayErrorMessages, type context_ArrayItems as ArrayItems, type context_ArrayItemsItemsOneOf as ArrayItemsItemsOneOf, type context_ArrayType as ArrayType, type context_ArrayTypeArrayItems as ArrayTypeArrayItems, type context_ArrayTypeArrayItemsItemTypeOptionsOneOf as ArrayTypeArrayItemsItemTypeOptionsOneOf, type context_AudioData as AudioData, type context_Background as Background, type context_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, context_BackgroundType as BackgroundType, type context_BlockquoteData as BlockquoteData, type context_BookingData as BookingData, context_BooleanComponentType as BooleanComponentType, type context_BooleanErrorMessages as BooleanErrorMessages, type context_BooleanType as BooleanType, type context_Border as Border, type context_BorderColors as BorderColors, type context_BreakPoint as BreakPoint, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkCreateSubmissionBySubmitterData as BulkCreateSubmissionBySubmitterData, type context_BulkCreateSubmissionBySubmitterOptions as BulkCreateSubmissionBySubmitterOptions, type context_BulkCreateSubmissionBySubmitterRequest as BulkCreateSubmissionBySubmitterRequest, type context_BulkCreateSubmissionBySubmitterResponse as BulkCreateSubmissionBySubmitterResponse, type context_BulkCreateSubmissionBySubmitterResponseNonNullableFields as BulkCreateSubmissionBySubmitterResponseNonNullableFields, type context_BulkDeleteSubmissionOptions as BulkDeleteSubmissionOptions, type context_BulkDeleteSubmissionRequest as BulkDeleteSubmissionRequest, type context_BulkDeleteSubmissionResponse as BulkDeleteSubmissionResponse, type context_BulkDeleteSubmissionResponseNonNullableFields as BulkDeleteSubmissionResponseNonNullableFields, type context_BulkDeleteSubmissionResult as BulkDeleteSubmissionResult, type context_BulkMarkSubmissionsAsSeenRequest as BulkMarkSubmissionsAsSeenRequest, type context_BulkMarkSubmissionsAsSeenResponse as BulkMarkSubmissionsAsSeenResponse, type context_BulkRemoveSubmissionFromTrashBinOptions as BulkRemoveSubmissionFromTrashBinOptions, type context_BulkRemoveSubmissionFromTrashBinRequest as BulkRemoveSubmissionFromTrashBinRequest, type context_BulkRemoveSubmissionFromTrashBinResponse as BulkRemoveSubmissionFromTrashBinResponse, type context_BulkRemoveSubmissionFromTrashBinResponseNonNullableFields as BulkRemoveSubmissionFromTrashBinResponseNonNullableFields, type context_BulkRemoveSubmissionFromTrashBinResult as BulkRemoveSubmissionFromTrashBinResult, type context_BulkSubmissionResult as BulkSubmissionResult, type context_BulletedListData as BulletedListData, type context_ButtonData as ButtonData, context_ButtonDataType as ButtonDataType, type context_CellStyle as CellStyle, type context_Checkbox as Checkbox, type context_CheckboxGroup as CheckboxGroup, type context_Checkout as Checkout, type context_CodeBlockData as CodeBlockData, type context_CollapsibleListData as CollapsibleListData, type context_ColorData as ColorData, type context_Colors as Colors, type context_CommonCustomOption as CommonCustomOption, context_ComponentType as ComponentType, type context_ConfirmSubmissionRequest as ConfirmSubmissionRequest, type context_ConfirmSubmissionResponse as ConfirmSubmissionResponse, type context_ConfirmSubmissionResponseNonNullableFields as ConfirmSubmissionResponseNonNullableFields, context_ContactField as ContactField, type context_CountDeletedSubmissionsOptions as CountDeletedSubmissionsOptions, type context_CountDeletedSubmissionsRequest as CountDeletedSubmissionsRequest, type context_CountDeletedSubmissionsResponse as CountDeletedSubmissionsResponse, type context_CountDeletedSubmissionsResponseNonNullableFields as CountDeletedSubmissionsResponseNonNullableFields, type context_CountSubmissionsByFilterOptions as CountSubmissionsByFilterOptions, type context_CountSubmissionsByFilterRequest as CountSubmissionsByFilterRequest, type context_CountSubmissionsByFilterResponse as CountSubmissionsByFilterResponse, type context_CountSubmissionsByFilterResponseNonNullableFields as CountSubmissionsByFilterResponseNonNullableFields, type context_CountSubmissionsOptions as CountSubmissionsOptions, type context_CountSubmissionsRequest as CountSubmissionsRequest, type context_CountSubmissionsResponse as CountSubmissionsResponse, type context_CountSubmissionsResponseNonNullableFields as CountSubmissionsResponseNonNullableFields, type context_CreateCheckoutFromSubmissionRequest as CreateCheckoutFromSubmissionRequest, type context_CreateCheckoutFromSubmissionRequestFormSchemaIdentifierOneOf as CreateCheckoutFromSubmissionRequestFormSchemaIdentifierOneOf, type context_CreateCheckoutFromSubmissionResponse as CreateCheckoutFromSubmissionResponse, type context_CreateSubmissionBySubmitterRequest as CreateSubmissionBySubmitterRequest, type context_CreateSubmissionBySubmitterResponse as CreateSubmissionBySubmitterResponse, type context_CreateSubmissionOptions as CreateSubmissionOptions, type context_CreateSubmissionRequest as CreateSubmissionRequest, type context_CreateSubmissionResponse as CreateSubmissionResponse, type context_CreateSubmissionResponseNonNullableFields as CreateSubmissionResponseNonNullableFields, context_Crop as Crop, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_CursorSearch as CursorSearch, type context_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type context_Cursors as Cursors, type context_CustomFieldInfo as CustomFieldInfo, type context_CustomOption as CustomOption, type context_DataExtensionsDetails as DataExtensionsDetails, type context_DateInput as DateInput, type context_DateOptions as DateOptions, type context_DatePicker as DatePicker, type context_DatePickerOptions as DatePickerOptions, type context_DateTimeConstraints as DateTimeConstraints, type context_DateTimeInput as DateTimeInput, type context_DateTimeInputDateTimeInputTypeOptionsOneOf as DateTimeInputDateTimeInputTypeOptionsOneOf, context_DateTimeInputType as DateTimeInputType, type context_DateTimeOptions as DateTimeOptions, type context_Decoration as Decoration, type context_DecorationDataOneOf as DecorationDataOneOf, context_DecorationType as DecorationType, type context_DefaultCountryConfig as DefaultCountryConfig, type context_DefaultCountryConfigOptionsOneOf as DefaultCountryConfigOptionsOneOf, type context_DeleteSubmissionOptions as DeleteSubmissionOptions, type context_DeleteSubmissionRequest as DeleteSubmissionRequest, type context_DeleteSubmissionResponse as DeleteSubmissionResponse, type context_Design as Design, type context_Dimensions as Dimensions, context_Direction as Direction, type context_DisplayField as DisplayField, type context_DisplayFieldComponentTypeOneOf as DisplayFieldComponentTypeOneOf, type context_DividerData as DividerData, type context_DocumentReady as DocumentReady, type context_DocumentStyle as DocumentStyle, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_DonationInput as DonationInput, type context_DonationInputOption as DonationInputOption, type context_Dropdown as Dropdown, type context_DropdownCustomOption as DropdownCustomOption, type context_DropdownOption as DropdownOption, type context_DynamicPriceOptions as DynamicPriceOptions, type context_EmailInfo as EmailInfo, context_EmailInfoTag as EmailInfoTag, type context_EmbedData as EmbedData, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventData as EventData, type context_ExtendedFields as ExtendedFields, type context_FieldGroup as FieldGroup, type context_FieldOverrides as FieldOverrides, context_FieldType as FieldType, type context_FieldsOverrides as FieldsOverrides, type context_FieldsSettings as FieldsSettings, type context_FileData as FileData, type context_FileSource as FileSource, type context_FileSourceDataOneOf as FileSourceDataOneOf, type context_FileUpload as FileUpload, context_FirstDayOfWeek as FirstDayOfWeek, context_FirstDayOfWeekEnumFirstDayOfWeek as FirstDayOfWeekEnumFirstDayOfWeek, type context_FixedPriceOptions as FixedPriceOptions, type context_FontSizeData as FontSizeData, context_FontType as FontType, type context_Form as Form, type context_FormDeletedSubmissionsCount as FormDeletedSubmissionsCount, type context_FormField as FormField, type context_FormFieldContactInfo as FormFieldContactInfo, type context_FormFieldContactInfoAdditionalInfoOneOf as FormFieldContactInfoAdditionalInfoOneOf, type context_FormFieldV2 as FormFieldV2, type context_FormFieldV2FieldTypeOptionsOneOf as FormFieldV2FieldTypeOptionsOneOf, type context_FormLayout as FormLayout, type context_FormOverride as FormOverride, type context_FormProperties as FormProperties, type context_FormRule as FormRule, type context_FormSubmission as FormSubmission, type context_FormSubmissionNonNullableFields as FormSubmissionNonNullableFields, type context_FormSubmissionStatusUpdatedEvent as FormSubmissionStatusUpdatedEvent, type context_FormSubmissionsCount as FormSubmissionsCount, context_Format as Format, context_FormatEnumFormat as FormatEnumFormat, type context_GIF as GIF, type context_GIFData as GIFData, type context_GalleryData as GalleryData, type context_GalleryOptions as GalleryOptions, type context_GetDeletedSubmissionRequest as GetDeletedSubmissionRequest, type context_GetDeletedSubmissionResponse as GetDeletedSubmissionResponse, type context_GetDeletedSubmissionResponseNonNullableFields as GetDeletedSubmissionResponseNonNullableFields, type context_GetMediaUploadURLRequest as GetMediaUploadURLRequest, type context_GetMediaUploadURLResponse as GetMediaUploadURLResponse, type context_GetMediaUploadURLResponseNonNullableFields as GetMediaUploadURLResponseNonNullableFields, type context_GetSubmissionByCheckoutIdRequest as GetSubmissionByCheckoutIdRequest, type context_GetSubmissionByCheckoutIdResponse as GetSubmissionByCheckoutIdResponse, type context_GetSubmissionDocumentRequest as GetSubmissionDocumentRequest, type context_GetSubmissionDocumentResponse as GetSubmissionDocumentResponse, type context_GetSubmissionDocumentResponseNonNullableFields as GetSubmissionDocumentResponseNonNullableFields, type context_GetSubmissionRequest as GetSubmissionRequest, type context_GetSubmissionResponse as GetSubmissionResponse, type context_GetSubmissionResponseNonNullableFields as GetSubmissionResponseNonNullableFields, type context_Gradient as Gradient, type context_Group as Group, type context_HTMLData as HTMLData, type context_HTMLDataDataOneOf as HTMLDataDataOneOf, type context_Header as Header, type context_HeadingData as HeadingData, type context_Height as Height, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_IdentityType as IdentityType, type context_Image as Image, type context_ImageData as ImageData, context_ImageFit as ImageFit, context_InitialExpandedItems as InitialExpandedItems, type context_InputField as InputField, type context_InputFieldArrayErrorMessages as InputFieldArrayErrorMessages, type context_InputFieldArrayType as InputFieldArrayType, type context_InputFieldBooleanErrorMessages as InputFieldBooleanErrorMessages, type context_InputFieldBooleanType as InputFieldBooleanType, type context_InputFieldInputTypeOptionsOneOf as InputFieldInputTypeOptionsOneOf, type context_InputFieldIntegerType as InputFieldIntegerType, type context_InputFieldMultilineAddress as InputFieldMultilineAddress, type context_InputFieldMultilineAddressComponentTypeOptionsOneOf as InputFieldMultilineAddressComponentTypeOptionsOneOf, type context_InputFieldNumberErrorMessages as InputFieldNumberErrorMessages, type context_InputFieldNumberType as InputFieldNumberType, type context_InputFieldObjectErrorMessages as InputFieldObjectErrorMessages, type context_InputFieldObjectType as InputFieldObjectType, type context_InputFieldStringErrorMessages as InputFieldStringErrorMessages, type context_InputFieldStringType as InputFieldStringType, type context_InputFieldStringTypeFormatOptionsOneOf as InputFieldStringTypeFormatOptionsOneOf, context_InputType as InputType, type context_IntegerType as IntegerType, type context_IsFormSubmittableRequest as IsFormSubmittableRequest, type context_IsFormSubmittableResponse as IsFormSubmittableResponse, type context_Item as Item, type context_ItemDataOneOf as ItemDataOneOf, type context_ItemLayout as ItemLayout, type context_ItemLayoutItemOneOf as ItemLayoutItemOneOf, type context_ItemMetadata as ItemMetadata, type context_ItemStyle as ItemStyle, context_ItemType as ItemType, context_Kind as Kind, type context_Layout as Layout, context_LayoutType as LayoutType, type context_LimitationRule as LimitationRule, context_LineStyle as LineStyle, type context_Link as Link, type context_LinkData as LinkData, type context_LinkDataOneOf as LinkDataOneOf, type context_LinkPreviewData as LinkPreviewData, context_LinkTarget as LinkTarget, type context_ListDeletedSubmissionsOptions as ListDeletedSubmissionsOptions, type context_ListDeletedSubmissionsRequest as ListDeletedSubmissionsRequest, type context_ListDeletedSubmissionsResponse as ListDeletedSubmissionsResponse, type context_ListDeletedSubmissionsResponseNonNullableFields as ListDeletedSubmissionsResponseNonNullableFields, type context_ListValue as ListValue, type context_MapData as MapData, type context_MapSettings as MapSettings, context_MapType as MapType, type context_Margin as Margin, type context_MarketingSubscriptionDetails as MarketingSubscriptionDetails, type context_Media as Media, type context_MediaItem as MediaItem, type context_MediaItemMediaOneOf as MediaItemMediaOneOf, type context_MentionData as MentionData, type context_MessageEnvelope as MessageEnvelope, type context_Metadata as Metadata, context_Mode as Mode, type context_MultilineAddress as MultilineAddress, context_MultilineAddressComponentType as MultilineAddressComponentType, type context_MultilineAddressValidation as MultilineAddressValidation, type context_NestedForm as NestedForm, type context_NestedFormFieldOverrides as NestedFormFieldOverrides, type context_NestedFormOverrides as NestedFormOverrides, type context_Node as Node, type context_NodeDataOneOf as NodeDataOneOf, type context_NodeStyle as NodeStyle, context_NodeType as NodeType, context_NullValue as NullValue, context_NumberComponentType as NumberComponentType, type context_NumberErrorMessages as NumberErrorMessages, type context_NumberInput as NumberInput, context_NumberOfColumns as NumberOfColumns, type context_NumberType as NumberType, type context_ObjectErrorMessages as ObjectErrorMessages, type context_ObjectType as ObjectType, type context_ObjectTypePropertiesType as ObjectTypePropertiesType, type context_ObjectTypePropertiesTypePropertiesTypeOptionsOneOf as ObjectTypePropertiesTypePropertiesTypeOptionsOneOf, type context_Oembed as Oembed, context_OptInLevel as OptInLevel, type context_Option as Option, type context_OptionDesign as OptionDesign, type context_OptionLayout as OptionLayout, type context_OrderDetails as OrderDetails, type context_OrderedListData as OrderedListData, context_Orientation as Orientation, context_OverrideEntityType as OverrideEntityType, type context_PDFSettings as PDFSettings, type context_ParagraphData as ParagraphData, type context_Payment as Payment, context_PaymentComponentType as PaymentComponentType, type context_PaymentComponentTypeOptionsOneOf as PaymentComponentTypeOptionsOneOf, type context_PaymentType as PaymentType, type context_Permissions as Permissions, type context_PhoneConstraints as PhoneConstraints, type context_PhoneInfo as PhoneInfo, context_PhoneInfoTag as PhoneInfoTag, type context_PhoneInput as PhoneInput, type context_PlaybackOptions as PlaybackOptions, type context_PluginContainerData as PluginContainerData, context_PluginContainerDataAlignment as PluginContainerDataAlignment, type context_PluginContainerDataWidth as PluginContainerDataWidth, type context_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type context_Poll as Poll, type context_PollData as PollData, type context_PollDataLayout as PollDataLayout, type context_PollDesign as PollDesign, type context_PollLayout as PollLayout, context_PollLayoutDirection as PollLayoutDirection, context_PollLayoutType as PollLayoutType, type context_PollOption as PollOption, type context_PostSubmissionTriggers as PostSubmissionTriggers, type context_PredefinedValidation as PredefinedValidation, type context_PredefinedValidationFormatOptionsOneOf as PredefinedValidationFormatOptionsOneOf, context_PriceType as PriceType, type context_Product as Product, type context_ProductCheckboxGroup as ProductCheckboxGroup, type context_ProductCheckboxGroupOption as ProductCheckboxGroupOption, type context_ProductPriceOptionsOneOf as ProductPriceOptionsOneOf, context_ProductType as ProductType, type context_PropertiesType as PropertiesType, context_PropertiesTypeEnum as PropertiesTypeEnum, type context_PropertiesTypePropertiesTypeOneOf as PropertiesTypePropertiesTypeOneOf, type context_QuantityLimit as QuantityLimit, type context_QuerySubmissionOptions as QuerySubmissionOptions, type context_QuerySubmissionRequest as QuerySubmissionRequest, type context_QuerySubmissionResponse as QuerySubmissionResponse, type context_QuerySubmissionResponseNonNullableFields as QuerySubmissionResponseNonNullableFields, type context_QuerySubmissionsByNamespaceForExportRequest as QuerySubmissionsByNamespaceForExportRequest, type context_QuerySubmissionsByNamespaceForExportResponse as QuerySubmissionsByNamespaceForExportResponse, type context_QuerySubmissionsByNamespaceOptions as QuerySubmissionsByNamespaceOptions, type context_QuerySubmissionsByNamespaceRequest as QuerySubmissionsByNamespaceRequest, type context_QuerySubmissionsByNamespaceResponse as QuerySubmissionsByNamespaceResponse, type context_QuerySubmissionsByNamespaceResponseNonNullableFields as QuerySubmissionsByNamespaceResponseNonNullableFields, type context_RadioGroup as RadioGroup, type context_RadioGroupCustomOption as RadioGroupCustomOption, type context_RadioGroupOption as RadioGroupOption, type context_RatingInput as RatingInput, type context_Redirect as Redirect, type context_RedirectOptions as RedirectOptions, type context_Rel as Rel, type context_RemoveSubmissionFromTrashBinRequest as RemoveSubmissionFromTrashBinRequest, type context_RemoveSubmissionFromTrashBinResponse as RemoveSubmissionFromTrashBinResponse, type context_RemovedSubmissionFromTrash as RemovedSubmissionFromTrash, context_RequiredIndicator as RequiredIndicator, context_RequiredIndicatorPlacement as RequiredIndicatorPlacement, type context_RequiredIndicatorProperties as RequiredIndicatorProperties, type context_RestoreInfo as RestoreInfo, type context_RestoreSubmissionFromTrashBinRequest as RestoreSubmissionFromTrashBinRequest, type context_RestoreSubmissionFromTrashBinResponse as RestoreSubmissionFromTrashBinResponse, type context_RestoreSubmissionFromTrashBinResponseNonNullableFields as RestoreSubmissionFromTrashBinResponseNonNullableFields, type context_RichContent as RichContent, type context_RichText as RichText, type context_SearchDetails as SearchDetails, type context_SearchSubmissionsByNamespaceForExportRequest as SearchSubmissionsByNamespaceForExportRequest, type context_SearchSubmissionsByNamespaceForExportResponse as SearchSubmissionsByNamespaceForExportResponse, type context_SearchSubmissionsByNamespaceRequest as SearchSubmissionsByNamespaceRequest, type context_SearchSubmissionsByNamespaceResponse as SearchSubmissionsByNamespaceResponse, type context_SearchSubmissionsByNamespaceResponseNonNullableFields as SearchSubmissionsByNamespaceResponseNonNullableFields, type context_Section as Section, type context_Settings as Settings, type context_Signature as Signature, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_Source as Source, context_SpamFilterProtectionLevel as SpamFilterProtectionLevel, type context_Spoiler as Spoiler, type context_SpoilerData as SpoilerData, context_Status as Status, type context_Step as Step, context_StringComponentType as StringComponentType, type context_StringErrorMessages as StringErrorMessages, type context_StringType as StringType, type context_StringTypeDateTimeConstraints as StringTypeDateTimeConstraints, type context_StringTypeFormatOptionsOneOf as StringTypeFormatOptionsOneOf, type context_StringTypePhoneConstraints as StringTypePhoneConstraints, type context_Styles as Styles, type context_SubmissionContactMapped as SubmissionContactMapped, type context_SubmissionContactMappingSkipped as SubmissionContactMappingSkipped, type context_SubmissionDocument as SubmissionDocument, type context_SubmissionDocumentDocumentOneOf as SubmissionDocumentDocumentOneOf, context_SubmissionStatus as SubmissionStatus, type context_SubmissionsQueryBuilder as SubmissionsQueryBuilder, type context_SubmissionsQueryResult as SubmissionsQueryResult, type context_SubmitButton as SubmitButton, type context_SubmitButtonSubmitActionOneOf as SubmitButtonSubmitActionOneOf, type context_SubmitContactResponse as SubmitContactResponse, type context_SubmitSettings as SubmitSettings, type context_SubmitSettingsSubmitSuccessActionOptionsOneOf as SubmitSettingsSubmitSuccessActionOptionsOneOf, context_SubmitSuccessAction as SubmitSuccessAction, type context_Submitter as Submitter, type context_SubmitterSubmitterOneOf as SubmitterSubmitterOneOf, type context_SubscriptionInfo as SubscriptionInfo, context_SubscriptionInfoOptInLevel as SubscriptionInfoOptInLevel, type context_TableCellData as TableCellData, type context_TableData as TableData, context_Tag as Tag, context_Target as Target, context_TextAlignment as TextAlignment, type context_TextData as TextData, type context_TextInput as TextInput, type context_TextNodeStyle as TextNodeStyle, type context_TextStyle as TextStyle, type context_ThankYouMessage as ThankYouMessage, type context_ThankYouMessageOptions as ThankYouMessageOptions, type context_Thumbnails as Thumbnails, context_ThumbnailsAlignment as ThumbnailsAlignment, type context_TimeInput as TimeInput, type context_TimeOptions as TimeOptions, context_Type as Type, type context_UpdateSubmission as UpdateSubmission, type context_UpdateSubmissionRequest as UpdateSubmissionRequest, type context_UpdateSubmissionResponse as UpdateSubmissionResponse, type context_UpdateSubmissionResponseNonNullableFields as UpdateSubmissionResponseNonNullableFields, context_UploadFileFormat as UploadFileFormat, type context_UpsertContact as UpsertContact, type context_UpsertContactFromSubmissionOptions as UpsertContactFromSubmissionOptions, type context_UpsertContactFromSubmissionRequest as UpsertContactFromSubmissionRequest, type context_UpsertContactFromSubmissionResponse as UpsertContactFromSubmissionResponse, type context_UpsertContactFromSubmissionResponseNonNullableFields as UpsertContactFromSubmissionResponseNonNullableFields, context_UrlTargetEnumTarget as UrlTargetEnumTarget, type context_Validation as Validation, context_ValidationFormat as ValidationFormat, type context_ValidationValidationOneOf as ValidationValidationOneOf, context_VerticalAlignment as VerticalAlignment, type context_Video as Video, type context_VideoData as VideoData, context_ViewMode as ViewMode, context_ViewRole as ViewRole, context_VoteRole as VoteRole, context_WebhookIdentityType as WebhookIdentityType, context_Width as Width, context_WidthType as WidthType, type context_WixFile as WixFile, context_WixFileComponentType as WixFileComponentType, type context_WixFileComponentTypeOptionsOneOf as WixFileComponentTypeOptionsOneOf, type context__Array as _Array, type context__ArrayComponentTypeOptionsOneOf as _ArrayComponentTypeOptionsOneOf, type context__Boolean as _Boolean, type context__BooleanComponentTypeOptionsOneOf as _BooleanComponentTypeOptionsOneOf, type context__Number as _Number, type context__NumberComponentTypeOptionsOneOf as _NumberComponentTypeOptionsOneOf, type context__Object as _Object, type context__ObjectValidationOneOf as _ObjectValidationOneOf, type context__String as _String, type context__StringComponentTypeOptionsOneOf as _StringComponentTypeOptionsOneOf, context_bulkCreateSubmissionBySubmitter as bulkCreateSubmissionBySubmitter, context_bulkDeleteSubmission as bulkDeleteSubmission, context_bulkMarkSubmissionsAsSeen as bulkMarkSubmissionsAsSeen, context_bulkRemoveSubmissionFromTrashBin as bulkRemoveSubmissionFromTrashBin, context_confirmSubmission as confirmSubmission, context_countDeletedSubmissions as countDeletedSubmissions, context_countSubmissions as countSubmissions, context_countSubmissionsByFilter as countSubmissionsByFilter, context_createSubmission as createSubmission, context_deleteSubmission as deleteSubmission, context_getDeletedSubmission as getDeletedSubmission, context_getMediaUploadUrl as getMediaUploadUrl, context_getSubmission as getSubmission, context_getSubmissionDocument as getSubmissionDocument, context_listDeletedSubmissions as listDeletedSubmissions, context_querySubmission as querySubmission, context_querySubmissionsByNamespace as querySubmissionsByNamespace, context_removeSubmissionFromTrashBin as removeSubmissionFromTrashBin, context_restoreSubmissionFromTrashBin as restoreSubmissionFromTrashBin, context_searchSubmissionsByNamespace as searchSubmissionsByNamespace, context_updateSubmission as updateSubmission, context_upsertContactFromSubmission as upsertContactFromSubmission };
11169
+ export { type context_ActionEvent as ActionEvent, type context_AddressInfo as AddressInfo, type context_AddressLine2 as AddressLine2, context_Alignment as Alignment, type context_AnchorData as AnchorData, type context_AppEmbedData as AppEmbedData, type context_AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOf, context_AppType as AppType, type context_ApplicationError as ApplicationError, type context_ArrayErrorMessages as ArrayErrorMessages, type context_ArrayItems as ArrayItems, type context_ArrayItemsItemsOneOf as ArrayItemsItemsOneOf, type context_ArrayType as ArrayType, type context_ArrayTypeArrayItems as ArrayTypeArrayItems, type context_ArrayTypeArrayItemsItemTypeOptionsOneOf as ArrayTypeArrayItemsItemTypeOptionsOneOf, type context_AudioData as AudioData, type context_Background as Background, type context_BackgroundBackgroundOneOf as BackgroundBackgroundOneOf, context_BackgroundType as BackgroundType, type context_BlockquoteData as BlockquoteData, type context_BookingData as BookingData, context_BooleanComponentType as BooleanComponentType, type context_BooleanErrorMessages as BooleanErrorMessages, type context_BooleanType as BooleanType, type context_Border as Border, type context_BorderColors as BorderColors, type context_BreakPoint as BreakPoint, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkCreateSubmissionBySubmitterData as BulkCreateSubmissionBySubmitterData, type context_BulkCreateSubmissionBySubmitterOptions as BulkCreateSubmissionBySubmitterOptions, type context_BulkCreateSubmissionBySubmitterRequest as BulkCreateSubmissionBySubmitterRequest, type context_BulkCreateSubmissionBySubmitterResponse as BulkCreateSubmissionBySubmitterResponse, type context_BulkCreateSubmissionBySubmitterResponseNonNullableFields as BulkCreateSubmissionBySubmitterResponseNonNullableFields, type context_BulkDeleteSubmissionOptions as BulkDeleteSubmissionOptions, type context_BulkDeleteSubmissionRequest as BulkDeleteSubmissionRequest, type context_BulkDeleteSubmissionResponse as BulkDeleteSubmissionResponse, type context_BulkDeleteSubmissionResponseNonNullableFields as BulkDeleteSubmissionResponseNonNullableFields, type context_BulkDeleteSubmissionResult as BulkDeleteSubmissionResult, type context_BulkMarkSubmissionsAsSeenRequest as BulkMarkSubmissionsAsSeenRequest, type context_BulkMarkSubmissionsAsSeenResponse as BulkMarkSubmissionsAsSeenResponse, type context_BulkRemoveSubmissionFromTrashBinOptions as BulkRemoveSubmissionFromTrashBinOptions, type context_BulkRemoveSubmissionFromTrashBinRequest as BulkRemoveSubmissionFromTrashBinRequest, type context_BulkRemoveSubmissionFromTrashBinResponse as BulkRemoveSubmissionFromTrashBinResponse, type context_BulkRemoveSubmissionFromTrashBinResponseNonNullableFields as BulkRemoveSubmissionFromTrashBinResponseNonNullableFields, type context_BulkRemoveSubmissionFromTrashBinResult as BulkRemoveSubmissionFromTrashBinResult, type context_BulkSubmissionResult as BulkSubmissionResult, type context_BulletedListData as BulletedListData, type context_ButtonData as ButtonData, context_ButtonDataType as ButtonDataType, type context_CellStyle as CellStyle, type context_Checkbox as Checkbox, type context_CheckboxGroup as CheckboxGroup, type context_Checkout as Checkout, type context_CodeBlockData as CodeBlockData, type context_CollapsibleListData as CollapsibleListData, type context_ColorData as ColorData, type context_Colors as Colors, type context_CommonCustomOption as CommonCustomOption, context_ComponentType as ComponentType, type context_ConfirmSubmissionRequest as ConfirmSubmissionRequest, type context_ConfirmSubmissionResponse as ConfirmSubmissionResponse, type context_ConfirmSubmissionResponseNonNullableFields as ConfirmSubmissionResponseNonNullableFields, context_ContactField as ContactField, type context_CountDeletedSubmissionsOptions as CountDeletedSubmissionsOptions, type context_CountDeletedSubmissionsRequest as CountDeletedSubmissionsRequest, type context_CountDeletedSubmissionsResponse as CountDeletedSubmissionsResponse, type context_CountDeletedSubmissionsResponseNonNullableFields as CountDeletedSubmissionsResponseNonNullableFields, type context_CountSubmissionsByFilterOptions as CountSubmissionsByFilterOptions, type context_CountSubmissionsByFilterRequest as CountSubmissionsByFilterRequest, type context_CountSubmissionsByFilterResponse as CountSubmissionsByFilterResponse, type context_CountSubmissionsByFilterResponseNonNullableFields as CountSubmissionsByFilterResponseNonNullableFields, type context_CountSubmissionsOptions as CountSubmissionsOptions, type context_CountSubmissionsRequest as CountSubmissionsRequest, type context_CountSubmissionsResponse as CountSubmissionsResponse, type context_CountSubmissionsResponseNonNullableFields as CountSubmissionsResponseNonNullableFields, type context_CreateCheckoutFromSubmissionRequest as CreateCheckoutFromSubmissionRequest, type context_CreateCheckoutFromSubmissionRequestFormSchemaIdentifierOneOf as CreateCheckoutFromSubmissionRequestFormSchemaIdentifierOneOf, type context_CreateCheckoutFromSubmissionResponse as CreateCheckoutFromSubmissionResponse, type context_CreateSubmissionBySubmitterRequest as CreateSubmissionBySubmitterRequest, type context_CreateSubmissionBySubmitterResponse as CreateSubmissionBySubmitterResponse, type context_CreateSubmissionOptions as CreateSubmissionOptions, type context_CreateSubmissionRequest as CreateSubmissionRequest, type context_CreateSubmissionResponse as CreateSubmissionResponse, type context_CreateSubmissionResponseNonNullableFields as CreateSubmissionResponseNonNullableFields, context_Crop as Crop, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_CursorSearch as CursorSearch, type context_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type context_Cursors as Cursors, type context_CustomFieldInfo as CustomFieldInfo, type context_CustomOption as CustomOption, type context_DataExtensionsDetails as DataExtensionsDetails, type context_DateInput as DateInput, type context_DateOptions as DateOptions, type context_DatePicker as DatePicker, type context_DatePickerOptions as DatePickerOptions, type context_DateTimeConstraints as DateTimeConstraints, type context_DateTimeInput as DateTimeInput, type context_DateTimeInputDateTimeInputTypeOptionsOneOf as DateTimeInputDateTimeInputTypeOptionsOneOf, context_DateTimeInputType as DateTimeInputType, type context_DateTimeOptions as DateTimeOptions, type context_Decoration as Decoration, type context_DecorationDataOneOf as DecorationDataOneOf, context_DecorationType as DecorationType, type context_DefaultCountryConfig as DefaultCountryConfig, type context_DefaultCountryConfigOptionsOneOf as DefaultCountryConfigOptionsOneOf, type context_DeleteSubmissionOptions as DeleteSubmissionOptions, type context_DeleteSubmissionRequest as DeleteSubmissionRequest, type context_DeleteSubmissionResponse as DeleteSubmissionResponse, type context_Design as Design, type context_Dimensions as Dimensions, context_Direction as Direction, type context_DisplayField as DisplayField, type context_DisplayFieldComponentTypeOneOf as DisplayFieldComponentTypeOneOf, type context_DividerData as DividerData, type context_DocumentReady as DocumentReady, type context_DocumentStyle as DocumentStyle, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_DonationInput as DonationInput, type context_DonationInputOption as DonationInputOption, type context_Dropdown as Dropdown, type context_DropdownCustomOption as DropdownCustomOption, type context_DropdownOption as DropdownOption, type context_DynamicPriceOptions as DynamicPriceOptions, type context_EmailInfo as EmailInfo, context_EmailInfoTag as EmailInfoTag, type context_EmbedData as EmbedData, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventData as EventData, type context_ExtendedFields as ExtendedFields, type context_FieldGroup as FieldGroup, type context_FieldOverrides as FieldOverrides, context_FieldType as FieldType, type context_FieldsOverrides as FieldsOverrides, type context_FieldsSettings as FieldsSettings, type context_FileData as FileData, type context_FileSource as FileSource, type context_FileSourceDataOneOf as FileSourceDataOneOf, type context_FileUpload as FileUpload, context_FirstDayOfWeek as FirstDayOfWeek, context_FirstDayOfWeekEnumFirstDayOfWeek as FirstDayOfWeekEnumFirstDayOfWeek, type context_FixedPriceOptions as FixedPriceOptions, type context_FontSizeData as FontSizeData, context_FontType as FontType, type context_Form as Form, type context_FormDeletedSubmissionsCount as FormDeletedSubmissionsCount, type context_FormField as FormField, type context_FormFieldContactInfo as FormFieldContactInfo, type context_FormFieldContactInfoAdditionalInfoOneOf as FormFieldContactInfoAdditionalInfoOneOf, type context_FormFieldV2 as FormFieldV2, type context_FormFieldV2FieldTypeOptionsOneOf as FormFieldV2FieldTypeOptionsOneOf, type context_FormLayout as FormLayout, type context_FormOverride as FormOverride, type context_FormProperties as FormProperties, type context_FormRule as FormRule, type context_FormSubmission as FormSubmission, type context_FormSubmissionNonNullableFields as FormSubmissionNonNullableFields, type context_FormSubmissionStatusUpdatedEvent as FormSubmissionStatusUpdatedEvent, type context_FormSubmissionsCount as FormSubmissionsCount, context_Format as Format, context_FormatEnumFormat as FormatEnumFormat, type context_GIF as GIF, type context_GIFData as GIFData, type context_GalleryData as GalleryData, type context_GalleryOptions as GalleryOptions, type context_GetDeletedSubmissionRequest as GetDeletedSubmissionRequest, type context_GetDeletedSubmissionResponse as GetDeletedSubmissionResponse, type context_GetDeletedSubmissionResponseNonNullableFields as GetDeletedSubmissionResponseNonNullableFields, type context_GetMediaUploadURLRequest as GetMediaUploadURLRequest, type context_GetMediaUploadURLResponse as GetMediaUploadURLResponse, type context_GetMediaUploadURLResponseNonNullableFields as GetMediaUploadURLResponseNonNullableFields, type context_GetSubmissionByCheckoutIdRequest as GetSubmissionByCheckoutIdRequest, type context_GetSubmissionByCheckoutIdResponse as GetSubmissionByCheckoutIdResponse, type context_GetSubmissionDocumentRequest as GetSubmissionDocumentRequest, type context_GetSubmissionDocumentResponse as GetSubmissionDocumentResponse, type context_GetSubmissionDocumentResponseNonNullableFields as GetSubmissionDocumentResponseNonNullableFields, type context_GetSubmissionRequest as GetSubmissionRequest, type context_GetSubmissionResponse as GetSubmissionResponse, type context_GetSubmissionResponseNonNullableFields as GetSubmissionResponseNonNullableFields, type context_Gradient as Gradient, type context_Group as Group, type context_HTMLData as HTMLData, type context_HTMLDataDataOneOf as HTMLDataDataOneOf, type context_Header as Header, type context_HeadingData as HeadingData, type context_Height as Height, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_IdentityType as IdentityType, type context_Image as Image, type context_ImageData as ImageData, context_ImageFit as ImageFit, context_InitialExpandedItems as InitialExpandedItems, type context_InputField as InputField, type context_InputFieldArrayErrorMessages as InputFieldArrayErrorMessages, type context_InputFieldArrayType as InputFieldArrayType, type context_InputFieldBooleanErrorMessages as InputFieldBooleanErrorMessages, type context_InputFieldBooleanType as InputFieldBooleanType, type context_InputFieldInputTypeOptionsOneOf as InputFieldInputTypeOptionsOneOf, type context_InputFieldIntegerType as InputFieldIntegerType, type context_InputFieldMultilineAddress as InputFieldMultilineAddress, type context_InputFieldMultilineAddressComponentTypeOptionsOneOf as InputFieldMultilineAddressComponentTypeOptionsOneOf, type context_InputFieldNumberErrorMessages as InputFieldNumberErrorMessages, type context_InputFieldNumberType as InputFieldNumberType, type context_InputFieldObjectErrorMessages as InputFieldObjectErrorMessages, type context_InputFieldObjectType as InputFieldObjectType, type context_InputFieldStringErrorMessages as InputFieldStringErrorMessages, type context_InputFieldStringType as InputFieldStringType, type context_InputFieldStringTypeFormatOptionsOneOf as InputFieldStringTypeFormatOptionsOneOf, context_InputType as InputType, type context_IntegerType as IntegerType, type context_IsFormSubmittableRequest as IsFormSubmittableRequest, type context_IsFormSubmittableResponse as IsFormSubmittableResponse, type context_Item as Item, type context_ItemDataOneOf as ItemDataOneOf, type context_ItemLayout as ItemLayout, type context_ItemLayoutItemOneOf as ItemLayoutItemOneOf, type context_ItemMetadata as ItemMetadata, type context_ItemStyle as ItemStyle, context_ItemType as ItemType, context_Kind as Kind, type context_Layout as Layout, context_LayoutType as LayoutType, type context_LimitationRule as LimitationRule, context_LineStyle as LineStyle, type context_Link as Link, type context_LinkData as LinkData, type context_LinkDataOneOf as LinkDataOneOf, type context_LinkPreviewData as LinkPreviewData, context_LinkTarget as LinkTarget, type context_ListDeletedSubmissionsOptions as ListDeletedSubmissionsOptions, type context_ListDeletedSubmissionsRequest as ListDeletedSubmissionsRequest, type context_ListDeletedSubmissionsResponse as ListDeletedSubmissionsResponse, type context_ListDeletedSubmissionsResponseNonNullableFields as ListDeletedSubmissionsResponseNonNullableFields, type context_ListValue as ListValue, type context_MapData as MapData, type context_MapSettings as MapSettings, context_MapType as MapType, type context_Margin as Margin, type context_MarketingSubscriptionDetails as MarketingSubscriptionDetails, type context_Media as Media, type context_MediaItem as MediaItem, type context_MediaItemMediaOneOf as MediaItemMediaOneOf, type context_MentionData as MentionData, type context_MessageEnvelope as MessageEnvelope, type context_Metadata as Metadata, context_Mode as Mode, type context_MultilineAddress as MultilineAddress, context_MultilineAddressComponentType as MultilineAddressComponentType, type context_MultilineAddressValidation as MultilineAddressValidation, type context_NestedForm as NestedForm, type context_NestedFormFieldOverrides as NestedFormFieldOverrides, type context_NestedFormOverrides as NestedFormOverrides, type context_Node as Node, type context_NodeDataOneOf as NodeDataOneOf, type context_NodeStyle as NodeStyle, context_NodeType as NodeType, context_NullValue as NullValue, context_NumberComponentType as NumberComponentType, type context_NumberErrorMessages as NumberErrorMessages, type context_NumberInput as NumberInput, context_NumberOfColumns as NumberOfColumns, type context_NumberType as NumberType, type context_ObjectErrorMessages as ObjectErrorMessages, type context_ObjectType as ObjectType, type context_ObjectTypePropertiesType as ObjectTypePropertiesType, type context_ObjectTypePropertiesTypePropertiesTypeOptionsOneOf as ObjectTypePropertiesTypePropertiesTypeOptionsOneOf, type context_Oembed as Oembed, context_OptInLevel as OptInLevel, type context_Option as Option, type context_OptionDesign as OptionDesign, type context_OptionLayout as OptionLayout, type context_OrderDetails as OrderDetails, type context_OrderedListData as OrderedListData, context_Orientation as Orientation, context_OverrideEntityType as OverrideEntityType, type context_PDFSettings as PDFSettings, type context_ParagraphData as ParagraphData, type context_Payment as Payment, context_PaymentComponentType as PaymentComponentType, type context_PaymentComponentTypeOptionsOneOf as PaymentComponentTypeOptionsOneOf, type context_PaymentType as PaymentType, type context_Permissions as Permissions, type context_PhoneConstraints as PhoneConstraints, type context_PhoneInfo as PhoneInfo, context_PhoneInfoTag as PhoneInfoTag, type context_PhoneInput as PhoneInput, type context_PlaybackOptions as PlaybackOptions, type context_PluginContainerData as PluginContainerData, context_PluginContainerDataAlignment as PluginContainerDataAlignment, type context_PluginContainerDataWidth as PluginContainerDataWidth, type context_PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOf, type context_Poll as Poll, type context_PollData as PollData, type context_PollDataLayout as PollDataLayout, type context_PollDesign as PollDesign, type context_PollLayout as PollLayout, context_PollLayoutDirection as PollLayoutDirection, context_PollLayoutType as PollLayoutType, type context_PollOption as PollOption, type context_PostSubmissionTriggers as PostSubmissionTriggers, type context_PredefinedValidation as PredefinedValidation, type context_PredefinedValidationFormatOptionsOneOf as PredefinedValidationFormatOptionsOneOf, context_PriceType as PriceType, type context_Product as Product, type context_ProductCheckboxGroup as ProductCheckboxGroup, type context_ProductCheckboxGroupOption as ProductCheckboxGroupOption, type context_ProductPriceOptionsOneOf as ProductPriceOptionsOneOf, context_ProductType as ProductType, type context_PropertiesType as PropertiesType, context_PropertiesTypeEnum as PropertiesTypeEnum, type context_PropertiesTypePropertiesTypeOneOf as PropertiesTypePropertiesTypeOneOf, type context_QuantityLimit as QuantityLimit, type context_QuerySubmissionOptions as QuerySubmissionOptions, type context_QuerySubmissionRequest as QuerySubmissionRequest, type context_QuerySubmissionResponse as QuerySubmissionResponse, type context_QuerySubmissionResponseNonNullableFields as QuerySubmissionResponseNonNullableFields, type context_QuerySubmissionsByNamespaceForExportRequest as QuerySubmissionsByNamespaceForExportRequest, type context_QuerySubmissionsByNamespaceForExportResponse as QuerySubmissionsByNamespaceForExportResponse, type context_QuerySubmissionsByNamespaceOptions as QuerySubmissionsByNamespaceOptions, type context_QuerySubmissionsByNamespaceRequest as QuerySubmissionsByNamespaceRequest, type context_QuerySubmissionsByNamespaceResponse as QuerySubmissionsByNamespaceResponse, type context_QuerySubmissionsByNamespaceResponseNonNullableFields as QuerySubmissionsByNamespaceResponseNonNullableFields, type context_RadioGroup as RadioGroup, type context_RadioGroupCustomOption as RadioGroupCustomOption, type context_RadioGroupOption as RadioGroupOption, type context_RatingInput as RatingInput, type context_Redirect as Redirect, type context_RedirectOptions as RedirectOptions, type context_Rel as Rel, type context_RemoveSubmissionFromTrashBinRequest as RemoveSubmissionFromTrashBinRequest, type context_RemoveSubmissionFromTrashBinResponse as RemoveSubmissionFromTrashBinResponse, type context_RemovedSubmissionFromTrash as RemovedSubmissionFromTrash, context_RequiredIndicator as RequiredIndicator, context_RequiredIndicatorPlacement as RequiredIndicatorPlacement, type context_RequiredIndicatorProperties as RequiredIndicatorProperties, type context_RestoreInfo as RestoreInfo, type context_RestoreSubmissionFromTrashBinRequest as RestoreSubmissionFromTrashBinRequest, type context_RestoreSubmissionFromTrashBinResponse as RestoreSubmissionFromTrashBinResponse, type context_RestoreSubmissionFromTrashBinResponseNonNullableFields as RestoreSubmissionFromTrashBinResponseNonNullableFields, type context_RichContent as RichContent, type context_RichText as RichText, type context_SearchDetails as SearchDetails, type context_SearchSubmissionsByNamespaceForExportRequest as SearchSubmissionsByNamespaceForExportRequest, type context_SearchSubmissionsByNamespaceForExportResponse as SearchSubmissionsByNamespaceForExportResponse, type context_SearchSubmissionsByNamespaceRequest as SearchSubmissionsByNamespaceRequest, type context_SearchSubmissionsByNamespaceResponse as SearchSubmissionsByNamespaceResponse, type context_SearchSubmissionsByNamespaceResponseNonNullableFields as SearchSubmissionsByNamespaceResponseNonNullableFields, type context_Section as Section, type context_Settings as Settings, type context_Signature as Signature, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_Source as Source, context_SpamFilterProtectionLevel as SpamFilterProtectionLevel, type context_Spoiler as Spoiler, type context_SpoilerData as SpoilerData, context_Status as Status, type context_Step as Step, context_StringComponentType as StringComponentType, type context_StringErrorMessages as StringErrorMessages, type context_StringType as StringType, type context_StringTypeDateTimeConstraints as StringTypeDateTimeConstraints, type context_StringTypeFormatOptionsOneOf as StringTypeFormatOptionsOneOf, type context_StringTypePhoneConstraints as StringTypePhoneConstraints, type context_Styles as Styles, type context_SubmissionContactMapped as SubmissionContactMapped, type context_SubmissionContactMappingSkipped as SubmissionContactMappingSkipped, type context_SubmissionDocument as SubmissionDocument, type context_SubmissionDocumentDocumentOneOf as SubmissionDocumentDocumentOneOf, context_SubmissionStatus as SubmissionStatus, type context_SubmissionsQueryBuilder as SubmissionsQueryBuilder, type context_SubmissionsQueryResult as SubmissionsQueryResult, type context_SubmitButton as SubmitButton, type context_SubmitButtonSubmitActionOneOf as SubmitButtonSubmitActionOneOf, type context_SubmitContactResponse as SubmitContactResponse, type context_SubmitSettings as SubmitSettings, type context_SubmitSettingsSubmitSuccessActionOptionsOneOf as SubmitSettingsSubmitSuccessActionOptionsOneOf, context_SubmitSuccessAction as SubmitSuccessAction, type context_Submitter as Submitter, type context_SubmitterSubmitterOneOf as SubmitterSubmitterOneOf, type context_SubscriptionInfo as SubscriptionInfo, context_SubscriptionInfoOptInLevel as SubscriptionInfoOptInLevel, type context_TableCellData as TableCellData, type context_TableData as TableData, context_Tag as Tag, type context_Tags as Tags, type context_TagsOption as TagsOption, context_Target as Target, context_TextAlignment as TextAlignment, type context_TextData as TextData, type context_TextInput as TextInput, type context_TextNodeStyle as TextNodeStyle, type context_TextStyle as TextStyle, type context_ThankYouMessage as ThankYouMessage, type context_ThankYouMessageOptions as ThankYouMessageOptions, type context_Thumbnails as Thumbnails, context_ThumbnailsAlignment as ThumbnailsAlignment, type context_TimeInput as TimeInput, type context_TimeOptions as TimeOptions, context_Type as Type, type context_UpdateSubmission as UpdateSubmission, type context_UpdateSubmissionRequest as UpdateSubmissionRequest, type context_UpdateSubmissionResponse as UpdateSubmissionResponse, type context_UpdateSubmissionResponseNonNullableFields as UpdateSubmissionResponseNonNullableFields, context_UploadFileFormat as UploadFileFormat, type context_UpsertContact as UpsertContact, type context_UpsertContactFromSubmissionOptions as UpsertContactFromSubmissionOptions, type context_UpsertContactFromSubmissionRequest as UpsertContactFromSubmissionRequest, type context_UpsertContactFromSubmissionResponse as UpsertContactFromSubmissionResponse, type context_UpsertContactFromSubmissionResponseNonNullableFields as UpsertContactFromSubmissionResponseNonNullableFields, context_UrlTargetEnumTarget as UrlTargetEnumTarget, type context_Validation as Validation, context_ValidationFormat as ValidationFormat, type context_ValidationValidationOneOf as ValidationValidationOneOf, context_VerticalAlignment as VerticalAlignment, type context_Video as Video, type context_VideoData as VideoData, context_ViewMode as ViewMode, context_ViewRole as ViewRole, context_VoteRole as VoteRole, context_WebhookIdentityType as WebhookIdentityType, context_Width as Width, context_WidthType as WidthType, type context_WixFile as WixFile, context_WixFileComponentType as WixFileComponentType, type context_WixFileComponentTypeOptionsOneOf as WixFileComponentTypeOptionsOneOf, type context__Array as _Array, type context__ArrayComponentTypeOptionsOneOf as _ArrayComponentTypeOptionsOneOf, type context__Boolean as _Boolean, type context__BooleanComponentTypeOptionsOneOf as _BooleanComponentTypeOptionsOneOf, type context__Number as _Number, type context__NumberComponentTypeOptionsOneOf as _NumberComponentTypeOptionsOneOf, type context__Object as _Object, type context__ObjectValidationOneOf as _ObjectValidationOneOf, type context__String as _String, type context__StringComponentTypeOptionsOneOf as _StringComponentTypeOptionsOneOf, context_bulkCreateSubmissionBySubmitter as bulkCreateSubmissionBySubmitter, context_bulkDeleteSubmission as bulkDeleteSubmission, context_bulkMarkSubmissionsAsSeen as bulkMarkSubmissionsAsSeen, context_bulkRemoveSubmissionFromTrashBin as bulkRemoveSubmissionFromTrashBin, context_confirmSubmission as confirmSubmission, context_countDeletedSubmissions as countDeletedSubmissions, context_countSubmissions as countSubmissions, context_countSubmissionsByFilter as countSubmissionsByFilter, context_createSubmission as createSubmission, context_deleteSubmission as deleteSubmission, context_getDeletedSubmission as getDeletedSubmission, context_getMediaUploadUrl as getMediaUploadUrl, context_getSubmission as getSubmission, context_getSubmissionDocument as getSubmissionDocument, context_listDeletedSubmissions as listDeletedSubmissions, context_querySubmission as querySubmission, context_querySubmissionsByNamespace as querySubmissionsByNamespace, context_removeSubmissionFromTrashBin as removeSubmissionFromTrashBin, context_restoreSubmissionFromTrashBin as restoreSubmissionFromTrashBin, context_searchSubmissionsByNamespace as searchSubmissionsByNamespace, context_updateSubmission as updateSubmission, context_upsertContactFromSubmission as upsertContactFromSubmission };
11903
11170
  }
11904
11171
 
11905
11172
  export { context$1 as formSpamSubmissionReports, context$2 as forms, context as submissions };