@connectedxm/admin 1.1.0 → 1.1.1
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 +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +1 -3
- package/dist/index.mjs +1 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1336,6 +1336,8 @@ interface EventPass extends BaseEventPass {
|
|
|
1336
1336
|
registration: BaseEventAttendee;
|
|
1337
1337
|
payerId?: string;
|
|
1338
1338
|
payer?: BaseAccount;
|
|
1339
|
+
amtPaid: number;
|
|
1340
|
+
amtRefunded: number;
|
|
1339
1341
|
}
|
|
1340
1342
|
interface PushDevice {
|
|
1341
1343
|
id: string;
|
|
@@ -2034,9 +2036,8 @@ interface EventPassTypePriceSchedule extends BaseEventPassTypePriceSchedule {
|
|
|
2034
2036
|
}
|
|
2035
2037
|
interface BaseEventPassTypeRefundSchedule {
|
|
2036
2038
|
id: string;
|
|
2037
|
-
|
|
2039
|
+
passTypeId: string;
|
|
2038
2040
|
percentage: number;
|
|
2039
|
-
name: string | null;
|
|
2040
2041
|
startDate: string;
|
|
2041
2042
|
endDate: string;
|
|
2042
2043
|
createdAt: string;
|
|
@@ -3722,13 +3723,11 @@ interface PassTypePriceScheduleUpdateInputs {
|
|
|
3722
3723
|
}
|
|
3723
3724
|
interface PassTypeRefundScheduleCreateInputs {
|
|
3724
3725
|
percentage: number;
|
|
3725
|
-
name?: string | null;
|
|
3726
3726
|
startDate: string;
|
|
3727
3727
|
endDate: string;
|
|
3728
3728
|
}
|
|
3729
3729
|
interface PassTypeRefundScheduleUpdateInputs {
|
|
3730
3730
|
percentage?: number;
|
|
3731
|
-
name?: string | null;
|
|
3732
3731
|
startDate?: string;
|
|
3733
3732
|
endDate?: string;
|
|
3734
3733
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1336,6 +1336,8 @@ interface EventPass extends BaseEventPass {
|
|
|
1336
1336
|
registration: BaseEventAttendee;
|
|
1337
1337
|
payerId?: string;
|
|
1338
1338
|
payer?: BaseAccount;
|
|
1339
|
+
amtPaid: number;
|
|
1340
|
+
amtRefunded: number;
|
|
1339
1341
|
}
|
|
1340
1342
|
interface PushDevice {
|
|
1341
1343
|
id: string;
|
|
@@ -2034,9 +2036,8 @@ interface EventPassTypePriceSchedule extends BaseEventPassTypePriceSchedule {
|
|
|
2034
2036
|
}
|
|
2035
2037
|
interface BaseEventPassTypeRefundSchedule {
|
|
2036
2038
|
id: string;
|
|
2037
|
-
|
|
2039
|
+
passTypeId: string;
|
|
2038
2040
|
percentage: number;
|
|
2039
|
-
name: string | null;
|
|
2040
2041
|
startDate: string;
|
|
2041
2042
|
endDate: string;
|
|
2042
2043
|
createdAt: string;
|
|
@@ -3722,13 +3723,11 @@ interface PassTypePriceScheduleUpdateInputs {
|
|
|
3722
3723
|
}
|
|
3723
3724
|
interface PassTypeRefundScheduleCreateInputs {
|
|
3724
3725
|
percentage: number;
|
|
3725
|
-
name?: string | null;
|
|
3726
3726
|
startDate: string;
|
|
3727
3727
|
endDate: string;
|
|
3728
3728
|
}
|
|
3729
3729
|
interface PassTypeRefundScheduleUpdateInputs {
|
|
3730
3730
|
percentage?: number;
|
|
3731
|
-
name?: string | null;
|
|
3732
3731
|
startDate?: string;
|
|
3733
3732
|
endDate?: string;
|
|
3734
3733
|
}
|
package/dist/index.js
CHANGED
|
@@ -23364,9 +23364,7 @@ var UpdateOrganizationModule = async ({
|
|
|
23364
23364
|
queryClient
|
|
23365
23365
|
}) => {
|
|
23366
23366
|
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
23367
|
-
const { data } = await connectedXM.put(`/organization/modules/${moduleType}`,
|
|
23368
|
-
module: module2
|
|
23369
|
-
});
|
|
23367
|
+
const { data } = await connectedXM.put(`/organization/modules/${moduleType}`, module2);
|
|
23370
23368
|
if (queryClient && data.status === "ok") {
|
|
23371
23369
|
queryClient.invalidateQueries({
|
|
23372
23370
|
queryKey: ORGANIZATION_MODULES_QUERY_KEY()
|
package/dist/index.mjs
CHANGED
|
@@ -21341,9 +21341,7 @@ var UpdateOrganizationModule = async ({
|
|
|
21341
21341
|
queryClient
|
|
21342
21342
|
}) => {
|
|
21343
21343
|
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
21344
|
-
const { data } = await connectedXM.put(`/organization/modules/${moduleType}`,
|
|
21345
|
-
module
|
|
21346
|
-
});
|
|
21344
|
+
const { data } = await connectedXM.put(`/organization/modules/${moduleType}`, module);
|
|
21347
21345
|
if (queryClient && data.status === "ok") {
|
|
21348
21346
|
queryClient.invalidateQueries({
|
|
21349
21347
|
queryKey: ORGANIZATION_MODULES_QUERY_KEY()
|