@wix/auto_sdk_forms_submissions 1.0.139 → 1.0.141

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 (41) hide show
  1. package/build/cjs/{forms-v4-submission-submissions.universal-1irf7Orw.d.ts → forms-v4-submission-submissions.universal-DCtmRDrU.d.ts} +22 -46
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js +4 -0
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +2 -2
  6. package/build/cjs/index.typings.js +4 -0
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +22 -46
  9. package/build/cjs/meta.js +4 -0
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{forms-v4-submission-submissions.universal-1irf7Orw.d.mts → forms-v4-submission-submissions.universal-DCtmRDrU.d.mts} +22 -46
  12. package/build/es/index.d.mts +2 -2
  13. package/build/es/index.mjs +4 -0
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +2 -2
  16. package/build/es/index.typings.mjs +4 -0
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +22 -46
  19. package/build/es/meta.mjs +4 -0
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{forms-v4-submission-submissions.universal-Or7JlDEm.d.ts → forms-v4-submission-submissions.universal-D_noXpAS.d.ts} +22 -46
  22. package/build/internal/cjs/index.d.ts +2 -2
  23. package/build/internal/cjs/index.js +4 -0
  24. package/build/internal/cjs/index.js.map +1 -1
  25. package/build/internal/cjs/index.typings.d.ts +2 -2
  26. package/build/internal/cjs/index.typings.js +4 -0
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +22 -46
  29. package/build/internal/cjs/meta.js +4 -0
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{forms-v4-submission-submissions.universal-Or7JlDEm.d.mts → forms-v4-submission-submissions.universal-D_noXpAS.d.mts} +22 -46
  32. package/build/internal/es/index.d.mts +2 -2
  33. package/build/internal/es/index.mjs +4 -0
  34. package/build/internal/es/index.mjs.map +1 -1
  35. package/build/internal/es/index.typings.d.mts +2 -2
  36. package/build/internal/es/index.typings.mjs +4 -0
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +22 -46
  39. package/build/internal/es/meta.mjs +4 -0
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { hs as UpsertContactFromSubmissionRequest$1, a as UpsertContactFromSubmissionResponse$1, hu as CreateSubmissionRequest$1, hv as CreateSubmissionResponse$1, hH as GetSubmissionRequest$1, hI as GetSubmissionResponse$1, hL as UpdateSubmissionRequest$1, hM as UpdateSubmissionResponse$1, hN as ConfirmSubmissionRequest$1, f as ConfirmSubmissionResponse$1, hO as DeleteSubmissionRequest$1, hP as DeleteSubmissionResponse$1, hQ as BulkDeleteSubmissionRequest$1, g as BulkDeleteSubmissionResponse$1, hS as RestoreSubmissionFromTrashBinRequest$1, R as RestoreSubmissionFromTrashBinResponse$1, hT as RemoveSubmissionFromTrashBinRequest$1, hU as RemoveSubmissionFromTrashBinResponse$1, hV as BulkRemoveSubmissionFromTrashBinRequest$1, i as BulkRemoveSubmissionFromTrashBinResponse$1, hX as ListDeletedSubmissionsRequest$1, j as ListDeletedSubmissionsResponse$1, hY as GetDeletedSubmissionRequest$1, G as GetDeletedSubmissionResponse$1, hZ as QuerySubmissionRequest$1, l as QuerySubmissionResponse$1, h_ as SearchSubmissionsByNamespaceRequest$1, S as SearchSubmissionsByNamespaceResponse$1, i1 as QuerySubmissionsByNamespaceRequest$1, i2 as QuerySubmissionsByNamespaceResponse$1, i5 as CountSubmissionsByFilterRequest$1, o as CountSubmissionsByFilterResponse$1, i7 as CountSubmissionsRequest$1, q as CountSubmissionsResponse$1, i8 as CountDeletedSubmissionsRequest$1, s as CountDeletedSubmissionsResponse$1, ia as GetMediaUploadURLRequest$1, t as GetMediaUploadURLResponse$1, ib as BulkMarkSubmissionsAsSeenRequest$1, u as BulkMarkSubmissionsAsSeenResponse$1, ic as GetSubmissionDownloadUrlRequest$1, v as GetSubmissionDownloadUrlResponse$1, ih as DownloadSubmissionRequest$1, w as RawHttpResponse$1, ij as GetFormattedSubmissionRequest$1, x as GetFormattedSubmissionResponse$1, ip as UpdateExtendedFieldsRequest$1, z as UpdateExtendedFieldsResponse$1, iq as BulkUpdateFormSubmissionTagsRequest$1, E as BulkUpdateFormSubmissionTagsResponse$1, is as BulkUpdateFormSubmissionTagsByFilterRequest$1, I as BulkUpdateFormSubmissionTagsByFilterResponse$1, it as ValidateFormSubmissionRequest$1, J as ValidateFormSubmissionResponse$1 } from './forms-v4-submission-submissions.universal-Or7JlDEm.js';
1
+ import { hs as UpsertContactFromSubmissionRequest$1, a as UpsertContactFromSubmissionResponse$1, hu as CreateSubmissionRequest$1, hv as CreateSubmissionResponse$1, hH as GetSubmissionRequest$1, hI as GetSubmissionResponse$1, hL as UpdateSubmissionRequest$1, hM as UpdateSubmissionResponse$1, hN as ConfirmSubmissionRequest$1, f as ConfirmSubmissionResponse$1, hO as DeleteSubmissionRequest$1, hP as DeleteSubmissionResponse$1, hQ as BulkDeleteSubmissionRequest$1, g as BulkDeleteSubmissionResponse$1, hS as RestoreSubmissionFromTrashBinRequest$1, R as RestoreSubmissionFromTrashBinResponse$1, hT as RemoveSubmissionFromTrashBinRequest$1, hU as RemoveSubmissionFromTrashBinResponse$1, hV as BulkRemoveSubmissionFromTrashBinRequest$1, i as BulkRemoveSubmissionFromTrashBinResponse$1, hX as ListDeletedSubmissionsRequest$1, j as ListDeletedSubmissionsResponse$1, hY as GetDeletedSubmissionRequest$1, G as GetDeletedSubmissionResponse$1, hZ as QuerySubmissionRequest$1, l as QuerySubmissionResponse$1, h_ as SearchSubmissionsByNamespaceRequest$1, S as SearchSubmissionsByNamespaceResponse$1, i1 as QuerySubmissionsByNamespaceRequest$1, i2 as QuerySubmissionsByNamespaceResponse$1, i5 as CountSubmissionsByFilterRequest$1, o as CountSubmissionsByFilterResponse$1, i7 as CountSubmissionsRequest$1, q as CountSubmissionsResponse$1, i8 as CountDeletedSubmissionsRequest$1, s as CountDeletedSubmissionsResponse$1, ia as GetMediaUploadURLRequest$1, t as GetMediaUploadURLResponse$1, ib as BulkMarkSubmissionsAsSeenRequest$1, u as BulkMarkSubmissionsAsSeenResponse$1, ic as GetSubmissionDownloadUrlRequest$1, v as GetSubmissionDownloadUrlResponse$1, ih as DownloadSubmissionRequest$1, w as RawHttpResponse$1, ij as GetFormattedSubmissionRequest$1, x as GetFormattedSubmissionResponse$1, ip as UpdateExtendedFieldsRequest$1, z as UpdateExtendedFieldsResponse$1, iq as BulkUpdateFormSubmissionTagsRequest$1, E as BulkUpdateFormSubmissionTagsResponse$1, is as BulkUpdateFormSubmissionTagsByFilterRequest$1, I as BulkUpdateFormSubmissionTagsByFilterResponse$1, it as ValidateFormSubmissionRequest$1, J as ValidateFormSubmissionResponse$1 } from './forms-v4-submission-submissions.universal-D_noXpAS.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /** Form submission that was created or retrieved. */
@@ -1360,10 +1360,7 @@ interface Field extends FieldFieldTypeOptionsOneOf {
1360
1360
  * @maxLength 50
1361
1361
  */
1362
1362
  identifier?: string | null;
1363
- /**
1364
- * Field type.
1365
- * @readonly
1366
- */
1363
+ /** Field type. */
1367
1364
  fieldType?: FieldTypeWithLiterals;
1368
1365
  }
1369
1366
  /** @oneof */
@@ -1403,7 +1400,16 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
1403
1400
  /** Address input field settings. */
1404
1401
  addressOptions?: Address;
1405
1402
  /**
1406
- * Human readable identifier used to reference a field. For example, `"address"`.
1403
+ * Human readable identifier used to reference a field, used as the key
1404
+ * under which the field's value is stored in a submission. For example, `"address"`.
1405
+ *
1406
+ * Required for input fields. Must be unique within the form (comparison is case-sensitive).
1407
+ *
1408
+ * Naming rules:
1409
+ * - Must start with an ASCII letter (`a`-`z` or `A`-`Z`).
1410
+ * - May contain ASCII letters, digits, and underscores (`_`). No spaces, hyphens, or non-ASCII characters.
1411
+ * - Consecutive underscores (`__`) are not allowed.
1412
+ * - Casing is not enforced, so `camelCase`, `snake_case`, and `PascalCase` are all valid.
1407
1413
  *
1408
1414
  * Can be set once.
1409
1415
  * @minLength 1
@@ -1425,10 +1431,7 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
1425
1431
  * Default: `false`
1426
1432
  */
1427
1433
  required?: boolean;
1428
- /**
1429
- * Type of the input field that determines what kind of data it collects.
1430
- * @readonly
1431
- */
1434
+ /** Type of the input field that determines what kind of data it collects. */
1432
1435
  inputType?: InputTypeWithLiterals;
1433
1436
  /**
1434
1437
  * Mapping configuration for automatically saving field values to contact properties.
@@ -5659,10 +5662,7 @@ interface _String extends _StringComponentTypeOptionsOneOf {
5659
5662
  passwordOptions?: Password;
5660
5663
  /** Validation configuration for the string input. */
5661
5664
  validation?: StringType;
5662
- /**
5663
- * Component type of the string input field.
5664
- * @readonly
5665
- */
5665
+ /** Component type of the string input field. */
5666
5666
  componentType?: StringComponentTypeWithLiterals;
5667
5667
  }
5668
5668
  /** @oneof */
@@ -5695,10 +5695,7 @@ interface _Number extends _NumberComponentTypeOptionsOneOf {
5695
5695
  ratingInputOptions?: RatingInput;
5696
5696
  /** Validation configuration for the number input. */
5697
5697
  validation?: NumberType;
5698
- /**
5699
- * Component type of the number input field.
5700
- * @readonly
5701
- */
5698
+ /** Component type of the number input field. */
5702
5699
  componentType?: NumberComponentTypeWithLiterals;
5703
5700
  }
5704
5701
  /** @oneof */
@@ -5713,10 +5710,7 @@ interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
5713
5710
  checkboxOptions?: Checkbox;
5714
5711
  /** Validation configuration for the boolean input. */
5715
5712
  validation?: BooleanType;
5716
- /**
5717
- * Component type of the boolean input field.
5718
- * @readonly
5719
- */
5713
+ /** Component type of the boolean input field. */
5720
5714
  componentType?: BooleanComponentTypeWithLiterals;
5721
5715
  }
5722
5716
  /** @oneof */
@@ -5733,10 +5727,7 @@ interface _Array extends _ArrayComponentTypeOptionsOneOf {
5733
5727
  servicesCheckboxGroupOptions?: ServicesCheckboxGroup;
5734
5728
  /** Validation configuration for the array input. */
5735
5729
  validation?: ArrayType;
5736
- /**
5737
- * Component type of the array input field.
5738
- * @readonly
5739
- */
5730
+ /** Component type of the array input field. */
5740
5731
  componentType?: ArrayComponentTypeWithLiterals;
5741
5732
  }
5742
5733
  /** @oneof */
@@ -5757,10 +5748,7 @@ interface WixFile extends WixFileComponentTypeOptionsOneOf {
5757
5748
  fileUploadOptions?: FileUpload;
5758
5749
  /** Signature component settings. */
5759
5750
  signatureOptions?: Signature;
5760
- /**
5761
- * Component type of the file input field.
5762
- * @readonly
5763
- */
5751
+ /** Component type of the file input field. */
5764
5752
  componentType?: WixFileComponentTypeWithLiterals;
5765
5753
  /** Validation configuration for the file input. */
5766
5754
  validation?: FileType;
@@ -5781,10 +5769,7 @@ interface Payment extends PaymentComponentTypeOptionsOneOf {
5781
5769
  paymentInputOptions?: PaymentInput;
5782
5770
  /** Fixed payment component settings. */
5783
5771
  fixedPaymentOptions?: FixedPayment;
5784
- /**
5785
- * Component type of the payment input field.
5786
- * @readonly
5787
- */
5772
+ /** Component type of the payment input field. */
5788
5773
  componentType?: PaymentComponentTypeWithLiterals;
5789
5774
  /** Validation configuration for the payment input. */
5790
5775
  validation?: PaymentType;
@@ -5803,10 +5788,7 @@ interface PaymentComponentTypeOptionsOneOf {
5803
5788
  interface Scheduling extends SchedulingComponentTypeOptionsOneOf {
5804
5789
  /** Appointment component settings. */
5805
5790
  appointmentOptions?: Appointment;
5806
- /**
5807
- * Component type of the scheduling field.
5808
- * @readonly
5809
- */
5791
+ /** Component type of the scheduling field. */
5810
5792
  componentType?: SchedulingComponentTypeWithLiterals;
5811
5793
  }
5812
5794
  /** @oneof */
@@ -5817,10 +5799,7 @@ interface SchedulingComponentTypeOptionsOneOf {
5817
5799
  interface Address extends AddressComponentTypeOptionsOneOf {
5818
5800
  /** Multiline address component settings. */
5819
5801
  multilineAddressOptions?: MultilineAddress;
5820
- /**
5821
- * Component type of the multiline address field.
5822
- * @readonly
5823
- */
5802
+ /** Component type of the multiline address field. */
5824
5803
  componentType?: ComponentTypeWithLiterals;
5825
5804
  /** Validation configuration for the multiline address input. */
5826
5805
  validation?: MultilineAddressValidation;
@@ -5833,10 +5812,7 @@ interface AddressComponentTypeOptionsOneOf {
5833
5812
  interface ObjectArray extends ObjectArrayComponentTypeOptionsOneOf {
5834
5813
  /** Repeater component settings. */
5835
5814
  repeaterOptions?: Repeater;
5836
- /**
5837
- * Component type of the object array input.
5838
- * @readonly
5839
- */
5815
+ /** Component type of the object array input. */
5840
5816
  componentType?: ObjectArrayComponentTypeWithLiterals;
5841
5817
  /** Validation configuration for the object array input. */
5842
5818
  validation?: ObjectArrayType;
@@ -235,6 +235,10 @@ function resolveWixFormsV4FormSubmissionServiceUrl(opts) {
235
235
  {
236
236
  srcPath: "/_api/form-submission-service",
237
237
  destPath: ""
238
+ },
239
+ {
240
+ srcPath: "/forms/v4/submissions",
241
+ destPath: "/v4/submissions"
238
242
  }
239
243
  ],
240
244
  "apps._base_domain_": [