@breadstone/archipel-mcp 0.0.11 → 0.0.14

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.
Files changed (604) hide show
  1. package/package.json +1 -1
  2. package/src/DocsLoader.js +2 -5
  3. package/src/GuidesLoader.js +2 -5
  4. package/data/guides/ai-text-generation.md +0 -361
  5. package/data/guides/analytics-and-error-tracking.md +0 -189
  6. package/data/guides/authentication-and-authorization.md +0 -657
  7. package/data/guides/blob-storage.md +0 -242
  8. package/data/guides/caching.md +0 -255
  9. package/data/guides/cryptography-and-otp.md +0 -240
  10. package/data/guides/document-generation.md +0 -174
  11. package/data/guides/email-delivery.md +0 -196
  12. package/data/guides/esigning-integration.md +0 -231
  13. package/data/guides/getting-started.md +0 -351
  14. package/data/guides/implementing-ports.md +0 -317
  15. package/data/guides/index.md +0 -61
  16. package/data/guides/mcp-server.md +0 -222
  17. package/data/guides/openapi-and-feature-discovery.md +0 -266
  18. package/data/guides/payments-and-feature-gating.md +0 -244
  19. package/data/guides/resource-management.md +0 -352
  20. package/data/guides/telemetry-and-observability.md +0 -190
  21. package/data/guides/testing.md +0 -319
  22. package/data/guides/tsdoc-guidelines.md +0 -45
  23. package/data/packages/index.md +0 -52
  24. package/data/packages/platform-analytics/api/Class.AnalyticsClientPort.md +0 -141
  25. package/data/packages/platform-analytics/api/Class.AnalyticsModule.md +0 -47
  26. package/data/packages/platform-analytics/api/Class.AppInsightsAnalyticsClient.md +0 -169
  27. package/data/packages/platform-analytics/api/Class.DatadogAnalyticsClient.md +0 -169
  28. package/data/packages/platform-analytics/api/Class.NoopAnalyticsClient.md +0 -161
  29. package/data/packages/platform-analytics/api/Class.SentryAnalyticsClient.md +0 -169
  30. package/data/packages/platform-analytics/api/Interface.IAnalyticsBreadcrumb.md +0 -58
  31. package/data/packages/platform-analytics/api/Interface.IAnalyticsModuleOptions.md +0 -47
  32. package/data/packages/platform-analytics/api/Interface.IAnalyticsUser.md +0 -58
  33. package/data/packages/platform-analytics/api/TypeAlias.AnalyticsLevel.md +0 -14
  34. package/data/packages/platform-analytics/api/Variable.APPINSIGHTS_CONFIG_ENTRIES.md +0 -14
  35. package/data/packages/platform-analytics/api/Variable.APPLICATIONINSIGHTS_CONNECTION_STRING.md +0 -14
  36. package/data/packages/platform-analytics/api/Variable.DATADOG_CONFIG_ENTRIES.md +0 -14
  37. package/data/packages/platform-analytics/api/Variable.DD_ENV.md +0 -14
  38. package/data/packages/platform-analytics/api/Variable.DD_SERVICE.md +0 -14
  39. package/data/packages/platform-analytics/api/Variable.SENTRY_CONFIG_ENTRIES.md +0 -14
  40. package/data/packages/platform-analytics/api/Variable.SENTRY_DSN.md +0 -14
  41. package/data/packages/platform-analytics/api/Variable.SENTRY_ENVIRONMENT.md +0 -14
  42. package/data/packages/platform-analytics/api/index.md +0 -44
  43. package/data/packages/platform-analytics/index.md +0 -170
  44. package/data/packages/platform-authentication/api/Class.AnonymousAuthGuard.md +0 -40
  45. package/data/packages/platform-authentication/api/Class.AppleConnector.md +0 -86
  46. package/data/packages/platform-authentication/api/Class.AuthModule.md +0 -67
  47. package/data/packages/platform-authentication/api/Class.AuthSubjectPort.md +0 -95
  48. package/data/packages/platform-authentication/api/Class.AuthTokenService.md +0 -59
  49. package/data/packages/platform-authentication/api/Class.ChallengeService.md +0 -131
  50. package/data/packages/platform-authentication/api/Class.GithubAuthGuard.md +0 -40
  51. package/data/packages/platform-authentication/api/Class.GithubConnector.md +0 -78
  52. package/data/packages/platform-authentication/api/Class.GoogleConnector.md +0 -84
  53. package/data/packages/platform-authentication/api/Class.JwtAuthGuard.md +0 -40
  54. package/data/packages/platform-authentication/api/Class.JwtPayloadBase.md +0 -136
  55. package/data/packages/platform-authentication/api/Class.LastActiveMiddleware.md +0 -71
  56. package/data/packages/platform-authentication/api/Class.LocalAuthGuard.md +0 -40
  57. package/data/packages/platform-authentication/api/Class.MfaService.md +0 -252
  58. package/data/packages/platform-authentication/api/Class.MfaSubjectPort.md +0 -70
  59. package/data/packages/platform-authentication/api/Class.MicrosoftConnector.md +0 -84
  60. package/data/packages/platform-authentication/api/Class.RolesGuard.md +0 -60
  61. package/data/packages/platform-authentication/api/Class.SessionMappingProfile.md +0 -60
  62. package/data/packages/platform-authentication/api/Class.SessionPersistencePort.md +0 -165
  63. package/data/packages/platform-authentication/api/Class.SessionResponse.md +0 -152
  64. package/data/packages/platform-authentication/api/Class.SessionService.md +0 -162
  65. package/data/packages/platform-authentication/api/Class.SocialAuthGuard.md +0 -61
  66. package/data/packages/platform-authentication/api/Class.SocialAuthPort.md +0 -48
  67. package/data/packages/platform-authentication/api/Class.TokenEnricherPort.md +0 -47
  68. package/data/packages/platform-authentication/api/Class.TotpMfaChannel.md +0 -144
  69. package/data/packages/platform-authentication/api/Class.VerificationService.md +0 -154
  70. package/data/packages/platform-authentication/api/Class.VerificationSubjectPort.md +0 -116
  71. package/data/packages/platform-authentication/api/Function.Token.md +0 -18
  72. package/data/packages/platform-authentication/api/Function.UseRoles.md +0 -24
  73. package/data/packages/platform-authentication/api/Function.socialAuthGuardFactory.md +0 -22
  74. package/data/packages/platform-authentication/api/Interface.IAuthModuleOptions.md +0 -143
  75. package/data/packages/platform-authentication/api/Interface.IAuthSubject.md +0 -107
  76. package/data/packages/platform-authentication/api/Interface.IMfaChallengePayload.md +0 -82
  77. package/data/packages/platform-authentication/api/Interface.IMfaChallengeState.md +0 -118
  78. package/data/packages/platform-authentication/api/Interface.IMfaConfirmation.md +0 -22
  79. package/data/packages/platform-authentication/api/Interface.IMfaSetup.md +0 -58
  80. package/data/packages/platform-authentication/api/Interface.IMfaSubject.md +0 -131
  81. package/data/packages/platform-authentication/api/Interface.IMfaSubjectUpdate.md +0 -91
  82. package/data/packages/platform-authentication/api/Interface.ISessionRecord.md +0 -160
  83. package/data/packages/platform-authentication/api/Interface.ISignInResult.md +0 -82
  84. package/data/packages/platform-authentication/api/Interface.ISocialProfile.md +0 -58
  85. package/data/packages/platform-authentication/api/Interface.IStoreSessionArgs.md +0 -70
  86. package/data/packages/platform-authentication/api/Interface.IVerifiableSubject.md +0 -71
  87. package/data/packages/platform-authentication/api/Variable.APPLE_AUTH_CONFIG_ENTRIES.md +0 -14
  88. package/data/packages/platform-authentication/api/Variable.AUTH_APPLE_CALLBACK_URL.md +0 -14
  89. package/data/packages/platform-authentication/api/Variable.AUTH_APPLE_CLIENT_ID.md +0 -14
  90. package/data/packages/platform-authentication/api/Variable.AUTH_APPLE_KEY_ID.md +0 -14
  91. package/data/packages/platform-authentication/api/Variable.AUTH_APPLE_PRIVATE_KEY.md +0 -14
  92. package/data/packages/platform-authentication/api/Variable.AUTH_APPLE_SCOPE.md +0 -14
  93. package/data/packages/platform-authentication/api/Variable.AUTH_APPLE_TEAM_ID.md +0 -14
  94. package/data/packages/platform-authentication/api/Variable.AUTH_GITHUB_CALLBACK_URL.md +0 -14
  95. package/data/packages/platform-authentication/api/Variable.AUTH_GITHUB_CLIENT_ID.md +0 -14
  96. package/data/packages/platform-authentication/api/Variable.AUTH_GITHUB_CLIENT_SECRET.md +0 -14
  97. package/data/packages/platform-authentication/api/Variable.AUTH_GITHUB_SCOPE.md +0 -14
  98. package/data/packages/platform-authentication/api/Variable.AUTH_GOOGLE_CALLBACK_URL.md +0 -14
  99. package/data/packages/platform-authentication/api/Variable.AUTH_GOOGLE_CLIENT_ID.md +0 -14
  100. package/data/packages/platform-authentication/api/Variable.AUTH_GOOGLE_CLIENT_SECRET.md +0 -14
  101. package/data/packages/platform-authentication/api/Variable.AUTH_GOOGLE_SCOPE.md +0 -14
  102. package/data/packages/platform-authentication/api/Variable.AUTH_JWT_EXPIRES_IN.md +0 -14
  103. package/data/packages/platform-authentication/api/Variable.AUTH_JWT_SECRET.md +0 -14
  104. package/data/packages/platform-authentication/api/Variable.AUTH_MFA_CHALLENGE_EXPIRES_IN.md +0 -14
  105. package/data/packages/platform-authentication/api/Variable.AUTH_MFA_EMAIL_CODE_TTL.md +0 -14
  106. package/data/packages/platform-authentication/api/Variable.AUTH_MFA_EMAIL_MIN_RESEND.md +0 -14
  107. package/data/packages/platform-authentication/api/Variable.AUTH_MFA_ENCRYPTION_KEY.md +0 -14
  108. package/data/packages/platform-authentication/api/Variable.AUTH_MFA_ISSUER.md +0 -14
  109. package/data/packages/platform-authentication/api/Variable.AUTH_MFA_MAX_ATTEMPTS.md +0 -14
  110. package/data/packages/platform-authentication/api/Variable.AUTH_MFA_PUSH_CODE_TTL.md +0 -14
  111. package/data/packages/platform-authentication/api/Variable.AUTH_MFA_PUSH_MIN_RESEND.md +0 -14
  112. package/data/packages/platform-authentication/api/Variable.AUTH_MFA_SMS_CODE_TTL.md +0 -14
  113. package/data/packages/platform-authentication/api/Variable.AUTH_MFA_SMS_MIN_RESEND.md +0 -14
  114. package/data/packages/platform-authentication/api/Variable.AUTH_MICROSOFT_CALLBACK_URL.md +0 -14
  115. package/data/packages/platform-authentication/api/Variable.AUTH_MICROSOFT_CLIENT_ID.md +0 -14
  116. package/data/packages/platform-authentication/api/Variable.AUTH_MICROSOFT_CLIENT_SECRET.md +0 -14
  117. package/data/packages/platform-authentication/api/Variable.AUTH_MICROSOFT_SCOPE.md +0 -14
  118. package/data/packages/platform-authentication/api/Variable.AUTH_MICROSOFT_TENANT.md +0 -14
  119. package/data/packages/platform-authentication/api/Variable.AUTH_VERIFY_JWT_EXPIRES_IN.md +0 -14
  120. package/data/packages/platform-authentication/api/Variable.GITHUB_AUTH_CONFIG_ENTRIES.md +0 -14
  121. package/data/packages/platform-authentication/api/Variable.GOOGLE_AUTH_CONFIG_ENTRIES.md +0 -14
  122. package/data/packages/platform-authentication/api/Variable.MICROSOFT_AUTH_CONFIG_ENTRIES.md +0 -14
  123. package/data/packages/platform-authentication/api/Variable.PLATFORM_AUTHENTICATION_CONFIG_ENTRIES.md +0 -14
  124. package/data/packages/platform-authentication/api/Variable.ROLES_KEY.md +0 -14
  125. package/data/packages/platform-authentication/api/Variable.SEED_ANONYMOUS_USERNAME.md +0 -14
  126. package/data/packages/platform-authentication/api/Variable.SESSION_LIST_MAPPING_KEY.md +0 -14
  127. package/data/packages/platform-authentication/api/Variable.SESSION_MAPPING_KEY.md +0 -14
  128. package/data/packages/platform-authentication/api/Variable.TOTP_MFA_PROVIDERS.md +0 -29
  129. package/data/packages/platform-authentication/api/Variable.User.md +0 -24
  130. package/data/packages/platform-authentication/api/index.md +0 -112
  131. package/data/packages/platform-authentication/index.md +0 -635
  132. package/data/packages/platform-blob-storage/api/Class.AwsS3BlobProvider.md +0 -196
  133. package/data/packages/platform-blob-storage/api/Class.AzureBlobProvider.md +0 -196
  134. package/data/packages/platform-blob-storage/api/Class.BlobHealthIndicator.md +0 -79
  135. package/data/packages/platform-blob-storage/api/Class.BlobModule.md +0 -49
  136. package/data/packages/platform-blob-storage/api/Class.BlobObjectPersistencePort.md +0 -75
  137. package/data/packages/platform-blob-storage/api/Class.BlobService.md +0 -248
  138. package/data/packages/platform-blob-storage/api/Class.BlobVariantPersistencePort.md +0 -51
  139. package/data/packages/platform-blob-storage/api/Class.VercelBlobProvider.md +0 -197
  140. package/data/packages/platform-blob-storage/api/Interface.IAwsS3BlobProviderRegistration.md +0 -28
  141. package/data/packages/platform-blob-storage/api/Interface.IAwsS3ProviderOptions.md +0 -68
  142. package/data/packages/platform-blob-storage/api/Interface.IAzureBlobProviderOptions.md +0 -38
  143. package/data/packages/platform-blob-storage/api/Interface.IAzureBlobProviderRegistration.md +0 -28
  144. package/data/packages/platform-blob-storage/api/Interface.IBlobDeleteRequest.md +0 -38
  145. package/data/packages/platform-blob-storage/api/Interface.IBlobDownloadRequest.md +0 -48
  146. package/data/packages/platform-blob-storage/api/Interface.IBlobDownloadResult.md +0 -64
  147. package/data/packages/platform-blob-storage/api/Interface.IBlobModuleOptions.md +0 -48
  148. package/data/packages/platform-blob-storage/api/Interface.IBlobObjectMetadata.md +0 -138
  149. package/data/packages/platform-blob-storage/api/Interface.IBlobProvider.md +0 -114
  150. package/data/packages/platform-blob-storage/api/Interface.IBlobSignedUrlRequest.md +0 -48
  151. package/data/packages/platform-blob-storage/api/Interface.IBlobUploadRequest.md +0 -98
  152. package/data/packages/platform-blob-storage/api/Interface.IBlobUploadResult.md +0 -28
  153. package/data/packages/platform-blob-storage/api/Interface.ICustomBlobProviderRegistration.md +0 -28
  154. package/data/packages/platform-blob-storage/api/Interface.IVercelBlobProviderOptions.md +0 -68
  155. package/data/packages/platform-blob-storage/api/Interface.IVercelBlobProviderRegistration.md +0 -28
  156. package/data/packages/platform-blob-storage/api/TypeAlias.BlobDownloadResponseType.md +0 -12
  157. package/data/packages/platform-blob-storage/api/TypeAlias.BlobUploadBody.md +0 -12
  158. package/data/packages/platform-blob-storage/api/TypeAlias.IBlobProviderRegistration.md +0 -16
  159. package/data/packages/platform-blob-storage/api/Variable.AWS_S3_PROVIDER_OPTIONS.md +0 -12
  160. package/data/packages/platform-blob-storage/api/Variable.AZURE_BLOB_PROVIDER_OPTIONS.md +0 -12
  161. package/data/packages/platform-blob-storage/api/Variable.BLOB_PROVIDER.md +0 -12
  162. package/data/packages/platform-blob-storage/api/Variable.BlobDownloadResponseTypes.md +0 -26
  163. package/data/packages/platform-blob-storage/api/Variable.BlobProviderKinds.md +0 -26
  164. package/data/packages/platform-blob-storage/api/Variable.VERCEL_BLOB_PROVIDER_OPTIONS.md +0 -12
  165. package/data/packages/platform-blob-storage/api/index.md +0 -59
  166. package/data/packages/platform-blob-storage/index.md +0 -335
  167. package/data/packages/platform-caching/api/Class.MemoryLayeredCache.md +0 -258
  168. package/data/packages/platform-caching/api/Class.NoopCacheMetricsRecorder.md +0 -157
  169. package/data/packages/platform-caching/api/Class.RedisLayeredCache.md +0 -295
  170. package/data/packages/platform-caching/api/Interface.ICacheMetricsRecorder.md +0 -121
  171. package/data/packages/platform-caching/api/Interface.ICacheStats.md +0 -70
  172. package/data/packages/platform-caching/api/Interface.ILayeredCache.md +0 -198
  173. package/data/packages/platform-caching/api/Interface.ILayeredCacheOptions.md +0 -75
  174. package/data/packages/platform-caching/api/Interface.IRedisLayeredCacheOptions.md +0 -121
  175. package/data/packages/platform-caching/api/index.md +0 -24
  176. package/data/packages/platform-caching/index.md +0 -116
  177. package/data/packages/platform-core/api/Class.AppHealthIndicator.md +0 -50
  178. package/data/packages/platform-core/api/Class.BlobResourceStrategy.md +0 -195
  179. package/data/packages/platform-core/api/Class.BooleanUtils.md +0 -82
  180. package/data/packages/platform-core/api/Class.CUIDGenerator.md +0 -120
  181. package/data/packages/platform-core/api/Class.CasingInterceptor.md +0 -83
  182. package/data/packages/platform-core/api/Class.CatchUtils.md +0 -93
  183. package/data/packages/platform-core/api/Class.ConfigKeyNotFoundError.md +0 -89
  184. package/data/packages/platform-core/api/Class.ConfigModule.md +0 -69
  185. package/data/packages/platform-core/api/Class.ConfigRegistry.md +0 -115
  186. package/data/packages/platform-core/api/Class.ConfigService.md +0 -137
  187. package/data/packages/platform-core/api/Class.ConfigStrategyBase.md +0 -125
  188. package/data/packages/platform-core/api/Class.ContentTemplateEngine.md +0 -63
  189. package/data/packages/platform-core/api/Class.DateTimeUtils.md +0 -101
  190. package/data/packages/platform-core/api/Class.DeviceParserService.md +0 -52
  191. package/data/packages/platform-core/api/Class.EmbeddedResourceStrategy.md +0 -215
  192. package/data/packages/platform-core/api/Class.EnvironmentConfigStrategy.md +0 -141
  193. package/data/packages/platform-core/api/Class.ErrorTemplateService.md +0 -109
  194. package/data/packages/platform-core/api/Class.EventHub.md +0 -163
  195. package/data/packages/platform-core/api/Class.EventModule.md +0 -22
  196. package/data/packages/platform-core/api/Class.FileConfigStrategy.md +0 -147
  197. package/data/packages/platform-core/api/Class.FileResourceStrategy.md +0 -192
  198. package/data/packages/platform-core/api/Class.GUIDGenerator.md +0 -85
  199. package/data/packages/platform-core/api/Class.GlobalExceptionFilter.md +0 -66
  200. package/data/packages/platform-core/api/Class.HealthModule.md +0 -42
  201. package/data/packages/platform-core/api/Class.HealthOrchestrator.md +0 -64
  202. package/data/packages/platform-core/api/Class.HostModule.md +0 -31
  203. package/data/packages/platform-core/api/Class.HostService.md +0 -149
  204. package/data/packages/platform-core/api/Class.HttpLoggerMiddleware.md +0 -59
  205. package/data/packages/platform-core/api/Class.IdGeneratorBase.md +0 -87
  206. package/data/packages/platform-core/api/Class.IdentifierModule.md +0 -40
  207. package/data/packages/platform-core/api/Class.LimitRequestSizeMiddleware.md +0 -59
  208. package/data/packages/platform-core/api/Class.LocalizedTextRequest.md +0 -42
  209. package/data/packages/platform-core/api/Class.LocalizedTextResponse.md +0 -42
  210. package/data/packages/platform-core/api/Class.MappingBuilder.md +0 -110
  211. package/data/packages/platform-core/api/Class.MappingModule.md +0 -46
  212. package/data/packages/platform-core/api/Class.MappingNotRegisteredError.md +0 -56
  213. package/data/packages/platform-core/api/Class.MappingProfileBase.md +0 -52
  214. package/data/packages/platform-core/api/Class.MappingService.md +0 -284
  215. package/data/packages/platform-core/api/Class.NormalizedUtils.md +0 -148
  216. package/data/packages/platform-core/api/Class.PageableRequest.md +0 -42
  217. package/data/packages/platform-core/api/Class.PageableResponse.md +0 -62
  218. package/data/packages/platform-core/api/Class.ProblemDetailException.md +0 -61
  219. package/data/packages/platform-core/api/Class.ProblemDetailExceptionFilter.md +0 -94
  220. package/data/packages/platform-core/api/Class.QuantityResponse.md +0 -42
  221. package/data/packages/platform-core/api/Class.ResourceManager.md +0 -565
  222. package/data/packages/platform-core/api/Class.ResourceModule.md +0 -46
  223. package/data/packages/platform-core/api/Class.ResponseReturn.md +0 -502
  224. package/data/packages/platform-core/api/Class.SseHub.md +0 -183
  225. package/data/packages/platform-core/api/Class.SseModule.md +0 -42
  226. package/data/packages/platform-core/api/Class.TimeStampResponse.md +0 -42
  227. package/data/packages/platform-core/api/Class.TypeMappingNotRegisteredError.md +0 -57
  228. package/data/packages/platform-core/api/Class.UUIDGenerator.md +0 -85
  229. package/data/packages/platform-core/api/Class.UserAvatarGeneratorService.md +0 -47
  230. package/data/packages/platform-core/api/Class.UserNameGeneratorService.md +0 -64
  231. package/data/packages/platform-core/api/Function.Public.md +0 -18
  232. package/data/packages/platform-core/api/Function.createConfigKey.md +0 -58
  233. package/data/packages/platform-core/api/Function.createEventKey.md +0 -33
  234. package/data/packages/platform-core/api/Function.createMappingKey.md +0 -39
  235. package/data/packages/platform-core/api/Function.env.md +0 -28
  236. package/data/packages/platform-core/api/Function.getMimeTypeByFileNameOrExtension.md +0 -26
  237. package/data/packages/platform-core/api/ISseEventData.Function.isActionId.md +0 -27
  238. package/data/packages/platform-core/api/Interface.IBlobResourceStrategyConfig.md +0 -28
  239. package/data/packages/platform-core/api/Interface.IBlobServiceAdapter.md +0 -40
  240. package/data/packages/platform-core/api/Interface.IConfigKey.md +0 -63
  241. package/data/packages/platform-core/api/Interface.IConfigModuleOptions.md +0 -40
  242. package/data/packages/platform-core/api/Interface.IConfigRegistryEntry.md +0 -79
  243. package/data/packages/platform-core/api/Interface.IDeviceInfo.md +0 -80
  244. package/data/packages/platform-core/api/Interface.IErrorPageParams.md +0 -153
  245. package/data/packages/platform-core/api/Interface.IEventKey.md +0 -57
  246. package/data/packages/platform-core/api/Interface.IEventMap.md +0 -16
  247. package/data/packages/platform-core/api/Interface.IFileResourceStrategyConfig.md +0 -72
  248. package/data/packages/platform-core/api/Interface.IHealthCheckResult.md +0 -46
  249. package/data/packages/platform-core/api/Interface.IHealthIndicator.md +0 -41
  250. package/data/packages/platform-core/api/Interface.IHostContentParams.md +0 -232
  251. package/data/packages/platform-core/api/Interface.IIdGenerator.md +0 -57
  252. package/data/packages/platform-core/api/Interface.IMappingBuilder.md +0 -76
  253. package/data/packages/platform-core/api/Interface.IMappingKey.md +0 -58
  254. package/data/packages/platform-core/api/Interface.IMappingProfile.md +0 -32
  255. package/data/packages/platform-core/api/Interface.IResourceManagerConfig.md +0 -71
  256. package/data/packages/platform-core/api/Interface.IResourceMetadata.md +0 -94
  257. package/data/packages/platform-core/api/Interface.IResourceResult.md +0 -34
  258. package/data/packages/platform-core/api/Interface.IResourceStrategy.md +0 -134
  259. package/data/packages/platform-core/api/Interface.ISseEventData.md +0 -36
  260. package/data/packages/platform-core/api/Interface.ISseHub.md +0 -91
  261. package/data/packages/platform-core/api/Namespace.ISseEventData.md +0 -14
  262. package/data/packages/platform-core/api/TypeAlias.CamelCase.md +0 -18
  263. package/data/packages/platform-core/api/TypeAlias.ProblemDetail.md +0 -28
  264. package/data/packages/platform-core/api/TypeAlias.ProblemDetailTypeUrlResolver.md +0 -25
  265. package/data/packages/platform-core/api/TypeAlias.SetOptional.md +0 -21
  266. package/data/packages/platform-core/api/TypeAlias.StringValue.md +0 -15
  267. package/data/packages/platform-core/api/Variable.APP_NAME.md +0 -14
  268. package/data/packages/platform-core/api/Variable.APP_PORT.md +0 -14
  269. package/data/packages/platform-core/api/Variable.APP_URL.md +0 -14
  270. package/data/packages/platform-core/api/Variable.APP_VERSION.md +0 -14
  271. package/data/packages/platform-core/api/Variable.GIT_COMMIT.md +0 -14
  272. package/data/packages/platform-core/api/Variable.HEALTH_INDICATORS_TOKEN.md +0 -14
  273. package/data/packages/platform-core/api/Variable.ID_GENERATOR_TOKEN.md +0 -14
  274. package/data/packages/platform-core/api/Variable.INTELLIGENCE_MAX_OUTPUT_TOKENS.md +0 -14
  275. package/data/packages/platform-core/api/Variable.INTELLIGENCE_MODEL.md +0 -14
  276. package/data/packages/platform-core/api/Variable.INTELLIGENCE_TEMPERATURE.md +0 -14
  277. package/data/packages/platform-core/api/Variable.INTELLIGENCE_TOP_P.md +0 -14
  278. package/data/packages/platform-core/api/Variable.IS_PUBLIC_KEY.md +0 -12
  279. package/data/packages/platform-core/api/Variable.IpAddress.md +0 -31
  280. package/data/packages/platform-core/api/Variable.Lang.md +0 -29
  281. package/data/packages/platform-core/api/Variable.NODE_ENV.md +0 -14
  282. package/data/packages/platform-core/api/Variable.PLATFORM_CORE_CONFIG_ENTRIES.md +0 -14
  283. package/data/packages/platform-core/api/Variable.UserAgent.md +0 -24
  284. package/data/packages/platform-core/api/index.md +0 -142
  285. package/data/packages/platform-core/index.md +0 -485
  286. package/data/packages/platform-cryptography/api/Class.BcryptService.md +0 -72
  287. package/data/packages/platform-cryptography/api/Class.CryptoService.md +0 -51
  288. package/data/packages/platform-cryptography/api/Class.OtpService.md +0 -109
  289. package/data/packages/platform-cryptography/api/Interface.IOtpService.md +0 -81
  290. package/data/packages/platform-cryptography/api/Interface.IOtpUriOptions.md +0 -46
  291. package/data/packages/platform-cryptography/api/Variable.OTP_SERVICE_TOKEN.md +0 -14
  292. package/data/packages/platform-cryptography/api/Variable.TOTP_EPOCH_TOLERANCE.md +0 -23
  293. package/data/packages/platform-cryptography/api/index.md +0 -28
  294. package/data/packages/platform-cryptography/index.md +0 -132
  295. package/data/packages/platform-database/api/Class.DatabaseHealthIndicator.md +0 -75
  296. package/data/packages/platform-database/api/Class.DatabaseModule.md +0 -70
  297. package/data/packages/platform-database/api/Class.DatabaseService.md +0 -160
  298. package/data/packages/platform-database/api/Class.PrismaService.md +0 -111
  299. package/data/packages/platform-database/api/Class.RepositoryBase.md +0 -586
  300. package/data/packages/platform-database/api/Class.RepositoryExceptionFilter.md +0 -55
  301. package/data/packages/platform-database/api/Function.pageable.md +0 -35
  302. package/data/packages/platform-database/api/Function.paginator.md +0 -22
  303. package/data/packages/platform-database/api/Function.query.md +0 -34
  304. package/data/packages/platform-database/api/Function.skip.md +0 -33
  305. package/data/packages/platform-database/api/Function.transactionalQuery.md +0 -31
  306. package/data/packages/platform-database/api/Interface.IDatabaseModuleConfig.md +0 -22
  307. package/data/packages/platform-database/api/Interface.IPaginateOptions.md +0 -28
  308. package/data/packages/platform-database/api/Interface.IPaginatedResult.md +0 -77
  309. package/data/packages/platform-database/api/Interface.IRepositoryQuery.md +0 -51
  310. package/data/packages/platform-database/api/Interface.ITransactionalRepositoryQuery.md +0 -50
  311. package/data/packages/platform-database/api/TypeAlias.DelegateArgs.md +0 -18
  312. package/data/packages/platform-database/api/TypeAlias.DelegateReturnTypes.md +0 -18
  313. package/data/packages/platform-database/api/TypeAlias.PaginateFunction.md +0 -31
  314. package/data/packages/platform-database/api/TypeAlias.QueryResultType.md +0 -27
  315. package/data/packages/platform-database/api/TypeAlias.TransactionalQueryResultType.md +0 -26
  316. package/data/packages/platform-database/api/index.md +0 -47
  317. package/data/packages/platform-database/index.md +0 -300
  318. package/data/packages/platform-documents/api/Class.BaseDocumentRenderer.md +0 -277
  319. package/data/packages/platform-documents/api/Class.DocumentEngine.md +0 -80
  320. package/data/packages/platform-documents/api/Class.DocumentModule.md +0 -47
  321. package/data/packages/platform-documents/api/Class.SharpImageProcessor.md +0 -131
  322. package/data/packages/platform-documents/api/Interface.IDocumentModuleOptions.md +0 -94
  323. package/data/packages/platform-documents/api/Interface.IDocumentPlaceholderDetail.md +0 -70
  324. package/data/packages/platform-documents/api/Interface.IDocumentProbeReport.md +0 -118
  325. package/data/packages/platform-documents/api/Interface.IDocumentRenderer.md +0 -47
  326. package/data/packages/platform-documents/api/Interface.IImagePayload.md +0 -58
  327. package/data/packages/platform-documents/api/Interface.IImageProcessor.md +0 -95
  328. package/data/packages/platform-documents/api/Interface.IRenderOptions.md +0 -64
  329. package/data/packages/platform-documents/api/Interface.IRenderResult.md +0 -58
  330. package/data/packages/platform-documents/api/TypeAlias.DocumentFormat.md +0 -14
  331. package/data/packages/platform-documents/api/TypeAlias.EngineType.md +0 -14
  332. package/data/packages/platform-documents/api/TypeAlias.ImageMimeType.md +0 -14
  333. package/data/packages/platform-documents/api/TypeAlias.TemplateFormat.md +0 -14
  334. package/data/packages/platform-documents/api/TypeAlias.TemplateType.md +0 -14
  335. package/data/packages/platform-documents/api/Variable.DOCUMENT_MODULE_OPTIONS.md +0 -14
  336. package/data/packages/platform-documents/api/Variable.DOCUMENT_PARSER_TOKEN.md +0 -14
  337. package/data/packages/platform-documents/api/Variable.DOCUMENT_RENDERER_TOKEN.md +0 -14
  338. package/data/packages/platform-documents/api/Variable.IMAGE_PROCESSOR_TOKEN.md +0 -14
  339. package/data/packages/platform-documents/api/index.md +0 -47
  340. package/data/packages/platform-documents/index.md +0 -219
  341. package/data/packages/platform-esigning/api/Class.EsigningClientPort.md +0 -184
  342. package/data/packages/platform-esigning/api/Class.EsigningError.md +0 -65
  343. package/data/packages/platform-esigning/api/Class.EsigningModule.md +0 -48
  344. package/data/packages/platform-esigning/api/Class.EsigningPersistencePort.md +0 -90
  345. package/data/packages/platform-esigning/api/Class.EsigningService.md +0 -198
  346. package/data/packages/platform-esigning/api/Class.InternalEsigningProvider.md +0 -249
  347. package/data/packages/platform-esigning/api/Class.SigningProviderError.md +0 -101
  348. package/data/packages/platform-esigning/api/Class.SigningRequestNotFoundError.md +0 -78
  349. package/data/packages/platform-esigning/api/Class.WebhookVerificationError.md +0 -60
  350. package/data/packages/platform-esigning/api/Interface.ICreateSigningRequest.md +0 -94
  351. package/data/packages/platform-esigning/api/Interface.ICreateSigningRequestDocument.md +0 -58
  352. package/data/packages/platform-esigning/api/Interface.ICreateSigningRequestSigner.md +0 -58
  353. package/data/packages/platform-esigning/api/Interface.ICreateSigningSessionRequest.md +0 -46
  354. package/data/packages/platform-esigning/api/Interface.IEsigningModuleOptions.md +0 -60
  355. package/data/packages/platform-esigning/api/Interface.IEsigningWebhookEvent.md +0 -82
  356. package/data/packages/platform-esigning/api/Interface.ISignedDocument.md +0 -82
  357. package/data/packages/platform-esigning/api/Interface.ISigner.md +0 -82
  358. package/data/packages/platform-esigning/api/Interface.ISigningDocument.md +0 -82
  359. package/data/packages/platform-esigning/api/Interface.ISigningField.md +0 -142
  360. package/data/packages/platform-esigning/api/Interface.ISigningRequest.md +0 -142
  361. package/data/packages/platform-esigning/api/Interface.ISigningSession.md +0 -70
  362. package/data/packages/platform-esigning/api/TypeAlias.SignerRole.md +0 -14
  363. package/data/packages/platform-esigning/api/TypeAlias.SignerStatus.md +0 -14
  364. package/data/packages/platform-esigning/api/TypeAlias.SigningFieldType.md +0 -14
  365. package/data/packages/platform-esigning/api/TypeAlias.SigningRequestStatus.md +0 -14
  366. package/data/packages/platform-esigning/api/TypeAlias.WebhookEventType.md +0 -14
  367. package/data/packages/platform-esigning/api/Variable.ADOBE_SIGN_BASE_URL.md +0 -14
  368. package/data/packages/platform-esigning/api/Variable.ADOBE_SIGN_CLIENT_SECRET.md +0 -14
  369. package/data/packages/platform-esigning/api/Variable.ADOBE_SIGN_CONFIG_ENTRIES.md +0 -14
  370. package/data/packages/platform-esigning/api/Variable.ADOBE_SIGN_INTEGRATION_KEY.md +0 -14
  371. package/data/packages/platform-esigning/api/Variable.ADOBE_SIGN_WEBHOOK_CLIENT_ID.md +0 -14
  372. package/data/packages/platform-esigning/api/Variable.DOCUSIGN_ACCOUNT_ID.md +0 -14
  373. package/data/packages/platform-esigning/api/Variable.DOCUSIGN_BASE_URL.md +0 -14
  374. package/data/packages/platform-esigning/api/Variable.DOCUSIGN_CONFIG_ENTRIES.md +0 -14
  375. package/data/packages/platform-esigning/api/Variable.DOCUSIGN_INTEGRATION_KEY.md +0 -14
  376. package/data/packages/platform-esigning/api/Variable.DOCUSIGN_SECRET_KEY.md +0 -14
  377. package/data/packages/platform-esigning/api/Variable.DOCUSIGN_WEBHOOK_HMAC_KEY.md +0 -14
  378. package/data/packages/platform-esigning/api/Variable.DROPBOX_SIGN_API_KEY.md +0 -14
  379. package/data/packages/platform-esigning/api/Variable.DROPBOX_SIGN_CLIENT_ID.md +0 -14
  380. package/data/packages/platform-esigning/api/Variable.DROPBOX_SIGN_CONFIG_ENTRIES.md +0 -14
  381. package/data/packages/platform-esigning/api/Variable.DROPBOX_SIGN_WEBHOOK_SECRET.md +0 -14
  382. package/data/packages/platform-esigning/api/Variable.ESIGNING_API_BASE_URL.md +0 -14
  383. package/data/packages/platform-esigning/api/Variable.ESIGNING_API_KEY.md +0 -14
  384. package/data/packages/platform-esigning/api/Variable.ESIGNING_PROVIDER.md +0 -12
  385. package/data/packages/platform-esigning/api/Variable.ESIGNING_PROVIDER_OPTIONS.md +0 -12
  386. package/data/packages/platform-esigning/api/Variable.ESIGNING_WEBHOOK_SECRET.md +0 -14
  387. package/data/packages/platform-esigning/api/Variable.PLATFORM_ESIGNING_CONFIG_ENTRIES.md +0 -14
  388. package/data/packages/platform-esigning/api/Variable.SIGNNOW_API_KEY.md +0 -14
  389. package/data/packages/platform-esigning/api/Variable.SIGNNOW_BASE_URL.md +0 -14
  390. package/data/packages/platform-esigning/api/Variable.SIGNNOW_CLIENT_ID.md +0 -14
  391. package/data/packages/platform-esigning/api/Variable.SIGNNOW_CLIENT_SECRET.md +0 -14
  392. package/data/packages/platform-esigning/api/Variable.SIGNNOW_CONFIG_ENTRIES.md +0 -14
  393. package/data/packages/platform-esigning/api/Variable.SIGNNOW_WEBHOOK_SECRET.md +0 -14
  394. package/data/packages/platform-esigning/api/Variable.SignerRoles.md +0 -30
  395. package/data/packages/platform-esigning/api/Variable.SignerStatuses.md +0 -32
  396. package/data/packages/platform-esigning/api/Variable.SigningFieldTypes.md +0 -38
  397. package/data/packages/platform-esigning/api/Variable.SigningRequestStatuses.md +0 -36
  398. package/data/packages/platform-esigning/api/Variable.WebhookEventTypes.md +0 -38
  399. package/data/packages/platform-esigning/api/index.md +0 -84
  400. package/data/packages/platform-esigning/index.md +0 -691
  401. package/data/packages/platform-intelligence/api/Class.IntelligenceCapabilityRegistrarBase.md +0 -94
  402. package/data/packages/platform-intelligence/api/Class.IntelligenceCapabilityRegistry.md +0 -106
  403. package/data/packages/platform-intelligence/api/Class.IntelligenceModule.md +0 -22
  404. package/data/packages/platform-intelligence/api/Class.IntelligenceTextGenerator.md +0 -81
  405. package/data/packages/platform-intelligence/api/Function.createProviderOptions.md +0 -26
  406. package/data/packages/platform-intelligence/api/Function.loadAnthropicLanguageModel.md +0 -26
  407. package/data/packages/platform-intelligence/api/Function.loadGoogleLanguageModel.md +0 -26
  408. package/data/packages/platform-intelligence/api/Function.loadGrokLanguageModel.md +0 -26
  409. package/data/packages/platform-intelligence/api/Function.loadOpenAILanguageModel.md +0 -26
  410. package/data/packages/platform-intelligence/api/Function.loadProviderFactory.md +0 -31
  411. package/data/packages/platform-intelligence/api/Interface.IIntelligenceArtifact.md +0 -34
  412. package/data/packages/platform-intelligence/api/Interface.IIntelligenceCapability.md +0 -71
  413. package/data/packages/platform-intelligence/api/Interface.IIntelligenceCapabilityMetadata.md +0 -70
  414. package/data/packages/platform-intelligence/api/Interface.IIntelligenceCapabilityPayload.md +0 -46
  415. package/data/packages/platform-intelligence/api/Interface.IIntelligenceCapabilityRegistry.md +0 -78
  416. package/data/packages/platform-intelligence/api/Interface.IIntelligenceCapabilityResult.md +0 -46
  417. package/data/packages/platform-intelligence/api/Interface.IIntelligenceCompletionUsage.md +0 -46
  418. package/data/packages/platform-intelligence/api/Interface.IIntelligenceContext.md +0 -72
  419. package/data/packages/platform-intelligence/api/Interface.IIntelligenceContextBuilder.md +0 -35
  420. package/data/packages/platform-intelligence/api/Interface.IIntelligenceConversationMessageSnapshot.md +0 -70
  421. package/data/packages/platform-intelligence/api/Interface.IIntelligenceConversationSnapshot.md +0 -58
  422. package/data/packages/platform-intelligence/api/Interface.IIntelligenceFollowUpQuestion.md +0 -46
  423. package/data/packages/platform-intelligence/api/Interface.IIntelligenceIntent.md +0 -46
  424. package/data/packages/platform-intelligence/api/Interface.IIntelligenceIntentEntity.md +0 -34
  425. package/data/packages/platform-intelligence/api/Interface.IIntelligenceMessageModel.md +0 -70
  426. package/data/packages/platform-intelligence/api/Interface.IIntelligenceMessagePayload.md +0 -34
  427. package/data/packages/platform-intelligence/api/Interface.IIntelligencePrompt.md +0 -34
  428. package/data/packages/platform-intelligence/api/Interface.IIntelligencePromptMessage.md +0 -34
  429. package/data/packages/platform-intelligence/api/Interface.IIntelligenceProviderConfiguration.md +0 -94
  430. package/data/packages/platform-intelligence/api/Interface.IIntelligenceResponseMessage.md +0 -34
  431. package/data/packages/platform-intelligence/api/Interface.IIntelligenceTextCompletion.md +0 -60
  432. package/data/packages/platform-intelligence/api/Interface.IIntelligenceTextGenerationOptions.md +0 -46
  433. package/data/packages/platform-intelligence/api/Interface.IIntelligenceTextGenerator.md +0 -53
  434. package/data/packages/platform-intelligence/api/TypeAlias.IntelligenceConversationMessageRole.md +0 -14
  435. package/data/packages/platform-intelligence/api/TypeAlias.IntelligenceLanguageModelLoader.md +0 -24
  436. package/data/packages/platform-intelligence/api/TypeAlias.IntelligenceProviderName.md +0 -14
  437. package/data/packages/platform-intelligence/api/Variable.IntelligenceConversationMessageRoles.md +0 -26
  438. package/data/packages/platform-intelligence/api/Variable.IntelligenceProviderNames.md +0 -28
  439. package/data/packages/platform-intelligence/api/index.md +0 -69
  440. package/data/packages/platform-intelligence/index.md +0 -131
  441. package/data/packages/platform-logging/api/Class.LoggerModule.md +0 -20
  442. package/data/packages/platform-logging/api/Variable.APP_LOG_LEVEL.md +0 -14
  443. package/data/packages/platform-logging/api/Variable.PLATFORM_LOGGING_CONFIG_ENTRIES.md +0 -14
  444. package/data/packages/platform-logging/api/index.md +0 -19
  445. package/data/packages/platform-logging/index.md +0 -92
  446. package/data/packages/platform-mailing/api/Class.BlobTemplateFetchStrategy.md +0 -60
  447. package/data/packages/platform-mailing/api/Class.DeliveryStrategyBase.md +0 -66
  448. package/data/packages/platform-mailing/api/Class.FileTemplateFetchStrategy.md +0 -58
  449. package/data/packages/platform-mailing/api/Class.LogDeliveryStrategy.md +0 -75
  450. package/data/packages/platform-mailing/api/Class.MailHealthIndicator.md +0 -78
  451. package/data/packages/platform-mailing/api/Class.MailModule.md +0 -22
  452. package/data/packages/platform-mailing/api/Class.MailService.md +0 -96
  453. package/data/packages/platform-mailing/api/Class.MailTemplateEngine.md +0 -93
  454. package/data/packages/platform-mailing/api/Class.MailVerificationService.md +0 -85
  455. package/data/packages/platform-mailing/api/Class.MailgunDeliveryStrategy.md +0 -75
  456. package/data/packages/platform-mailing/api/Class.PostmarkDeliveryStrategy.md +0 -75
  457. package/data/packages/platform-mailing/api/Class.ResendDeliveryStrategy.md +0 -75
  458. package/data/packages/platform-mailing/api/Class.SendGridDeliveryStrategy.md +0 -75
  459. package/data/packages/platform-mailing/api/Class.SmtpDeliveryStrategy.md +0 -75
  460. package/data/packages/platform-mailing/api/Class.TemplateFetchStrategyBase.md +0 -53
  461. package/data/packages/platform-mailing/api/Interface.IMailEvents.md +0 -66
  462. package/data/packages/platform-mailing/api/Interface.IMailTemplateVariants.md +0 -30
  463. package/data/packages/platform-mailing/api/TypeAlias.MailTemplateFormat.md +0 -14
  464. package/data/packages/platform-mailing/api/Variable.MAILGUN_API_KEY.md +0 -14
  465. package/data/packages/platform-mailing/api/Variable.MAILGUN_CONFIG_ENTRIES.md +0 -14
  466. package/data/packages/platform-mailing/api/Variable.MAILGUN_DOMAIN.md +0 -14
  467. package/data/packages/platform-mailing/api/Variable.MAIL_DELIVERY_STRATEGY.md +0 -14
  468. package/data/packages/platform-mailing/api/Variable.MAIL_DELIVERY_STRATEGY_TOKEN.md +0 -12
  469. package/data/packages/platform-mailing/api/Variable.MAIL_HOST.md +0 -14
  470. package/data/packages/platform-mailing/api/Variable.MAIL_MAILGUN_API_KEY.md +0 -14
  471. package/data/packages/platform-mailing/api/Variable.MAIL_MAILGUN_DOMAIN.md +0 -14
  472. package/data/packages/platform-mailing/api/Variable.MAIL_PORT.md +0 -14
  473. package/data/packages/platform-mailing/api/Variable.MAIL_POSTMARK_API_KEY.md +0 -14
  474. package/data/packages/platform-mailing/api/Variable.MAIL_RESEND_API_KEY.md +0 -14
  475. package/data/packages/platform-mailing/api/Variable.MAIL_SENDER_EMAIL.md +0 -14
  476. package/data/packages/platform-mailing/api/Variable.MAIL_SENDGRID_API_KEY.md +0 -14
  477. package/data/packages/platform-mailing/api/Variable.MAIL_SMTP_HOST.md +0 -14
  478. package/data/packages/platform-mailing/api/Variable.MAIL_SMTP_PASSWORD.md +0 -14
  479. package/data/packages/platform-mailing/api/Variable.MAIL_SMTP_PORT.md +0 -14
  480. package/data/packages/platform-mailing/api/Variable.MAIL_SMTP_SECURE.md +0 -14
  481. package/data/packages/platform-mailing/api/Variable.MAIL_SMTP_USER.md +0 -14
  482. package/data/packages/platform-mailing/api/Variable.MAIL_TEMPLATE_ENGINE_FORMAT.md +0 -14
  483. package/data/packages/platform-mailing/api/Variable.MAIL_TEMPLATE_FETCH_STRATEGY_TOKEN.md +0 -16
  484. package/data/packages/platform-mailing/api/Variable.MAIL_TEMPLATE_STRATEGY.md +0 -14
  485. package/data/packages/platform-mailing/api/Variable.MAIL_USER.md +0 -14
  486. package/data/packages/platform-mailing/api/Variable.PLATFORM_MAILING_CONFIG_ENTRIES.md +0 -14
  487. package/data/packages/platform-mailing/api/Variable.POSTMARK_API_KEY.md +0 -14
  488. package/data/packages/platform-mailing/api/Variable.POSTMARK_CONFIG_ENTRIES.md +0 -14
  489. package/data/packages/platform-mailing/api/Variable.RESEND_API_KEY.md +0 -14
  490. package/data/packages/platform-mailing/api/Variable.RESEND_CONFIG_ENTRIES.md +0 -14
  491. package/data/packages/platform-mailing/api/Variable.SENDGRID_API_KEY.md +0 -14
  492. package/data/packages/platform-mailing/api/Variable.SENDGRID_CONFIG_ENTRIES.md +0 -14
  493. package/data/packages/platform-mailing/api/Variable.SEND_MAIL_EVENT_KEY.md +0 -14
  494. package/data/packages/platform-mailing/api/index.md +0 -74
  495. package/data/packages/platform-mailing/index.md +0 -335
  496. package/data/packages/platform-mcp/api/Class.McpDiscoveryService.md +0 -64
  497. package/data/packages/platform-mcp/api/Class.McpModule.md +0 -82
  498. package/data/packages/platform-mcp/api/Class.McpRegistryService.md +0 -146
  499. package/data/packages/platform-mcp/api/Class.McpServerService.md +0 -196
  500. package/data/packages/platform-mcp/api/Function.McpPrompt.md +0 -28
  501. package/data/packages/platform-mcp/api/Function.McpResource.md +0 -28
  502. package/data/packages/platform-mcp/api/Function.McpTool.md +0 -28
  503. package/data/packages/platform-mcp/api/Interface.IMcpHandlerMetadata.md +0 -46
  504. package/data/packages/platform-mcp/api/Interface.IMcpModuleAsyncOptions.md +0 -75
  505. package/data/packages/platform-mcp/api/Interface.IMcpModuleOptions.md +0 -125
  506. package/data/packages/platform-mcp/api/Interface.IMcpModuleOptionsFactory.md +0 -27
  507. package/data/packages/platform-mcp/api/Interface.IMcpPromptMetadata.md +0 -58
  508. package/data/packages/platform-mcp/api/Interface.IMcpResourceMetadata.md +0 -72
  509. package/data/packages/platform-mcp/api/Interface.IMcpToolMetadata.md +0 -82
  510. package/data/packages/platform-mcp/api/Interface.IRegisteredPrompt.md +0 -40
  511. package/data/packages/platform-mcp/api/Interface.IRegisteredResource.md +0 -40
  512. package/data/packages/platform-mcp/api/Interface.IRegisteredTool.md +0 -40
  513. package/data/packages/platform-mcp/api/Interface.ISseTransportOptions.md +0 -22
  514. package/data/packages/platform-mcp/api/Interface.IStreamableHttpTransportOptions.md +0 -38
  515. package/data/packages/platform-mcp/api/Variable.MCP_MODULE_OPTIONS.md +0 -14
  516. package/data/packages/platform-mcp/api/index.md +0 -46
  517. package/data/packages/platform-mcp/index.md +0 -299
  518. package/data/packages/platform-openapi/api/Class.SwaggerFeatureDiscovery.md +0 -70
  519. package/data/packages/platform-openapi/api/Class.SwaggerFeatureRegistry.md +0 -99
  520. package/data/packages/platform-openapi/api/Class.SwaggerMultiDocumentService.md +0 -77
  521. package/data/packages/platform-openapi/api/Class.SwaggerTheme.md +0 -46
  522. package/data/packages/platform-openapi/api/Function.Api.md +0 -35
  523. package/data/packages/platform-openapi/api/Function.SwaggerFeature.md +0 -42
  524. package/data/packages/platform-openapi/api/Function.getRegisteredSwaggerFeatures.md +0 -18
  525. package/data/packages/platform-openapi/api/Function.getSwaggerFeatureMetadata.md +0 -27
  526. package/data/packages/platform-openapi/api/Interface.IFeatureSwaggerConfig.md +0 -68
  527. package/data/packages/platform-openapi/api/Interface.ISwaggerFeatureMetadata.md +0 -68
  528. package/data/packages/platform-openapi/api/Variable.APP_VERSION.md +0 -14
  529. package/data/packages/platform-openapi/api/Variable.PLATFORM_OPENAPI_CONFIG_ENTRIES.md +0 -14
  530. package/data/packages/platform-openapi/api/Variable.SWAGGER_CONTACT_EMAIL.md +0 -14
  531. package/data/packages/platform-openapi/api/Variable.SWAGGER_CONTACT_NAME.md +0 -14
  532. package/data/packages/platform-openapi/api/Variable.SWAGGER_CONTACT_URL.md +0 -14
  533. package/data/packages/platform-openapi/api/Variable.SWAGGER_FEATURE_METADATA_KEY.md +0 -12
  534. package/data/packages/platform-openapi/api/index.md +0 -42
  535. package/data/packages/platform-openapi/index.md +0 -170
  536. package/data/packages/platform-payments/api/Class.FeatureAccessPort.md +0 -74
  537. package/data/packages/platform-payments/api/Class.FeatureGuard.md +0 -68
  538. package/data/packages/platform-payments/api/Class.FeatureUsageInterceptor.md +0 -69
  539. package/data/packages/platform-payments/api/Class.LemonSqueezyClient.md +0 -163
  540. package/data/packages/platform-payments/api/Class.MollieClient.md +0 -163
  541. package/data/packages/platform-payments/api/Class.PaddleClient.md +0 -163
  542. package/data/packages/platform-payments/api/Class.PaymentClientPort.md +0 -142
  543. package/data/packages/platform-payments/api/Class.PaymentModule.md +0 -48
  544. package/data/packages/platform-payments/api/Class.StripeClient.md +0 -163
  545. package/data/packages/platform-payments/api/Function.RequiresFeature.md +0 -25
  546. package/data/packages/platform-payments/api/Interface.IFeatureAccessResult.md +0 -70
  547. package/data/packages/platform-payments/api/Interface.INormalizedCheckoutSession.md +0 -70
  548. package/data/packages/platform-payments/api/Interface.INormalizedPrice.md +0 -80
  549. package/data/packages/platform-payments/api/Interface.INormalizedSubscription.md +0 -100
  550. package/data/packages/platform-payments/api/Interface.INormalizedWebhookEvent.md +0 -84
  551. package/data/packages/platform-payments/api/Interface.IPaymentModuleOptions.md +0 -60
  552. package/data/packages/platform-payments/api/TypeAlias.SubscriptionStatus.md +0 -22
  553. package/data/packages/platform-payments/api/Variable.FEATURE_KEY_METADATA.md +0 -12
  554. package/data/packages/platform-payments/api/Variable.LEMONSQUEEZY_API_KEY.md +0 -14
  555. package/data/packages/platform-payments/api/Variable.LEMONSQUEEZY_CONFIG_ENTRIES.md +0 -14
  556. package/data/packages/platform-payments/api/Variable.LEMONSQUEEZY_STORE_ID.md +0 -14
  557. package/data/packages/platform-payments/api/Variable.LEMONSQUEEZY_WEBHOOK_SECRET.md +0 -14
  558. package/data/packages/platform-payments/api/Variable.MOLLIE_API_KEY.md +0 -14
  559. package/data/packages/platform-payments/api/Variable.MOLLIE_CONFIG_ENTRIES.md +0 -14
  560. package/data/packages/platform-payments/api/Variable.MOLLIE_WEBHOOK_SECRET.md +0 -14
  561. package/data/packages/platform-payments/api/Variable.PADDLE_API_KEY.md +0 -14
  562. package/data/packages/platform-payments/api/Variable.PADDLE_CONFIG_ENTRIES.md +0 -14
  563. package/data/packages/platform-payments/api/Variable.PADDLE_ENVIRONMENT.md +0 -14
  564. package/data/packages/platform-payments/api/Variable.PADDLE_WEBHOOK_SECRET.md +0 -14
  565. package/data/packages/platform-payments/api/Variable.STRIPE_API_KEY.md +0 -14
  566. package/data/packages/platform-payments/api/Variable.STRIPE_CONFIG_ENTRIES.md +0 -14
  567. package/data/packages/platform-payments/api/Variable.STRIPE_WEBHOOK_SECRET.md +0 -14
  568. package/data/packages/platform-payments/api/index.md +0 -63
  569. package/data/packages/platform-payments/index.md +0 -532
  570. package/data/packages/platform-reporting/api/Class.ReportingContributorRegistry.md +0 -56
  571. package/data/packages/platform-reporting/api/Class.ReportingDatasetNotFoundError.md +0 -40
  572. package/data/packages/platform-reporting/api/Class.ReportingFacade.md +0 -84
  573. package/data/packages/platform-reporting/api/Class.ReportingModule.md +0 -22
  574. package/data/packages/platform-reporting/api/Interface.IReportingContributor.md +0 -61
  575. package/data/packages/platform-reporting/api/Interface.IReportingDataset.md +0 -82
  576. package/data/packages/platform-reporting/api/Interface.IReportingDatasetField.md +0 -70
  577. package/data/packages/platform-reporting/api/Interface.IReportingQuery.md +0 -60
  578. package/data/packages/platform-reporting/api/Interface.IReportingQueryFilter.md +0 -40
  579. package/data/packages/platform-reporting/api/Interface.IReportingQueryResult.md +0 -60
  580. package/data/packages/platform-reporting/api/Interface.IReportingQuerySort.md +0 -30
  581. package/data/packages/platform-reporting/api/TypeAlias.ReportingFieldType.md +0 -12
  582. package/data/packages/platform-reporting/api/TypeAlias.ReportingFilterOperator.md +0 -12
  583. package/data/packages/platform-reporting/api/TypeAlias.ReportingQueryResultRow.md +0 -14
  584. package/data/packages/platform-reporting/api/Variable.ReportingFieldTypes.md +0 -30
  585. package/data/packages/platform-reporting/api/Variable.ReportingFilterOperators.md +0 -28
  586. package/data/packages/platform-reporting/api/index.md +0 -42
  587. package/data/packages/platform-reporting/index.md +0 -229
  588. package/data/packages/platform-telemetry/api/Class.NoopTelemetryFacade.md +0 -113
  589. package/data/packages/platform-telemetry/api/Class.TelemetryCacheMetricsRecorder.md +0 -175
  590. package/data/packages/platform-telemetry/api/Class.TelemetryFacade.md +0 -127
  591. package/data/packages/platform-telemetry/api/Class.TelemetryLoggerService.md +0 -226
  592. package/data/packages/platform-telemetry/api/Class.TelemetryModule.md +0 -40
  593. package/data/packages/platform-telemetry/api/Class.TelemetryRuleEngine.md +0 -48
  594. package/data/packages/platform-telemetry/api/Interface.ITelemetryFacade.md +0 -85
  595. package/data/packages/platform-telemetry/api/Interface.ITelemetryMetricsOptions.md +0 -38
  596. package/data/packages/platform-telemetry/api/Interface.ITelemetryOptions.md +0 -136
  597. package/data/packages/platform-telemetry/api/Interface.ITelemetryTracesOptions.md +0 -38
  598. package/data/packages/platform-telemetry/api/Variable.TELEMETRY_ENABLED.md +0 -12
  599. package/data/packages/platform-telemetry/api/Variable.TELEMETRY_FACADE.md +0 -12
  600. package/data/packages/platform-telemetry/api/Variable.TELEMETRY_OPTIONS.md +0 -12
  601. package/data/packages/platform-telemetry/api/Variable.TELEMETRY_SHUTDOWN.md +0 -12
  602. package/data/packages/platform-telemetry/api/Variable.defaultTelemetryOptions.md +0 -12
  603. package/data/packages/platform-telemetry/api/index.md +0 -36
  604. package/data/packages/platform-telemetry/index.md +0 -234
@@ -1,240 +0,0 @@
1
- ---
2
- title: Cryptography & OTP
3
- description: Hash passwords with bcrypt, generate prefixed UUIDs, and implement TOTP-based multi-factor authentication with QR code enrollment.
4
- order: 17
5
- ---
6
-
7
- # Cryptography & OTP
8
-
9
- This guide covers cryptographic utilities provided by `platform-cryptography`: password hashing with bcrypt, prefixed UUID generation, and TOTP-based one-time password flows for multi-factor authentication.
10
-
11
- ---
12
-
13
- ## Installation
14
-
15
- ```bash
16
- yarn add @breadstone/archipel-platform-cryptography
17
- ```
18
-
19
- ---
20
-
21
- ## Password Hashing with Bcrypt
22
-
23
- `BcryptService` wraps the `bcrypt` library to hash and verify passwords securely. It generates a unique salt per hash automatically.
24
-
25
- ### Hashing a Password
26
-
27
- ```typescript
28
- import { Injectable } from '@nestjs/common';
29
- import { BcryptService } from '@breadstone/archipel-platform-cryptography';
30
-
31
- @Injectable()
32
- export class UserService {
33
- private readonly _bcrypt: BcryptService;
34
-
35
- constructor(bcrypt: BcryptService) {
36
- this._bcrypt = bcrypt;
37
- }
38
-
39
- public async createUser(email: string, password: string): Promise<void> {
40
- const hashedPassword = await this._bcrypt.hash(password);
41
- // Store hashedPassword in the database — never the plain password
42
- await this._userRepository.create({ email, password: hashedPassword });
43
- }
44
- }
45
- ```
46
-
47
- ### Verifying a Password
48
-
49
- ```typescript
50
- public async authenticate(email: string, password: string): Promise<boolean> {
51
- const user = await this._userRepository.findByEmail(email);
52
- if (!user) {
53
- return false;
54
- }
55
-
56
- return this._bcrypt.compare(password, user.password);
57
- }
58
- ```
59
-
60
- `compare()` returns `true` if the plain-text password matches the stored hash.
61
-
62
- ---
63
-
64
- ## Generating Prefixed UUIDs
65
-
66
- `CryptoService` generates UUIDs with a configurable prefix. This is useful for creating human-readable identifiers that indicate their resource type.
67
-
68
- ```typescript
69
- import { Injectable } from '@nestjs/common';
70
- import { CryptoService } from '@breadstone/archipel-platform-cryptography';
71
-
72
- @Injectable()
73
- export class OrderService {
74
- private readonly _crypto: CryptoService;
75
-
76
- constructor(crypto: CryptoService) {
77
- this._crypto = crypto;
78
- }
79
-
80
- public createOrderId(): string {
81
- return this._crypto.getRandomGuid('ord');
82
- // Example: "ord-a1b2c3d4-e5f6-7890-abcd-ef1234567890"
83
- }
84
- }
85
- ```
86
-
87
- The prefix is required and must be a non-empty string. Use short, descriptive prefixes that represent the resource type:
88
-
89
- | Resource | Prefix | Example |
90
- | ------------ | ------ | ------------------------------------------ |
91
- | Order | `ord` | `ord-550e8400-e29b-41d4-a716-446655440000` |
92
- | Invoice | `inv` | `inv-6ba7b810-9dad-11d1-80b4-00c04fd430c8` |
93
- | Subscription | `sub` | `sub-f47ac10b-58cc-4372-a567-0e02b2c3d479` |
94
- | User | `usr` | `usr-7c9e6679-7425-40de-944b-e07fc1f90ae7` |
95
-
96
- ---
97
-
98
- ## TOTP Multi-Factor Authentication
99
-
100
- `OtpService` implements TOTP (Time-Based One-Time Password) as defined in [RFC 6238](https://datatracker.ietf.org/doc/html/rfc6238). It supports QR code enrollment and token verification.
101
-
102
- ### Injecting OtpService
103
-
104
- `OtpService` is provided behind the `OTP_SERVICE_TOKEN` injection token so consumers depend on the `IOtpService` interface:
105
-
106
- ```typescript
107
- import { Module } from '@nestjs/common';
108
- import { OtpService, OTP_SERVICE_TOKEN } from '@breadstone/archipel-platform-cryptography';
109
-
110
- @Module({
111
- providers: [
112
- {
113
- provide: OTP_SERVICE_TOKEN,
114
- useClass: OtpService,
115
- },
116
- ],
117
- exports: [OTP_SERVICE_TOKEN],
118
- })
119
- export class SecurityModule {}
120
- ```
121
-
122
- ### Enrolling a User
123
-
124
- Generate a secret and a QR code URI for the user's authenticator app:
125
-
126
- ```typescript
127
- import { Inject, Injectable } from '@nestjs/common';
128
- import { OTP_SERVICE_TOKEN, type IOtpService } from '@breadstone/archipel-platform-cryptography';
129
-
130
- @Injectable()
131
- export class MfaService {
132
- private readonly _otp: IOtpService;
133
-
134
- constructor(@Inject(OTP_SERVICE_TOKEN) otp: IOtpService) {
135
- this._otp = otp;
136
- }
137
-
138
- public async enroll(userId: string, email: string): Promise<{ secret: string; uri: string }> {
139
- const secret = this._otp.generateSecret();
140
- const uri = this._otp.generateUri({
141
- issuer: 'MyApp',
142
- label: email,
143
- secret: secret,
144
- });
145
-
146
- // Store the secret securely alongside the user record
147
- await this._userRepository.updateMfaSecret(userId, secret);
148
-
149
- return { secret, uri };
150
- // The URI can be encoded as a QR code for scanning with Google Authenticator, Authy, etc.
151
- }
152
- }
153
- ```
154
-
155
- ### Verifying a Token
156
-
157
- Verify a 6-digit TOTP code entered by the user:
158
-
159
- ```typescript
160
- public verifyToken(token: string, secret: string): boolean {
161
- return this._otp.verify(token, secret);
162
- }
163
- ```
164
-
165
- Verification uses a configurable tolerance window (`TOTP_EPOCH_TOLERANCE`). The default tolerance is **30 seconds** (±1 time step), meaning the current code and the immediately preceding/following codes are accepted. This compensates for minor clock drift between the server and the user's device.
166
-
167
- ### Tolerance Configuration
168
-
169
- The `TOTP_EPOCH_TOLERANCE` constant controls the verification window:
170
-
171
- | `TOTP_EPOCH_TOLERANCE` | Accepted range |
172
- | ---------------------- | ----------------- |
173
- | `0` | Current step only |
174
- | `30` | ±1 step (±30 s) |
175
- | `60` | ±2 steps (±60 s) |
176
- | `90` | ±3 steps (±90 s) |
177
-
178
- The default value is `30` (±1 step).
179
-
180
- ---
181
-
182
- ## Combining Services
183
-
184
- A typical MFA login flow uses all three services:
185
-
186
- ```typescript
187
- @Injectable()
188
- export class AuthService {
189
- private readonly _bcrypt: BcryptService;
190
- private readonly _otp: IOtpService;
191
- private readonly _crypto: CryptoService;
192
-
193
- constructor(bcrypt: BcryptService, @Inject(OTP_SERVICE_TOKEN) otp: IOtpService, crypto: CryptoService) {
194
- this._bcrypt = bcrypt;
195
- this._otp = otp;
196
- this._crypto = crypto;
197
- }
198
-
199
- public async login(email: string, password: string, totpCode?: string): Promise<IAuthResult> {
200
- const user = await this._userRepository.findByEmail(email);
201
- if (!user) {
202
- throw new UnauthorizedException();
203
- }
204
-
205
- // Step 1: Verify password
206
- const validPassword = await this._bcrypt.compare(password, user.password);
207
- if (!validPassword) {
208
- throw new UnauthorizedException();
209
- }
210
-
211
- // Step 2: Verify TOTP (if MFA is enabled)
212
- if (user.mfaEnabled) {
213
- if (!totpCode) {
214
- return { status: 'mfa-required' };
215
- }
216
- const validTotp = this._otp.verify(totpCode, user.mfaSecret);
217
- if (!validTotp) {
218
- throw new UnauthorizedException('Invalid MFA code');
219
- }
220
- }
221
-
222
- // Step 3: Issue session
223
- const sessionId = this._crypto.getRandomGuid('ses');
224
- return { status: 'authenticated', sessionId };
225
- }
226
- }
227
- ```
228
-
229
- ---
230
-
231
- ## Security Best Practices
232
-
233
- | Practice | Why |
234
- | ----------------------------------- | --------------------------------------------------------- |
235
- | Never store plain-text passwords | Always use `BcryptService.hash()` before persisting |
236
- | Store MFA secrets encrypted at rest | The TOTP secret is equivalent to a password |
237
- | Use rate limiting on verification | Prevents brute-force attacks on 6-digit TOTP codes |
238
- | Generate backup codes on enrollment | Users may lose access to their authenticator device |
239
- | Log MFA events, not secrets | Never log secrets, tokens, or plain-text passwords |
240
- | Use `OTP_SERVICE_TOKEN` for DI | Depend on `IOtpService` interface, not the concrete class |
@@ -1,174 +0,0 @@
1
- ---
2
- title: Document Generation
3
- description: Generate PDF and DOCX documents from templates with variable substitution and image processing.
4
- order: 11
5
- ---
6
-
7
- # Document Generation
8
-
9
- This guide covers generating documents with `platform-documents`: template setup, variable substitution, image processing, and rendering to PDF or DOCX.
10
-
11
- ---
12
-
13
- ## Installation
14
-
15
- ```bash
16
- yarn add @breadstone/archipel-platform-documents
17
- ```
18
-
19
- ---
20
-
21
- ## Module Registration
22
-
23
- ```typescript
24
- import { Module } from '@nestjs/common';
25
- import { DocumentModule } from '@breadstone/archipel-platform-documents';
26
-
27
- @Module({
28
- imports: [
29
- DocumentModule.forRoot({
30
- maxImageWidth: 1920,
31
- maxImageHeight: 1080,
32
- delimiters: { start: '[[', end: ']]' },
33
- }),
34
- ],
35
- })
36
- export class AppModule {}
37
- ```
38
-
39
- ### Options
40
-
41
- | Option | Default | Description |
42
- | ---------------- | ------- | ------------------------------------------------- |
43
- | `maxImageWidth` | `1920` | Maximum width for embedded images (in pixels) |
44
- | `maxImageHeight` | `1080` | Maximum height for embedded images (in pixels) |
45
- | `delimiters` | `[[ ]]` | Start and end delimiters for template variables |
46
- | `debug` | `false` | Enable verbose logging for the rendering pipeline |
47
-
48
- ---
49
-
50
- ## Creating Templates
51
-
52
- Templates are document files (DOCX) with placeholder variables. By default, placeholders use double brackets:
53
-
54
- ```
55
- Dear [[customerName]],
56
-
57
- Your order [[orderId]] has been confirmed.
58
- Total: [[orderTotal]]
59
-
60
- Thank you for your business.
61
- ```
62
-
63
- You can change the delimiter format:
64
-
65
- ```typescript
66
- DocumentModule.forRoot({
67
- delimiters: { start: '{{', end: '}}' },
68
- });
69
- ```
70
-
71
- ---
72
-
73
- ## Rendering Documents
74
-
75
- Use `DocumentEngine` to render templates with data:
76
-
77
- ```typescript
78
- import { Injectable } from '@nestjs/common';
79
- import { DocumentEngine } from '@breadstone/archipel-platform-documents';
80
-
81
- @Injectable()
82
- export class InvoiceService {
83
- private readonly _documentEngine: DocumentEngine;
84
-
85
- constructor(documentEngine: DocumentEngine) {
86
- this._documentEngine = documentEngine;
87
- }
88
-
89
- public async generateInvoice(orderId: string, data: Record<string, unknown>): Promise<Buffer> {
90
- return this._documentEngine.render({
91
- template: 'invoice-template.docx',
92
- data: {
93
- customerName: data['customerName'],
94
- orderId,
95
- orderTotal: data['total'],
96
- date: new Date().toLocaleDateString(),
97
- },
98
- format: 'pdf', // or 'docx'
99
- });
100
- }
101
- }
102
- ```
103
-
104
- ### Supported Output Formats
105
-
106
- | Format | Renderer | Description |
107
- | ------ | ------------- | ------------------------------------- |
108
- | `pdf` | PDF Renderer | Convert template to PDF |
109
- | `docx` | DOCX Renderer | Keep as DOCX with filled placeholders |
110
-
111
- ---
112
-
113
- ## Image Processing
114
-
115
- The `SharpImageProcessor` automatically optimizes embedded images:
116
-
117
- - Resizes images that exceed `maxImageWidth` or `maxImageHeight`
118
- - Preserves aspect ratio
119
- - Compresses images for smaller file sizes
120
-
121
- This is useful for templates that include dynamic images (logos, product photos, signatures).
122
-
123
- ---
124
-
125
- ## Serving Documents via HTTP
126
-
127
- ```typescript
128
- import { Controller, Get, Res, Param } from '@nestjs/common';
129
- import { Response } from 'express';
130
-
131
- @Controller('invoices')
132
- export class InvoiceController {
133
- private readonly _invoiceService: InvoiceService;
134
-
135
- constructor(invoiceService: InvoiceService) {
136
- this._invoiceService = invoiceService;
137
- }
138
-
139
- @Get(':orderId/pdf')
140
- public async downloadInvoice(@Param('orderId') orderId: string, @Res() res: Response): Promise<void> {
141
- const pdf = await this._invoiceService.generateInvoice(orderId, {
142
- /* ... */
143
- });
144
-
145
- res.set({
146
- 'Content-Type': 'application/pdf',
147
- 'Content-Disposition': `attachment; filename="invoice-${orderId}.pdf"`,
148
- });
149
-
150
- res.send(pdf);
151
- }
152
- }
153
- ```
154
-
155
- ---
156
-
157
- ## Debug Mode
158
-
159
- Enable debug logging to trace the rendering pipeline:
160
-
161
- ```typescript
162
- DocumentModule.forRoot({
163
- debug: true,
164
- });
165
- ```
166
-
167
- This logs each step of the rendering process: template loading, placeholder parsing, variable substitution, image processing, and final output generation.
168
-
169
- ---
170
-
171
- ## Next Steps
172
-
173
- - See the [Blob Storage](/guides/blob-storage) guide for storing generated documents
174
- - Browse the [platform-documents API reference](/packages/platform-documents/api/) for complete method signatures
@@ -1,196 +0,0 @@
1
- ---
2
- title: Email Delivery
3
- description: Send transactional emails with multiple providers, template engines, and email verification flows.
4
- order: 8
5
- ---
6
-
7
- # Email Delivery
8
-
9
- This guide covers sending emails with `platform-mailing`: choosing a delivery provider, configuring template rendering, sending transactional emails, and integrating email verification flows.
10
-
11
- ---
12
-
13
- ## Installation
14
-
15
- ```bash
16
- yarn add @breadstone/archipel-platform-mailing
17
- ```
18
-
19
- ---
20
-
21
- ## Choose a Delivery Strategy
22
-
23
- `platform-mailing` supports multiple email providers. You select the strategy via environment variables — no code changes required to switch providers.
24
-
25
- | Strategy | Value for `MAIL_DELIVERY_STRATEGY` | When to use |
26
- | ------------ | ---------------------------------- | ------------------------------------ |
27
- | **SMTP** | `smtp` | Any SMTP server (self-hosted, relay) |
28
- | **Postmark** | `postmark` | Postmark transactional email |
29
- | **Resend** | `resend` | Resend API |
30
- | **SendGrid** | `sendgrid` | Twilio SendGrid |
31
- | **Mailgun** | `mailgun` | Mailgun API |
32
- | **Log** | `log` | Development only — logs to console |
33
-
34
- ---
35
-
36
- ## Module Registration
37
-
38
- `MailModule` is a global module. Register it once in your root module:
39
-
40
- ```typescript
41
- import { Module } from '@nestjs/common';
42
- import { MailModule } from '@breadstone/archipel-platform-mailing';
43
-
44
- @Module({
45
- imports: [MailModule],
46
- })
47
- export class AppModule {}
48
- ```
49
-
50
- The module reads all configuration from environment variables. No `register()` call is needed.
51
-
52
- ---
53
-
54
- ## Configuration
55
-
56
- ### Core Variables
57
-
58
- ```env
59
- MAIL_DELIVERY_STRATEGY=resend
60
- MAIL_TEMPLATE_STRATEGY=file
61
- MAIL_TEMPLATE_ENGINE_FORMAT=html
62
- MAIL_FROM_ADDRESS=noreply@yourapp.com
63
- MAIL_FROM_NAME=YourApp
64
- ```
65
-
66
- ### Provider-Specific Variables
67
-
68
- #### SMTP
69
-
70
- ```env
71
- MAIL_SMTP_HOST=smtp.example.com
72
- MAIL_SMTP_PORT=587
73
- MAIL_SMTP_USER=user@example.com
74
- MAIL_SMTP_PASS=password
75
- MAIL_SMTP_SECURE=true
76
- ```
77
-
78
- #### Resend
79
-
80
- ```env
81
- MAIL_RESEND_API_KEY=re_...
82
- ```
83
-
84
- #### Postmark
85
-
86
- ```env
87
- MAIL_POSTMARK_API_KEY=...
88
- ```
89
-
90
- #### SendGrid
91
-
92
- ```env
93
- MAIL_SENDGRID_API_KEY=SG...
94
- ```
95
-
96
- #### Mailgun
97
-
98
- ```env
99
- MAIL_MAILGUN_API_KEY=key-...
100
- MAIL_MAILGUN_DOMAIN=mg.yourapp.com
101
- ```
102
-
103
- ### Template Strategies
104
-
105
- Templates can be loaded from the filesystem or from blob storage:
106
-
107
- | Strategy | Value for `MAIL_TEMPLATE_STRATEGY` | Description |
108
- | -------- | ---------------------------------- | ------------------------------------------- |
109
- | **File** | `file` | Load templates from a local directory |
110
- | **Blob** | `blob` | Load templates from `platform-blob-storage` |
111
-
112
- For file-based templates, place your `.html` or `.txt` files in the configured template directory.
113
-
114
- ---
115
-
116
- ## Sending Emails
117
-
118
- Inject `MailService` to send emails with templates:
119
-
120
- ```typescript
121
- import { Injectable } from '@nestjs/common';
122
- import { MailService } from '@breadstone/archipel-platform-mailing';
123
-
124
- @Injectable()
125
- export class NotificationService {
126
- private readonly _mailService: MailService;
127
-
128
- constructor(mailService: MailService) {
129
- this._mailService = mailService;
130
- }
131
-
132
- public async sendWelcomeEmail(email: string, userName: string): Promise<void> {
133
- await this._mailService.send({
134
- to: email,
135
- subject: 'Welcome to YourApp',
136
- template: 'welcome',
137
- context: {
138
- userName,
139
- dashboardUrl: 'https://yourapp.com/dashboard',
140
- },
141
- });
142
- }
143
- }
144
- ```
145
-
146
- The `template` field is the template name (without extension). The `context` object is passed to the template engine for variable substitution.
147
-
148
- ---
149
-
150
- ## Email Verification
151
-
152
- `MailVerificationService` provides a complete email verification flow:
153
-
154
- ```typescript
155
- import { Injectable } from '@nestjs/common';
156
- import { MailVerificationService } from '@breadstone/archipel-platform-mailing';
157
- import { VerificationService } from '@breadstone/archipel-platform-authentication';
158
-
159
- @Injectable()
160
- export class RegistrationService {
161
- private readonly _mailVerification: MailVerificationService;
162
- private readonly _verification: VerificationService;
163
-
164
- constructor(mailVerification: MailVerificationService, verification: VerificationService) {
165
- this._mailVerification = mailVerification;
166
- this._verification = verification;
167
- }
168
-
169
- public async sendVerificationEmail(userId: string, email: string): Promise<void> {
170
- const token = await this._verification.exhibitToken({ userId, email });
171
-
172
- await this._mailVerification.sendVerification(email, token);
173
- }
174
- }
175
- ```
176
-
177
- ---
178
-
179
- ## Health Checks
180
-
181
- `MailHealthIndicator` is registered automatically and verifies connectivity to the configured mail provider. It appears in your `/health` endpoint alongside other health indicators.
182
-
183
- ---
184
-
185
- ## Development Tips
186
-
187
- - Use `MAIL_DELIVERY_STRATEGY=log` during local development to see email content in the console without sending real emails.
188
- - Use the **blob** template strategy when templates are shared across multiple services or managed by a CMS.
189
- - Template variables use the format defined by the template engine. Place templates in a well-organized directory structure (e.g., `templates/mail/welcome.html`).
190
-
191
- ---
192
-
193
- ## Next Steps
194
-
195
- - See the [Authentication & Authorization](/guides/authentication-and-authorization) guide for integrating email verification into the login flow
196
- - Browse the [platform-mailing API reference](/packages/platform-mailing/api/) for complete method signatures