@temboplus/afloat 0.1.77-beta.9 → 0.1.79
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/LICENSE +7 -0
- package/README.md +42 -246
- package/esm/mod.d.ts +8 -0
- package/esm/mod.d.ts.map +1 -0
- package/esm/mod.js +7 -0
- package/esm/package.json +3 -0
- package/{dist/lib/error/error.api.d.ts → esm/src/errors/api_error.d.ts} +1 -0
- package/esm/src/errors/api_error.d.ts.map +1 -0
- package/esm/src/errors/api_error.js +90 -0
- package/esm/src/errors/index.d.ts +3 -0
- package/esm/src/errors/index.d.ts.map +1 -0
- package/esm/src/errors/index.js +2 -0
- package/{dist/lib/error/error.permission.d.ts → esm/src/errors/permission_error.d.ts} +2 -1
- package/esm/src/errors/permission_error.d.ts.map +1 -0
- package/esm/src/errors/permission_error.js +70 -0
- package/{dist/modules/team-member/team-member.contract.d.ts → esm/src/features/admin/contract.d.ts} +158 -233
- package/esm/src/features/admin/contract.d.ts.map +1 -0
- package/esm/src/features/admin/contract.js +210 -0
- package/esm/src/features/admin/index.d.ts +4 -0
- package/esm/src/features/admin/index.d.ts.map +1 -0
- package/esm/src/features/admin/index.js +3 -0
- package/esm/src/features/admin/repository.d.ts +114 -0
- package/esm/src/features/admin/repository.d.ts.map +1 -0
- package/esm/src/features/admin/repository.js +248 -0
- package/esm/src/features/admin/schemas.d.ts +146 -0
- package/esm/src/features/admin/schemas.d.ts.map +1 -0
- package/esm/src/features/admin/schemas.js +206 -0
- package/esm/src/features/auth/access/contract.d.ts +14 -0
- package/esm/src/features/auth/access/contract.d.ts.map +1 -0
- package/esm/src/features/auth/access/contract.js +14 -0
- package/esm/src/features/auth/access/repository.d.ts +11 -0
- package/esm/src/features/auth/access/repository.d.ts.map +1 -0
- package/esm/src/features/auth/access/repository.js +25 -0
- package/{dist/modules/auth/auth.contract.d.ts → esm/src/features/auth/contract.d.ts} +19 -16
- package/esm/src/features/auth/contract.d.ts.map +1 -0
- package/esm/src/features/auth/contract.js +43 -0
- package/esm/src/features/auth/identity/contract.d.ts +23 -0
- package/esm/src/features/auth/identity/contract.d.ts.map +1 -0
- package/esm/src/features/auth/identity/contract.js +17 -0
- package/esm/src/features/auth/identity/repository.d.ts +22 -0
- package/esm/src/features/auth/identity/repository.d.ts.map +1 -0
- package/esm/src/features/auth/identity/repository.js +30 -0
- package/esm/src/features/auth/index.d.ts +6 -0
- package/esm/src/features/auth/index.d.ts.map +1 -0
- package/esm/src/features/auth/index.js +5 -0
- package/esm/src/features/auth/manager.d.ts +105 -0
- package/esm/src/features/auth/manager.d.ts.map +1 -0
- package/esm/src/features/auth/manager.js +181 -0
- package/{dist/modules/profile/profile.api-contract.d.ts → esm/src/features/auth/profile/contract.d.ts} +6 -8
- package/esm/src/features/auth/profile/contract.d.ts.map +1 -0
- package/esm/src/features/auth/profile/contract.js +14 -0
- package/esm/src/features/auth/profile/repository.d.ts +11 -0
- package/esm/src/features/auth/profile/repository.d.ts.map +1 -0
- package/esm/src/features/auth/profile/repository.js +25 -0
- package/esm/src/features/auth/repository.d.ts +30 -0
- package/esm/src/features/auth/repository.d.ts.map +1 -0
- package/esm/src/features/auth/repository.js +69 -0
- package/{dist/modules/auth/storage/client-store.d.ts → esm/src/features/auth/storage/client_store.d.ts} +2 -1
- package/esm/src/features/auth/storage/client_store.d.ts.map +1 -0
- package/esm/src/features/auth/storage/client_store.js +46 -0
- package/{dist/modules/auth/storage/client-token-handler.d.ts → esm/src/features/auth/storage/client_token_handler.d.ts} +1 -0
- package/esm/src/features/auth/storage/client_token_handler.d.ts.map +1 -0
- package/esm/src/features/auth/storage/client_token_handler.js +36 -0
- package/esm/src/features/auth/storage/server_store.d.ts +24 -0
- package/esm/src/features/auth/storage/server_store.d.ts.map +1 -0
- package/esm/src/features/auth/storage/server_store.js +34 -0
- package/esm/src/features/auth/storage/server_token_handler.d.ts +36 -0
- package/esm/src/features/auth/storage/server_token_handler.d.ts.map +1 -0
- package/esm/src/features/auth/storage/server_token_handler.js +115 -0
- package/{dist/modules → esm/src/features}/auth/storage/types.d.ts +2 -1
- package/esm/src/features/auth/storage/types.d.ts.map +1 -0
- package/esm/src/features/auth/storage/types.js +1 -0
- package/{dist/modules/contact/contact.api-contract.d.ts → esm/src/features/contact/contract.d.ts} +55 -88
- package/esm/src/features/contact/contract.d.ts.map +1 -0
- package/esm/src/features/contact/contract.js +49 -0
- package/esm/src/features/contact/index.d.ts +2 -0
- package/esm/src/features/contact/index.d.ts.map +1 -0
- package/esm/src/features/contact/index.js +1 -0
- package/esm/src/features/contact/repository.d.ts +58 -0
- package/esm/src/features/contact/repository.d.ts.map +1 -0
- package/esm/src/features/contact/repository.js +108 -0
- package/{dist/modules/payout/payout.api-contract.d.ts → esm/src/features/payout/contract.d.ts} +197 -340
- package/esm/src/features/payout/contract.d.ts.map +1 -0
- package/esm/src/features/payout/contract.js +75 -0
- package/esm/src/features/payout/index.d.ts +2 -0
- package/esm/src/features/payout/index.d.ts.map +1 -0
- package/esm/src/features/payout/index.js +1 -0
- package/esm/src/features/payout/repository.d.ts +67 -0
- package/esm/src/features/payout/repository.d.ts.map +1 -0
- package/esm/src/features/payout/repository.js +163 -0
- package/{dist/modules/wallet/wallet.contract.d.ts → esm/src/features/wallet/contract.d.ts} +11 -13
- package/esm/src/features/wallet/contract.d.ts.map +1 -0
- package/esm/src/features/wallet/contract.js +38 -0
- package/esm/src/features/wallet/index.d.ts +2 -0
- package/esm/src/features/wallet/index.d.ts.map +1 -0
- package/esm/src/features/wallet/index.js +1 -0
- package/esm/src/features/wallet/repository.d.ts +57 -0
- package/esm/src/features/wallet/repository.d.ts.map +1 -0
- package/esm/src/features/wallet/repository.js +93 -0
- package/esm/src/models/contact/derivatives/contact.d.ts +172 -0
- package/esm/src/models/contact/derivatives/contact.d.ts.map +1 -0
- package/esm/src/models/contact/derivatives/contact.js +266 -0
- package/esm/src/models/contact/derivatives/contact_info.d.ts +188 -0
- package/esm/src/models/contact/derivatives/contact_info.d.ts.map +1 -0
- package/esm/src/models/contact/derivatives/contact_info.js +255 -0
- package/esm/src/models/contact/index.d.ts +5 -0
- package/esm/src/models/contact/index.d.ts.map +1 -0
- package/esm/src/models/contact/index.js +4 -0
- package/esm/src/models/contact/schemas.d.ts +66 -0
- package/esm/src/models/contact/schemas.d.ts.map +1 -0
- package/esm/src/models/contact/schemas.js +64 -0
- package/esm/src/models/contact/validation.d.ts +37 -0
- package/esm/src/models/contact/validation.d.ts.map +1 -0
- package/esm/src/models/contact/validation.js +146 -0
- package/esm/src/models/index.d.ts +7 -0
- package/esm/src/models/index.d.ts.map +1 -0
- package/esm/src/models/index.js +6 -0
- package/esm/src/models/payout/api.d.ts +29 -0
- package/esm/src/models/payout/api.d.ts.map +1 -0
- package/esm/src/models/payout/api.js +1 -0
- package/esm/src/models/payout/channel.d.ts +58 -0
- package/esm/src/models/payout/channel.d.ts.map +1 -0
- package/esm/src/models/payout/channel.js +53 -0
- package/esm/src/models/payout/derivatives/payout.d.ts +158 -0
- package/esm/src/models/payout/derivatives/payout.d.ts.map +1 -0
- package/esm/src/models/payout/derivatives/payout.js +271 -0
- package/esm/src/models/payout/index.d.ts +7 -0
- package/esm/src/models/payout/index.d.ts.map +1 -0
- package/esm/src/models/payout/index.js +6 -0
- package/esm/src/models/payout/narration.d.ts +164 -0
- package/esm/src/models/payout/narration.d.ts.map +1 -0
- package/esm/src/models/payout/narration.js +308 -0
- package/esm/src/models/payout/schemas.d.ts +156 -0
- package/esm/src/models/payout/schemas.d.ts.map +1 -0
- package/esm/src/models/payout/schemas.js +105 -0
- package/esm/src/models/payout/status.d.ts +33 -0
- package/esm/src/models/payout/status.d.ts.map +1 -0
- package/esm/src/models/payout/status.js +34 -0
- package/{dist/modules/login/permission.type.d.ts → esm/src/models/permission.d.ts} +9 -8
- package/esm/src/models/permission.d.ts.map +1 -0
- package/esm/src/models/permission.js +50 -0
- package/esm/src/models/role.d.ts +21 -0
- package/esm/src/models/role.d.ts.map +1 -0
- package/esm/src/models/role.js +73 -0
- package/esm/src/models/user/authenticated-user.d.ts +77 -0
- package/esm/src/models/user/authenticated-user.d.ts.map +1 -0
- package/esm/src/models/user/authenticated-user.js +226 -0
- package/esm/src/models/user/index.d.ts +4 -0
- package/esm/src/models/user/index.d.ts.map +1 -0
- package/esm/src/models/user/index.js +3 -0
- package/esm/src/models/user/managed-user.d.ts +108 -0
- package/esm/src/models/user/managed-user.d.ts.map +1 -0
- package/esm/src/models/user/managed-user.js +255 -0
- package/{dist/modules/profile/profile.model.d.ts → esm/src/models/user/profile.d.ts} +52 -81
- package/esm/src/models/user/profile.d.ts.map +1 -0
- package/esm/src/models/user/profile.js +334 -0
- package/esm/src/models/wallet/index.d.ts +4 -0
- package/esm/src/models/wallet/index.d.ts.map +1 -0
- package/esm/src/models/wallet/index.js +3 -0
- package/esm/src/models/wallet/schemas.d.ts +95 -0
- package/esm/src/models/wallet/schemas.d.ts.map +1 -0
- package/esm/src/models/wallet/schemas.js +35 -0
- package/esm/src/models/wallet/statement_entry.d.ts +160 -0
- package/esm/src/models/wallet/statement_entry.d.ts.map +1 -0
- package/esm/src/models/wallet/statement_entry.js +255 -0
- package/{dist/modules/wallet/wallet.model.d.ts → esm/src/models/wallet/wallet.d.ts} +37 -31
- package/esm/src/models/wallet/wallet.d.ts.map +1 -0
- package/esm/src/models/wallet/wallet.js +279 -0
- package/esm/src/shared/base_repository.d.ts +80 -0
- package/esm/src/shared/base_repository.d.ts.map +1 -0
- package/esm/src/shared/base_repository.js +153 -0
- package/esm/src/shared/common_responses.d.ts +13 -0
- package/esm/src/shared/common_responses.d.ts.map +1 -0
- package/esm/src/shared/common_responses.js +10 -0
- package/esm/src/shared/index.d.ts +3 -0
- package/esm/src/shared/index.d.ts.map +1 -0
- package/esm/src/shared/index.js +2 -0
- package/esm/src/shared/token_required_repository.d.ts +78 -0
- package/esm/src/shared/token_required_repository.d.ts.map +1 -0
- package/esm/src/shared/token_required_repository.js +128 -0
- package/package.json +23 -49
- package/script/mod.d.ts +8 -0
- package/script/mod.d.ts.map +1 -0
- package/script/mod.js +23 -0
- package/script/npm/src/mod.d.ts +8 -0
- package/script/npm/src/mod.d.ts.map +1 -0
- package/script/npm/src/mod.js +23 -0
- package/script/npm/src/src/errors/api_error.d.ts +63 -0
- package/script/npm/src/src/errors/api_error.d.ts.map +1 -0
- package/script/npm/src/src/errors/api_error.js +94 -0
- package/script/npm/src/src/errors/index.d.ts +3 -0
- package/script/npm/src/src/errors/index.d.ts.map +1 -0
- package/script/npm/src/src/errors/index.js +18 -0
- package/script/npm/src/src/errors/permission_error.d.ts +48 -0
- package/script/npm/src/src/errors/permission_error.d.ts.map +1 -0
- package/script/npm/src/src/errors/permission_error.js +74 -0
- package/script/npm/src/src/features/admin/contract.d.ts +842 -0
- package/script/npm/src/src/features/admin/contract.d.ts.map +1 -0
- package/script/npm/src/src/features/admin/contract.js +213 -0
- package/script/npm/src/src/features/admin/index.d.ts +4 -0
- package/script/npm/src/src/features/admin/index.d.ts.map +1 -0
- package/script/npm/src/src/features/admin/index.js +19 -0
- package/script/npm/src/src/features/admin/repository.d.ts +114 -0
- package/script/npm/src/src/features/admin/repository.d.ts.map +1 -0
- package/script/npm/src/src/features/admin/repository.js +252 -0
- package/script/npm/src/src/features/admin/schemas.d.ts +146 -0
- package/script/npm/src/src/features/admin/schemas.d.ts.map +1 -0
- package/script/npm/src/src/features/admin/schemas.js +209 -0
- package/script/npm/src/src/features/auth/access/contract.d.ts +14 -0
- package/script/npm/src/src/features/auth/access/contract.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/access/contract.js +17 -0
- package/script/npm/src/src/features/auth/access/repository.d.ts +11 -0
- package/script/npm/src/src/features/auth/access/repository.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/access/repository.js +29 -0
- package/script/npm/src/src/features/auth/contract.d.ts +112 -0
- package/script/npm/src/src/features/auth/contract.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/contract.js +46 -0
- package/script/npm/src/src/features/auth/identity/contract.d.ts +23 -0
- package/script/npm/src/src/features/auth/identity/contract.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/identity/contract.js +20 -0
- package/script/npm/src/src/features/auth/identity/repository.d.ts +22 -0
- package/script/npm/src/src/features/auth/identity/repository.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/identity/repository.js +34 -0
- package/script/npm/src/src/features/auth/index.d.ts +6 -0
- package/script/npm/src/src/features/auth/index.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/index.js +21 -0
- package/script/npm/src/src/features/auth/manager.d.ts +105 -0
- package/script/npm/src/src/features/auth/manager.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/manager.js +185 -0
- package/script/npm/src/src/features/auth/profile/contract.d.ts +37 -0
- package/script/npm/src/src/features/auth/profile/contract.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/profile/contract.js +17 -0
- package/script/npm/src/src/features/auth/profile/repository.d.ts +11 -0
- package/script/npm/src/src/features/auth/profile/repository.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/profile/repository.js +29 -0
- package/script/npm/src/src/features/auth/repository.d.ts +30 -0
- package/script/npm/src/src/features/auth/repository.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/repository.js +73 -0
- package/script/npm/src/src/features/auth/storage/client_store.d.ts +30 -0
- package/script/npm/src/src/features/auth/storage/client_store.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/storage/client_store.js +51 -0
- package/script/npm/src/src/features/auth/storage/client_token_handler.d.ts +32 -0
- package/script/npm/src/src/features/auth/storage/client_token_handler.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/storage/client_token_handler.js +40 -0
- package/script/npm/src/src/features/auth/storage/server_store.d.ts +24 -0
- package/script/npm/src/src/features/auth/storage/server_store.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/storage/server_store.js +38 -0
- package/script/npm/src/src/features/auth/storage/server_token_handler.d.ts +36 -0
- package/script/npm/src/src/features/auth/storage/server_token_handler.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/storage/server_token_handler.js +119 -0
- package/script/npm/src/src/features/auth/storage/types.d.ts +42 -0
- package/script/npm/src/src/features/auth/storage/types.d.ts.map +1 -0
- package/script/npm/src/src/features/auth/storage/types.js +2 -0
- package/script/npm/src/src/features/contact/contract.d.ts +170 -0
- package/script/npm/src/src/features/contact/contract.d.ts.map +1 -0
- package/script/npm/src/src/features/contact/contract.js +52 -0
- package/script/npm/src/src/features/contact/index.d.ts +2 -0
- package/script/npm/src/src/features/contact/index.d.ts.map +1 -0
- package/script/npm/src/src/features/contact/index.js +17 -0
- package/script/npm/src/src/features/contact/repository.d.ts +58 -0
- package/script/npm/src/src/features/contact/repository.d.ts.map +1 -0
- package/script/npm/src/src/features/contact/repository.js +112 -0
- package/script/npm/src/src/features/payout/contract.d.ts +623 -0
- package/script/npm/src/src/features/payout/contract.d.ts.map +1 -0
- package/script/npm/src/src/features/payout/contract.js +78 -0
- package/script/npm/src/src/features/payout/index.d.ts +2 -0
- package/script/npm/src/src/features/payout/index.d.ts.map +1 -0
- package/script/npm/src/src/features/payout/index.js +17 -0
- package/script/npm/src/src/features/payout/repository.d.ts +67 -0
- package/script/npm/src/src/features/payout/repository.d.ts.map +1 -0
- package/script/npm/src/src/features/payout/repository.js +167 -0
- package/script/npm/src/src/features/wallet/contract.d.ts +137 -0
- package/script/npm/src/src/features/wallet/contract.d.ts.map +1 -0
- package/script/npm/src/src/features/wallet/contract.js +41 -0
- package/script/npm/src/src/features/wallet/index.d.ts +2 -0
- package/script/npm/src/src/features/wallet/index.d.ts.map +1 -0
- package/script/npm/src/src/features/wallet/index.js +17 -0
- package/script/npm/src/src/features/wallet/repository.d.ts +57 -0
- package/script/npm/src/src/features/wallet/repository.d.ts.map +1 -0
- package/script/npm/src/src/features/wallet/repository.js +97 -0
- package/script/npm/src/src/models/contact/derivatives/contact.d.ts +172 -0
- package/script/npm/src/src/models/contact/derivatives/contact.d.ts.map +1 -0
- package/script/npm/src/src/models/contact/derivatives/contact.js +270 -0
- package/script/npm/src/src/models/contact/derivatives/contact_info.d.ts +188 -0
- package/script/npm/src/src/models/contact/derivatives/contact_info.d.ts.map +1 -0
- package/script/npm/src/src/models/contact/derivatives/contact_info.js +260 -0
- package/script/npm/src/src/models/contact/index.d.ts +5 -0
- package/script/npm/src/src/models/contact/index.d.ts.map +1 -0
- package/script/npm/src/src/models/contact/index.js +20 -0
- package/script/npm/src/src/models/contact/schemas.d.ts +66 -0
- package/script/npm/src/src/models/contact/schemas.d.ts.map +1 -0
- package/script/npm/src/src/models/contact/schemas.js +67 -0
- package/script/npm/src/src/models/contact/validation.d.ts +37 -0
- package/script/npm/src/src/models/contact/validation.d.ts.map +1 -0
- package/script/npm/src/src/models/contact/validation.js +153 -0
- package/script/npm/src/src/models/index.d.ts +7 -0
- package/script/npm/src/src/models/index.d.ts.map +1 -0
- package/script/npm/src/src/models/index.js +22 -0
- package/script/npm/src/src/models/payout/api.d.ts +29 -0
- package/script/npm/src/src/models/payout/api.d.ts.map +1 -0
- package/script/npm/src/src/models/payout/api.js +2 -0
- package/script/npm/src/src/models/payout/channel.d.ts +58 -0
- package/script/npm/src/src/models/payout/channel.d.ts.map +1 -0
- package/script/npm/src/src/models/payout/channel.js +56 -0
- package/script/npm/src/src/models/payout/derivatives/payout.d.ts +158 -0
- package/script/npm/src/src/models/payout/derivatives/payout.d.ts.map +1 -0
- package/script/npm/src/src/models/payout/derivatives/payout.js +275 -0
- package/script/npm/src/src/models/payout/index.d.ts +7 -0
- package/script/npm/src/src/models/payout/index.d.ts.map +1 -0
- package/script/npm/src/src/models/payout/index.js +22 -0
- package/script/npm/src/src/models/payout/narration.d.ts +164 -0
- package/script/npm/src/src/models/payout/narration.d.ts.map +1 -0
- package/script/npm/src/src/models/payout/narration.js +312 -0
- package/script/npm/src/src/models/payout/schemas.d.ts +156 -0
- package/script/npm/src/src/models/payout/schemas.d.ts.map +1 -0
- package/script/npm/src/src/models/payout/schemas.js +108 -0
- package/script/npm/src/src/models/payout/status.d.ts +33 -0
- package/script/npm/src/src/models/payout/status.d.ts.map +1 -0
- package/script/npm/src/src/models/payout/status.js +37 -0
- package/script/npm/src/src/models/permission.d.ts +55 -0
- package/script/npm/src/src/models/permission.d.ts.map +1 -0
- package/script/npm/src/src/models/permission.js +53 -0
- package/script/npm/src/src/models/role.d.ts +21 -0
- package/script/npm/src/src/models/role.d.ts.map +1 -0
- package/script/npm/src/src/models/role.js +77 -0
- package/script/npm/src/src/models/user/authenticated-user.d.ts +77 -0
- package/script/npm/src/src/models/user/authenticated-user.d.ts.map +1 -0
- package/script/npm/src/src/models/user/authenticated-user.js +230 -0
- package/script/npm/src/src/models/user/index.d.ts +4 -0
- package/script/npm/src/src/models/user/index.d.ts.map +1 -0
- package/script/npm/src/src/models/user/index.js +19 -0
- package/script/npm/src/src/models/user/managed-user.d.ts +108 -0
- package/script/npm/src/src/models/user/managed-user.d.ts.map +1 -0
- package/script/npm/src/src/models/user/managed-user.js +260 -0
- package/script/npm/src/src/models/user/profile.d.ts +161 -0
- package/script/npm/src/src/models/user/profile.d.ts.map +1 -0
- package/script/npm/src/src/models/user/profile.js +338 -0
- package/script/npm/src/src/models/wallet/index.d.ts +4 -0
- package/script/npm/src/src/models/wallet/index.d.ts.map +1 -0
- package/script/npm/src/src/models/wallet/index.js +19 -0
- package/script/npm/src/src/models/wallet/schemas.d.ts +95 -0
- package/script/npm/src/src/models/wallet/schemas.d.ts.map +1 -0
- package/script/npm/src/src/models/wallet/schemas.js +38 -0
- package/script/npm/src/src/models/wallet/statement_entry.d.ts +160 -0
- package/script/npm/src/src/models/wallet/statement_entry.d.ts.map +1 -0
- package/script/npm/src/src/models/wallet/statement_entry.js +259 -0
- package/script/npm/src/src/models/wallet/wallet.d.ts +147 -0
- package/script/npm/src/src/models/wallet/wallet.d.ts.map +1 -0
- package/script/npm/src/src/models/wallet/wallet.js +283 -0
- package/script/npm/src/src/shared/base_repository.d.ts +80 -0
- package/script/npm/src/src/shared/base_repository.d.ts.map +1 -0
- package/script/npm/src/src/shared/base_repository.js +157 -0
- package/script/npm/src/src/shared/common_responses.d.ts +13 -0
- package/script/npm/src/src/shared/common_responses.d.ts.map +1 -0
- package/script/npm/src/src/shared/common_responses.js +13 -0
- package/script/npm/src/src/shared/index.d.ts +3 -0
- package/script/npm/src/src/shared/index.d.ts.map +1 -0
- package/script/npm/src/src/shared/index.js +18 -0
- package/script/npm/src/src/shared/token_required_repository.d.ts +78 -0
- package/script/npm/src/src/shared/token_required_repository.d.ts.map +1 -0
- package/script/npm/src/src/shared/token_required_repository.js +132 -0
- package/script/package.json +3 -0
- package/dist/index.cjs.js +0 -2
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.d.ts +0 -10
- package/dist/index.esm.js +0 -2
- package/dist/index.esm.js.map +0 -1
- package/dist/lib/api/base-repository.d.ts +0 -175
- package/dist/lib/api/index.d.ts +0 -1
- package/dist/lib/error/error.utils.d.ts +0 -22
- package/dist/lib/error/index.d.ts +0 -3
- package/dist/lib/query/index.d.ts +0 -4
- package/dist/lib/query/pagination/pagination.d.ts +0 -73
- package/dist/lib/query/pagination/pagination.schemas.d.ts +0 -83
- package/dist/lib/query/query.builder.d.ts +0 -71
- package/dist/lib/query/query.types.d.ts +0 -36
- package/dist/modules/auth/auth.manager.d.ts +0 -249
- package/dist/modules/auth/auth.repository.d.ts +0 -83
- package/dist/modules/auth/auth.store.d.ts +0 -139
- package/dist/modules/auth/company-membership.model.d.ts +0 -171
- package/dist/modules/auth/index.d.ts +0 -4
- package/dist/modules/auth/user.model.d.ts +0 -363
- package/dist/modules/contact/contact-info.model.d.ts +0 -485
- package/dist/modules/contact/contact-input-handler.d.ts +0 -16
- package/dist/modules/contact/contact.dtos.d.ts +0 -84
- package/dist/modules/contact/contact.model.d.ts +0 -441
- package/dist/modules/contact/contact.repository.d.ts +0 -116
- package/dist/modules/contact/index.d.ts +0 -4
- package/dist/modules/login/index.d.ts +0 -4
- package/dist/modules/login/login.api-contract.d.ts +0 -51
- package/dist/modules/login/login.dtos.d.ts +0 -85
- package/dist/modules/login/login.model.d.ts +0 -168
- package/dist/modules/login/login.repository.d.ts +0 -58
- package/dist/modules/payout/index.d.ts +0 -5
- package/dist/modules/payout/payout-channel-handler.d.ts +0 -82
- package/dist/modules/payout/payout.dtos.d.ts +0 -605
- package/dist/modules/payout/payout.model.d.ts +0 -379
- package/dist/modules/payout/payout.query.d.ts +0 -133
- package/dist/modules/payout/payout.repository.d.ts +0 -181
- package/dist/modules/profile/index.d.ts +0 -3
- package/dist/modules/profile/profile.dtos.d.ts +0 -80
- package/dist/modules/profile/profile.repository.d.ts +0 -56
- package/dist/modules/team-member/index.d.ts +0 -4
- package/dist/modules/team-member/role.model.d.ts +0 -61
- package/dist/modules/team-member/team-member.dtos.d.ts +0 -261
- package/dist/modules/team-member/team-member.model.d.ts +0 -237
- package/dist/modules/team-member/team-member.repository.d.ts +0 -179
- package/dist/modules/wallet/index.d.ts +0 -7
- package/dist/modules/wallet/narration.model.d.ts +0 -225
- package/dist/modules/wallet/statement-entry.model.d.ts +0 -299
- package/dist/modules/wallet/wallet-manager.session.d.ts +0 -143
- package/dist/modules/wallet/wallet.dtos.d.ts +0 -204
- package/dist/modules/wallet/wallet.query.d.ts +0 -95
- package/dist/modules/wallet/wallet.repository.d.ts +0 -205
- package/dist/modules/wallet/wallet.utils.d.ts +0 -17
|
@@ -1,605 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Represents the available channels through which payouts can be processed.
|
|
4
|
-
* @enum {string}
|
|
5
|
-
* @readonly
|
|
6
|
-
*/
|
|
7
|
-
export declare enum PayoutChannel {
|
|
8
|
-
/** Payment processed through mobile money services */
|
|
9
|
-
MOBILE = "Mobile",
|
|
10
|
-
/** Payment processed through traditional banking channels */
|
|
11
|
-
BANK = "Bank"
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Represents the current status of a payout transaction.
|
|
15
|
-
* @enum {string}
|
|
16
|
-
* @readonly
|
|
17
|
-
*/
|
|
18
|
-
export declare enum PayoutStatus {
|
|
19
|
-
/** Payout has been initially created but not yet processed */
|
|
20
|
-
CREATED = "CREATED",
|
|
21
|
-
/** Payout is awaiting processing */
|
|
22
|
-
PENDING = "PENDING",
|
|
23
|
-
/** Payout has been successfully processed */
|
|
24
|
-
PAID = "PAID",
|
|
25
|
-
/** Payout processing has failed */
|
|
26
|
-
FAILED = "FAILED",
|
|
27
|
-
/** Payout has been rejected */
|
|
28
|
-
REJECTED = "REJECTED",
|
|
29
|
-
/** Payout has been reversed */
|
|
30
|
-
REVERSED = "REVERSED"
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Represents the approval status for payouts that require authorization.
|
|
34
|
-
* @enum {string}
|
|
35
|
-
* @readonly
|
|
36
|
-
*/
|
|
37
|
-
export declare enum PayoutApprovalStatus {
|
|
38
|
-
/** Payout is awaiting approval decision */
|
|
39
|
-
PENDING = "Pending",
|
|
40
|
-
/** Payout has been approved */
|
|
41
|
-
APPROVED = "Approved",
|
|
42
|
-
/** Payout has been rejected during approval process */
|
|
43
|
-
REJECTED = "Rejected"
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Schema for identifying users in the payout process
|
|
47
|
-
* Used to track who created or actioned a payout
|
|
48
|
-
*/
|
|
49
|
-
declare const AuthorizerSchema: z.ZodObject<{
|
|
50
|
-
id: z.ZodString;
|
|
51
|
-
name: z.ZodString;
|
|
52
|
-
identity: z.ZodString;
|
|
53
|
-
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
name: string;
|
|
55
|
-
id: string;
|
|
56
|
-
identity: string;
|
|
57
|
-
}, {
|
|
58
|
-
name: string;
|
|
59
|
-
id: string;
|
|
60
|
-
identity: string;
|
|
61
|
-
}>;
|
|
62
|
-
/**
|
|
63
|
-
* Schema for creating a new payout
|
|
64
|
-
* Extends base payout schema with payee information
|
|
65
|
-
*/
|
|
66
|
-
declare const PayoutInputDTOSchema: z.ZodObject<{
|
|
67
|
-
channel: z.ZodString;
|
|
68
|
-
msisdn: z.ZodString;
|
|
69
|
-
amount: z.ZodNumber;
|
|
70
|
-
description: z.ZodString;
|
|
71
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
-
} & {
|
|
73
|
-
payeeName: z.ZodString;
|
|
74
|
-
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
description: string;
|
|
76
|
-
channel: string;
|
|
77
|
-
msisdn: string;
|
|
78
|
-
amount: number;
|
|
79
|
-
payeeName: string;
|
|
80
|
-
notes?: string | null | undefined;
|
|
81
|
-
}, {
|
|
82
|
-
description: string;
|
|
83
|
-
channel: string;
|
|
84
|
-
msisdn: string;
|
|
85
|
-
amount: number;
|
|
86
|
-
payeeName: string;
|
|
87
|
-
notes?: string | null | undefined;
|
|
88
|
-
}>;
|
|
89
|
-
/**
|
|
90
|
-
* Schema for complete payout record
|
|
91
|
-
* Extends base payout schema with additional fields for:
|
|
92
|
-
* - Identification (id, profileId)
|
|
93
|
-
* - Status tracking
|
|
94
|
-
* - Timestamps
|
|
95
|
-
* - Approval information
|
|
96
|
-
* - User tracking (created by, actioned by)
|
|
97
|
-
*/
|
|
98
|
-
declare const PayoutDTOSchema: z.ZodObject<{
|
|
99
|
-
msisdn: z.ZodString;
|
|
100
|
-
amount: z.ZodNumber;
|
|
101
|
-
description: z.ZodString;
|
|
102
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
103
|
-
} & {
|
|
104
|
-
id: z.ZodString;
|
|
105
|
-
profileId: z.ZodString;
|
|
106
|
-
payeeName: z.ZodString;
|
|
107
|
-
countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
|
|
108
|
-
currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
|
|
109
|
-
channel: z.ZodString;
|
|
110
|
-
status: z.ZodNativeEnum<typeof PayoutStatus>;
|
|
111
|
-
statusMessage: z.ZodString;
|
|
112
|
-
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
113
|
-
createdAt: z.ZodDate;
|
|
114
|
-
updatedAt: z.ZodDate;
|
|
115
|
-
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
116
|
-
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
|
|
117
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
118
|
-
id: z.ZodString;
|
|
119
|
-
name: z.ZodString;
|
|
120
|
-
identity: z.ZodString;
|
|
121
|
-
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
name: string;
|
|
123
|
-
id: string;
|
|
124
|
-
identity: string;
|
|
125
|
-
}, {
|
|
126
|
-
name: string;
|
|
127
|
-
id: string;
|
|
128
|
-
identity: string;
|
|
129
|
-
}>>>;
|
|
130
|
-
actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
131
|
-
id: z.ZodString;
|
|
132
|
-
name: z.ZodString;
|
|
133
|
-
identity: z.ZodString;
|
|
134
|
-
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
name: string;
|
|
136
|
-
id: string;
|
|
137
|
-
identity: string;
|
|
138
|
-
}, {
|
|
139
|
-
name: string;
|
|
140
|
-
id: string;
|
|
141
|
-
identity: string;
|
|
142
|
-
}>>>;
|
|
143
|
-
}, "strip", z.ZodTypeAny, {
|
|
144
|
-
status: PayoutStatus;
|
|
145
|
-
id: string;
|
|
146
|
-
profileId: string;
|
|
147
|
-
createdAt: Date;
|
|
148
|
-
updatedAt: Date;
|
|
149
|
-
description: string;
|
|
150
|
-
channel: string;
|
|
151
|
-
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
152
|
-
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
153
|
-
msisdn: string;
|
|
154
|
-
amount: number;
|
|
155
|
-
payeeName: string;
|
|
156
|
-
statusMessage: string;
|
|
157
|
-
notes?: string | null | undefined;
|
|
158
|
-
partnerReference?: string | null | undefined;
|
|
159
|
-
actionedAt?: Date | null | undefined;
|
|
160
|
-
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
161
|
-
createdBy?: {
|
|
162
|
-
name: string;
|
|
163
|
-
id: string;
|
|
164
|
-
identity: string;
|
|
165
|
-
} | null | undefined;
|
|
166
|
-
actionedBy?: {
|
|
167
|
-
name: string;
|
|
168
|
-
id: string;
|
|
169
|
-
identity: string;
|
|
170
|
-
} | null | undefined;
|
|
171
|
-
}, {
|
|
172
|
-
status: PayoutStatus;
|
|
173
|
-
id: string;
|
|
174
|
-
profileId: string;
|
|
175
|
-
createdAt: Date;
|
|
176
|
-
updatedAt: Date;
|
|
177
|
-
description: string;
|
|
178
|
-
channel: string;
|
|
179
|
-
msisdn: string;
|
|
180
|
-
amount: number;
|
|
181
|
-
payeeName: string;
|
|
182
|
-
statusMessage: string;
|
|
183
|
-
countryCode?: string | undefined;
|
|
184
|
-
currencyCode?: string | undefined;
|
|
185
|
-
notes?: string | null | undefined;
|
|
186
|
-
partnerReference?: string | null | undefined;
|
|
187
|
-
actionedAt?: Date | null | undefined;
|
|
188
|
-
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
189
|
-
createdBy?: {
|
|
190
|
-
name: string;
|
|
191
|
-
id: string;
|
|
192
|
-
identity: string;
|
|
193
|
-
} | null | undefined;
|
|
194
|
-
actionedBy?: {
|
|
195
|
-
name: string;
|
|
196
|
-
id: string;
|
|
197
|
-
identity: string;
|
|
198
|
-
} | null | undefined;
|
|
199
|
-
}>;
|
|
200
|
-
/**
|
|
201
|
-
* Lightweight filters interface for payout queries
|
|
202
|
-
*/
|
|
203
|
-
declare const PayoutFiltersSchema: z.ZodObject<{
|
|
204
|
-
page: z.ZodDefault<z.ZodNumber>;
|
|
205
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
206
|
-
sortBy: z.ZodDefault<z.ZodString>;
|
|
207
|
-
sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
208
|
-
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
|
-
endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
|
-
payeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
211
|
-
msisdn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
|
-
profileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
213
|
-
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
214
|
-
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
215
|
-
channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
216
|
-
currencyCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
217
|
-
status: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutStatus>>>;
|
|
218
|
-
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
|
|
219
|
-
minAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
220
|
-
maxAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
221
|
-
search: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
|
-
}, "strip", z.ZodTypeAny, {
|
|
223
|
-
page: number;
|
|
224
|
-
limit: number;
|
|
225
|
-
sortBy: string;
|
|
226
|
-
sortOrder: "asc" | "desc";
|
|
227
|
-
status?: PayoutStatus | null | undefined;
|
|
228
|
-
id?: string | null | undefined;
|
|
229
|
-
profileId?: string | null | undefined;
|
|
230
|
-
search?: string | null | undefined;
|
|
231
|
-
startDate?: string | null | undefined;
|
|
232
|
-
endDate?: string | null | undefined;
|
|
233
|
-
channel?: string | null | undefined;
|
|
234
|
-
currencyCode?: string | null | undefined;
|
|
235
|
-
msisdn?: string | null | undefined;
|
|
236
|
-
payeeName?: string | null | undefined;
|
|
237
|
-
partnerReference?: string | null | undefined;
|
|
238
|
-
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
239
|
-
minAmount?: number | null | undefined;
|
|
240
|
-
maxAmount?: number | null | undefined;
|
|
241
|
-
}, {
|
|
242
|
-
status?: PayoutStatus | null | undefined;
|
|
243
|
-
id?: string | null | undefined;
|
|
244
|
-
profileId?: string | null | undefined;
|
|
245
|
-
search?: string | null | undefined;
|
|
246
|
-
startDate?: string | null | undefined;
|
|
247
|
-
endDate?: string | null | undefined;
|
|
248
|
-
page?: number | undefined;
|
|
249
|
-
limit?: number | undefined;
|
|
250
|
-
channel?: string | null | undefined;
|
|
251
|
-
currencyCode?: string | null | undefined;
|
|
252
|
-
msisdn?: string | null | undefined;
|
|
253
|
-
payeeName?: string | null | undefined;
|
|
254
|
-
partnerReference?: string | null | undefined;
|
|
255
|
-
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
256
|
-
sortBy?: string | undefined;
|
|
257
|
-
sortOrder?: "asc" | "desc" | undefined;
|
|
258
|
-
minAmount?: number | null | undefined;
|
|
259
|
-
maxAmount?: number | null | undefined;
|
|
260
|
-
}>;
|
|
261
|
-
/**
|
|
262
|
-
* URL-safe schema for query parameters (all strings)
|
|
263
|
-
*/
|
|
264
|
-
declare const PayoutURLQueryParamsSchema: z.ZodObject<{
|
|
265
|
-
page: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
266
|
-
limit: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
267
|
-
sortBy: z.ZodDefault<z.ZodString>;
|
|
268
|
-
sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
269
|
-
startDate: z.ZodOptional<z.ZodString>;
|
|
270
|
-
endDate: z.ZodOptional<z.ZodString>;
|
|
271
|
-
payeeName: z.ZodOptional<z.ZodString>;
|
|
272
|
-
msisdn: z.ZodOptional<z.ZodString>;
|
|
273
|
-
profileId: z.ZodOptional<z.ZodString>;
|
|
274
|
-
id: z.ZodOptional<z.ZodString>;
|
|
275
|
-
partnerReference: z.ZodOptional<z.ZodString>;
|
|
276
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
277
|
-
status: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutStatus, string>>;
|
|
278
|
-
approvalStatus: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutApprovalStatus, string>>;
|
|
279
|
-
minAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
280
|
-
maxAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
281
|
-
search: z.ZodOptional<z.ZodString>;
|
|
282
|
-
}, "strip", z.ZodTypeAny, {
|
|
283
|
-
sortBy: string;
|
|
284
|
-
sortOrder: "asc" | "desc";
|
|
285
|
-
status?: PayoutStatus | undefined;
|
|
286
|
-
id?: string | undefined;
|
|
287
|
-
profileId?: string | undefined;
|
|
288
|
-
search?: string | undefined;
|
|
289
|
-
startDate?: string | undefined;
|
|
290
|
-
endDate?: string | undefined;
|
|
291
|
-
page?: number | undefined;
|
|
292
|
-
limit?: number | undefined;
|
|
293
|
-
channel?: string | undefined;
|
|
294
|
-
msisdn?: string | undefined;
|
|
295
|
-
payeeName?: string | undefined;
|
|
296
|
-
partnerReference?: string | undefined;
|
|
297
|
-
approvalStatus?: PayoutApprovalStatus | undefined;
|
|
298
|
-
minAmount?: number | undefined;
|
|
299
|
-
maxAmount?: number | undefined;
|
|
300
|
-
}, {
|
|
301
|
-
status?: string | undefined;
|
|
302
|
-
id?: string | undefined;
|
|
303
|
-
profileId?: string | undefined;
|
|
304
|
-
search?: string | undefined;
|
|
305
|
-
startDate?: string | undefined;
|
|
306
|
-
endDate?: string | undefined;
|
|
307
|
-
page?: string | undefined;
|
|
308
|
-
limit?: string | undefined;
|
|
309
|
-
channel?: string | undefined;
|
|
310
|
-
msisdn?: string | undefined;
|
|
311
|
-
payeeName?: string | undefined;
|
|
312
|
-
partnerReference?: string | undefined;
|
|
313
|
-
approvalStatus?: string | undefined;
|
|
314
|
-
sortBy?: string | undefined;
|
|
315
|
-
sortOrder?: "asc" | "desc" | undefined;
|
|
316
|
-
minAmount?: string | undefined;
|
|
317
|
-
maxAmount?: string | undefined;
|
|
318
|
-
}>;
|
|
319
|
-
/**
|
|
320
|
-
* Type definition inferred from AuthorizerSchema
|
|
321
|
-
* Represents the structure of a user who actions the payout
|
|
322
|
-
*/
|
|
323
|
-
type PayoutAuthorizerDTO = z.infer<typeof AuthorizerSchema>;
|
|
324
|
-
/**
|
|
325
|
-
* Type definition inferred from PayoutInputDTOSchema
|
|
326
|
-
* Represents the structure of data required to create a new payout
|
|
327
|
-
*/
|
|
328
|
-
type PayoutInputDTO = z.infer<typeof PayoutInputDTOSchema>;
|
|
329
|
-
/**
|
|
330
|
-
* Type definition inferred from PayoutDTOSchema
|
|
331
|
-
* Represents the complete payout record structure
|
|
332
|
-
*/
|
|
333
|
-
type PayoutDTO = z.infer<typeof PayoutDTOSchema>;
|
|
334
|
-
/**
|
|
335
|
-
* Type definition for payout filters
|
|
336
|
-
*/
|
|
337
|
-
type PayoutFilters = z.infer<typeof PayoutFiltersSchema>;
|
|
338
|
-
/**
|
|
339
|
-
* Type definition for URL query parameters
|
|
340
|
-
*/
|
|
341
|
-
type PayoutURLQueryParams = z.infer<typeof PayoutURLQueryParamsSchema>;
|
|
342
|
-
/**
|
|
343
|
-
* Export object containing all payout-related schemas
|
|
344
|
-
* Used for validation and type checking throughout the application
|
|
345
|
-
*/
|
|
346
|
-
export declare const PayoutDTOSchemas: {
|
|
347
|
-
readonly PayoutDTO: z.ZodObject<{
|
|
348
|
-
msisdn: z.ZodString;
|
|
349
|
-
amount: z.ZodNumber;
|
|
350
|
-
description: z.ZodString;
|
|
351
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
352
|
-
} & {
|
|
353
|
-
id: z.ZodString;
|
|
354
|
-
profileId: z.ZodString;
|
|
355
|
-
payeeName: z.ZodString;
|
|
356
|
-
countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
|
|
357
|
-
currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
|
|
358
|
-
channel: z.ZodString;
|
|
359
|
-
status: z.ZodNativeEnum<typeof PayoutStatus>;
|
|
360
|
-
statusMessage: z.ZodString;
|
|
361
|
-
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
362
|
-
createdAt: z.ZodDate;
|
|
363
|
-
updatedAt: z.ZodDate;
|
|
364
|
-
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
365
|
-
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
|
|
366
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
367
|
-
id: z.ZodString;
|
|
368
|
-
name: z.ZodString;
|
|
369
|
-
identity: z.ZodString;
|
|
370
|
-
}, "strip", z.ZodTypeAny, {
|
|
371
|
-
name: string;
|
|
372
|
-
id: string;
|
|
373
|
-
identity: string;
|
|
374
|
-
}, {
|
|
375
|
-
name: string;
|
|
376
|
-
id: string;
|
|
377
|
-
identity: string;
|
|
378
|
-
}>>>;
|
|
379
|
-
actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
380
|
-
id: z.ZodString;
|
|
381
|
-
name: z.ZodString;
|
|
382
|
-
identity: z.ZodString;
|
|
383
|
-
}, "strip", z.ZodTypeAny, {
|
|
384
|
-
name: string;
|
|
385
|
-
id: string;
|
|
386
|
-
identity: string;
|
|
387
|
-
}, {
|
|
388
|
-
name: string;
|
|
389
|
-
id: string;
|
|
390
|
-
identity: string;
|
|
391
|
-
}>>>;
|
|
392
|
-
}, "strip", z.ZodTypeAny, {
|
|
393
|
-
status: PayoutStatus;
|
|
394
|
-
id: string;
|
|
395
|
-
profileId: string;
|
|
396
|
-
createdAt: Date;
|
|
397
|
-
updatedAt: Date;
|
|
398
|
-
description: string;
|
|
399
|
-
channel: string;
|
|
400
|
-
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
401
|
-
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
402
|
-
msisdn: string;
|
|
403
|
-
amount: number;
|
|
404
|
-
payeeName: string;
|
|
405
|
-
statusMessage: string;
|
|
406
|
-
notes?: string | null | undefined;
|
|
407
|
-
partnerReference?: string | null | undefined;
|
|
408
|
-
actionedAt?: Date | null | undefined;
|
|
409
|
-
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
410
|
-
createdBy?: {
|
|
411
|
-
name: string;
|
|
412
|
-
id: string;
|
|
413
|
-
identity: string;
|
|
414
|
-
} | null | undefined;
|
|
415
|
-
actionedBy?: {
|
|
416
|
-
name: string;
|
|
417
|
-
id: string;
|
|
418
|
-
identity: string;
|
|
419
|
-
} | null | undefined;
|
|
420
|
-
}, {
|
|
421
|
-
status: PayoutStatus;
|
|
422
|
-
id: string;
|
|
423
|
-
profileId: string;
|
|
424
|
-
createdAt: Date;
|
|
425
|
-
updatedAt: Date;
|
|
426
|
-
description: string;
|
|
427
|
-
channel: string;
|
|
428
|
-
msisdn: string;
|
|
429
|
-
amount: number;
|
|
430
|
-
payeeName: string;
|
|
431
|
-
statusMessage: string;
|
|
432
|
-
countryCode?: string | undefined;
|
|
433
|
-
currencyCode?: string | undefined;
|
|
434
|
-
notes?: string | null | undefined;
|
|
435
|
-
partnerReference?: string | null | undefined;
|
|
436
|
-
actionedAt?: Date | null | undefined;
|
|
437
|
-
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
438
|
-
createdBy?: {
|
|
439
|
-
name: string;
|
|
440
|
-
id: string;
|
|
441
|
-
identity: string;
|
|
442
|
-
} | null | undefined;
|
|
443
|
-
actionedBy?: {
|
|
444
|
-
name: string;
|
|
445
|
-
id: string;
|
|
446
|
-
identity: string;
|
|
447
|
-
} | null | undefined;
|
|
448
|
-
}>;
|
|
449
|
-
readonly PayoutInputDTO: z.ZodObject<{
|
|
450
|
-
channel: z.ZodString;
|
|
451
|
-
msisdn: z.ZodString;
|
|
452
|
-
amount: z.ZodNumber;
|
|
453
|
-
description: z.ZodString;
|
|
454
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
455
|
-
} & {
|
|
456
|
-
payeeName: z.ZodString;
|
|
457
|
-
}, "strip", z.ZodTypeAny, {
|
|
458
|
-
description: string;
|
|
459
|
-
channel: string;
|
|
460
|
-
msisdn: string;
|
|
461
|
-
amount: number;
|
|
462
|
-
payeeName: string;
|
|
463
|
-
notes?: string | null | undefined;
|
|
464
|
-
}, {
|
|
465
|
-
description: string;
|
|
466
|
-
channel: string;
|
|
467
|
-
msisdn: string;
|
|
468
|
-
amount: number;
|
|
469
|
-
payeeName: string;
|
|
470
|
-
notes?: string | null | undefined;
|
|
471
|
-
}>;
|
|
472
|
-
readonly PayoutStatus: z.ZodNativeEnum<typeof PayoutStatus>;
|
|
473
|
-
readonly PayoutApprovalStatus: z.ZodNativeEnum<typeof PayoutApprovalStatus>;
|
|
474
|
-
readonly PayoutAuthorizer: z.ZodObject<{
|
|
475
|
-
id: z.ZodString;
|
|
476
|
-
name: z.ZodString;
|
|
477
|
-
identity: z.ZodString;
|
|
478
|
-
}, "strip", z.ZodTypeAny, {
|
|
479
|
-
name: string;
|
|
480
|
-
id: string;
|
|
481
|
-
identity: string;
|
|
482
|
-
}, {
|
|
483
|
-
name: string;
|
|
484
|
-
id: string;
|
|
485
|
-
identity: string;
|
|
486
|
-
}>;
|
|
487
|
-
readonly PayoutFilters: z.ZodObject<{
|
|
488
|
-
page: z.ZodDefault<z.ZodNumber>;
|
|
489
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
490
|
-
sortBy: z.ZodDefault<z.ZodString>;
|
|
491
|
-
sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
492
|
-
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
493
|
-
endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
494
|
-
payeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
495
|
-
msisdn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
496
|
-
profileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
497
|
-
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
498
|
-
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
499
|
-
channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
500
|
-
currencyCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
501
|
-
status: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutStatus>>>;
|
|
502
|
-
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
|
|
503
|
-
minAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
504
|
-
maxAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
505
|
-
search: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
506
|
-
}, "strip", z.ZodTypeAny, {
|
|
507
|
-
page: number;
|
|
508
|
-
limit: number;
|
|
509
|
-
sortBy: string;
|
|
510
|
-
sortOrder: "asc" | "desc";
|
|
511
|
-
status?: PayoutStatus | null | undefined;
|
|
512
|
-
id?: string | null | undefined;
|
|
513
|
-
profileId?: string | null | undefined;
|
|
514
|
-
search?: string | null | undefined;
|
|
515
|
-
startDate?: string | null | undefined;
|
|
516
|
-
endDate?: string | null | undefined;
|
|
517
|
-
channel?: string | null | undefined;
|
|
518
|
-
currencyCode?: string | null | undefined;
|
|
519
|
-
msisdn?: string | null | undefined;
|
|
520
|
-
payeeName?: string | null | undefined;
|
|
521
|
-
partnerReference?: string | null | undefined;
|
|
522
|
-
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
523
|
-
minAmount?: number | null | undefined;
|
|
524
|
-
maxAmount?: number | null | undefined;
|
|
525
|
-
}, {
|
|
526
|
-
status?: PayoutStatus | null | undefined;
|
|
527
|
-
id?: string | null | undefined;
|
|
528
|
-
profileId?: string | null | undefined;
|
|
529
|
-
search?: string | null | undefined;
|
|
530
|
-
startDate?: string | null | undefined;
|
|
531
|
-
endDate?: string | null | undefined;
|
|
532
|
-
page?: number | undefined;
|
|
533
|
-
limit?: number | undefined;
|
|
534
|
-
channel?: string | null | undefined;
|
|
535
|
-
currencyCode?: string | null | undefined;
|
|
536
|
-
msisdn?: string | null | undefined;
|
|
537
|
-
payeeName?: string | null | undefined;
|
|
538
|
-
partnerReference?: string | null | undefined;
|
|
539
|
-
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
540
|
-
sortBy?: string | undefined;
|
|
541
|
-
sortOrder?: "asc" | "desc" | undefined;
|
|
542
|
-
minAmount?: number | null | undefined;
|
|
543
|
-
maxAmount?: number | null | undefined;
|
|
544
|
-
}>;
|
|
545
|
-
readonly PayoutURLQueryParams: z.ZodObject<{
|
|
546
|
-
page: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
547
|
-
limit: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
548
|
-
sortBy: z.ZodDefault<z.ZodString>;
|
|
549
|
-
sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
550
|
-
startDate: z.ZodOptional<z.ZodString>;
|
|
551
|
-
endDate: z.ZodOptional<z.ZodString>;
|
|
552
|
-
payeeName: z.ZodOptional<z.ZodString>;
|
|
553
|
-
msisdn: z.ZodOptional<z.ZodString>;
|
|
554
|
-
profileId: z.ZodOptional<z.ZodString>;
|
|
555
|
-
id: z.ZodOptional<z.ZodString>;
|
|
556
|
-
partnerReference: z.ZodOptional<z.ZodString>;
|
|
557
|
-
channel: z.ZodOptional<z.ZodString>;
|
|
558
|
-
status: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutStatus, string>>;
|
|
559
|
-
approvalStatus: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutApprovalStatus, string>>;
|
|
560
|
-
minAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
561
|
-
maxAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
562
|
-
search: z.ZodOptional<z.ZodString>;
|
|
563
|
-
}, "strip", z.ZodTypeAny, {
|
|
564
|
-
sortBy: string;
|
|
565
|
-
sortOrder: "asc" | "desc";
|
|
566
|
-
status?: PayoutStatus | undefined;
|
|
567
|
-
id?: string | undefined;
|
|
568
|
-
profileId?: string | undefined;
|
|
569
|
-
search?: string | undefined;
|
|
570
|
-
startDate?: string | undefined;
|
|
571
|
-
endDate?: string | undefined;
|
|
572
|
-
page?: number | undefined;
|
|
573
|
-
limit?: number | undefined;
|
|
574
|
-
channel?: string | undefined;
|
|
575
|
-
msisdn?: string | undefined;
|
|
576
|
-
payeeName?: string | undefined;
|
|
577
|
-
partnerReference?: string | undefined;
|
|
578
|
-
approvalStatus?: PayoutApprovalStatus | undefined;
|
|
579
|
-
minAmount?: number | undefined;
|
|
580
|
-
maxAmount?: number | undefined;
|
|
581
|
-
}, {
|
|
582
|
-
status?: string | undefined;
|
|
583
|
-
id?: string | undefined;
|
|
584
|
-
profileId?: string | undefined;
|
|
585
|
-
search?: string | undefined;
|
|
586
|
-
startDate?: string | undefined;
|
|
587
|
-
endDate?: string | undefined;
|
|
588
|
-
page?: string | undefined;
|
|
589
|
-
limit?: string | undefined;
|
|
590
|
-
channel?: string | undefined;
|
|
591
|
-
msisdn?: string | undefined;
|
|
592
|
-
payeeName?: string | undefined;
|
|
593
|
-
partnerReference?: string | undefined;
|
|
594
|
-
approvalStatus?: string | undefined;
|
|
595
|
-
sortBy?: string | undefined;
|
|
596
|
-
sortOrder?: "asc" | "desc" | undefined;
|
|
597
|
-
minAmount?: string | undefined;
|
|
598
|
-
maxAmount?: string | undefined;
|
|
599
|
-
}>;
|
|
600
|
-
};
|
|
601
|
-
/**
|
|
602
|
-
* Export types for use in other parts of the application
|
|
603
|
-
* These types can be used for type checking and documentation
|
|
604
|
-
*/
|
|
605
|
-
export type { PayoutAuthorizerDTO as PayoutAuthorizer, PayoutDTO, PayoutInputDTO, PayoutFilters, PayoutURLQueryParams, };
|