@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 { 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, E as BulkUpdateFormSubmissionTagsResponse$1, iG as BulkUpdateFormSubmissionTagsByFilterRequest$1, I as BulkUpdateFormSubmissionTagsByFilterResponse$1, iH as ValidateFormSubmissionRequest$1, J as ValidateFormSubmissionResponse$1 } from './forms-v4-submission-submissions.universal-VEnQJRaC.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, E as BulkUpdateFormSubmissionTagsResponse$1, iG as BulkUpdateFormSubmissionTagsByFilterRequest$1, I as BulkUpdateFormSubmissionTagsByFilterResponse$1, iH as ValidateFormSubmissionRequest$1, J as ValidateFormSubmissionResponse$1 } from './forms-v4-submission-submissions.universal-Cboh5KxF.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
  /**
@@ -727,7 +727,7 @@ interface Form {
727
727
  * Layout configuration that defines how form fields are organized across multiple steps.
728
728
  * Each step represents a page of the form.
729
729
  *
730
- * 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.
730
+ * 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.
731
731
  *
732
732
  * Use a single step unless the form is split across pages.
733
733
  * @maxSize 100
@@ -844,10 +844,10 @@ interface Form {
844
844
  sourceFormId?: string | null;
845
845
  /**
846
846
  * Whether the form is effectively active — `true` only when the user has not disabled the form
847
- * **and** no system service has placed an `activation_block` on it.
847
+ * **and** no system service has placed an `activationBlock` on it.
848
848
  *
849
849
  * Writing `enabled: true` records the user's intent to activate the form, but the value read
850
- * back may still be `false` if `activation_block` is present (e.g. a plan restriction is in
850
+ * back may still be `false` if `activationBlock` is present (for example, a plan restriction is in
851
851
  * effect). Once the block is lifted the form becomes active automatically without any additional
852
852
  * write.
853
853
  *
@@ -884,10 +884,10 @@ interface Form {
884
884
  * When present, `enabled` is returned as `false` regardless of what the user set.
885
885
  * When absent, `enabled` reflects the user's stored intent exclusively.
886
886
  *
887
- * Set and cleared only through dedicated internal RPCs (e.g. `BulkUpdateFormsActivationBlock`).
887
+ * Set and cleared only through dedicated internal RPCs (for example, `BulkUpdateFormsActivationBlock`).
888
888
  * Cannot be written via `UpdateForm` — attempts to include it in the field mask are rejected.
889
889
  *
890
- * Format: `<OWNER_APP>_<REASON>`, e.g. `FORM_APP_PREMIUM_FEATURE_VIOLATION`, `FORM_APP_FORM_COUNT_EXCEEDED`.
890
+ * Format: `<OWNER_APP>_<REASON>`, such as `FORM_APP_PREMIUM_FEATURE_VIOLATION`, `FORM_APP_FORM_COUNT_EXCEEDED`.
891
891
  * @internal
892
892
  * @readonly
893
893
  * @maxLength 100
@@ -1492,7 +1492,7 @@ interface Field extends FieldFieldTypeOptionsOneOf {
1492
1492
  /**
1493
1493
  * Field ID.
1494
1494
  *
1495
- * 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.
1495
+ * 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.
1496
1496
  * @format GUID
1497
1497
  * @immutable
1498
1498
  */
@@ -1507,7 +1507,7 @@ interface Field extends FieldFieldTypeOptionsOneOf {
1507
1507
  * Identification for the field, describing its purpose. For example, `TEXT_INPUT` or `CONTACTS_EMAIL`.
1508
1508
  *
1509
1509
  * Set this to the known value for the kind of field you're creating.
1510
- * 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.
1510
+ * 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.
1511
1511
  *
1512
1512
  * Several fields share a general-purpose `componentType`, so `identifier` is often the only value that distinguishes them.
1513
1513
  * 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.
@@ -1519,8 +1519,8 @@ interface Field extends FieldFieldTypeOptionsOneOf {
1519
1519
  /**
1520
1520
  * Field type.
1521
1521
  *
1522
- * `INPUT` fields collect data from submitters and are configured in `input_options`.
1523
- * `DISPLAY` fields show information without collecting data and are configured in `display_options`.
1522
+ * `INPUT` fields collect data from submitters and are configured in `inputOptions`.
1523
+ * `DISPLAY` fields show information without collecting data and are configured in `displayOptions`.
1524
1524
  */
1525
1525
  fieldType?: FieldTypeWithLiterals;
1526
1526
  }
@@ -1617,8 +1617,8 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
1617
1617
  /**
1618
1618
  * Type of the input field that determines what kind of data it collects.
1619
1619
  *
1620
- * `input_type` selects which options object applies. For example, `STRING` is configured in `string_options`, and `PAYMENT` in `payment_options`.
1621
- * That options object then sets a `component_type`, which selects the UI component and its own nested settings object.
1620
+ * `inputType` selects which options object applies. For example, `STRING` is configured in `stringOptions`, and `PAYMENT` in `paymentOptions`.
1621
+ * That options object then sets a `componentType`, which selects the UI component and its own nested settings object.
1622
1622
  *
1623
1623
  * For which combinations produce which field, see [About Form Fields](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/about-form-fields).
1624
1624
  */
@@ -5819,6 +5819,7 @@ interface FormLayout {
5819
5819
  interface BreakPoint {
5820
5820
  /**
5821
5821
  * Configuration for the layout of items in the breakpoint.
5822
+ * Every field of the step must have exactly 1 corresponding item in each breakpoint that is defined.
5822
5823
  * @maxSize 500
5823
5824
  */
5824
5825
  items?: ItemLayout[];
@@ -5845,13 +5846,18 @@ interface ItemLayout extends ItemLayoutItemOneOf {
5845
5846
  fieldId?: string;
5846
5847
  /** Group configuration for positioning multiple fields as a single layout unit. */
5847
5848
  group?: Group;
5848
- /** Row position in the grid where this item is placed. */
5849
+ /**
5850
+ * Row position in the grid where this item is placed.
5851
+ *
5852
+ * Required. `row`, `column`, `width`, and `height` have no defaults. An item missing
5853
+ * any of them isn't rendered, so the field doesn't appear in the form.
5854
+ */
5849
5855
  row?: number | null;
5850
- /** Column position in the grid where this item is placed. */
5856
+ /** Column position in the grid where this item is placed. Required. */
5851
5857
  column?: number | null;
5852
- /** Width of the item in grid units. */
5858
+ /** Width of the item, in grid columns. Full width in the default 12-column grid is `12`. Required. */
5853
5859
  width?: number | null;
5854
- /** Height of the item in grid units. */
5860
+ /** Height of the item, in grid rows. `1` for most field types. Required. */
5855
5861
  height?: number | null;
5856
5862
  }
5857
5863
  /** @oneof */
@@ -6273,7 +6279,11 @@ interface _String extends _StringComponentTypeOptionsOneOf {
6273
6279
  servicesDropdownOptions?: ServicesDropdown;
6274
6280
  /** Password component settings. */
6275
6281
  passwordOptions?: Password;
6276
- /** Validation configuration for the string input. */
6282
+ /**
6283
+ * Validation configuration for the string input.
6284
+ *
6285
+ * Always include this object, even when it's empty: `{}`.
6286
+ */
6277
6287
  validation?: StringType;
6278
6288
  /** Component type of the string input field. */
6279
6289
  componentType?: StringComponentTypeWithLiterals;
@@ -6315,7 +6325,11 @@ interface _Number extends _NumberComponentTypeOptionsOneOf {
6315
6325
  numberInputOptions?: NumberInput;
6316
6326
  /** Rating input settings. */
6317
6327
  ratingInputOptions?: RatingInput;
6318
- /** Validation configuration for the number input. */
6328
+ /**
6329
+ * Validation configuration for the number input.
6330
+ *
6331
+ * Always include this object, even when it's empty: `{}`.
6332
+ */
6319
6333
  validation?: NumberType;
6320
6334
  /** Component type of the number input field. */
6321
6335
  componentType?: NumberComponentTypeWithLiterals;
@@ -6335,7 +6349,11 @@ interface _NumberComponentTypeOptionsOneOf {
6335
6349
  interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
6336
6350
  /** Checkbox component settings. */
6337
6351
  checkboxOptions?: Checkbox;
6338
- /** Validation configuration for the boolean input. */
6352
+ /**
6353
+ * Validation configuration for the boolean input.
6354
+ *
6355
+ * Always include this object, even when it's empty: `{}`.
6356
+ */
6339
6357
  validation?: BooleanType;
6340
6358
  /** Component type of the boolean input field. */
6341
6359
  componentType?: BooleanComponentTypeWithLiterals;
@@ -6356,7 +6374,11 @@ interface _Array extends _ArrayComponentTypeOptionsOneOf {
6356
6374
  * > **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.
6357
6375
  */
6358
6376
  servicesCheckboxGroupOptions?: ServicesCheckboxGroup;
6359
- /** Validation configuration for the array input. */
6377
+ /**
6378
+ * Validation configuration for the array input.
6379
+ *
6380
+ * Always include this object, even when it's empty: `{}`.
6381
+ */
6360
6382
  validation?: ArrayType;
6361
6383
  /** Component type of the array input field. */
6362
6384
  componentType?: ArrayComponentTypeWithLiterals;
@@ -6380,7 +6402,11 @@ interface _ArrayComponentTypeOptionsOneOf {
6380
6402
  servicesCheckboxGroupOptions?: ServicesCheckboxGroup;
6381
6403
  }
6382
6404
  interface _Object {
6383
- /** Validation configuration for the object input. */
6405
+ /**
6406
+ * Validation configuration for the object input.
6407
+ *
6408
+ * Always include this object, even when it's empty: `{}`.
6409
+ */
6384
6410
  validation?: ObjectType;
6385
6411
  }
6386
6412
  interface WixFile extends WixFileComponentTypeOptionsOneOf {
@@ -6390,7 +6416,11 @@ interface WixFile extends WixFileComponentTypeOptionsOneOf {
6390
6416
  signatureOptions?: Signature;
6391
6417
  /** Component type of the file input field. */
6392
6418
  componentType?: WixFileComponentTypeWithLiterals;
6393
- /** Validation configuration for the file input. */
6419
+ /**
6420
+ * Validation configuration for the file input.
6421
+ *
6422
+ * Always include this object, even when it's empty: `{}`.
6423
+ */
6394
6424
  validation?: FileType;
6395
6425
  }
6396
6426
  /** @oneof */
@@ -6411,7 +6441,11 @@ interface Payment extends PaymentComponentTypeOptionsOneOf {
6411
6441
  fixedPaymentOptions?: FixedPayment;
6412
6442
  /** Component type of the payment input field. */
6413
6443
  componentType?: PaymentComponentTypeWithLiterals;
6414
- /** Validation configuration for the payment input. */
6444
+ /**
6445
+ * Validation configuration for the payment input.
6446
+ *
6447
+ * Always include this object, even when it's empty: `{}`.
6448
+ */
6415
6449
  validation?: PaymentType;
6416
6450
  }
6417
6451
  /** @oneof */
@@ -6441,7 +6475,11 @@ interface Address extends AddressComponentTypeOptionsOneOf {
6441
6475
  multilineAddressOptions?: MultilineAddress;
6442
6476
  /** Component type of the multiline address field. */
6443
6477
  componentType?: ComponentTypeWithLiterals;
6444
- /** Validation configuration for the multiline address input. */
6478
+ /**
6479
+ * Validation configuration for the multiline address input.
6480
+ *
6481
+ * Always include this object, even when it's empty: `{}`.
6482
+ */
6445
6483
  validation?: MultilineAddressValidation;
6446
6484
  }
6447
6485
  /** @oneof */
@@ -6454,7 +6492,11 @@ interface ObjectArray extends ObjectArrayComponentTypeOptionsOneOf {
6454
6492
  repeaterOptions?: Repeater;
6455
6493
  /** Component type of the object array input. */
6456
6494
  componentType?: ObjectArrayComponentTypeWithLiterals;
6457
- /** Validation configuration for the object array input. */
6495
+ /**
6496
+ * Validation configuration for the object array input.
6497
+ *
6498
+ * Always include this object, even when it's empty: `{}`.
6499
+ */
6458
6500
  validation?: ObjectArrayType;
6459
6501
  }
6460
6502
  /** @oneof */
@@ -7328,13 +7370,13 @@ interface ValidationError {
7328
7370
  /**
7329
7371
  * Error type.
7330
7372
  *
7331
- * Switch on this rather than parsing `error_message`, which carries the underlying validator's wording and isn't a stable contract.
7373
+ * Switch on this rather than parsing `errorMessage`, which carries the underlying validator's wording and isn't a stable contract.
7332
7374
  */
7333
7375
  errorType?: ErrorTypeWithLiterals;
7334
7376
  /**
7335
7377
  * Human readable description of the error, in English.
7336
7378
  *
7337
- * 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.
7379
+ * 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.
7338
7380
  * @maxLength 1000
7339
7381
  */
7340
7382
  errorMessage?: string;
@@ -8054,7 +8096,7 @@ interface UpdateExtendedFieldsResponse {
8054
8096
  * @maxLength 50
8055
8097
  */
8056
8098
  namespace?: string;
8057
- /** only data from UpdateExtendedFieldsRequest namespace_data */
8099
+ /** only data from UpdateExtendedFieldsRequest `namespaceData` */
8058
8100
  namespaceData?: Record<string, any> | null;
8059
8101
  }
8060
8102
  interface BulkUpdateFormSubmissionTagsRequest {