@techzunction/sdk 0.2.0 → 0.3.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.cjs +105 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +260 -1
- package/dist/index.d.ts +260 -1
- package/dist/index.js +105 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -475,6 +475,46 @@ interface WalletPack {
|
|
|
475
475
|
desc: string | null;
|
|
476
476
|
isPopular: boolean;
|
|
477
477
|
}
|
|
478
|
+
interface WalletBalance {
|
|
479
|
+
balancePaise: number;
|
|
480
|
+
}
|
|
481
|
+
interface WalletTransaction {
|
|
482
|
+
id: string;
|
|
483
|
+
type: 'topup' | 'debit' | 'refund';
|
|
484
|
+
amountPaise: number;
|
|
485
|
+
balanceAfterPaise: number;
|
|
486
|
+
description: string | null;
|
|
487
|
+
sessionId: string | null;
|
|
488
|
+
createdAt: string;
|
|
489
|
+
}
|
|
490
|
+
type WatchSessionStatusType = 'active' | 'paused' | 'capped' | 'ended' | 'insufficient_funds';
|
|
491
|
+
interface WatchSessionResponse {
|
|
492
|
+
sessionId: string;
|
|
493
|
+
tmdbId: number;
|
|
494
|
+
movieTitle: string;
|
|
495
|
+
ratePerMinPaise: number;
|
|
496
|
+
meterCapPaise: number;
|
|
497
|
+
status: WatchSessionStatusType;
|
|
498
|
+
balancePaise: number;
|
|
499
|
+
}
|
|
500
|
+
interface WatchSessionStatus {
|
|
501
|
+
sessionId: string;
|
|
502
|
+
status: WatchSessionStatusType;
|
|
503
|
+
totalBilledPaise: number;
|
|
504
|
+
minutesBilled: number;
|
|
505
|
+
ratePerMinPaise: number;
|
|
506
|
+
meterCapPaise: number;
|
|
507
|
+
balancePaise: number;
|
|
508
|
+
}
|
|
509
|
+
interface WatchSessionSummary {
|
|
510
|
+
sessionId: string;
|
|
511
|
+
movieTitle: string;
|
|
512
|
+
minutesBilled: number;
|
|
513
|
+
totalBilledPaise: number;
|
|
514
|
+
meterCapPaise: number;
|
|
515
|
+
hitCap: boolean;
|
|
516
|
+
balancePaise: number;
|
|
517
|
+
}
|
|
478
518
|
interface UploadResult {
|
|
479
519
|
url: string;
|
|
480
520
|
publicId: string;
|
|
@@ -569,6 +609,77 @@ interface MealSubscription {
|
|
|
569
609
|
status: string;
|
|
570
610
|
createdAt: string;
|
|
571
611
|
}
|
|
612
|
+
interface Ingredient {
|
|
613
|
+
id: string;
|
|
614
|
+
name: string;
|
|
615
|
+
unit: string;
|
|
616
|
+
currentStock: number;
|
|
617
|
+
minStock: number;
|
|
618
|
+
costPerUnit: number;
|
|
619
|
+
supplierId: string | null;
|
|
620
|
+
supplier: {
|
|
621
|
+
name: string;
|
|
622
|
+
} | null;
|
|
623
|
+
updatedAt: string;
|
|
624
|
+
createdAt: string;
|
|
625
|
+
}
|
|
626
|
+
interface StockAlert {
|
|
627
|
+
id: string;
|
|
628
|
+
ingredientId: string;
|
|
629
|
+
ingredientName: string;
|
|
630
|
+
type: string;
|
|
631
|
+
message: string;
|
|
632
|
+
isResolved: boolean;
|
|
633
|
+
createdAt: string;
|
|
634
|
+
}
|
|
635
|
+
interface WasteLog {
|
|
636
|
+
id: string;
|
|
637
|
+
ingredientId: string;
|
|
638
|
+
ingredientName: string;
|
|
639
|
+
quantity: number;
|
|
640
|
+
reason: string;
|
|
641
|
+
costImpact: number;
|
|
642
|
+
createdAt: string;
|
|
643
|
+
}
|
|
644
|
+
interface Supplier {
|
|
645
|
+
id: string;
|
|
646
|
+
name: string;
|
|
647
|
+
contactName: string;
|
|
648
|
+
phone: string;
|
|
649
|
+
email: string | null;
|
|
650
|
+
leadTimeDays: number;
|
|
651
|
+
isActive: boolean;
|
|
652
|
+
createdAt: string;
|
|
653
|
+
}
|
|
654
|
+
interface PurchaseOrder {
|
|
655
|
+
id: string;
|
|
656
|
+
poNumber: string;
|
|
657
|
+
supplierId: string;
|
|
658
|
+
supplierName: string;
|
|
659
|
+
status: string;
|
|
660
|
+
totalAmount: number;
|
|
661
|
+
items: PurchaseOrderItem[];
|
|
662
|
+
createdAt: string;
|
|
663
|
+
}
|
|
664
|
+
interface PurchaseOrderItem {
|
|
665
|
+
id: string;
|
|
666
|
+
ingredientId: string;
|
|
667
|
+
ingredientName: string;
|
|
668
|
+
quantity: number;
|
|
669
|
+
unitPrice: number;
|
|
670
|
+
total: number;
|
|
671
|
+
}
|
|
672
|
+
interface AdminMealSubscription {
|
|
673
|
+
id: string;
|
|
674
|
+
userName: string | null;
|
|
675
|
+
userPhone: string | null;
|
|
676
|
+
mealPlanName: string;
|
|
677
|
+
status: string;
|
|
678
|
+
startDate: string;
|
|
679
|
+
endDate: string;
|
|
680
|
+
deliveryTime: string | null;
|
|
681
|
+
createdAt: string;
|
|
682
|
+
}
|
|
572
683
|
interface HelpArticle {
|
|
573
684
|
id: string;
|
|
574
685
|
slug: string;
|
|
@@ -972,6 +1083,18 @@ interface PreviewStudentDiscountDto {
|
|
|
972
1083
|
interface SubscribeMealPlanDto {
|
|
973
1084
|
mealPlanId: string;
|
|
974
1085
|
}
|
|
1086
|
+
interface TopUpWalletDto {
|
|
1087
|
+
razorpayPaymentId: string;
|
|
1088
|
+
razorpayOrderId: string;
|
|
1089
|
+
razorpaySignature: string;
|
|
1090
|
+
amountPaise: number;
|
|
1091
|
+
bonusPaise?: number;
|
|
1092
|
+
}
|
|
1093
|
+
interface StartWatchSessionDto {
|
|
1094
|
+
movieTitle: string;
|
|
1095
|
+
ratePerMinPaise: number;
|
|
1096
|
+
meterCapPaise: number;
|
|
1097
|
+
}
|
|
975
1098
|
|
|
976
1099
|
interface StaffRegisterDto {
|
|
977
1100
|
name: string;
|
|
@@ -1246,6 +1369,60 @@ interface UpdateMealPlanDto {
|
|
|
1246
1369
|
items?: Record<string, unknown>;
|
|
1247
1370
|
isActive?: boolean;
|
|
1248
1371
|
}
|
|
1372
|
+
interface CreateIngredientDto {
|
|
1373
|
+
name: string;
|
|
1374
|
+
unit: string;
|
|
1375
|
+
currentStock?: number;
|
|
1376
|
+
minStock?: number;
|
|
1377
|
+
costPerUnit?: number;
|
|
1378
|
+
supplierId?: string;
|
|
1379
|
+
}
|
|
1380
|
+
interface UpdateIngredientDto {
|
|
1381
|
+
name?: string;
|
|
1382
|
+
unit?: string;
|
|
1383
|
+
currentStock?: number;
|
|
1384
|
+
minStock?: number;
|
|
1385
|
+
costPerUnit?: number;
|
|
1386
|
+
supplierId?: string;
|
|
1387
|
+
}
|
|
1388
|
+
interface CreateWasteLogDto {
|
|
1389
|
+
ingredientId: string;
|
|
1390
|
+
quantity: number;
|
|
1391
|
+
reason: string;
|
|
1392
|
+
}
|
|
1393
|
+
interface CreateSupplierDto {
|
|
1394
|
+
name: string;
|
|
1395
|
+
contactName: string;
|
|
1396
|
+
phone: string;
|
|
1397
|
+
email?: string;
|
|
1398
|
+
leadTimeDays?: number;
|
|
1399
|
+
isActive?: boolean;
|
|
1400
|
+
}
|
|
1401
|
+
interface UpdateSupplierDto {
|
|
1402
|
+
name?: string;
|
|
1403
|
+
contactName?: string;
|
|
1404
|
+
phone?: string;
|
|
1405
|
+
email?: string;
|
|
1406
|
+
leadTimeDays?: number;
|
|
1407
|
+
isActive?: boolean;
|
|
1408
|
+
}
|
|
1409
|
+
interface CreatePurchaseOrderDto {
|
|
1410
|
+
supplierId: string;
|
|
1411
|
+
items: Array<{
|
|
1412
|
+
ingredientId: string;
|
|
1413
|
+
quantity: number;
|
|
1414
|
+
unitPrice: number;
|
|
1415
|
+
}>;
|
|
1416
|
+
}
|
|
1417
|
+
interface UpdatePurchaseOrderDto {
|
|
1418
|
+
status: string;
|
|
1419
|
+
}
|
|
1420
|
+
interface QueryPurchaseOrdersParams extends PaginatedQuery {
|
|
1421
|
+
status?: string;
|
|
1422
|
+
}
|
|
1423
|
+
interface QueryMealSubscriptionsParams extends PaginatedQuery {
|
|
1424
|
+
status?: string;
|
|
1425
|
+
}
|
|
1249
1426
|
interface CreateHelpArticleDto {
|
|
1250
1427
|
title: string;
|
|
1251
1428
|
slug?: string;
|
|
@@ -1564,6 +1741,11 @@ declare const TZ: {
|
|
|
1564
1741
|
buy(id: string): TZQuery<{
|
|
1565
1742
|
entitlementId: string;
|
|
1566
1743
|
}>;
|
|
1744
|
+
startSession(tmdbId: number, data: StartWatchSessionDto): TZQuery<WatchSessionResponse>;
|
|
1745
|
+
getSessionStatus(sessionId: string): TZQuery<WatchSessionStatus>;
|
|
1746
|
+
pauseSession(sessionId: string): TZQuery<WatchSessionStatus>;
|
|
1747
|
+
resumeSession(sessionId: string): TZQuery<WatchSessionStatus>;
|
|
1748
|
+
endSession(sessionId: string): TZQuery<WatchSessionSummary>;
|
|
1567
1749
|
getWatchlist(): TZQuery<Movie[]>;
|
|
1568
1750
|
addToWatchlist(catalogItemId: string): TZQuery<void>;
|
|
1569
1751
|
removeFromWatchlist(catalogItemId: string): TZQuery<void>;
|
|
@@ -1610,6 +1792,9 @@ declare const TZ: {
|
|
|
1610
1792
|
};
|
|
1611
1793
|
wallet: {
|
|
1612
1794
|
getPacks(): TZQuery<WalletPack[]>;
|
|
1795
|
+
getBalance(): TZQuery<WalletBalance>;
|
|
1796
|
+
topUp(data: TopUpWalletDto): TZQuery<WalletBalance>;
|
|
1797
|
+
getTransactions(params?: PaginatedQuery): TZPaginatedQuery<WalletTransaction>;
|
|
1613
1798
|
};
|
|
1614
1799
|
student: {
|
|
1615
1800
|
getPassStatus(): TZQuery<StudentPassStatus>;
|
|
@@ -1972,6 +2157,39 @@ declare const TZ: {
|
|
|
1972
2157
|
update(id: string, data: UpdateInstitutionDto): TZQuery<Institution>;
|
|
1973
2158
|
remove(id: string): TZQuery<void>;
|
|
1974
2159
|
};
|
|
2160
|
+
inventory: {
|
|
2161
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<Ingredient>;
|
|
2162
|
+
get(id: string): TZQuery<Ingredient>;
|
|
2163
|
+
create(data: CreateIngredientDto): TZQuery<Ingredient>;
|
|
2164
|
+
update(id: string, data: UpdateIngredientDto): TZQuery<Ingredient>;
|
|
2165
|
+
remove(id: string): TZQuery<void>;
|
|
2166
|
+
alerts: {
|
|
2167
|
+
list(): TZQuery<StockAlert[]>;
|
|
2168
|
+
resolve(id: string): TZQuery<StockAlert>;
|
|
2169
|
+
};
|
|
2170
|
+
waste: {
|
|
2171
|
+
list(): TZQuery<WasteLog[]>;
|
|
2172
|
+
create(data: CreateWasteLogDto): TZQuery<WasteLog>;
|
|
2173
|
+
};
|
|
2174
|
+
};
|
|
2175
|
+
suppliers: {
|
|
2176
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<Supplier>;
|
|
2177
|
+
get(id: string): TZQuery<Supplier>;
|
|
2178
|
+
create(data: CreateSupplierDto): TZQuery<Supplier>;
|
|
2179
|
+
update(id: string, data: UpdateSupplierDto): TZQuery<Supplier>;
|
|
2180
|
+
remove(id: string): TZQuery<void>;
|
|
2181
|
+
};
|
|
2182
|
+
purchaseOrders: {
|
|
2183
|
+
list(params?: QueryPurchaseOrdersParams): TZPaginatedQuery<PurchaseOrder>;
|
|
2184
|
+
get(id: string): TZQuery<PurchaseOrder>;
|
|
2185
|
+
create(data: CreatePurchaseOrderDto): TZQuery<PurchaseOrder>;
|
|
2186
|
+
update(id: string, data: UpdatePurchaseOrderDto): TZQuery<PurchaseOrder>;
|
|
2187
|
+
remove(id: string): TZQuery<void>;
|
|
2188
|
+
};
|
|
2189
|
+
mealSubscriptions: {
|
|
2190
|
+
list(params?: QueryMealSubscriptionsParams): TZPaginatedQuery<AdminMealSubscription>;
|
|
2191
|
+
get(id: string): TZQuery<AdminMealSubscription>;
|
|
2192
|
+
};
|
|
1975
2193
|
mealPlans: {
|
|
1976
2194
|
list(params?: PaginatedQuery): TZPaginatedQuery<MealPlan>;
|
|
1977
2195
|
get(id: string): TZQuery<MealPlan>;
|
|
@@ -2240,6 +2458,11 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
2240
2458
|
buy(id: string): TZQuery<{
|
|
2241
2459
|
entitlementId: string;
|
|
2242
2460
|
}>;
|
|
2461
|
+
startSession(tmdbId: number, data: StartWatchSessionDto): TZQuery<WatchSessionResponse>;
|
|
2462
|
+
getSessionStatus(sessionId: string): TZQuery<WatchSessionStatus>;
|
|
2463
|
+
pauseSession(sessionId: string): TZQuery<WatchSessionStatus>;
|
|
2464
|
+
resumeSession(sessionId: string): TZQuery<WatchSessionStatus>;
|
|
2465
|
+
endSession(sessionId: string): TZQuery<WatchSessionSummary>;
|
|
2243
2466
|
getWatchlist(): TZQuery<Movie[]>;
|
|
2244
2467
|
addToWatchlist(catalogItemId: string): TZQuery<void>;
|
|
2245
2468
|
removeFromWatchlist(catalogItemId: string): TZQuery<void>;
|
|
@@ -2286,6 +2509,9 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
2286
2509
|
};
|
|
2287
2510
|
wallet: {
|
|
2288
2511
|
getPacks(): TZQuery<WalletPack[]>;
|
|
2512
|
+
getBalance(): TZQuery<WalletBalance>;
|
|
2513
|
+
topUp(data: TopUpWalletDto): TZQuery<WalletBalance>;
|
|
2514
|
+
getTransactions(params?: PaginatedQuery): TZPaginatedQuery<WalletTransaction>;
|
|
2289
2515
|
};
|
|
2290
2516
|
student: {
|
|
2291
2517
|
getPassStatus(): TZQuery<StudentPassStatus>;
|
|
@@ -2647,6 +2873,39 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
2647
2873
|
update(id: string, data: UpdateInstitutionDto): TZQuery<Institution>;
|
|
2648
2874
|
remove(id: string): TZQuery<void>;
|
|
2649
2875
|
};
|
|
2876
|
+
inventory: {
|
|
2877
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<Ingredient>;
|
|
2878
|
+
get(id: string): TZQuery<Ingredient>;
|
|
2879
|
+
create(data: CreateIngredientDto): TZQuery<Ingredient>;
|
|
2880
|
+
update(id: string, data: UpdateIngredientDto): TZQuery<Ingredient>;
|
|
2881
|
+
remove(id: string): TZQuery<void>;
|
|
2882
|
+
alerts: {
|
|
2883
|
+
list(): TZQuery<StockAlert[]>;
|
|
2884
|
+
resolve(id: string): TZQuery<StockAlert>;
|
|
2885
|
+
};
|
|
2886
|
+
waste: {
|
|
2887
|
+
list(): TZQuery<WasteLog[]>;
|
|
2888
|
+
create(data: CreateWasteLogDto): TZQuery<WasteLog>;
|
|
2889
|
+
};
|
|
2890
|
+
};
|
|
2891
|
+
suppliers: {
|
|
2892
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<Supplier>;
|
|
2893
|
+
get(id: string): TZQuery<Supplier>;
|
|
2894
|
+
create(data: CreateSupplierDto): TZQuery<Supplier>;
|
|
2895
|
+
update(id: string, data: UpdateSupplierDto): TZQuery<Supplier>;
|
|
2896
|
+
remove(id: string): TZQuery<void>;
|
|
2897
|
+
};
|
|
2898
|
+
purchaseOrders: {
|
|
2899
|
+
list(params?: QueryPurchaseOrdersParams): TZPaginatedQuery<PurchaseOrder>;
|
|
2900
|
+
get(id: string): TZQuery<PurchaseOrder>;
|
|
2901
|
+
create(data: CreatePurchaseOrderDto): TZQuery<PurchaseOrder>;
|
|
2902
|
+
update(id: string, data: UpdatePurchaseOrderDto): TZQuery<PurchaseOrder>;
|
|
2903
|
+
remove(id: string): TZQuery<void>;
|
|
2904
|
+
};
|
|
2905
|
+
mealSubscriptions: {
|
|
2906
|
+
list(params?: QueryMealSubscriptionsParams): TZPaginatedQuery<AdminMealSubscription>;
|
|
2907
|
+
get(id: string): TZQuery<AdminMealSubscription>;
|
|
2908
|
+
};
|
|
2650
2909
|
mealPlans: {
|
|
2651
2910
|
list(params?: PaginatedQuery): TZPaginatedQuery<MealPlan>;
|
|
2652
2911
|
get(id: string): TZQuery<MealPlan>;
|
|
@@ -2730,4 +2989,4 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
2730
2989
|
}>;
|
|
2731
2990
|
};
|
|
2732
2991
|
|
|
2733
|
-
export { type AddCartItemDto, type AddSegmentMembersDto, type Address, type AdjustLoyaltyPointsDto, type AdminCancelBookingDto, type AdminListOrdersQuery, 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 ContactMessage, type ContentPost, type CouponValidation, type CreateAddressDto, type CreateApiKeyDto, type CreateCatalogCategoryDto, type CreateCatalogOptionDto, type CreateCatalogOptionGroupDto, type CreateCatalogVariantDto, type CreateHelpArticleDto, type CreateInstitutionDto, type CreateMealPlanDto, type CreateOrderDto, type CreatePaymentOrderDto, type CreatePropertyAmenityDto, type CreatePropertyBookingDto, type CreatePropertyPaymentOrderDto, type CreateReservationDto, type CreateReviewDto, type CreateRoleDto, type CreateStudentDiscountDto, type CreateSuperAdminDto, type CreateSupportTicketDto, type DeliveryCalculation, type DeliveryTracking, type DiscountPreview, type EndUser, type EndUserProfile, type EndUserRequestResetDto, type EndUserResetPasswordDto, type EndUserSendOtpDto, type EndUserTagsDto, type EndUserVerifyOtpDto, type GetCatalogItemsQuery, type GiftCard, type HelpArticle, type Institution, type InviteStaffUserDto, type ListCatalogItemsQuery, type ListContentQuery, type ListEndUsersQuery, type ListMoviesQuery, type ListOrdersQuery, type ListOrganizationsQuery, type ListReviewsQuery, type ListStaffUsersQuery, type ListStudentPassesQuery, type ListSuperAdminsQuery, 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 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 StatusQuery, 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 SupportReply, type SupportTicket, TZ, TZClient, type TZConfig, type TZInitOptions, TZPaginatedQuery, TZQuery, type TmdbMovie, type TmdbMovieDetail, type TokenStore, type UpdateAddressDto, type UpdateApiKeyDto, type UpdateCartItemDto, type UpdateCatalogCategoryDto, type UpdateCatalogOptionDto, type UpdateCatalogOptionGroupDto, type UpdateCatalogVariantDto, type UpdateEndUserProfileDto, type UpdateHelpArticleDto, type UpdateHousekeepingDto, type UpdateInstitutionDto, type UpdateMealPlanDto, type UpdateMovieProgressDto, type UpdateOrderStatusDto, type UpdateOrgDto, type UpdateReservationStatusDto, type UpdateReviewStatusDto, type UpdateRoleDto, type UpdateStaffUserDto, type UpdateStudentDiscountDto, type UpdateSupportTicketDto, type UploadResult, type ValidateCouponDto, type ValidateReferralDto, type VerifyMagicLinkQuery, type VerifyPaymentDto, type VerifySignupOtpDto, type WalletPack, createTZ };
|
|
2992
|
+
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 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 DeliveryCalculation, type DeliveryTracking, type DiscountPreview, type EndUser, type EndUserProfile, type EndUserRequestResetDto, type EndUserResetPasswordDto, type EndUserSendOtpDto, type EndUserTagsDto, type EndUserVerifyOtpDto, type GetCatalogItemsQuery, type GiftCard, type HelpArticle, type Ingredient, type Institution, type InviteStaffUserDto, type ListCatalogItemsQuery, type ListContentQuery, type ListEndUsersQuery, type ListMoviesQuery, type ListOrdersQuery, type ListOrganizationsQuery, type ListReviewsQuery, type ListStaffUsersQuery, type ListStudentPassesQuery, type ListSuperAdminsQuery, 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, 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 WatchSessionResponse, type WatchSessionStatus, type WatchSessionStatusType, type WatchSessionSummary, createTZ };
|
package/dist/index.d.ts
CHANGED
|
@@ -475,6 +475,46 @@ interface WalletPack {
|
|
|
475
475
|
desc: string | null;
|
|
476
476
|
isPopular: boolean;
|
|
477
477
|
}
|
|
478
|
+
interface WalletBalance {
|
|
479
|
+
balancePaise: number;
|
|
480
|
+
}
|
|
481
|
+
interface WalletTransaction {
|
|
482
|
+
id: string;
|
|
483
|
+
type: 'topup' | 'debit' | 'refund';
|
|
484
|
+
amountPaise: number;
|
|
485
|
+
balanceAfterPaise: number;
|
|
486
|
+
description: string | null;
|
|
487
|
+
sessionId: string | null;
|
|
488
|
+
createdAt: string;
|
|
489
|
+
}
|
|
490
|
+
type WatchSessionStatusType = 'active' | 'paused' | 'capped' | 'ended' | 'insufficient_funds';
|
|
491
|
+
interface WatchSessionResponse {
|
|
492
|
+
sessionId: string;
|
|
493
|
+
tmdbId: number;
|
|
494
|
+
movieTitle: string;
|
|
495
|
+
ratePerMinPaise: number;
|
|
496
|
+
meterCapPaise: number;
|
|
497
|
+
status: WatchSessionStatusType;
|
|
498
|
+
balancePaise: number;
|
|
499
|
+
}
|
|
500
|
+
interface WatchSessionStatus {
|
|
501
|
+
sessionId: string;
|
|
502
|
+
status: WatchSessionStatusType;
|
|
503
|
+
totalBilledPaise: number;
|
|
504
|
+
minutesBilled: number;
|
|
505
|
+
ratePerMinPaise: number;
|
|
506
|
+
meterCapPaise: number;
|
|
507
|
+
balancePaise: number;
|
|
508
|
+
}
|
|
509
|
+
interface WatchSessionSummary {
|
|
510
|
+
sessionId: string;
|
|
511
|
+
movieTitle: string;
|
|
512
|
+
minutesBilled: number;
|
|
513
|
+
totalBilledPaise: number;
|
|
514
|
+
meterCapPaise: number;
|
|
515
|
+
hitCap: boolean;
|
|
516
|
+
balancePaise: number;
|
|
517
|
+
}
|
|
478
518
|
interface UploadResult {
|
|
479
519
|
url: string;
|
|
480
520
|
publicId: string;
|
|
@@ -569,6 +609,77 @@ interface MealSubscription {
|
|
|
569
609
|
status: string;
|
|
570
610
|
createdAt: string;
|
|
571
611
|
}
|
|
612
|
+
interface Ingredient {
|
|
613
|
+
id: string;
|
|
614
|
+
name: string;
|
|
615
|
+
unit: string;
|
|
616
|
+
currentStock: number;
|
|
617
|
+
minStock: number;
|
|
618
|
+
costPerUnit: number;
|
|
619
|
+
supplierId: string | null;
|
|
620
|
+
supplier: {
|
|
621
|
+
name: string;
|
|
622
|
+
} | null;
|
|
623
|
+
updatedAt: string;
|
|
624
|
+
createdAt: string;
|
|
625
|
+
}
|
|
626
|
+
interface StockAlert {
|
|
627
|
+
id: string;
|
|
628
|
+
ingredientId: string;
|
|
629
|
+
ingredientName: string;
|
|
630
|
+
type: string;
|
|
631
|
+
message: string;
|
|
632
|
+
isResolved: boolean;
|
|
633
|
+
createdAt: string;
|
|
634
|
+
}
|
|
635
|
+
interface WasteLog {
|
|
636
|
+
id: string;
|
|
637
|
+
ingredientId: string;
|
|
638
|
+
ingredientName: string;
|
|
639
|
+
quantity: number;
|
|
640
|
+
reason: string;
|
|
641
|
+
costImpact: number;
|
|
642
|
+
createdAt: string;
|
|
643
|
+
}
|
|
644
|
+
interface Supplier {
|
|
645
|
+
id: string;
|
|
646
|
+
name: string;
|
|
647
|
+
contactName: string;
|
|
648
|
+
phone: string;
|
|
649
|
+
email: string | null;
|
|
650
|
+
leadTimeDays: number;
|
|
651
|
+
isActive: boolean;
|
|
652
|
+
createdAt: string;
|
|
653
|
+
}
|
|
654
|
+
interface PurchaseOrder {
|
|
655
|
+
id: string;
|
|
656
|
+
poNumber: string;
|
|
657
|
+
supplierId: string;
|
|
658
|
+
supplierName: string;
|
|
659
|
+
status: string;
|
|
660
|
+
totalAmount: number;
|
|
661
|
+
items: PurchaseOrderItem[];
|
|
662
|
+
createdAt: string;
|
|
663
|
+
}
|
|
664
|
+
interface PurchaseOrderItem {
|
|
665
|
+
id: string;
|
|
666
|
+
ingredientId: string;
|
|
667
|
+
ingredientName: string;
|
|
668
|
+
quantity: number;
|
|
669
|
+
unitPrice: number;
|
|
670
|
+
total: number;
|
|
671
|
+
}
|
|
672
|
+
interface AdminMealSubscription {
|
|
673
|
+
id: string;
|
|
674
|
+
userName: string | null;
|
|
675
|
+
userPhone: string | null;
|
|
676
|
+
mealPlanName: string;
|
|
677
|
+
status: string;
|
|
678
|
+
startDate: string;
|
|
679
|
+
endDate: string;
|
|
680
|
+
deliveryTime: string | null;
|
|
681
|
+
createdAt: string;
|
|
682
|
+
}
|
|
572
683
|
interface HelpArticle {
|
|
573
684
|
id: string;
|
|
574
685
|
slug: string;
|
|
@@ -972,6 +1083,18 @@ interface PreviewStudentDiscountDto {
|
|
|
972
1083
|
interface SubscribeMealPlanDto {
|
|
973
1084
|
mealPlanId: string;
|
|
974
1085
|
}
|
|
1086
|
+
interface TopUpWalletDto {
|
|
1087
|
+
razorpayPaymentId: string;
|
|
1088
|
+
razorpayOrderId: string;
|
|
1089
|
+
razorpaySignature: string;
|
|
1090
|
+
amountPaise: number;
|
|
1091
|
+
bonusPaise?: number;
|
|
1092
|
+
}
|
|
1093
|
+
interface StartWatchSessionDto {
|
|
1094
|
+
movieTitle: string;
|
|
1095
|
+
ratePerMinPaise: number;
|
|
1096
|
+
meterCapPaise: number;
|
|
1097
|
+
}
|
|
975
1098
|
|
|
976
1099
|
interface StaffRegisterDto {
|
|
977
1100
|
name: string;
|
|
@@ -1246,6 +1369,60 @@ interface UpdateMealPlanDto {
|
|
|
1246
1369
|
items?: Record<string, unknown>;
|
|
1247
1370
|
isActive?: boolean;
|
|
1248
1371
|
}
|
|
1372
|
+
interface CreateIngredientDto {
|
|
1373
|
+
name: string;
|
|
1374
|
+
unit: string;
|
|
1375
|
+
currentStock?: number;
|
|
1376
|
+
minStock?: number;
|
|
1377
|
+
costPerUnit?: number;
|
|
1378
|
+
supplierId?: string;
|
|
1379
|
+
}
|
|
1380
|
+
interface UpdateIngredientDto {
|
|
1381
|
+
name?: string;
|
|
1382
|
+
unit?: string;
|
|
1383
|
+
currentStock?: number;
|
|
1384
|
+
minStock?: number;
|
|
1385
|
+
costPerUnit?: number;
|
|
1386
|
+
supplierId?: string;
|
|
1387
|
+
}
|
|
1388
|
+
interface CreateWasteLogDto {
|
|
1389
|
+
ingredientId: string;
|
|
1390
|
+
quantity: number;
|
|
1391
|
+
reason: string;
|
|
1392
|
+
}
|
|
1393
|
+
interface CreateSupplierDto {
|
|
1394
|
+
name: string;
|
|
1395
|
+
contactName: string;
|
|
1396
|
+
phone: string;
|
|
1397
|
+
email?: string;
|
|
1398
|
+
leadTimeDays?: number;
|
|
1399
|
+
isActive?: boolean;
|
|
1400
|
+
}
|
|
1401
|
+
interface UpdateSupplierDto {
|
|
1402
|
+
name?: string;
|
|
1403
|
+
contactName?: string;
|
|
1404
|
+
phone?: string;
|
|
1405
|
+
email?: string;
|
|
1406
|
+
leadTimeDays?: number;
|
|
1407
|
+
isActive?: boolean;
|
|
1408
|
+
}
|
|
1409
|
+
interface CreatePurchaseOrderDto {
|
|
1410
|
+
supplierId: string;
|
|
1411
|
+
items: Array<{
|
|
1412
|
+
ingredientId: string;
|
|
1413
|
+
quantity: number;
|
|
1414
|
+
unitPrice: number;
|
|
1415
|
+
}>;
|
|
1416
|
+
}
|
|
1417
|
+
interface UpdatePurchaseOrderDto {
|
|
1418
|
+
status: string;
|
|
1419
|
+
}
|
|
1420
|
+
interface QueryPurchaseOrdersParams extends PaginatedQuery {
|
|
1421
|
+
status?: string;
|
|
1422
|
+
}
|
|
1423
|
+
interface QueryMealSubscriptionsParams extends PaginatedQuery {
|
|
1424
|
+
status?: string;
|
|
1425
|
+
}
|
|
1249
1426
|
interface CreateHelpArticleDto {
|
|
1250
1427
|
title: string;
|
|
1251
1428
|
slug?: string;
|
|
@@ -1564,6 +1741,11 @@ declare const TZ: {
|
|
|
1564
1741
|
buy(id: string): TZQuery<{
|
|
1565
1742
|
entitlementId: string;
|
|
1566
1743
|
}>;
|
|
1744
|
+
startSession(tmdbId: number, data: StartWatchSessionDto): TZQuery<WatchSessionResponse>;
|
|
1745
|
+
getSessionStatus(sessionId: string): TZQuery<WatchSessionStatus>;
|
|
1746
|
+
pauseSession(sessionId: string): TZQuery<WatchSessionStatus>;
|
|
1747
|
+
resumeSession(sessionId: string): TZQuery<WatchSessionStatus>;
|
|
1748
|
+
endSession(sessionId: string): TZQuery<WatchSessionSummary>;
|
|
1567
1749
|
getWatchlist(): TZQuery<Movie[]>;
|
|
1568
1750
|
addToWatchlist(catalogItemId: string): TZQuery<void>;
|
|
1569
1751
|
removeFromWatchlist(catalogItemId: string): TZQuery<void>;
|
|
@@ -1610,6 +1792,9 @@ declare const TZ: {
|
|
|
1610
1792
|
};
|
|
1611
1793
|
wallet: {
|
|
1612
1794
|
getPacks(): TZQuery<WalletPack[]>;
|
|
1795
|
+
getBalance(): TZQuery<WalletBalance>;
|
|
1796
|
+
topUp(data: TopUpWalletDto): TZQuery<WalletBalance>;
|
|
1797
|
+
getTransactions(params?: PaginatedQuery): TZPaginatedQuery<WalletTransaction>;
|
|
1613
1798
|
};
|
|
1614
1799
|
student: {
|
|
1615
1800
|
getPassStatus(): TZQuery<StudentPassStatus>;
|
|
@@ -1972,6 +2157,39 @@ declare const TZ: {
|
|
|
1972
2157
|
update(id: string, data: UpdateInstitutionDto): TZQuery<Institution>;
|
|
1973
2158
|
remove(id: string): TZQuery<void>;
|
|
1974
2159
|
};
|
|
2160
|
+
inventory: {
|
|
2161
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<Ingredient>;
|
|
2162
|
+
get(id: string): TZQuery<Ingredient>;
|
|
2163
|
+
create(data: CreateIngredientDto): TZQuery<Ingredient>;
|
|
2164
|
+
update(id: string, data: UpdateIngredientDto): TZQuery<Ingredient>;
|
|
2165
|
+
remove(id: string): TZQuery<void>;
|
|
2166
|
+
alerts: {
|
|
2167
|
+
list(): TZQuery<StockAlert[]>;
|
|
2168
|
+
resolve(id: string): TZQuery<StockAlert>;
|
|
2169
|
+
};
|
|
2170
|
+
waste: {
|
|
2171
|
+
list(): TZQuery<WasteLog[]>;
|
|
2172
|
+
create(data: CreateWasteLogDto): TZQuery<WasteLog>;
|
|
2173
|
+
};
|
|
2174
|
+
};
|
|
2175
|
+
suppliers: {
|
|
2176
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<Supplier>;
|
|
2177
|
+
get(id: string): TZQuery<Supplier>;
|
|
2178
|
+
create(data: CreateSupplierDto): TZQuery<Supplier>;
|
|
2179
|
+
update(id: string, data: UpdateSupplierDto): TZQuery<Supplier>;
|
|
2180
|
+
remove(id: string): TZQuery<void>;
|
|
2181
|
+
};
|
|
2182
|
+
purchaseOrders: {
|
|
2183
|
+
list(params?: QueryPurchaseOrdersParams): TZPaginatedQuery<PurchaseOrder>;
|
|
2184
|
+
get(id: string): TZQuery<PurchaseOrder>;
|
|
2185
|
+
create(data: CreatePurchaseOrderDto): TZQuery<PurchaseOrder>;
|
|
2186
|
+
update(id: string, data: UpdatePurchaseOrderDto): TZQuery<PurchaseOrder>;
|
|
2187
|
+
remove(id: string): TZQuery<void>;
|
|
2188
|
+
};
|
|
2189
|
+
mealSubscriptions: {
|
|
2190
|
+
list(params?: QueryMealSubscriptionsParams): TZPaginatedQuery<AdminMealSubscription>;
|
|
2191
|
+
get(id: string): TZQuery<AdminMealSubscription>;
|
|
2192
|
+
};
|
|
1975
2193
|
mealPlans: {
|
|
1976
2194
|
list(params?: PaginatedQuery): TZPaginatedQuery<MealPlan>;
|
|
1977
2195
|
get(id: string): TZQuery<MealPlan>;
|
|
@@ -2240,6 +2458,11 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
2240
2458
|
buy(id: string): TZQuery<{
|
|
2241
2459
|
entitlementId: string;
|
|
2242
2460
|
}>;
|
|
2461
|
+
startSession(tmdbId: number, data: StartWatchSessionDto): TZQuery<WatchSessionResponse>;
|
|
2462
|
+
getSessionStatus(sessionId: string): TZQuery<WatchSessionStatus>;
|
|
2463
|
+
pauseSession(sessionId: string): TZQuery<WatchSessionStatus>;
|
|
2464
|
+
resumeSession(sessionId: string): TZQuery<WatchSessionStatus>;
|
|
2465
|
+
endSession(sessionId: string): TZQuery<WatchSessionSummary>;
|
|
2243
2466
|
getWatchlist(): TZQuery<Movie[]>;
|
|
2244
2467
|
addToWatchlist(catalogItemId: string): TZQuery<void>;
|
|
2245
2468
|
removeFromWatchlist(catalogItemId: string): TZQuery<void>;
|
|
@@ -2286,6 +2509,9 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
2286
2509
|
};
|
|
2287
2510
|
wallet: {
|
|
2288
2511
|
getPacks(): TZQuery<WalletPack[]>;
|
|
2512
|
+
getBalance(): TZQuery<WalletBalance>;
|
|
2513
|
+
topUp(data: TopUpWalletDto): TZQuery<WalletBalance>;
|
|
2514
|
+
getTransactions(params?: PaginatedQuery): TZPaginatedQuery<WalletTransaction>;
|
|
2289
2515
|
};
|
|
2290
2516
|
student: {
|
|
2291
2517
|
getPassStatus(): TZQuery<StudentPassStatus>;
|
|
@@ -2647,6 +2873,39 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
2647
2873
|
update(id: string, data: UpdateInstitutionDto): TZQuery<Institution>;
|
|
2648
2874
|
remove(id: string): TZQuery<void>;
|
|
2649
2875
|
};
|
|
2876
|
+
inventory: {
|
|
2877
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<Ingredient>;
|
|
2878
|
+
get(id: string): TZQuery<Ingredient>;
|
|
2879
|
+
create(data: CreateIngredientDto): TZQuery<Ingredient>;
|
|
2880
|
+
update(id: string, data: UpdateIngredientDto): TZQuery<Ingredient>;
|
|
2881
|
+
remove(id: string): TZQuery<void>;
|
|
2882
|
+
alerts: {
|
|
2883
|
+
list(): TZQuery<StockAlert[]>;
|
|
2884
|
+
resolve(id: string): TZQuery<StockAlert>;
|
|
2885
|
+
};
|
|
2886
|
+
waste: {
|
|
2887
|
+
list(): TZQuery<WasteLog[]>;
|
|
2888
|
+
create(data: CreateWasteLogDto): TZQuery<WasteLog>;
|
|
2889
|
+
};
|
|
2890
|
+
};
|
|
2891
|
+
suppliers: {
|
|
2892
|
+
list(params?: PaginatedQuery): TZPaginatedQuery<Supplier>;
|
|
2893
|
+
get(id: string): TZQuery<Supplier>;
|
|
2894
|
+
create(data: CreateSupplierDto): TZQuery<Supplier>;
|
|
2895
|
+
update(id: string, data: UpdateSupplierDto): TZQuery<Supplier>;
|
|
2896
|
+
remove(id: string): TZQuery<void>;
|
|
2897
|
+
};
|
|
2898
|
+
purchaseOrders: {
|
|
2899
|
+
list(params?: QueryPurchaseOrdersParams): TZPaginatedQuery<PurchaseOrder>;
|
|
2900
|
+
get(id: string): TZQuery<PurchaseOrder>;
|
|
2901
|
+
create(data: CreatePurchaseOrderDto): TZQuery<PurchaseOrder>;
|
|
2902
|
+
update(id: string, data: UpdatePurchaseOrderDto): TZQuery<PurchaseOrder>;
|
|
2903
|
+
remove(id: string): TZQuery<void>;
|
|
2904
|
+
};
|
|
2905
|
+
mealSubscriptions: {
|
|
2906
|
+
list(params?: QueryMealSubscriptionsParams): TZPaginatedQuery<AdminMealSubscription>;
|
|
2907
|
+
get(id: string): TZQuery<AdminMealSubscription>;
|
|
2908
|
+
};
|
|
2650
2909
|
mealPlans: {
|
|
2651
2910
|
list(params?: PaginatedQuery): TZPaginatedQuery<MealPlan>;
|
|
2652
2911
|
get(id: string): TZQuery<MealPlan>;
|
|
@@ -2730,4 +2989,4 @@ declare function createTZ(options?: TZInitOptions): {
|
|
|
2730
2989
|
}>;
|
|
2731
2990
|
};
|
|
2732
2991
|
|
|
2733
|
-
export { type AddCartItemDto, type AddSegmentMembersDto, type Address, type AdjustLoyaltyPointsDto, type AdminCancelBookingDto, type AdminListOrdersQuery, 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 ContactMessage, type ContentPost, type CouponValidation, type CreateAddressDto, type CreateApiKeyDto, type CreateCatalogCategoryDto, type CreateCatalogOptionDto, type CreateCatalogOptionGroupDto, type CreateCatalogVariantDto, type CreateHelpArticleDto, type CreateInstitutionDto, type CreateMealPlanDto, type CreateOrderDto, type CreatePaymentOrderDto, type CreatePropertyAmenityDto, type CreatePropertyBookingDto, type CreatePropertyPaymentOrderDto, type CreateReservationDto, type CreateReviewDto, type CreateRoleDto, type CreateStudentDiscountDto, type CreateSuperAdminDto, type CreateSupportTicketDto, type DeliveryCalculation, type DeliveryTracking, type DiscountPreview, type EndUser, type EndUserProfile, type EndUserRequestResetDto, type EndUserResetPasswordDto, type EndUserSendOtpDto, type EndUserTagsDto, type EndUserVerifyOtpDto, type GetCatalogItemsQuery, type GiftCard, type HelpArticle, type Institution, type InviteStaffUserDto, type ListCatalogItemsQuery, type ListContentQuery, type ListEndUsersQuery, type ListMoviesQuery, type ListOrdersQuery, type ListOrganizationsQuery, type ListReviewsQuery, type ListStaffUsersQuery, type ListStudentPassesQuery, type ListSuperAdminsQuery, 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 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 StatusQuery, 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 SupportReply, type SupportTicket, TZ, TZClient, type TZConfig, type TZInitOptions, TZPaginatedQuery, TZQuery, type TmdbMovie, type TmdbMovieDetail, type TokenStore, type UpdateAddressDto, type UpdateApiKeyDto, type UpdateCartItemDto, type UpdateCatalogCategoryDto, type UpdateCatalogOptionDto, type UpdateCatalogOptionGroupDto, type UpdateCatalogVariantDto, type UpdateEndUserProfileDto, type UpdateHelpArticleDto, type UpdateHousekeepingDto, type UpdateInstitutionDto, type UpdateMealPlanDto, type UpdateMovieProgressDto, type UpdateOrderStatusDto, type UpdateOrgDto, type UpdateReservationStatusDto, type UpdateReviewStatusDto, type UpdateRoleDto, type UpdateStaffUserDto, type UpdateStudentDiscountDto, type UpdateSupportTicketDto, type UploadResult, type ValidateCouponDto, type ValidateReferralDto, type VerifyMagicLinkQuery, type VerifyPaymentDto, type VerifySignupOtpDto, type WalletPack, createTZ };
|
|
2992
|
+
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 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 DeliveryCalculation, type DeliveryTracking, type DiscountPreview, type EndUser, type EndUserProfile, type EndUserRequestResetDto, type EndUserResetPasswordDto, type EndUserSendOtpDto, type EndUserTagsDto, type EndUserVerifyOtpDto, type GetCatalogItemsQuery, type GiftCard, type HelpArticle, type Ingredient, type Institution, type InviteStaffUserDto, type ListCatalogItemsQuery, type ListContentQuery, type ListEndUsersQuery, type ListMoviesQuery, type ListOrdersQuery, type ListOrganizationsQuery, type ListReviewsQuery, type ListStaffUsersQuery, type ListStudentPassesQuery, type ListSuperAdminsQuery, 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, 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 WatchSessionResponse, type WatchSessionStatus, type WatchSessionStatusType, type WatchSessionSummary, createTZ };
|