@connectedxm/admin 1.4.21 → 1.4.24
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/dist/index.d.mts +24 -23
- package/dist/index.d.ts +24 -23
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -460,8 +460,8 @@ interface BaseAnnouncement {
|
|
|
460
460
|
interface EventAnnouncementFilters {
|
|
461
461
|
type: "event";
|
|
462
462
|
ticketId?: string;
|
|
463
|
-
questionId?:
|
|
464
|
-
choiceId?:
|
|
463
|
+
questionId?: string;
|
|
464
|
+
choiceId?: string;
|
|
465
465
|
eventRoomTypeId?: string;
|
|
466
466
|
addOnId?: string;
|
|
467
467
|
}
|
|
@@ -1536,17 +1536,17 @@ interface TaxIntegration {
|
|
|
1536
1536
|
updatedAt: string;
|
|
1537
1537
|
}
|
|
1538
1538
|
interface BaseRegistrationQuestionChoice {
|
|
1539
|
-
id:
|
|
1539
|
+
id: string;
|
|
1540
1540
|
value: string;
|
|
1541
1541
|
text: string | null;
|
|
1542
1542
|
description: string | null;
|
|
1543
1543
|
supply: number | null;
|
|
1544
1544
|
sortOrder: number;
|
|
1545
1545
|
subQuestions?: RegistrationQuestion[] | {
|
|
1546
|
-
questionId:
|
|
1546
|
+
questionId: string;
|
|
1547
1547
|
}[];
|
|
1548
1548
|
question: {
|
|
1549
|
-
id:
|
|
1549
|
+
id: string;
|
|
1550
1550
|
name: string;
|
|
1551
1551
|
};
|
|
1552
1552
|
_count: {
|
|
@@ -1554,20 +1554,20 @@ interface BaseRegistrationQuestionChoice {
|
|
|
1554
1554
|
};
|
|
1555
1555
|
}
|
|
1556
1556
|
interface Question {
|
|
1557
|
-
id:
|
|
1557
|
+
id: string;
|
|
1558
1558
|
value: string;
|
|
1559
1559
|
}
|
|
1560
1560
|
interface RegistrationQuestionChoice extends BaseRegistrationQuestionChoice {
|
|
1561
|
-
questionId:
|
|
1561
|
+
questionId: string;
|
|
1562
1562
|
question: BaseRegistrationQuestion;
|
|
1563
1563
|
subQuestions: BaseRegistrationQuestionChoiceSubQuestion[];
|
|
1564
1564
|
createdAt: string;
|
|
1565
1565
|
updatedAt: string;
|
|
1566
1566
|
}
|
|
1567
1567
|
interface BaseRegistrationQuestionChoiceSubQuestion {
|
|
1568
|
-
choiceId:
|
|
1568
|
+
choiceId: string;
|
|
1569
1569
|
choice: BaseRegistrationQuestionChoice;
|
|
1570
|
-
questionId:
|
|
1570
|
+
questionId: string;
|
|
1571
1571
|
question: BaseRegistrationQuestion;
|
|
1572
1572
|
}
|
|
1573
1573
|
interface RegistrationQuestionChoiceSubQuestion extends BaseRegistrationQuestionChoiceSubQuestion {
|
|
@@ -1576,7 +1576,7 @@ interface RegistrationQuestionChoiceSubQuestion extends BaseRegistrationQuestion
|
|
|
1576
1576
|
updatedAt: string;
|
|
1577
1577
|
}
|
|
1578
1578
|
interface RegistrationQuestionChoiceTranslation {
|
|
1579
|
-
id:
|
|
1579
|
+
id: string;
|
|
1580
1580
|
locale: string;
|
|
1581
1581
|
value: string;
|
|
1582
1582
|
text: string | null;
|
|
@@ -1585,7 +1585,7 @@ interface RegistrationQuestionChoiceTranslation {
|
|
|
1585
1585
|
updatedAt: string;
|
|
1586
1586
|
}
|
|
1587
1587
|
interface BaseRegistrationQuestionResponseChange {
|
|
1588
|
-
id:
|
|
1588
|
+
id: string;
|
|
1589
1589
|
newValue: string;
|
|
1590
1590
|
oldValue: string;
|
|
1591
1591
|
eventId: string;
|
|
@@ -1599,9 +1599,9 @@ interface RegistrationQuestionResponseChange extends BaseRegistrationQuestionRes
|
|
|
1599
1599
|
user: BaseUser;
|
|
1600
1600
|
}
|
|
1601
1601
|
interface BaseRegistrationQuestionResponse {
|
|
1602
|
-
id:
|
|
1602
|
+
id: string;
|
|
1603
1603
|
value: string;
|
|
1604
|
-
questionId:
|
|
1604
|
+
questionId: string;
|
|
1605
1605
|
question: BaseRegistrationQuestion;
|
|
1606
1606
|
}
|
|
1607
1607
|
interface RegistrationQuestionResponse extends BaseRegistrationQuestionResponse {
|
|
@@ -1610,7 +1610,7 @@ interface RegistrationQuestionResponse extends BaseRegistrationQuestionResponse
|
|
|
1610
1610
|
updatedAt: string;
|
|
1611
1611
|
}
|
|
1612
1612
|
interface BaseRegistrationQuestionSearchValue {
|
|
1613
|
-
id:
|
|
1613
|
+
id: string;
|
|
1614
1614
|
value: string;
|
|
1615
1615
|
top: boolean;
|
|
1616
1616
|
}
|
|
@@ -1618,7 +1618,7 @@ interface RegistrationQuestionSearchValue extends BaseRegistrationQuestionSearch
|
|
|
1618
1618
|
createdAt: string;
|
|
1619
1619
|
}
|
|
1620
1620
|
interface BaseRegistrationQuestion {
|
|
1621
|
-
id:
|
|
1621
|
+
id: string;
|
|
1622
1622
|
eventId: string;
|
|
1623
1623
|
type: RegistrationQuestionType;
|
|
1624
1624
|
name: string;
|
|
@@ -1647,7 +1647,7 @@ interface RegistrationQuestion extends BaseRegistrationQuestion {
|
|
|
1647
1647
|
};
|
|
1648
1648
|
}
|
|
1649
1649
|
interface RegistrationQuestionTranslation {
|
|
1650
|
-
id:
|
|
1650
|
+
id: string;
|
|
1651
1651
|
locale: string;
|
|
1652
1652
|
label: string | null;
|
|
1653
1653
|
placeholder: string | null;
|
|
@@ -1656,9 +1656,9 @@ interface RegistrationQuestionTranslation {
|
|
|
1656
1656
|
updatedAt: string;
|
|
1657
1657
|
}
|
|
1658
1658
|
interface BaseRegistrationSectionQuestion {
|
|
1659
|
-
sectionId:
|
|
1659
|
+
sectionId: string;
|
|
1660
1660
|
section: BaseRegistrationSection;
|
|
1661
|
-
questionId:
|
|
1661
|
+
questionId: string;
|
|
1662
1662
|
question: BaseRegistrationQuestion;
|
|
1663
1663
|
sortOrder: number;
|
|
1664
1664
|
}
|
|
@@ -1667,7 +1667,7 @@ interface RegistrationSectionQuestion extends BaseRegistrationSectionQuestion {
|
|
|
1667
1667
|
updatedAt: string;
|
|
1668
1668
|
}
|
|
1669
1669
|
interface BaseRegistrationSection {
|
|
1670
|
-
id:
|
|
1670
|
+
id: string;
|
|
1671
1671
|
eventId: string;
|
|
1672
1672
|
name: string;
|
|
1673
1673
|
description: string | null;
|
|
@@ -1686,7 +1686,7 @@ interface RegistrationSection extends BaseRegistrationSection {
|
|
|
1686
1686
|
updatedAt: string;
|
|
1687
1687
|
}
|
|
1688
1688
|
interface RegistrationSectionTranslation {
|
|
1689
|
-
id:
|
|
1689
|
+
id: string;
|
|
1690
1690
|
locale: string;
|
|
1691
1691
|
name: string;
|
|
1692
1692
|
description: string | null;
|
|
@@ -3763,6 +3763,7 @@ interface ReportCreateInputs {
|
|
|
3763
3763
|
parentId: string | number;
|
|
3764
3764
|
eventId?: string | null;
|
|
3765
3765
|
placeId?: string | null;
|
|
3766
|
+
groupId?: string | null;
|
|
3766
3767
|
description?: string | null;
|
|
3767
3768
|
filters?: string | null;
|
|
3768
3769
|
columns?: string | null;
|
|
@@ -16502,7 +16503,7 @@ interface ReorderEventQuestionChoiceSubQuestionsParams extends MutationParams {
|
|
|
16502
16503
|
eventId: string;
|
|
16503
16504
|
questionId: string;
|
|
16504
16505
|
choiceId: string;
|
|
16505
|
-
questionIds:
|
|
16506
|
+
questionIds: string[];
|
|
16506
16507
|
}
|
|
16507
16508
|
/**
|
|
16508
16509
|
* @category Methods
|
|
@@ -16522,7 +16523,7 @@ declare const useReorderEventQuestionChoiceSubQuestions: (options?: Omit<Connect
|
|
|
16522
16523
|
interface ReorderEventQuestionChoicesParams extends MutationParams {
|
|
16523
16524
|
eventId: string;
|
|
16524
16525
|
questionId: string;
|
|
16525
|
-
choicesIds:
|
|
16526
|
+
choicesIds: string[];
|
|
16526
16527
|
}
|
|
16527
16528
|
/**
|
|
16528
16529
|
* @category Methods
|
|
@@ -17092,7 +17093,7 @@ declare const useRemoveEventSectionTier: (options?: Omit<ConnectedXMMutationOpti
|
|
|
17092
17093
|
interface ReorderEventSectionQuestionsParams extends MutationParams {
|
|
17093
17094
|
eventId: string;
|
|
17094
17095
|
sectionId: string;
|
|
17095
|
-
questionIds:
|
|
17096
|
+
questionIds: string[];
|
|
17096
17097
|
}
|
|
17097
17098
|
/**
|
|
17098
17099
|
* @category Methods
|
package/dist/index.d.ts
CHANGED
|
@@ -460,8 +460,8 @@ interface BaseAnnouncement {
|
|
|
460
460
|
interface EventAnnouncementFilters {
|
|
461
461
|
type: "event";
|
|
462
462
|
ticketId?: string;
|
|
463
|
-
questionId?:
|
|
464
|
-
choiceId?:
|
|
463
|
+
questionId?: string;
|
|
464
|
+
choiceId?: string;
|
|
465
465
|
eventRoomTypeId?: string;
|
|
466
466
|
addOnId?: string;
|
|
467
467
|
}
|
|
@@ -1536,17 +1536,17 @@ interface TaxIntegration {
|
|
|
1536
1536
|
updatedAt: string;
|
|
1537
1537
|
}
|
|
1538
1538
|
interface BaseRegistrationQuestionChoice {
|
|
1539
|
-
id:
|
|
1539
|
+
id: string;
|
|
1540
1540
|
value: string;
|
|
1541
1541
|
text: string | null;
|
|
1542
1542
|
description: string | null;
|
|
1543
1543
|
supply: number | null;
|
|
1544
1544
|
sortOrder: number;
|
|
1545
1545
|
subQuestions?: RegistrationQuestion[] | {
|
|
1546
|
-
questionId:
|
|
1546
|
+
questionId: string;
|
|
1547
1547
|
}[];
|
|
1548
1548
|
question: {
|
|
1549
|
-
id:
|
|
1549
|
+
id: string;
|
|
1550
1550
|
name: string;
|
|
1551
1551
|
};
|
|
1552
1552
|
_count: {
|
|
@@ -1554,20 +1554,20 @@ interface BaseRegistrationQuestionChoice {
|
|
|
1554
1554
|
};
|
|
1555
1555
|
}
|
|
1556
1556
|
interface Question {
|
|
1557
|
-
id:
|
|
1557
|
+
id: string;
|
|
1558
1558
|
value: string;
|
|
1559
1559
|
}
|
|
1560
1560
|
interface RegistrationQuestionChoice extends BaseRegistrationQuestionChoice {
|
|
1561
|
-
questionId:
|
|
1561
|
+
questionId: string;
|
|
1562
1562
|
question: BaseRegistrationQuestion;
|
|
1563
1563
|
subQuestions: BaseRegistrationQuestionChoiceSubQuestion[];
|
|
1564
1564
|
createdAt: string;
|
|
1565
1565
|
updatedAt: string;
|
|
1566
1566
|
}
|
|
1567
1567
|
interface BaseRegistrationQuestionChoiceSubQuestion {
|
|
1568
|
-
choiceId:
|
|
1568
|
+
choiceId: string;
|
|
1569
1569
|
choice: BaseRegistrationQuestionChoice;
|
|
1570
|
-
questionId:
|
|
1570
|
+
questionId: string;
|
|
1571
1571
|
question: BaseRegistrationQuestion;
|
|
1572
1572
|
}
|
|
1573
1573
|
interface RegistrationQuestionChoiceSubQuestion extends BaseRegistrationQuestionChoiceSubQuestion {
|
|
@@ -1576,7 +1576,7 @@ interface RegistrationQuestionChoiceSubQuestion extends BaseRegistrationQuestion
|
|
|
1576
1576
|
updatedAt: string;
|
|
1577
1577
|
}
|
|
1578
1578
|
interface RegistrationQuestionChoiceTranslation {
|
|
1579
|
-
id:
|
|
1579
|
+
id: string;
|
|
1580
1580
|
locale: string;
|
|
1581
1581
|
value: string;
|
|
1582
1582
|
text: string | null;
|
|
@@ -1585,7 +1585,7 @@ interface RegistrationQuestionChoiceTranslation {
|
|
|
1585
1585
|
updatedAt: string;
|
|
1586
1586
|
}
|
|
1587
1587
|
interface BaseRegistrationQuestionResponseChange {
|
|
1588
|
-
id:
|
|
1588
|
+
id: string;
|
|
1589
1589
|
newValue: string;
|
|
1590
1590
|
oldValue: string;
|
|
1591
1591
|
eventId: string;
|
|
@@ -1599,9 +1599,9 @@ interface RegistrationQuestionResponseChange extends BaseRegistrationQuestionRes
|
|
|
1599
1599
|
user: BaseUser;
|
|
1600
1600
|
}
|
|
1601
1601
|
interface BaseRegistrationQuestionResponse {
|
|
1602
|
-
id:
|
|
1602
|
+
id: string;
|
|
1603
1603
|
value: string;
|
|
1604
|
-
questionId:
|
|
1604
|
+
questionId: string;
|
|
1605
1605
|
question: BaseRegistrationQuestion;
|
|
1606
1606
|
}
|
|
1607
1607
|
interface RegistrationQuestionResponse extends BaseRegistrationQuestionResponse {
|
|
@@ -1610,7 +1610,7 @@ interface RegistrationQuestionResponse extends BaseRegistrationQuestionResponse
|
|
|
1610
1610
|
updatedAt: string;
|
|
1611
1611
|
}
|
|
1612
1612
|
interface BaseRegistrationQuestionSearchValue {
|
|
1613
|
-
id:
|
|
1613
|
+
id: string;
|
|
1614
1614
|
value: string;
|
|
1615
1615
|
top: boolean;
|
|
1616
1616
|
}
|
|
@@ -1618,7 +1618,7 @@ interface RegistrationQuestionSearchValue extends BaseRegistrationQuestionSearch
|
|
|
1618
1618
|
createdAt: string;
|
|
1619
1619
|
}
|
|
1620
1620
|
interface BaseRegistrationQuestion {
|
|
1621
|
-
id:
|
|
1621
|
+
id: string;
|
|
1622
1622
|
eventId: string;
|
|
1623
1623
|
type: RegistrationQuestionType;
|
|
1624
1624
|
name: string;
|
|
@@ -1647,7 +1647,7 @@ interface RegistrationQuestion extends BaseRegistrationQuestion {
|
|
|
1647
1647
|
};
|
|
1648
1648
|
}
|
|
1649
1649
|
interface RegistrationQuestionTranslation {
|
|
1650
|
-
id:
|
|
1650
|
+
id: string;
|
|
1651
1651
|
locale: string;
|
|
1652
1652
|
label: string | null;
|
|
1653
1653
|
placeholder: string | null;
|
|
@@ -1656,9 +1656,9 @@ interface RegistrationQuestionTranslation {
|
|
|
1656
1656
|
updatedAt: string;
|
|
1657
1657
|
}
|
|
1658
1658
|
interface BaseRegistrationSectionQuestion {
|
|
1659
|
-
sectionId:
|
|
1659
|
+
sectionId: string;
|
|
1660
1660
|
section: BaseRegistrationSection;
|
|
1661
|
-
questionId:
|
|
1661
|
+
questionId: string;
|
|
1662
1662
|
question: BaseRegistrationQuestion;
|
|
1663
1663
|
sortOrder: number;
|
|
1664
1664
|
}
|
|
@@ -1667,7 +1667,7 @@ interface RegistrationSectionQuestion extends BaseRegistrationSectionQuestion {
|
|
|
1667
1667
|
updatedAt: string;
|
|
1668
1668
|
}
|
|
1669
1669
|
interface BaseRegistrationSection {
|
|
1670
|
-
id:
|
|
1670
|
+
id: string;
|
|
1671
1671
|
eventId: string;
|
|
1672
1672
|
name: string;
|
|
1673
1673
|
description: string | null;
|
|
@@ -1686,7 +1686,7 @@ interface RegistrationSection extends BaseRegistrationSection {
|
|
|
1686
1686
|
updatedAt: string;
|
|
1687
1687
|
}
|
|
1688
1688
|
interface RegistrationSectionTranslation {
|
|
1689
|
-
id:
|
|
1689
|
+
id: string;
|
|
1690
1690
|
locale: string;
|
|
1691
1691
|
name: string;
|
|
1692
1692
|
description: string | null;
|
|
@@ -3763,6 +3763,7 @@ interface ReportCreateInputs {
|
|
|
3763
3763
|
parentId: string | number;
|
|
3764
3764
|
eventId?: string | null;
|
|
3765
3765
|
placeId?: string | null;
|
|
3766
|
+
groupId?: string | null;
|
|
3766
3767
|
description?: string | null;
|
|
3767
3768
|
filters?: string | null;
|
|
3768
3769
|
columns?: string | null;
|
|
@@ -16502,7 +16503,7 @@ interface ReorderEventQuestionChoiceSubQuestionsParams extends MutationParams {
|
|
|
16502
16503
|
eventId: string;
|
|
16503
16504
|
questionId: string;
|
|
16504
16505
|
choiceId: string;
|
|
16505
|
-
questionIds:
|
|
16506
|
+
questionIds: string[];
|
|
16506
16507
|
}
|
|
16507
16508
|
/**
|
|
16508
16509
|
* @category Methods
|
|
@@ -16522,7 +16523,7 @@ declare const useReorderEventQuestionChoiceSubQuestions: (options?: Omit<Connect
|
|
|
16522
16523
|
interface ReorderEventQuestionChoicesParams extends MutationParams {
|
|
16523
16524
|
eventId: string;
|
|
16524
16525
|
questionId: string;
|
|
16525
|
-
choicesIds:
|
|
16526
|
+
choicesIds: string[];
|
|
16526
16527
|
}
|
|
16527
16528
|
/**
|
|
16528
16529
|
* @category Methods
|
|
@@ -17092,7 +17093,7 @@ declare const useRemoveEventSectionTier: (options?: Omit<ConnectedXMMutationOpti
|
|
|
17092
17093
|
interface ReorderEventSectionQuestionsParams extends MutationParams {
|
|
17093
17094
|
eventId: string;
|
|
17094
17095
|
sectionId: string;
|
|
17095
|
-
questionIds:
|
|
17096
|
+
questionIds: string[];
|
|
17096
17097
|
}
|
|
17097
17098
|
/**
|
|
17098
17099
|
* @category Methods
|
package/dist/index.js
CHANGED
|
@@ -14263,7 +14263,7 @@ var useGetReports = (type, filters, params = {}, options = {}) => {
|
|
|
14263
14263
|
params,
|
|
14264
14264
|
{
|
|
14265
14265
|
...options,
|
|
14266
|
-
enabled: (type === "organization" || type === "event" && !!filters?.eventId || type === "booking" && !!filters?.placeId) && (options.enabled ?? true)
|
|
14266
|
+
enabled: (type === "organization" || type === "event" && !!filters?.eventId || type === "booking" && !!filters?.placeId || type === "group" && !!filters?.groupId) && (options.enabled ?? true)
|
|
14267
14267
|
},
|
|
14268
14268
|
"reports"
|
|
14269
14269
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -11996,7 +11996,7 @@ var useGetReports = (type, filters, params = {}, options = {}) => {
|
|
|
11996
11996
|
params,
|
|
11997
11997
|
{
|
|
11998
11998
|
...options,
|
|
11999
|
-
enabled: (type === "organization" || type === "event" && !!filters?.eventId || type === "booking" && !!filters?.placeId) && (options.enabled ?? true)
|
|
11999
|
+
enabled: (type === "organization" || type === "event" && !!filters?.eventId || type === "booking" && !!filters?.placeId || type === "group" && !!filters?.groupId) && (options.enabled ?? true)
|
|
12000
12000
|
},
|
|
12001
12001
|
"reports"
|
|
12002
12002
|
);
|