ワンクリックで
getting-started
Use when sending SMS or voice calls in NestJS apis.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when sending SMS or voice calls in NestJS apis.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when scanning NestJS providers with DiscoveryService-backed utilities.
Use when working with the @wisemen/nestjs-custom-fields package — developer-defined custom fields in NestJS with TypeORM persistence and runtime validation. Covers registering the CustomFieldDefinition entity, authoring definitions with customFieldDefinition(), storing resolved values via @CustomFieldValueColumn(), exposing them through CustomFieldValueDto / @IsCustomFields(), and validating submissions with CustomFieldDefinitionsRepository + validateCustomFieldValues(). Use this whenever a task involves custom field definitions, CustomFieldValue columns, custom-field DTOs, or tenant-scoped field definitions, even if the package is not named explicitly.
Use when defining Typesense collections, collectors, and search queries in NestJS APIs.
Generate PDFs through API2PDF in NestJS. Use when converting HTML or URLs to PDFs in apis.
Use when storing and validating multilingual text in NestJS apis with TypeORM and class-validator.
Use when configuring NATS messaging, subscribers, or the simple NatsClient in NestJS applications.
| name | getting-started |
| description | Use when sending SMS or voice calls in NestJS apis. |
Register TwilioModule once with your account credentials, then inject Twilio anywhere you need to send SMS messages or trigger phone calls.
import { Module } from '@nestjs/common'
import { ConfigService } from '@nestjs/config'
import { TwilioModule } from '@wisemen/twilio'
@Module({
imports: [TwilioModule.forRootAsync({
inject: [ConfigService],
useFactory: (config: ConfigService) => ({
accountSid: config.getOrThrow('TWILIO_ACCOUNT_SID'),
authToken: config.getOrThrow('TWILIO_AUTH_TOKEN'),
phoneNumber: config.getOrThrow('TWILIO_PHONE_NUMBER'),
})
})],
exports: [TwilioModule]
})
export class DefaultTwilioModule {}
Use TwilioModule.forRoot(...) instead when the credentials are already available as static values.
import { Injectable } from '@nestjs/common'
import { Twilio } from '@wisemen/twilio'
@Injectable()
export class NotificationService {
constructor (
private twilio: Twilio
) {}
async sendVerificationCode(to: string, code: string) {
return await this.twilio.createMessage(to, `Your verification code is ${code}.`)
}
async sendReminderCall(to: string, message: string) {
return await this.twilio.createCall(to, message)
}
}
Pass the already-formatted E.164 destination number as to; the package uses the configured phoneNumber as the sender automatically.