@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 { 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.mjs';
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-CUKQPm_I.mjs';
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
  */
@@ -6273,7 +6273,11 @@ interface _String extends _StringComponentTypeOptionsOneOf {
6273
6273
  servicesDropdownOptions?: ServicesDropdown;
6274
6274
  /** Password component settings. */
6275
6275
  passwordOptions?: Password;
6276
- /** Validation configuration for the string input. */
6276
+ /**
6277
+ * Validation configuration for the string input.
6278
+ *
6279
+ * Always include this object, even when it's empty: `{}`.
6280
+ */
6277
6281
  validation?: StringType;
6278
6282
  /** Component type of the string input field. */
6279
6283
  componentType?: StringComponentTypeWithLiterals;
@@ -6315,7 +6319,11 @@ interface _Number extends _NumberComponentTypeOptionsOneOf {
6315
6319
  numberInputOptions?: NumberInput;
6316
6320
  /** Rating input settings. */
6317
6321
  ratingInputOptions?: RatingInput;
6318
- /** Validation configuration for the number input. */
6322
+ /**
6323
+ * Validation configuration for the number input.
6324
+ *
6325
+ * Always include this object, even when it's empty: `{}`.
6326
+ */
6319
6327
  validation?: NumberType;
6320
6328
  /** Component type of the number input field. */
6321
6329
  componentType?: NumberComponentTypeWithLiterals;
@@ -6335,7 +6343,11 @@ interface _NumberComponentTypeOptionsOneOf {
6335
6343
  interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
6336
6344
  /** Checkbox component settings. */
6337
6345
  checkboxOptions?: Checkbox;
6338
- /** Validation configuration for the boolean input. */
6346
+ /**
6347
+ * Validation configuration for the boolean input.
6348
+ *
6349
+ * Always include this object, even when it's empty: `{}`.
6350
+ */
6339
6351
  validation?: BooleanType;
6340
6352
  /** Component type of the boolean input field. */
6341
6353
  componentType?: BooleanComponentTypeWithLiterals;
@@ -6356,7 +6368,11 @@ interface _Array extends _ArrayComponentTypeOptionsOneOf {
6356
6368
  * > **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
6369
  */
6358
6370
  servicesCheckboxGroupOptions?: ServicesCheckboxGroup;
6359
- /** Validation configuration for the array input. */
6371
+ /**
6372
+ * Validation configuration for the array input.
6373
+ *
6374
+ * Always include this object, even when it's empty: `{}`.
6375
+ */
6360
6376
  validation?: ArrayType;
6361
6377
  /** Component type of the array input field. */
6362
6378
  componentType?: ArrayComponentTypeWithLiterals;
@@ -6380,7 +6396,11 @@ interface _ArrayComponentTypeOptionsOneOf {
6380
6396
  servicesCheckboxGroupOptions?: ServicesCheckboxGroup;
6381
6397
  }
6382
6398
  interface _Object {
6383
- /** Validation configuration for the object input. */
6399
+ /**
6400
+ * Validation configuration for the object input.
6401
+ *
6402
+ * Always include this object, even when it's empty: `{}`.
6403
+ */
6384
6404
  validation?: ObjectType;
6385
6405
  }
6386
6406
  interface WixFile extends WixFileComponentTypeOptionsOneOf {
@@ -6390,7 +6410,11 @@ interface WixFile extends WixFileComponentTypeOptionsOneOf {
6390
6410
  signatureOptions?: Signature;
6391
6411
  /** Component type of the file input field. */
6392
6412
  componentType?: WixFileComponentTypeWithLiterals;
6393
- /** Validation configuration for the file input. */
6413
+ /**
6414
+ * Validation configuration for the file input.
6415
+ *
6416
+ * Always include this object, even when it's empty: `{}`.
6417
+ */
6394
6418
  validation?: FileType;
6395
6419
  }
6396
6420
  /** @oneof */
@@ -6411,7 +6435,11 @@ interface Payment extends PaymentComponentTypeOptionsOneOf {
6411
6435
  fixedPaymentOptions?: FixedPayment;
6412
6436
  /** Component type of the payment input field. */
6413
6437
  componentType?: PaymentComponentTypeWithLiterals;
6414
- /** Validation configuration for the payment input. */
6438
+ /**
6439
+ * Validation configuration for the payment input.
6440
+ *
6441
+ * Always include this object, even when it's empty: `{}`.
6442
+ */
6415
6443
  validation?: PaymentType;
6416
6444
  }
6417
6445
  /** @oneof */
@@ -6441,7 +6469,11 @@ interface Address extends AddressComponentTypeOptionsOneOf {
6441
6469
  multilineAddressOptions?: MultilineAddress;
6442
6470
  /** Component type of the multiline address field. */
6443
6471
  componentType?: ComponentTypeWithLiterals;
6444
- /** Validation configuration for the multiline address input. */
6472
+ /**
6473
+ * Validation configuration for the multiline address input.
6474
+ *
6475
+ * Always include this object, even when it's empty: `{}`.
6476
+ */
6445
6477
  validation?: MultilineAddressValidation;
6446
6478
  }
6447
6479
  /** @oneof */
@@ -6454,7 +6486,11 @@ interface ObjectArray extends ObjectArrayComponentTypeOptionsOneOf {
6454
6486
  repeaterOptions?: Repeater;
6455
6487
  /** Component type of the object array input. */
6456
6488
  componentType?: ObjectArrayComponentTypeWithLiterals;
6457
- /** Validation configuration for the object array input. */
6489
+ /**
6490
+ * Validation configuration for the object array input.
6491
+ *
6492
+ * Always include this object, even when it's empty: `{}`.
6493
+ */
6458
6494
  validation?: ObjectArrayType;
6459
6495
  }
6460
6496
  /** @oneof */
@@ -7328,13 +7364,13 @@ interface ValidationError {
7328
7364
  /**
7329
7365
  * Error type.
7330
7366
  *
7331
- * Switch on this rather than parsing `error_message`, which carries the underlying validator's wording and isn't a stable contract.
7367
+ * Switch on this rather than parsing `errorMessage`, which carries the underlying validator's wording and isn't a stable contract.
7332
7368
  */
7333
7369
  errorType?: ErrorTypeWithLiterals;
7334
7370
  /**
7335
7371
  * Human readable description of the error, in English.
7336
7372
  *
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.
7373
+ * 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
7374
  * @maxLength 1000
7339
7375
  */
7340
7376
  errorMessage?: string;