@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/admin/contract.d.ts → dist/modules/team-member/team-member.contract.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
4
|
-
description: "Retrieve a list of all
|
|
2
|
+
export declare const teamManagementContract: {
|
|
3
|
+
getTeamMembers: {
|
|
4
|
+
description: "Retrieve a list of all team member accounts in the system";
|
|
5
5
|
query: z.ZodObject<{
|
|
6
6
|
id: z.ZodOptional<z.ZodString>;
|
|
7
7
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -15,34 +15,34 @@ export declare const userManagementContract: {
|
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
16
16
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17
17
|
eager: z.ZodOptional<z.ZodString>;
|
|
18
|
-
},
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
type?: string | undefined;
|
|
20
|
-
id?: string | undefined;
|
|
21
|
-
resetPassword?: number | undefined;
|
|
22
20
|
name?: string | undefined;
|
|
23
|
-
identity?: string | undefined;
|
|
24
|
-
profileId?: string | undefined;
|
|
25
21
|
createdAt?: string | undefined;
|
|
26
|
-
updatedAt?: string | undefined;
|
|
27
22
|
eager?: string | undefined;
|
|
23
|
+
id?: string | undefined;
|
|
24
|
+
profileId?: string | undefined;
|
|
25
|
+
identity?: string | undefined;
|
|
28
26
|
roleId?: string | undefined;
|
|
29
27
|
isActive?: number | undefined;
|
|
30
28
|
isArchived?: number | undefined;
|
|
29
|
+
resetPassword?: number | undefined;
|
|
30
|
+
updatedAt?: string | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
type?: string | undefined;
|
|
33
|
-
id?: string | undefined;
|
|
34
|
-
resetPassword?: number | undefined;
|
|
35
33
|
name?: string | undefined;
|
|
36
|
-
identity?: string | undefined;
|
|
37
|
-
profileId?: string | undefined;
|
|
38
34
|
createdAt?: string | undefined;
|
|
39
|
-
updatedAt?: string | undefined;
|
|
40
35
|
eager?: string | undefined;
|
|
36
|
+
id?: string | undefined;
|
|
37
|
+
profileId?: string | undefined;
|
|
38
|
+
identity?: string | undefined;
|
|
41
39
|
roleId?: string | undefined;
|
|
42
40
|
isActive?: number | undefined;
|
|
43
41
|
isArchived?: number | undefined;
|
|
42
|
+
resetPassword?: number | undefined;
|
|
43
|
+
updatedAt?: string | undefined;
|
|
44
44
|
}>;
|
|
45
|
-
summary: "List all
|
|
45
|
+
summary: "List all team members";
|
|
46
46
|
method: "GET";
|
|
47
47
|
path: "/login";
|
|
48
48
|
responses: {
|
|
@@ -56,54 +56,68 @@ export declare const userManagementContract: {
|
|
|
56
56
|
resetPassword: z.ZodBoolean;
|
|
57
57
|
isActive: z.ZodBoolean;
|
|
58
58
|
isArchived: z.ZodBoolean;
|
|
59
|
-
role: z.ZodOptional<z.
|
|
59
|
+
role: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
id: z.ZodString;
|
|
61
|
+
name: z.ZodString;
|
|
62
|
+
description: z.ZodOptional<z.ZodString>;
|
|
63
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
64
|
+
createdAt: z.ZodString;
|
|
65
|
+
updatedAt: z.ZodString;
|
|
66
|
+
}, "strip", z.ZodTypeAny, {
|
|
67
|
+
name: string;
|
|
68
|
+
createdAt: string;
|
|
60
69
|
id: string;
|
|
70
|
+
updatedAt: string;
|
|
61
71
|
access: string[];
|
|
72
|
+
description?: string | undefined;
|
|
73
|
+
}, {
|
|
62
74
|
name: string;
|
|
63
75
|
createdAt: string;
|
|
76
|
+
id: string;
|
|
64
77
|
updatedAt: string;
|
|
78
|
+
access: string[];
|
|
65
79
|
description?: string | undefined;
|
|
66
80
|
}>>;
|
|
67
81
|
createdAt: z.ZodString;
|
|
68
82
|
updatedAt: z.ZodString;
|
|
69
|
-
},
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
84
|
type: string;
|
|
71
|
-
id: string;
|
|
72
|
-
resetPassword: boolean;
|
|
73
85
|
name: string;
|
|
74
|
-
identity: string;
|
|
75
|
-
profileId: string;
|
|
76
86
|
createdAt: string;
|
|
77
|
-
|
|
87
|
+
id: string;
|
|
88
|
+
profileId: string;
|
|
89
|
+
identity: string;
|
|
78
90
|
roleId: string;
|
|
79
91
|
isActive: boolean;
|
|
80
92
|
isArchived: boolean;
|
|
93
|
+
resetPassword: boolean;
|
|
94
|
+
updatedAt: string;
|
|
81
95
|
role?: {
|
|
82
|
-
id: string;
|
|
83
|
-
access: string[];
|
|
84
96
|
name: string;
|
|
85
97
|
createdAt: string;
|
|
98
|
+
id: string;
|
|
86
99
|
updatedAt: string;
|
|
100
|
+
access: string[];
|
|
87
101
|
description?: string | undefined;
|
|
88
102
|
} | undefined;
|
|
89
103
|
}, {
|
|
90
104
|
type: string;
|
|
91
|
-
id: string;
|
|
92
|
-
resetPassword: boolean;
|
|
93
105
|
name: string;
|
|
94
|
-
identity: string;
|
|
95
|
-
profileId: string;
|
|
96
106
|
createdAt: string;
|
|
97
|
-
|
|
107
|
+
id: string;
|
|
108
|
+
profileId: string;
|
|
109
|
+
identity: string;
|
|
98
110
|
roleId: string;
|
|
99
111
|
isActive: boolean;
|
|
100
112
|
isArchived: boolean;
|
|
113
|
+
resetPassword: boolean;
|
|
114
|
+
updatedAt: string;
|
|
101
115
|
role?: {
|
|
102
|
-
id: string;
|
|
103
|
-
access: string[];
|
|
104
116
|
name: string;
|
|
105
117
|
createdAt: string;
|
|
118
|
+
id: string;
|
|
106
119
|
updatedAt: string;
|
|
120
|
+
access: string[];
|
|
107
121
|
description?: string | undefined;
|
|
108
122
|
} | undefined;
|
|
109
123
|
}>, "many">;
|
|
@@ -123,8 +137,8 @@ export declare const userManagementContract: {
|
|
|
123
137
|
}>;
|
|
124
138
|
};
|
|
125
139
|
};
|
|
126
|
-
|
|
127
|
-
description: "Retrieve detailed information about a specific
|
|
140
|
+
getTeamMember: {
|
|
141
|
+
description: "Retrieve detailed information about a specific team member";
|
|
128
142
|
pathParams: z.ZodObject<{
|
|
129
143
|
id: z.ZodString;
|
|
130
144
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -145,34 +159,34 @@ export declare const userManagementContract: {
|
|
|
145
159
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
146
160
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
147
161
|
eager: z.ZodOptional<z.ZodString>;
|
|
148
|
-
},
|
|
162
|
+
}, "strip", z.ZodTypeAny, {
|
|
149
163
|
type?: string | undefined;
|
|
150
|
-
id?: string | undefined;
|
|
151
|
-
resetPassword?: number | undefined;
|
|
152
164
|
name?: string | undefined;
|
|
153
|
-
identity?: string | undefined;
|
|
154
|
-
profileId?: string | undefined;
|
|
155
165
|
createdAt?: string | undefined;
|
|
156
|
-
updatedAt?: string | undefined;
|
|
157
166
|
eager?: string | undefined;
|
|
167
|
+
id?: string | undefined;
|
|
168
|
+
profileId?: string | undefined;
|
|
169
|
+
identity?: string | undefined;
|
|
158
170
|
roleId?: string | undefined;
|
|
159
171
|
isActive?: number | undefined;
|
|
160
172
|
isArchived?: number | undefined;
|
|
173
|
+
resetPassword?: number | undefined;
|
|
174
|
+
updatedAt?: string | undefined;
|
|
161
175
|
}, {
|
|
162
176
|
type?: string | undefined;
|
|
163
|
-
id?: string | undefined;
|
|
164
|
-
resetPassword?: number | undefined;
|
|
165
177
|
name?: string | undefined;
|
|
166
|
-
identity?: string | undefined;
|
|
167
|
-
profileId?: string | undefined;
|
|
168
178
|
createdAt?: string | undefined;
|
|
169
|
-
updatedAt?: string | undefined;
|
|
170
179
|
eager?: string | undefined;
|
|
180
|
+
id?: string | undefined;
|
|
181
|
+
profileId?: string | undefined;
|
|
182
|
+
identity?: string | undefined;
|
|
171
183
|
roleId?: string | undefined;
|
|
172
184
|
isActive?: number | undefined;
|
|
173
185
|
isArchived?: number | undefined;
|
|
186
|
+
resetPassword?: number | undefined;
|
|
187
|
+
updatedAt?: string | undefined;
|
|
174
188
|
}>;
|
|
175
|
-
summary: "Get
|
|
189
|
+
summary: "Get team member details";
|
|
176
190
|
method: "GET";
|
|
177
191
|
path: "/login/:id";
|
|
178
192
|
responses: {
|
|
@@ -186,54 +200,68 @@ export declare const userManagementContract: {
|
|
|
186
200
|
resetPassword: z.ZodBoolean;
|
|
187
201
|
isActive: z.ZodBoolean;
|
|
188
202
|
isArchived: z.ZodBoolean;
|
|
189
|
-
role: z.ZodOptional<z.
|
|
203
|
+
role: z.ZodOptional<z.ZodObject<{
|
|
204
|
+
id: z.ZodString;
|
|
205
|
+
name: z.ZodString;
|
|
206
|
+
description: z.ZodOptional<z.ZodString>;
|
|
207
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
208
|
+
createdAt: z.ZodString;
|
|
209
|
+
updatedAt: z.ZodString;
|
|
210
|
+
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
name: string;
|
|
212
|
+
createdAt: string;
|
|
190
213
|
id: string;
|
|
214
|
+
updatedAt: string;
|
|
191
215
|
access: string[];
|
|
216
|
+
description?: string | undefined;
|
|
217
|
+
}, {
|
|
192
218
|
name: string;
|
|
193
219
|
createdAt: string;
|
|
220
|
+
id: string;
|
|
194
221
|
updatedAt: string;
|
|
222
|
+
access: string[];
|
|
195
223
|
description?: string | undefined;
|
|
196
224
|
}>>;
|
|
197
225
|
createdAt: z.ZodString;
|
|
198
226
|
updatedAt: z.ZodString;
|
|
199
|
-
},
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
200
228
|
type: string;
|
|
201
|
-
id: string;
|
|
202
|
-
resetPassword: boolean;
|
|
203
229
|
name: string;
|
|
204
|
-
identity: string;
|
|
205
|
-
profileId: string;
|
|
206
230
|
createdAt: string;
|
|
207
|
-
|
|
231
|
+
id: string;
|
|
232
|
+
profileId: string;
|
|
233
|
+
identity: string;
|
|
208
234
|
roleId: string;
|
|
209
235
|
isActive: boolean;
|
|
210
236
|
isArchived: boolean;
|
|
237
|
+
resetPassword: boolean;
|
|
238
|
+
updatedAt: string;
|
|
211
239
|
role?: {
|
|
212
|
-
id: string;
|
|
213
|
-
access: string[];
|
|
214
240
|
name: string;
|
|
215
241
|
createdAt: string;
|
|
242
|
+
id: string;
|
|
216
243
|
updatedAt: string;
|
|
244
|
+
access: string[];
|
|
217
245
|
description?: string | undefined;
|
|
218
246
|
} | undefined;
|
|
219
247
|
}, {
|
|
220
248
|
type: string;
|
|
221
|
-
id: string;
|
|
222
|
-
resetPassword: boolean;
|
|
223
249
|
name: string;
|
|
224
|
-
identity: string;
|
|
225
|
-
profileId: string;
|
|
226
250
|
createdAt: string;
|
|
227
|
-
|
|
251
|
+
id: string;
|
|
252
|
+
profileId: string;
|
|
253
|
+
identity: string;
|
|
228
254
|
roleId: string;
|
|
229
255
|
isActive: boolean;
|
|
230
256
|
isArchived: boolean;
|
|
257
|
+
resetPassword: boolean;
|
|
258
|
+
updatedAt: string;
|
|
231
259
|
role?: {
|
|
232
|
-
id: string;
|
|
233
|
-
access: string[];
|
|
234
260
|
name: string;
|
|
235
261
|
createdAt: string;
|
|
262
|
+
id: string;
|
|
236
263
|
updatedAt: string;
|
|
264
|
+
access: string[];
|
|
237
265
|
description?: string | undefined;
|
|
238
266
|
} | undefined;
|
|
239
267
|
}>;
|
|
@@ -260,9 +288,9 @@ export declare const userManagementContract: {
|
|
|
260
288
|
}>;
|
|
261
289
|
};
|
|
262
290
|
};
|
|
263
|
-
|
|
264
|
-
description: "Create a new
|
|
265
|
-
summary: "Create new
|
|
291
|
+
createTeamMember: {
|
|
292
|
+
description: "Create a new team member account with specified role and permissions";
|
|
293
|
+
summary: "Create new team member";
|
|
266
294
|
method: "POST";
|
|
267
295
|
body: z.ZodObject<{
|
|
268
296
|
name: z.ZodString;
|
|
@@ -270,18 +298,18 @@ export declare const userManagementContract: {
|
|
|
270
298
|
password: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
271
299
|
roleId: z.ZodOptional<z.ZodString>;
|
|
272
300
|
resetPassword: z.ZodOptional<z.ZodBoolean>;
|
|
273
|
-
},
|
|
301
|
+
}, "strip", z.ZodTypeAny, {
|
|
274
302
|
name: string;
|
|
275
303
|
identity: string;
|
|
304
|
+
roleId?: string | undefined;
|
|
276
305
|
resetPassword?: boolean | undefined;
|
|
277
306
|
password?: string | undefined;
|
|
278
|
-
roleId?: string | undefined;
|
|
279
307
|
}, {
|
|
280
308
|
name: string;
|
|
281
309
|
identity: string;
|
|
310
|
+
roleId?: string | undefined;
|
|
282
311
|
resetPassword?: boolean | undefined;
|
|
283
312
|
password?: string | undefined;
|
|
284
|
-
roleId?: string | undefined;
|
|
285
313
|
}>;
|
|
286
314
|
path: "/login";
|
|
287
315
|
responses: {
|
|
@@ -291,30 +319,36 @@ export declare const userManagementContract: {
|
|
|
291
319
|
identity: z.ZodString;
|
|
292
320
|
type: z.ZodString;
|
|
293
321
|
profileId: z.ZodString;
|
|
322
|
+
resetPassword: z.ZodBoolean;
|
|
294
323
|
roleId: z.ZodString;
|
|
295
324
|
isActive: z.ZodBoolean;
|
|
296
325
|
isArchived: z.ZodBoolean;
|
|
297
326
|
createdAt: z.ZodString;
|
|
298
|
-
|
|
327
|
+
updatedAt: z.ZodString;
|
|
328
|
+
}, "strip", z.ZodTypeAny, {
|
|
299
329
|
type: string;
|
|
300
|
-
id: string;
|
|
301
330
|
name: string;
|
|
302
|
-
identity: string;
|
|
303
|
-
profileId: string;
|
|
304
331
|
createdAt: string;
|
|
332
|
+
id: string;
|
|
333
|
+
profileId: string;
|
|
334
|
+
identity: string;
|
|
305
335
|
roleId: string;
|
|
306
336
|
isActive: boolean;
|
|
307
337
|
isArchived: boolean;
|
|
338
|
+
resetPassword: boolean;
|
|
339
|
+
updatedAt: string;
|
|
308
340
|
}, {
|
|
309
341
|
type: string;
|
|
310
|
-
id: string;
|
|
311
342
|
name: string;
|
|
312
|
-
identity: string;
|
|
313
|
-
profileId: string;
|
|
314
343
|
createdAt: string;
|
|
344
|
+
id: string;
|
|
345
|
+
profileId: string;
|
|
346
|
+
identity: string;
|
|
315
347
|
roleId: string;
|
|
316
348
|
isActive: boolean;
|
|
317
349
|
isArchived: boolean;
|
|
350
|
+
resetPassword: boolean;
|
|
351
|
+
updatedAt: string;
|
|
318
352
|
}>;
|
|
319
353
|
400: z.ZodObject<{
|
|
320
354
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -349,8 +383,8 @@ export declare const userManagementContract: {
|
|
|
349
383
|
}>;
|
|
350
384
|
};
|
|
351
385
|
};
|
|
352
|
-
|
|
353
|
-
description: "Update
|
|
386
|
+
updateTeamMember: {
|
|
387
|
+
description: "Update team member information, role, status, or force password reset";
|
|
354
388
|
pathParams: z.ZodObject<{
|
|
355
389
|
id: z.ZodString;
|
|
356
390
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -358,7 +392,7 @@ export declare const userManagementContract: {
|
|
|
358
392
|
}, {
|
|
359
393
|
id: string;
|
|
360
394
|
}>;
|
|
361
|
-
summary: "Update
|
|
395
|
+
summary: "Update team member";
|
|
362
396
|
method: "PATCH";
|
|
363
397
|
body: z.ZodObject<{
|
|
364
398
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -366,18 +400,18 @@ export declare const userManagementContract: {
|
|
|
366
400
|
password: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
367
401
|
resetPassword: z.ZodOptional<z.ZodBoolean>;
|
|
368
402
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
369
|
-
},
|
|
370
|
-
resetPassword?: boolean | undefined;
|
|
403
|
+
}, "strip", z.ZodTypeAny, {
|
|
371
404
|
name?: string | undefined;
|
|
372
|
-
password?: string | undefined;
|
|
373
405
|
roleId?: string | undefined;
|
|
374
406
|
isActive?: boolean | undefined;
|
|
375
|
-
}, {
|
|
376
407
|
resetPassword?: boolean | undefined;
|
|
377
|
-
name?: string | undefined;
|
|
378
408
|
password?: string | undefined;
|
|
409
|
+
}, {
|
|
410
|
+
name?: string | undefined;
|
|
379
411
|
roleId?: string | undefined;
|
|
380
412
|
isActive?: boolean | undefined;
|
|
413
|
+
resetPassword?: boolean | undefined;
|
|
414
|
+
password?: string | undefined;
|
|
381
415
|
}>;
|
|
382
416
|
path: "/login/:id";
|
|
383
417
|
responses: {
|
|
@@ -391,54 +425,68 @@ export declare const userManagementContract: {
|
|
|
391
425
|
resetPassword: z.ZodBoolean;
|
|
392
426
|
isActive: z.ZodBoolean;
|
|
393
427
|
isArchived: z.ZodBoolean;
|
|
394
|
-
role: z.ZodOptional<z.
|
|
428
|
+
role: z.ZodOptional<z.ZodObject<{
|
|
429
|
+
id: z.ZodString;
|
|
430
|
+
name: z.ZodString;
|
|
431
|
+
description: z.ZodOptional<z.ZodString>;
|
|
432
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
433
|
+
createdAt: z.ZodString;
|
|
434
|
+
updatedAt: z.ZodString;
|
|
435
|
+
}, "strip", z.ZodTypeAny, {
|
|
436
|
+
name: string;
|
|
437
|
+
createdAt: string;
|
|
395
438
|
id: string;
|
|
439
|
+
updatedAt: string;
|
|
396
440
|
access: string[];
|
|
441
|
+
description?: string | undefined;
|
|
442
|
+
}, {
|
|
397
443
|
name: string;
|
|
398
444
|
createdAt: string;
|
|
445
|
+
id: string;
|
|
399
446
|
updatedAt: string;
|
|
447
|
+
access: string[];
|
|
400
448
|
description?: string | undefined;
|
|
401
449
|
}>>;
|
|
402
450
|
createdAt: z.ZodString;
|
|
403
451
|
updatedAt: z.ZodString;
|
|
404
|
-
},
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
405
453
|
type: string;
|
|
406
|
-
id: string;
|
|
407
|
-
resetPassword: boolean;
|
|
408
454
|
name: string;
|
|
409
|
-
identity: string;
|
|
410
|
-
profileId: string;
|
|
411
455
|
createdAt: string;
|
|
412
|
-
|
|
456
|
+
id: string;
|
|
457
|
+
profileId: string;
|
|
458
|
+
identity: string;
|
|
413
459
|
roleId: string;
|
|
414
460
|
isActive: boolean;
|
|
415
461
|
isArchived: boolean;
|
|
462
|
+
resetPassword: boolean;
|
|
463
|
+
updatedAt: string;
|
|
416
464
|
role?: {
|
|
417
|
-
id: string;
|
|
418
|
-
access: string[];
|
|
419
465
|
name: string;
|
|
420
466
|
createdAt: string;
|
|
467
|
+
id: string;
|
|
421
468
|
updatedAt: string;
|
|
469
|
+
access: string[];
|
|
422
470
|
description?: string | undefined;
|
|
423
471
|
} | undefined;
|
|
424
472
|
}, {
|
|
425
473
|
type: string;
|
|
426
|
-
id: string;
|
|
427
|
-
resetPassword: boolean;
|
|
428
474
|
name: string;
|
|
429
|
-
identity: string;
|
|
430
|
-
profileId: string;
|
|
431
475
|
createdAt: string;
|
|
432
|
-
|
|
476
|
+
id: string;
|
|
477
|
+
profileId: string;
|
|
478
|
+
identity: string;
|
|
433
479
|
roleId: string;
|
|
434
480
|
isActive: boolean;
|
|
435
481
|
isArchived: boolean;
|
|
482
|
+
resetPassword: boolean;
|
|
483
|
+
updatedAt: string;
|
|
436
484
|
role?: {
|
|
437
|
-
id: string;
|
|
438
|
-
access: string[];
|
|
439
485
|
name: string;
|
|
440
486
|
createdAt: string;
|
|
487
|
+
id: string;
|
|
441
488
|
updatedAt: string;
|
|
489
|
+
access: string[];
|
|
442
490
|
description?: string | undefined;
|
|
443
491
|
} | undefined;
|
|
444
492
|
}>;
|
|
@@ -475,8 +523,8 @@ export declare const userManagementContract: {
|
|
|
475
523
|
}>;
|
|
476
524
|
};
|
|
477
525
|
};
|
|
478
|
-
|
|
479
|
-
description: "Archive (soft delete) a
|
|
526
|
+
archiveTeamMember: {
|
|
527
|
+
description: "Archive (soft delete) a team member account";
|
|
480
528
|
pathParams: z.ZodObject<{
|
|
481
529
|
id: z.ZodString;
|
|
482
530
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -484,7 +532,7 @@ export declare const userManagementContract: {
|
|
|
484
532
|
}, {
|
|
485
533
|
id: string;
|
|
486
534
|
}>;
|
|
487
|
-
summary: "Archive
|
|
535
|
+
summary: "Archive team member";
|
|
488
536
|
method: "POST";
|
|
489
537
|
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
490
538
|
path: "/login/:id/archive";
|
|
@@ -499,54 +547,68 @@ export declare const userManagementContract: {
|
|
|
499
547
|
resetPassword: z.ZodBoolean;
|
|
500
548
|
isActive: z.ZodBoolean;
|
|
501
549
|
isArchived: z.ZodBoolean;
|
|
502
|
-
role: z.ZodOptional<z.
|
|
550
|
+
role: z.ZodOptional<z.ZodObject<{
|
|
551
|
+
id: z.ZodString;
|
|
552
|
+
name: z.ZodString;
|
|
553
|
+
description: z.ZodOptional<z.ZodString>;
|
|
554
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
555
|
+
createdAt: z.ZodString;
|
|
556
|
+
updatedAt: z.ZodString;
|
|
557
|
+
}, "strip", z.ZodTypeAny, {
|
|
558
|
+
name: string;
|
|
559
|
+
createdAt: string;
|
|
503
560
|
id: string;
|
|
561
|
+
updatedAt: string;
|
|
504
562
|
access: string[];
|
|
563
|
+
description?: string | undefined;
|
|
564
|
+
}, {
|
|
505
565
|
name: string;
|
|
506
566
|
createdAt: string;
|
|
567
|
+
id: string;
|
|
507
568
|
updatedAt: string;
|
|
569
|
+
access: string[];
|
|
508
570
|
description?: string | undefined;
|
|
509
571
|
}>>;
|
|
510
572
|
createdAt: z.ZodString;
|
|
511
573
|
updatedAt: z.ZodString;
|
|
512
|
-
},
|
|
574
|
+
}, "strip", z.ZodTypeAny, {
|
|
513
575
|
type: string;
|
|
514
|
-
id: string;
|
|
515
|
-
resetPassword: boolean;
|
|
516
576
|
name: string;
|
|
517
|
-
identity: string;
|
|
518
|
-
profileId: string;
|
|
519
577
|
createdAt: string;
|
|
520
|
-
|
|
578
|
+
id: string;
|
|
579
|
+
profileId: string;
|
|
580
|
+
identity: string;
|
|
521
581
|
roleId: string;
|
|
522
582
|
isActive: boolean;
|
|
523
583
|
isArchived: boolean;
|
|
584
|
+
resetPassword: boolean;
|
|
585
|
+
updatedAt: string;
|
|
524
586
|
role?: {
|
|
525
|
-
id: string;
|
|
526
|
-
access: string[];
|
|
527
587
|
name: string;
|
|
528
588
|
createdAt: string;
|
|
589
|
+
id: string;
|
|
529
590
|
updatedAt: string;
|
|
591
|
+
access: string[];
|
|
530
592
|
description?: string | undefined;
|
|
531
593
|
} | undefined;
|
|
532
594
|
}, {
|
|
533
595
|
type: string;
|
|
534
|
-
id: string;
|
|
535
|
-
resetPassword: boolean;
|
|
536
596
|
name: string;
|
|
537
|
-
identity: string;
|
|
538
|
-
profileId: string;
|
|
539
597
|
createdAt: string;
|
|
540
|
-
|
|
598
|
+
id: string;
|
|
599
|
+
profileId: string;
|
|
600
|
+
identity: string;
|
|
541
601
|
roleId: string;
|
|
542
602
|
isActive: boolean;
|
|
543
603
|
isArchived: boolean;
|
|
604
|
+
resetPassword: boolean;
|
|
605
|
+
updatedAt: string;
|
|
544
606
|
role?: {
|
|
545
|
-
id: string;
|
|
546
|
-
access: string[];
|
|
547
607
|
name: string;
|
|
548
608
|
createdAt: string;
|
|
609
|
+
id: string;
|
|
549
610
|
updatedAt: string;
|
|
611
|
+
access: string[];
|
|
550
612
|
description?: string | undefined;
|
|
551
613
|
} | undefined;
|
|
552
614
|
}>;
|
|
@@ -573,8 +635,8 @@ export declare const userManagementContract: {
|
|
|
573
635
|
}>;
|
|
574
636
|
};
|
|
575
637
|
};
|
|
576
|
-
|
|
577
|
-
description: "
|
|
638
|
+
unArchiveTeamMember: {
|
|
639
|
+
description: "Unarchive a previously archived team member account";
|
|
578
640
|
pathParams: z.ZodObject<{
|
|
579
641
|
id: z.ZodString;
|
|
580
642
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -582,7 +644,7 @@ export declare const userManagementContract: {
|
|
|
582
644
|
}, {
|
|
583
645
|
id: string;
|
|
584
646
|
}>;
|
|
585
|
-
summary: "
|
|
647
|
+
summary: "Unarchive team member";
|
|
586
648
|
method: "POST";
|
|
587
649
|
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
588
650
|
path: "/login/:id/unarchive";
|
|
@@ -597,54 +659,68 @@ export declare const userManagementContract: {
|
|
|
597
659
|
resetPassword: z.ZodBoolean;
|
|
598
660
|
isActive: z.ZodBoolean;
|
|
599
661
|
isArchived: z.ZodBoolean;
|
|
600
|
-
role: z.ZodOptional<z.
|
|
662
|
+
role: z.ZodOptional<z.ZodObject<{
|
|
663
|
+
id: z.ZodString;
|
|
664
|
+
name: z.ZodString;
|
|
665
|
+
description: z.ZodOptional<z.ZodString>;
|
|
666
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
667
|
+
createdAt: z.ZodString;
|
|
668
|
+
updatedAt: z.ZodString;
|
|
669
|
+
}, "strip", z.ZodTypeAny, {
|
|
670
|
+
name: string;
|
|
671
|
+
createdAt: string;
|
|
601
672
|
id: string;
|
|
673
|
+
updatedAt: string;
|
|
602
674
|
access: string[];
|
|
675
|
+
description?: string | undefined;
|
|
676
|
+
}, {
|
|
603
677
|
name: string;
|
|
604
678
|
createdAt: string;
|
|
679
|
+
id: string;
|
|
605
680
|
updatedAt: string;
|
|
681
|
+
access: string[];
|
|
606
682
|
description?: string | undefined;
|
|
607
683
|
}>>;
|
|
608
684
|
createdAt: z.ZodString;
|
|
609
685
|
updatedAt: z.ZodString;
|
|
610
|
-
},
|
|
686
|
+
}, "strip", z.ZodTypeAny, {
|
|
611
687
|
type: string;
|
|
612
|
-
id: string;
|
|
613
|
-
resetPassword: boolean;
|
|
614
688
|
name: string;
|
|
615
|
-
identity: string;
|
|
616
|
-
profileId: string;
|
|
617
689
|
createdAt: string;
|
|
618
|
-
|
|
690
|
+
id: string;
|
|
691
|
+
profileId: string;
|
|
692
|
+
identity: string;
|
|
619
693
|
roleId: string;
|
|
620
694
|
isActive: boolean;
|
|
621
695
|
isArchived: boolean;
|
|
696
|
+
resetPassword: boolean;
|
|
697
|
+
updatedAt: string;
|
|
622
698
|
role?: {
|
|
623
|
-
id: string;
|
|
624
|
-
access: string[];
|
|
625
699
|
name: string;
|
|
626
700
|
createdAt: string;
|
|
701
|
+
id: string;
|
|
627
702
|
updatedAt: string;
|
|
703
|
+
access: string[];
|
|
628
704
|
description?: string | undefined;
|
|
629
705
|
} | undefined;
|
|
630
706
|
}, {
|
|
631
707
|
type: string;
|
|
632
|
-
id: string;
|
|
633
|
-
resetPassword: boolean;
|
|
634
708
|
name: string;
|
|
635
|
-
identity: string;
|
|
636
|
-
profileId: string;
|
|
637
709
|
createdAt: string;
|
|
638
|
-
|
|
710
|
+
id: string;
|
|
711
|
+
profileId: string;
|
|
712
|
+
identity: string;
|
|
639
713
|
roleId: string;
|
|
640
714
|
isActive: boolean;
|
|
641
715
|
isArchived: boolean;
|
|
716
|
+
resetPassword: boolean;
|
|
717
|
+
updatedAt: string;
|
|
642
718
|
role?: {
|
|
643
|
-
id: string;
|
|
644
|
-
access: string[];
|
|
645
719
|
name: string;
|
|
646
720
|
createdAt: string;
|
|
721
|
+
id: string;
|
|
647
722
|
updatedAt: string;
|
|
723
|
+
access: string[];
|
|
648
724
|
description?: string | undefined;
|
|
649
725
|
} | undefined;
|
|
650
726
|
}>;
|
|
@@ -672,7 +748,7 @@ export declare const userManagementContract: {
|
|
|
672
748
|
};
|
|
673
749
|
};
|
|
674
750
|
resetPassword: {
|
|
675
|
-
description: "Reset a
|
|
751
|
+
description: "Reset a team member's password and optionally send notification";
|
|
676
752
|
pathParams: z.ZodObject<{
|
|
677
753
|
id: z.ZodString;
|
|
678
754
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -680,12 +756,12 @@ export declare const userManagementContract: {
|
|
|
680
756
|
}, {
|
|
681
757
|
id: string;
|
|
682
758
|
}>;
|
|
683
|
-
summary: "Reset
|
|
759
|
+
summary: "Reset team member password";
|
|
684
760
|
method: "POST";
|
|
685
761
|
body: z.ZodObject<{
|
|
686
762
|
newPassword: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
687
763
|
sendNotification: z.ZodOptional<z.ZodBoolean>;
|
|
688
|
-
},
|
|
764
|
+
}, "strip", z.ZodTypeAny, {
|
|
689
765
|
newPassword?: string | undefined;
|
|
690
766
|
sendNotification?: boolean | undefined;
|
|
691
767
|
}, {
|
|
@@ -741,22 +817,22 @@ export declare const userManagementContract: {
|
|
|
741
817
|
id: z.ZodString;
|
|
742
818
|
name: z.ZodString;
|
|
743
819
|
description: z.ZodOptional<z.ZodString>;
|
|
744
|
-
access: z.ZodArray<z.ZodString>;
|
|
820
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
745
821
|
createdAt: z.ZodString;
|
|
746
822
|
updatedAt: z.ZodString;
|
|
747
|
-
},
|
|
748
|
-
id: string;
|
|
749
|
-
access: string[];
|
|
823
|
+
}, "strip", z.ZodTypeAny, {
|
|
750
824
|
name: string;
|
|
751
825
|
createdAt: string;
|
|
826
|
+
id: string;
|
|
752
827
|
updatedAt: string;
|
|
828
|
+
access: string[];
|
|
753
829
|
description?: string | undefined;
|
|
754
830
|
}, {
|
|
755
|
-
id: string;
|
|
756
|
-
access: string[];
|
|
757
831
|
name: string;
|
|
758
832
|
createdAt: string;
|
|
833
|
+
id: string;
|
|
759
834
|
updatedAt: string;
|
|
835
|
+
access: string[];
|
|
760
836
|
description?: string | undefined;
|
|
761
837
|
}>, "many">;
|
|
762
838
|
401: z.ZodObject<{
|
|
@@ -792,22 +868,22 @@ export declare const userManagementContract: {
|
|
|
792
868
|
id: z.ZodString;
|
|
793
869
|
name: z.ZodString;
|
|
794
870
|
description: z.ZodOptional<z.ZodString>;
|
|
795
|
-
access: z.ZodArray<z.ZodString>;
|
|
871
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
796
872
|
createdAt: z.ZodString;
|
|
797
873
|
updatedAt: z.ZodString;
|
|
798
|
-
},
|
|
799
|
-
id: string;
|
|
800
|
-
access: string[];
|
|
874
|
+
}, "strip", z.ZodTypeAny, {
|
|
801
875
|
name: string;
|
|
802
876
|
createdAt: string;
|
|
877
|
+
id: string;
|
|
803
878
|
updatedAt: string;
|
|
879
|
+
access: string[];
|
|
804
880
|
description?: string | undefined;
|
|
805
881
|
}, {
|
|
806
|
-
id: string;
|
|
807
|
-
access: string[];
|
|
808
882
|
name: string;
|
|
809
883
|
createdAt: string;
|
|
884
|
+
id: string;
|
|
810
885
|
updatedAt: string;
|
|
886
|
+
access: string[];
|
|
811
887
|
description?: string | undefined;
|
|
812
888
|
}>;
|
|
813
889
|
401: z.ZodObject<{
|
|
@@ -835,8 +911,7 @@ export declare const userManagementContract: {
|
|
|
835
911
|
};
|
|
836
912
|
};
|
|
837
913
|
/**
|
|
838
|
-
* TypeScript type for the complete
|
|
914
|
+
* TypeScript type for the complete team management contract.
|
|
839
915
|
* Use this type for strongly typed API client implementations.
|
|
840
916
|
*/
|
|
841
|
-
export type
|
|
842
|
-
//# sourceMappingURL=contract.d.ts.map
|
|
917
|
+
export type TeamManagementContract = typeof teamManagementContract;
|