@wix/forms 1.0.54 → 1.0.56
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.
- package/build/cjs/src/forms-v4-submission.public.d.ts +2 -2
- package/build/cjs/src/forms-v4-submission.public.js +7 -5
- package/build/cjs/src/forms-v4-submission.public.js.map +1 -1
- package/build/cjs/src/forms-v4-submission.types.d.ts +222 -147
- package/build/cjs/src/forms-v4-submission.types.js +48 -31
- package/build/cjs/src/forms-v4-submission.types.js.map +1 -1
- package/build/cjs/src/forms-v4-submission.universal.d.ts +199 -124
- package/build/cjs/src/forms-v4-submission.universal.js +48 -31
- package/build/cjs/src/forms-v4-submission.universal.js.map +1 -1
- package/build/es/src/forms-v4-submission.public.d.ts +2 -2
- package/build/es/src/forms-v4-submission.public.js +1 -1
- package/build/es/src/forms-v4-submission.public.js.map +1 -1
- package/build/es/src/forms-v4-submission.types.d.ts +222 -147
- package/build/es/src/forms-v4-submission.types.js +46 -29
- package/build/es/src/forms-v4-submission.types.js.map +1 -1
- package/build/es/src/forms-v4-submission.universal.d.ts +199 -124
- package/build/es/src/forms-v4-submission.universal.js +46 -29
- package/build/es/src/forms-v4-submission.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -39,5 +39,5 @@ export declare function countSubmissions(httpClient: HttpClient): (formIds: stri
|
|
|
39
39
|
export declare function countDeletedSubmissions(httpClient: HttpClient): (formIds: string[], namespace: string, options?: CountDeletedSubmissionsOptions | undefined) => Promise<import("./forms-v4-submission.universal").CountDeletedSubmissionsResponse & import("./forms-v4-submission.universal").CountDeletedSubmissionsResponseNonNullableFields>;
|
|
40
40
|
export declare function getMediaUploadUrl(httpClient: HttpClient): (formId: string, filename: string, mimeType: string) => Promise<import("./forms-v4-submission.universal").GetMediaUploadURLResponse & import("./forms-v4-submission.universal").GetMediaUploadURLResponseNonNullableFields>;
|
|
41
41
|
export declare function bulkMarkSubmissionsAsSeen(httpClient: HttpClient): (ids: string[], formId: string) => Promise<void>;
|
|
42
|
-
export { SubmissionStatus, Format, ValidationFormat, ProductType, PriceType, NodeType, WidthType, PluginContainerDataAlignment, Type, LinkTarget, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue,
|
|
43
|
-
export { FormSubmission, Owner, OwnerOwnerOneOf, Submitter, SubmitterSubmitterOneOf, ExtendedFields, OrderDetails, CreateCheckoutFromSubmissionRequest, CreateCheckoutFromSubmissionRequestFormSchemaIdentifierOneOf, Form, FormField, StringType, StringTypeFormatOptionsOneOf, StringErrorMessages, DateTimeConstraints, NumberType, NumberErrorMessages, IntegerType, BooleanType, BooleanErrorMessages, ArrayType, ObjectType, PropertiesType, PropertiesTypePropertiesTypeOneOf, ObjectErrorMessages, ArrayItems, ArrayItemsItemsOneOf, ArrayErrorMessages, PredefinedValidation, PredefinedValidationFormatOptionsOneOf, PaymentType, QuantityLimit, FixedPriceOptions, DynamicPriceOptions, Product, ProductPriceOptionsOneOf, NestedFormFieldOverrides, Validation, ValidationValidationOneOf, DataExtensionsDetails, NestedFormOverrides, FormFieldV2, FormFieldV2FieldTypeOptionsOneOf, RichContent, Node, NodeDataOneOf, NodeStyle, ButtonData, Border, Colors, PluginContainerData, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Spoiler, Height, Styles, Link, LinkDataOneOf, Rel, CodeBlockData, TextStyle, DividerData, FileData, FileSource, FileSourceDataOneOf, PDFSettings, GalleryData, Media, Image, Video, Item, ItemDataOneOf, GalleryOptions, Layout, ItemStyle, Thumbnails, GIFData, GIF, HeadingData, HTMLData, HTMLDataDataOneOf, ImageData, LinkPreviewData, MapData, MapSettings, ParagraphData, PollData, Permissions, PollOption, Settings, PollLayout, OptionLayout, Gradient, Background, BackgroundBackgroundOneOf, PollDesign, OptionDesign, Poll, PollDataLayout, Design, TextData, Decoration, DecorationDataOneOf, AnchorData, ColorData, LinkData, MentionData, FontSizeData, AppEmbedData, AppEmbedDataAppDataOneOf, BookingData, EventData, VideoData, PlaybackOptions, EmbedData, Oembed, CollapsibleListData, TableData, Dimensions, TableCellData, CellStyle, BorderColors, ListValue, AudioData, OrderedListData, BulletedListData, BlockquoteData, Metadata, DocumentStyle, TextNodeStyle, RadioGroupOption, RadioGroupCustomOption, DropdownOption, DropdownCustomOption,
|
|
42
|
+
export { SubmissionStatus, Format, ValidationFormat, ProductType, PriceType, FormatEnumFormat, StringComponentType, NodeType, WidthType, PluginContainerDataAlignment, Type, LinkTarget, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, Source, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, DateFormatPart, DateTimeInputType, NumberComponentType, BooleanComponentType, ItemType, PropertiesTypePropertiesType, ComponentType, WixFileComponentType, UploadFileFormat, PaymentComponentType, InputType, Target, FieldType, OverrideEntityType, Kind, EmailInfoTag, PhoneInfoTag, Tag, ContactField, IdentityType, SortOrder, } from './forms-v4-submission.universal';
|
|
43
|
+
export { FormSubmission, Owner, OwnerOwnerOneOf, Submitter, SubmitterSubmitterOneOf, ExtendedFields, OrderDetails, CreateCheckoutFromSubmissionRequest, CreateCheckoutFromSubmissionRequestFormSchemaIdentifierOneOf, Form, FormField, StringType, StringTypeFormatOptionsOneOf, StringErrorMessages, DateTimeConstraints, NumberType, NumberErrorMessages, IntegerType, BooleanType, BooleanErrorMessages, ArrayType, ObjectType, PropertiesType, PropertiesTypePropertiesTypeOneOf, ObjectErrorMessages, ArrayItems, ArrayItemsItemsOneOf, ArrayErrorMessages, PredefinedValidation, PredefinedValidationFormatOptionsOneOf, PaymentType, QuantityLimit, FixedPriceOptions, DynamicPriceOptions, Product, ProductPriceOptionsOneOf, NestedFormFieldOverrides, Validation, ValidationValidationOneOf, DataExtensionsDetails, NestedFormOverrides, FormFieldV2, FormFieldV2FieldTypeOptionsOneOf, InputFieldStringType, InputFieldStringErrorMessages, TextInput, RichContent, Node, NodeDataOneOf, NodeStyle, ButtonData, Border, Colors, PluginContainerData, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Spoiler, Height, Styles, Link, LinkDataOneOf, Rel, CodeBlockData, TextStyle, DividerData, FileData, FileSource, FileSourceDataOneOf, PDFSettings, GalleryData, Media, Image, Video, Item, ItemDataOneOf, GalleryOptions, Layout, ItemStyle, Thumbnails, GIFData, GIF, HeadingData, HTMLData, HTMLDataDataOneOf, ImageData, LinkPreviewData, MapData, MapSettings, ParagraphData, PollData, Permissions, PollOption, Settings, PollLayout, OptionLayout, Gradient, Background, BackgroundBackgroundOneOf, PollDesign, OptionDesign, Poll, PollDataLayout, Design, TextData, Decoration, DecorationDataOneOf, AnchorData, ColorData, LinkData, MentionData, FontSizeData, AppEmbedData, AppEmbedDataAppDataOneOf, BookingData, EventData, VideoData, PlaybackOptions, EmbedData, Oembed, CollapsibleListData, TableData, Dimensions, TableCellData, CellStyle, BorderColors, ListValue, AudioData, OrderedListData, BulletedListData, BlockquoteData, Metadata, DocumentStyle, TextNodeStyle, RadioGroup, RadioGroupOption, RadioGroupCustomOption, Dropdown, DropdownOption, DropdownCustomOption, DateTimeInput, DateTimeInputDateTimeInputTypeOptionsOneOf, DateTimeOptions, DateOptions, TimeOptions, InputFieldNumberType, InputFieldNumberErrorMessages, NumberInput, InputFieldBooleanType, InputFieldBooleanErrorMessages, Checkbox, InputFieldArrayType, InputFieldIntegerType, InputFieldObjectType, ObjectTypePropertiesType, ObjectTypePropertiesTypePropertiesTypeOptionsOneOf, InputFieldObjectErrorMessages, ArrayTypeArrayItems, ArrayTypeArrayItemsItemTypeOptionsOneOf, InputFieldArrayErrorMessages, CheckboxGroup, MediaItem, MediaItemMediaOneOf, Option, CustomOption, FileUpload, ProductCheckboxGroup, ProductCheckboxGroupOption, _String, _StringComponentTypeOptionsOneOf, _Number, _NumberComponentTypeOptionsOneOf, _Boolean, _BooleanComponentTypeOptionsOneOf, _Array, _ArrayComponentTypeOptionsOneOf, _Object, _ObjectValidationOneOf, WixFile, WixFileComponentTypeOptionsOneOf, Payment, PaymentComponentTypeOptionsOneOf, Header, RichText, ThankYouMessage, Redirect, InputField, InputFieldInputTypeOptionsOneOf, DisplayField, DisplayFieldComponentTypeOneOf, SubmitButton, SubmitButtonSubmitActionOneOf, Step, FormLayout, BreakPoint, ItemLayout, Margin, Section, FormRule, FormOverride, FormProperties, PostSubmissionTriggers, UpsertContact, FormFieldContactInfo, FormFieldContactInfoAdditionalInfoOneOf, EmailInfo, PhoneInfo, AddressInfo, CustomFieldInfo, NestedForm, CreateCheckoutFromSubmissionResponse, IsFormSubmittableRequest, IsFormSubmittableResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, UpsertContactFromSubmissionRequest, UpsertContactFromSubmissionResponse, SubmitContactResponse, SubmissionContactMapped, SubmissionContactMappingSkipped, CreateSubmissionRequest, CreateSubmissionResponse, CreateSubmissionBySubmitterRequest, CreateSubmissionBySubmitterResponse, BulkCreateSubmissionBySubmitterRequest, BulkCreateSubmissionBySubmitterResponse, BulkSubmissionResult, ItemMetadata, ApplicationError, BulkActionMetadata, GetSubmissionRequest, GetSubmissionResponse, UpdateSubmissionRequest, UpdateSubmissionResponse, ConfirmSubmissionRequest, ConfirmSubmissionResponse, FormSubmissionStatusUpdatedEvent, DeleteSubmissionRequest, DeleteSubmissionResponse, BulkDeleteSubmissionRequest, BulkDeleteSubmissionResponse, BulkDeleteSubmissionResult, RestoreSubmissionFromTrashBinRequest, RestoreSubmissionFromTrashBinResponse, RemoveSubmissionFromTrashBinRequest, RemoveSubmissionFromTrashBinResponse, RemovedSubmissionFromTrash, BulkRemoveSubmissionFromTrashBinRequest, BulkRemoveSubmissionFromTrashBinResponse, BulkRemoveSubmissionFromTrashBinResult, ListDeletedSubmissionsRequest, CursorPaging, ListDeletedSubmissionsResponse, CursorPagingMetadata, Cursors, GetDeletedSubmissionRequest, GetDeletedSubmissionResponse, QuerySubmissionRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, QuerySubmissionResponse, QuerySubmissionsByNamespaceRequest, QuerySubmissionsByNamespaceResponse, CountSubmissionsRequest, CountSubmissionsResponse, FormSubmissionsCount, CountDeletedSubmissionsRequest, CountDeletedSubmissionsResponse, FormDeletedSubmissionsCount, GetMediaUploadURLRequest, GetMediaUploadURLResponse, BulkMarkSubmissionsAsSeenRequest, BulkMarkSubmissionsAsSeenResponse, Task, TaskKey, TaskAction, TaskActionActionOneOf, Complete, Cancel, Reschedule, CreateSubmissionResponseNonNullableFields, GetSubmissionResponseNonNullableFields, UpdateSubmissionResponseNonNullableFields, ConfirmSubmissionResponseNonNullableFields, BulkDeleteSubmissionResponseNonNullableFields, RestoreSubmissionFromTrashBinResponseNonNullableFields, BulkRemoveSubmissionFromTrashBinResponseNonNullableFields, ListDeletedSubmissionsResponseNonNullableFields, GetDeletedSubmissionResponseNonNullableFields, QuerySubmissionsByNamespaceResponseNonNullableFields, CountSubmissionsResponseNonNullableFields, CountDeletedSubmissionsResponseNonNullableFields, GetMediaUploadURLResponseNonNullableFields, CreateSubmissionOptions, UpdateSubmission, DeleteSubmissionOptions, BulkDeleteSubmissionOptions, BulkRemoveSubmissionFromTrashBinOptions, ListDeletedSubmissionsOptions, QuerySubmissionsByNamespaceOptions, SubmissionsQueryResult, SubmissionsQueryBuilder, CountSubmissionsOptions, CountDeletedSubmissionsOptions, } from './forms-v4-submission.universal';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.SortOrder = exports.IdentityType = exports.ContactField = exports.Tag = exports.PhoneInfoTag = exports.EmailInfoTag = exports.Kind = exports.OverrideEntityType = exports.FieldType = exports.Target = exports.InputType = exports.PaymentComponentType = exports.
|
|
3
|
+
exports.Direction = exports.InitialExpandedItems = exports.AppType = exports.FontType = exports.DecorationType = exports.BackgroundType = exports.PollLayoutDirection = exports.PollLayoutType = exports.VoteRole = exports.ViewRole = exports.MapType = exports.Source = exports.ThumbnailsAlignment = exports.Crop = exports.Orientation = exports.LayoutType = exports.ViewMode = exports.Alignment = exports.Width = exports.LineStyle = exports.TextAlignment = exports.LinkTarget = exports.Type = exports.PluginContainerDataAlignment = exports.WidthType = exports.NodeType = exports.StringComponentType = exports.FormatEnumFormat = exports.PriceType = exports.ProductType = exports.ValidationFormat = exports.Format = exports.SubmissionStatus = exports.bulkMarkSubmissionsAsSeen = exports.getMediaUploadUrl = exports.countDeletedSubmissions = exports.countSubmissions = exports.querySubmissionsByNamespace = exports.getDeletedSubmission = exports.listDeletedSubmissions = exports.bulkRemoveSubmissionFromTrashBin = exports.removeSubmissionFromTrashBin = exports.restoreSubmissionFromTrashBin = exports.bulkDeleteSubmission = exports.deleteSubmission = exports.confirmSubmission = exports.updateSubmission = exports.getSubmission = exports.createSubmission = exports.__metadata = void 0;
|
|
4
|
+
exports.SortOrder = exports.IdentityType = exports.ContactField = exports.Tag = exports.PhoneInfoTag = exports.EmailInfoTag = exports.Kind = exports.OverrideEntityType = exports.FieldType = exports.Target = exports.InputType = exports.PaymentComponentType = exports.UploadFileFormat = exports.WixFileComponentType = exports.ComponentType = exports.PropertiesTypePropertiesType = exports.ItemType = exports.BooleanComponentType = exports.NumberComponentType = exports.DateTimeInputType = exports.DateFormatPart = exports.NullValue = exports.VerticalAlignment = void 0;
|
|
5
5
|
const forms_v4_submission_universal_1 = require("./forms-v4-submission.universal");
|
|
6
6
|
exports.__metadata = { PACKAGE_NAME: '@wix/forms' };
|
|
7
7
|
function createSubmission(httpClient) {
|
|
@@ -106,6 +106,8 @@ Object.defineProperty(exports, "Format", { enumerable: true, get: function () {
|
|
|
106
106
|
Object.defineProperty(exports, "ValidationFormat", { enumerable: true, get: function () { return forms_v4_submission_universal_2.ValidationFormat; } });
|
|
107
107
|
Object.defineProperty(exports, "ProductType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.ProductType; } });
|
|
108
108
|
Object.defineProperty(exports, "PriceType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.PriceType; } });
|
|
109
|
+
Object.defineProperty(exports, "FormatEnumFormat", { enumerable: true, get: function () { return forms_v4_submission_universal_2.FormatEnumFormat; } });
|
|
110
|
+
Object.defineProperty(exports, "StringComponentType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.StringComponentType; } });
|
|
109
111
|
Object.defineProperty(exports, "NodeType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.NodeType; } });
|
|
110
112
|
Object.defineProperty(exports, "WidthType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.WidthType; } });
|
|
111
113
|
Object.defineProperty(exports, "PluginContainerDataAlignment", { enumerable: true, get: function () { return forms_v4_submission_universal_2.PluginContainerDataAlignment; } });
|
|
@@ -134,15 +136,15 @@ Object.defineProperty(exports, "InitialExpandedItems", { enumerable: true, get:
|
|
|
134
136
|
Object.defineProperty(exports, "Direction", { enumerable: true, get: function () { return forms_v4_submission_universal_2.Direction; } });
|
|
135
137
|
Object.defineProperty(exports, "VerticalAlignment", { enumerable: true, get: function () { return forms_v4_submission_universal_2.VerticalAlignment; } });
|
|
136
138
|
Object.defineProperty(exports, "NullValue", { enumerable: true, get: function () { return forms_v4_submission_universal_2.NullValue; } });
|
|
137
|
-
Object.defineProperty(exports, "
|
|
138
|
-
Object.defineProperty(exports, "
|
|
139
|
+
Object.defineProperty(exports, "DateFormatPart", { enumerable: true, get: function () { return forms_v4_submission_universal_2.DateFormatPart; } });
|
|
140
|
+
Object.defineProperty(exports, "DateTimeInputType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.DateTimeInputType; } });
|
|
139
141
|
Object.defineProperty(exports, "NumberComponentType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.NumberComponentType; } });
|
|
140
142
|
Object.defineProperty(exports, "BooleanComponentType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.BooleanComponentType; } });
|
|
141
143
|
Object.defineProperty(exports, "ItemType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.ItemType; } });
|
|
142
144
|
Object.defineProperty(exports, "PropertiesTypePropertiesType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.PropertiesTypePropertiesType; } });
|
|
143
145
|
Object.defineProperty(exports, "ComponentType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.ComponentType; } });
|
|
144
|
-
Object.defineProperty(exports, "UploadFileFormat", { enumerable: true, get: function () { return forms_v4_submission_universal_2.UploadFileFormat; } });
|
|
145
146
|
Object.defineProperty(exports, "WixFileComponentType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.WixFileComponentType; } });
|
|
147
|
+
Object.defineProperty(exports, "UploadFileFormat", { enumerable: true, get: function () { return forms_v4_submission_universal_2.UploadFileFormat; } });
|
|
146
148
|
Object.defineProperty(exports, "PaymentComponentType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.PaymentComponentType; } });
|
|
147
149
|
Object.defineProperty(exports, "InputType", { enumerable: true, get: function () { return forms_v4_submission_universal_2.InputType; } });
|
|
148
150
|
Object.defineProperty(exports, "Target", { enumerable: true, get: function () { return forms_v4_submission_universal_2.Target; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forms-v4-submission.public.js","sourceRoot":"","sources":["../../../src/forms-v4-submission.public.ts"],"names":[],"mappings":";;;;AACA,mFA2ByC;AAE5B,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC;AAEzD,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,CAAC,UAA0B,EAAE,OAAiC,EAAE,EAAE,CACvE,IAAA,gDAAyB,EACvB,UAAU,EACV,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,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;AACN,CAAC;AAbD,0DAaC;AAED,SAAgB,iBAAiB,CAAC,UAAsB;IACtD,OAAO,CAAC,MAAc,EAAE,QAAgB,EAAE,QAAgB,EAAE,EAAE,CAC5D,IAAA,iDAA0B,EACxB,MAAM,EACN,QAAQ,EACR,QAAQ;IACR,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,8CASC;AAED,SAAgB,yBAAyB,CAAC,UAAsB;IAC9D,OAAO,CAAC,GAAa,EAAE,MAAc,EAAE,EAAE,CACvC,IAAA,yDAAkC,EAChC,GAAG,EACH,MAAM;IACN,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,8DAQC;AAED,
|
|
1
|
+
{"version":3,"file":"forms-v4-submission.public.js","sourceRoot":"","sources":["../../../src/forms-v4-submission.public.ts"],"names":[],"mappings":";;;;AACA,mFA2ByC;AAE5B,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC;AAEzD,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,CAAC,UAA0B,EAAE,OAAiC,EAAE,EAAE,CACvE,IAAA,gDAAyB,EACvB,UAAU,EACV,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,4CAQC;AAED,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,YAAoB,EAAE,EAAE,CAC9B,IAAA,6CAAsB,EACpB,YAAY;IACZ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sCAOC;AAED,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,CAAC,GAAkB,EAAE,UAA4B,EAAE,EAAE,CAC1D,IAAA,gDAAyB,EACvB,GAAG,EACH,UAAU;IACV,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,4CAQC;AAED,SAAgB,iBAAiB,CAAC,UAAsB;IACtD,OAAO,CAA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AA;AACT,mIAAA,kBAAkB,OAAA;AAClB,qHAAA,IAAI,OAAA;AACJ,6HAAA,YAAY,OAAA;AACZ,6HAAA,YAAY,OAAA;AACZ,oHAAA,GAAG,OAAA;AACH,6HAAA,YAAY,OAAA;AACZ,6HAAA,YAAY,OAAA;AACZ,0HAAA,SAAS,OAAA"}
|
|
@@ -566,6 +566,60 @@ export interface FormFieldV2FieldTypeOptionsOneOf {
|
|
|
566
566
|
/** Submit button of the form */
|
|
567
567
|
submitOptions?: SubmitButton;
|
|
568
568
|
}
|
|
569
|
+
export interface InputFieldStringType {
|
|
570
|
+
/** Minimum length. */
|
|
571
|
+
minLength?: number | null;
|
|
572
|
+
/** Maximum length. */
|
|
573
|
+
maxLength?: number | null;
|
|
574
|
+
/** Pattern for a regular expression match. */
|
|
575
|
+
pattern?: string | null;
|
|
576
|
+
/** Format of a string. */
|
|
577
|
+
format?: FormatEnumFormat;
|
|
578
|
+
/** Custom error messages when validation fails. */
|
|
579
|
+
errorMessages?: InputFieldStringErrorMessages;
|
|
580
|
+
/** List of allowed values. */
|
|
581
|
+
enum?: string[] | null;
|
|
582
|
+
}
|
|
583
|
+
export declare enum FormatEnumFormat {
|
|
584
|
+
UNDEFINED = "UNDEFINED",
|
|
585
|
+
DATE = "DATE",
|
|
586
|
+
TIME = "TIME",
|
|
587
|
+
DATE_TIME = "DATE_TIME",
|
|
588
|
+
EMAIL = "EMAIL",
|
|
589
|
+
URL = "URL",
|
|
590
|
+
UUID = "UUID",
|
|
591
|
+
PHONE = "PHONE",
|
|
592
|
+
URI = "URI",
|
|
593
|
+
HOSTNAME = "HOSTNAME",
|
|
594
|
+
COLOR_HEX = "COLOR_HEX",
|
|
595
|
+
CURRENCY = "CURRENCY",
|
|
596
|
+
LANGUAGE = "LANGUAGE",
|
|
597
|
+
DATE_OPTIONAL_TIME = "DATE_OPTIONAL_TIME"
|
|
598
|
+
}
|
|
599
|
+
export interface InputFieldStringErrorMessages {
|
|
600
|
+
/** Default error message on invalid validation. */
|
|
601
|
+
default?: string | null;
|
|
602
|
+
}
|
|
603
|
+
export declare enum StringComponentType {
|
|
604
|
+
UNKNOWN = "UNKNOWN",
|
|
605
|
+
TEXT_INPUT = "TEXT_INPUT",
|
|
606
|
+
RADIO_GROUP = "RADIO_GROUP",
|
|
607
|
+
DROPDOWN = "DROPDOWN",
|
|
608
|
+
DATE_TIME = "DATE_TIME"
|
|
609
|
+
}
|
|
610
|
+
export interface TextInput {
|
|
611
|
+
/** Label of the field */
|
|
612
|
+
label?: string | null;
|
|
613
|
+
/** Description of the field */
|
|
614
|
+
description?: RichContent;
|
|
615
|
+
/** Placeholder for the value input */
|
|
616
|
+
placeholder?: string | null;
|
|
617
|
+
/**
|
|
618
|
+
* Flag identifying to hide or not label
|
|
619
|
+
* Default: true
|
|
620
|
+
*/
|
|
621
|
+
showLabel?: boolean | null;
|
|
622
|
+
}
|
|
569
623
|
export interface RichContent {
|
|
570
624
|
/** Node objects representing a rich content document. */
|
|
571
625
|
nodes?: Node[];
|
|
@@ -1754,6 +1808,24 @@ export interface TextNodeStyle {
|
|
|
1754
1808
|
/** Line height for text in the node. */
|
|
1755
1809
|
lineHeight?: string | null;
|
|
1756
1810
|
}
|
|
1811
|
+
export interface RadioGroup {
|
|
1812
|
+
/** Label of the field */
|
|
1813
|
+
label?: string | null;
|
|
1814
|
+
/** Description of the field */
|
|
1815
|
+
description?: RichContent;
|
|
1816
|
+
/**
|
|
1817
|
+
* Flag identifying to show option allowing input custom value
|
|
1818
|
+
* List of options to select from
|
|
1819
|
+
*/
|
|
1820
|
+
options?: RadioGroupOption[];
|
|
1821
|
+
/**
|
|
1822
|
+
* Flag identifying to hide or not label
|
|
1823
|
+
* Default: true
|
|
1824
|
+
*/
|
|
1825
|
+
showLabel?: boolean | null;
|
|
1826
|
+
/** Option which can be specified by UoU, enabled when this object is specified. */
|
|
1827
|
+
customOption?: RadioGroupCustomOption;
|
|
1828
|
+
}
|
|
1757
1829
|
export interface RadioGroupOption {
|
|
1758
1830
|
/** Selectable option label */
|
|
1759
1831
|
label?: string | null;
|
|
@@ -1770,6 +1842,23 @@ export interface RadioGroupCustomOption {
|
|
|
1770
1842
|
/** Placeholder of custom option input */
|
|
1771
1843
|
placeholder?: string | null;
|
|
1772
1844
|
}
|
|
1845
|
+
export interface Dropdown {
|
|
1846
|
+
/** Label of the field */
|
|
1847
|
+
label?: string | null;
|
|
1848
|
+
/** Description of the field */
|
|
1849
|
+
description?: RichContent;
|
|
1850
|
+
/** List of options to select from */
|
|
1851
|
+
options?: DropdownOption[];
|
|
1852
|
+
/**
|
|
1853
|
+
* Flag identifying to hide or not label
|
|
1854
|
+
* Default: true
|
|
1855
|
+
*/
|
|
1856
|
+
showLabel?: boolean | null;
|
|
1857
|
+
/** Option which can be specified by UoU, enabled when this object is specified. */
|
|
1858
|
+
customOption?: DropdownCustomOption;
|
|
1859
|
+
/** Placeholder of dropdown input */
|
|
1860
|
+
placeholder?: string | null;
|
|
1861
|
+
}
|
|
1773
1862
|
export interface DropdownOption {
|
|
1774
1863
|
/** Selectable option label */
|
|
1775
1864
|
label?: string | null;
|
|
@@ -1786,93 +1875,75 @@ export interface DropdownCustomOption {
|
|
|
1786
1875
|
/** Placeholder of custom option input */
|
|
1787
1876
|
placeholder?: string | null;
|
|
1788
1877
|
}
|
|
1789
|
-
export interface
|
|
1790
|
-
/**
|
|
1791
|
-
|
|
1792
|
-
/**
|
|
1793
|
-
|
|
1794
|
-
/**
|
|
1795
|
-
|
|
1796
|
-
/**
|
|
1797
|
-
format?: FormatEnumFormat;
|
|
1798
|
-
/** Custom error messages when validation fails. */
|
|
1799
|
-
errorMessages?: InputFieldStringErrorMessages;
|
|
1800
|
-
/** List of allowed values. */
|
|
1801
|
-
enum?: string[] | null;
|
|
1802
|
-
}
|
|
1803
|
-
export declare enum FormatEnumFormat {
|
|
1804
|
-
UNDEFINED = "UNDEFINED",
|
|
1805
|
-
DATE = "DATE",
|
|
1806
|
-
TIME = "TIME",
|
|
1807
|
-
DATE_TIME = "DATE_TIME",
|
|
1808
|
-
EMAIL = "EMAIL",
|
|
1809
|
-
URL = "URL",
|
|
1810
|
-
UUID = "UUID",
|
|
1811
|
-
PHONE = "PHONE",
|
|
1812
|
-
URI = "URI",
|
|
1813
|
-
HOSTNAME = "HOSTNAME",
|
|
1814
|
-
COLOR_HEX = "COLOR_HEX",
|
|
1815
|
-
CURRENCY = "CURRENCY",
|
|
1816
|
-
LANGUAGE = "LANGUAGE",
|
|
1817
|
-
DATE_OPTIONAL_TIME = "DATE_OPTIONAL_TIME"
|
|
1818
|
-
}
|
|
1819
|
-
export interface InputFieldStringErrorMessages {
|
|
1820
|
-
/** Default error message on invalid validation. */
|
|
1821
|
-
default?: string | null;
|
|
1822
|
-
}
|
|
1823
|
-
export declare enum StringComponentType {
|
|
1824
|
-
UNKNOWN = "UNKNOWN",
|
|
1825
|
-
TEXT_INPUT = "TEXT_INPUT",
|
|
1826
|
-
RADIO_GROUP = "RADIO_GROUP",
|
|
1827
|
-
DROPDOWN = "DROPDOWN"
|
|
1828
|
-
}
|
|
1829
|
-
export interface TextInput {
|
|
1830
|
-
/** Label of the field */
|
|
1878
|
+
export interface DateTimeInput extends DateTimeInputDateTimeInputTypeOptionsOneOf {
|
|
1879
|
+
/** Options specific to the combined Date and Time input type. */
|
|
1880
|
+
dateTimeOptions?: DateTimeOptions;
|
|
1881
|
+
/** Options specific to the Date-only input type. */
|
|
1882
|
+
dateOptions?: DateOptions;
|
|
1883
|
+
/** Options specific to the Time-only input type. */
|
|
1884
|
+
timeOptions?: TimeOptions;
|
|
1885
|
+
/** Label of the field. Displayed text for the date/time input. */
|
|
1831
1886
|
label?: string | null;
|
|
1832
|
-
/** Description of the field */
|
|
1887
|
+
/** Description of the field. Additional information about the date/time input. */
|
|
1833
1888
|
description?: RichContent;
|
|
1834
|
-
/** Placeholder for the value input */
|
|
1835
|
-
placeholder?: string | null;
|
|
1836
1889
|
/**
|
|
1837
|
-
* Flag identifying to
|
|
1890
|
+
* Flag identifying whether to show or hide the label.
|
|
1838
1891
|
* Default: true
|
|
1839
1892
|
*/
|
|
1840
1893
|
showLabel?: boolean | null;
|
|
1841
|
-
}
|
|
1842
|
-
export interface RadioGroup {
|
|
1843
|
-
/** Label of the field */
|
|
1844
|
-
label?: string | null;
|
|
1845
|
-
/** Description of the field */
|
|
1846
|
-
description?: RichContent;
|
|
1847
1894
|
/**
|
|
1848
|
-
* Flag identifying to show
|
|
1849
|
-
*
|
|
1895
|
+
* Flag identifying whether to show or hide the placeholder.
|
|
1896
|
+
* Default: true
|
|
1850
1897
|
*/
|
|
1851
|
-
|
|
1898
|
+
showPlaceholder?: boolean | null;
|
|
1852
1899
|
/**
|
|
1853
|
-
*
|
|
1854
|
-
*
|
|
1900
|
+
* Date and/or time input component type
|
|
1901
|
+
* @readonly
|
|
1855
1902
|
*/
|
|
1856
|
-
|
|
1857
|
-
/** Option which can be specified by UoU, enabled when this object is specified. */
|
|
1858
|
-
customOption?: RadioGroupCustomOption;
|
|
1903
|
+
dateTimeInputType?: DateTimeInputType;
|
|
1859
1904
|
}
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1905
|
+
/** @oneof */
|
|
1906
|
+
export interface DateTimeInputDateTimeInputTypeOptionsOneOf {
|
|
1907
|
+
/** Options specific to the combined Date and Time input type. */
|
|
1908
|
+
dateTimeOptions?: DateTimeOptions;
|
|
1909
|
+
/** Options specific to the Date-only input type. */
|
|
1910
|
+
dateOptions?: DateOptions;
|
|
1911
|
+
/** Options specific to the Time-only input type. */
|
|
1912
|
+
timeOptions?: TimeOptions;
|
|
1913
|
+
}
|
|
1914
|
+
export declare enum DateFormatPart {
|
|
1915
|
+
YEAR = "YEAR",
|
|
1916
|
+
MONTH = "MONTH",
|
|
1917
|
+
DAY = "DAY"
|
|
1918
|
+
}
|
|
1919
|
+
export declare enum DateTimeInputType {
|
|
1920
|
+
UNKNOWN = "UNKNOWN",
|
|
1921
|
+
/** Show date and time input */
|
|
1922
|
+
DATE_TIME = "DATE_TIME",
|
|
1923
|
+
/** Show only date input */
|
|
1924
|
+
DATE = "DATE",
|
|
1925
|
+
/** Show only time input */
|
|
1926
|
+
TIME = "TIME"
|
|
1927
|
+
}
|
|
1928
|
+
export interface DateTimeOptions {
|
|
1929
|
+
/** Order of date picking component parts (e.g., YEAR, MONTH, DAY). */
|
|
1930
|
+
dateFormatParts?: DateFormatPart[];
|
|
1867
1931
|
/**
|
|
1868
|
-
* Flag
|
|
1869
|
-
* Default:
|
|
1932
|
+
* Flag indicating whether to use the 24-hour time format.
|
|
1933
|
+
* Default: false.
|
|
1870
1934
|
*/
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
/**
|
|
1875
|
-
|
|
1935
|
+
use24HourFormat?: boolean;
|
|
1936
|
+
}
|
|
1937
|
+
export interface DateOptions {
|
|
1938
|
+
/** Order of date picking component parts (e.g., YEAR, MONTH, DAY). */
|
|
1939
|
+
dateFormatParts?: DateFormatPart[];
|
|
1940
|
+
}
|
|
1941
|
+
export interface TimeOptions {
|
|
1942
|
+
/**
|
|
1943
|
+
* Flag indicating whether to use the 24-hour time format.
|
|
1944
|
+
* Default: false.
|
|
1945
|
+
*/
|
|
1946
|
+
use24HourFormat?: boolean;
|
|
1876
1947
|
}
|
|
1877
1948
|
export interface InputFieldNumberType {
|
|
1878
1949
|
/** Inclusive maximum value. */
|
|
@@ -1925,56 +1996,6 @@ export interface Checkbox {
|
|
|
1925
1996
|
/** Label of the field */
|
|
1926
1997
|
label?: RichContent;
|
|
1927
1998
|
}
|
|
1928
|
-
export interface MediaItem extends MediaItemMediaOneOf {
|
|
1929
|
-
/** WixMedia image. */
|
|
1930
|
-
image?: CommonImage;
|
|
1931
|
-
}
|
|
1932
|
-
/** @oneof */
|
|
1933
|
-
export interface MediaItemMediaOneOf {
|
|
1934
|
-
/** WixMedia image. */
|
|
1935
|
-
image?: CommonImage;
|
|
1936
|
-
}
|
|
1937
|
-
export interface CommonImage {
|
|
1938
|
-
/** WixMedia image ID. */
|
|
1939
|
-
id?: string;
|
|
1940
|
-
/** Image URL. */
|
|
1941
|
-
url?: string;
|
|
1942
|
-
/**
|
|
1943
|
-
* Original image height.
|
|
1944
|
-
* @readonly
|
|
1945
|
-
*/
|
|
1946
|
-
height?: number;
|
|
1947
|
-
/**
|
|
1948
|
-
* Original image width.
|
|
1949
|
-
* @readonly
|
|
1950
|
-
*/
|
|
1951
|
-
width?: number;
|
|
1952
|
-
/** Image alt text. */
|
|
1953
|
-
altText?: string | null;
|
|
1954
|
-
/**
|
|
1955
|
-
* Image filename.
|
|
1956
|
-
* @readonly
|
|
1957
|
-
*/
|
|
1958
|
-
filename?: string | null;
|
|
1959
|
-
}
|
|
1960
|
-
export interface Option {
|
|
1961
|
-
/** Selectable option label */
|
|
1962
|
-
label?: string | null;
|
|
1963
|
-
/** Selectable option value, which is saved to DB. */
|
|
1964
|
-
value?: any;
|
|
1965
|
-
/** Flag identifying that option should be selected by default */
|
|
1966
|
-
default?: boolean;
|
|
1967
|
-
/** Option id. Used as binding for translations */
|
|
1968
|
-
id?: string;
|
|
1969
|
-
/** Media item. Media, associated with option, like image. */
|
|
1970
|
-
media?: MediaItem;
|
|
1971
|
-
}
|
|
1972
|
-
export interface CustomOption {
|
|
1973
|
-
/** Label of custom option input */
|
|
1974
|
-
label?: string | null;
|
|
1975
|
-
/** Placeholder of custom option input */
|
|
1976
|
-
placeholder?: string | null;
|
|
1977
|
-
}
|
|
1978
1999
|
export interface InputFieldArrayType {
|
|
1979
2000
|
/** Maximum amount of array elements. */
|
|
1980
2001
|
maxItems?: number | null;
|
|
@@ -2108,16 +2129,55 @@ export interface CheckboxGroup {
|
|
|
2108
2129
|
/** Option which can be specified by UoU, enabled when this object is specified. */
|
|
2109
2130
|
customOption?: CustomOption;
|
|
2110
2131
|
}
|
|
2111
|
-
export
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
/**
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2132
|
+
export interface MediaItem extends MediaItemMediaOneOf {
|
|
2133
|
+
/** WixMedia image. */
|
|
2134
|
+
image?: CommonImage;
|
|
2135
|
+
}
|
|
2136
|
+
/** @oneof */
|
|
2137
|
+
export interface MediaItemMediaOneOf {
|
|
2138
|
+
/** WixMedia image. */
|
|
2139
|
+
image?: CommonImage;
|
|
2140
|
+
}
|
|
2141
|
+
export interface CommonImage {
|
|
2142
|
+
/** WixMedia image ID. */
|
|
2143
|
+
id?: string;
|
|
2144
|
+
/** Image URL. */
|
|
2145
|
+
url?: string;
|
|
2146
|
+
/**
|
|
2147
|
+
* Original image height.
|
|
2148
|
+
* @readonly
|
|
2149
|
+
*/
|
|
2150
|
+
height?: number;
|
|
2151
|
+
/**
|
|
2152
|
+
* Original image width.
|
|
2153
|
+
* @readonly
|
|
2154
|
+
*/
|
|
2155
|
+
width?: number;
|
|
2156
|
+
/** Image alt text. */
|
|
2157
|
+
altText?: string | null;
|
|
2158
|
+
/**
|
|
2159
|
+
* Image filename.
|
|
2160
|
+
* @readonly
|
|
2161
|
+
*/
|
|
2162
|
+
filename?: string | null;
|
|
2163
|
+
}
|
|
2164
|
+
export interface Option {
|
|
2165
|
+
/** Selectable option label */
|
|
2166
|
+
label?: string | null;
|
|
2167
|
+
/** Selectable option value, which is saved to DB. */
|
|
2168
|
+
value?: any;
|
|
2169
|
+
/** Flag identifying that option should be selected by default */
|
|
2170
|
+
default?: boolean;
|
|
2171
|
+
/** Option id. Used as binding for translations */
|
|
2172
|
+
id?: string;
|
|
2173
|
+
/** Media item. Media, associated with option, like image. */
|
|
2174
|
+
media?: MediaItem;
|
|
2175
|
+
}
|
|
2176
|
+
export interface CustomOption {
|
|
2177
|
+
/** Label of custom option input */
|
|
2178
|
+
label?: string | null;
|
|
2179
|
+
/** Placeholder of custom option input */
|
|
2180
|
+
placeholder?: string | null;
|
|
2121
2181
|
}
|
|
2122
2182
|
export declare enum WixFileComponentType {
|
|
2123
2183
|
UNKNOWN = "UNKNOWN",
|
|
@@ -2142,27 +2202,38 @@ export interface FileUpload {
|
|
|
2142
2202
|
/** Custom text which appears when file is uploaded, if missing file name will be shown */
|
|
2143
2203
|
explanationText?: string | null;
|
|
2144
2204
|
}
|
|
2145
|
-
export
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2205
|
+
export declare enum UploadFileFormat {
|
|
2206
|
+
UNDEFINED = "UNDEFINED",
|
|
2207
|
+
/** Video files */
|
|
2208
|
+
VIDEO = "VIDEO",
|
|
2209
|
+
/** Image files */
|
|
2210
|
+
IMAGE = "IMAGE",
|
|
2211
|
+
/** Audio files */
|
|
2212
|
+
AUDIO = "AUDIO",
|
|
2213
|
+
/** Document files */
|
|
2214
|
+
DOCUMENT = "DOCUMENT"
|
|
2154
2215
|
}
|
|
2155
2216
|
export declare enum PaymentComponentType {
|
|
2156
2217
|
UNKNOWN = "UNKNOWN",
|
|
2157
2218
|
CHECKBOX_GROUP = "CHECKBOX_GROUP"
|
|
2158
2219
|
}
|
|
2159
|
-
export interface
|
|
2220
|
+
export interface ProductCheckboxGroup {
|
|
2160
2221
|
/** Label of the field. */
|
|
2161
2222
|
label?: string | null;
|
|
2162
2223
|
/** Description of the field. */
|
|
2163
2224
|
description?: RichContent;
|
|
2164
2225
|
/** List of options to select from. */
|
|
2165
|
-
options?:
|
|
2226
|
+
options?: ProductCheckboxGroupOption[];
|
|
2227
|
+
}
|
|
2228
|
+
export interface ProductCheckboxGroupOption {
|
|
2229
|
+
/** Selectable option label. */
|
|
2230
|
+
label?: string | null;
|
|
2231
|
+
/** Selectable option value, which is saved to DB. Corresponds to product id, found in field's products list. */
|
|
2232
|
+
value?: any;
|
|
2233
|
+
/** Option id. Used as binding for translations. */
|
|
2234
|
+
id?: string;
|
|
2235
|
+
/** Media item. Media, associated with option, like image. */
|
|
2236
|
+
media?: MediaItem;
|
|
2166
2237
|
}
|
|
2167
2238
|
export declare enum InputType {
|
|
2168
2239
|
UNKNOWN = "UNKNOWN",
|
|
@@ -2181,6 +2252,8 @@ export interface _String extends _StringComponentTypeOptionsOneOf {
|
|
|
2181
2252
|
radioGroupOptions?: RadioGroup;
|
|
2182
2253
|
/** Selection field as drop down */
|
|
2183
2254
|
dropdownOptions?: Dropdown;
|
|
2255
|
+
/** Field for selecting date and/or time */
|
|
2256
|
+
dateTimeOptions?: DateTimeInput;
|
|
2184
2257
|
/** Validation of field output value. */
|
|
2185
2258
|
validation?: InputFieldStringType;
|
|
2186
2259
|
/**
|
|
@@ -2197,6 +2270,8 @@ export interface _StringComponentTypeOptionsOneOf {
|
|
|
2197
2270
|
radioGroupOptions?: RadioGroup;
|
|
2198
2271
|
/** Selection field as drop down */
|
|
2199
2272
|
dropdownOptions?: Dropdown;
|
|
2273
|
+
/** Field for selecting date and/or time */
|
|
2274
|
+
dateTimeOptions?: DateTimeInput;
|
|
2200
2275
|
}
|
|
2201
2276
|
export interface _Number extends _NumberComponentTypeOptionsOneOf {
|
|
2202
2277
|
/** Number value input field */
|
|
@@ -2271,7 +2346,7 @@ export interface WixFileComponentTypeOptionsOneOf {
|
|
|
2271
2346
|
}
|
|
2272
2347
|
export interface Payment extends PaymentComponentTypeOptionsOneOf {
|
|
2273
2348
|
/** Checkbox group input field. */
|
|
2274
|
-
checkboxGroupOptions?:
|
|
2349
|
+
checkboxGroupOptions?: ProductCheckboxGroup;
|
|
2275
2350
|
/**
|
|
2276
2351
|
* Component type of the payment input field.
|
|
2277
2352
|
* @readonly
|
|
@@ -2283,7 +2358,7 @@ export interface Payment extends PaymentComponentTypeOptionsOneOf {
|
|
|
2283
2358
|
/** @oneof */
|
|
2284
2359
|
export interface PaymentComponentTypeOptionsOneOf {
|
|
2285
2360
|
/** Checkbox group input field. */
|
|
2286
|
-
checkboxGroupOptions?:
|
|
2361
|
+
checkboxGroupOptions?: ProductCheckboxGroup;
|
|
2287
2362
|
}
|
|
2288
2363
|
export interface Header {
|
|
2289
2364
|
/** Content of the header */
|