@techzunction/sdk 0.6.3 → 0.6.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/dist/index.cjs +160 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +869 -1
- package/dist/index.d.ts +869 -1
- package/dist/index.js +160 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -841,6 +841,639 @@ interface PlatformPlan {
|
|
|
841
841
|
features: Record<string, unknown>;
|
|
842
842
|
isActive: boolean;
|
|
843
843
|
}
|
|
844
|
+
interface AdminDashboardStats {
|
|
845
|
+
totalOrders: number;
|
|
846
|
+
ordersToday: number;
|
|
847
|
+
totalRevenue: number;
|
|
848
|
+
revenueToday: number;
|
|
849
|
+
activeOrders: number;
|
|
850
|
+
totalUsers: number;
|
|
851
|
+
totalMenuItems: number;
|
|
852
|
+
}
|
|
853
|
+
interface AdminDashboardData {
|
|
854
|
+
stats: AdminDashboardStats;
|
|
855
|
+
ordersByStatus: {
|
|
856
|
+
status: string;
|
|
857
|
+
count: number;
|
|
858
|
+
}[];
|
|
859
|
+
recentOrders: {
|
|
860
|
+
id: string;
|
|
861
|
+
status: string;
|
|
862
|
+
customerName: string;
|
|
863
|
+
totalAmount: number;
|
|
864
|
+
createdAt: string;
|
|
865
|
+
mode: string;
|
|
866
|
+
orderType: string;
|
|
867
|
+
}[];
|
|
868
|
+
}
|
|
869
|
+
interface AdminLoyaltyAccount {
|
|
870
|
+
id: string;
|
|
871
|
+
balance: number;
|
|
872
|
+
totalEarned: number;
|
|
873
|
+
totalRedeemed: number;
|
|
874
|
+
tier: string;
|
|
875
|
+
user: {
|
|
876
|
+
id: string;
|
|
877
|
+
name: string | null;
|
|
878
|
+
email: string | null;
|
|
879
|
+
phone: string | null;
|
|
880
|
+
};
|
|
881
|
+
transactions: {
|
|
882
|
+
id: string;
|
|
883
|
+
type: string;
|
|
884
|
+
coins: number;
|
|
885
|
+
description: string;
|
|
886
|
+
createdAt: string;
|
|
887
|
+
}[];
|
|
888
|
+
}
|
|
889
|
+
interface AdminLoyaltyData {
|
|
890
|
+
accounts: AdminLoyaltyAccount[];
|
|
891
|
+
summary: {
|
|
892
|
+
totalAccounts: number;
|
|
893
|
+
totalBalance: number;
|
|
894
|
+
totalEarned: number;
|
|
895
|
+
totalRedeemed: number;
|
|
896
|
+
};
|
|
897
|
+
tierCounts: {
|
|
898
|
+
tier: string;
|
|
899
|
+
count: number;
|
|
900
|
+
}[];
|
|
901
|
+
}
|
|
902
|
+
interface AdminRedemption {
|
|
903
|
+
id: string;
|
|
904
|
+
code: string;
|
|
905
|
+
rewardId: string;
|
|
906
|
+
rewardName: string;
|
|
907
|
+
coins: number;
|
|
908
|
+
status: string;
|
|
909
|
+
createdAt: string;
|
|
910
|
+
fulfilledAt: string | null;
|
|
911
|
+
user: {
|
|
912
|
+
id: string;
|
|
913
|
+
name: string | null;
|
|
914
|
+
phone: string | null;
|
|
915
|
+
email: string | null;
|
|
916
|
+
};
|
|
917
|
+
}
|
|
918
|
+
interface AdminFulfillResult {
|
|
919
|
+
success: boolean;
|
|
920
|
+
message: string;
|
|
921
|
+
redemption?: {
|
|
922
|
+
rewardName?: string;
|
|
923
|
+
customerName?: string;
|
|
924
|
+
coins?: number;
|
|
925
|
+
};
|
|
926
|
+
}
|
|
927
|
+
interface AdminDeliveryAgent {
|
|
928
|
+
id: string;
|
|
929
|
+
name: string;
|
|
930
|
+
phone: string;
|
|
931
|
+
status: string;
|
|
932
|
+
isActive: boolean;
|
|
933
|
+
createdAt: string;
|
|
934
|
+
}
|
|
935
|
+
interface AdminDeliveryZone {
|
|
936
|
+
id: string;
|
|
937
|
+
name: string;
|
|
938
|
+
pincodes: string[];
|
|
939
|
+
deliveryFee: number;
|
|
940
|
+
isActive: boolean;
|
|
941
|
+
createdAt: string;
|
|
942
|
+
}
|
|
943
|
+
interface AdminAffiliate {
|
|
944
|
+
id: string;
|
|
945
|
+
utmSource: string;
|
|
946
|
+
utmCampaign: string;
|
|
947
|
+
clicks: number;
|
|
948
|
+
conversions: number;
|
|
949
|
+
conversionRate: number;
|
|
950
|
+
}
|
|
951
|
+
interface AdminPopupSettings {
|
|
952
|
+
id: string;
|
|
953
|
+
content: string;
|
|
954
|
+
trigger: string;
|
|
955
|
+
isActive: boolean;
|
|
956
|
+
}
|
|
957
|
+
interface AdminInvoice {
|
|
958
|
+
id: string;
|
|
959
|
+
invoiceNumber: string;
|
|
960
|
+
orderId: string;
|
|
961
|
+
total: number;
|
|
962
|
+
createdAt: string;
|
|
963
|
+
}
|
|
964
|
+
interface AdminTaxSummary {
|
|
965
|
+
sgst: number;
|
|
966
|
+
cgst: number;
|
|
967
|
+
igst: number;
|
|
968
|
+
totalTax: number;
|
|
969
|
+
totalTaxableAmount: number;
|
|
970
|
+
}
|
|
971
|
+
interface AdminSettlement {
|
|
972
|
+
id: string;
|
|
973
|
+
paymentId: string;
|
|
974
|
+
amount: number;
|
|
975
|
+
status: string;
|
|
976
|
+
method: string;
|
|
977
|
+
settledAt: string;
|
|
978
|
+
}
|
|
979
|
+
interface AdminPayout {
|
|
980
|
+
id: string;
|
|
981
|
+
agentId: string;
|
|
982
|
+
agentName: string;
|
|
983
|
+
amount: number;
|
|
984
|
+
period: string;
|
|
985
|
+
orderCount: number;
|
|
986
|
+
isPaid: boolean;
|
|
987
|
+
createdAt: string;
|
|
988
|
+
}
|
|
989
|
+
interface AdminBroadcast {
|
|
990
|
+
id: string;
|
|
991
|
+
title: string;
|
|
992
|
+
body: string;
|
|
993
|
+
channel: string;
|
|
994
|
+
segment: string;
|
|
995
|
+
sentCount: number;
|
|
996
|
+
openCount: number;
|
|
997
|
+
status: string;
|
|
998
|
+
scheduledAt: string | null;
|
|
999
|
+
createdAt: string;
|
|
1000
|
+
}
|
|
1001
|
+
interface AdminScheduledOrder {
|
|
1002
|
+
id: string;
|
|
1003
|
+
orderID: string;
|
|
1004
|
+
customerName: string;
|
|
1005
|
+
customerPhone: string;
|
|
1006
|
+
scheduledAt: string;
|
|
1007
|
+
orderType: string;
|
|
1008
|
+
status: string;
|
|
1009
|
+
totalAmount: number;
|
|
1010
|
+
isCatering: boolean;
|
|
1011
|
+
createdAt: string;
|
|
1012
|
+
}
|
|
1013
|
+
interface AdminAbandonedCart {
|
|
1014
|
+
id: string;
|
|
1015
|
+
email: string | null;
|
|
1016
|
+
phone: string | null;
|
|
1017
|
+
subtotal: number;
|
|
1018
|
+
itemCount: number;
|
|
1019
|
+
recoveryEmailSent: boolean;
|
|
1020
|
+
recoveredAt: string | null;
|
|
1021
|
+
createdAt: string;
|
|
1022
|
+
}
|
|
1023
|
+
interface AdminWaitlistEntry {
|
|
1024
|
+
id: string;
|
|
1025
|
+
email: string | null;
|
|
1026
|
+
phone: string | null;
|
|
1027
|
+
createdAt: string;
|
|
1028
|
+
}
|
|
1029
|
+
interface AdminWaitlistGroup {
|
|
1030
|
+
menuItemId: string;
|
|
1031
|
+
menuItemName: string;
|
|
1032
|
+
menuItemImage: string | null;
|
|
1033
|
+
count: number;
|
|
1034
|
+
entries: AdminWaitlistEntry[];
|
|
1035
|
+
}
|
|
1036
|
+
interface AdminReservationSlot {
|
|
1037
|
+
id: string;
|
|
1038
|
+
dayOfWeek: number;
|
|
1039
|
+
startTime: string;
|
|
1040
|
+
endTime: string;
|
|
1041
|
+
maxCovers: number;
|
|
1042
|
+
isActive: boolean;
|
|
1043
|
+
}
|
|
1044
|
+
interface AdminOrder {
|
|
1045
|
+
id: string;
|
|
1046
|
+
status: string;
|
|
1047
|
+
posOrderId: string | null;
|
|
1048
|
+
mode: string;
|
|
1049
|
+
orderType: string;
|
|
1050
|
+
customerName: string;
|
|
1051
|
+
customerPhone: string;
|
|
1052
|
+
subtotal: number;
|
|
1053
|
+
totalAmount: number;
|
|
1054
|
+
paymentMethod: string | null;
|
|
1055
|
+
couponCode: string | null;
|
|
1056
|
+
itemCount: number;
|
|
1057
|
+
createdAt: string;
|
|
1058
|
+
}
|
|
1059
|
+
interface AdminOrderDetail {
|
|
1060
|
+
id: string;
|
|
1061
|
+
status: string;
|
|
1062
|
+
posOrderId: string | null;
|
|
1063
|
+
posRawStatus: string | null;
|
|
1064
|
+
mode: string;
|
|
1065
|
+
orderType: string;
|
|
1066
|
+
paymentMethod: string | null;
|
|
1067
|
+
paymentType: string;
|
|
1068
|
+
customerName: string;
|
|
1069
|
+
customerPhone: string;
|
|
1070
|
+
customerEmail: string | null;
|
|
1071
|
+
subtotal: number;
|
|
1072
|
+
taxAmount: number;
|
|
1073
|
+
deliveryFee: number;
|
|
1074
|
+
discountAmount: number;
|
|
1075
|
+
packingCharges: number;
|
|
1076
|
+
serviceCharge: number;
|
|
1077
|
+
totalAmount: number;
|
|
1078
|
+
specialInstructions: string | null;
|
|
1079
|
+
couponCode: string | null;
|
|
1080
|
+
coinsEarned: number;
|
|
1081
|
+
coinsRedeemed: number;
|
|
1082
|
+
createdAt: string;
|
|
1083
|
+
items: {
|
|
1084
|
+
id: string;
|
|
1085
|
+
itemName: string;
|
|
1086
|
+
quantity: number;
|
|
1087
|
+
unitPrice: number;
|
|
1088
|
+
totalPrice: number;
|
|
1089
|
+
mode: string;
|
|
1090
|
+
addons: {
|
|
1091
|
+
addonName: string;
|
|
1092
|
+
price: number;
|
|
1093
|
+
quantity: number;
|
|
1094
|
+
}[];
|
|
1095
|
+
}[];
|
|
1096
|
+
statusHistory: {
|
|
1097
|
+
status: string;
|
|
1098
|
+
source: string;
|
|
1099
|
+
note: string | null;
|
|
1100
|
+
createdAt: string;
|
|
1101
|
+
}[];
|
|
1102
|
+
address: {
|
|
1103
|
+
line1: string;
|
|
1104
|
+
line2: string | null;
|
|
1105
|
+
city: string;
|
|
1106
|
+
pincode: string;
|
|
1107
|
+
} | null;
|
|
1108
|
+
user: {
|
|
1109
|
+
id: string;
|
|
1110
|
+
name: string | null;
|
|
1111
|
+
email: string | null;
|
|
1112
|
+
phone: string | null;
|
|
1113
|
+
};
|
|
1114
|
+
}
|
|
1115
|
+
interface AdminCustomer {
|
|
1116
|
+
id: string;
|
|
1117
|
+
name: string;
|
|
1118
|
+
email: string | null;
|
|
1119
|
+
phone: string | null;
|
|
1120
|
+
ordersCount: number;
|
|
1121
|
+
loyaltyTier: string | null;
|
|
1122
|
+
createdAt: string;
|
|
1123
|
+
}
|
|
1124
|
+
interface AdminCustomerDetail {
|
|
1125
|
+
id: string;
|
|
1126
|
+
name: string;
|
|
1127
|
+
email: string | null;
|
|
1128
|
+
phone: string | null;
|
|
1129
|
+
loyaltyTier: string | null;
|
|
1130
|
+
ordersCount: number;
|
|
1131
|
+
createdAt: string;
|
|
1132
|
+
recentOrders: {
|
|
1133
|
+
id: string;
|
|
1134
|
+
status: string;
|
|
1135
|
+
totalAmount: number;
|
|
1136
|
+
itemCount: number;
|
|
1137
|
+
createdAt: string;
|
|
1138
|
+
}[];
|
|
1139
|
+
loyalty: {
|
|
1140
|
+
balance: number;
|
|
1141
|
+
tier: string;
|
|
1142
|
+
lifetimePoints: number;
|
|
1143
|
+
} | null;
|
|
1144
|
+
reviews: {
|
|
1145
|
+
id: string;
|
|
1146
|
+
rating: number;
|
|
1147
|
+
comment: string | null;
|
|
1148
|
+
status: string;
|
|
1149
|
+
createdAt: string;
|
|
1150
|
+
}[];
|
|
1151
|
+
supportTickets: {
|
|
1152
|
+
id: string;
|
|
1153
|
+
subject: string;
|
|
1154
|
+
status: string;
|
|
1155
|
+
createdAt: string;
|
|
1156
|
+
}[];
|
|
1157
|
+
notes: {
|
|
1158
|
+
id: string;
|
|
1159
|
+
content: string;
|
|
1160
|
+
author: string;
|
|
1161
|
+
createdAt: string;
|
|
1162
|
+
}[];
|
|
1163
|
+
}
|
|
1164
|
+
interface AdminBlogPost {
|
|
1165
|
+
id: string;
|
|
1166
|
+
slug: string;
|
|
1167
|
+
title: string;
|
|
1168
|
+
h1: string;
|
|
1169
|
+
excerpt: string | null;
|
|
1170
|
+
featuredImage: string | null;
|
|
1171
|
+
status: string;
|
|
1172
|
+
category: string | null;
|
|
1173
|
+
tags: string;
|
|
1174
|
+
author: string;
|
|
1175
|
+
viewCount: number;
|
|
1176
|
+
datePublished: string | null;
|
|
1177
|
+
dateModified: string | null;
|
|
1178
|
+
createdAt: string;
|
|
1179
|
+
_count: {
|
|
1180
|
+
media: number;
|
|
1181
|
+
reviews: number;
|
|
1182
|
+
};
|
|
1183
|
+
}
|
|
1184
|
+
interface AdminCoupon {
|
|
1185
|
+
id: string;
|
|
1186
|
+
code: string;
|
|
1187
|
+
name: string;
|
|
1188
|
+
description: string | null;
|
|
1189
|
+
discountType: string;
|
|
1190
|
+
discountValue: number;
|
|
1191
|
+
minOrderAmount: number | null;
|
|
1192
|
+
maxDiscount: number | null;
|
|
1193
|
+
maxUsageTotal: number | null;
|
|
1194
|
+
maxUsagePerUser: number;
|
|
1195
|
+
isActive: boolean;
|
|
1196
|
+
startDate: string | null;
|
|
1197
|
+
endDate: string | null;
|
|
1198
|
+
applicableModes: string;
|
|
1199
|
+
usageCount: number;
|
|
1200
|
+
createdAt: string;
|
|
1201
|
+
}
|
|
1202
|
+
interface AdminPromotion {
|
|
1203
|
+
id: string;
|
|
1204
|
+
title: string;
|
|
1205
|
+
subtitle: string | null;
|
|
1206
|
+
description: string | null;
|
|
1207
|
+
type: string;
|
|
1208
|
+
imageUrl: string | null;
|
|
1209
|
+
couponCode: string | null;
|
|
1210
|
+
isActive: boolean;
|
|
1211
|
+
priority: number;
|
|
1212
|
+
startDate: string | null;
|
|
1213
|
+
endDate: string | null;
|
|
1214
|
+
config: string | null;
|
|
1215
|
+
createdAt: string;
|
|
1216
|
+
}
|
|
1217
|
+
interface AdminGiftCardTransaction {
|
|
1218
|
+
id: string;
|
|
1219
|
+
type: string;
|
|
1220
|
+
amount: number;
|
|
1221
|
+
orderId: string | null;
|
|
1222
|
+
createdAt: string;
|
|
1223
|
+
}
|
|
1224
|
+
interface AdminGiftCard {
|
|
1225
|
+
id: string;
|
|
1226
|
+
code: string;
|
|
1227
|
+
denomination: number;
|
|
1228
|
+
balance: number;
|
|
1229
|
+
purchaserName: string | null;
|
|
1230
|
+
purchaserEmail: string | null;
|
|
1231
|
+
recipientName: string | null;
|
|
1232
|
+
recipientEmail: string | null;
|
|
1233
|
+
recipientPhone: string | null;
|
|
1234
|
+
personalMessage: string | null;
|
|
1235
|
+
status: string;
|
|
1236
|
+
expiresAt: string | null;
|
|
1237
|
+
createdAt: string;
|
|
1238
|
+
transactions?: AdminGiftCardTransaction[];
|
|
1239
|
+
}
|
|
1240
|
+
interface AdminReservation {
|
|
1241
|
+
id: string;
|
|
1242
|
+
guestName: string;
|
|
1243
|
+
guestPhone: string | null;
|
|
1244
|
+
guestEmail: string | null;
|
|
1245
|
+
partySize: number;
|
|
1246
|
+
date: string;
|
|
1247
|
+
timeSlot: string;
|
|
1248
|
+
status: string;
|
|
1249
|
+
table: string | null;
|
|
1250
|
+
notes: string | null;
|
|
1251
|
+
createdAt: string;
|
|
1252
|
+
}
|
|
1253
|
+
interface AdminReservationTable {
|
|
1254
|
+
id: string;
|
|
1255
|
+
tableNumber: string;
|
|
1256
|
+
capacity: number;
|
|
1257
|
+
locationId: string;
|
|
1258
|
+
locationName?: string;
|
|
1259
|
+
isActive: boolean;
|
|
1260
|
+
}
|
|
1261
|
+
interface AdminTicket {
|
|
1262
|
+
id: string;
|
|
1263
|
+
ticketNumber: string;
|
|
1264
|
+
customerName: string;
|
|
1265
|
+
customerEmail: string | null;
|
|
1266
|
+
subject: string;
|
|
1267
|
+
category: string;
|
|
1268
|
+
status: string;
|
|
1269
|
+
priority: string;
|
|
1270
|
+
assignedTo: string | null;
|
|
1271
|
+
createdAt: string;
|
|
1272
|
+
}
|
|
1273
|
+
interface AdminTicketMessage {
|
|
1274
|
+
id: string;
|
|
1275
|
+
body: string;
|
|
1276
|
+
sender: string;
|
|
1277
|
+
senderType: string;
|
|
1278
|
+
createdAt: string;
|
|
1279
|
+
}
|
|
1280
|
+
interface AdminTicketDetail {
|
|
1281
|
+
id: string;
|
|
1282
|
+
ticketNumber: string;
|
|
1283
|
+
customerName: string;
|
|
1284
|
+
customerEmail: string | null;
|
|
1285
|
+
customerPhone: string | null;
|
|
1286
|
+
subject: string;
|
|
1287
|
+
category: string;
|
|
1288
|
+
status: string;
|
|
1289
|
+
priority: string;
|
|
1290
|
+
assignedTo: string | null;
|
|
1291
|
+
orderId: string | null;
|
|
1292
|
+
messages: AdminTicketMessage[];
|
|
1293
|
+
createdAt: string;
|
|
1294
|
+
}
|
|
1295
|
+
interface AdminLocation {
|
|
1296
|
+
id: string;
|
|
1297
|
+
name: string;
|
|
1298
|
+
address: string;
|
|
1299
|
+
city: string;
|
|
1300
|
+
state: string;
|
|
1301
|
+
pincode: string;
|
|
1302
|
+
lat: number | null;
|
|
1303
|
+
lng: number | null;
|
|
1304
|
+
phone: string | null;
|
|
1305
|
+
email: string | null;
|
|
1306
|
+
isActive: boolean;
|
|
1307
|
+
isPrimary: boolean;
|
|
1308
|
+
createdAt: string;
|
|
1309
|
+
}
|
|
1310
|
+
interface AdminLocationDetail extends AdminLocation {
|
|
1311
|
+
hours: {
|
|
1312
|
+
day: number;
|
|
1313
|
+
open: string;
|
|
1314
|
+
close: string;
|
|
1315
|
+
isClosed: boolean;
|
|
1316
|
+
}[];
|
|
1317
|
+
zones: AdminDeliveryZone[];
|
|
1318
|
+
menuItemIds: string[];
|
|
1319
|
+
}
|
|
1320
|
+
interface AdminSetting {
|
|
1321
|
+
key: string;
|
|
1322
|
+
value: unknown;
|
|
1323
|
+
type: string;
|
|
1324
|
+
label: string;
|
|
1325
|
+
description: string | null;
|
|
1326
|
+
group: string;
|
|
1327
|
+
}
|
|
1328
|
+
interface AdminStudentPass {
|
|
1329
|
+
id: string;
|
|
1330
|
+
status: string;
|
|
1331
|
+
studentIdNumber: string;
|
|
1332
|
+
idImageUrl: string | null;
|
|
1333
|
+
institutionId: string | null;
|
|
1334
|
+
institutionName: string | null;
|
|
1335
|
+
userName: string | null;
|
|
1336
|
+
userPhone: string | null;
|
|
1337
|
+
userEmail: string | null;
|
|
1338
|
+
flagged: boolean;
|
|
1339
|
+
expiresAt: string | null;
|
|
1340
|
+
createdAt: string;
|
|
1341
|
+
reviewedAt: string | null;
|
|
1342
|
+
}
|
|
1343
|
+
interface AdminStudentPassDetail extends AdminStudentPass {
|
|
1344
|
+
rejectionReason: string | null;
|
|
1345
|
+
autoVerified: boolean;
|
|
1346
|
+
user: {
|
|
1347
|
+
id: string;
|
|
1348
|
+
name: string | null;
|
|
1349
|
+
email: string | null;
|
|
1350
|
+
phone: string | null;
|
|
1351
|
+
};
|
|
1352
|
+
institution: {
|
|
1353
|
+
id: string;
|
|
1354
|
+
name: string;
|
|
1355
|
+
} | null;
|
|
1356
|
+
}
|
|
1357
|
+
interface AdminStudentPassStats {
|
|
1358
|
+
totalByStatus: Record<string, number>;
|
|
1359
|
+
autoVerifiedPct: number;
|
|
1360
|
+
pendingCount: number;
|
|
1361
|
+
avgReviewTimeMs: number;
|
|
1362
|
+
topInstitutions: {
|
|
1363
|
+
name: string;
|
|
1364
|
+
count: number;
|
|
1365
|
+
}[];
|
|
1366
|
+
topDiscountRules: {
|
|
1367
|
+
name: string;
|
|
1368
|
+
count: number;
|
|
1369
|
+
}[];
|
|
1370
|
+
}
|
|
1371
|
+
interface AdminStudentDiscount {
|
|
1372
|
+
id: string;
|
|
1373
|
+
name: string;
|
|
1374
|
+
description: string | null;
|
|
1375
|
+
institutionId: string | null;
|
|
1376
|
+
institution: {
|
|
1377
|
+
id: string;
|
|
1378
|
+
name: string;
|
|
1379
|
+
} | null;
|
|
1380
|
+
priority: number;
|
|
1381
|
+
isActive: boolean;
|
|
1382
|
+
discountType: string;
|
|
1383
|
+
discountValue: number | null;
|
|
1384
|
+
maxDiscountCap: number | null;
|
|
1385
|
+
minOrderAmount: number | null;
|
|
1386
|
+
applicableModes: string | null;
|
|
1387
|
+
applicableCategories: string[] | null;
|
|
1388
|
+
validFrom: string | null;
|
|
1389
|
+
validTo: string | null;
|
|
1390
|
+
createdAt: string;
|
|
1391
|
+
[key: string]: unknown;
|
|
1392
|
+
}
|
|
1393
|
+
interface AdminInstitution {
|
|
1394
|
+
id: string;
|
|
1395
|
+
name: string;
|
|
1396
|
+
shortCode: string | null;
|
|
1397
|
+
emailDomain: string | null;
|
|
1398
|
+
logoUrl: string | null;
|
|
1399
|
+
customValidityDays: number | null;
|
|
1400
|
+
isActive: boolean;
|
|
1401
|
+
passCount: number;
|
|
1402
|
+
createdAt: string;
|
|
1403
|
+
}
|
|
1404
|
+
interface AdminReview {
|
|
1405
|
+
id: string;
|
|
1406
|
+
rating: number;
|
|
1407
|
+
comment: string | null;
|
|
1408
|
+
status: string;
|
|
1409
|
+
customerName: string | null;
|
|
1410
|
+
item: {
|
|
1411
|
+
id: string;
|
|
1412
|
+
name: string;
|
|
1413
|
+
image: string | null;
|
|
1414
|
+
} | null;
|
|
1415
|
+
createdAt: string;
|
|
1416
|
+
}
|
|
1417
|
+
interface AdminHelpArticle {
|
|
1418
|
+
id: string;
|
|
1419
|
+
slug: string;
|
|
1420
|
+
title: string;
|
|
1421
|
+
body: string;
|
|
1422
|
+
category: string;
|
|
1423
|
+
sortOrder: number;
|
|
1424
|
+
isPublished: boolean;
|
|
1425
|
+
createdAt: string;
|
|
1426
|
+
}
|
|
1427
|
+
interface AdminMenuItem {
|
|
1428
|
+
id: string;
|
|
1429
|
+
posItemId: string;
|
|
1430
|
+
categoryId: string;
|
|
1431
|
+
category: {
|
|
1432
|
+
id: string;
|
|
1433
|
+
name: string;
|
|
1434
|
+
};
|
|
1435
|
+
diet: string;
|
|
1436
|
+
inStock: boolean;
|
|
1437
|
+
sortOrder: number;
|
|
1438
|
+
classicName: string;
|
|
1439
|
+
classicDescription: string;
|
|
1440
|
+
classicPrice: number;
|
|
1441
|
+
classicCalories: number;
|
|
1442
|
+
healthyName: string;
|
|
1443
|
+
healthyDescription: string;
|
|
1444
|
+
healthyPrice: number;
|
|
1445
|
+
healthyCalories: number;
|
|
1446
|
+
isBestseller: boolean;
|
|
1447
|
+
isNew: boolean;
|
|
1448
|
+
variations: {
|
|
1449
|
+
id: string;
|
|
1450
|
+
name: string;
|
|
1451
|
+
groupName: string;
|
|
1452
|
+
price: number;
|
|
1453
|
+
inStock: boolean;
|
|
1454
|
+
}[];
|
|
1455
|
+
addonGroups: {
|
|
1456
|
+
id: string;
|
|
1457
|
+
name: string;
|
|
1458
|
+
minSelection: number;
|
|
1459
|
+
maxSelection: number;
|
|
1460
|
+
addons: {
|
|
1461
|
+
id: string;
|
|
1462
|
+
name: string;
|
|
1463
|
+
price: number;
|
|
1464
|
+
inStock: boolean;
|
|
1465
|
+
}[];
|
|
1466
|
+
}[];
|
|
1467
|
+
}
|
|
1468
|
+
interface AdminSyncLog {
|
|
1469
|
+
id: string;
|
|
1470
|
+
source: string;
|
|
1471
|
+
success: boolean;
|
|
1472
|
+
itemCount: number;
|
|
1473
|
+
errorMsg: string | null;
|
|
1474
|
+
duration: number | null;
|
|
1475
|
+
createdAt: string;
|
|
1476
|
+
}
|
|
844
1477
|
|
|
845
1478
|
interface RawResponse<T> {
|
|
846
1479
|
data: T;
|
|
@@ -1562,6 +2195,85 @@ interface UpdateHelpArticleDto {
|
|
|
1562
2195
|
sortOrder?: number;
|
|
1563
2196
|
isPublished?: boolean;
|
|
1564
2197
|
}
|
|
2198
|
+
interface AdminDashboardQuery {
|
|
2199
|
+
startDate?: string;
|
|
2200
|
+
endDate?: string;
|
|
2201
|
+
}
|
|
2202
|
+
interface CreateDeliveryAgentDto {
|
|
2203
|
+
name: string;
|
|
2204
|
+
phone: string;
|
|
2205
|
+
[key: string]: unknown;
|
|
2206
|
+
}
|
|
2207
|
+
interface UpdateDeliveryAgentDto {
|
|
2208
|
+
name?: string;
|
|
2209
|
+
phone?: string;
|
|
2210
|
+
isActive?: boolean;
|
|
2211
|
+
[key: string]: unknown;
|
|
2212
|
+
}
|
|
2213
|
+
interface CreateDeliveryZoneDto {
|
|
2214
|
+
name: string;
|
|
2215
|
+
pincodes: string[];
|
|
2216
|
+
deliveryFee: number;
|
|
2217
|
+
isActive?: boolean;
|
|
2218
|
+
}
|
|
2219
|
+
interface UpdateDeliveryZoneDto {
|
|
2220
|
+
name?: string;
|
|
2221
|
+
pincodes?: string[];
|
|
2222
|
+
deliveryFee?: number;
|
|
2223
|
+
isActive?: boolean;
|
|
2224
|
+
}
|
|
2225
|
+
interface UpdatePopupSettingsDto {
|
|
2226
|
+
content?: string;
|
|
2227
|
+
trigger?: string;
|
|
2228
|
+
isActive?: boolean;
|
|
2229
|
+
}
|
|
2230
|
+
interface AdminFinanceQuery extends PaginatedQuery {
|
|
2231
|
+
startDate?: string;
|
|
2232
|
+
endDate?: string;
|
|
2233
|
+
status?: string;
|
|
2234
|
+
}
|
|
2235
|
+
interface CreateBroadcastDto {
|
|
2236
|
+
title: string;
|
|
2237
|
+
body: string;
|
|
2238
|
+
channel: string;
|
|
2239
|
+
segment?: string;
|
|
2240
|
+
scheduledAt?: string;
|
|
2241
|
+
}
|
|
2242
|
+
interface CreateReservationSlotDto {
|
|
2243
|
+
dayOfWeek: number;
|
|
2244
|
+
startTime: string;
|
|
2245
|
+
endTime: string;
|
|
2246
|
+
maxCovers: number;
|
|
2247
|
+
isActive?: boolean;
|
|
2248
|
+
}
|
|
2249
|
+
interface UpdateReservationSlotDto {
|
|
2250
|
+
dayOfWeek?: number;
|
|
2251
|
+
startTime?: string;
|
|
2252
|
+
endTime?: string;
|
|
2253
|
+
maxCovers?: number;
|
|
2254
|
+
isActive?: boolean;
|
|
2255
|
+
}
|
|
2256
|
+
interface CreateReservationTableDto {
|
|
2257
|
+
tableNumber: string;
|
|
2258
|
+
capacity: number;
|
|
2259
|
+
locationId: string;
|
|
2260
|
+
isActive?: boolean;
|
|
2261
|
+
}
|
|
2262
|
+
interface UpdateReservationTableDto {
|
|
2263
|
+
tableNumber?: string;
|
|
2264
|
+
capacity?: number;
|
|
2265
|
+
locationId?: string;
|
|
2266
|
+
isActive?: boolean;
|
|
2267
|
+
}
|
|
2268
|
+
interface AdminAbandonedCartsQuery extends PaginatedQuery {
|
|
2269
|
+
filter?: string;
|
|
2270
|
+
}
|
|
2271
|
+
interface AdminScheduledOrdersQuery extends PaginatedQuery {
|
|
2272
|
+
date?: string;
|
|
2273
|
+
}
|
|
2274
|
+
interface FulfillRewardDto {
|
|
2275
|
+
code: string;
|
|
2276
|
+
}
|
|
1565
2277
|
|
|
1566
2278
|
interface SuperAdminLoginDto {
|
|
1567
2279
|
email: string;
|
|
@@ -2356,6 +3068,84 @@ declare const TZ: {
|
|
|
2356
3068
|
update(id: string, data: UpdateHelpArticleDto): TZQuery<HelpArticle>;
|
|
2357
3069
|
remove(id: string): TZQuery<void>;
|
|
2358
3070
|
};
|
|
3071
|
+
dashboard: {
|
|
3072
|
+
get(params?: AdminDashboardQuery): TZQuery<AdminDashboardData>;
|
|
3073
|
+
};
|
|
3074
|
+
loyaltyAdmin: {
|
|
3075
|
+
get(params?: {
|
|
3076
|
+
search?: string;
|
|
3077
|
+
}): TZQuery<AdminLoyaltyData>;
|
|
3078
|
+
};
|
|
3079
|
+
redemptions: {
|
|
3080
|
+
list(params?: {
|
|
3081
|
+
status?: string;
|
|
3082
|
+
}): TZQuery<AdminRedemption[]>;
|
|
3083
|
+
fulfill(data: FulfillRewardDto): TZQuery<AdminFulfillResult>;
|
|
3084
|
+
};
|
|
3085
|
+
deliveryAgents: {
|
|
3086
|
+
list(): TZQuery<AdminDeliveryAgent[]>;
|
|
3087
|
+
create(data: CreateDeliveryAgentDto): TZQuery<AdminDeliveryAgent>;
|
|
3088
|
+
update(id: string, data: UpdateDeliveryAgentDto): TZQuery<AdminDeliveryAgent>;
|
|
3089
|
+
remove(id: string): TZQuery<void>;
|
|
3090
|
+
};
|
|
3091
|
+
deliveryZones: {
|
|
3092
|
+
list(): TZQuery<AdminDeliveryZone[]>;
|
|
3093
|
+
create(data: CreateDeliveryZoneDto): TZQuery<AdminDeliveryZone>;
|
|
3094
|
+
update(id: string, data: UpdateDeliveryZoneDto): TZQuery<AdminDeliveryZone>;
|
|
3095
|
+
remove(id: string): TZQuery<void>;
|
|
3096
|
+
};
|
|
3097
|
+
affiliates: {
|
|
3098
|
+
list(): TZQuery<AdminAffiliate[]>;
|
|
3099
|
+
update(id: string, data: Record<string, unknown>): TZQuery<AdminAffiliate>;
|
|
3100
|
+
};
|
|
3101
|
+
popups: {
|
|
3102
|
+
get(): TZQuery<AdminPopupSettings>;
|
|
3103
|
+
update(data: UpdatePopupSettingsDto): TZQuery<AdminPopupSettings>;
|
|
3104
|
+
};
|
|
3105
|
+
finance: {
|
|
3106
|
+
invoices(params?: AdminFinanceQuery): TZPaginatedQuery<AdminInvoice>;
|
|
3107
|
+
tax(params?: {
|
|
3108
|
+
startDate?: string;
|
|
3109
|
+
endDate?: string;
|
|
3110
|
+
}): TZQuery<AdminTaxSummary>;
|
|
3111
|
+
settlements(params?: AdminFinanceQuery): TZPaginatedQuery<AdminSettlement>;
|
|
3112
|
+
payouts(params?: AdminFinanceQuery): TZPaginatedQuery<AdminPayout>;
|
|
3113
|
+
markPaid(id: string): TZQuery<void>;
|
|
3114
|
+
exportReport(params?: Record<string, unknown>): TZQuery<{
|
|
3115
|
+
url: string;
|
|
3116
|
+
}>;
|
|
3117
|
+
};
|
|
3118
|
+
reports: {
|
|
3119
|
+
get(type: string, params?: Record<string, unknown>): TZQuery<Record<string, unknown>>;
|
|
3120
|
+
};
|
|
3121
|
+
broadcast: {
|
|
3122
|
+
list(): TZQuery<AdminBroadcast[]>;
|
|
3123
|
+
send(data: CreateBroadcastDto): TZQuery<AdminBroadcast>;
|
|
3124
|
+
};
|
|
3125
|
+
scheduledOrders: {
|
|
3126
|
+
list(params?: AdminScheduledOrdersQuery): TZQuery<AdminScheduledOrder[]>;
|
|
3127
|
+
catering(): TZQuery<AdminScheduledOrder[]>;
|
|
3128
|
+
};
|
|
3129
|
+
abandonedCarts: {
|
|
3130
|
+
list(params?: AdminAbandonedCartsQuery): TZPaginatedQuery<AdminAbandonedCart>;
|
|
3131
|
+
recover(id: string): TZQuery<void>;
|
|
3132
|
+
};
|
|
3133
|
+
waitlists: {
|
|
3134
|
+
list(): TZQuery<AdminWaitlistGroup[]>;
|
|
3135
|
+
notify(menuItemId: string): TZQuery<void>;
|
|
3136
|
+
};
|
|
3137
|
+
reservationSlots: {
|
|
3138
|
+
list(): TZQuery<AdminReservationSlot[]>;
|
|
3139
|
+
create(data: CreateReservationSlotDto): TZQuery<AdminReservationSlot>;
|
|
3140
|
+
update(id: string, data: UpdateReservationSlotDto): TZQuery<AdminReservationSlot>;
|
|
3141
|
+
remove(id: string): TZQuery<void>;
|
|
3142
|
+
};
|
|
3143
|
+
reservationTables: {
|
|
3144
|
+
list(): TZQuery<AdminReservationTable[]>;
|
|
3145
|
+
create(data: CreateReservationTableDto): TZQuery<AdminReservationTable>;
|
|
3146
|
+
update(id: string, data: UpdateReservationTableDto): TZQuery<AdminReservationTable>;
|
|
3147
|
+
remove(id: string): TZQuery<void>;
|
|
3148
|
+
};
|
|
2359
3149
|
};
|
|
2360
3150
|
/** Super Admin namespace — platform-wide management APIs */
|
|
2361
3151
|
readonly superAdmin: {
|
|
@@ -3100,6 +3890,84 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
3100
3890
|
update(id: string, data: UpdateHelpArticleDto): TZQuery<HelpArticle>;
|
|
3101
3891
|
remove(id: string): TZQuery<void>;
|
|
3102
3892
|
};
|
|
3893
|
+
dashboard: {
|
|
3894
|
+
get(params?: AdminDashboardQuery): TZQuery<AdminDashboardData>;
|
|
3895
|
+
};
|
|
3896
|
+
loyaltyAdmin: {
|
|
3897
|
+
get(params?: {
|
|
3898
|
+
search?: string;
|
|
3899
|
+
}): TZQuery<AdminLoyaltyData>;
|
|
3900
|
+
};
|
|
3901
|
+
redemptions: {
|
|
3902
|
+
list(params?: {
|
|
3903
|
+
status?: string;
|
|
3904
|
+
}): TZQuery<AdminRedemption[]>;
|
|
3905
|
+
fulfill(data: FulfillRewardDto): TZQuery<AdminFulfillResult>;
|
|
3906
|
+
};
|
|
3907
|
+
deliveryAgents: {
|
|
3908
|
+
list(): TZQuery<AdminDeliveryAgent[]>;
|
|
3909
|
+
create(data: CreateDeliveryAgentDto): TZQuery<AdminDeliveryAgent>;
|
|
3910
|
+
update(id: string, data: UpdateDeliveryAgentDto): TZQuery<AdminDeliveryAgent>;
|
|
3911
|
+
remove(id: string): TZQuery<void>;
|
|
3912
|
+
};
|
|
3913
|
+
deliveryZones: {
|
|
3914
|
+
list(): TZQuery<AdminDeliveryZone[]>;
|
|
3915
|
+
create(data: CreateDeliveryZoneDto): TZQuery<AdminDeliveryZone>;
|
|
3916
|
+
update(id: string, data: UpdateDeliveryZoneDto): TZQuery<AdminDeliveryZone>;
|
|
3917
|
+
remove(id: string): TZQuery<void>;
|
|
3918
|
+
};
|
|
3919
|
+
affiliates: {
|
|
3920
|
+
list(): TZQuery<AdminAffiliate[]>;
|
|
3921
|
+
update(id: string, data: Record<string, unknown>): TZQuery<AdminAffiliate>;
|
|
3922
|
+
};
|
|
3923
|
+
popups: {
|
|
3924
|
+
get(): TZQuery<AdminPopupSettings>;
|
|
3925
|
+
update(data: UpdatePopupSettingsDto): TZQuery<AdminPopupSettings>;
|
|
3926
|
+
};
|
|
3927
|
+
finance: {
|
|
3928
|
+
invoices(params?: AdminFinanceQuery): TZPaginatedQuery<AdminInvoice>;
|
|
3929
|
+
tax(params?: {
|
|
3930
|
+
startDate?: string;
|
|
3931
|
+
endDate?: string;
|
|
3932
|
+
}): TZQuery<AdminTaxSummary>;
|
|
3933
|
+
settlements(params?: AdminFinanceQuery): TZPaginatedQuery<AdminSettlement>;
|
|
3934
|
+
payouts(params?: AdminFinanceQuery): TZPaginatedQuery<AdminPayout>;
|
|
3935
|
+
markPaid(id: string): TZQuery<void>;
|
|
3936
|
+
exportReport(params?: Record<string, unknown>): TZQuery<{
|
|
3937
|
+
url: string;
|
|
3938
|
+
}>;
|
|
3939
|
+
};
|
|
3940
|
+
reports: {
|
|
3941
|
+
get(type: string, params?: Record<string, unknown>): TZQuery<Record<string, unknown>>;
|
|
3942
|
+
};
|
|
3943
|
+
broadcast: {
|
|
3944
|
+
list(): TZQuery<AdminBroadcast[]>;
|
|
3945
|
+
send(data: CreateBroadcastDto): TZQuery<AdminBroadcast>;
|
|
3946
|
+
};
|
|
3947
|
+
scheduledOrders: {
|
|
3948
|
+
list(params?: AdminScheduledOrdersQuery): TZQuery<AdminScheduledOrder[]>;
|
|
3949
|
+
catering(): TZQuery<AdminScheduledOrder[]>;
|
|
3950
|
+
};
|
|
3951
|
+
abandonedCarts: {
|
|
3952
|
+
list(params?: AdminAbandonedCartsQuery): TZPaginatedQuery<AdminAbandonedCart>;
|
|
3953
|
+
recover(id: string): TZQuery<void>;
|
|
3954
|
+
};
|
|
3955
|
+
waitlists: {
|
|
3956
|
+
list(): TZQuery<AdminWaitlistGroup[]>;
|
|
3957
|
+
notify(menuItemId: string): TZQuery<void>;
|
|
3958
|
+
};
|
|
3959
|
+
reservationSlots: {
|
|
3960
|
+
list(): TZQuery<AdminReservationSlot[]>;
|
|
3961
|
+
create(data: CreateReservationSlotDto): TZQuery<AdminReservationSlot>;
|
|
3962
|
+
update(id: string, data: UpdateReservationSlotDto): TZQuery<AdminReservationSlot>;
|
|
3963
|
+
remove(id: string): TZQuery<void>;
|
|
3964
|
+
};
|
|
3965
|
+
reservationTables: {
|
|
3966
|
+
list(): TZQuery<AdminReservationTable[]>;
|
|
3967
|
+
create(data: CreateReservationTableDto): TZQuery<AdminReservationTable>;
|
|
3968
|
+
update(id: string, data: UpdateReservationTableDto): TZQuery<AdminReservationTable>;
|
|
3969
|
+
remove(id: string): TZQuery<void>;
|
|
3970
|
+
};
|
|
3103
3971
|
};
|
|
3104
3972
|
superAdmin: {
|
|
3105
3973
|
auth: {
|
|
@@ -3169,4 +4037,4 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
3169
4037
|
}>;
|
|
3170
4038
|
};
|
|
3171
4039
|
|
|
3172
|
-
export { type AddCartItemDto, type AddSegmentMembersDto, type Address, type AdjustLoyaltyPointsDto, type AdminCancelBookingDto, type AdminListOrdersQuery, type AdminMealSubscription, type AdminOrganization, type ApiError, type ApiKey, type ApplyStudentPassDto, type AssignPropertyUnitsDto, type AssignStaffRolesDto, type AuditLog, type AuthResponse, type AuthScope, type AuthTokens, type BulkReviewStudentPassesDto, type BulkUpdateSettingsDto, type BulkUpsertEndUsersDto, type CalculateDeliveryDto, type CancelPropertyBookingDto, type Cart, type CartItemOption, type CartLineItem, type CatalogCategory, type CatalogItem, type CatalogItemVariant, type CatalogOption, type CatalogOptionGroup, type ChangeEndUserPasswordDto, type CheckPropertyAvailabilityQuery, type CheckReservationAvailabilityQuery, type CompleteSignupDto, type ConnectedSource, type ContactMessage, type ContentPost, type CouponValidation, type CreateAddressDto, type CreateApiKeyDto, type CreateCatalogCategoryDto, type CreateCatalogOptionDto, type CreateCatalogOptionGroupDto, type CreateCatalogVariantDto, type CreateHelpArticleDto, type CreateIngredientDto, type CreateInstitutionDto, type CreateMealPlanDto, type CreateOrderDto, type CreatePaymentOrderDto, type CreatePropertyAmenityDto, type CreatePropertyBookingDto, type CreatePropertyPaymentOrderDto, type CreatePurchaseOrderDto, type CreateReservationDto, type CreateReviewDto, type CreateRoleDto, type CreateStudentDiscountDto, type CreateSuperAdminDto, type CreateSupplierDto, type CreateSupportTicketDto, type CreateWasteLogDto, type CreateWatchRoomDto, type DeliveryCalculation, type DeliveryTracking, type DiscountPreview, type EarningsSummary, type EndUser, type EndUserProfile, type EndUserRequestResetDto, type EndUserResetPasswordDto, type EndUserSendOtpDto, type EndUserTagsDto, type EndUserVerifyOtpDto, type GetCatalogItemsQuery, type GiftCard, type GoogleDriveCallbackDto, type GoogleDriveConnectUrl, type HelpArticle, type HostEarning, type Ingredient, type Institution, type InviteStaffUserDto, type JoinWatchRoomDto, type ListCatalogItemsQuery, type ListContentQuery, type ListEarningsQuery, type ListEndUsersQuery, type ListMoviesQuery, type ListOrdersQuery, type ListOrganizationsQuery, type ListReviewsQuery, type ListStaffUsersQuery, type ListStudentPassesQuery, type ListSuperAdminsQuery, type ListWatchRoomsQuery, type LocationHours, type LoginEndUserDto, type LoyaltyAccount, type LoyaltyRedemption, type LoyaltyReward, type LoyaltyTransaction, type MealPlan, type MealSubscription, type Movie, type MovieDetail, type Notification, type Order, type OrderItem, type OrderStatus, type OrderType, type PaginatedQuery, type PaginatedResponse, type PaginationParams, type PaymentMethod, type PaymentOrder, type PaymentVerification, type PlatformPlan, type PreviewStudentDiscountDto, type PreviewTemplateDto, type Promotion, type PropertyAvailability, type PropertyBooking, type PropertyPriceResolution, type PropertyType, type PurchaseGiftCardDto, type PurchaseOrder, type PurchaseOrderItem, type QueryMealSubscriptionsParams, type QueryPurchaseOrdersParams, type RawResponse, type RedeemGiftCardDto, type RedeemLoyaltyRewardDto, type ReferralInfo, type ReferralValidation, type RegisterEndUserDto, type ReorderDto, type ReplySupportTicketDto, type ReportOrderIssueDto, type RequestMagicLinkDto, type Reservation, type ReservationSlot, type ResolvePropertyPriceDto, type Review, type ReviewStudentPassDto, type Role, type ScheduleCampaignDto, ScopedClient, type SearchQuery, type SearchStatusQuery, type SetLocationHoursDto, type SetPropertyTypeAmenitiesDto, type SetSettingDto, type StaffAuthResponse, type StaffChangePasswordDto, type StaffLoginDto, type StaffRegisterDto, type StaffRequestPasswordResetDto, type StaffResetPasswordDto, type StaffSendOtpDto, type StaffUser, type StaffVerifyOtpDto, type StartSignupDto, type StartWatchSessionDto, type StatusQuery, type StockAlert, type StoreLocation, type StorefrontConfig, type StudentDiscount, type StudentPassStatus, type SubmitContactDto, type SubscribeBillingPlanDto, type SubscribeMealPlanDto, type SubscribeNewsletterDto, type SuperAdminLoginDto, type SuperAdminStats, type SuperAdmin as SuperAdminUser, type Supplier, type SupportReply, type SupportTicket, type SwitchWatchRoomModeDto, TZ, TZClient, type TZConfig, type TZInitOptions, TZPaginatedQuery, TZQuery, type TmdbMovie, type TmdbMovieDetail, type TokenStore, type TopUpWalletDto, type UpdateAddressDto, type UpdateApiKeyDto, type UpdateCartItemDto, type UpdateCatalogCategoryDto, type UpdateCatalogOptionDto, type UpdateCatalogOptionGroupDto, type UpdateCatalogVariantDto, type UpdateEndUserProfileDto, type UpdateHelpArticleDto, type UpdateHousekeepingDto, type UpdateIngredientDto, type UpdateInstitutionDto, type UpdateMealPlanDto, type UpdateMovieProgressDto, type UpdateOrderStatusDto, type UpdateOrgDto, type UpdatePurchaseOrderDto, type UpdateReservationStatusDto, type UpdateReviewStatusDto, type UpdateRoleDto, type UpdateStaffUserDto, type UpdateStudentDiscountDto, type UpdateSupplierDto, type UpdateSupportTicketDto, type UploadResult, type ValidateCouponDto, type ValidateReferralDto, type VerifyMagicLinkQuery, type VerifyPaymentDto, type VerifySignupOtpDto, type WalletBalance, type WalletPack, type WalletTransaction, type WasteLog, type WatchRoom, type WatchRoomJoinResponse, type WatchRoomMessage, type WatchRoomPlaybackState, type WatchRoomPrivacy, type WatchRoomStatus, type WatchRoomVibe, type WatchRoomViewer, type WatchRoomViewerMode, type WatchSessionHistoryItem, type WatchSessionResponse, type WatchSessionStatus, type WatchSessionStatusType, type WatchSessionSummary, createTZ };
|
|
4040
|
+
export { type AddCartItemDto, type AddSegmentMembersDto, type Address, type AdjustLoyaltyPointsDto, type AdminAbandonedCart, type AdminAbandonedCartsQuery, type AdminAffiliate, type AdminBlogPost, type AdminBroadcast, type AdminCancelBookingDto, type AdminCoupon, type AdminCustomer, type AdminCustomerDetail, type AdminDashboardData, type AdminDashboardQuery, type AdminDashboardStats, type AdminDeliveryAgent, type AdminDeliveryZone, type AdminFinanceQuery, type AdminFulfillResult, type AdminGiftCard, type AdminGiftCardTransaction, type AdminHelpArticle, type AdminInstitution, type AdminInvoice, type AdminListOrdersQuery, type AdminLocation, type AdminLocationDetail, type AdminLoyaltyAccount, type AdminLoyaltyData, type AdminMealSubscription, type AdminMenuItem, type AdminOrder, type AdminOrderDetail, type AdminOrganization, type AdminPayout, type AdminPopupSettings, type AdminPromotion, type AdminRedemption, type AdminReservation, type AdminReservationSlot, type AdminReservationTable, type AdminReview, type AdminScheduledOrder, type AdminScheduledOrdersQuery, type AdminSetting, type AdminSettlement, type AdminStudentDiscount, type AdminStudentPass, type AdminStudentPassDetail, type AdminStudentPassStats, type AdminSyncLog, type AdminTaxSummary, type AdminTicket, type AdminTicketDetail, type AdminTicketMessage, type AdminWaitlistEntry, type AdminWaitlistGroup, type ApiError, type ApiKey, type ApplyStudentPassDto, type AssignPropertyUnitsDto, type AssignStaffRolesDto, type AuditLog, type AuthResponse, type AuthScope, type AuthTokens, type BulkReviewStudentPassesDto, type BulkUpdateSettingsDto, type BulkUpsertEndUsersDto, type CalculateDeliveryDto, type CancelPropertyBookingDto, type Cart, type CartItemOption, type CartLineItem, type CatalogCategory, type CatalogItem, type CatalogItemVariant, type CatalogOption, type CatalogOptionGroup, type ChangeEndUserPasswordDto, type CheckPropertyAvailabilityQuery, type CheckReservationAvailabilityQuery, type CompleteSignupDto, type ConnectedSource, type ContactMessage, type ContentPost, type CouponValidation, type CreateAddressDto, type CreateApiKeyDto, type CreateBroadcastDto, type CreateCatalogCategoryDto, type CreateCatalogOptionDto, type CreateCatalogOptionGroupDto, type CreateCatalogVariantDto, type CreateDeliveryAgentDto, type CreateDeliveryZoneDto, type CreateHelpArticleDto, type CreateIngredientDto, type CreateInstitutionDto, type CreateMealPlanDto, type CreateOrderDto, type CreatePaymentOrderDto, type CreatePropertyAmenityDto, type CreatePropertyBookingDto, type CreatePropertyPaymentOrderDto, type CreatePurchaseOrderDto, type CreateReservationDto, type CreateReservationSlotDto, type CreateReservationTableDto, type CreateReviewDto, type CreateRoleDto, type CreateStudentDiscountDto, type CreateSuperAdminDto, type CreateSupplierDto, type CreateSupportTicketDto, type CreateWasteLogDto, type CreateWatchRoomDto, type DeliveryCalculation, type DeliveryTracking, type DiscountPreview, type EarningsSummary, type EndUser, type EndUserProfile, type EndUserRequestResetDto, type EndUserResetPasswordDto, type EndUserSendOtpDto, type EndUserTagsDto, type EndUserVerifyOtpDto, type FulfillRewardDto, type GetCatalogItemsQuery, type GiftCard, type GoogleDriveCallbackDto, type GoogleDriveConnectUrl, type HelpArticle, type HostEarning, type Ingredient, type Institution, type InviteStaffUserDto, type JoinWatchRoomDto, type ListCatalogItemsQuery, type ListContentQuery, type ListEarningsQuery, type ListEndUsersQuery, type ListMoviesQuery, type ListOrdersQuery, type ListOrganizationsQuery, type ListReviewsQuery, type ListStaffUsersQuery, type ListStudentPassesQuery, type ListSuperAdminsQuery, type ListWatchRoomsQuery, type LocationHours, type LoginEndUserDto, type LoyaltyAccount, type LoyaltyRedemption, type LoyaltyReward, type LoyaltyTransaction, type MealPlan, type MealSubscription, type Movie, type MovieDetail, type Notification, type Order, type OrderItem, type OrderStatus, type OrderType, type PaginatedQuery, type PaginatedResponse, type PaginationParams, type PaymentMethod, type PaymentOrder, type PaymentVerification, type PlatformPlan, type PreviewStudentDiscountDto, type PreviewTemplateDto, type Promotion, type PropertyAvailability, type PropertyBooking, type PropertyPriceResolution, type PropertyType, type PurchaseGiftCardDto, type PurchaseOrder, type PurchaseOrderItem, type QueryMealSubscriptionsParams, type QueryPurchaseOrdersParams, type RawResponse, type RedeemGiftCardDto, type RedeemLoyaltyRewardDto, type ReferralInfo, type ReferralValidation, type RegisterEndUserDto, type ReorderDto, type ReplySupportTicketDto, type ReportOrderIssueDto, type RequestMagicLinkDto, type Reservation, type ReservationSlot, type ResolvePropertyPriceDto, type Review, type ReviewStudentPassDto, type Role, type ScheduleCampaignDto, ScopedClient, type SearchQuery, type SearchStatusQuery, type SetLocationHoursDto, type SetPropertyTypeAmenitiesDto, type SetSettingDto, type StaffAuthResponse, type StaffChangePasswordDto, type StaffLoginDto, type StaffRegisterDto, type StaffRequestPasswordResetDto, type StaffResetPasswordDto, type StaffSendOtpDto, type StaffUser, type StaffVerifyOtpDto, type StartSignupDto, type StartWatchSessionDto, type StatusQuery, type StockAlert, type StoreLocation, type StorefrontConfig, type StudentDiscount, type StudentPassStatus, type SubmitContactDto, type SubscribeBillingPlanDto, type SubscribeMealPlanDto, type SubscribeNewsletterDto, type SuperAdminLoginDto, type SuperAdminStats, type SuperAdmin as SuperAdminUser, type Supplier, type SupportReply, type SupportTicket, type SwitchWatchRoomModeDto, TZ, TZClient, type TZConfig, type TZInitOptions, TZPaginatedQuery, TZQuery, type TmdbMovie, type TmdbMovieDetail, type TokenStore, type TopUpWalletDto, type UpdateAddressDto, type UpdateApiKeyDto, type UpdateCartItemDto, type UpdateCatalogCategoryDto, type UpdateCatalogOptionDto, type UpdateCatalogOptionGroupDto, type UpdateCatalogVariantDto, type UpdateDeliveryAgentDto, type UpdateDeliveryZoneDto, type UpdateEndUserProfileDto, type UpdateHelpArticleDto, type UpdateHousekeepingDto, type UpdateIngredientDto, type UpdateInstitutionDto, type UpdateMealPlanDto, type UpdateMovieProgressDto, type UpdateOrderStatusDto, type UpdateOrgDto, type UpdatePopupSettingsDto, type UpdatePurchaseOrderDto, type UpdateReservationSlotDto, type UpdateReservationStatusDto, type UpdateReservationTableDto, type UpdateReviewStatusDto, type UpdateRoleDto, type UpdateStaffUserDto, type UpdateStudentDiscountDto, type UpdateSupplierDto, type UpdateSupportTicketDto, type UploadResult, type ValidateCouponDto, type ValidateReferralDto, type VerifyMagicLinkQuery, type VerifyPaymentDto, type VerifySignupOtpDto, type WalletBalance, type WalletPack, type WalletTransaction, type WasteLog, type WatchRoom, type WatchRoomJoinResponse, type WatchRoomMessage, type WatchRoomPlaybackState, type WatchRoomPrivacy, type WatchRoomStatus, type WatchRoomVibe, type WatchRoomViewer, type WatchRoomViewerMode, type WatchSessionHistoryItem, type WatchSessionResponse, type WatchSessionStatus, type WatchSessionStatusType, type WatchSessionSummary, createTZ };
|