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