aivilife-contracts 6.8.0 → 6.11.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.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 { 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 { 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 };
package/dist/index.js CHANGED
@@ -2206,11 +2206,131 @@ var BoxPurchaseSchema = zod.z.object({
2206
2206
  createdAt: zod.z.iso.datetime()
2207
2207
  });
2208
2208
 
2209
+ // src/notification/notification.enums.ts
2210
+ var SystemNotificationType = /* @__PURE__ */ ((SystemNotificationType2) => {
2211
+ SystemNotificationType2["EMAIL_VERIFIED"] = "EMAIL_VERIFIED";
2212
+ return SystemNotificationType2;
2213
+ })(SystemNotificationType || {});
2214
+ var PublicIdSchema8 = zod.z.uuid();
2215
+ var DateTimeSchema3 = zod.z.iso.datetime();
2216
+ var SystemNotificationSchema = zod.z.object({
2217
+ publicId: PublicIdSchema8,
2218
+ type: zod.z.enum(SystemNotificationType),
2219
+ isRead: zod.z.boolean(),
2220
+ createdAt: DateTimeSchema3
2221
+ });
2222
+ var SystemNotificationListSchema = zod.z.array(SystemNotificationSchema);
2223
+
2224
+ // src/withdrawal/withdrawal.enums.ts
2225
+ var WithdrawalRequestStatus = /* @__PURE__ */ ((WithdrawalRequestStatus2) => {
2226
+ WithdrawalRequestStatus2["PENDING"] = "PENDING";
2227
+ WithdrawalRequestStatus2["APPROVED"] = "APPROVED";
2228
+ WithdrawalRequestStatus2["REJECTED"] = "REJECTED";
2229
+ return WithdrawalRequestStatus2;
2230
+ })(WithdrawalRequestStatus || {});
2231
+ var PublicIdSchema9 = zod.z.uuid();
2232
+ var DateTimeSchema4 = zod.z.iso.datetime();
2233
+ var RequiredTextSchema = (max) => zod.z.string().trim().min(1).max(max);
2234
+ var WithdrawalDisplayAmountSchema = zod.z.string().regex(
2235
+ /^\d{1,16}(\.\d{1,8})?$/,
2236
+ "Withdrawal amount must contain at most 16 integer and 8 decimal digits"
2237
+ );
2238
+ var WithdrawalRequisiteSchema = zod.z.object({
2239
+ publicId: PublicIdSchema9,
2240
+ name: RequiredTextSchema(100),
2241
+ details: RequiredTextSchema(1e3),
2242
+ createdAt: DateTimeSchema4,
2243
+ updatedAt: DateTimeSchema4
2244
+ });
2245
+ var WithdrawalRequisiteListSchema = zod.z.array(WithdrawalRequisiteSchema);
2246
+ var CreateWithdrawalRequisiteRequestSchema = zod.z.object({
2247
+ name: RequiredTextSchema(100),
2248
+ details: RequiredTextSchema(1e3)
2249
+ });
2250
+ var UpdateWithdrawalRequisiteRequestSchema = zod.z.object({
2251
+ name: RequiredTextSchema(100).optional(),
2252
+ details: RequiredTextSchema(1e3).optional()
2253
+ }).refine((value) => value.name !== void 0 || value.details !== void 0, {
2254
+ message: "\u0423\u043A\u0430\u0436\u0438\u0442\u0435 \u0445\u043E\u0442\u044F \u0431\u044B \u043E\u0434\u043D\u043E \u043F\u043E\u043B\u0435 \u0434\u043B\u044F \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F"
2255
+ });
2256
+ var WithdrawalPublicIdParamSchema = zod.z.object({
2257
+ publicId: PublicIdSchema9
2258
+ });
2259
+ var CreateWithdrawalRequestSchema = zod.z.object({
2260
+ operationKey: WalletOperationKeySchema,
2261
+ amount: WithdrawalDisplayAmountSchema,
2262
+ currency: CurrencyCodeSchema,
2263
+ requisitePublicId: PublicIdSchema9,
2264
+ comment: zod.z.string().trim().max(500).optional()
2265
+ });
2266
+ var RejectWithdrawalRequestSchema = zod.z.object({
2267
+ reason: RequiredTextSchema(500)
2268
+ });
2269
+ var WithdrawalUserSchema = zod.z.object({
2270
+ id: zod.z.number().int().positive(),
2271
+ uuid: zod.z.string().trim().min(1).max(64),
2272
+ login: zod.z.string().trim().min(1).max(255),
2273
+ firstName: zod.z.string().trim().min(1).max(255),
2274
+ lastName: zod.z.string().trim().min(1).max(255),
2275
+ email: zod.z.email(),
2276
+ phoneNumber: zod.z.string().trim().min(1).max(32)
2277
+ });
2278
+ var WithdrawalDecisionActorSchema = zod.z.object({
2279
+ id: zod.z.number().int().positive(),
2280
+ login: zod.z.string().trim().min(1).max(255),
2281
+ fullName: zod.z.string().trim().min(1).max(511)
2282
+ });
2283
+ var WithdrawalRequestSchema = zod.z.object({
2284
+ publicId: PublicIdSchema9,
2285
+ operationKey: WalletOperationKeySchema,
2286
+ user: WithdrawalUserSchema,
2287
+ requestedAmount: WithdrawalDisplayAmountSchema,
2288
+ requestedCurrency: CurrencyCodeSchema,
2289
+ exchangeRate: RatePerBaseSchema,
2290
+ amountUsd: MoneyAmountSchema,
2291
+ status: zod.z.enum(WithdrawalRequestStatus),
2292
+ requisite: zod.z.object({
2293
+ publicId: PublicIdSchema9,
2294
+ name: RequiredTextSchema(100),
2295
+ details: RequiredTextSchema(1e3)
2296
+ }),
2297
+ comment: zod.z.string().max(500).nullable(),
2298
+ rejectionReason: zod.z.string().max(500).nullable(),
2299
+ decidedBy: WithdrawalDecisionActorSchema.nullable(),
2300
+ decidedAt: DateTimeSchema4.nullable(),
2301
+ createdAt: DateTimeSchema4,
2302
+ updatedAt: DateTimeSchema4
2303
+ });
2304
+ var WithdrawalRequestListQuerySchema = BaseListQuerySchema.extend({
2305
+ status: zod.z.enum(WithdrawalRequestStatus).optional()
2306
+ });
2307
+ var WithdrawalRequestListResponseSchema = zod.z.object({
2308
+ items: zod.z.array(WithdrawalRequestSchema),
2309
+ meta: zod.z.object({
2310
+ page: zod.z.number().int().positive(),
2311
+ limit: zod.z.number().int().positive(),
2312
+ total: zod.z.number().int().nonnegative(),
2313
+ pageCount: zod.z.number().int().nonnegative()
2314
+ })
2315
+ });
2316
+ var WithdrawalSummarySchema = zod.z.object({
2317
+ pendingCount: zod.z.number().int().nonnegative(),
2318
+ pendingAmountUsd: MoneyAmountSchema,
2319
+ approvedCount: zod.z.number().int().nonnegative(),
2320
+ approvedAmountUsd: MoneyAmountSchema,
2321
+ rejectedCount: zod.z.number().int().nonnegative(),
2322
+ rejectedAmountUsd: MoneyAmountSchema
2323
+ });
2324
+ var AdminWithdrawalRequestListResponseSchema = WithdrawalRequestListResponseSchema.extend({
2325
+ summary: WithdrawalSummarySchema
2326
+ });
2327
+
2209
2328
  exports.AddCartItemRequestSchema = AddCartItemRequestSchema;
2210
2329
  exports.AdminWarehouseAnalyticsQuerySchema = AdminWarehouseAnalyticsQuerySchema;
2211
2330
  exports.AdminWarehouseAnalyticsSchema = AdminWarehouseAnalyticsSchema;
2212
2331
  exports.AdminWarehouseOrderSummaryQuerySchema = AdminWarehouseOrderSummaryQuerySchema;
2213
2332
  exports.AdminWarehouseOrderSummarySchema = AdminWarehouseOrderSummarySchema;
2333
+ exports.AdminWithdrawalRequestListResponseSchema = AdminWithdrawalRequestListResponseSchema;
2214
2334
  exports.AppLocale = AppLocale;
2215
2335
  exports.AppLocaleSchema = AppLocaleSchema;
2216
2336
  exports.AssignWarehouseUserRequestSchema = AssignWarehouseUserRequestSchema;
@@ -2283,6 +2403,8 @@ exports.CreateUserRequestSchema = CreateUserRequestSchema;
2283
2403
  exports.CreateWalletTransactionRequestSchema = CreateWalletTransactionRequestSchema;
2284
2404
  exports.CreateWarehouseOperationRequestSchema = CreateWarehouseOperationRequestSchema;
2285
2405
  exports.CreateWarehouseRequestSchema = CreateWarehouseRequestSchema;
2406
+ exports.CreateWithdrawalRequestSchema = CreateWithdrawalRequestSchema;
2407
+ exports.CreateWithdrawalRequisiteRequestSchema = CreateWithdrawalRequisiteRequestSchema;
2286
2408
  exports.CurrencyCodeParamSchema = CurrencyCodeParamSchema;
2287
2409
  exports.CurrencyCodeSchema = CurrencyCodeSchema;
2288
2410
  exports.CurrencyListResponseSchema = CurrencyListResponseSchema;
@@ -2405,6 +2527,7 @@ exports.RegistrationLoginSchema = RegistrationLoginSchema;
2405
2527
  exports.RegistrationPasswordSchema = RegistrationPasswordSchema;
2406
2528
  exports.RegistrationPhoneNumberSchema = RegistrationPhoneNumberSchema;
2407
2529
  exports.RejectWarehouseOperationRequestSchema = RejectWarehouseOperationRequestSchema;
2530
+ exports.RejectWithdrawalRequestSchema = RejectWithdrawalRequestSchema;
2408
2531
  exports.ReportWarehouseDiscrepancyRequestSchema = ReportWarehouseDiscrepancyRequestSchema;
2409
2532
  exports.RequestEmailChangeSchema = RequestEmailChangeSchema;
2410
2533
  exports.RequestEmailVerificationSchema = RequestEmailVerificationSchema;
@@ -2418,6 +2541,9 @@ exports.SortOrderSchema = SortOrderSchema;
2418
2541
  exports.SponsoredSignUpRequestSchema = SponsoredSignUpRequestSchema;
2419
2542
  exports.SponsoredSignUpResponseSchema = SponsoredSignUpResponseSchema;
2420
2543
  exports.SupportedLocales = SupportedLocales;
2544
+ exports.SystemNotificationListSchema = SystemNotificationListSchema;
2545
+ exports.SystemNotificationSchema = SystemNotificationSchema;
2546
+ exports.SystemNotificationType = SystemNotificationType;
2421
2547
  exports.UpdateBinaryCycleSettingsRequestSchema = UpdateBinaryCycleSettingsRequestSchema;
2422
2548
  exports.UpdateBoxRequestSchema = UpdateBoxRequestSchema;
2423
2549
  exports.UpdateCartItemRequestSchema = UpdateCartItemRequestSchema;
@@ -2430,6 +2556,7 @@ exports.UpdateProductRequestSchema = UpdateProductRequestSchema;
2430
2556
  exports.UpdateProductVariantRequestSchema = UpdateProductVariantRequestSchema;
2431
2557
  exports.UpdateUserRequestSchema = UpdateUserRequestSchema;
2432
2558
  exports.UpdateWarehouseRequestSchema = UpdateWarehouseRequestSchema;
2559
+ exports.UpdateWithdrawalRequisiteRequestSchema = UpdateWithdrawalRequisiteRequestSchema;
2433
2560
  exports.UploadProductImageRequestSchema = UploadProductImageRequestSchema;
2434
2561
  exports.UploadProductVideoRequestSchema = UploadProductVideoRequestSchema;
2435
2562
  exports.UserFileListSchema = UserFileListSchema;
@@ -2491,5 +2618,15 @@ exports.WarehouseUserSearchQuerySchema = WarehouseUserSearchQuerySchema;
2491
2618
  exports.WarehouseWeekday = WarehouseWeekday;
2492
2619
  exports.WarehouseWeeklyScheduleSchema = WarehouseWeeklyScheduleSchema;
2493
2620
  exports.WarehouseWriteOffReason = WarehouseWriteOffReason;
2621
+ exports.WithdrawalDecisionActorSchema = WithdrawalDecisionActorSchema;
2622
+ exports.WithdrawalPublicIdParamSchema = WithdrawalPublicIdParamSchema;
2623
+ exports.WithdrawalRequestListQuerySchema = WithdrawalRequestListQuerySchema;
2624
+ exports.WithdrawalRequestListResponseSchema = WithdrawalRequestListResponseSchema;
2625
+ exports.WithdrawalRequestSchema = WithdrawalRequestSchema;
2626
+ exports.WithdrawalRequestStatus = WithdrawalRequestStatus;
2627
+ exports.WithdrawalRequisiteListSchema = WithdrawalRequisiteListSchema;
2628
+ exports.WithdrawalRequisiteSchema = WithdrawalRequisiteSchema;
2629
+ exports.WithdrawalSummarySchema = WithdrawalSummarySchema;
2630
+ exports.WithdrawalUserSchema = WithdrawalUserSchema;
2494
2631
  //# sourceMappingURL=index.js.map
2495
2632
  //# sourceMappingURL=index.js.map