@hubs101/js-api-skd-client 1.0.10604 → 1.0.10605

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.
@@ -539,6 +539,33 @@ export type MenuItem = {
539
539
  body?: string;
540
540
  element: (typeof MENU_ELEMENT_TYPE)[number];
541
541
  };
542
+ export type FAQType = "default" | "extended" | "venue-location" | "hotel-reservation" | "pre-event-session" | "networking-dinner" | "moderator-guide" | "matchmaking" | "plain" | "contact";
543
+ export type FaqInput = {
544
+ name: string;
545
+ type?: FAQType;
546
+ content?: string;
547
+ image_1?: File;
548
+ image_2?: File;
549
+ reservation_link?: string;
550
+ contact_fullname?: string;
551
+ contact_jobtitle?: string;
552
+ contact_telephone?: string;
553
+ contact_email?: string;
554
+ };
555
+ export type FAQResponse = {
556
+ name: string;
557
+ type: FAQType;
558
+ content?: string;
559
+ image_one?: string;
560
+ image_two?: string;
561
+ reservation_link?: string;
562
+ contact_fullname?: string;
563
+ contact_jobtitle?: string;
564
+ contact_telephone?: string;
565
+ contact_email?: string;
566
+ order: number;
567
+ _reactId?: string;
568
+ };
542
569
  export type EventServerResponse = {
543
570
  id: string;
544
571
  name: string;
@@ -629,21 +656,9 @@ export type EventServerResponse = {
629
656
  citations: Record<string, string | boolean | File>[];
630
657
  surveys: Record<string, string | boolean | File>[];
631
658
  tickets: Record<string, string | boolean | File>[];
632
- faqs: Record<string, string | boolean | File>[];
659
+ faqs: FAQResponse[];
633
660
  };
634
661
  };
635
- export type FaqInput = {
636
- name: string;
637
- type?: string;
638
- content?: string;
639
- image_1?: File;
640
- image_2?: File;
641
- reservation_link?: string;
642
- contact_fullname?: string;
643
- contact_jobtitle?: string;
644
- contact_telephone?: string;
645
- contact_email?: string;
646
- };
647
662
  export type AccountInput = {
648
663
  name?: string;
649
664
  chat_api_user?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubs101/js-api-skd-client",
3
- "version": "1.0.10604",
3
+ "version": "1.0.10605",
4
4
  "author": "Liveware",
5
5
  "scripts": {
6
6
  "test": "jest --config jestconfig.json",