@wix/auto_sdk_forms_submissions 1.0.149 → 1.0.151

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-BrgY0t7U.d.ts} +69 -27
  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 +69 -27
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/cjs/schemas.js +14 -14
  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-BrgY0t7U.d.mts} +69 -27
  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 +69 -27
  16. package/build/es/meta.mjs.map +1 -1
  17. package/build/es/schemas.mjs +14 -14
  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-Cboh5KxF.d.ts} +71 -29
  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 +71 -29
  25. package/build/internal/cjs/meta.js.map +1 -1
  26. package/build/internal/cjs/schemas.js +14 -14
  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-Cboh5KxF.d.mts} +71 -29
  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 +71 -29
  34. package/build/internal/es/meta.mjs.map +1 -1
  35. package/build/internal/es/schemas.mjs +14 -14
  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-BrgY0t7U.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
  */
@@ -5630,6 +5630,7 @@ interface FormLayout {
5630
5630
  interface BreakPoint {
5631
5631
  /**
5632
5632
  * Configuration for the layout of items in the breakpoint.
5633
+ * Every field of the step must have exactly 1 corresponding item in each breakpoint that is defined.
5633
5634
  * @maxSize 500
5634
5635
  */
5635
5636
  items?: ItemLayout[];
@@ -5650,13 +5651,18 @@ interface ItemLayout extends ItemLayoutItemOneOf {
5650
5651
  fieldId?: string;
5651
5652
  /** Group configuration for positioning multiple fields as a single layout unit. */
5652
5653
  group?: Group;
5653
- /** Row position in the grid where this item is placed. */
5654
+ /**
5655
+ * Row position in the grid where this item is placed.
5656
+ *
5657
+ * Required. `row`, `column`, `width`, and `height` have no defaults. An item missing
5658
+ * any of them isn't rendered, so the field doesn't appear in the form.
5659
+ */
5654
5660
  row?: number | null;
5655
- /** Column position in the grid where this item is placed. */
5661
+ /** Column position in the grid where this item is placed. Required. */
5656
5662
  column?: number | null;
5657
- /** Width of the item in grid units. */
5663
+ /** Width of the item, in grid columns. Full width in the default 12-column grid is `12`. Required. */
5658
5664
  width?: number | null;
5659
- /** Height of the item in grid units. */
5665
+ /** Height of the item, in grid rows. `1` for most field types. Required. */
5660
5666
  height?: number | null;
5661
5667
  }
5662
5668
  /** @oneof */
@@ -6051,7 +6057,11 @@ interface _String extends _StringComponentTypeOptionsOneOf {
6051
6057
  servicesDropdownOptions?: ServicesDropdown;
6052
6058
  /** Password component settings. */
6053
6059
  passwordOptions?: Password;
6054
- /** Validation configuration for the string input. */
6060
+ /**
6061
+ * Validation configuration for the string input.
6062
+ *
6063
+ * Always include this object, even when it's empty: `{}`.
6064
+ */
6055
6065
  validation?: StringType;
6056
6066
  /** Component type of the string input field. */
6057
6067
  componentType?: StringComponentTypeWithLiterals;
@@ -6088,7 +6098,11 @@ interface _Number extends _NumberComponentTypeOptionsOneOf {
6088
6098
  numberInputOptions?: NumberInput;
6089
6099
  /** Rating input settings. */
6090
6100
  ratingInputOptions?: RatingInput;
6091
- /** Validation configuration for the number input. */
6101
+ /**
6102
+ * Validation configuration for the number input.
6103
+ *
6104
+ * Always include this object, even when it's empty: `{}`.
6105
+ */
6092
6106
  validation?: NumberType;
6093
6107
  /** Component type of the number input field. */
6094
6108
  componentType?: NumberComponentTypeWithLiterals;
@@ -6103,7 +6117,11 @@ interface _NumberComponentTypeOptionsOneOf {
6103
6117
  interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
6104
6118
  /** Checkbox component settings. */
6105
6119
  checkboxOptions?: Checkbox;
6106
- /** Validation configuration for the boolean input. */
6120
+ /**
6121
+ * Validation configuration for the boolean input.
6122
+ *
6123
+ * Always include this object, even when it's empty: `{}`.
6124
+ */
6107
6125
  validation?: BooleanType;
6108
6126
  /** Component type of the boolean input field. */
6109
6127
  componentType?: BooleanComponentTypeWithLiterals;
@@ -6124,7 +6142,11 @@ interface _Array extends _ArrayComponentTypeOptionsOneOf {
6124
6142
  * > **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
6143
  */
6126
6144
  servicesCheckboxGroupOptions?: ServicesCheckboxGroup;
6127
- /** Validation configuration for the array input. */
6145
+ /**
6146
+ * Validation configuration for the array input.
6147
+ *
6148
+ * Always include this object, even when it's empty: `{}`.
6149
+ */
6128
6150
  validation?: ArrayType;
6129
6151
  /** Component type of the array input field. */
6130
6152
  componentType?: ArrayComponentTypeWithLiterals;
@@ -6143,7 +6165,11 @@ interface _ArrayComponentTypeOptionsOneOf {
6143
6165
  servicesCheckboxGroupOptions?: ServicesCheckboxGroup;
6144
6166
  }
6145
6167
  interface _Object {
6146
- /** Validation configuration for the object input. */
6168
+ /**
6169
+ * Validation configuration for the object input.
6170
+ *
6171
+ * Always include this object, even when it's empty: `{}`.
6172
+ */
6147
6173
  validation?: ObjectType;
6148
6174
  }
6149
6175
  interface WixFile extends WixFileComponentTypeOptionsOneOf {
@@ -6153,7 +6179,11 @@ interface WixFile extends WixFileComponentTypeOptionsOneOf {
6153
6179
  signatureOptions?: Signature;
6154
6180
  /** Component type of the file input field. */
6155
6181
  componentType?: WixFileComponentTypeWithLiterals;
6156
- /** Validation configuration for the file input. */
6182
+ /**
6183
+ * Validation configuration for the file input.
6184
+ *
6185
+ * Always include this object, even when it's empty: `{}`.
6186
+ */
6157
6187
  validation?: FileType;
6158
6188
  }
6159
6189
  /** @oneof */
@@ -6174,7 +6204,11 @@ interface Payment extends PaymentComponentTypeOptionsOneOf {
6174
6204
  fixedPaymentOptions?: FixedPayment;
6175
6205
  /** Component type of the payment input field. */
6176
6206
  componentType?: PaymentComponentTypeWithLiterals;
6177
- /** Validation configuration for the payment input. */
6207
+ /**
6208
+ * Validation configuration for the payment input.
6209
+ *
6210
+ * Always include this object, even when it's empty: `{}`.
6211
+ */
6178
6212
  validation?: PaymentType;
6179
6213
  }
6180
6214
  /** @oneof */
@@ -6204,7 +6238,11 @@ interface Address extends AddressComponentTypeOptionsOneOf {
6204
6238
  multilineAddressOptions?: MultilineAddress;
6205
6239
  /** Component type of the multiline address field. */
6206
6240
  componentType?: ComponentTypeWithLiterals;
6207
- /** Validation configuration for the multiline address input. */
6241
+ /**
6242
+ * Validation configuration for the multiline address input.
6243
+ *
6244
+ * Always include this object, even when it's empty: `{}`.
6245
+ */
6208
6246
  validation?: MultilineAddressValidation;
6209
6247
  }
6210
6248
  /** @oneof */
@@ -6217,7 +6255,11 @@ interface ObjectArray extends ObjectArrayComponentTypeOptionsOneOf {
6217
6255
  repeaterOptions?: Repeater;
6218
6256
  /** Component type of the object array input. */
6219
6257
  componentType?: ObjectArrayComponentTypeWithLiterals;
6220
- /** Validation configuration for the object array input. */
6258
+ /**
6259
+ * Validation configuration for the object array input.
6260
+ *
6261
+ * Always include this object, even when it's empty: `{}`.
6262
+ */
6221
6263
  validation?: ObjectArrayType;
6222
6264
  }
6223
6265
  /** @oneof */
@@ -7081,13 +7123,13 @@ interface ValidationError {
7081
7123
  /**
7082
7124
  * Error type.
7083
7125
  *
7084
- * Switch on this rather than parsing `error_message`, which carries the underlying validator's wording and isn't a stable contract.
7126
+ * Switch on this rather than parsing `errorMessage`, which carries the underlying validator's wording and isn't a stable contract.
7085
7127
  */
7086
7128
  errorType?: ErrorTypeWithLiterals;
7087
7129
  /**
7088
7130
  * Human readable description of the error, in English.
7089
7131
  *
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.
7132
+ * 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
7133
  * @maxLength 1000
7092
7134
  */
7093
7135
  errorMessage?: string;
@@ -7781,7 +7823,7 @@ interface UpdateExtendedFieldsResponse {
7781
7823
  * @maxLength 50
7782
7824
  */
7783
7825
  namespace?: string;
7784
- /** only data from UpdateExtendedFieldsRequest namespace_data */
7826
+ /** only data from UpdateExtendedFieldsRequest `namespaceData` */
7785
7827
  namespaceData?: Record<string, any> | null;
7786
7828
  }
7787
7829
  interface BulkUpdateFormSubmissionTagsRequest {