@miguelmorales13/nestkit 0.31.4 → 0.32.0

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 (56) hide show
  1. package/README.md +234 -0
  2. package/dist/chunk-2RQINZCR.cjs +17 -0
  3. package/dist/{chunk-LU3HO7B3.js → chunk-3WISEIHK.js} +4 -15
  4. package/dist/chunk-HMHUOXGB.cjs +63 -0
  5. package/dist/chunk-L2QK2HN5.js +17 -0
  6. package/dist/chunk-PBAPT3L5.js +63 -0
  7. package/dist/chunk-QVLTEABJ.cjs +248 -0
  8. package/dist/chunk-XKI3DJVA.js +248 -0
  9. package/dist/{chunk-33KFVAUZ.cjs → chunk-ZBOQKXGZ.cjs} +7 -18
  10. package/dist/payments/index.cjs +6 -5
  11. package/dist/payments/index.js +2 -1
  12. package/dist/resilience/index.cjs +48 -262
  13. package/dist/resilience/index.js +19 -233
  14. package/dist/security/index.cjs +4 -2
  15. package/dist/security/index.js +5 -3
  16. package/dist/telephony/adapters/meta-whatsapp.telephony.d.ts +21 -0
  17. package/dist/telephony/adapters/simulated.telephony.d.ts +49 -0
  18. package/dist/telephony/adapters/twilio.telephony.d.ts +54 -0
  19. package/dist/telephony/index.cjs +2269 -0
  20. package/dist/telephony/index.d.ts +20 -0
  21. package/dist/telephony/index.js +2269 -0
  22. package/dist/telephony/provider-http.d.ts +35 -0
  23. package/dist/telephony/relay/access.d.ts +72 -0
  24. package/dist/telephony/relay/backend.d.ts +81 -0
  25. package/dist/telephony/relay/index.cjs +483 -0
  26. package/dist/telephony/relay/index.d.ts +9 -0
  27. package/dist/telephony/relay/index.js +483 -0
  28. package/dist/telephony/relay/server.d.ts +89 -0
  29. package/dist/telephony/relay/session.d.ts +100 -0
  30. package/dist/telephony/rules/call-limits.d.ts +48 -0
  31. package/dist/telephony/rules/call-token.d.ts +30 -0
  32. package/dist/telephony/rules/destination-policy.d.ts +21 -0
  33. package/dist/telephony/rules/dial-destination.d.ts +21 -0
  34. package/dist/telephony/rules/event-deduper.d.ts +15 -0
  35. package/dist/telephony/rules/handoff.d.ts +7 -0
  36. package/dist/telephony/rules/index.d.ts +20 -0
  37. package/dist/telephony/rules/opt-out.d.ts +32 -0
  38. package/dist/telephony/rules/phone.d.ts +9 -0
  39. package/dist/telephony/rules/provider-gate.d.ts +31 -0
  40. package/dist/telephony/rules/redact.d.ts +11 -0
  41. package/dist/telephony/rules/sanitize.d.ts +10 -0
  42. package/dist/telephony/rules/sliding-window.d.ts +10 -0
  43. package/dist/telephony/rules/ttl-cache.d.ts +14 -0
  44. package/dist/telephony/rules/usage-counter.d.ts +16 -0
  45. package/dist/telephony/telephony.errors.d.ts +46 -0
  46. package/dist/telephony/telephony.facade.d.ts +71 -0
  47. package/dist/telephony/telephony.module.d.ts +38 -0
  48. package/dist/telephony/telephony.options.d.ts +187 -0
  49. package/dist/telephony/telephony.port.d.ts +421 -0
  50. package/dist/telephony/telephony.registry.d.ts +24 -0
  51. package/dist/telephony/telephony.webhook.controller.d.ts +22 -0
  52. package/dist/telephony/telephony.webhooks.d.ts +53 -0
  53. package/dist/whatsapp/index.cjs +28 -0
  54. package/dist/whatsapp/index.js +28 -0
  55. package/dist/whatsapp/whatsapp-client.d.ts +5 -0
  56. package/package.json +12 -2
@@ -0,0 +1,20 @@
1
+ export { TELEPHONY, TELEPHONY_PORT_VERSION, TELEPHONY_EVENTS, } from './telephony.port.js';
2
+ export type { TelephonyAdapter, TelephonyCapability, Money, Page, NumbersPort, NumberType, NumberStatus, NumberSearch, AvailableNumber, NumberRequirements, ProvisionNumberInput, ConfigureNumberInput, PhoneNumber, VoicePort, AnswerInstruction, AnswerResponse, CallInfo, CallStatus, PlaceCallInput, SmsPort, WhatsAppPort, MessageInfo, MessageChannel, MessageStatus, SendSmsInput, SendWhatsAppTextInput, SendWhatsAppTemplateInput, UsagePort, UsageQuery, UsageRecord, UsageCategory, WebhooksPort, WebhookRequest, TelephonyEvent, TelephonyEventType, } from './telephony.port.js';
3
+ export { TELEPHONY_OPTIONS, TELEPHONY_HOOKS, TELEPHONY_WEBHOOKS, DEFAULT_TEXTS, } from './telephony.options.js';
4
+ export type { TelephonyOptions, TelephonyPolicy, TelephonyHooks, TelephonyTexts, TenantTelephonyConfig, OutboundOperation, ProviderFactory, TwilioOptions, MetaWhatsAppOptions, SimulatedTelephonyOptions, WebhookOptions, } from './telephony.options.js';
5
+ export { Telephony } from './telephony.facade.js';
6
+ export { TelephonyRegistry, BUILT_IN_PROVIDERS } from './telephony.registry.js';
7
+ export { TelephonyWebhooks } from './telephony.webhooks.js';
8
+ export type { WebhookContext, WebhookResult } from './telephony.webhooks.js';
9
+ export { createTelephonyWebhookController } from './telephony.webhook.controller.js';
10
+ export type { CreateTelephonyWebhookControllerOptions } from './telephony.webhook.controller.js';
11
+ export { TelephonyModule, resolveTelephonyOptions } from './telephony.module.js';
12
+ export type { TelephonyModuleExtras } from './telephony.module.js';
13
+ export { TwilioTelephony, twilioSignature, escapeXml } from './adapters/twilio.telephony.js';
14
+ export { SimulatedTelephony, simulatedSignature } from './adapters/simulated.telephony.js';
15
+ export { MetaWhatsAppTelephony } from './adapters/meta-whatsapp.telephony.js';
16
+ export { TelephonyProviderException, UnsupportedCapabilityException, DestinationNotAllowedException, RecipientOptedOutException, InvalidMessageException, TelephonyLimitExceededException, TenantNotConfiguredException, } from './telephony.errors.js';
17
+ export type { TelephonyErrorReason } from './telephony.errors.js';
18
+ export { createProviderHttp, providerError } from './provider-http.js';
19
+ export type { ProviderHttpOptions, ProviderResponse } from './provider-http.js';
20
+ export * from './rules/index.js';