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