@wix/auto_sdk_events_forms 1.0.37 → 1.0.39
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.
- package/build/cjs/index.d.ts +7 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +18 -15
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +10 -9
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +7 -7
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +18 -15
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +10 -9
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +7 -7
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +18 -15
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +10 -9
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +7 -7
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +18 -15
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +10 -9
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -7,19 +7,17 @@ declare function getForm$1(httpClient: HttpClient): GetFormSignature;
|
|
|
7
7
|
interface GetFormSignature {
|
|
8
8
|
/**
|
|
9
9
|
* Retrieves an event registration form.
|
|
10
|
-
*
|
|
11
|
-
* Retrieves both the draft and published versions.
|
|
12
10
|
* @param - Event ID to which the form belongs.
|
|
13
11
|
* @param - Optional fields.
|
|
14
|
-
* @returns
|
|
15
|
-
*
|
|
12
|
+
* @returns Event form.
|
|
13
|
+
* Form is visible to site visitors.
|
|
16
14
|
*/
|
|
17
15
|
(eventId: string): Promise<NonNullablePaths<Form, FormNonNullablePaths>>;
|
|
18
16
|
}
|
|
19
17
|
declare function addControl$1(httpClient: HttpClient): AddControlSignature;
|
|
20
18
|
interface AddControlSignature {
|
|
21
19
|
/**
|
|
22
|
-
* Adds an input control to the
|
|
20
|
+
* Adds an input control to the form. The applied changes trigger form publishing.
|
|
23
21
|
* @param - Event ID to which the form belongs.
|
|
24
22
|
* @param - Optional fields.
|
|
25
23
|
*/
|
|
@@ -32,7 +30,7 @@ interface AddControlSignature {
|
|
|
32
30
|
declare function updateControl$1(httpClient: HttpClient): UpdateControlSignature;
|
|
33
31
|
interface UpdateControlSignature {
|
|
34
32
|
/**
|
|
35
|
-
* Updates an existing input control in the
|
|
33
|
+
* Updates an existing input control in the form. The applied changes trigger form publishing.
|
|
36
34
|
* @param - Optional fields.
|
|
37
35
|
* @param - Identifies what form to update.
|
|
38
36
|
*/
|
|
@@ -45,7 +43,7 @@ interface UpdateControlSignature {
|
|
|
45
43
|
declare function deleteControl$1(httpClient: HttpClient): DeleteControlSignature;
|
|
46
44
|
interface DeleteControlSignature {
|
|
47
45
|
/**
|
|
48
|
-
* Deletes an input control from the
|
|
46
|
+
* Deletes an input control from the form. The applied changes trigger form publishing.
|
|
49
47
|
* @param - Identifies what form to delete.
|
|
50
48
|
*/
|
|
51
49
|
(identifiers: NonNullablePaths<DeleteControlIdentifiers, `_id` | `eventId`>): Promise<NonNullablePaths<DeleteControlResponse, {
|
|
@@ -71,6 +69,7 @@ interface PublishDraftSignature {
|
|
|
71
69
|
/**
|
|
72
70
|
* Publishes the draft form.
|
|
73
71
|
* @param - Event ID to which the form belongs.
|
|
72
|
+
* @deprecated
|
|
74
73
|
*/
|
|
75
74
|
(eventId: string): Promise<NonNullablePaths<PublishDraftResponse, {
|
|
76
75
|
[P in FormNonNullablePaths]: `form.${P}`;
|
|
@@ -81,6 +80,7 @@ interface DiscardDraftSignature {
|
|
|
81
80
|
/**
|
|
82
81
|
* Clears all changes to the draft form.
|
|
83
82
|
* @param - Event ID to which the form belongs.
|
|
83
|
+
* @deprecated
|
|
84
84
|
*/
|
|
85
85
|
(eventId: string): Promise<void>;
|
|
86
86
|
}
|