(input: CreateSessionInput)
| 1152 | } |
| 1153 | |
| 1154 | function assertNoConversationCopyMetadata(input: CreateSessionInput): void { |
| 1155 | if (Object.prototype.hasOwnProperty.call(input, 'conversationCopy')) { |
| 1156 | throw new Error('Conversation copy metadata requires createStableSession()'); |
| 1157 | } |
| 1158 | } |
| 1159 | |
| 1160 | function projectHeaderSnapshot(record: SessionMetadataRecord): SessionHeaderSnapshot { |
| 1161 | return { |
no test coverage detected