@voxket-ai/events-sdk 1.0.2 → 1.0.4
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/README.md +349 -288
- package/dist/api/ApiClient.d.ts +13 -0
- package/dist/components/AttendeePortal.d.ts +2 -0
- package/dist/components/DynamicForm.d.ts +1 -1
- package/dist/events-sdk.js +2226 -1043
- package/dist/events-sdk.umd.cjs +7 -4
- package/dist/types.d.ts +10 -0
- package/dist/utils/formUtils.d.ts +5 -0
- package/package.json +1 -1
package/dist/api/ApiClient.d.ts
CHANGED
|
@@ -26,5 +26,18 @@ export declare class ApiClient {
|
|
|
26
26
|
deleteFile(assetId: string | number, token?: string | null): Promise<any>;
|
|
27
27
|
portalUploadFile(token: string, file: File): Promise<any>;
|
|
28
28
|
portalDeleteFile(token: string, assetId: string | number): Promise<any>;
|
|
29
|
+
portalSubmitReviewSubmission(token: string, fieldLabel: string, file?: File | null, text?: string | null): Promise<any>;
|
|
30
|
+
/**
|
|
31
|
+
* POST /me/submissions/ for a review field (file or text).
|
|
32
|
+
* Authenticates with a bearer token (attendee portal) or, when no token is given,
|
|
33
|
+
* identifies the registration by email (abstract submission with accept_review_file).
|
|
34
|
+
*/
|
|
35
|
+
submitReviewSubmission({ fieldLabel, file, text, token, email, }: {
|
|
36
|
+
fieldLabel: string;
|
|
37
|
+
file?: File | null;
|
|
38
|
+
text?: string | null;
|
|
39
|
+
token?: string | null;
|
|
40
|
+
email?: string | null;
|
|
41
|
+
}): Promise<any>;
|
|
29
42
|
portalUpdateProfile(token: string, payload: any): Promise<any>;
|
|
30
43
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const DynamicForm: ({ schema, onSubmit, onBack, theme, displayMode, isExpanded, onToggleExpand, onClose, onChange, initialValues, isDark, apiClient, storage, onError, onEvent, }: any) => React.JSX.Element;
|
|
2
|
+
export declare const DynamicForm: ({ schema, onSubmit, onBack, theme, displayMode, isExpanded, onToggleExpand, onClose, onChange, initialValues, isDark, apiClient, storage, onError, onEvent, backgroundImage, ticketType, showReviewFields, }: any) => React.JSX.Element;
|