@wix/forms 1.0.152 → 1.0.154

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.
@@ -2377,7 +2377,8 @@ interface Signature$1 {
2377
2377
  declare enum PaymentComponentType$1 {
2378
2378
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2379
2379
  CHECKBOX_GROUP = "CHECKBOX_GROUP",
2380
- DONATION_INPUT = "DONATION_INPUT"
2380
+ DONATION_INPUT = "DONATION_INPUT",
2381
+ PAYMENT_INPUT = "PAYMENT_INPUT"
2381
2382
  }
2382
2383
  interface ProductCheckboxGroup$1 {
2383
2384
  /** Label of the field. */
@@ -2440,6 +2441,24 @@ interface DonationInputOption$1 {
2440
2441
  /** Flag identifying that option should be selected by default */
2441
2442
  default?: boolean;
2442
2443
  }
2444
+ interface PaymentInput$1 {
2445
+ /** Label of the field. */
2446
+ label?: string | null;
2447
+ /** Description of the field. */
2448
+ description?: RichContent$1;
2449
+ /**
2450
+ * Flag identifying to hide or not label
2451
+ * Default: true
2452
+ */
2453
+ showLabel?: boolean | null;
2454
+ /** Placeholder of custom option input */
2455
+ placeholder?: string | null;
2456
+ /**
2457
+ * Flag identifying if the payment input is fixed price
2458
+ * Default: true
2459
+ */
2460
+ fixedPrice?: boolean | null;
2461
+ }
2443
2462
  declare enum MultilineAddressComponentType$1 {
2444
2463
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2445
2464
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
@@ -2708,6 +2727,8 @@ interface Payment$1 extends PaymentComponentTypeOptionsOneOf$1 {
2708
2727
  checkboxGroupOptions?: ProductCheckboxGroup$1;
2709
2728
  /** Donation input field. */
2710
2729
  donationInputOptions?: DonationInput$1;
2730
+ /** Payment input field. */
2731
+ paymentInputOptions?: PaymentInput$1;
2711
2732
  /**
2712
2733
  * Component type of the payment input field.
2713
2734
  * @readonly
@@ -2722,6 +2743,8 @@ interface PaymentComponentTypeOptionsOneOf$1 {
2722
2743
  checkboxGroupOptions?: ProductCheckboxGroup$1;
2723
2744
  /** Donation input field. */
2724
2745
  donationInputOptions?: DonationInput$1;
2746
+ /** Payment input field. */
2747
+ paymentInputOptions?: PaymentInput$1;
2725
2748
  }
2726
2749
  interface InputFieldMultilineAddress$1 extends InputFieldMultilineAddressComponentTypeOptionsOneOf$1 {
2727
2750
  /** Multiline address input field. */
@@ -3939,9 +3962,13 @@ interface DonationInputNonNullableFields$1 {
3939
3962
  options: DonationInputOptionNonNullableFields$1[];
3940
3963
  numberOfColumns: NumberOfColumns$1;
3941
3964
  }
3965
+ interface PaymentInputNonNullableFields$1 {
3966
+ description?: RichContentNonNullableFields$1;
3967
+ }
3942
3968
  interface PaymentNonNullableFields$1 {
3943
3969
  checkboxGroupOptions?: ProductCheckboxGroupNonNullableFields$1;
3944
3970
  donationInputOptions?: DonationInputNonNullableFields$1;
3971
+ paymentInputOptions?: PaymentInputNonNullableFields$1;
3945
3972
  componentType: PaymentComponentType$1;
3946
3973
  validation?: PaymentTypeNonNullableFields$1;
3947
3974
  }
@@ -6542,7 +6569,8 @@ interface Signature {
6542
6569
  declare enum PaymentComponentType {
6543
6570
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
6544
6571
  CHECKBOX_GROUP = "CHECKBOX_GROUP",
6545
- DONATION_INPUT = "DONATION_INPUT"
6572
+ DONATION_INPUT = "DONATION_INPUT",
6573
+ PAYMENT_INPUT = "PAYMENT_INPUT"
6546
6574
  }
6547
6575
  interface ProductCheckboxGroup {
6548
6576
  /** Label of the field. */
@@ -6605,6 +6633,24 @@ interface DonationInputOption {
6605
6633
  /** Flag identifying that option should be selected by default */
6606
6634
  default?: boolean;
6607
6635
  }
6636
+ interface PaymentInput {
6637
+ /** Label of the field. */
6638
+ label?: string | null;
6639
+ /** Description of the field. */
6640
+ description?: RichContent;
6641
+ /**
6642
+ * Flag identifying to hide or not label
6643
+ * Default: true
6644
+ */
6645
+ showLabel?: boolean | null;
6646
+ /** Placeholder of custom option input */
6647
+ placeholder?: string | null;
6648
+ /**
6649
+ * Flag identifying if the payment input is fixed price
6650
+ * Default: true
6651
+ */
6652
+ fixedPrice?: boolean | null;
6653
+ }
6608
6654
  declare enum MultilineAddressComponentType {
6609
6655
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
6610
6656
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
@@ -6873,6 +6919,8 @@ interface Payment extends PaymentComponentTypeOptionsOneOf {
6873
6919
  checkboxGroupOptions?: ProductCheckboxGroup;
6874
6920
  /** Donation input field. */
6875
6921
  donationInputOptions?: DonationInput;
6922
+ /** Payment input field. */
6923
+ paymentInputOptions?: PaymentInput;
6876
6924
  /**
6877
6925
  * Component type of the payment input field.
6878
6926
  * @readonly
@@ -6887,6 +6935,8 @@ interface PaymentComponentTypeOptionsOneOf {
6887
6935
  checkboxGroupOptions?: ProductCheckboxGroup;
6888
6936
  /** Donation input field. */
6889
6937
  donationInputOptions?: DonationInput;
6938
+ /** Payment input field. */
6939
+ paymentInputOptions?: PaymentInput;
6890
6940
  }
6891
6941
  interface InputFieldMultilineAddress extends InputFieldMultilineAddressComponentTypeOptionsOneOf {
6892
6942
  /** Multiline address input field. */
@@ -8098,9 +8148,13 @@ interface DonationInputNonNullableFields {
8098
8148
  options: DonationInputOptionNonNullableFields[];
8099
8149
  numberOfColumns: NumberOfColumns;
8100
8150
  }
8151
+ interface PaymentInputNonNullableFields {
8152
+ description?: RichContentNonNullableFields;
8153
+ }
8101
8154
  interface PaymentNonNullableFields {
8102
8155
  checkboxGroupOptions?: ProductCheckboxGroupNonNullableFields;
8103
8156
  donationInputOptions?: DonationInputNonNullableFields;
8157
+ paymentInputOptions?: PaymentInputNonNullableFields;
8104
8158
  componentType: PaymentComponentType;
8105
8159
  validation?: PaymentTypeNonNullableFields;
8106
8160
  }