@techzunction/sdk 0.6.5 → 0.7.0
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 +22 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +228 -120
- package/dist/index.d.ts +228 -120
- package/dist/index.js +22 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -25,28 +25,29 @@ interface AuthTokens {
|
|
|
25
25
|
accessToken: string;
|
|
26
26
|
refreshToken: string;
|
|
27
27
|
}
|
|
28
|
+
/** EndUser as returned by all auth flows (register, login, verifyOtp, completeSignup, socialLogin) */
|
|
28
29
|
interface EndUser {
|
|
29
30
|
id: string;
|
|
30
31
|
name: string | null;
|
|
31
32
|
email: string | null;
|
|
32
33
|
phone: string | null;
|
|
33
34
|
orgId: string;
|
|
34
|
-
}
|
|
35
|
-
interface EndUserProfile {
|
|
36
|
-
id: string;
|
|
37
|
-
name: string | null;
|
|
38
|
-
email: string | null;
|
|
39
|
-
phone: string | null;
|
|
40
|
-
avatarUrl: string | null;
|
|
41
35
|
isPhoneVerified: boolean;
|
|
42
36
|
isEmailVerified: boolean;
|
|
37
|
+
onboardingStep: number;
|
|
38
|
+
avatarUrl: string | null;
|
|
43
39
|
referralCode: string | null;
|
|
40
|
+
}
|
|
41
|
+
/** EndUser profile as returned by GET /storefront/auth/profile (includes createdAt) */
|
|
42
|
+
interface EndUserProfile extends EndUser {
|
|
44
43
|
createdAt: string;
|
|
45
44
|
}
|
|
46
45
|
interface AuthResponse {
|
|
47
46
|
accessToken: string;
|
|
48
47
|
refreshToken: string;
|
|
49
48
|
user: EndUser;
|
|
49
|
+
/** Only present on login — the org's configured primary login identifier */
|
|
50
|
+
primaryLoginId?: string;
|
|
50
51
|
}
|
|
51
52
|
/** Backend AuthUserDto — roles is string[] (role IDs) */
|
|
52
53
|
interface StaffUser {
|
|
@@ -70,11 +71,55 @@ interface PaginationParams {
|
|
|
70
71
|
}
|
|
71
72
|
interface PaginatedResponse<T> {
|
|
72
73
|
data: T[];
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
pagination: {
|
|
75
|
+
page: number;
|
|
76
|
+
limit: number;
|
|
77
|
+
total: number;
|
|
78
|
+
totalPages: number;
|
|
79
|
+
hasNextPage: boolean;
|
|
80
|
+
hasPrevPage: boolean;
|
|
81
|
+
};
|
|
77
82
|
}
|
|
83
|
+
interface ApiResponseEnvelope<T> {
|
|
84
|
+
success: true;
|
|
85
|
+
data: T;
|
|
86
|
+
message: string | null;
|
|
87
|
+
meta: {
|
|
88
|
+
timestamp: string;
|
|
89
|
+
requestId: string;
|
|
90
|
+
} | null;
|
|
91
|
+
}
|
|
92
|
+
interface ApiPaginatedEnvelope<T> {
|
|
93
|
+
success: true;
|
|
94
|
+
data: T[];
|
|
95
|
+
pagination: {
|
|
96
|
+
page: number;
|
|
97
|
+
limit: number;
|
|
98
|
+
total: number;
|
|
99
|
+
totalPages: number;
|
|
100
|
+
hasNextPage: boolean;
|
|
101
|
+
hasPrevPage: boolean;
|
|
102
|
+
};
|
|
103
|
+
message: string | null;
|
|
104
|
+
meta: {
|
|
105
|
+
timestamp: string;
|
|
106
|
+
requestId: string;
|
|
107
|
+
} | null;
|
|
108
|
+
}
|
|
109
|
+
interface ApiErrorEnvelope {
|
|
110
|
+
success: false;
|
|
111
|
+
error: {
|
|
112
|
+
code: string;
|
|
113
|
+
message: string;
|
|
114
|
+
details: unknown | null;
|
|
115
|
+
};
|
|
116
|
+
meta: {
|
|
117
|
+
timestamp: string;
|
|
118
|
+
requestId: string;
|
|
119
|
+
} | null;
|
|
120
|
+
}
|
|
121
|
+
type ApiResult<T> = ApiResponseEnvelope<T> | ApiErrorEnvelope;
|
|
122
|
+
type ApiPaginatedResult<T> = ApiPaginatedEnvelope<T> | ApiErrorEnvelope;
|
|
78
123
|
interface CatalogCategory {
|
|
79
124
|
id: string;
|
|
80
125
|
name: string;
|
|
@@ -154,21 +199,51 @@ type PaymentMethod = 'online' | 'cod' | 'wallet';
|
|
|
154
199
|
type OrderStatus = 'pending' | 'confirmed' | 'preparing' | 'ready' | 'out_for_delivery' | 'delivered' | 'picked_up' | 'completed' | 'cancelled' | 'refunded';
|
|
155
200
|
interface OrderItem {
|
|
156
201
|
id: string;
|
|
157
|
-
|
|
158
|
-
|
|
202
|
+
itemId: string;
|
|
203
|
+
itemName: string;
|
|
204
|
+
variantType: string;
|
|
205
|
+
sizeVariationId: string | null;
|
|
206
|
+
sizeVariationName: string | null;
|
|
159
207
|
quantity: number;
|
|
160
208
|
unitPrice: number;
|
|
161
209
|
totalPrice: number;
|
|
210
|
+
taxAmount: number;
|
|
211
|
+
metadata: Record<string, unknown> | null;
|
|
212
|
+
options: {
|
|
213
|
+
id: string;
|
|
214
|
+
optionId: string;
|
|
215
|
+
optionName: string;
|
|
216
|
+
quantity: number;
|
|
217
|
+
unitPrice: number;
|
|
218
|
+
}[];
|
|
162
219
|
}
|
|
163
220
|
interface Order {
|
|
164
221
|
id: string;
|
|
165
222
|
orderNumber: string;
|
|
166
|
-
|
|
167
|
-
|
|
223
|
+
endUserId: string;
|
|
224
|
+
addressId: string | null;
|
|
225
|
+
locationId: string | null;
|
|
226
|
+
variantType: string;
|
|
227
|
+
status: string;
|
|
228
|
+
orderType: string;
|
|
229
|
+
paymentMethod: string | null;
|
|
230
|
+
customerName: string;
|
|
231
|
+
customerPhone: string;
|
|
232
|
+
customerEmail: string | null;
|
|
168
233
|
subtotal: number;
|
|
234
|
+
taxAmount: number;
|
|
235
|
+
discountAmount: number;
|
|
169
236
|
deliveryFee: number;
|
|
170
|
-
|
|
171
|
-
|
|
237
|
+
packingCharges: number;
|
|
238
|
+
serviceCharge: number;
|
|
239
|
+
totalAmount: number;
|
|
240
|
+
couponCode: string | null;
|
|
241
|
+
loyaltyEarned: number;
|
|
242
|
+
loyaltyRedeemed: number;
|
|
243
|
+
tokenNumber: number | null;
|
|
244
|
+
specialInstructions: string | null;
|
|
245
|
+
scheduledAt: string | null;
|
|
246
|
+
channel: string;
|
|
172
247
|
items: OrderItem[];
|
|
173
248
|
createdAt: string;
|
|
174
249
|
updatedAt: string;
|
|
@@ -261,8 +336,12 @@ interface LoyaltyRedemption {
|
|
|
261
336
|
}
|
|
262
337
|
interface CouponValidation {
|
|
263
338
|
valid: boolean;
|
|
339
|
+
code: string;
|
|
340
|
+
name: string;
|
|
264
341
|
discountType: string;
|
|
265
342
|
discountValue: number;
|
|
343
|
+
maxDiscount: number | null;
|
|
344
|
+
calculatedDiscount: number;
|
|
266
345
|
message: string;
|
|
267
346
|
}
|
|
268
347
|
interface Promotion {
|
|
@@ -342,16 +421,26 @@ interface ContentPost {
|
|
|
342
421
|
id: string;
|
|
343
422
|
title: string;
|
|
344
423
|
slug: string;
|
|
424
|
+
h1: string | null;
|
|
345
425
|
body: string;
|
|
346
426
|
excerpt: string | null;
|
|
347
427
|
imageUrl: string | null;
|
|
428
|
+
featuredImage: string | null;
|
|
429
|
+
ogImage: string | null;
|
|
348
430
|
category: string | null;
|
|
349
431
|
tags: string[];
|
|
350
432
|
status: string;
|
|
433
|
+
author: string | null;
|
|
351
434
|
authorId: string | null;
|
|
435
|
+
metaDescription: string | null;
|
|
436
|
+
keywords: string[];
|
|
437
|
+
canonical: string | null;
|
|
438
|
+
datePublished: string | null;
|
|
439
|
+
dateModified: string | null;
|
|
352
440
|
metadata: Record<string, unknown> | null;
|
|
353
441
|
publishedAt: string | null;
|
|
354
442
|
createdAt: string;
|
|
443
|
+
updatedAt: string;
|
|
355
444
|
}
|
|
356
445
|
interface Address {
|
|
357
446
|
id: string;
|
|
@@ -2155,6 +2244,7 @@ interface ListStudentPassesQuery extends PaginatedQuery {
|
|
|
2155
2244
|
interface ReviewStudentPassDto {
|
|
2156
2245
|
status: 'approved' | 'rejected';
|
|
2157
2246
|
rejectionReason?: string;
|
|
2247
|
+
[key: string]: unknown;
|
|
2158
2248
|
}
|
|
2159
2249
|
interface BulkReviewStudentPassesDto {
|
|
2160
2250
|
ids: string[];
|
|
@@ -2187,6 +2277,8 @@ interface CreateInstitutionDto {
|
|
|
2187
2277
|
}
|
|
2188
2278
|
interface UpdateInstitutionDto {
|
|
2189
2279
|
name?: string;
|
|
2280
|
+
isActive?: boolean;
|
|
2281
|
+
[key: string]: unknown;
|
|
2190
2282
|
}
|
|
2191
2283
|
interface CreateMealPlanDto {
|
|
2192
2284
|
name: string;
|
|
@@ -2832,16 +2924,16 @@ declare const TZ: {
|
|
|
2832
2924
|
removeOption(optionId: string): TZQuery<void>;
|
|
2833
2925
|
};
|
|
2834
2926
|
orders: {
|
|
2835
|
-
list(params?: AdminListOrdersQuery): TZPaginatedQuery<
|
|
2927
|
+
list(params?: AdminListOrdersQuery): TZPaginatedQuery<AdminOrder>;
|
|
2836
2928
|
stats(): TZQuery<Record<string, unknown>>;
|
|
2837
|
-
get(id: string): TZQuery<
|
|
2838
|
-
updateStatus(id: string, data: UpdateOrderStatusDto): TZQuery<
|
|
2929
|
+
get(id: string): TZQuery<AdminOrderDetail>;
|
|
2930
|
+
updateStatus(id: string, data: UpdateOrderStatusDto): TZQuery<AdminOrderDetail>;
|
|
2839
2931
|
};
|
|
2840
2932
|
locations: {
|
|
2841
|
-
list(): TZQuery<
|
|
2842
|
-
get(id: string): TZQuery<
|
|
2843
|
-
create(data: Record<string, unknown>): TZQuery<
|
|
2844
|
-
update(id: string, data: Record<string, unknown>): TZQuery<
|
|
2933
|
+
list(): TZQuery<AdminLocation[]>;
|
|
2934
|
+
get(id: string): TZQuery<AdminLocationDetail>;
|
|
2935
|
+
create(data: Record<string, unknown>): TZQuery<AdminLocation>;
|
|
2936
|
+
update(id: string, data: Record<string, unknown>): TZQuery<AdminLocation>;
|
|
2845
2937
|
remove(id: string): TZQuery<void>;
|
|
2846
2938
|
setHours(id: string, data: SetLocationHoursDto): TZQuery<void>;
|
|
2847
2939
|
getDeliveryZones(id: string): TZQuery<unknown[]>;
|
|
@@ -2850,8 +2942,8 @@ declare const TZ: {
|
|
|
2850
2942
|
removeDeliveryZone(zoneId: string): TZQuery<void>;
|
|
2851
2943
|
};
|
|
2852
2944
|
endUsers: {
|
|
2853
|
-
list(params?: ListEndUsersQuery): TZPaginatedQuery<
|
|
2854
|
-
get(id: string): TZQuery<
|
|
2945
|
+
list(params?: ListEndUsersQuery): TZPaginatedQuery<AdminCustomer>;
|
|
2946
|
+
get(id: string): TZQuery<AdminCustomerDetail>;
|
|
2855
2947
|
create(data: Record<string, unknown>): TZQuery<unknown>;
|
|
2856
2948
|
bulkUpsert(data: BulkUpsertEndUsersDto): TZQuery<unknown>;
|
|
2857
2949
|
update(id: string, data: Record<string, unknown>): TZQuery<unknown>;
|
|
@@ -2881,7 +2973,10 @@ declare const TZ: {
|
|
|
2881
2973
|
}>;
|
|
2882
2974
|
};
|
|
2883
2975
|
settings: {
|
|
2884
|
-
getAll(): TZQuery<
|
|
2976
|
+
getAll(): TZQuery<{
|
|
2977
|
+
grouped: Record<string, AdminSetting[]>;
|
|
2978
|
+
settings: AdminSetting[];
|
|
2979
|
+
}>;
|
|
2885
2980
|
getGroup(group: string): TZQuery<Record<string, unknown>>;
|
|
2886
2981
|
set(group: string, key: string, data: SetSettingDto): TZQuery<void>;
|
|
2887
2982
|
bulkUpdate(data: BulkUpdateSettingsDto): TZQuery<void>;
|
|
@@ -2975,46 +3070,49 @@ declare const TZ: {
|
|
|
2975
3070
|
removeReward(id: string): TZQuery<void>;
|
|
2976
3071
|
};
|
|
2977
3072
|
coupons: {
|
|
2978
|
-
list(params?: StatusQuery): TZPaginatedQuery<
|
|
2979
|
-
get(id: string): TZQuery<
|
|
2980
|
-
create(data: Record<string, unknown>): TZQuery<
|
|
2981
|
-
update(id: string, data: Record<string, unknown>): TZQuery<
|
|
3073
|
+
list(params?: StatusQuery): TZPaginatedQuery<AdminCoupon>;
|
|
3074
|
+
get(id: string): TZQuery<AdminCoupon>;
|
|
3075
|
+
create(data: Record<string, unknown>): TZQuery<AdminCoupon>;
|
|
3076
|
+
update(id: string, data: Record<string, unknown>): TZQuery<AdminCoupon>;
|
|
2982
3077
|
remove(id: string): TZQuery<void>;
|
|
2983
3078
|
};
|
|
2984
3079
|
promotions: {
|
|
2985
|
-
list(params?: PaginatedQuery): TZPaginatedQuery<
|
|
2986
|
-
get(id: string): TZQuery<
|
|
2987
|
-
create(data: Record<string, unknown>): TZQuery<
|
|
2988
|
-
update(id: string, data: Record<string, unknown>): TZQuery<
|
|
3080
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<AdminPromotion>;
|
|
3081
|
+
get(id: string): TZQuery<AdminPromotion>;
|
|
3082
|
+
create(data: Record<string, unknown>): TZQuery<AdminPromotion>;
|
|
3083
|
+
update(id: string, data: Record<string, unknown>): TZQuery<AdminPromotion>;
|
|
2989
3084
|
remove(id: string): TZQuery<void>;
|
|
2990
3085
|
};
|
|
2991
3086
|
reviews: {
|
|
2992
|
-
list(params?: StatusQuery): TZPaginatedQuery<
|
|
2993
|
-
updateStatus(id: string, data: UpdateReviewStatusDto): TZQuery<
|
|
3087
|
+
list(params?: StatusQuery): TZPaginatedQuery<AdminReview>;
|
|
3088
|
+
updateStatus(id: string, data: UpdateReviewStatusDto): TZQuery<AdminReview>;
|
|
2994
3089
|
};
|
|
2995
3090
|
giftCards: {
|
|
2996
|
-
list(params?: PaginatedQuery): TZPaginatedQuery<
|
|
2997
|
-
get(id: string): TZQuery<
|
|
2998
|
-
create(data: Record<string, unknown>): TZQuery<
|
|
3091
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<AdminGiftCard>;
|
|
3092
|
+
get(id: string): TZQuery<AdminGiftCard>;
|
|
3093
|
+
create(data: Record<string, unknown>): TZQuery<AdminGiftCard>;
|
|
2999
3094
|
};
|
|
3000
3095
|
reservations: {
|
|
3001
|
-
list(params?: StatusQuery): TZPaginatedQuery<
|
|
3002
|
-
updateStatus(id: string, data: UpdateReservationStatusDto): TZQuery<
|
|
3003
|
-
resources(): TZQuery<
|
|
3004
|
-
createResource(data: Record<string, unknown>): TZQuery<
|
|
3005
|
-
updateResource(id: string, data: Record<string, unknown>): TZQuery<
|
|
3096
|
+
list(params?: StatusQuery): TZPaginatedQuery<AdminReservation>;
|
|
3097
|
+
updateStatus(id: string, data: UpdateReservationStatusDto): TZQuery<AdminReservation>;
|
|
3098
|
+
resources(): TZQuery<AdminReservationTable[]>;
|
|
3099
|
+
createResource(data: Record<string, unknown>): TZQuery<AdminReservationTable>;
|
|
3100
|
+
updateResource(id: string, data: Record<string, unknown>): TZQuery<AdminReservationTable>;
|
|
3006
3101
|
removeResource(id: string): TZQuery<void>;
|
|
3007
3102
|
};
|
|
3008
3103
|
support: {
|
|
3009
|
-
list(params?: StatusQuery): TZPaginatedQuery<
|
|
3010
|
-
get(id: string): TZQuery<
|
|
3011
|
-
update(id: string, data: UpdateSupportTicketDto): TZQuery<
|
|
3104
|
+
list(params?: StatusQuery): TZPaginatedQuery<AdminTicket>;
|
|
3105
|
+
get(id: string): TZQuery<AdminTicketDetail>;
|
|
3106
|
+
update(id: string, data: UpdateSupportTicketDto): TZQuery<AdminTicketDetail>;
|
|
3107
|
+
reply(ticketId: string, data: {
|
|
3108
|
+
body: string;
|
|
3109
|
+
}): TZQuery<AdminTicketMessage>;
|
|
3012
3110
|
};
|
|
3013
3111
|
content: {
|
|
3014
|
-
list(params?: StatusQuery): TZPaginatedQuery<
|
|
3015
|
-
get(id: string): TZQuery<
|
|
3016
|
-
create(data: Record<string, unknown>): TZQuery<
|
|
3017
|
-
update(id: string, data: Record<string, unknown>): TZQuery<
|
|
3112
|
+
list(params?: StatusQuery): TZPaginatedQuery<AdminBlogPost>;
|
|
3113
|
+
get(id: string): TZQuery<AdminBlogPost>;
|
|
3114
|
+
create(data: Record<string, unknown>): TZQuery<AdminBlogPost>;
|
|
3115
|
+
update(id: string, data: Record<string, unknown>): TZQuery<AdminBlogPost>;
|
|
3018
3116
|
remove(id: string): TZQuery<void>;
|
|
3019
3117
|
};
|
|
3020
3118
|
payments: {
|
|
@@ -3079,24 +3177,24 @@ declare const TZ: {
|
|
|
3079
3177
|
};
|
|
3080
3178
|
upload(file: File | Blob, folder?: string): TZQuery<UploadResult>;
|
|
3081
3179
|
studentPasses: {
|
|
3082
|
-
list(params?: ListStudentPassesQuery): TZPaginatedQuery<
|
|
3083
|
-
get(id: string): TZQuery<
|
|
3084
|
-
review(id: string, data: ReviewStudentPassDto): TZQuery<
|
|
3180
|
+
list(params?: ListStudentPassesQuery): TZPaginatedQuery<AdminStudentPass>;
|
|
3181
|
+
get(id: string): TZQuery<AdminStudentPassDetail>;
|
|
3182
|
+
review(id: string, data: ReviewStudentPassDto): TZQuery<AdminStudentPassDetail>;
|
|
3085
3183
|
bulkReview(data: BulkReviewStudentPassesDto): TZQuery<void>;
|
|
3086
|
-
stats(): TZQuery<
|
|
3184
|
+
stats(): TZQuery<AdminStudentPassStats>;
|
|
3087
3185
|
};
|
|
3088
3186
|
studentDiscounts: {
|
|
3089
|
-
list(params?: PaginatedQuery): TZPaginatedQuery<
|
|
3090
|
-
get(id: string): TZQuery<
|
|
3091
|
-
create(data: CreateStudentDiscountDto): TZQuery<
|
|
3092
|
-
update(id: string, data: UpdateStudentDiscountDto): TZQuery<
|
|
3187
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<AdminStudentDiscount>;
|
|
3188
|
+
get(id: string): TZQuery<AdminStudentDiscount>;
|
|
3189
|
+
create(data: CreateStudentDiscountDto): TZQuery<AdminStudentDiscount>;
|
|
3190
|
+
update(id: string, data: UpdateStudentDiscountDto): TZQuery<AdminStudentDiscount>;
|
|
3093
3191
|
remove(id: string): TZQuery<void>;
|
|
3094
3192
|
};
|
|
3095
3193
|
institutions: {
|
|
3096
|
-
list(params?: PaginatedQuery): TZPaginatedQuery<
|
|
3097
|
-
get(id: string): TZQuery<
|
|
3098
|
-
create(data: CreateInstitutionDto): TZQuery<
|
|
3099
|
-
update(id: string, data: UpdateInstitutionDto): TZQuery<
|
|
3194
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<AdminInstitution>;
|
|
3195
|
+
get(id: string): TZQuery<AdminInstitution>;
|
|
3196
|
+
create(data: CreateInstitutionDto): TZQuery<AdminInstitution>;
|
|
3197
|
+
update(id: string, data: UpdateInstitutionDto): TZQuery<AdminInstitution>;
|
|
3100
3198
|
remove(id: string): TZQuery<void>;
|
|
3101
3199
|
};
|
|
3102
3200
|
inventory: {
|
|
@@ -3140,10 +3238,10 @@ declare const TZ: {
|
|
|
3140
3238
|
remove(id: string): TZQuery<void>;
|
|
3141
3239
|
};
|
|
3142
3240
|
helpArticles: {
|
|
3143
|
-
list(params?: PaginatedQuery): TZPaginatedQuery<
|
|
3144
|
-
get(id: string): TZQuery<
|
|
3145
|
-
create(data: CreateHelpArticleDto): TZQuery<
|
|
3146
|
-
update(id: string, data: UpdateHelpArticleDto): TZQuery<
|
|
3241
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<AdminHelpArticle>;
|
|
3242
|
+
get(id: string): TZQuery<AdminHelpArticle>;
|
|
3243
|
+
create(data: CreateHelpArticleDto): TZQuery<AdminHelpArticle>;
|
|
3244
|
+
update(id: string, data: UpdateHelpArticleDto): TZQuery<AdminHelpArticle>;
|
|
3147
3245
|
remove(id: string): TZQuery<void>;
|
|
3148
3246
|
};
|
|
3149
3247
|
dashboard: {
|
|
@@ -3189,6 +3287,8 @@ declare const TZ: {
|
|
|
3189
3287
|
settlements(params?: AdminFinanceQuery): TZPaginatedQuery<AdminSettlement>;
|
|
3190
3288
|
payouts(params?: AdminFinanceQuery): TZPaginatedQuery<AdminPayout>;
|
|
3191
3289
|
markPaid(id: string): TZQuery<void>;
|
|
3290
|
+
createPayout(data: Record<string, unknown>): TZQuery<AdminPayout>;
|
|
3291
|
+
markPayoutPaid(id: string): TZQuery<void>;
|
|
3192
3292
|
exportReport(params?: Record<string, unknown>): TZQuery<{
|
|
3193
3293
|
url: string;
|
|
3194
3294
|
}>;
|
|
@@ -3654,16 +3754,16 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
3654
3754
|
removeOption(optionId: string): TZQuery<void>;
|
|
3655
3755
|
};
|
|
3656
3756
|
orders: {
|
|
3657
|
-
list(params?: AdminListOrdersQuery): TZPaginatedQuery<
|
|
3757
|
+
list(params?: AdminListOrdersQuery): TZPaginatedQuery<AdminOrder>;
|
|
3658
3758
|
stats(): TZQuery<Record<string, unknown>>;
|
|
3659
|
-
get(id: string): TZQuery<
|
|
3660
|
-
updateStatus(id: string, data: UpdateOrderStatusDto): TZQuery<
|
|
3759
|
+
get(id: string): TZQuery<AdminOrderDetail>;
|
|
3760
|
+
updateStatus(id: string, data: UpdateOrderStatusDto): TZQuery<AdminOrderDetail>;
|
|
3661
3761
|
};
|
|
3662
3762
|
locations: {
|
|
3663
|
-
list(): TZQuery<
|
|
3664
|
-
get(id: string): TZQuery<
|
|
3665
|
-
create(data: Record<string, unknown>): TZQuery<
|
|
3666
|
-
update(id: string, data: Record<string, unknown>): TZQuery<
|
|
3763
|
+
list(): TZQuery<AdminLocation[]>;
|
|
3764
|
+
get(id: string): TZQuery<AdminLocationDetail>;
|
|
3765
|
+
create(data: Record<string, unknown>): TZQuery<AdminLocation>;
|
|
3766
|
+
update(id: string, data: Record<string, unknown>): TZQuery<AdminLocation>;
|
|
3667
3767
|
remove(id: string): TZQuery<void>;
|
|
3668
3768
|
setHours(id: string, data: SetLocationHoursDto): TZQuery<void>;
|
|
3669
3769
|
getDeliveryZones(id: string): TZQuery<unknown[]>;
|
|
@@ -3672,8 +3772,8 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
3672
3772
|
removeDeliveryZone(zoneId: string): TZQuery<void>;
|
|
3673
3773
|
};
|
|
3674
3774
|
endUsers: {
|
|
3675
|
-
list(params?: ListEndUsersQuery): TZPaginatedQuery<
|
|
3676
|
-
get(id: string): TZQuery<
|
|
3775
|
+
list(params?: ListEndUsersQuery): TZPaginatedQuery<AdminCustomer>;
|
|
3776
|
+
get(id: string): TZQuery<AdminCustomerDetail>;
|
|
3677
3777
|
create(data: Record<string, unknown>): TZQuery<unknown>;
|
|
3678
3778
|
bulkUpsert(data: BulkUpsertEndUsersDto): TZQuery<unknown>;
|
|
3679
3779
|
update(id: string, data: Record<string, unknown>): TZQuery<unknown>;
|
|
@@ -3703,7 +3803,10 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
3703
3803
|
}>;
|
|
3704
3804
|
};
|
|
3705
3805
|
settings: {
|
|
3706
|
-
getAll(): TZQuery<
|
|
3806
|
+
getAll(): TZQuery<{
|
|
3807
|
+
grouped: Record<string, AdminSetting[]>;
|
|
3808
|
+
settings: AdminSetting[];
|
|
3809
|
+
}>;
|
|
3707
3810
|
getGroup(group: string): TZQuery<Record<string, unknown>>;
|
|
3708
3811
|
set(group: string, key: string, data: SetSettingDto): TZQuery<void>;
|
|
3709
3812
|
bulkUpdate(data: BulkUpdateSettingsDto): TZQuery<void>;
|
|
@@ -3797,46 +3900,49 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
3797
3900
|
removeReward(id: string): TZQuery<void>;
|
|
3798
3901
|
};
|
|
3799
3902
|
coupons: {
|
|
3800
|
-
list(params?: StatusQuery): TZPaginatedQuery<
|
|
3801
|
-
get(id: string): TZQuery<
|
|
3802
|
-
create(data: Record<string, unknown>): TZQuery<
|
|
3803
|
-
update(id: string, data: Record<string, unknown>): TZQuery<
|
|
3903
|
+
list(params?: StatusQuery): TZPaginatedQuery<AdminCoupon>;
|
|
3904
|
+
get(id: string): TZQuery<AdminCoupon>;
|
|
3905
|
+
create(data: Record<string, unknown>): TZQuery<AdminCoupon>;
|
|
3906
|
+
update(id: string, data: Record<string, unknown>): TZQuery<AdminCoupon>;
|
|
3804
3907
|
remove(id: string): TZQuery<void>;
|
|
3805
3908
|
};
|
|
3806
3909
|
promotions: {
|
|
3807
|
-
list(params?: PaginatedQuery): TZPaginatedQuery<
|
|
3808
|
-
get(id: string): TZQuery<
|
|
3809
|
-
create(data: Record<string, unknown>): TZQuery<
|
|
3810
|
-
update(id: string, data: Record<string, unknown>): TZQuery<
|
|
3910
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<AdminPromotion>;
|
|
3911
|
+
get(id: string): TZQuery<AdminPromotion>;
|
|
3912
|
+
create(data: Record<string, unknown>): TZQuery<AdminPromotion>;
|
|
3913
|
+
update(id: string, data: Record<string, unknown>): TZQuery<AdminPromotion>;
|
|
3811
3914
|
remove(id: string): TZQuery<void>;
|
|
3812
3915
|
};
|
|
3813
3916
|
reviews: {
|
|
3814
|
-
list(params?: StatusQuery): TZPaginatedQuery<
|
|
3815
|
-
updateStatus(id: string, data: UpdateReviewStatusDto): TZQuery<
|
|
3917
|
+
list(params?: StatusQuery): TZPaginatedQuery<AdminReview>;
|
|
3918
|
+
updateStatus(id: string, data: UpdateReviewStatusDto): TZQuery<AdminReview>;
|
|
3816
3919
|
};
|
|
3817
3920
|
giftCards: {
|
|
3818
|
-
list(params?: PaginatedQuery): TZPaginatedQuery<
|
|
3819
|
-
get(id: string): TZQuery<
|
|
3820
|
-
create(data: Record<string, unknown>): TZQuery<
|
|
3921
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<AdminGiftCard>;
|
|
3922
|
+
get(id: string): TZQuery<AdminGiftCard>;
|
|
3923
|
+
create(data: Record<string, unknown>): TZQuery<AdminGiftCard>;
|
|
3821
3924
|
};
|
|
3822
3925
|
reservations: {
|
|
3823
|
-
list(params?: StatusQuery): TZPaginatedQuery<
|
|
3824
|
-
updateStatus(id: string, data: UpdateReservationStatusDto): TZQuery<
|
|
3825
|
-
resources(): TZQuery<
|
|
3826
|
-
createResource(data: Record<string, unknown>): TZQuery<
|
|
3827
|
-
updateResource(id: string, data: Record<string, unknown>): TZQuery<
|
|
3926
|
+
list(params?: StatusQuery): TZPaginatedQuery<AdminReservation>;
|
|
3927
|
+
updateStatus(id: string, data: UpdateReservationStatusDto): TZQuery<AdminReservation>;
|
|
3928
|
+
resources(): TZQuery<AdminReservationTable[]>;
|
|
3929
|
+
createResource(data: Record<string, unknown>): TZQuery<AdminReservationTable>;
|
|
3930
|
+
updateResource(id: string, data: Record<string, unknown>): TZQuery<AdminReservationTable>;
|
|
3828
3931
|
removeResource(id: string): TZQuery<void>;
|
|
3829
3932
|
};
|
|
3830
3933
|
support: {
|
|
3831
|
-
list(params?: StatusQuery): TZPaginatedQuery<
|
|
3832
|
-
get(id: string): TZQuery<
|
|
3833
|
-
update(id: string, data: UpdateSupportTicketDto): TZQuery<
|
|
3934
|
+
list(params?: StatusQuery): TZPaginatedQuery<AdminTicket>;
|
|
3935
|
+
get(id: string): TZQuery<AdminTicketDetail>;
|
|
3936
|
+
update(id: string, data: UpdateSupportTicketDto): TZQuery<AdminTicketDetail>;
|
|
3937
|
+
reply(ticketId: string, data: {
|
|
3938
|
+
body: string;
|
|
3939
|
+
}): TZQuery<AdminTicketMessage>;
|
|
3834
3940
|
};
|
|
3835
3941
|
content: {
|
|
3836
|
-
list(params?: StatusQuery): TZPaginatedQuery<
|
|
3837
|
-
get(id: string): TZQuery<
|
|
3838
|
-
create(data: Record<string, unknown>): TZQuery<
|
|
3839
|
-
update(id: string, data: Record<string, unknown>): TZQuery<
|
|
3942
|
+
list(params?: StatusQuery): TZPaginatedQuery<AdminBlogPost>;
|
|
3943
|
+
get(id: string): TZQuery<AdminBlogPost>;
|
|
3944
|
+
create(data: Record<string, unknown>): TZQuery<AdminBlogPost>;
|
|
3945
|
+
update(id: string, data: Record<string, unknown>): TZQuery<AdminBlogPost>;
|
|
3840
3946
|
remove(id: string): TZQuery<void>;
|
|
3841
3947
|
};
|
|
3842
3948
|
payments: {
|
|
@@ -3901,24 +4007,24 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
3901
4007
|
};
|
|
3902
4008
|
upload(file: File | Blob, folder?: string): TZQuery<UploadResult>;
|
|
3903
4009
|
studentPasses: {
|
|
3904
|
-
list(params?: ListStudentPassesQuery): TZPaginatedQuery<
|
|
3905
|
-
get(id: string): TZQuery<
|
|
3906
|
-
review(id: string, data: ReviewStudentPassDto): TZQuery<
|
|
4010
|
+
list(params?: ListStudentPassesQuery): TZPaginatedQuery<AdminStudentPass>;
|
|
4011
|
+
get(id: string): TZQuery<AdminStudentPassDetail>;
|
|
4012
|
+
review(id: string, data: ReviewStudentPassDto): TZQuery<AdminStudentPassDetail>;
|
|
3907
4013
|
bulkReview(data: BulkReviewStudentPassesDto): TZQuery<void>;
|
|
3908
|
-
stats(): TZQuery<
|
|
4014
|
+
stats(): TZQuery<AdminStudentPassStats>;
|
|
3909
4015
|
};
|
|
3910
4016
|
studentDiscounts: {
|
|
3911
|
-
list(params?: PaginatedQuery): TZPaginatedQuery<
|
|
3912
|
-
get(id: string): TZQuery<
|
|
3913
|
-
create(data: CreateStudentDiscountDto): TZQuery<
|
|
3914
|
-
update(id: string, data: UpdateStudentDiscountDto): TZQuery<
|
|
4017
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<AdminStudentDiscount>;
|
|
4018
|
+
get(id: string): TZQuery<AdminStudentDiscount>;
|
|
4019
|
+
create(data: CreateStudentDiscountDto): TZQuery<AdminStudentDiscount>;
|
|
4020
|
+
update(id: string, data: UpdateStudentDiscountDto): TZQuery<AdminStudentDiscount>;
|
|
3915
4021
|
remove(id: string): TZQuery<void>;
|
|
3916
4022
|
};
|
|
3917
4023
|
institutions: {
|
|
3918
|
-
list(params?: PaginatedQuery): TZPaginatedQuery<
|
|
3919
|
-
get(id: string): TZQuery<
|
|
3920
|
-
create(data: CreateInstitutionDto): TZQuery<
|
|
3921
|
-
update(id: string, data: UpdateInstitutionDto): TZQuery<
|
|
4024
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<AdminInstitution>;
|
|
4025
|
+
get(id: string): TZQuery<AdminInstitution>;
|
|
4026
|
+
create(data: CreateInstitutionDto): TZQuery<AdminInstitution>;
|
|
4027
|
+
update(id: string, data: UpdateInstitutionDto): TZQuery<AdminInstitution>;
|
|
3922
4028
|
remove(id: string): TZQuery<void>;
|
|
3923
4029
|
};
|
|
3924
4030
|
inventory: {
|
|
@@ -3962,10 +4068,10 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
3962
4068
|
remove(id: string): TZQuery<void>;
|
|
3963
4069
|
};
|
|
3964
4070
|
helpArticles: {
|
|
3965
|
-
list(params?: PaginatedQuery): TZPaginatedQuery<
|
|
3966
|
-
get(id: string): TZQuery<
|
|
3967
|
-
create(data: CreateHelpArticleDto): TZQuery<
|
|
3968
|
-
update(id: string, data: UpdateHelpArticleDto): TZQuery<
|
|
4071
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<AdminHelpArticle>;
|
|
4072
|
+
get(id: string): TZQuery<AdminHelpArticle>;
|
|
4073
|
+
create(data: CreateHelpArticleDto): TZQuery<AdminHelpArticle>;
|
|
4074
|
+
update(id: string, data: UpdateHelpArticleDto): TZQuery<AdminHelpArticle>;
|
|
3969
4075
|
remove(id: string): TZQuery<void>;
|
|
3970
4076
|
};
|
|
3971
4077
|
dashboard: {
|
|
@@ -4011,6 +4117,8 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
4011
4117
|
settlements(params?: AdminFinanceQuery): TZPaginatedQuery<AdminSettlement>;
|
|
4012
4118
|
payouts(params?: AdminFinanceQuery): TZPaginatedQuery<AdminPayout>;
|
|
4013
4119
|
markPaid(id: string): TZQuery<void>;
|
|
4120
|
+
createPayout(data: Record<string, unknown>): TZQuery<AdminPayout>;
|
|
4121
|
+
markPayoutPaid(id: string): TZQuery<void>;
|
|
4014
4122
|
exportReport(params?: Record<string, unknown>): TZQuery<{
|
|
4015
4123
|
url: string;
|
|
4016
4124
|
}>;
|
|
@@ -4115,4 +4223,4 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
4115
4223
|
}>;
|
|
4116
4224
|
};
|
|
4117
4225
|
|
|
4118
|
-
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 };
|
|
4226
|
+
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 ApiErrorEnvelope, type ApiKey, type ApiPaginatedEnvelope, type ApiPaginatedResult, type ApiResponseEnvelope, type ApiResult, 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 };
|