@wix/auto_sdk_forms_submissions 1.0.149 → 1.0.150

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.
Files changed (37) hide show
  1. package/build/cjs/{forms-v4-submission-submissions.universal-Bfo2P_8S.d.ts → forms-v4-submission-submissions.universal-DV8oC8Lk.d.ts} +58 -22
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -2
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +58 -22
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/cjs/schemas.js +13 -13
  9. package/build/cjs/schemas.js.map +1 -1
  10. package/build/es/{forms-v4-submission-submissions.universal-Bfo2P_8S.d.mts → forms-v4-submission-submissions.universal-DV8oC8Lk.d.mts} +58 -22
  11. package/build/es/index.d.mts +2 -2
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +2 -2
  14. package/build/es/index.typings.mjs.map +1 -1
  15. package/build/es/meta.d.mts +58 -22
  16. package/build/es/meta.mjs.map +1 -1
  17. package/build/es/schemas.mjs +13 -13
  18. package/build/es/schemas.mjs.map +1 -1
  19. package/build/internal/cjs/{forms-v4-submission-submissions.universal-VEnQJRaC.d.ts → forms-v4-submission-submissions.universal-CUKQPm_I.d.ts} +60 -24
  20. package/build/internal/cjs/index.d.ts +2 -2
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +2 -2
  23. package/build/internal/cjs/index.typings.js.map +1 -1
  24. package/build/internal/cjs/meta.d.ts +60 -24
  25. package/build/internal/cjs/meta.js.map +1 -1
  26. package/build/internal/cjs/schemas.js +13 -13
  27. package/build/internal/cjs/schemas.js.map +1 -1
  28. package/build/internal/es/{forms-v4-submission-submissions.universal-VEnQJRaC.d.mts → forms-v4-submission-submissions.universal-CUKQPm_I.d.mts} +60 -24
  29. package/build/internal/es/index.d.mts +2 -2
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +2 -2
  32. package/build/internal/es/index.typings.mjs.map +1 -1
  33. package/build/internal/es/meta.d.mts +60 -24
  34. package/build/internal/es/meta.mjs.map +1 -1
  35. package/build/internal/es/schemas.mjs +13 -13
  36. package/build/internal/es/schemas.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { hC as UpsertContactFromSubmissionRequest$1, a as UpsertContactFromSubmissionResponse$1, hE as CreateSubmissionRequest$1, hF as CreateSubmissionResponse$1, hR as GetSubmissionRequest$1, hS as GetSubmissionResponse$1, hV as UpdateSubmissionRequest$1, hW as UpdateSubmissionResponse$1, hX as ConfirmSubmissionRequest$1, f as ConfirmSubmissionResponse$1, hY as DeleteSubmissionRequest$1, hZ as DeleteSubmissionResponse$1, h_ as BulkDeleteSubmissionRequest$1, g as BulkDeleteSubmissionResponse$1, i0 as RestoreSubmissionFromTrashBinRequest$1, R as RestoreSubmissionFromTrashBinResponse$1, i1 as RemoveSubmissionFromTrashBinRequest$1, i2 as RemoveSubmissionFromTrashBinResponse$1, i3 as BulkRemoveSubmissionFromTrashBinRequest$1, i as BulkRemoveSubmissionFromTrashBinResponse$1, i5 as ListDeletedSubmissionsRequest$1, j as ListDeletedSubmissionsResponse$1, i6 as GetDeletedSubmissionRequest$1, G as GetDeletedSubmissionResponse$1, i7 as QuerySubmissionRequest$1, l as QuerySubmissionResponse$1, i8 as SearchSubmissionsByNamespaceRequest$1, S as SearchSubmissionsByNamespaceResponse$1, ib as QuerySubmissionsByNamespaceRequest$1, ic as QuerySubmissionsByNamespaceResponse$1, ig as CountSubmissionsByFilterRequest$1, o as CountSubmissionsByFilterResponse$1, ii as CountSubmissionsRequest$1, q as CountSubmissionsResponse$1, ij as CountDeletedSubmissionsRequest$1, s as CountDeletedSubmissionsResponse$1, il as GetMediaUploadURLRequest$1, t as GetMediaUploadURLResponse$1, im as BulkMarkSubmissionsAsSeenRequest$1, u as BulkMarkSubmissionsAsSeenResponse$1, io as GetSubmissionDownloadUrlRequest$1, v as GetSubmissionDownloadUrlResponse$1, is as DownloadSubmissionRequest$1, w as RawHttpResponse$1, iu as GetFormattedSubmissionRequest$1, x as GetFormattedSubmissionResponse$1, iz as UpdateExtendedFieldsRequest$1, z as UpdateExtendedFieldsResponse$1, iA as BulkUpdateFormSubmissionTagsRequest$1, iB as BulkUpdateFormSubmissionTagsResponse$1, iD as BulkUpdateFormSubmissionTagsByFilterRequest$1, iE as BulkUpdateFormSubmissionTagsByFilterResponse$1, iF as ValidateFormSubmissionRequest$1, A as ValidateFormSubmissionResponse$1 } from './forms-v4-submission-submissions.universal-Bfo2P_8S.js';
1
+ import { hC as UpsertContactFromSubmissionRequest$1, a as UpsertContactFromSubmissionResponse$1, hE as CreateSubmissionRequest$1, hF as CreateSubmissionResponse$1, hR as GetSubmissionRequest$1, hS as GetSubmissionResponse$1, hV as UpdateSubmissionRequest$1, hW as UpdateSubmissionResponse$1, hX as ConfirmSubmissionRequest$1, f as ConfirmSubmissionResponse$1, hY as DeleteSubmissionRequest$1, hZ as DeleteSubmissionResponse$1, h_ as BulkDeleteSubmissionRequest$1, g as BulkDeleteSubmissionResponse$1, i0 as RestoreSubmissionFromTrashBinRequest$1, R as RestoreSubmissionFromTrashBinResponse$1, i1 as RemoveSubmissionFromTrashBinRequest$1, i2 as RemoveSubmissionFromTrashBinResponse$1, i3 as BulkRemoveSubmissionFromTrashBinRequest$1, i as BulkRemoveSubmissionFromTrashBinResponse$1, i5 as ListDeletedSubmissionsRequest$1, j as ListDeletedSubmissionsResponse$1, i6 as GetDeletedSubmissionRequest$1, G as GetDeletedSubmissionResponse$1, i7 as QuerySubmissionRequest$1, l as QuerySubmissionResponse$1, i8 as SearchSubmissionsByNamespaceRequest$1, S as SearchSubmissionsByNamespaceResponse$1, ib as QuerySubmissionsByNamespaceRequest$1, ic as QuerySubmissionsByNamespaceResponse$1, ig as CountSubmissionsByFilterRequest$1, o as CountSubmissionsByFilterResponse$1, ii as CountSubmissionsRequest$1, q as CountSubmissionsResponse$1, ij as CountDeletedSubmissionsRequest$1, s as CountDeletedSubmissionsResponse$1, il as GetMediaUploadURLRequest$1, t as GetMediaUploadURLResponse$1, im as BulkMarkSubmissionsAsSeenRequest$1, u as BulkMarkSubmissionsAsSeenResponse$1, io as GetSubmissionDownloadUrlRequest$1, v as GetSubmissionDownloadUrlResponse$1, is as DownloadSubmissionRequest$1, w as RawHttpResponse$1, iu as GetFormattedSubmissionRequest$1, x as GetFormattedSubmissionResponse$1, iz as UpdateExtendedFieldsRequest$1, z as UpdateExtendedFieldsResponse$1, iA as BulkUpdateFormSubmissionTagsRequest$1, iB as BulkUpdateFormSubmissionTagsResponse$1, iD as BulkUpdateFormSubmissionTagsByFilterRequest$1, iE as BulkUpdateFormSubmissionTagsByFilterResponse$1, iF as ValidateFormSubmissionRequest$1, A as ValidateFormSubmissionResponse$1 } from './forms-v4-submission-submissions.universal-DV8oC8Lk.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /** Form submission that was created or retrieved. */
@@ -41,7 +41,7 @@ interface FormSubmission {
41
41
  *
42
42
  * 3 input types submit structured values: `ADDRESS` submits an address object, `PAYMENT` an array holding 1 product object per item bought, and `SCHEDULING` an appointment object.
43
43
  *
44
- * For the full mapping, see [Submission values](https://dev.wix.com/docs/api-reference/crm/forms/form-submissions/introduction#submission-values).
44
+ * For the full mapping, see [About Submission Values](https://dev.wix.com/docs/api-reference/crm/forms/form-submissions/about-submission-values).
45
45
  */
46
46
  submissions?: Record<string, any>;
47
47
  /**
@@ -674,7 +674,7 @@ interface Form {
674
674
  * Layout configuration that defines how form fields are organized across multiple steps.
675
675
  * Each step represents a page of the form.
676
676
  *
677
- * Every field in `form_fields`, including the submit button, must be placed by a layout item whose `field_id` matches the field's `id`. A field that isn't placed still stores submitted values, but the Wix dashboard renders it, and the submissions made against it, as empty.
677
+ * Every field in `formFields`, including the submit button, must be placed by a layout item whose `fieldId` matches the field's `id`. A field that isn't placed still stores submitted values, but the Wix dashboard renders it, and the submissions made against it, as empty.
678
678
  *
679
679
  * Use a single step unless the form is split across pages.
680
680
  * @maxSize 100
@@ -753,10 +753,10 @@ interface Form {
753
753
  disabledFormMessage?: RichContent;
754
754
  /**
755
755
  * Whether the form is effectively active — `true` only when the user has not disabled the form
756
- * **and** no system service has placed an `activation_block` on it.
756
+ * **and** no system service has placed an `activationBlock` on it.
757
757
  *
758
758
  * Writing `enabled: true` records the user's intent to activate the form, but the value read
759
- * back may still be `false` if `activation_block` is present (e.g. a plan restriction is in
759
+ * back may still be `false` if `activationBlock` is present (for example, a plan restriction is in
760
760
  * effect). Once the block is lifted the form becomes active automatically without any additional
761
761
  * write.
762
762
  *
@@ -1374,7 +1374,7 @@ interface Field extends FieldFieldTypeOptionsOneOf {
1374
1374
  /**
1375
1375
  * Field ID.
1376
1376
  *
1377
- * The ID is stored in lowercase. Because the form's layout references each field by this ID, pass a lowercase GUID so that `id` and the layout's `field_id` still match after the form schema is stored. IDs must be unique in the form.
1377
+ * The ID is stored in lowercase. Because the form's layout references each field by this ID, pass a lowercase GUID so that `id` and the layout's `fieldId` still match after the form schema is stored. IDs must be unique in the form.
1378
1378
  * @format GUID
1379
1379
  * @immutable
1380
1380
  */
@@ -1389,7 +1389,7 @@ interface Field extends FieldFieldTypeOptionsOneOf {
1389
1389
  * Identification for the field, describing its purpose. For example, `TEXT_INPUT` or `CONTACTS_EMAIL`.
1390
1390
  *
1391
1391
  * Set this to the known value for the kind of field you're creating.
1392
- * 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 `form_fields`, and neither the field nor its submitted values appear in the Wix dashboard.
1392
+ * 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.
1393
1393
  *
1394
1394
  * Several fields share a general-purpose `componentType`, so `identifier` is often the only value that distinguishes them.
1395
1395
  * 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.
@@ -1401,8 +1401,8 @@ interface Field extends FieldFieldTypeOptionsOneOf {
1401
1401
  /**
1402
1402
  * Field type.
1403
1403
  *
1404
- * `INPUT` fields collect data from submitters and are configured in `input_options`.
1405
- * `DISPLAY` fields show information without collecting data and are configured in `display_options`.
1404
+ * `INPUT` fields collect data from submitters and are configured in `inputOptions`.
1405
+ * `DISPLAY` fields show information without collecting data and are configured in `displayOptions`.
1406
1406
  */
1407
1407
  fieldType?: FieldTypeWithLiterals;
1408
1408
  }
@@ -1489,8 +1489,8 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
1489
1489
  /**
1490
1490
  * Type of the input field that determines what kind of data it collects.
1491
1491
  *
1492
- * `input_type` selects which options object applies. For example, `STRING` is configured in `string_options`, and `PAYMENT` in `payment_options`.
1493
- * That options object then sets a `component_type`, which selects the UI component and its own nested settings object.
1492
+ * `inputType` selects which options object applies. For example, `STRING` is configured in `stringOptions`, and `PAYMENT` in `paymentOptions`.
1493
+ * That options object then sets a `componentType`, which selects the UI component and its own nested settings object.
1494
1494
  *
1495
1495
  * For which combinations produce which field, see [About Form Fields](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/about-form-fields).
1496
1496
  */
@@ -6051,7 +6051,11 @@ interface _String extends _StringComponentTypeOptionsOneOf {
6051
6051
  servicesDropdownOptions?: ServicesDropdown;
6052
6052
  /** Password component settings. */
6053
6053
  passwordOptions?: Password;
6054
- /** Validation configuration for the string input. */
6054
+ /**
6055
+ * Validation configuration for the string input.
6056
+ *
6057
+ * Always include this object, even when it's empty: `{}`.
6058
+ */
6055
6059
  validation?: StringType;
6056
6060
  /** Component type of the string input field. */
6057
6061
  componentType?: StringComponentTypeWithLiterals;
@@ -6088,7 +6092,11 @@ interface _Number extends _NumberComponentTypeOptionsOneOf {
6088
6092
  numberInputOptions?: NumberInput;
6089
6093
  /** Rating input settings. */
6090
6094
  ratingInputOptions?: RatingInput;
6091
- /** Validation configuration for the number input. */
6095
+ /**
6096
+ * Validation configuration for the number input.
6097
+ *
6098
+ * Always include this object, even when it's empty: `{}`.
6099
+ */
6092
6100
  validation?: NumberType;
6093
6101
  /** Component type of the number input field. */
6094
6102
  componentType?: NumberComponentTypeWithLiterals;
@@ -6103,7 +6111,11 @@ interface _NumberComponentTypeOptionsOneOf {
6103
6111
  interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
6104
6112
  /** Checkbox component settings. */
6105
6113
  checkboxOptions?: Checkbox;
6106
- /** Validation configuration for the boolean input. */
6114
+ /**
6115
+ * Validation configuration for the boolean input.
6116
+ *
6117
+ * Always include this object, even when it's empty: `{}`.
6118
+ */
6107
6119
  validation?: BooleanType;
6108
6120
  /** Component type of the boolean input field. */
6109
6121
  componentType?: BooleanComponentTypeWithLiterals;
@@ -6124,7 +6136,11 @@ interface _Array extends _ArrayComponentTypeOptionsOneOf {
6124
6136
  * > **Note:** Service fields require the Wix Services app to be installed on the site. Creating a form schema with a service field on a site without the app fails.
6125
6137
  */
6126
6138
  servicesCheckboxGroupOptions?: ServicesCheckboxGroup;
6127
- /** Validation configuration for the array input. */
6139
+ /**
6140
+ * Validation configuration for the array input.
6141
+ *
6142
+ * Always include this object, even when it's empty: `{}`.
6143
+ */
6128
6144
  validation?: ArrayType;
6129
6145
  /** Component type of the array input field. */
6130
6146
  componentType?: ArrayComponentTypeWithLiterals;
@@ -6143,7 +6159,11 @@ interface _ArrayComponentTypeOptionsOneOf {
6143
6159
  servicesCheckboxGroupOptions?: ServicesCheckboxGroup;
6144
6160
  }
6145
6161
  interface _Object {
6146
- /** Validation configuration for the object input. */
6162
+ /**
6163
+ * Validation configuration for the object input.
6164
+ *
6165
+ * Always include this object, even when it's empty: `{}`.
6166
+ */
6147
6167
  validation?: ObjectType;
6148
6168
  }
6149
6169
  interface WixFile extends WixFileComponentTypeOptionsOneOf {
@@ -6153,7 +6173,11 @@ interface WixFile extends WixFileComponentTypeOptionsOneOf {
6153
6173
  signatureOptions?: Signature;
6154
6174
  /** Component type of the file input field. */
6155
6175
  componentType?: WixFileComponentTypeWithLiterals;
6156
- /** Validation configuration for the file input. */
6176
+ /**
6177
+ * Validation configuration for the file input.
6178
+ *
6179
+ * Always include this object, even when it's empty: `{}`.
6180
+ */
6157
6181
  validation?: FileType;
6158
6182
  }
6159
6183
  /** @oneof */
@@ -6174,7 +6198,11 @@ interface Payment extends PaymentComponentTypeOptionsOneOf {
6174
6198
  fixedPaymentOptions?: FixedPayment;
6175
6199
  /** Component type of the payment input field. */
6176
6200
  componentType?: PaymentComponentTypeWithLiterals;
6177
- /** Validation configuration for the payment input. */
6201
+ /**
6202
+ * Validation configuration for the payment input.
6203
+ *
6204
+ * Always include this object, even when it's empty: `{}`.
6205
+ */
6178
6206
  validation?: PaymentType;
6179
6207
  }
6180
6208
  /** @oneof */
@@ -6204,7 +6232,11 @@ interface Address extends AddressComponentTypeOptionsOneOf {
6204
6232
  multilineAddressOptions?: MultilineAddress;
6205
6233
  /** Component type of the multiline address field. */
6206
6234
  componentType?: ComponentTypeWithLiterals;
6207
- /** Validation configuration for the multiline address input. */
6235
+ /**
6236
+ * Validation configuration for the multiline address input.
6237
+ *
6238
+ * Always include this object, even when it's empty: `{}`.
6239
+ */
6208
6240
  validation?: MultilineAddressValidation;
6209
6241
  }
6210
6242
  /** @oneof */
@@ -6217,7 +6249,11 @@ interface ObjectArray extends ObjectArrayComponentTypeOptionsOneOf {
6217
6249
  repeaterOptions?: Repeater;
6218
6250
  /** Component type of the object array input. */
6219
6251
  componentType?: ObjectArrayComponentTypeWithLiterals;
6220
- /** Validation configuration for the object array input. */
6252
+ /**
6253
+ * Validation configuration for the object array input.
6254
+ *
6255
+ * Always include this object, even when it's empty: `{}`.
6256
+ */
6221
6257
  validation?: ObjectArrayType;
6222
6258
  }
6223
6259
  /** @oneof */
@@ -7081,13 +7117,13 @@ interface ValidationError {
7081
7117
  /**
7082
7118
  * Error type.
7083
7119
  *
7084
- * Switch on this rather than parsing `error_message`, which carries the underlying validator's wording and isn't a stable contract.
7120
+ * Switch on this rather than parsing `errorMessage`, which carries the underlying validator's wording and isn't a stable contract.
7085
7121
  */
7086
7122
  errorType?: ErrorTypeWithLiterals;
7087
7123
  /**
7088
7124
  * Human readable description of the error, in English.
7089
7125
  *
7090
- * This comes from the schema validator and is meant for debugging. It isn't localized and its wording can change, so don't parse it or show it to submitters. Use `error_type` to decide what to display.
7126
+ * This comes from the schema validator and is meant for debugging. It isn't localized and its wording can change, so don't parse it or show it to submitters. Use `errorType` to decide what to display.
7091
7127
  * @maxLength 1000
7092
7128
  */
7093
7129
  errorMessage?: string;