@rymi/sdk-types 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// @rymi/sdk-types — the ONLY public type surface for Rymi SDKs.\n//\n// Rule: every export here is named and reviewed. NEVER use `export *`.\n// Adding a symbol is a public API decision — check it against the denylist\n// in docs/launch/2026-06-23-sdk-mirror-publishing-plan.md and against the\n// leak-guard test in ./test/no-leak.test.ts before adding.\n\n// --- Agent definition ---\nexport type {\n Agent,\n AgentConfig,\n AgentPayload,\n AgentVoiceConfig,\n AgentPersona,\n AgentCallerPersona,\n AgentVariable,\n AgentRequiredSlot,\n AgentPlaybook,\n AgentScript,\n AgentFeatures\n} from '@rymi/shared-types';\n\n// --- Calls ---\nexport type {\n Call,\n CallParticipant,\n CallStatus,\n CallParticipantRole,\n CallParticipantTransport,\n CallParticipantStatus,\n CallRecording,\n TelephonyLeg,\n TranscriptionResult,\n AgentRole\n} from '@rymi/shared-types';\n\n// --- Billing (invoices) ---\nexport type {\n Invoice,\n InvoiceItem,\n InvoiceListResponse,\n InvoiceDetailResponse,\n InvoiceStatus,\n InvoiceKind,\n InvoiceItemKind,\n InvoiceGateway\n} from '@rymi/shared-types';\n\n// --- Knowledge base ---\nexport type {\n KnowledgeSource,\n KnowledgeChunk,\n KnowledgeSourceKind,\n KnowledgeSourceStatus,\n CreateKnowledgeSourceRequest,\n CreateKnowledgeSourceTextRequest,\n CreateKnowledgeSourceUrlRequest\n} from '@rymi/shared-types';\n\n// --- Telephony webhook events ---\nexport type {\n TelephonyEvent,\n TelephonyEventType,\n CallStatusChangedEvent,\n RecordingCompletedEvent,\n TransferCompletedEvent,\n MachineDetectedEvent\n} from '@rymi/shared-types';\n\n// --- Agent templates ---\nexport type {\n AgentTemplate,\n AgentTemplateStatus,\n AgentTemplateVisibility,\n SetupQuestion\n} from '@rymi/shared-types';\n\n// --- Tools (safe views only) ---\nexport type {\n ToolCapabilitySafeView,\n ConnectorConnectionSafeView,\n BuiltinAgentToolId\n} from '@rymi/shared-types';\n\n// --- Post-call intelligence ---\nexport type {\n CallEvaluationResult,\n TranscriptSegment,\n CallSentiment,\n CallIntelligenceStatus,\n PostCallStructuredExtractionConfig\n} from '@rymi/shared-types';\n\n// --- Transcript + end-reason labels ---\nexport type { CallTranscriptEvent } from '@rymi/shared-types';\nexport type { SessionEndReasonCode } from '@rymi/shared-types';\n\n// NOTE: This package is intentionally TYPE-ONLY. Runtime helpers are not\n// re-exported from @rymi/shared-types because doing so pulls its\n// side-effectful internal module graph (and business logic) into the public\n// bundle. If a safe runtime utility is ever needed publicly, copy its source\n// into this package deliberately and add a leak-guard assertion.\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// @rymi/sdk-types — the ONLY public type surface for Rymi SDKs.\n//\n// Rule: every export here is named and reviewed. NEVER use `export *`.\n// Adding a symbol is a public API decision — check it against the denylist\n// in docs/launch/2026-06-23-sdk-mirror-publishing-plan.md and against the\n// leak-guard test in ./test/no-leak.test.ts before adding.\n\n// --- Agent definition ---\nexport type {\n Agent,\n AgentConfig,\n AgentPayload,\n AgentVoiceConfig,\n AgentPersona,\n AgentCallerPersona,\n AgentVariable,\n AgentRequiredSlot,\n AgentPlaybook,\n AgentScript,\n AgentFeatures,\n AgentAdvancedConfig,\n AgentLlmProvider\n} from '@rymi/shared-types';\n\n// --- Calls ---\nexport type {\n Call,\n CallParticipant,\n CallStatus,\n CallParticipantRole,\n CallParticipantTransport,\n CallParticipantStatus,\n CallRecording,\n TelephonyLeg,\n TranscriptionResult,\n AgentRole\n} from '@rymi/shared-types';\n\n// --- Billing (invoices) ---\nexport type {\n Invoice,\n InvoiceItem,\n InvoiceListResponse,\n InvoiceDetailResponse,\n InvoiceStatus,\n InvoiceKind,\n InvoiceItemKind,\n InvoiceGateway\n} from '@rymi/shared-types';\n\n// --- Knowledge base ---\nexport type {\n KnowledgeSource,\n KnowledgeChunk,\n KnowledgeSourceKind,\n KnowledgeSourceStatus,\n CreateKnowledgeSourceRequest,\n CreateKnowledgeSourceTextRequest,\n CreateKnowledgeSourceUrlRequest\n} from '@rymi/shared-types';\n\n// --- Telephony webhook events ---\nexport type {\n TelephonyEvent,\n TelephonyEventType,\n CallStatusChangedEvent,\n RecordingCompletedEvent,\n TransferCompletedEvent,\n MachineDetectedEvent\n} from '@rymi/shared-types';\n\n// --- Agent templates ---\nexport type {\n AgentTemplate,\n AgentTemplateStatus,\n AgentTemplateVisibility,\n SetupQuestion\n} from '@rymi/shared-types';\n\n// --- Tools (safe views only) ---\nexport type {\n ToolCapabilitySafeView,\n ConnectorConnectionSafeView,\n BuiltinAgentToolId,\n AgentToolBinding,\n ToolSideEffect\n} from '@rymi/shared-types';\n\n// --- Post-call intelligence ---\nexport type {\n CallEvaluationResult,\n TranscriptSegment,\n CallSentiment,\n CallIntelligenceStatus,\n PostCallStructuredExtractionConfig\n} from '@rymi/shared-types';\n\n// --- Transcript + end-reason labels ---\nexport type { CallTranscriptEvent } from '@rymi/shared-types';\nexport type { SessionEndReasonCode } from '@rymi/shared-types';\n\n// NOTE: This package is intentionally TYPE-ONLY. Runtime helpers are not\n// re-exported from @rymi/shared-types because doing so pulls its\n// side-effectful internal module graph (and business logic) into the public\n// bundle. If a safe runtime utility is ever needed publicly, copy its source\n// into this package deliberately and add a leak-guard assertion.\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rymi/sdk-types",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Public TypeScript types for the Rymi SDKs and REST API.",
5
5
  "license": "MIT",
6
6
  "author": "Rymi AI <engineering@rymi.live>",
@@ -38,7 +38,7 @@
38
38
  "provenance": true
39
39
  },
40
40
  "scripts": {
41
- "build": "tsup && tsc -p tsconfig.dts.json && api-extractor run --local && rm -rf temp",
41
+ "build": "tsup && tsc -p tsconfig.dts.json && api-extractor run --local && node scripts/fix-dts-rollup.mjs && rm -rf temp",
42
42
  "lint": "tsc --noEmit",
43
43
  "test": "vitest run"
44
44
  },