aivilife-contracts 6.8.0 → 6.13.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/README.md CHANGED
@@ -146,6 +146,12 @@ import {
146
146
  } from 'aivilife-contracts/marketing';
147
147
  ```
148
148
 
149
+ ## 6.13.0
150
+
151
+ - Added Binary and Matching bonus system-notification types.
152
+ - Added structured bonus-source snapshots with the calculation period, source partner and Matching level.
153
+ - System notification currency now accepts PV amounts.
154
+
149
155
  ## 6.8.0
150
156
 
151
157
  - Added the Binary branch, payable Binary volume and rank volume impact to administrative BOX order sponsor details.
package/dist/index.d.mts CHANGED
@@ -12,6 +12,7 @@ export { AdminWarehouseOrderSummaryQuery, AdminWarehouseOrderSummaryQuerySchema,
12
12
  export { AdminWarehouseAnalyticsQuery, AdminWarehouseAnalyticsQuerySchema, AdminWarehouseAnalyticsResponse, AdminWarehouseAnalyticsSchema, AssignWarehouseUserRequest, AssignWarehouseUserRequestSchema, CreateWarehouseOperationRequest, CreateWarehouseOperationRequestSchema, CreateWarehouseRequest, CreateWarehouseRequestSchema, ExecuteWarehouseOperationRequest, ExecuteWarehouseOperationRequestSchema, RejectWarehouseOperationRequest, RejectWarehouseOperationRequestSchema, ReportWarehouseDiscrepancyRequest, ReportWarehouseDiscrepancyRequestSchema, UpdateWarehouseRequest, UpdateWarehouseRequestSchema, WarehouseAssignmentParamSchema, WarehouseAssignmentResponse, WarehouseAssignmentSchema, WarehouseAssignmentType, WarehouseDayScheduleSchema, WarehouseListQuery, WarehouseListQuerySchema, WarehouseListResponse, WarehouseMovementResponse, WarehouseMovementSchema, WarehouseMovementType, WarehouseOperationAttachmentParamSchema, WarehouseOperationAttachmentResponse, WarehouseOperationAttachmentSchema, WarehouseOperationComment, WarehouseOperationCommentSchema, WarehouseOperationEventSchema, WarehouseOperationLineSchema, WarehouseOperationListQuery, WarehouseOperationListQuerySchema, WarehouseOperationListResponse, WarehouseOperationPublicIdParamSchema, WarehouseOperationResponse, WarehouseOperationSchema, WarehousePublicIdParamSchema, WarehouseRequestLineInputSchema, WarehouseRequestStatus, WarehouseRequestType, WarehouseResponse, WarehouseSchema, WarehouseStatus, WarehouseStockListQuery, WarehouseStockListQuerySchema, WarehouseStockListResponse, WarehouseStockResponse, WarehouseStockSchema, WarehouseUserLookupListResponse, WarehouseUserLookupResponse, WarehouseUserLookupSchema, WarehouseUserSearchQuery, WarehouseUserSearchQuerySchema, WarehouseWeekday, WarehouseWeeklyScheduleSchema, WarehouseWriteOffReason } from './warehouse/index.mjs';
13
13
  export { BoxCheckoutSnapshotResponse, BoxCheckoutSnapshotSchema, BoxCheckoutWarehouseListResponse, BoxCheckoutWarehouseListSchema, BoxCheckoutWarehouseRequest, BoxCheckoutWarehouseRequestSchema, BoxListQuery, BoxListQuerySchema, BoxListResponse, BoxListResponseSchema, BoxPublicIdParamSchema, BoxPurchaseKind, BoxPurchaseResponse, BoxPurchaseSchema, BoxPurchaseStatus, BoxResponse, BoxSchema, BoxSelection, BoxSelectionLineSchema, BoxSelectionSchema, BoxStatus, BoxStructureLevelInputSchema, BoxStructureLevelSchema, BoxTranslationInputSchema, CreateBoxOrderRequest, CreateBoxOrderRequestSchema, CreateBoxRequest, CreateBoxRequestSchema, LocalizedBoxListResponse, LocalizedBoxListResponseSchema, LocalizedBoxResponse, LocalizedBoxSchema, UpdateBoxRequest, UpdateBoxRequestSchema } from './box/index.mjs';
14
14
  export { AppLocale, SupportedLocales } from './localization/index.mjs';
15
+ export { SystemNotificationBonusSourceSchema, SystemNotificationListResponse, SystemNotificationListSchema, SystemNotificationResponse, SystemNotificationSchema, SystemNotificationType } from './notification/index.mjs';
15
16
 
16
17
  declare const DateFromSchema: z.ZodOptional<z.ZodString>;
17
18
  declare const DateToSchema: z.ZodOptional<z.ZodString>;
@@ -530,4 +531,215 @@ declare const AppLocaleSchema: z.ZodEnum<{
530
531
  readonly EN: "en";
531
532
  }>;
532
533
 
533
- export { AppLocaleSchema, type BaseListQuery, BaseListQuerySchema, type ChangePasswordRequest, ChangePasswordRequestSchema, type CitiesResponse, CitiesResponseSchema, type CityResponse, CityResponseSchema, type CountriesResponse, CountriesResponseSchema, type CountryResponse, CountryResponseSchema, type CreateCurrencyRequest, CreateCurrencyRequestSchema, CreateUserRequestSchema, type CreateWalletTransactionRequest, CreateWalletTransactionRequestSchema, type Currency, CurrencyCodeParamSchema, CurrencyCodeSchema, type CurrencyListResponse, CurrencyListResponseSchema, type CurrencyResponse, CurrencySchema, DateFromSchema, DateToSchema, type DbId, DbIdSchema, type ExchangeRate, type ExchangeRateListResponse, ExchangeRateListResponseSchema, type ExchangeRateResponse, ExchangeRateSchema, ExchangeRateSourceSchema, type FileIdParam, FileIdParamSchema, type GetCitiesQuery, GetCitiesQuerySchema, type GetUserWalletByTypeParams, GetUserWalletByTypeParamsSchema, GetUserWalletTransactionsParamsSchema, type GetUserWalletsParams, GetUserWalletsParamsSchema, INT4_MAX, MoneyAmountSchema, MoneyAmountStringSchema, type MoneyView, MoneyViewSchema, RatePerBaseSchema, SearchSchema, type UpdateCurrencyRequest, UpdateCurrencyRequestSchema, type UpdateExchangeRateRequest, UpdateExchangeRateRequestSchema, UpdateUserRequestSchema, type UserCreateRequest, type UserFile, type UserFileList, UserFileListSchema, UserFileSchema, UserFileType, type UserListResponse, UserListResponseSchema, type UserResponse, UserRole, UserSchema, type UserUpdateRequest, WalletCurrency, WalletCurrencySchema, type WalletListResponse, WalletListResponseSchema, WalletOperationKeySchema, type WalletResponse, WalletSchema, WalletStatus, WalletStatusSchema, WalletTransactionDetailsListResponseSchema, type WalletTransactionDetailsResponse, WalletTransactionDetailsSchema, WalletTransactionDirection, WalletTransactionDirectionSchema, WalletTransactionListResponseSchema, WalletTransactionReason, WalletTransactionReasonSchema, type WalletTransactionResponse, WalletTransactionSchema, WalletTransactionSourceUserSchema, WalletTransactionStatus, WalletTransactionStatusSchema, type WalletTransactionsListQuery, WalletTransactionsListQuerySchema, WalletType, WalletTypeSchema };
534
+ declare enum WithdrawalRequestStatus {
535
+ PENDING = "PENDING",
536
+ APPROVED = "APPROVED",
537
+ REJECTED = "REJECTED"
538
+ }
539
+
540
+ declare const WithdrawalRequisiteSchema: z.ZodObject<{
541
+ publicId: z.ZodUUID;
542
+ name: z.ZodString;
543
+ details: z.ZodString;
544
+ createdAt: z.ZodISODateTime;
545
+ updatedAt: z.ZodISODateTime;
546
+ }, z.core.$strip>;
547
+ declare const WithdrawalRequisiteListSchema: z.ZodArray<z.ZodObject<{
548
+ publicId: z.ZodUUID;
549
+ name: z.ZodString;
550
+ details: z.ZodString;
551
+ createdAt: z.ZodISODateTime;
552
+ updatedAt: z.ZodISODateTime;
553
+ }, z.core.$strip>>;
554
+ declare const CreateWithdrawalRequisiteRequestSchema: z.ZodObject<{
555
+ name: z.ZodString;
556
+ details: z.ZodString;
557
+ }, z.core.$strip>;
558
+ declare const UpdateWithdrawalRequisiteRequestSchema: z.ZodObject<{
559
+ name: z.ZodOptional<z.ZodString>;
560
+ details: z.ZodOptional<z.ZodString>;
561
+ }, z.core.$strip>;
562
+ declare const WithdrawalPublicIdParamSchema: z.ZodObject<{
563
+ publicId: z.ZodUUID;
564
+ }, z.core.$strip>;
565
+ declare const CreateWithdrawalRequestSchema: z.ZodObject<{
566
+ operationKey: z.ZodString;
567
+ amount: z.ZodString;
568
+ currency: z.ZodString;
569
+ requisitePublicId: z.ZodUUID;
570
+ comment: z.ZodOptional<z.ZodString>;
571
+ }, z.core.$strip>;
572
+ declare const RejectWithdrawalRequestSchema: z.ZodObject<{
573
+ reason: z.ZodString;
574
+ }, z.core.$strip>;
575
+ declare const WithdrawalUserSchema: z.ZodObject<{
576
+ id: z.ZodNumber;
577
+ uuid: z.ZodString;
578
+ login: z.ZodString;
579
+ firstName: z.ZodString;
580
+ lastName: z.ZodString;
581
+ email: z.ZodEmail;
582
+ phoneNumber: z.ZodString;
583
+ }, z.core.$strip>;
584
+ declare const WithdrawalDecisionActorSchema: z.ZodObject<{
585
+ id: z.ZodNumber;
586
+ login: z.ZodString;
587
+ fullName: z.ZodString;
588
+ }, z.core.$strip>;
589
+ declare const WithdrawalRequestSchema: z.ZodObject<{
590
+ publicId: z.ZodUUID;
591
+ operationKey: z.ZodString;
592
+ user: z.ZodObject<{
593
+ id: z.ZodNumber;
594
+ uuid: z.ZodString;
595
+ login: z.ZodString;
596
+ firstName: z.ZodString;
597
+ lastName: z.ZodString;
598
+ email: z.ZodEmail;
599
+ phoneNumber: z.ZodString;
600
+ }, z.core.$strip>;
601
+ requestedAmount: z.ZodString;
602
+ requestedCurrency: z.ZodString;
603
+ exchangeRate: z.ZodString;
604
+ amountUsd: z.ZodString;
605
+ status: z.ZodEnum<typeof WithdrawalRequestStatus>;
606
+ requisite: z.ZodObject<{
607
+ publicId: z.ZodUUID;
608
+ name: z.ZodString;
609
+ details: z.ZodString;
610
+ }, z.core.$strip>;
611
+ comment: z.ZodNullable<z.ZodString>;
612
+ rejectionReason: z.ZodNullable<z.ZodString>;
613
+ decidedBy: z.ZodNullable<z.ZodObject<{
614
+ id: z.ZodNumber;
615
+ login: z.ZodString;
616
+ fullName: z.ZodString;
617
+ }, z.core.$strip>>;
618
+ decidedAt: z.ZodNullable<z.ZodISODateTime>;
619
+ createdAt: z.ZodISODateTime;
620
+ updatedAt: z.ZodISODateTime;
621
+ }, z.core.$strip>;
622
+ declare const WithdrawalRequestListQuerySchema: z.ZodObject<{
623
+ page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
624
+ limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
625
+ search: z.ZodOptional<z.ZodString>;
626
+ dateFrom: z.ZodOptional<z.ZodString>;
627
+ dateTo: z.ZodOptional<z.ZodString>;
628
+ sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
629
+ asc: "asc";
630
+ desc: "desc";
631
+ }>>>;
632
+ status: z.ZodOptional<z.ZodEnum<typeof WithdrawalRequestStatus>>;
633
+ }, z.core.$strip>;
634
+ declare const WithdrawalRequestListResponseSchema: z.ZodObject<{
635
+ items: z.ZodArray<z.ZodObject<{
636
+ publicId: z.ZodUUID;
637
+ operationKey: z.ZodString;
638
+ user: z.ZodObject<{
639
+ id: z.ZodNumber;
640
+ uuid: z.ZodString;
641
+ login: z.ZodString;
642
+ firstName: z.ZodString;
643
+ lastName: z.ZodString;
644
+ email: z.ZodEmail;
645
+ phoneNumber: z.ZodString;
646
+ }, z.core.$strip>;
647
+ requestedAmount: z.ZodString;
648
+ requestedCurrency: z.ZodString;
649
+ exchangeRate: z.ZodString;
650
+ amountUsd: z.ZodString;
651
+ status: z.ZodEnum<typeof WithdrawalRequestStatus>;
652
+ requisite: z.ZodObject<{
653
+ publicId: z.ZodUUID;
654
+ name: z.ZodString;
655
+ details: z.ZodString;
656
+ }, z.core.$strip>;
657
+ comment: z.ZodNullable<z.ZodString>;
658
+ rejectionReason: z.ZodNullable<z.ZodString>;
659
+ decidedBy: z.ZodNullable<z.ZodObject<{
660
+ id: z.ZodNumber;
661
+ login: z.ZodString;
662
+ fullName: z.ZodString;
663
+ }, z.core.$strip>>;
664
+ decidedAt: z.ZodNullable<z.ZodISODateTime>;
665
+ createdAt: z.ZodISODateTime;
666
+ updatedAt: z.ZodISODateTime;
667
+ }, z.core.$strip>>;
668
+ meta: z.ZodObject<{
669
+ page: z.ZodNumber;
670
+ limit: z.ZodNumber;
671
+ total: z.ZodNumber;
672
+ pageCount: z.ZodNumber;
673
+ }, z.core.$strip>;
674
+ }, z.core.$strip>;
675
+ declare const WithdrawalSummarySchema: z.ZodObject<{
676
+ pendingCount: z.ZodNumber;
677
+ pendingAmountUsd: z.ZodString;
678
+ approvedCount: z.ZodNumber;
679
+ approvedAmountUsd: z.ZodString;
680
+ rejectedCount: z.ZodNumber;
681
+ rejectedAmountUsd: z.ZodString;
682
+ }, z.core.$strip>;
683
+ declare const AdminWithdrawalRequestListResponseSchema: z.ZodObject<{
684
+ items: z.ZodArray<z.ZodObject<{
685
+ publicId: z.ZodUUID;
686
+ operationKey: z.ZodString;
687
+ user: z.ZodObject<{
688
+ id: z.ZodNumber;
689
+ uuid: z.ZodString;
690
+ login: z.ZodString;
691
+ firstName: z.ZodString;
692
+ lastName: z.ZodString;
693
+ email: z.ZodEmail;
694
+ phoneNumber: z.ZodString;
695
+ }, z.core.$strip>;
696
+ requestedAmount: z.ZodString;
697
+ requestedCurrency: z.ZodString;
698
+ exchangeRate: z.ZodString;
699
+ amountUsd: z.ZodString;
700
+ status: z.ZodEnum<typeof WithdrawalRequestStatus>;
701
+ requisite: z.ZodObject<{
702
+ publicId: z.ZodUUID;
703
+ name: z.ZodString;
704
+ details: z.ZodString;
705
+ }, z.core.$strip>;
706
+ comment: z.ZodNullable<z.ZodString>;
707
+ rejectionReason: z.ZodNullable<z.ZodString>;
708
+ decidedBy: z.ZodNullable<z.ZodObject<{
709
+ id: z.ZodNumber;
710
+ login: z.ZodString;
711
+ fullName: z.ZodString;
712
+ }, z.core.$strip>>;
713
+ decidedAt: z.ZodNullable<z.ZodISODateTime>;
714
+ createdAt: z.ZodISODateTime;
715
+ updatedAt: z.ZodISODateTime;
716
+ }, z.core.$strip>>;
717
+ meta: z.ZodObject<{
718
+ page: z.ZodNumber;
719
+ limit: z.ZodNumber;
720
+ total: z.ZodNumber;
721
+ pageCount: z.ZodNumber;
722
+ }, z.core.$strip>;
723
+ summary: z.ZodObject<{
724
+ pendingCount: z.ZodNumber;
725
+ pendingAmountUsd: z.ZodString;
726
+ approvedCount: z.ZodNumber;
727
+ approvedAmountUsd: z.ZodString;
728
+ rejectedCount: z.ZodNumber;
729
+ rejectedAmountUsd: z.ZodString;
730
+ }, z.core.$strip>;
731
+ }, z.core.$strip>;
732
+
733
+ type WithdrawalRequisiteResponse = z.infer<typeof WithdrawalRequisiteSchema>;
734
+ type WithdrawalRequisiteListResponse = z.infer<typeof WithdrawalRequisiteListSchema>;
735
+ type CreateWithdrawalRequisiteRequest = z.infer<typeof CreateWithdrawalRequisiteRequestSchema>;
736
+ type UpdateWithdrawalRequisiteRequest = z.infer<typeof UpdateWithdrawalRequisiteRequestSchema>;
737
+ type CreateWithdrawalRequest = z.infer<typeof CreateWithdrawalRequestSchema>;
738
+ type RejectWithdrawalRequest = z.infer<typeof RejectWithdrawalRequestSchema>;
739
+ type WithdrawalRequestResponse = z.infer<typeof WithdrawalRequestSchema>;
740
+ type WithdrawalRequestListQuery = z.infer<typeof WithdrawalRequestListQuerySchema>;
741
+ type WithdrawalRequestListResponse = z.infer<typeof WithdrawalRequestListResponseSchema>;
742
+ type WithdrawalSummaryResponse = z.infer<typeof WithdrawalSummarySchema>;
743
+ type AdminWithdrawalRequestListResponse = z.infer<typeof AdminWithdrawalRequestListResponseSchema>;
744
+
745
+ export { type AdminWithdrawalRequestListResponse, AdminWithdrawalRequestListResponseSchema, AppLocaleSchema, type BaseListQuery, BaseListQuerySchema, type ChangePasswordRequest, ChangePasswordRequestSchema, type CitiesResponse, CitiesResponseSchema, type CityResponse, CityResponseSchema, type CountriesResponse, CountriesResponseSchema, type CountryResponse, CountryResponseSchema, type CreateCurrencyRequest, CreateCurrencyRequestSchema, CreateUserRequestSchema, type CreateWalletTransactionRequest, CreateWalletTransactionRequestSchema, type CreateWithdrawalRequest, CreateWithdrawalRequestSchema, type CreateWithdrawalRequisiteRequest, CreateWithdrawalRequisiteRequestSchema, type Currency, CurrencyCodeParamSchema, CurrencyCodeSchema, type CurrencyListResponse, CurrencyListResponseSchema, type CurrencyResponse, CurrencySchema, DateFromSchema, DateToSchema, type DbId, DbIdSchema, type ExchangeRate, type ExchangeRateListResponse, ExchangeRateListResponseSchema, type ExchangeRateResponse, ExchangeRateSchema, ExchangeRateSourceSchema, type FileIdParam, FileIdParamSchema, type GetCitiesQuery, GetCitiesQuerySchema, type GetUserWalletByTypeParams, GetUserWalletByTypeParamsSchema, GetUserWalletTransactionsParamsSchema, type GetUserWalletsParams, GetUserWalletsParamsSchema, INT4_MAX, MoneyAmountSchema, MoneyAmountStringSchema, type MoneyView, MoneyViewSchema, RatePerBaseSchema, type RejectWithdrawalRequest, RejectWithdrawalRequestSchema, SearchSchema, type UpdateCurrencyRequest, UpdateCurrencyRequestSchema, type UpdateExchangeRateRequest, UpdateExchangeRateRequestSchema, UpdateUserRequestSchema, type UpdateWithdrawalRequisiteRequest, UpdateWithdrawalRequisiteRequestSchema, type UserCreateRequest, type UserFile, type UserFileList, UserFileListSchema, UserFileSchema, UserFileType, type UserListResponse, UserListResponseSchema, type UserResponse, UserRole, UserSchema, type UserUpdateRequest, WalletCurrency, WalletCurrencySchema, type WalletListResponse, WalletListResponseSchema, WalletOperationKeySchema, type WalletResponse, WalletSchema, WalletStatus, WalletStatusSchema, WalletTransactionDetailsListResponseSchema, type WalletTransactionDetailsResponse, WalletTransactionDetailsSchema, WalletTransactionDirection, WalletTransactionDirectionSchema, WalletTransactionListResponseSchema, WalletTransactionReason, WalletTransactionReasonSchema, type WalletTransactionResponse, WalletTransactionSchema, WalletTransactionSourceUserSchema, WalletTransactionStatus, WalletTransactionStatusSchema, type WalletTransactionsListQuery, WalletTransactionsListQuerySchema, WalletType, WalletTypeSchema, WithdrawalDecisionActorSchema, WithdrawalPublicIdParamSchema, type WithdrawalRequestListQuery, WithdrawalRequestListQuerySchema, type WithdrawalRequestListResponse, WithdrawalRequestListResponseSchema, type WithdrawalRequestResponse, WithdrawalRequestSchema, WithdrawalRequestStatus, type WithdrawalRequisiteListResponse, WithdrawalRequisiteListSchema, type WithdrawalRequisiteResponse, WithdrawalRequisiteSchema, type WithdrawalSummaryResponse, WithdrawalSummarySchema, WithdrawalUserSchema };
package/dist/index.d.ts CHANGED
@@ -12,6 +12,7 @@ export { AdminWarehouseOrderSummaryQuery, AdminWarehouseOrderSummaryQuerySchema,
12
12
  export { AdminWarehouseAnalyticsQuery, AdminWarehouseAnalyticsQuerySchema, AdminWarehouseAnalyticsResponse, AdminWarehouseAnalyticsSchema, AssignWarehouseUserRequest, AssignWarehouseUserRequestSchema, CreateWarehouseOperationRequest, CreateWarehouseOperationRequestSchema, CreateWarehouseRequest, CreateWarehouseRequestSchema, ExecuteWarehouseOperationRequest, ExecuteWarehouseOperationRequestSchema, RejectWarehouseOperationRequest, RejectWarehouseOperationRequestSchema, ReportWarehouseDiscrepancyRequest, ReportWarehouseDiscrepancyRequestSchema, UpdateWarehouseRequest, UpdateWarehouseRequestSchema, WarehouseAssignmentParamSchema, WarehouseAssignmentResponse, WarehouseAssignmentSchema, WarehouseAssignmentType, WarehouseDayScheduleSchema, WarehouseListQuery, WarehouseListQuerySchema, WarehouseListResponse, WarehouseMovementResponse, WarehouseMovementSchema, WarehouseMovementType, WarehouseOperationAttachmentParamSchema, WarehouseOperationAttachmentResponse, WarehouseOperationAttachmentSchema, WarehouseOperationComment, WarehouseOperationCommentSchema, WarehouseOperationEventSchema, WarehouseOperationLineSchema, WarehouseOperationListQuery, WarehouseOperationListQuerySchema, WarehouseOperationListResponse, WarehouseOperationPublicIdParamSchema, WarehouseOperationResponse, WarehouseOperationSchema, WarehousePublicIdParamSchema, WarehouseRequestLineInputSchema, WarehouseRequestStatus, WarehouseRequestType, WarehouseResponse, WarehouseSchema, WarehouseStatus, WarehouseStockListQuery, WarehouseStockListQuerySchema, WarehouseStockListResponse, WarehouseStockResponse, WarehouseStockSchema, WarehouseUserLookupListResponse, WarehouseUserLookupResponse, WarehouseUserLookupSchema, WarehouseUserSearchQuery, WarehouseUserSearchQuerySchema, WarehouseWeekday, WarehouseWeeklyScheduleSchema, WarehouseWriteOffReason } from './warehouse/index.js';
13
13
  export { BoxCheckoutSnapshotResponse, BoxCheckoutSnapshotSchema, BoxCheckoutWarehouseListResponse, BoxCheckoutWarehouseListSchema, BoxCheckoutWarehouseRequest, BoxCheckoutWarehouseRequestSchema, BoxListQuery, BoxListQuerySchema, BoxListResponse, BoxListResponseSchema, BoxPublicIdParamSchema, BoxPurchaseKind, BoxPurchaseResponse, BoxPurchaseSchema, BoxPurchaseStatus, BoxResponse, BoxSchema, BoxSelection, BoxSelectionLineSchema, BoxSelectionSchema, BoxStatus, BoxStructureLevelInputSchema, BoxStructureLevelSchema, BoxTranslationInputSchema, CreateBoxOrderRequest, CreateBoxOrderRequestSchema, CreateBoxRequest, CreateBoxRequestSchema, LocalizedBoxListResponse, LocalizedBoxListResponseSchema, LocalizedBoxResponse, LocalizedBoxSchema, UpdateBoxRequest, UpdateBoxRequestSchema } from './box/index.js';
14
14
  export { AppLocale, SupportedLocales } from './localization/index.js';
15
+ export { SystemNotificationBonusSourceSchema, SystemNotificationListResponse, SystemNotificationListSchema, SystemNotificationResponse, SystemNotificationSchema, SystemNotificationType } from './notification/index.js';
15
16
 
16
17
  declare const DateFromSchema: z.ZodOptional<z.ZodString>;
17
18
  declare const DateToSchema: z.ZodOptional<z.ZodString>;
@@ -530,4 +531,215 @@ declare const AppLocaleSchema: z.ZodEnum<{
530
531
  readonly EN: "en";
531
532
  }>;
532
533
 
533
- export { AppLocaleSchema, type BaseListQuery, BaseListQuerySchema, type ChangePasswordRequest, ChangePasswordRequestSchema, type CitiesResponse, CitiesResponseSchema, type CityResponse, CityResponseSchema, type CountriesResponse, CountriesResponseSchema, type CountryResponse, CountryResponseSchema, type CreateCurrencyRequest, CreateCurrencyRequestSchema, CreateUserRequestSchema, type CreateWalletTransactionRequest, CreateWalletTransactionRequestSchema, type Currency, CurrencyCodeParamSchema, CurrencyCodeSchema, type CurrencyListResponse, CurrencyListResponseSchema, type CurrencyResponse, CurrencySchema, DateFromSchema, DateToSchema, type DbId, DbIdSchema, type ExchangeRate, type ExchangeRateListResponse, ExchangeRateListResponseSchema, type ExchangeRateResponse, ExchangeRateSchema, ExchangeRateSourceSchema, type FileIdParam, FileIdParamSchema, type GetCitiesQuery, GetCitiesQuerySchema, type GetUserWalletByTypeParams, GetUserWalletByTypeParamsSchema, GetUserWalletTransactionsParamsSchema, type GetUserWalletsParams, GetUserWalletsParamsSchema, INT4_MAX, MoneyAmountSchema, MoneyAmountStringSchema, type MoneyView, MoneyViewSchema, RatePerBaseSchema, SearchSchema, type UpdateCurrencyRequest, UpdateCurrencyRequestSchema, type UpdateExchangeRateRequest, UpdateExchangeRateRequestSchema, UpdateUserRequestSchema, type UserCreateRequest, type UserFile, type UserFileList, UserFileListSchema, UserFileSchema, UserFileType, type UserListResponse, UserListResponseSchema, type UserResponse, UserRole, UserSchema, type UserUpdateRequest, WalletCurrency, WalletCurrencySchema, type WalletListResponse, WalletListResponseSchema, WalletOperationKeySchema, type WalletResponse, WalletSchema, WalletStatus, WalletStatusSchema, WalletTransactionDetailsListResponseSchema, type WalletTransactionDetailsResponse, WalletTransactionDetailsSchema, WalletTransactionDirection, WalletTransactionDirectionSchema, WalletTransactionListResponseSchema, WalletTransactionReason, WalletTransactionReasonSchema, type WalletTransactionResponse, WalletTransactionSchema, WalletTransactionSourceUserSchema, WalletTransactionStatus, WalletTransactionStatusSchema, type WalletTransactionsListQuery, WalletTransactionsListQuerySchema, WalletType, WalletTypeSchema };
534
+ declare enum WithdrawalRequestStatus {
535
+ PENDING = "PENDING",
536
+ APPROVED = "APPROVED",
537
+ REJECTED = "REJECTED"
538
+ }
539
+
540
+ declare const WithdrawalRequisiteSchema: z.ZodObject<{
541
+ publicId: z.ZodUUID;
542
+ name: z.ZodString;
543
+ details: z.ZodString;
544
+ createdAt: z.ZodISODateTime;
545
+ updatedAt: z.ZodISODateTime;
546
+ }, z.core.$strip>;
547
+ declare const WithdrawalRequisiteListSchema: z.ZodArray<z.ZodObject<{
548
+ publicId: z.ZodUUID;
549
+ name: z.ZodString;
550
+ details: z.ZodString;
551
+ createdAt: z.ZodISODateTime;
552
+ updatedAt: z.ZodISODateTime;
553
+ }, z.core.$strip>>;
554
+ declare const CreateWithdrawalRequisiteRequestSchema: z.ZodObject<{
555
+ name: z.ZodString;
556
+ details: z.ZodString;
557
+ }, z.core.$strip>;
558
+ declare const UpdateWithdrawalRequisiteRequestSchema: z.ZodObject<{
559
+ name: z.ZodOptional<z.ZodString>;
560
+ details: z.ZodOptional<z.ZodString>;
561
+ }, z.core.$strip>;
562
+ declare const WithdrawalPublicIdParamSchema: z.ZodObject<{
563
+ publicId: z.ZodUUID;
564
+ }, z.core.$strip>;
565
+ declare const CreateWithdrawalRequestSchema: z.ZodObject<{
566
+ operationKey: z.ZodString;
567
+ amount: z.ZodString;
568
+ currency: z.ZodString;
569
+ requisitePublicId: z.ZodUUID;
570
+ comment: z.ZodOptional<z.ZodString>;
571
+ }, z.core.$strip>;
572
+ declare const RejectWithdrawalRequestSchema: z.ZodObject<{
573
+ reason: z.ZodString;
574
+ }, z.core.$strip>;
575
+ declare const WithdrawalUserSchema: z.ZodObject<{
576
+ id: z.ZodNumber;
577
+ uuid: z.ZodString;
578
+ login: z.ZodString;
579
+ firstName: z.ZodString;
580
+ lastName: z.ZodString;
581
+ email: z.ZodEmail;
582
+ phoneNumber: z.ZodString;
583
+ }, z.core.$strip>;
584
+ declare const WithdrawalDecisionActorSchema: z.ZodObject<{
585
+ id: z.ZodNumber;
586
+ login: z.ZodString;
587
+ fullName: z.ZodString;
588
+ }, z.core.$strip>;
589
+ declare const WithdrawalRequestSchema: z.ZodObject<{
590
+ publicId: z.ZodUUID;
591
+ operationKey: z.ZodString;
592
+ user: z.ZodObject<{
593
+ id: z.ZodNumber;
594
+ uuid: z.ZodString;
595
+ login: z.ZodString;
596
+ firstName: z.ZodString;
597
+ lastName: z.ZodString;
598
+ email: z.ZodEmail;
599
+ phoneNumber: z.ZodString;
600
+ }, z.core.$strip>;
601
+ requestedAmount: z.ZodString;
602
+ requestedCurrency: z.ZodString;
603
+ exchangeRate: z.ZodString;
604
+ amountUsd: z.ZodString;
605
+ status: z.ZodEnum<typeof WithdrawalRequestStatus>;
606
+ requisite: z.ZodObject<{
607
+ publicId: z.ZodUUID;
608
+ name: z.ZodString;
609
+ details: z.ZodString;
610
+ }, z.core.$strip>;
611
+ comment: z.ZodNullable<z.ZodString>;
612
+ rejectionReason: z.ZodNullable<z.ZodString>;
613
+ decidedBy: z.ZodNullable<z.ZodObject<{
614
+ id: z.ZodNumber;
615
+ login: z.ZodString;
616
+ fullName: z.ZodString;
617
+ }, z.core.$strip>>;
618
+ decidedAt: z.ZodNullable<z.ZodISODateTime>;
619
+ createdAt: z.ZodISODateTime;
620
+ updatedAt: z.ZodISODateTime;
621
+ }, z.core.$strip>;
622
+ declare const WithdrawalRequestListQuerySchema: z.ZodObject<{
623
+ page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
624
+ limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
625
+ search: z.ZodOptional<z.ZodString>;
626
+ dateFrom: z.ZodOptional<z.ZodString>;
627
+ dateTo: z.ZodOptional<z.ZodString>;
628
+ sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
629
+ asc: "asc";
630
+ desc: "desc";
631
+ }>>>;
632
+ status: z.ZodOptional<z.ZodEnum<typeof WithdrawalRequestStatus>>;
633
+ }, z.core.$strip>;
634
+ declare const WithdrawalRequestListResponseSchema: z.ZodObject<{
635
+ items: z.ZodArray<z.ZodObject<{
636
+ publicId: z.ZodUUID;
637
+ operationKey: z.ZodString;
638
+ user: z.ZodObject<{
639
+ id: z.ZodNumber;
640
+ uuid: z.ZodString;
641
+ login: z.ZodString;
642
+ firstName: z.ZodString;
643
+ lastName: z.ZodString;
644
+ email: z.ZodEmail;
645
+ phoneNumber: z.ZodString;
646
+ }, z.core.$strip>;
647
+ requestedAmount: z.ZodString;
648
+ requestedCurrency: z.ZodString;
649
+ exchangeRate: z.ZodString;
650
+ amountUsd: z.ZodString;
651
+ status: z.ZodEnum<typeof WithdrawalRequestStatus>;
652
+ requisite: z.ZodObject<{
653
+ publicId: z.ZodUUID;
654
+ name: z.ZodString;
655
+ details: z.ZodString;
656
+ }, z.core.$strip>;
657
+ comment: z.ZodNullable<z.ZodString>;
658
+ rejectionReason: z.ZodNullable<z.ZodString>;
659
+ decidedBy: z.ZodNullable<z.ZodObject<{
660
+ id: z.ZodNumber;
661
+ login: z.ZodString;
662
+ fullName: z.ZodString;
663
+ }, z.core.$strip>>;
664
+ decidedAt: z.ZodNullable<z.ZodISODateTime>;
665
+ createdAt: z.ZodISODateTime;
666
+ updatedAt: z.ZodISODateTime;
667
+ }, z.core.$strip>>;
668
+ meta: z.ZodObject<{
669
+ page: z.ZodNumber;
670
+ limit: z.ZodNumber;
671
+ total: z.ZodNumber;
672
+ pageCount: z.ZodNumber;
673
+ }, z.core.$strip>;
674
+ }, z.core.$strip>;
675
+ declare const WithdrawalSummarySchema: z.ZodObject<{
676
+ pendingCount: z.ZodNumber;
677
+ pendingAmountUsd: z.ZodString;
678
+ approvedCount: z.ZodNumber;
679
+ approvedAmountUsd: z.ZodString;
680
+ rejectedCount: z.ZodNumber;
681
+ rejectedAmountUsd: z.ZodString;
682
+ }, z.core.$strip>;
683
+ declare const AdminWithdrawalRequestListResponseSchema: z.ZodObject<{
684
+ items: z.ZodArray<z.ZodObject<{
685
+ publicId: z.ZodUUID;
686
+ operationKey: z.ZodString;
687
+ user: z.ZodObject<{
688
+ id: z.ZodNumber;
689
+ uuid: z.ZodString;
690
+ login: z.ZodString;
691
+ firstName: z.ZodString;
692
+ lastName: z.ZodString;
693
+ email: z.ZodEmail;
694
+ phoneNumber: z.ZodString;
695
+ }, z.core.$strip>;
696
+ requestedAmount: z.ZodString;
697
+ requestedCurrency: z.ZodString;
698
+ exchangeRate: z.ZodString;
699
+ amountUsd: z.ZodString;
700
+ status: z.ZodEnum<typeof WithdrawalRequestStatus>;
701
+ requisite: z.ZodObject<{
702
+ publicId: z.ZodUUID;
703
+ name: z.ZodString;
704
+ details: z.ZodString;
705
+ }, z.core.$strip>;
706
+ comment: z.ZodNullable<z.ZodString>;
707
+ rejectionReason: z.ZodNullable<z.ZodString>;
708
+ decidedBy: z.ZodNullable<z.ZodObject<{
709
+ id: z.ZodNumber;
710
+ login: z.ZodString;
711
+ fullName: z.ZodString;
712
+ }, z.core.$strip>>;
713
+ decidedAt: z.ZodNullable<z.ZodISODateTime>;
714
+ createdAt: z.ZodISODateTime;
715
+ updatedAt: z.ZodISODateTime;
716
+ }, z.core.$strip>>;
717
+ meta: z.ZodObject<{
718
+ page: z.ZodNumber;
719
+ limit: z.ZodNumber;
720
+ total: z.ZodNumber;
721
+ pageCount: z.ZodNumber;
722
+ }, z.core.$strip>;
723
+ summary: z.ZodObject<{
724
+ pendingCount: z.ZodNumber;
725
+ pendingAmountUsd: z.ZodString;
726
+ approvedCount: z.ZodNumber;
727
+ approvedAmountUsd: z.ZodString;
728
+ rejectedCount: z.ZodNumber;
729
+ rejectedAmountUsd: z.ZodString;
730
+ }, z.core.$strip>;
731
+ }, z.core.$strip>;
732
+
733
+ type WithdrawalRequisiteResponse = z.infer<typeof WithdrawalRequisiteSchema>;
734
+ type WithdrawalRequisiteListResponse = z.infer<typeof WithdrawalRequisiteListSchema>;
735
+ type CreateWithdrawalRequisiteRequest = z.infer<typeof CreateWithdrawalRequisiteRequestSchema>;
736
+ type UpdateWithdrawalRequisiteRequest = z.infer<typeof UpdateWithdrawalRequisiteRequestSchema>;
737
+ type CreateWithdrawalRequest = z.infer<typeof CreateWithdrawalRequestSchema>;
738
+ type RejectWithdrawalRequest = z.infer<typeof RejectWithdrawalRequestSchema>;
739
+ type WithdrawalRequestResponse = z.infer<typeof WithdrawalRequestSchema>;
740
+ type WithdrawalRequestListQuery = z.infer<typeof WithdrawalRequestListQuerySchema>;
741
+ type WithdrawalRequestListResponse = z.infer<typeof WithdrawalRequestListResponseSchema>;
742
+ type WithdrawalSummaryResponse = z.infer<typeof WithdrawalSummarySchema>;
743
+ type AdminWithdrawalRequestListResponse = z.infer<typeof AdminWithdrawalRequestListResponseSchema>;
744
+
745
+ export { type AdminWithdrawalRequestListResponse, AdminWithdrawalRequestListResponseSchema, AppLocaleSchema, type BaseListQuery, BaseListQuerySchema, type ChangePasswordRequest, ChangePasswordRequestSchema, type CitiesResponse, CitiesResponseSchema, type CityResponse, CityResponseSchema, type CountriesResponse, CountriesResponseSchema, type CountryResponse, CountryResponseSchema, type CreateCurrencyRequest, CreateCurrencyRequestSchema, CreateUserRequestSchema, type CreateWalletTransactionRequest, CreateWalletTransactionRequestSchema, type CreateWithdrawalRequest, CreateWithdrawalRequestSchema, type CreateWithdrawalRequisiteRequest, CreateWithdrawalRequisiteRequestSchema, type Currency, CurrencyCodeParamSchema, CurrencyCodeSchema, type CurrencyListResponse, CurrencyListResponseSchema, type CurrencyResponse, CurrencySchema, DateFromSchema, DateToSchema, type DbId, DbIdSchema, type ExchangeRate, type ExchangeRateListResponse, ExchangeRateListResponseSchema, type ExchangeRateResponse, ExchangeRateSchema, ExchangeRateSourceSchema, type FileIdParam, FileIdParamSchema, type GetCitiesQuery, GetCitiesQuerySchema, type GetUserWalletByTypeParams, GetUserWalletByTypeParamsSchema, GetUserWalletTransactionsParamsSchema, type GetUserWalletsParams, GetUserWalletsParamsSchema, INT4_MAX, MoneyAmountSchema, MoneyAmountStringSchema, type MoneyView, MoneyViewSchema, RatePerBaseSchema, type RejectWithdrawalRequest, RejectWithdrawalRequestSchema, SearchSchema, type UpdateCurrencyRequest, UpdateCurrencyRequestSchema, type UpdateExchangeRateRequest, UpdateExchangeRateRequestSchema, UpdateUserRequestSchema, type UpdateWithdrawalRequisiteRequest, UpdateWithdrawalRequisiteRequestSchema, type UserCreateRequest, type UserFile, type UserFileList, UserFileListSchema, UserFileSchema, UserFileType, type UserListResponse, UserListResponseSchema, type UserResponse, UserRole, UserSchema, type UserUpdateRequest, WalletCurrency, WalletCurrencySchema, type WalletListResponse, WalletListResponseSchema, WalletOperationKeySchema, type WalletResponse, WalletSchema, WalletStatus, WalletStatusSchema, WalletTransactionDetailsListResponseSchema, type WalletTransactionDetailsResponse, WalletTransactionDetailsSchema, WalletTransactionDirection, WalletTransactionDirectionSchema, WalletTransactionListResponseSchema, WalletTransactionReason, WalletTransactionReasonSchema, type WalletTransactionResponse, WalletTransactionSchema, WalletTransactionSourceUserSchema, WalletTransactionStatus, WalletTransactionStatusSchema, type WalletTransactionsListQuery, WalletTransactionsListQuerySchema, WalletType, WalletTypeSchema, WithdrawalDecisionActorSchema, WithdrawalPublicIdParamSchema, type WithdrawalRequestListQuery, WithdrawalRequestListQuerySchema, type WithdrawalRequestListResponse, WithdrawalRequestListResponseSchema, type WithdrawalRequestResponse, WithdrawalRequestSchema, WithdrawalRequestStatus, type WithdrawalRequisiteListResponse, WithdrawalRequisiteListSchema, type WithdrawalRequisiteResponse, WithdrawalRequisiteSchema, type WithdrawalSummaryResponse, WithdrawalSummarySchema, WithdrawalUserSchema };