@wix/auto_sdk_forms_submissions 1.0.156 → 1.0.157

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,4 +1,4 @@
1
- import { hG as UpsertContactFromSubmissionRequest$1, a as UpsertContactFromSubmissionResponse$1, hI as CreateSubmissionRequest$1, hJ as CreateSubmissionResponse$1, hV as GetSubmissionRequest$1, hW as GetSubmissionResponse$1, hZ as UpdateSubmissionRequest$1, h_ as UpdateSubmissionResponse$1, h$ as ConfirmSubmissionRequest$1, f as ConfirmSubmissionResponse$1, i0 as DeleteSubmissionRequest$1, i1 as DeleteSubmissionResponse$1, i2 as BulkDeleteSubmissionRequest$1, g as BulkDeleteSubmissionResponse$1, i4 as RestoreSubmissionFromTrashBinRequest$1, R as RestoreSubmissionFromTrashBinResponse$1, i5 as RemoveSubmissionFromTrashBinRequest$1, i6 as RemoveSubmissionFromTrashBinResponse$1, i7 as BulkRemoveSubmissionFromTrashBinRequest$1, i as BulkRemoveSubmissionFromTrashBinResponse$1, i9 as ListDeletedSubmissionsRequest$1, j as ListDeletedSubmissionsResponse$1, ia as GetDeletedSubmissionRequest$1, G as GetDeletedSubmissionResponse$1, ib as QuerySubmissionRequest$1, l as QuerySubmissionResponse$1, ic as SearchSubmissionsByNamespaceRequest$1, S as SearchSubmissionsByNamespaceResponse$1, ig as QuerySubmissionsByNamespaceRequest$1, ih as QuerySubmissionsByNamespaceResponse$1, ik as CountSubmissionsByFilterRequest$1, o as CountSubmissionsByFilterResponse$1, im as CountSubmissionsRequest$1, q as CountSubmissionsResponse$1, io as CountDeletedSubmissionsRequest$1, s as CountDeletedSubmissionsResponse$1, iq as GetMediaUploadURLRequest$1, t as GetMediaUploadURLResponse$1, ir as BulkMarkSubmissionsAsSeenRequest$1, u as BulkMarkSubmissionsAsSeenResponse$1, is as GetSubmissionDownloadUrlRequest$1, v as GetSubmissionDownloadUrlResponse$1, iw as DownloadSubmissionRequest$1, w as RawHttpResponse$1, iy as GetFormattedSubmissionRequest$1, x as GetFormattedSubmissionResponse$1, iD as UpdateExtendedFieldsRequest$1, z as UpdateExtendedFieldsResponse$1, iE as BulkUpdateFormSubmissionTagsRequest$1, iF as BulkUpdateFormSubmissionTagsResponse$1, iH as BulkUpdateFormSubmissionTagsByFilterRequest$1, iI as BulkUpdateFormSubmissionTagsByFilterResponse$1, iJ as ValidateFormSubmissionRequest$1, A as ValidateFormSubmissionResponse$1 } from './forms-v4-submission-submissions.universal-Dfm8IKXU.js';
1
+ import { hG as UpsertContactFromSubmissionRequest$1, a as UpsertContactFromSubmissionResponse$1, hI as CreateSubmissionRequest$1, hJ as CreateSubmissionResponse$1, hV as GetSubmissionRequest$1, hW as GetSubmissionResponse$1, hZ as UpdateSubmissionRequest$1, h_ as UpdateSubmissionResponse$1, h$ as ConfirmSubmissionRequest$1, f as ConfirmSubmissionResponse$1, i0 as DeleteSubmissionRequest$1, i1 as DeleteSubmissionResponse$1, i2 as BulkDeleteSubmissionRequest$1, g as BulkDeleteSubmissionResponse$1, i4 as RestoreSubmissionFromTrashBinRequest$1, R as RestoreSubmissionFromTrashBinResponse$1, i5 as RemoveSubmissionFromTrashBinRequest$1, i6 as RemoveSubmissionFromTrashBinResponse$1, i7 as BulkRemoveSubmissionFromTrashBinRequest$1, i as BulkRemoveSubmissionFromTrashBinResponse$1, i9 as ListDeletedSubmissionsRequest$1, j as ListDeletedSubmissionsResponse$1, ia as GetDeletedSubmissionRequest$1, G as GetDeletedSubmissionResponse$1, ib as QuerySubmissionRequest$1, l as QuerySubmissionResponse$1, ic as SearchSubmissionsByNamespaceRequest$1, S as SearchSubmissionsByNamespaceResponse$1, ig as QuerySubmissionsByNamespaceRequest$1, ih as QuerySubmissionsByNamespaceResponse$1, ik as CountSubmissionsByFilterRequest$1, o as CountSubmissionsByFilterResponse$1, im as CountSubmissionsRequest$1, q as CountSubmissionsResponse$1, io as CountDeletedSubmissionsRequest$1, s as CountDeletedSubmissionsResponse$1, iq as GetMediaUploadURLRequest$1, t as GetMediaUploadURLResponse$1, ir as BulkMarkSubmissionsAsSeenRequest$1, u as BulkMarkSubmissionsAsSeenResponse$1, is as GetSubmissionDownloadUrlRequest$1, v as GetSubmissionDownloadUrlResponse$1, iw as DownloadSubmissionRequest$1, w as RawHttpResponse$1, iy as GetFormattedSubmissionRequest$1, x as GetFormattedSubmissionResponse$1, iD as UpdateExtendedFieldsRequest$1, z as UpdateExtendedFieldsResponse$1, iE as BulkUpdateFormSubmissionTagsRequest$1, iF as BulkUpdateFormSubmissionTagsResponse$1, iH as BulkUpdateFormSubmissionTagsByFilterRequest$1, iI as BulkUpdateFormSubmissionTagsByFilterResponse$1, iJ as ValidateFormSubmissionRequest$1, A as ValidateFormSubmissionResponse$1 } from './forms-v4-submission-submissions.universal-C6InzFwD.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /** Form submission that was created or retrieved. */
@@ -728,9 +728,11 @@ interface Form {
728
728
  extendedFields?: ExtendedFields;
729
729
  /**
730
730
  * Unique identifier for the app that owns this form schema.
731
- * For example, `wix.form_app.form` for Wix Forms.
731
+ *
732
+ * For example, for creating a form visible in the Wix Forms app, use `wix.form_app.form`, the namespace of the Wix Forms app, whose app ID is `225dd912-7dea-4738-8688-4b8c6955ffc2`.
732
733
  *
733
734
  * See a list of namespaces for [apps made by Wix](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/introduction#namespaces-of-apps-made-by-wix) section.
735
+ * To retrieve the ID for a Wix app, see [Apps Created By Wix](https://dev.wix.com/docs/rest/articles/get-started/apps-created-by-wix).
734
736
  * @minLength 10
735
737
  * @maxLength 50
736
738
  * @immutable
@@ -1404,7 +1406,7 @@ interface Field extends FieldFieldTypeOptionsOneOf {
1404
1406
  * Identification for the field, describing its purpose. For example, `TEXT_INPUT` or `CONTACTS_EMAIL`.
1405
1407
  *
1406
1408
  * Set this to the known value for the kind of field you're creating.
1407
- * An unrecognized value, such as a custom string or a GUID, is dropped rather than rejected: the request still succeeds, but the field doesn't appear in the response's `formFields`, and neither the field nor its submitted values appear in the Wix dashboard.
1409
+ * Wix accepts an unrecognized value, such as a custom string or a GUID: the request succeeds, and Wix stores the field, returns it in `formFields`, and accepts its submissions. But Wix apps use `identifier` to recognize a field, so the Wix Forms editor doesn't render it, and the Wix user can't see or edit that field. A form whose fields all carry unrecognized identifiers opens empty in the editor. Always map a field onto a known identifier, and set its display name with the component's label.
1408
1410
  *
1409
1411
  * Several fields share a general-purpose `componentType`, so `identifier` is often the only value that distinguishes them.
1410
1412
  * For example, both a short answer field and a long answer field use the `TEXT_INPUT` component, and are told apart by their `TEXT_INPUT` and `TEXT_AREA` identifiers.
@@ -1498,6 +1500,8 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
1498
1500
  /**
1499
1501
  * Whether the field is required for form submission.
1500
1502
  *
1503
+ * Set this on `inputOptions`, alongside `target` and `inputType`. A `required` placed inside a validation object, such as `stringOptions.validation`, isn't part of the schema and has no effect.
1504
+ *
1501
1505
  * Default: `false`
1502
1506
  */
1503
1507
  required?: boolean;
@@ -6860,6 +6864,9 @@ interface Rule {
6860
6864
  /**
6861
6865
  * Conditional expression that determines when this rule should be applied.
6862
6866
  * The overrides defined in this rule are applied when this expression evaluates to true.
6867
+ *
6868
+ * The root of the expression must be an `and` or `or` group. To evaluate a
6869
+ * single condition, wrap it in a group with 1 condition.
6863
6870
  */
6864
6871
  expression?: ConditionNode;
6865
6872
  /**
@@ -6935,12 +6942,19 @@ interface FieldOverridePropertyTypeOptionsOneOf {
6935
6942
  /** Configuration for changing the allowed values of a field. */
6936
6943
  allowedValuesOptions?: AllowedValuesOptions;
6937
6944
  }
6945
+ /**
6946
+ * Node of a rule's conditional expression. Either a logical group of nested
6947
+ * nodes, or a single condition.
6948
+ *
6949
+ * The root node of a rule's expression must be an `and` or `or` group.
6950
+ * A single condition is only supported in nested nodes.
6951
+ */
6938
6952
  interface ConditionNode extends ConditionNodeNodeOneOf {
6939
6953
  /** Logical AND condition with 1 or more child conditions. All child conditions must be true. */
6940
6954
  and?: AndCondition;
6941
6955
  /** Logical OR condition with 1 or more child conditions. At least 1 child condition must be true. */
6942
6956
  or?: OrCondition;
6943
- /** Single condition to evaluate. */
6957
+ /** Single condition to evaluate. Not supported as the root of a rule's expression. */
6944
6958
  condition?: Condition;
6945
6959
  }
6946
6960
  /** @oneof */
@@ -6949,7 +6963,7 @@ interface ConditionNodeNodeOneOf {
6949
6963
  and?: AndCondition;
6950
6964
  /** Logical OR condition with 1 or more child conditions. At least 1 child condition must be true. */
6951
6965
  or?: OrCondition;
6952
- /** Single condition to evaluate. */
6966
+ /** Single condition to evaluate. Not supported as the root of a rule's expression. */
6953
6967
  condition?: Condition;
6954
6968
  }
6955
6969
  interface AndCondition {