@explorins/pers-shared 2.1.208 → 2.1.210
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/dist/cjs/index.d.ts +0 -2
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/shared-lib/constants/chain-permissions.constants.d.ts +14 -0
- package/dist/cjs/shared-lib/constants/chain-permissions.constants.d.ts.map +1 -0
- package/dist/cjs/shared-lib/constants/chain-permissions.constants.js +37 -0
- package/dist/cjs/shared-lib/constants/chain-permissions.constants.js.map +1 -0
- package/dist/cjs/shared-lib/constants/index.d.ts +1 -0
- package/dist/cjs/shared-lib/constants/index.d.ts.map +1 -1
- package/dist/cjs/shared-lib/constants/index.js +1 -0
- package/dist/cjs/shared-lib/constants/index.js.map +1 -1
- package/dist/cjs/shared-lib/dto/business/business.dto.d.ts +2 -1
- package/dist/cjs/shared-lib/dto/business/business.dto.d.ts.map +1 -1
- package/dist/cjs/shared-lib/dto/business/business.dto.js.map +1 -1
- package/dist/cjs/shared-lib/dto/business/businessToggleActive.request.dto.d.ts +2 -1
- package/dist/cjs/shared-lib/dto/business/businessToggleActive.request.dto.d.ts.map +1 -1
- package/dist/cjs/shared-lib/dto/business/businessToggleActive.request.dto.js.map +1 -1
- package/dist/cjs/shared-lib/dto/redemption/redemptionRedeem.request.dto.d.ts.map +1 -1
- package/dist/cjs/shared-lib/dto/redemption/redemptionRedeem.request.dto.js +11 -4
- package/dist/cjs/shared-lib/dto/redemption/redemptionRedeem.request.dto.js.map +1 -1
- package/dist/cjs/shared-lib/dto/token/token-metadata.dto.d.ts +1 -0
- package/dist/cjs/shared-lib/dto/token/token-metadata.dto.d.ts.map +1 -1
- package/dist/cjs/shared-lib/dto/token/token-metadata.dto.js +20 -3
- package/dist/cjs/shared-lib/dto/token/token-metadata.dto.js.map +1 -1
- package/dist/cjs/shared-lib/dto/token/token.request.dto.d.ts +12 -8
- package/dist/cjs/shared-lib/dto/token/token.request.dto.d.ts.map +1 -1
- package/dist/cjs/shared-lib/dto/token/token.request.dto.js +88 -46
- package/dist/cjs/shared-lib/dto/token/token.request.dto.js.map +1 -1
- package/dist/cjs/shared-lib/enum/transaction-trigger-process-type.enum.d.ts +2 -1
- package/dist/cjs/shared-lib/enum/transaction-trigger-process-type.enum.d.ts.map +1 -1
- package/dist/cjs/shared-lib/enum/transaction-trigger-process-type.enum.js +1 -0
- package/dist/cjs/shared-lib/enum/transaction-trigger-process-type.enum.js.map +1 -1
- package/dist/cjs/shared-lib/enum/web3-contract-type.enum.d.ts +2 -0
- package/dist/cjs/shared-lib/enum/web3-contract-type.enum.d.ts.map +1 -1
- package/dist/cjs/shared-lib/enum/web3-contract-type.enum.js +3 -0
- package/dist/cjs/shared-lib/enum/web3-contract-type.enum.js.map +1 -1
- package/dist/cjs/shared-lib/enum/web3-master-wallet-type.enum.d.ts +1 -0
- package/dist/cjs/shared-lib/enum/web3-master-wallet-type.enum.d.ts.map +1 -1
- package/dist/cjs/shared-lib/enum/web3-master-wallet-type.enum.js +1 -0
- package/dist/cjs/shared-lib/enum/web3-master-wallet-type.enum.js.map +1 -1
- package/dist/cjs/shared-lib/interfaces/business-capability-flags.interface.d.ts +16 -0
- package/dist/cjs/shared-lib/interfaces/business-capability-flags.interface.d.ts.map +1 -0
- package/dist/cjs/shared-lib/interfaces/business-capability-flags.interface.js +3 -0
- package/dist/cjs/shared-lib/interfaces/business-capability-flags.interface.js.map +1 -0
- package/dist/cjs/shared-lib/interfaces/index.d.ts +1 -0
- package/dist/cjs/shared-lib/interfaces/index.d.ts.map +1 -1
- package/dist/cjs/shared-lib/interfaces/index.js +1 -0
- package/dist/cjs/shared-lib/interfaces/index.js.map +1 -1
- package/dist/cjs/shared-lib/interfaces/token-storage-data.interface.d.ts +2 -0
- package/dist/cjs/shared-lib/interfaces/token-storage-data.interface.d.ts.map +1 -1
- package/dist/cjs/shared-lib/interfaces/token-storage-data.interface.js +2 -0
- package/dist/cjs/shared-lib/interfaces/token-storage-data.interface.js.map +1 -1
- package/dist/cjs/shared-lib/interfaces/transaction-account-data.interface.d.ts +2 -3
- package/dist/cjs/shared-lib/interfaces/transaction-account-data.interface.d.ts.map +1 -1
- package/dist/cjs/shared-lib/interfaces/ws-relay.types.d.ts +56 -3
- package/dist/cjs/shared-lib/interfaces/ws-relay.types.d.ts.map +1 -1
- package/dist/cjs/shared-lib/interfaces/ws-relay.types.js +7 -0
- package/dist/cjs/shared-lib/interfaces/ws-relay.types.js.map +1 -1
- package/dist/cjs/shared-lib/types/domains.d.ts +1 -0
- package/dist/cjs/shared-lib/types/domains.d.ts.map +1 -1
- package/dist/cjs/shared-lib/types/domains.js +1 -0
- package/dist/cjs/shared-lib/types/domains.js.map +1 -1
- package/dist/cjs/shared-lib/types/filter-options.type.d.ts +2 -1
- package/dist/cjs/shared-lib/types/filter-options.type.d.ts.map +1 -1
- package/dist/cjs/shared-lib/types/filter-options.type.js.map +1 -1
- package/dist/cjs/shared-lib/value-objects/address.value-object.d.ts +8 -0
- package/dist/cjs/shared-lib/value-objects/address.value-object.d.ts.map +1 -1
- package/dist/cjs/shared-lib/value-objects/address.value-object.js +8 -0
- package/dist/cjs/shared-lib/value-objects/address.value-object.js.map +1 -1
- package/dist/esm/browser.js +5 -5
- package/dist/esm/index.d.ts +0 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +8 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/shared-lib/constants/chain-permissions.constants.d.ts +14 -0
- package/dist/esm/shared-lib/constants/chain-permissions.constants.d.ts.map +1 -0
- package/dist/esm/shared-lib/constants/chain-permissions.constants.js +34 -0
- package/dist/esm/shared-lib/constants/chain-permissions.constants.js.map +1 -0
- package/dist/esm/shared-lib/constants/index.d.ts +1 -0
- package/dist/esm/shared-lib/constants/index.d.ts.map +1 -1
- package/dist/esm/shared-lib/constants/index.js +3 -2
- package/dist/esm/shared-lib/constants/index.js.map +1 -1
- package/dist/esm/shared-lib/decorators/index.js +1 -1
- package/dist/esm/shared-lib/dto/account-selector.dto.js +2 -2
- package/dist/esm/shared-lib/dto/account-token-balances.dto.js +1 -1
- package/dist/esm/shared-lib/dto/admin/admin-create.request.dto.js +2 -2
- package/dist/esm/shared-lib/dto/admin/admin.dto.js +2 -2
- package/dist/esm/shared-lib/dto/admin/index.js +2 -2
- package/dist/esm/shared-lib/dto/ai/ai-generation-log.dto.js +2 -2
- package/dist/esm/shared-lib/dto/ai/ai-prompt-config.dto.js +1 -1
- package/dist/esm/shared-lib/dto/ai/index.js +2 -2
- package/dist/esm/shared-lib/dto/analytics/ai-analytics.dto.js +4 -4
- package/dist/esm/shared-lib/dto/analytics/base-analytics.dto.js +1 -1
- package/dist/esm/shared-lib/dto/analytics/business-ranking-analytics.dto.js +3 -3
- package/dist/esm/shared-lib/dto/analytics/campaign-claim-analytics-request.dto.js +5 -5
- package/dist/esm/shared-lib/dto/analytics/campaign-claim-analytics.dto.js +5 -5
- package/dist/esm/shared-lib/dto/analytics/group-by-expression.dto.js +2 -2
- package/dist/esm/shared-lib/dto/analytics/index.js +13 -13
- package/dist/esm/shared-lib/dto/analytics/redemption-redeem-analytics-request.dto.js +5 -5
- package/dist/esm/shared-lib/dto/analytics/retention-analytics.dto.js +3 -3
- package/dist/esm/shared-lib/dto/analytics/tag-analytics.dto.js +1 -1
- package/dist/esm/shared-lib/dto/analytics/transaction-analytics.request.dto.js +6 -6
- package/dist/esm/shared-lib/dto/analytics/user-analytics.dto.js +1 -1
- package/dist/esm/shared-lib/dto/analytics/user-ranking-analytics.dto.js +3 -3
- package/dist/esm/shared-lib/dto/api-key/api-key-verification.dto.js +1 -1
- package/dist/esm/shared-lib/dto/api-key/api-key.dto.js +1 -1
- package/dist/esm/shared-lib/dto/api-key/index.js +3 -3
- package/dist/esm/shared-lib/dto/approval/approval.dto.js +1 -1
- package/dist/esm/shared-lib/dto/approval/create-approval.dto.js +1 -1
- package/dist/esm/shared-lib/dto/approval/index.js +2 -2
- package/dist/esm/shared-lib/dto/auth/auth-token-verification.dto.js +1 -1
- package/dist/esm/shared-lib/dto/auth/auth.dto.js +5 -5
- package/dist/esm/shared-lib/dto/auth/index.js +3 -3
- package/dist/esm/shared-lib/dto/auth/magic-link.dto.js +2 -2
- package/dist/esm/shared-lib/dto/booking/booking.dto.js +2 -2
- package/dist/esm/shared-lib/dto/booking/index.js +2 -2
- package/dist/esm/shared-lib/dto/business/business-create.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/business/business-filter-query.dto.js +1 -1
- package/dist/esm/shared-lib/dto/business/business-membership.dto.js +4 -4
- package/dist/esm/shared-lib/dto/business/business-type.dto.js +1 -1
- package/dist/esm/shared-lib/dto/business/business-update.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/business/business.dto.d.ts +2 -1
- package/dist/esm/shared-lib/dto/business/business.dto.d.ts.map +1 -1
- package/dist/esm/shared-lib/dto/business/business.dto.js +4 -4
- package/dist/esm/shared-lib/dto/business/business.dto.js.map +1 -1
- package/dist/esm/shared-lib/dto/business/businessToggleActive.request.dto.d.ts +2 -1
- package/dist/esm/shared-lib/dto/business/businessToggleActive.request.dto.d.ts.map +1 -1
- package/dist/esm/shared-lib/dto/business/businessToggleActive.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/business/businessToggleActive.request.dto.js.map +1 -1
- package/dist/esm/shared-lib/dto/business/businessTypeCreate.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/business/index.js +9 -9
- package/dist/esm/shared-lib/dto/campaign/campaign-business-engagement.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/campaign/campaign-filter-query.dto.js +1 -1
- package/dist/esm/shared-lib/dto/campaign/campaign.dto.js +6 -6
- package/dist/esm/shared-lib/dto/campaign/campaignClaim.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/campaign/campaignCreate.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/campaign/campaignTrigger.dto.js +4 -4
- package/dist/esm/shared-lib/dto/campaign/campaignTriggerCondition.dto.js +1 -1
- package/dist/esm/shared-lib/dto/campaign/campaignUpdate.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/campaign/campaignUserClaim.dto.js +6 -6
- package/dist/esm/shared-lib/dto/campaign/index.js +11 -11
- package/dist/esm/shared-lib/dto/campaign/trigger-source.dto.js +2 -2
- package/dist/esm/shared-lib/dto/error-response.dto.js +2 -2
- package/dist/esm/shared-lib/dto/events/event-subscription.dto.js +2 -2
- package/dist/esm/shared-lib/dto/events/index.js +1 -1
- package/dist/esm/shared-lib/dto/file/entity-storage-url.dto.js +3 -3
- package/dist/esm/shared-lib/dto/file/index.js +2 -2
- package/dist/esm/shared-lib/dto/index.js +36 -36
- package/dist/esm/shared-lib/dto/notification/index.js +2 -2
- package/dist/esm/shared-lib/dto/notification/notification.dto.js +3 -3
- package/dist/esm/shared-lib/dto/notification/send-notification.dto.js +1 -1
- package/dist/esm/shared-lib/dto/pagination/index.js +2 -2
- package/dist/esm/shared-lib/dto/pagination/pagination.request.dto.js +2 -2
- package/dist/esm/shared-lib/dto/purchase/index.js +9 -9
- package/dist/esm/shared-lib/dto/purchase/purchase.dto.js +1 -1
- package/dist/esm/shared-lib/dto/purchase/purchaseCreate.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/purchase/purchaseCreate.response.dto.js +1 -1
- package/dist/esm/shared-lib/dto/purchase/purchaseTokenUpdate.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/purchase/purchaseType.dto.js +1 -1
- package/dist/esm/shared-lib/dto/redemption/index.js +6 -6
- package/dist/esm/shared-lib/dto/redemption/redemption-filter-query.dto.js +1 -1
- package/dist/esm/shared-lib/dto/redemption/redemption.dto.js +10 -10
- package/dist/esm/shared-lib/dto/redemption/redemptionCreate.request.dto.js +2 -2
- package/dist/esm/shared-lib/dto/redemption/redemptionRedeem.dto.js +5 -5
- package/dist/esm/shared-lib/dto/redemption/redemptionRedeem.request.dto.d.ts.map +1 -1
- package/dist/esm/shared-lib/dto/redemption/redemptionRedeem.request.dto.js +12 -5
- package/dist/esm/shared-lib/dto/redemption/redemptionRedeem.request.dto.js.map +1 -1
- package/dist/esm/shared-lib/dto/redemption/redemptionType.dto.js +2 -2
- package/dist/esm/shared-lib/dto/redirect/index.js +1 -1
- package/dist/esm/shared-lib/dto/signing-account/create-signing-account-request.dto.js +4 -4
- package/dist/esm/shared-lib/dto/signing-account/index.js +5 -5
- package/dist/esm/shared-lib/dto/signing-account/signing-account.dto.js +1 -1
- package/dist/esm/shared-lib/dto/signing-account/update-signing-account.dto.js +1 -1
- package/dist/esm/shared-lib/dto/tenant/email-config.dto.js +2 -2
- package/dist/esm/shared-lib/dto/tenant/index.js +6 -6
- package/dist/esm/shared-lib/dto/tenant/tenant.dto.js +4 -4
- package/dist/esm/shared-lib/dto/tenant/tenantUpdate.request.dto.js +3 -3
- package/dist/esm/shared-lib/dto/token/index.js +8 -8
- package/dist/esm/shared-lib/dto/token/token-balance.dto.js +1 -1
- package/dist/esm/shared-lib/dto/token/token-metadata.dto.d.ts +1 -0
- package/dist/esm/shared-lib/dto/token/token-metadata.dto.d.ts.map +1 -1
- package/dist/esm/shared-lib/dto/token/token-metadata.dto.js +24 -8
- package/dist/esm/shared-lib/dto/token/token-metadata.dto.js.map +1 -1
- package/dist/esm/shared-lib/dto/token/token-selector.dto.js +1 -1
- package/dist/esm/shared-lib/dto/token/token-type.dto.js +2 -2
- package/dist/esm/shared-lib/dto/token/token-unit.dto.js +2 -2
- package/dist/esm/shared-lib/dto/token/token.dto.js +2 -2
- package/dist/esm/shared-lib/dto/token/token.request.dto.d.ts +12 -8
- package/dist/esm/shared-lib/dto/token/token.request.dto.d.ts.map +1 -1
- package/dist/esm/shared-lib/dto/token/token.request.dto.js +84 -44
- package/dist/esm/shared-lib/dto/token/token.request.dto.js.map +1 -1
- package/dist/esm/shared-lib/dto/transaction/index.js +8 -8
- package/dist/esm/shared-lib/dto/transaction/transaction-bulk-data.request.dto.js +2 -2
- package/dist/esm/shared-lib/dto/transaction/transaction-pagination.request.dto.js +5 -5
- package/dist/esm/shared-lib/dto/transaction/transaction-trigger-process.dto.js +1 -1
- package/dist/esm/shared-lib/dto/transaction/transaction.dto.js +7 -7
- package/dist/esm/shared-lib/dto/transaction/transaction.request.dto.js +9 -9
- package/dist/esm/shared-lib/dto/user/index.js +4 -4
- package/dist/esm/shared-lib/dto/user/user.dto.js +3 -3
- package/dist/esm/shared-lib/dto/user/user.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/user/userUploadData.dto.js +1 -1
- package/dist/esm/shared-lib/dto/user-status-type.dto.js +1 -1
- package/dist/esm/shared-lib/dto/wallet.dto.js +2 -2
- package/dist/esm/shared-lib/dto/web3-contract.dto.js +3 -3
- package/dist/esm/shared-lib/dto/webhook/index.js +1 -1
- package/dist/esm/shared-lib/dto/webhook/webhook.dto.js +1 -1
- package/dist/esm/shared-lib/enum/campaign/index.js +3 -3
- package/dist/esm/shared-lib/enum/external-event-type.enum.js +1 -1
- package/dist/esm/shared-lib/enum/index.js +37 -37
- package/dist/esm/shared-lib/enum/purchase/index.js +2 -2
- package/dist/esm/shared-lib/enum/transaction-trigger-process-type.enum.d.ts +2 -1
- package/dist/esm/shared-lib/enum/transaction-trigger-process-type.enum.d.ts.map +1 -1
- package/dist/esm/shared-lib/enum/transaction-trigger-process-type.enum.js +1 -0
- package/dist/esm/shared-lib/enum/transaction-trigger-process-type.enum.js.map +1 -1
- package/dist/esm/shared-lib/enum/web3-contract-type.enum.d.ts +2 -0
- package/dist/esm/shared-lib/enum/web3-contract-type.enum.d.ts.map +1 -1
- package/dist/esm/shared-lib/enum/web3-contract-type.enum.js +3 -0
- package/dist/esm/shared-lib/enum/web3-contract-type.enum.js.map +1 -1
- package/dist/esm/shared-lib/enum/web3-master-wallet-type.enum.d.ts +1 -0
- package/dist/esm/shared-lib/enum/web3-master-wallet-type.enum.d.ts.map +1 -1
- package/dist/esm/shared-lib/enum/web3-master-wallet-type.enum.js +1 -0
- package/dist/esm/shared-lib/enum/web3-master-wallet-type.enum.js.map +1 -1
- package/dist/esm/shared-lib/errors/base-business-error.js +1 -1
- package/dist/esm/shared-lib/errors/domains/authentication-errors.js +3 -3
- package/dist/esm/shared-lib/errors/domains/balance-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/business-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/campaign-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/contract-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/events-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/notification-errors.js +3 -3
- package/dist/esm/shared-lib/errors/domains/signing-account-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/system-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/tenant-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/token-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/transaction-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/trigger-source-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/user-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/validation-errors.js +3 -3
- package/dist/esm/shared-lib/errors/domains/wallet-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/webhook-errors.js +2 -2
- package/dist/esm/shared-lib/errors/error-codes.js +1 -1
- package/dist/esm/shared-lib/errors/index.js +21 -21
- package/dist/esm/shared-lib/errors/technical-errors.js +2 -2
- package/dist/esm/shared-lib/interfaces/business-capability-flags.interface.d.ts +16 -0
- package/dist/esm/shared-lib/interfaces/business-capability-flags.interface.d.ts.map +1 -0
- package/dist/esm/shared-lib/interfaces/business-capability-flags.interface.js +2 -0
- package/dist/esm/shared-lib/interfaces/business-capability-flags.interface.js.map +1 -0
- package/dist/esm/shared-lib/interfaces/campaign/index.js +1 -1
- package/dist/esm/shared-lib/interfaces/index.d.ts +1 -0
- package/dist/esm/shared-lib/interfaces/index.d.ts.map +1 -1
- package/dist/esm/shared-lib/interfaces/index.js +30 -29
- package/dist/esm/shared-lib/interfaces/index.js.map +1 -1
- package/dist/esm/shared-lib/interfaces/jwt.payload.interface.js +1 -1
- package/dist/esm/shared-lib/interfaces/token-storage-data.interface.d.ts +2 -0
- package/dist/esm/shared-lib/interfaces/token-storage-data.interface.d.ts.map +1 -1
- package/dist/esm/shared-lib/interfaces/token-storage-data.interface.js +2 -0
- package/dist/esm/shared-lib/interfaces/token-storage-data.interface.js.map +1 -1
- package/dist/esm/shared-lib/interfaces/transaction-account-data.interface.d.ts +2 -3
- package/dist/esm/shared-lib/interfaces/transaction-account-data.interface.d.ts.map +1 -1
- package/dist/esm/shared-lib/interfaces/ws-relay.types.d.ts +56 -3
- package/dist/esm/shared-lib/interfaces/ws-relay.types.d.ts.map +1 -1
- package/dist/esm/shared-lib/interfaces/ws-relay.types.js +6 -0
- package/dist/esm/shared-lib/interfaces/ws-relay.types.js.map +1 -1
- package/dist/esm/shared-lib/types/custom-fields.type.js +2 -2
- package/dist/esm/shared-lib/types/domains.d.ts +1 -0
- package/dist/esm/shared-lib/types/domains.d.ts.map +1 -1
- package/dist/esm/shared-lib/types/domains.js +1 -0
- package/dist/esm/shared-lib/types/domains.js.map +1 -1
- package/dist/esm/shared-lib/types/filter-options.type.d.ts +2 -1
- package/dist/esm/shared-lib/types/filter-options.type.d.ts.map +1 -1
- package/dist/esm/shared-lib/types/filter-options.type.js.map +1 -1
- package/dist/esm/shared-lib/types/index.js +24 -24
- package/dist/esm/shared-lib/validation/field-validation.js +4 -4
- package/dist/esm/shared-lib/validation/index.js +5 -5
- package/dist/esm/shared-lib/validation/redemption-eligibility.js +1 -1
- package/dist/esm/shared-lib/value-objects/account-selector.vo.js +3 -3
- package/dist/esm/shared-lib/value-objects/address.value-object.d.ts +8 -0
- package/dist/esm/shared-lib/value-objects/address.value-object.d.ts.map +1 -1
- package/dist/esm/shared-lib/value-objects/address.value-object.js +9 -1
- package/dist/esm/shared-lib/value-objects/address.value-object.js.map +1 -1
- package/dist/esm/shared-lib/value-objects/index.js +8 -8
- package/dist/esm/shared-lib/value-objects/token-balance.value-object.js +1 -1
- package/dist/esm/shared-lib/value-objects/token-transaction-entity-reference-input.vo.js +4 -4
- package/dist/esm/shared-lib/value-objects/token-transaction-input.vo.js +2 -2
- package/dist/esm/shared-patterns/errors/error-factory.js +16 -16
- package/dist/esm/shared-patterns/functions/token-metadata.functions.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chain RPC Permissions
|
|
3
|
+
*
|
|
4
|
+
* Canonical permission sets for BLOCKCHAIN_READER_JWT / BLOCKCHAIN_WRITER_JWT tokens
|
|
5
|
+
* issued to authenticate against private chain RPC endpoints (e.g. PERS Besu).
|
|
6
|
+
* Single source of truth shared between Web3ChainDomainService (NestJS app) and any
|
|
7
|
+
* raw, no-NestJS Lambda that needs to self-issue the same token (e.g.
|
|
8
|
+
* serverless-functions/infrastructure/chain-provider.ts) — keeps both in sync instead
|
|
9
|
+
* of letting a hand-picked subset drift and silently 401 on RPC calls it never
|
|
10
|
+
* anticipated needing.
|
|
11
|
+
*/
|
|
12
|
+
export const CHAIN_READ_PERMISSIONS = [
|
|
13
|
+
'eth:call',
|
|
14
|
+
'eth:chainId',
|
|
15
|
+
'eth:getTransactionCount',
|
|
16
|
+
'eth:estimateGas',
|
|
17
|
+
'eth:gasPrice',
|
|
18
|
+
'eth:getBalance',
|
|
19
|
+
'eth:getBlockByNumber',
|
|
20
|
+
'eth:getBlockByHash',
|
|
21
|
+
'eth:getBlockTransactionCountByHash',
|
|
22
|
+
'eth:getBlockTransactionCountByNumber',
|
|
23
|
+
'eth:getCode',
|
|
24
|
+
'eth:getTransactionByBlockHashAndIndex',
|
|
25
|
+
'eth:getTransactionByBlockNumberAndIndex',
|
|
26
|
+
'eth:getTransactionByHash',
|
|
27
|
+
'eth:getTransactionReceipt',
|
|
28
|
+
'eth:subscribe',
|
|
29
|
+
'eth:unsubscribe',
|
|
30
|
+
];
|
|
31
|
+
export const CHAIN_WRITE_PERMISSIONS = [
|
|
32
|
+
'eth:*',
|
|
33
|
+
];
|
|
34
|
+
//# sourceMappingURL=chain-permissions.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chain-permissions.constants.js","sourceRoot":"","sources":["../../../../src/shared-lib/constants/chain-permissions.constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAsB;IACvD,UAAU;IACV,aAAa;IACb,yBAAyB;IACzB,iBAAiB;IACjB,cAAc;IACd,gBAAgB;IAChB,sBAAsB;IACtB,oBAAoB;IACpB,oCAAoC;IACpC,sCAAsC;IACtC,aAAa;IACb,uCAAuC;IACvC,yCAAyC;IACzC,0BAA0B;IAC1B,2BAA2B;IAC3B,eAAe;IACf,iBAAiB;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAsB;IACxD,OAAO;CACR,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared-lib/constants/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared-lib/constants/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// Constants Barrel - Auto-exports all constants
|
|
2
|
-
export * from './analytics.constants';
|
|
3
|
-
export * from './image-cdn.constants';
|
|
2
|
+
export * from './analytics.constants.js';
|
|
3
|
+
export * from './image-cdn.constants.js';
|
|
4
|
+
export * from './chain-permissions.constants.js';
|
|
4
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared-lib/constants/index.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared-lib/constants/index.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './validation.decorators';
|
|
1
|
+
export * from './validation.decorators.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -6,8 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsString, IsEnum } from "class-validator";
|
|
9
|
-
import { AccountOwnerType } from "../enum";
|
|
10
|
-
import { OptionalStrip } from '../decorators';
|
|
9
|
+
import { AccountOwnerType } from "../enum/index.js";
|
|
10
|
+
import { OptionalStrip } from '../decorators/index.js';
|
|
11
11
|
/**
|
|
12
12
|
* Standard Account Identification for Transaction Participants
|
|
13
13
|
* Supports multiple identification methods with auto-detection
|
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty } from "@nestjs/swagger";
|
|
8
|
-
import { TokenBalanceDTO } from "./token/token-balance.dto";
|
|
8
|
+
import { TokenBalanceDTO } from "./token/token-balance.dto.js";
|
|
9
9
|
export class AccountTokenBalancesDTO {
|
|
10
10
|
accountAddress = '';
|
|
11
11
|
tokenBalances = [];
|
|
@@ -6,8 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsNotEmpty, IsEmail, IsString, IsEnum } from 'class-validator';
|
|
9
|
-
import { AdminType } from './../../enum/admin-type.enum';
|
|
10
|
-
import { OptionalStrip } from '../../decorators';
|
|
9
|
+
import { AdminType } from './../../enum/admin-type.enum.js';
|
|
10
|
+
import { OptionalStrip } from '../../decorators/index.js';
|
|
11
11
|
export class AdminCreateRequestDTO {
|
|
12
12
|
email = '';
|
|
13
13
|
displayName;
|
|
@@ -5,8 +5,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
|
-
import { AdminType } from "../../enum/admin-type.enum";
|
|
9
|
-
import { TenantDTO } from "./../tenant";
|
|
8
|
+
import { AdminType } from "../../enum/admin-type.enum.js";
|
|
9
|
+
import { TenantDTO } from "./../tenant/index.js";
|
|
10
10
|
export class AdminDTO {
|
|
11
11
|
id = '';
|
|
12
12
|
email = '';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './admin-create.request.dto';
|
|
2
|
-
export * from './admin.dto';
|
|
1
|
+
export * from './admin-create.request.dto.js';
|
|
2
|
+
export * from './admin.dto.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,8 +5,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
|
-
import { AiOperationType } from '../../enum/ai-operation-type.enum';
|
|
9
|
-
import { AiTriggerProcessType } from '../../enum/ai-trigger-process-type.enum';
|
|
8
|
+
import { AiOperationType } from '../../enum/ai-operation-type.enum.js';
|
|
9
|
+
import { AiTriggerProcessType } from '../../enum/ai-trigger-process-type.enum.js';
|
|
10
10
|
/**
|
|
11
11
|
* AI Generation Log DTO
|
|
12
12
|
*
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty } from '@nestjs/swagger';
|
|
8
8
|
import { IsEnum, IsString, MaxLength } from 'class-validator';
|
|
9
|
-
import { AiOperationType } from '../../enum/ai-operation-type.enum';
|
|
9
|
+
import { AiOperationType } from '../../enum/ai-operation-type.enum.js';
|
|
10
10
|
/**
|
|
11
11
|
* DTO for a single AI prompt operation configuration.
|
|
12
12
|
* Implements AiPromptConfig interface with validation decorators.
|
|
@@ -7,10 +7,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { IsDate, IsOptional, IsString, IsBoolean, IsArray, IsNumber, IsEnum } from 'class-validator';
|
|
9
9
|
import { Type } from 'class-transformer';
|
|
10
|
-
import { SortOrder } from '../../enum/sort-order.enum';
|
|
11
|
-
import { AiTriggerProcessType } from '../../enum/ai-trigger-process-type.enum';
|
|
12
|
-
import { AiOperationType } from '../../enum/ai-operation-type.enum';
|
|
13
|
-
import { AiAnalyticsMetric, AiAnalyticsGroupBy } from '../../enum/ai-analytics-metric.enum';
|
|
10
|
+
import { SortOrder } from '../../enum/sort-order.enum.js';
|
|
11
|
+
import { AiTriggerProcessType } from '../../enum/ai-trigger-process-type.enum.js';
|
|
12
|
+
import { AiOperationType } from '../../enum/ai-operation-type.enum.js';
|
|
13
|
+
import { AiAnalyticsMetric, AiAnalyticsGroupBy } from '../../enum/ai-analytics-metric.enum.js';
|
|
14
14
|
/**
|
|
15
15
|
* AI Usage Summary Request DTO
|
|
16
16
|
*
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { IsDateString } from 'class-validator';
|
|
9
|
-
import { OptionalStrip } from '../../decorators';
|
|
9
|
+
import { OptionalStrip } from '../../decorators/index.js';
|
|
10
10
|
/**
|
|
11
11
|
* BASE ANALYTICS REQUEST
|
|
12
12
|
*
|
|
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { IsEnum, IsInt, Min, Max, IsDateString, ValidateNested, IsString, IsArray } from 'class-validator';
|
|
8
8
|
import { Type } from 'class-transformer';
|
|
9
9
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
10
|
-
import { SortOrder } from '
|
|
11
|
-
import { NativeTokenTypes } from '../../types/native-token.type';
|
|
12
|
-
import { OptionalStrip, OptionalStripNumber } from '../../decorators';
|
|
10
|
+
import { SortOrder } from '../../../index.js';
|
|
11
|
+
import { NativeTokenTypes } from '../../types/native-token.type.js';
|
|
12
|
+
import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
|
|
13
13
|
/**
|
|
14
14
|
* BUSINESS RANKING ANALYTICS DTOs
|
|
15
15
|
*
|
|
@@ -7,11 +7,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { IsNumber, Min, Max, IsArray, IsString, ValidateNested, IsEnum, IsIn, IsDateString } from 'class-validator';
|
|
8
8
|
import { Transform, Type } from 'class-transformer';
|
|
9
9
|
import { ApiProperty, ApiPropertyOptional, OmitType, PartialType } from '@nestjs/swagger';
|
|
10
|
-
import { CampaignClaimAnalyticsDTO } from '../analytics/campaign-claim-analytics.dto';
|
|
11
|
-
import { ProcessRecordStatus, SortOrder } from '../../enum';
|
|
12
|
-
import { ANALYTICS_METRIC_TYPES } from '../../types/analytics.type';
|
|
13
|
-
import { GroupByExpressionDTO } from '../analytics/group-by-expression.dto';
|
|
14
|
-
import { OptionalStrip, OptionalStripNumber } from '../../decorators';
|
|
10
|
+
import { CampaignClaimAnalyticsDTO } from '../analytics/campaign-claim-analytics.dto.js';
|
|
11
|
+
import { ProcessRecordStatus, SortOrder } from '../../enum/index.js';
|
|
12
|
+
import { ANALYTICS_METRIC_TYPES } from '../../types/analytics.type.js';
|
|
13
|
+
import { GroupByExpressionDTO } from '../analytics/group-by-expression.dto.js';
|
|
14
|
+
import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
|
|
15
15
|
/**
|
|
16
16
|
* SCALABLE ANALYTICS REQUEST PATTERN
|
|
17
17
|
*
|
|
@@ -5,11 +5,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
|
-
import { ProcessRecordStatus } from "../../enum";
|
|
9
|
-
import { UserDTO } from "../user/user.dto";
|
|
10
|
-
import { CampaignDTO } from "../campaign/campaign.dto";
|
|
11
|
-
import { BusinessDTO } from "../business/business.dto";
|
|
12
|
-
import { TriggerSourceDTO } from "../campaign/trigger-source.dto";
|
|
8
|
+
import { ProcessRecordStatus } from "../../enum/index.js";
|
|
9
|
+
import { UserDTO } from "../user/user.dto.js";
|
|
10
|
+
import { CampaignDTO } from "../campaign/campaign.dto.js";
|
|
11
|
+
import { BusinessDTO } from "../business/business.dto.js";
|
|
12
|
+
import { TriggerSourceDTO } from "../campaign/trigger-source.dto.js";
|
|
13
13
|
/**
|
|
14
14
|
* Campaign Claim Analytics DTO
|
|
15
15
|
*
|
|
@@ -6,8 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsString } from "class-validator";
|
|
9
|
-
import { AccountOwnerType } from "../../enum";
|
|
10
|
-
import { OptionalStrip } from '../../decorators';
|
|
9
|
+
import { AccountOwnerType } from "../../enum/index.js";
|
|
10
|
+
import { OptionalStrip } from '../../decorators/index.js';
|
|
11
11
|
export class GroupByExpressionDTO {
|
|
12
12
|
expression;
|
|
13
13
|
alias;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from './base-analytics.dto';
|
|
2
|
-
export * from './business-ranking-analytics.dto';
|
|
3
|
-
export * from './campaign-claim-analytics.dto';
|
|
4
|
-
export * from './campaign-claim-analytics-request.dto';
|
|
5
|
-
export * from './group-by-expression.dto';
|
|
6
|
-
export * from './redemption-redeem-analytics-request.dto';
|
|
7
|
-
export * from './retention-analytics.dto';
|
|
8
|
-
export * from './tag-analytics.dto';
|
|
9
|
-
export * from './transaction-analytics.request.dto';
|
|
10
|
-
// export * from './usage-analytics.dto'; // Placeholder - all exports commented out
|
|
11
|
-
export * from './user-analytics.dto';
|
|
12
|
-
export * from './user-ranking-analytics.dto';
|
|
13
|
-
export * from './ai-analytics.dto';
|
|
1
|
+
export * from './base-analytics.dto.js';
|
|
2
|
+
export * from './business-ranking-analytics.dto.js';
|
|
3
|
+
export * from './campaign-claim-analytics.dto.js';
|
|
4
|
+
export * from './campaign-claim-analytics-request.dto.js';
|
|
5
|
+
export * from './group-by-expression.dto.js';
|
|
6
|
+
export * from './redemption-redeem-analytics-request.dto.js';
|
|
7
|
+
export * from './retention-analytics.dto.js';
|
|
8
|
+
export * from './tag-analytics.dto.js';
|
|
9
|
+
export * from './transaction-analytics.request.dto.js';
|
|
10
|
+
// export * from './usage-analytics.dto.js'; // Placeholder - all exports commented out
|
|
11
|
+
export * from './user-analytics.dto.js';
|
|
12
|
+
export * from './user-ranking-analytics.dto.js';
|
|
13
|
+
export * from './ai-analytics.dto.js';
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -7,11 +7,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { IsNumber, Min, Max, IsArray, IsString, ValidateNested, IsEnum, IsIn, IsDateString } from 'class-validator';
|
|
8
8
|
import { Transform, Type } from 'class-transformer';
|
|
9
9
|
import { ApiProperty, ApiPropertyOptional, OmitType, PartialType } from '@nestjs/swagger';
|
|
10
|
-
import { RedemptionRedeemDTO } from '../redemption/redemptionRedeem.dto';
|
|
11
|
-
import { ProcessRecordStatus, SortOrder } from '../../enum';
|
|
12
|
-
import { ANALYTICS_METRIC_TYPES } from '../../types/analytics.type';
|
|
13
|
-
import { GroupByExpressionDTO } from '../analytics/group-by-expression.dto';
|
|
14
|
-
import { OptionalStrip, OptionalStripNumber } from '../../decorators';
|
|
10
|
+
import { RedemptionRedeemDTO } from '../redemption/redemptionRedeem.dto.js';
|
|
11
|
+
import { ProcessRecordStatus, SortOrder } from '../../enum/index.js';
|
|
12
|
+
import { ANALYTICS_METRIC_TYPES } from '../../types/analytics.type.js';
|
|
13
|
+
import { GroupByExpressionDTO } from '../analytics/group-by-expression.dto.js';
|
|
14
|
+
import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
|
|
15
15
|
/**
|
|
16
16
|
* SCALABLE ANALYTICS REQUEST PATTERN
|
|
17
17
|
*
|
|
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { IsEnum, IsInt, Min, Max, IsDateString, ValidateNested } from 'class-validator';
|
|
8
8
|
import { Type } from 'class-transformer';
|
|
9
9
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
10
|
-
import { NativeTokenTypes } from '../../types/native-token.type';
|
|
11
|
-
import { OptionalStrip, OptionalStripNumber } from '../../decorators';
|
|
12
|
-
import { TransactionTriggerProcessType } from '../../enum';
|
|
10
|
+
import { NativeTokenTypes } from '../../types/native-token.type.js';
|
|
11
|
+
import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
|
|
12
|
+
import { TransactionTriggerProcessType } from '../../enum/index.js';
|
|
13
13
|
/**
|
|
14
14
|
* RETENTION ANALYTICS DTOs
|
|
15
15
|
*
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { IsArray, IsEnum, IsOptional, IsString } from 'class-validator';
|
|
9
|
-
import { TaggableEntityType } from '../../enum/taggable-entity-type.enum';
|
|
9
|
+
import { TaggableEntityType } from '../../enum/taggable-entity-type.enum.js';
|
|
10
10
|
// Re-export for backwards compatibility
|
|
11
11
|
export { TaggableEntityType };
|
|
12
12
|
/**
|
|
@@ -7,12 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { IsIn, IsNumber, IsString, IsObject, IsDateString, Min, Max, IsArray, ValidateNested, IsEnum } from 'class-validator';
|
|
8
8
|
import { Transform, Type } from 'class-transformer';
|
|
9
9
|
import { ApiProperty, ApiPropertyOptional, OmitType, PartialType } from '@nestjs/swagger';
|
|
10
|
-
import { TransactionDTO } from '../transaction/transaction.dto';
|
|
11
|
-
import { SortOrder, AccountOwnerType } from '../../enum';
|
|
12
|
-
import { ANALYTICS_METRIC_TYPES } from '../../types/analytics.type';
|
|
13
|
-
import { GroupByExpressionDTO } from './group-by-expression.dto';
|
|
14
|
-
import { NativeTokenTypes } from '../../types/native-token.type';
|
|
15
|
-
import { OptionalStrip, OptionalStripNumber } from '../../decorators';
|
|
10
|
+
import { TransactionDTO } from '../transaction/transaction.dto.js';
|
|
11
|
+
import { SortOrder, AccountOwnerType } from '../../enum/index.js';
|
|
12
|
+
import { ANALYTICS_METRIC_TYPES } from '../../types/analytics.type.js';
|
|
13
|
+
import { GroupByExpressionDTO } from './group-by-expression.dto.js';
|
|
14
|
+
import { NativeTokenTypes } from '../../types/native-token.type.js';
|
|
15
|
+
import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
|
|
16
16
|
/**
|
|
17
17
|
* Type-safe filters for transaction analytics
|
|
18
18
|
* All fields optional via PartialType
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { IsDateString, ValidateNested } from 'class-validator';
|
|
9
9
|
import { Type } from 'class-transformer';
|
|
10
|
-
import { OptionalStrip } from '../../decorators';
|
|
10
|
+
import { OptionalStrip } from '../../decorators/index.js';
|
|
11
11
|
/**
|
|
12
12
|
* USER ANALYTICS FILTERS DTO
|
|
13
13
|
*
|
|
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { IsDateString, IsEnum, IsNumber, ValidateNested, Min, Max } from 'class-validator';
|
|
9
9
|
import { Type } from 'class-transformer';
|
|
10
|
-
import { SortOrder } from '../../enum';
|
|
11
|
-
import { NativeTokenTypes } from '../../types/native-token.type';
|
|
12
|
-
import { OptionalStrip, OptionalStripNumber } from '../../decorators';
|
|
10
|
+
import { SortOrder } from '../../enum/index.js';
|
|
11
|
+
import { NativeTokenTypes } from '../../types/native-token.type.js';
|
|
12
|
+
import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
|
|
13
13
|
/**
|
|
14
14
|
* USER RANKING FILTERS DTO
|
|
15
15
|
*
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { Type } from "class-transformer";
|
|
9
9
|
import { IsBoolean, IsOptional, ValidateNested } from "class-validator";
|
|
10
|
-
import { ApiKeyDTO } from "./api-key.dto";
|
|
10
|
+
import { ApiKeyDTO } from "./api-key.dto.js";
|
|
11
11
|
export class ApiKeyVerificationRequestDTO {
|
|
12
12
|
/** JWT token to verify */
|
|
13
13
|
authToken;
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { IsEnum, IsString, IsDateString, IsUUID, IsOptional } from 'class-validator';
|
|
9
|
-
import { ApiKeyType } from './../../enum/api-key-type.enum';
|
|
9
|
+
import { ApiKeyType } from './../../enum/api-key-type.enum.js';
|
|
10
10
|
/**
|
|
11
11
|
* API Key DTO - Standard response format for API key information
|
|
12
12
|
* Contains safe, non-sensitive API key metadata for client consumption
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './api-key.dto';
|
|
2
|
-
export * from './api-key.request.dto';
|
|
3
|
-
export * from './api-key-verification.dto';
|
|
1
|
+
export * from './api-key.dto.js';
|
|
2
|
+
export * from './api-key.request.dto.js';
|
|
3
|
+
export * from './api-key-verification.dto.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
|
-
import { ApprovalStatus } from '../../enum/approval-status.enum';
|
|
8
|
+
import { ApprovalStatus } from '../../enum/approval-status.enum.js';
|
|
9
9
|
/**
|
|
10
10
|
* Approval metadata nested inside entity DTOs.
|
|
11
11
|
* Groups approval state, audit timestamps, and rejection info into a single object.
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { IsEnum, IsOptional, IsString, MaxLength } from 'class-validator';
|
|
9
|
-
import { ApprovalStatus } from '../../enum/approval-status.enum';
|
|
9
|
+
import { ApprovalStatus } from '../../enum/approval-status.enum.js';
|
|
10
10
|
/**
|
|
11
11
|
* Request body for the admin approval/rejection action.
|
|
12
12
|
* Used for PATCH /admin/{entities}/:id/approval
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './create-approval.dto';
|
|
2
|
-
export * from './approval.dto';
|
|
1
|
+
export * from './create-approval.dto.js';
|
|
2
|
+
export * from './approval.dto.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
|
-
import { CommonErrorCodes } from "../../errors/error-codes";
|
|
8
|
+
import { CommonErrorCodes } from "../../errors/error-codes.js";
|
|
9
9
|
/**
|
|
10
10
|
* Valid error codes for token verification failures
|
|
11
11
|
*/
|
|
@@ -7,11 +7,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsNotEmpty, IsString, ValidateNested, IsEnum } from "class-validator";
|
|
9
9
|
import { Type } from "class-transformer";
|
|
10
|
-
import { UserDTO } from "../user/user.dto";
|
|
11
|
-
import { BusinessDTO } from "../business";
|
|
12
|
-
import { AccountOwnerType } from "../../enum";
|
|
13
|
-
import { AdminDTO } from "../admin";
|
|
14
|
-
import { OptionalStrip } from '../../decorators';
|
|
10
|
+
import { UserDTO } from "../user/user.dto.js";
|
|
11
|
+
import { BusinessDTO } from "../business/index.js";
|
|
12
|
+
import { AccountOwnerType } from "../../enum/index.js";
|
|
13
|
+
import { AdminDTO } from "../admin/index.js";
|
|
14
|
+
import { OptionalStrip } from '../../decorators/index.js';
|
|
15
15
|
/**
|
|
16
16
|
* Auth Context DTO
|
|
17
17
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './auth-token-verification.dto';
|
|
2
|
-
export * from './auth.dto';
|
|
3
|
-
export * from './magic-link.dto';
|
|
1
|
+
export * from './auth-token-verification.dto.js';
|
|
2
|
+
export * from './auth.dto.js';
|
|
3
|
+
export * from './magic-link.dto.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -6,8 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { IsEmail, IsString, MaxLength } from 'class-validator';
|
|
9
|
-
import { CommonErrorCodes } from '../../errors/error-codes';
|
|
10
|
-
import { OptionalStrip } from '../../decorators';
|
|
9
|
+
import { CommonErrorCodes } from '../../errors/error-codes.js';
|
|
10
|
+
import { OptionalStrip } from '../../decorators/index.js';
|
|
11
11
|
/**
|
|
12
12
|
* Magic link specific error codes for API documentation
|
|
13
13
|
*/
|
|
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { IsString, IsUUID, IsDateString, IsOptional, IsInt, IsEnum, Min, Max, ValidateNested } from 'class-validator';
|
|
9
9
|
import { Type } from 'class-transformer';
|
|
10
|
-
import { DataSourceDTO } from '../data-source.dto';
|
|
10
|
+
import { DataSourceDTO } from '../data-source.dto.js';
|
|
11
11
|
// Re-export for backward compatibility
|
|
12
|
-
export { DataSourceDTO } from '../data-source.dto';
|
|
12
|
+
export { DataSourceDTO } from '../data-source.dto.js';
|
|
13
13
|
/**
|
|
14
14
|
* Booking DTO for API responses.
|
|
15
15
|
*/
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './booking.dto';
|
|
2
|
-
export * from './booking-requirement-config.dto';
|
|
1
|
+
export * from './booking.dto.js';
|
|
2
|
+
export * from './booking-requirement-config.dto.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiProperty } from "@nestjs/swagger";
|
|
8
8
|
import { IsNotEmpty, IsString, IsArray, ValidateNested } from "class-validator";
|
|
9
9
|
import { Type } from 'class-transformer';
|
|
10
|
-
import { BusinessUpdateRequestDTO } from "./business-update.request.dto";
|
|
10
|
+
import { BusinessUpdateRequestDTO } from "./business-update.request.dto.js";
|
|
11
11
|
export class BusinessCreateRequestDTO extends BusinessUpdateRequestDTO {
|
|
12
12
|
displayName = '';
|
|
13
13
|
}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { Transform, Type } from 'class-transformer';
|
|
9
9
|
import { IsBoolean, IsEnum, IsNumber, IsOptional, IsString, Min } from 'class-validator';
|
|
10
|
-
import { SortOrder } from '../../enum/sort-order.enum';
|
|
10
|
+
import { SortOrder } from '../../enum/sort-order.enum.js';
|
|
11
11
|
/**
|
|
12
12
|
* Business filter query DTO for HTTP requests.
|
|
13
13
|
* Implements BusinessFilterOptions interface for type safety.
|
|
@@ -6,10 +6,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional, getSchemaPath } from "@nestjs/swagger";
|
|
8
8
|
import { IsEnum, IsNotEmpty, IsUUID } from "class-validator";
|
|
9
|
-
import { MembershipRole } from "../../enum/membership-role.enum";
|
|
10
|
-
import { OptionalNullify } from "../../decorators";
|
|
11
|
-
import { UserDTO } from "../user/user.dto";
|
|
12
|
-
import { BusinessDTO } from "./business.dto";
|
|
9
|
+
import { MembershipRole } from "../../enum/membership-role.enum.js";
|
|
10
|
+
import { OptionalNullify } from "../../decorators/index.js";
|
|
11
|
+
import { UserDTO } from "../user/user.dto.js";
|
|
12
|
+
import { BusinessDTO } from "./business.dto.js";
|
|
13
13
|
/**
|
|
14
14
|
* Business Membership DTO
|
|
15
15
|
*
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsNumber, IsString, IsOptional } from 'class-validator';
|
|
9
|
-
import { OptionalStripNumber } from '../../decorators';
|
|
9
|
+
import { OptionalStripNumber } from '../../decorators/index.js';
|
|
10
10
|
export class BusinessTypeDTO {
|
|
11
11
|
id;
|
|
12
12
|
name = null;
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsString, IsEmail, IsUrl, IsNumber, IsArray, IsObject } from 'class-validator';
|
|
9
|
-
import { OptionalNullify, OptionalNullifyNumber, OptionalStrip } from '../../decorators';
|
|
9
|
+
import { OptionalNullify, OptionalNullifyNumber, OptionalStrip } from '../../decorators/index.js';
|
|
10
10
|
export class BusinessUpdateRequestDTO {
|
|
11
11
|
email;
|
|
12
12
|
businessLegalName;
|
|
@@ -2,7 +2,8 @@ import { TokenBalanceDTO } from "../token/token-balance.dto";
|
|
|
2
2
|
import { BusinessTypeDTO } from "./business-type.dto";
|
|
3
3
|
import { PublicWalletDTO } from "../wallet.dto";
|
|
4
4
|
import { ApprovalDTO } from "../approval/approval.dto";
|
|
5
|
-
|
|
5
|
+
import { BusinessCapabilityFlags } from "../../interfaces/business-capability-flags.interface";
|
|
6
|
+
export declare class BusinessDTO implements BusinessCapabilityFlags {
|
|
6
7
|
id: string;
|
|
7
8
|
email: string | null;
|
|
8
9
|
/** @deprecated Use wallets array or currentSigningAccountId instead */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.dto.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/business/business.dto.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"business.dto.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/business/business.dto.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AAE/F,qBAAa,WAAY,YAAW,uBAAuB;IAIvD,EAAE,EAAE,MAAM,CAAM;IAShB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAQ;IAO5B,uEAAuE;IACvE,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMrC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAO9C,OAAO,EAAE,eAAe,EAAE,CAAM;IAMhC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMxC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMzC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMlC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMlC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMvC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMjC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAM/B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAM9B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMpC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMlC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMnC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAM/B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAQ;IAM3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMjC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAO9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMlC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IAMrC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAQ;IAQtC,YAAY,EAAE,eAAe,GAAG,IAAI,CAAQ;IAK5C,QAAQ,EAAE,OAAO,CAAS;IAO1B,QAAQ,EAAE,WAAW,CAAqB;IAM1C,YAAY,EAAE,OAAO,CAAQ;IAM7B,cAAc,EAAE,OAAO,CAAQ;IAM/B,cAAc,EAAE,OAAO,CAAQ;IAM/B,kBAAkB,EAAE,OAAO,CAAQ;IAOnC,IAAI,EAAE,MAAM,EAAE,CAAM;IAcpB,UAAU,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,IAAI,CAAQ;CACnD;AAED,qBAAa,iBAAkB,SAAQ,WAAW;IAI9C,aAAa,EAAE,MAAM,CAAM;CAC9B;AAGD,qBAAa,wBAAyB,SAAQ,WAAW;IAMrD,aAAa,EAAE,eAAe,EAAE,CAAM;CACzC"}
|
|
@@ -6,10 +6,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty } from "@nestjs/swagger";
|
|
8
8
|
import { Type } from "class-transformer";
|
|
9
|
-
import { TokenBalanceDTO } from "../token/token-balance.dto";
|
|
10
|
-
import { BusinessTypeDTO } from "./business-type.dto";
|
|
11
|
-
import { PublicWalletDTO } from "../wallet.dto";
|
|
12
|
-
import { ApprovalDTO } from "../approval/approval.dto";
|
|
9
|
+
import { TokenBalanceDTO } from "../token/token-balance.dto.js";
|
|
10
|
+
import { BusinessTypeDTO } from "./business-type.dto.js";
|
|
11
|
+
import { PublicWalletDTO } from "../wallet.dto.js";
|
|
12
|
+
import { ApprovalDTO } from "../approval/approval.dto.js";
|
|
13
13
|
export class BusinessDTO {
|
|
14
14
|
id = '';
|
|
15
15
|
/* @ApiProperty()
|