@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
package/{dist/modules/payout/payout.api-contract.d.ts → esm/src/features/payout/contract.d.ts}
RENAMED
|
@@ -14,176 +14,176 @@ export declare const DEFAULT_ORDER_BY_DESC = "createdAt";
|
|
|
14
14
|
*/
|
|
15
15
|
export declare const contract: {
|
|
16
16
|
getPayouts: {
|
|
17
|
-
query: z.ZodObject<{
|
|
17
|
+
query: z.ZodObject<{
|
|
18
|
+
rangeStart: z.ZodNumber;
|
|
19
|
+
rangeEnd: z.ZodNumber;
|
|
20
|
+
eager: z.ZodString;
|
|
21
|
+
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.APPROVED, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.REJECTED]>>>;
|
|
22
|
+
orderByDesc: z.ZodString;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
orderByDesc: string;
|
|
25
|
+
rangeStart: number;
|
|
26
|
+
rangeEnd: number;
|
|
27
|
+
eager: string;
|
|
28
|
+
approvalStatus?: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS | null | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
orderByDesc: string;
|
|
31
|
+
rangeStart: number;
|
|
32
|
+
rangeEnd: number;
|
|
33
|
+
eager: string;
|
|
34
|
+
approvalStatus?: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS | null | undefined;
|
|
35
|
+
}>;
|
|
18
36
|
method: "GET";
|
|
19
37
|
path: "";
|
|
20
38
|
responses: {
|
|
21
39
|
200: z.ZodObject<{
|
|
22
40
|
results: z.ZodArray<z.ZodObject<{
|
|
41
|
+
channel: z.ZodString;
|
|
23
42
|
msisdn: z.ZodString;
|
|
24
43
|
amount: z.ZodNumber;
|
|
25
44
|
description: z.ZodString;
|
|
26
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
} & {
|
|
45
|
+
notes: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
|
|
28
46
|
id: z.ZodString;
|
|
29
47
|
profileId: z.ZodString;
|
|
30
48
|
payeeName: z.ZodString;
|
|
31
|
-
|
|
32
|
-
currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
|
|
33
|
-
channel: z.ZodString;
|
|
34
|
-
status: z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutStatus>;
|
|
49
|
+
status: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_STATUS.CREATED, import("../../models/payout/status.js").PAYOUT_STATUS.PAID, import("../../models/payout/status.js").PAYOUT_STATUS.FAILED, import("../../models/payout/status.js").PAYOUT_STATUS.REJECTED, import("../../models/payout/status.js").PAYOUT_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_STATUS.QUEUED, import("../../models/payout/status.js").PAYOUT_STATUS.REVERSED]>;
|
|
35
50
|
statusMessage: z.ZodString;
|
|
36
|
-
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
partnerReference: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
|
|
37
52
|
createdAt: z.ZodDate;
|
|
38
53
|
updatedAt: z.ZodDate;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
|
-
id: z.ZodString;
|
|
54
|
+
approvalStatus: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.APPROVED, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.REJECTED]>;
|
|
55
|
+
createdBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
43
56
|
name: z.ZodString;
|
|
44
57
|
identity: z.ZodString;
|
|
45
|
-
},
|
|
58
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
46
59
|
name: string;
|
|
47
|
-
id: string;
|
|
48
60
|
identity: string;
|
|
49
61
|
}, {
|
|
50
62
|
name: string;
|
|
51
|
-
id: string;
|
|
52
63
|
identity: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
64
|
+
}>>, {
|
|
65
|
+
name: string;
|
|
66
|
+
identity: string;
|
|
67
|
+
} | undefined, {
|
|
68
|
+
name: string;
|
|
69
|
+
identity: string;
|
|
70
|
+
} | null>>;
|
|
71
|
+
actionedBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
56
72
|
name: z.ZodString;
|
|
57
73
|
identity: z.ZodString;
|
|
58
|
-
},
|
|
74
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
59
75
|
name: string;
|
|
60
|
-
id: string;
|
|
61
76
|
identity: string;
|
|
62
77
|
}, {
|
|
63
78
|
name: string;
|
|
64
|
-
id: string;
|
|
65
79
|
identity: string;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
80
|
+
}>>, {
|
|
81
|
+
name: string;
|
|
82
|
+
identity: string;
|
|
83
|
+
} | undefined, {
|
|
84
|
+
name: string;
|
|
85
|
+
identity: string;
|
|
86
|
+
} | null>>;
|
|
87
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
88
|
+
status: import("../../models/payout/status.js").PAYOUT_STATUS;
|
|
69
89
|
id: string;
|
|
90
|
+
channel: string;
|
|
70
91
|
profileId: string;
|
|
71
92
|
createdAt: Date;
|
|
72
93
|
updatedAt: Date;
|
|
73
|
-
description: string;
|
|
74
|
-
channel: string;
|
|
75
|
-
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
76
|
-
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
77
94
|
msisdn: string;
|
|
78
95
|
amount: number;
|
|
96
|
+
description: string;
|
|
79
97
|
payeeName: string;
|
|
80
98
|
statusMessage: string;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
99
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
100
|
+
notes?: string | undefined;
|
|
101
|
+
partnerReference?: string | undefined;
|
|
85
102
|
createdBy?: {
|
|
86
103
|
name: string;
|
|
87
|
-
id: string;
|
|
88
104
|
identity: string;
|
|
89
|
-
} |
|
|
105
|
+
} | undefined;
|
|
90
106
|
actionedBy?: {
|
|
91
107
|
name: string;
|
|
92
|
-
id: string;
|
|
93
108
|
identity: string;
|
|
94
|
-
} |
|
|
109
|
+
} | undefined;
|
|
95
110
|
}, {
|
|
96
|
-
status: import("
|
|
111
|
+
status: import("../../models/payout/status.js").PAYOUT_STATUS;
|
|
97
112
|
id: string;
|
|
113
|
+
channel: string;
|
|
98
114
|
profileId: string;
|
|
99
115
|
createdAt: Date;
|
|
100
116
|
updatedAt: Date;
|
|
101
|
-
description: string;
|
|
102
|
-
channel: string;
|
|
103
117
|
msisdn: string;
|
|
104
118
|
amount: number;
|
|
119
|
+
description: string;
|
|
105
120
|
payeeName: string;
|
|
106
121
|
statusMessage: string;
|
|
107
|
-
|
|
108
|
-
currencyCode?: string | undefined;
|
|
122
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
109
123
|
notes?: string | null | undefined;
|
|
110
124
|
partnerReference?: string | null | undefined;
|
|
111
|
-
actionedAt?: Date | null | undefined;
|
|
112
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
113
125
|
createdBy?: {
|
|
114
126
|
name: string;
|
|
115
|
-
id: string;
|
|
116
127
|
identity: string;
|
|
117
128
|
} | null | undefined;
|
|
118
129
|
actionedBy?: {
|
|
119
130
|
name: string;
|
|
120
|
-
id: string;
|
|
121
131
|
identity: string;
|
|
122
132
|
} | null | undefined;
|
|
123
133
|
}>, "many">;
|
|
124
134
|
total: z.ZodNumber;
|
|
125
135
|
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
total: number;
|
|
127
136
|
results: {
|
|
128
|
-
status: import("
|
|
137
|
+
status: import("../../models/payout/status.js").PAYOUT_STATUS;
|
|
129
138
|
id: string;
|
|
139
|
+
channel: string;
|
|
130
140
|
profileId: string;
|
|
131
141
|
createdAt: Date;
|
|
132
142
|
updatedAt: Date;
|
|
133
|
-
description: string;
|
|
134
|
-
channel: string;
|
|
135
|
-
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
136
|
-
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
137
143
|
msisdn: string;
|
|
138
144
|
amount: number;
|
|
145
|
+
description: string;
|
|
139
146
|
payeeName: string;
|
|
140
147
|
statusMessage: string;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
148
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
149
|
+
notes?: string | undefined;
|
|
150
|
+
partnerReference?: string | undefined;
|
|
145
151
|
createdBy?: {
|
|
146
152
|
name: string;
|
|
147
|
-
id: string;
|
|
148
153
|
identity: string;
|
|
149
|
-
} |
|
|
154
|
+
} | undefined;
|
|
150
155
|
actionedBy?: {
|
|
151
156
|
name: string;
|
|
152
|
-
id: string;
|
|
153
157
|
identity: string;
|
|
154
|
-
} |
|
|
158
|
+
} | undefined;
|
|
155
159
|
}[];
|
|
156
|
-
}, {
|
|
157
160
|
total: number;
|
|
161
|
+
}, {
|
|
158
162
|
results: {
|
|
159
|
-
status: import("
|
|
163
|
+
status: import("../../models/payout/status.js").PAYOUT_STATUS;
|
|
160
164
|
id: string;
|
|
165
|
+
channel: string;
|
|
161
166
|
profileId: string;
|
|
162
167
|
createdAt: Date;
|
|
163
168
|
updatedAt: Date;
|
|
164
|
-
description: string;
|
|
165
|
-
channel: string;
|
|
166
169
|
msisdn: string;
|
|
167
170
|
amount: number;
|
|
171
|
+
description: string;
|
|
168
172
|
payeeName: string;
|
|
169
173
|
statusMessage: string;
|
|
170
|
-
|
|
171
|
-
currencyCode?: string | undefined;
|
|
174
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
172
175
|
notes?: string | null | undefined;
|
|
173
176
|
partnerReference?: string | null | undefined;
|
|
174
|
-
actionedAt?: Date | null | undefined;
|
|
175
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
176
177
|
createdBy?: {
|
|
177
178
|
name: string;
|
|
178
|
-
id: string;
|
|
179
179
|
identity: string;
|
|
180
180
|
} | null | undefined;
|
|
181
181
|
actionedBy?: {
|
|
182
182
|
name: string;
|
|
183
|
-
id: string;
|
|
184
183
|
identity: string;
|
|
185
184
|
} | null | undefined;
|
|
186
185
|
}[];
|
|
186
|
+
total: number;
|
|
187
187
|
}>;
|
|
188
188
|
};
|
|
189
189
|
};
|
|
@@ -192,190 +192,172 @@ export declare const contract: {
|
|
|
192
192
|
rangeStart: z.ZodNumber;
|
|
193
193
|
rangeEnd: z.ZodNumber;
|
|
194
194
|
eager: z.ZodString;
|
|
195
|
-
approvalStatus: z.
|
|
195
|
+
approvalStatus: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.APPROVED, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.REJECTED]>;
|
|
196
196
|
orderByDesc: z.ZodString;
|
|
197
197
|
}, "strip", z.ZodTypeAny, {
|
|
198
|
-
|
|
198
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
199
|
+
orderByDesc: string;
|
|
199
200
|
rangeStart: number;
|
|
200
201
|
rangeEnd: number;
|
|
201
|
-
orderByDesc: string;
|
|
202
|
-
approvalStatus: import("./payout.dtos.js").PayoutApprovalStatus;
|
|
203
|
-
}, {
|
|
204
202
|
eager: string;
|
|
203
|
+
}, {
|
|
204
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
205
|
+
orderByDesc: string;
|
|
205
206
|
rangeStart: number;
|
|
206
207
|
rangeEnd: number;
|
|
207
|
-
|
|
208
|
-
approvalStatus: import("./payout.dtos.js").PayoutApprovalStatus;
|
|
208
|
+
eager: string;
|
|
209
209
|
}>;
|
|
210
210
|
method: "GET";
|
|
211
211
|
path: "";
|
|
212
212
|
responses: {
|
|
213
213
|
200: z.ZodObject<{
|
|
214
214
|
results: z.ZodArray<z.ZodObject<{
|
|
215
|
+
channel: z.ZodString;
|
|
215
216
|
msisdn: z.ZodString;
|
|
216
217
|
amount: z.ZodNumber;
|
|
217
218
|
description: z.ZodString;
|
|
218
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
|
-
} & {
|
|
219
|
+
notes: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
|
|
220
220
|
id: z.ZodString;
|
|
221
221
|
profileId: z.ZodString;
|
|
222
222
|
payeeName: z.ZodString;
|
|
223
|
-
|
|
224
|
-
currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
|
|
225
|
-
channel: z.ZodString;
|
|
226
|
-
status: z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutStatus>;
|
|
223
|
+
status: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_STATUS.CREATED, import("../../models/payout/status.js").PAYOUT_STATUS.PAID, import("../../models/payout/status.js").PAYOUT_STATUS.FAILED, import("../../models/payout/status.js").PAYOUT_STATUS.REJECTED, import("../../models/payout/status.js").PAYOUT_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_STATUS.QUEUED, import("../../models/payout/status.js").PAYOUT_STATUS.REVERSED]>;
|
|
227
224
|
statusMessage: z.ZodString;
|
|
228
|
-
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
225
|
+
partnerReference: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
|
|
229
226
|
createdAt: z.ZodDate;
|
|
230
227
|
updatedAt: z.ZodDate;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
234
|
-
id: z.ZodString;
|
|
228
|
+
approvalStatus: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.APPROVED, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.REJECTED]>;
|
|
229
|
+
createdBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
235
230
|
name: z.ZodString;
|
|
236
231
|
identity: z.ZodString;
|
|
237
|
-
},
|
|
232
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
238
233
|
name: string;
|
|
239
|
-
id: string;
|
|
240
234
|
identity: string;
|
|
241
235
|
}, {
|
|
242
236
|
name: string;
|
|
243
|
-
id: string;
|
|
244
237
|
identity: string;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
|
|
238
|
+
}>>, {
|
|
239
|
+
name: string;
|
|
240
|
+
identity: string;
|
|
241
|
+
} | undefined, {
|
|
242
|
+
name: string;
|
|
243
|
+
identity: string;
|
|
244
|
+
} | null>>;
|
|
245
|
+
actionedBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
248
246
|
name: z.ZodString;
|
|
249
247
|
identity: z.ZodString;
|
|
250
|
-
},
|
|
248
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
251
249
|
name: string;
|
|
252
|
-
id: string;
|
|
253
250
|
identity: string;
|
|
254
251
|
}, {
|
|
255
252
|
name: string;
|
|
256
|
-
id: string;
|
|
257
253
|
identity: string;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
|
|
254
|
+
}>>, {
|
|
255
|
+
name: string;
|
|
256
|
+
identity: string;
|
|
257
|
+
} | undefined, {
|
|
258
|
+
name: string;
|
|
259
|
+
identity: string;
|
|
260
|
+
} | null>>;
|
|
261
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
262
|
+
status: import("../../models/payout/status.js").PAYOUT_STATUS;
|
|
261
263
|
id: string;
|
|
264
|
+
channel: string;
|
|
262
265
|
profileId: string;
|
|
263
266
|
createdAt: Date;
|
|
264
267
|
updatedAt: Date;
|
|
265
|
-
description: string;
|
|
266
|
-
channel: string;
|
|
267
|
-
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
268
|
-
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
269
268
|
msisdn: string;
|
|
270
269
|
amount: number;
|
|
270
|
+
description: string;
|
|
271
271
|
payeeName: string;
|
|
272
272
|
statusMessage: string;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
273
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
274
|
+
notes?: string | undefined;
|
|
275
|
+
partnerReference?: string | undefined;
|
|
277
276
|
createdBy?: {
|
|
278
277
|
name: string;
|
|
279
|
-
id: string;
|
|
280
278
|
identity: string;
|
|
281
|
-
} |
|
|
279
|
+
} | undefined;
|
|
282
280
|
actionedBy?: {
|
|
283
281
|
name: string;
|
|
284
|
-
id: string;
|
|
285
282
|
identity: string;
|
|
286
|
-
} |
|
|
283
|
+
} | undefined;
|
|
287
284
|
}, {
|
|
288
|
-
status: import("
|
|
285
|
+
status: import("../../models/payout/status.js").PAYOUT_STATUS;
|
|
289
286
|
id: string;
|
|
287
|
+
channel: string;
|
|
290
288
|
profileId: string;
|
|
291
289
|
createdAt: Date;
|
|
292
290
|
updatedAt: Date;
|
|
293
|
-
description: string;
|
|
294
|
-
channel: string;
|
|
295
291
|
msisdn: string;
|
|
296
292
|
amount: number;
|
|
293
|
+
description: string;
|
|
297
294
|
payeeName: string;
|
|
298
295
|
statusMessage: string;
|
|
299
|
-
|
|
300
|
-
currencyCode?: string | undefined;
|
|
296
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
301
297
|
notes?: string | null | undefined;
|
|
302
298
|
partnerReference?: string | null | undefined;
|
|
303
|
-
actionedAt?: Date | null | undefined;
|
|
304
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
305
299
|
createdBy?: {
|
|
306
300
|
name: string;
|
|
307
|
-
id: string;
|
|
308
301
|
identity: string;
|
|
309
302
|
} | null | undefined;
|
|
310
303
|
actionedBy?: {
|
|
311
304
|
name: string;
|
|
312
|
-
id: string;
|
|
313
305
|
identity: string;
|
|
314
306
|
} | null | undefined;
|
|
315
307
|
}>, "many">;
|
|
316
308
|
total: z.ZodNumber;
|
|
317
309
|
}, "strip", z.ZodTypeAny, {
|
|
318
|
-
total: number;
|
|
319
310
|
results: {
|
|
320
|
-
status: import("
|
|
311
|
+
status: import("../../models/payout/status.js").PAYOUT_STATUS;
|
|
321
312
|
id: string;
|
|
313
|
+
channel: string;
|
|
322
314
|
profileId: string;
|
|
323
315
|
createdAt: Date;
|
|
324
316
|
updatedAt: Date;
|
|
325
|
-
description: string;
|
|
326
|
-
channel: string;
|
|
327
|
-
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
328
|
-
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
329
317
|
msisdn: string;
|
|
330
318
|
amount: number;
|
|
319
|
+
description: string;
|
|
331
320
|
payeeName: string;
|
|
332
321
|
statusMessage: string;
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
322
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
323
|
+
notes?: string | undefined;
|
|
324
|
+
partnerReference?: string | undefined;
|
|
337
325
|
createdBy?: {
|
|
338
326
|
name: string;
|
|
339
|
-
id: string;
|
|
340
327
|
identity: string;
|
|
341
|
-
} |
|
|
328
|
+
} | undefined;
|
|
342
329
|
actionedBy?: {
|
|
343
330
|
name: string;
|
|
344
|
-
id: string;
|
|
345
331
|
identity: string;
|
|
346
|
-
} |
|
|
332
|
+
} | undefined;
|
|
347
333
|
}[];
|
|
348
|
-
}, {
|
|
349
334
|
total: number;
|
|
335
|
+
}, {
|
|
350
336
|
results: {
|
|
351
|
-
status: import("
|
|
337
|
+
status: import("../../models/payout/status.js").PAYOUT_STATUS;
|
|
352
338
|
id: string;
|
|
339
|
+
channel: string;
|
|
353
340
|
profileId: string;
|
|
354
341
|
createdAt: Date;
|
|
355
342
|
updatedAt: Date;
|
|
356
|
-
description: string;
|
|
357
|
-
channel: string;
|
|
358
343
|
msisdn: string;
|
|
359
344
|
amount: number;
|
|
345
|
+
description: string;
|
|
360
346
|
payeeName: string;
|
|
361
347
|
statusMessage: string;
|
|
362
|
-
|
|
363
|
-
currencyCode?: string | undefined;
|
|
348
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
364
349
|
notes?: string | null | undefined;
|
|
365
350
|
partnerReference?: string | null | undefined;
|
|
366
|
-
actionedAt?: Date | null | undefined;
|
|
367
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
368
351
|
createdBy?: {
|
|
369
352
|
name: string;
|
|
370
|
-
id: string;
|
|
371
353
|
identity: string;
|
|
372
354
|
} | null | undefined;
|
|
373
355
|
actionedBy?: {
|
|
374
356
|
name: string;
|
|
375
|
-
id: string;
|
|
376
357
|
identity: string;
|
|
377
358
|
} | null | undefined;
|
|
378
359
|
}[];
|
|
360
|
+
total: number;
|
|
379
361
|
}>;
|
|
380
362
|
};
|
|
381
363
|
};
|
|
@@ -386,125 +368,116 @@ export declare const contract: {
|
|
|
386
368
|
msisdn: z.ZodString;
|
|
387
369
|
amount: z.ZodNumber;
|
|
388
370
|
description: z.ZodString;
|
|
389
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
390
|
-
} & {
|
|
371
|
+
notes: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
|
|
391
372
|
payeeName: z.ZodString;
|
|
392
|
-
},
|
|
393
|
-
description: string;
|
|
373
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
394
374
|
channel: string;
|
|
395
375
|
msisdn: string;
|
|
396
376
|
amount: number;
|
|
377
|
+
description: string;
|
|
397
378
|
payeeName: string;
|
|
398
|
-
notes?: string |
|
|
379
|
+
notes?: string | undefined;
|
|
399
380
|
}, {
|
|
400
|
-
description: string;
|
|
401
381
|
channel: string;
|
|
402
382
|
msisdn: string;
|
|
403
383
|
amount: number;
|
|
384
|
+
description: string;
|
|
404
385
|
payeeName: string;
|
|
405
386
|
notes?: string | null | undefined;
|
|
406
387
|
}>;
|
|
407
388
|
path: "";
|
|
408
389
|
responses: {
|
|
409
390
|
201: z.ZodObject<{
|
|
391
|
+
channel: z.ZodString;
|
|
410
392
|
msisdn: z.ZodString;
|
|
411
393
|
amount: z.ZodNumber;
|
|
412
394
|
description: z.ZodString;
|
|
413
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
414
|
-
} & {
|
|
395
|
+
notes: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
|
|
415
396
|
id: z.ZodString;
|
|
416
397
|
profileId: z.ZodString;
|
|
417
398
|
payeeName: z.ZodString;
|
|
418
|
-
|
|
419
|
-
currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
|
|
420
|
-
channel: z.ZodString;
|
|
421
|
-
status: z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutStatus>;
|
|
399
|
+
status: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_STATUS.CREATED, import("../../models/payout/status.js").PAYOUT_STATUS.PAID, import("../../models/payout/status.js").PAYOUT_STATUS.FAILED, import("../../models/payout/status.js").PAYOUT_STATUS.REJECTED, import("../../models/payout/status.js").PAYOUT_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_STATUS.QUEUED, import("../../models/payout/status.js").PAYOUT_STATUS.REVERSED]>;
|
|
422
400
|
statusMessage: z.ZodString;
|
|
423
|
-
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
401
|
+
partnerReference: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
|
|
424
402
|
createdAt: z.ZodDate;
|
|
425
403
|
updatedAt: z.ZodDate;
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
429
|
-
id: z.ZodString;
|
|
404
|
+
approvalStatus: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.APPROVED, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.REJECTED]>;
|
|
405
|
+
createdBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
430
406
|
name: z.ZodString;
|
|
431
407
|
identity: z.ZodString;
|
|
432
|
-
},
|
|
408
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
433
409
|
name: string;
|
|
434
|
-
id: string;
|
|
435
410
|
identity: string;
|
|
436
411
|
}, {
|
|
437
412
|
name: string;
|
|
438
|
-
id: string;
|
|
439
413
|
identity: string;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
|
|
414
|
+
}>>, {
|
|
415
|
+
name: string;
|
|
416
|
+
identity: string;
|
|
417
|
+
} | undefined, {
|
|
418
|
+
name: string;
|
|
419
|
+
identity: string;
|
|
420
|
+
} | null>>;
|
|
421
|
+
actionedBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
443
422
|
name: z.ZodString;
|
|
444
423
|
identity: z.ZodString;
|
|
445
|
-
},
|
|
424
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
446
425
|
name: string;
|
|
447
|
-
id: string;
|
|
448
426
|
identity: string;
|
|
449
427
|
}, {
|
|
450
428
|
name: string;
|
|
451
|
-
id: string;
|
|
452
429
|
identity: string;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
|
|
430
|
+
}>>, {
|
|
431
|
+
name: string;
|
|
432
|
+
identity: string;
|
|
433
|
+
} | undefined, {
|
|
434
|
+
name: string;
|
|
435
|
+
identity: string;
|
|
436
|
+
} | null>>;
|
|
437
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
438
|
+
status: import("../../models/payout/status.js").PAYOUT_STATUS;
|
|
456
439
|
id: string;
|
|
440
|
+
channel: string;
|
|
457
441
|
profileId: string;
|
|
458
442
|
createdAt: Date;
|
|
459
443
|
updatedAt: Date;
|
|
460
|
-
description: string;
|
|
461
|
-
channel: string;
|
|
462
|
-
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
463
|
-
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
464
444
|
msisdn: string;
|
|
465
445
|
amount: number;
|
|
446
|
+
description: string;
|
|
466
447
|
payeeName: string;
|
|
467
448
|
statusMessage: string;
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
449
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
450
|
+
notes?: string | undefined;
|
|
451
|
+
partnerReference?: string | undefined;
|
|
472
452
|
createdBy?: {
|
|
473
453
|
name: string;
|
|
474
|
-
id: string;
|
|
475
454
|
identity: string;
|
|
476
|
-
} |
|
|
455
|
+
} | undefined;
|
|
477
456
|
actionedBy?: {
|
|
478
457
|
name: string;
|
|
479
|
-
id: string;
|
|
480
458
|
identity: string;
|
|
481
|
-
} |
|
|
459
|
+
} | undefined;
|
|
482
460
|
}, {
|
|
483
|
-
status: import("
|
|
461
|
+
status: import("../../models/payout/status.js").PAYOUT_STATUS;
|
|
484
462
|
id: string;
|
|
463
|
+
channel: string;
|
|
485
464
|
profileId: string;
|
|
486
465
|
createdAt: Date;
|
|
487
466
|
updatedAt: Date;
|
|
488
|
-
description: string;
|
|
489
|
-
channel: string;
|
|
490
467
|
msisdn: string;
|
|
491
468
|
amount: number;
|
|
469
|
+
description: string;
|
|
492
470
|
payeeName: string;
|
|
493
471
|
statusMessage: string;
|
|
494
|
-
|
|
495
|
-
currencyCode?: string | undefined;
|
|
472
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
496
473
|
notes?: string | null | undefined;
|
|
497
474
|
partnerReference?: string | null | undefined;
|
|
498
|
-
actionedAt?: Date | null | undefined;
|
|
499
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
500
475
|
createdBy?: {
|
|
501
476
|
name: string;
|
|
502
|
-
id: string;
|
|
503
477
|
identity: string;
|
|
504
478
|
} | null | undefined;
|
|
505
479
|
actionedBy?: {
|
|
506
480
|
name: string;
|
|
507
|
-
id: string;
|
|
508
481
|
identity: string;
|
|
509
482
|
} | null | undefined;
|
|
510
483
|
}>;
|
|
@@ -545,218 +518,101 @@ export declare const contract: {
|
|
|
545
518
|
path: "/:id/approve";
|
|
546
519
|
responses: {
|
|
547
520
|
201: z.ZodObject<{
|
|
521
|
+
channel: z.ZodString;
|
|
548
522
|
msisdn: z.ZodString;
|
|
549
523
|
amount: z.ZodNumber;
|
|
550
524
|
description: z.ZodString;
|
|
551
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
552
|
-
} & {
|
|
525
|
+
notes: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
|
|
553
526
|
id: z.ZodString;
|
|
554
527
|
profileId: z.ZodString;
|
|
555
528
|
payeeName: z.ZodString;
|
|
556
|
-
|
|
557
|
-
currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
|
|
558
|
-
channel: z.ZodString;
|
|
559
|
-
status: z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutStatus>;
|
|
529
|
+
status: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_STATUS.CREATED, import("../../models/payout/status.js").PAYOUT_STATUS.PAID, import("../../models/payout/status.js").PAYOUT_STATUS.FAILED, import("../../models/payout/status.js").PAYOUT_STATUS.REJECTED, import("../../models/payout/status.js").PAYOUT_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_STATUS.QUEUED, import("../../models/payout/status.js").PAYOUT_STATUS.REVERSED]>;
|
|
560
530
|
statusMessage: z.ZodString;
|
|
561
|
-
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
531
|
+
partnerReference: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>;
|
|
562
532
|
createdAt: z.ZodDate;
|
|
563
533
|
updatedAt: z.ZodDate;
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
567
|
-
id: z.ZodString;
|
|
568
|
-
name: z.ZodString;
|
|
569
|
-
identity: z.ZodString;
|
|
570
|
-
}, "strip", z.ZodTypeAny, {
|
|
571
|
-
name: string;
|
|
572
|
-
id: string;
|
|
573
|
-
identity: string;
|
|
574
|
-
}, {
|
|
575
|
-
name: string;
|
|
576
|
-
id: string;
|
|
577
|
-
identity: string;
|
|
578
|
-
}>>>;
|
|
579
|
-
actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
580
|
-
id: z.ZodString;
|
|
534
|
+
approvalStatus: z.ZodEnum<[import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.APPROVED, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.PENDING, import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS.REJECTED]>;
|
|
535
|
+
createdBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
581
536
|
name: z.ZodString;
|
|
582
537
|
identity: z.ZodString;
|
|
583
|
-
},
|
|
538
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
584
539
|
name: string;
|
|
585
|
-
id: string;
|
|
586
540
|
identity: string;
|
|
587
541
|
}, {
|
|
588
542
|
name: string;
|
|
589
|
-
id: string;
|
|
590
543
|
identity: string;
|
|
591
|
-
}
|
|
592
|
-
}, "strip", z.ZodTypeAny, {
|
|
593
|
-
status: import("./payout.dtos.js").PayoutStatus;
|
|
594
|
-
id: string;
|
|
595
|
-
profileId: string;
|
|
596
|
-
createdAt: Date;
|
|
597
|
-
updatedAt: Date;
|
|
598
|
-
description: string;
|
|
599
|
-
channel: string;
|
|
600
|
-
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
601
|
-
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
602
|
-
msisdn: string;
|
|
603
|
-
amount: number;
|
|
604
|
-
payeeName: string;
|
|
605
|
-
statusMessage: string;
|
|
606
|
-
notes?: string | null | undefined;
|
|
607
|
-
partnerReference?: string | null | undefined;
|
|
608
|
-
actionedAt?: Date | null | undefined;
|
|
609
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
610
|
-
createdBy?: {
|
|
611
|
-
name: string;
|
|
612
|
-
id: string;
|
|
613
|
-
identity: string;
|
|
614
|
-
} | null | undefined;
|
|
615
|
-
actionedBy?: {
|
|
616
|
-
name: string;
|
|
617
|
-
id: string;
|
|
618
|
-
identity: string;
|
|
619
|
-
} | null | undefined;
|
|
620
|
-
}, {
|
|
621
|
-
status: import("./payout.dtos.js").PayoutStatus;
|
|
622
|
-
id: string;
|
|
623
|
-
profileId: string;
|
|
624
|
-
createdAt: Date;
|
|
625
|
-
updatedAt: Date;
|
|
626
|
-
description: string;
|
|
627
|
-
channel: string;
|
|
628
|
-
msisdn: string;
|
|
629
|
-
amount: number;
|
|
630
|
-
payeeName: string;
|
|
631
|
-
statusMessage: string;
|
|
632
|
-
countryCode?: string | undefined;
|
|
633
|
-
currencyCode?: string | undefined;
|
|
634
|
-
notes?: string | null | undefined;
|
|
635
|
-
partnerReference?: string | null | undefined;
|
|
636
|
-
actionedAt?: Date | null | undefined;
|
|
637
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
638
|
-
createdBy?: {
|
|
544
|
+
}>>, {
|
|
639
545
|
name: string;
|
|
640
|
-
id: string;
|
|
641
546
|
identity: string;
|
|
642
|
-
} |
|
|
643
|
-
actionedBy?: {
|
|
547
|
+
} | undefined, {
|
|
644
548
|
name: string;
|
|
645
|
-
id: string;
|
|
646
549
|
identity: string;
|
|
647
|
-
} | null
|
|
648
|
-
|
|
649
|
-
404: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
650
|
-
409: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
651
|
-
};
|
|
652
|
-
};
|
|
653
|
-
getPayout: {
|
|
654
|
-
method: "GET";
|
|
655
|
-
path: "/:id/";
|
|
656
|
-
responses: {
|
|
657
|
-
200: z.ZodObject<{
|
|
658
|
-
msisdn: z.ZodString;
|
|
659
|
-
amount: z.ZodNumber;
|
|
660
|
-
description: z.ZodString;
|
|
661
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
662
|
-
} & {
|
|
663
|
-
id: z.ZodString;
|
|
664
|
-
profileId: z.ZodString;
|
|
665
|
-
payeeName: z.ZodString;
|
|
666
|
-
countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
|
|
667
|
-
currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
|
|
668
|
-
channel: z.ZodString;
|
|
669
|
-
status: z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutStatus>;
|
|
670
|
-
statusMessage: z.ZodString;
|
|
671
|
-
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
672
|
-
createdAt: z.ZodDate;
|
|
673
|
-
updatedAt: z.ZodDate;
|
|
674
|
-
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
675
|
-
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>>>;
|
|
676
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
677
|
-
id: z.ZodString;
|
|
550
|
+
} | null>>;
|
|
551
|
+
actionedBy: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
678
552
|
name: z.ZodString;
|
|
679
553
|
identity: z.ZodString;
|
|
680
|
-
},
|
|
554
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
681
555
|
name: string;
|
|
682
|
-
id: string;
|
|
683
556
|
identity: string;
|
|
684
557
|
}, {
|
|
685
558
|
name: string;
|
|
686
|
-
id: string;
|
|
687
559
|
identity: string;
|
|
688
|
-
}
|
|
689
|
-
actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
690
|
-
id: z.ZodString;
|
|
691
|
-
name: z.ZodString;
|
|
692
|
-
identity: z.ZodString;
|
|
693
|
-
}, "strip", z.ZodTypeAny, {
|
|
560
|
+
}>>, {
|
|
694
561
|
name: string;
|
|
695
|
-
id: string;
|
|
696
562
|
identity: string;
|
|
697
|
-
}, {
|
|
563
|
+
} | undefined, {
|
|
698
564
|
name: string;
|
|
699
|
-
id: string;
|
|
700
565
|
identity: string;
|
|
701
|
-
}
|
|
702
|
-
},
|
|
703
|
-
status: import("
|
|
566
|
+
} | null>>;
|
|
567
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
568
|
+
status: import("../../models/payout/status.js").PAYOUT_STATUS;
|
|
704
569
|
id: string;
|
|
570
|
+
channel: string;
|
|
705
571
|
profileId: string;
|
|
706
572
|
createdAt: Date;
|
|
707
573
|
updatedAt: Date;
|
|
708
|
-
description: string;
|
|
709
|
-
channel: string;
|
|
710
|
-
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
711
|
-
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
712
574
|
msisdn: string;
|
|
713
575
|
amount: number;
|
|
576
|
+
description: string;
|
|
714
577
|
payeeName: string;
|
|
715
578
|
statusMessage: string;
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
579
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
580
|
+
notes?: string | undefined;
|
|
581
|
+
partnerReference?: string | undefined;
|
|
720
582
|
createdBy?: {
|
|
721
583
|
name: string;
|
|
722
|
-
id: string;
|
|
723
584
|
identity: string;
|
|
724
|
-
} |
|
|
585
|
+
} | undefined;
|
|
725
586
|
actionedBy?: {
|
|
726
587
|
name: string;
|
|
727
|
-
id: string;
|
|
728
588
|
identity: string;
|
|
729
|
-
} |
|
|
589
|
+
} | undefined;
|
|
730
590
|
}, {
|
|
731
|
-
status: import("
|
|
591
|
+
status: import("../../models/payout/status.js").PAYOUT_STATUS;
|
|
732
592
|
id: string;
|
|
593
|
+
channel: string;
|
|
733
594
|
profileId: string;
|
|
734
595
|
createdAt: Date;
|
|
735
596
|
updatedAt: Date;
|
|
736
|
-
description: string;
|
|
737
|
-
channel: string;
|
|
738
597
|
msisdn: string;
|
|
739
598
|
amount: number;
|
|
599
|
+
description: string;
|
|
740
600
|
payeeName: string;
|
|
741
601
|
statusMessage: string;
|
|
742
|
-
|
|
743
|
-
currencyCode?: string | undefined;
|
|
602
|
+
approvalStatus: import("../../models/payout/status.js").PAYOUT_APPROVAL_STATUS;
|
|
744
603
|
notes?: string | null | undefined;
|
|
745
604
|
partnerReference?: string | null | undefined;
|
|
746
|
-
actionedAt?: Date | null | undefined;
|
|
747
|
-
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
748
605
|
createdBy?: {
|
|
749
606
|
name: string;
|
|
750
|
-
id: string;
|
|
751
607
|
identity: string;
|
|
752
608
|
} | null | undefined;
|
|
753
609
|
actionedBy?: {
|
|
754
610
|
name: string;
|
|
755
|
-
id: string;
|
|
756
611
|
identity: string;
|
|
757
612
|
} | null | undefined;
|
|
758
613
|
}>;
|
|
759
614
|
404: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
615
|
+
409: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
760
616
|
};
|
|
761
617
|
};
|
|
762
618
|
};
|
|
@@ -764,3 +620,4 @@ export declare const contract: {
|
|
|
764
620
|
* Export type for use in client implementations
|
|
765
621
|
*/
|
|
766
622
|
export type PayoutAPI = typeof contract;
|
|
623
|
+
//# sourceMappingURL=contract.d.ts.map
|