@microsoft/teams.api 0.2.11 → 0.2.13

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 (178) hide show
  1. package/README.md +37 -37
  2. package/dist/activities/activity.d.mts +6 -1
  3. package/dist/activities/activity.d.ts +6 -1
  4. package/dist/activities/activity.js +35 -9
  5. package/dist/activities/activity.js.map +1 -1
  6. package/dist/activities/activity.mjs +35 -9
  7. package/dist/activities/activity.mjs.map +1 -1
  8. package/dist/activities/command/command-result.d.mts +2 -2
  9. package/dist/activities/command/command-result.d.ts +2 -2
  10. package/dist/activities/command/command-send.d.mts +2 -2
  11. package/dist/activities/command/command-send.d.ts +2 -2
  12. package/dist/activities/command/index.d.mts +2 -2
  13. package/dist/activities/command/index.d.ts +2 -2
  14. package/dist/activities/conversation/conversation-update.d.mts +2 -2
  15. package/dist/activities/conversation/conversation-update.d.ts +2 -2
  16. package/dist/activities/conversation/end-of-conversation.d.mts +2 -2
  17. package/dist/activities/conversation/end-of-conversation.d.ts +2 -2
  18. package/dist/activities/conversation/index.d.mts +2 -2
  19. package/dist/activities/conversation/index.d.ts +2 -2
  20. package/dist/activities/event/index.d.mts +2 -2
  21. package/dist/activities/event/index.d.ts +2 -2
  22. package/dist/activities/event/meeting-end.d.mts +2 -2
  23. package/dist/activities/event/meeting-end.d.ts +2 -2
  24. package/dist/activities/event/meeting-participant-join.d.mts +2 -2
  25. package/dist/activities/event/meeting-participant-join.d.ts +2 -2
  26. package/dist/activities/event/meeting-participant-leave.d.mts +2 -2
  27. package/dist/activities/event/meeting-participant-leave.d.ts +2 -2
  28. package/dist/activities/event/meeting-start.d.mts +2 -2
  29. package/dist/activities/event/meeting-start.d.ts +2 -2
  30. package/dist/activities/event/read-receipt.d.mts +2 -2
  31. package/dist/activities/event/read-receipt.d.ts +2 -2
  32. package/dist/activities/handoff.d.mts +2 -2
  33. package/dist/activities/handoff.d.ts +2 -2
  34. package/dist/activities/index.d.mts +8 -8
  35. package/dist/activities/index.d.ts +8 -8
  36. package/dist/activities/install-update/add.d.mts +2 -2
  37. package/dist/activities/install-update/add.d.ts +2 -2
  38. package/dist/activities/install-update/index.d.mts +2 -2
  39. package/dist/activities/install-update/index.d.ts +2 -2
  40. package/dist/activities/install-update/remove.d.mts +2 -2
  41. package/dist/activities/install-update/remove.d.ts +2 -2
  42. package/dist/activities/invoke/adaptive-card/action.d.mts +2 -2
  43. package/dist/activities/invoke/adaptive-card/action.d.ts +2 -2
  44. package/dist/activities/invoke/adaptive-card/index.d.mts +2 -2
  45. package/dist/activities/invoke/adaptive-card/index.d.ts +2 -2
  46. package/dist/activities/invoke/config/config-fetch.d.mts +2 -2
  47. package/dist/activities/invoke/config/config-fetch.d.ts +2 -2
  48. package/dist/activities/invoke/config/config-submit.d.mts +2 -2
  49. package/dist/activities/invoke/config/config-submit.d.ts +2 -2
  50. package/dist/activities/invoke/config/index.d.mts +2 -2
  51. package/dist/activities/invoke/config/index.d.ts +2 -2
  52. package/dist/activities/invoke/execute-action.d.mts +2 -2
  53. package/dist/activities/invoke/execute-action.d.ts +2 -2
  54. package/dist/activities/invoke/file-consent.d.mts +2 -2
  55. package/dist/activities/invoke/file-consent.d.ts +2 -2
  56. package/dist/activities/invoke/handoff-action.d.mts +2 -2
  57. package/dist/activities/invoke/handoff-action.d.ts +2 -2
  58. package/dist/activities/invoke/index.d.mts +21 -21
  59. package/dist/activities/invoke/index.d.ts +21 -21
  60. package/dist/activities/invoke/message/index.d.mts +2 -2
  61. package/dist/activities/invoke/message/index.d.ts +2 -2
  62. package/dist/activities/invoke/message/submit-action.d.mts +2 -2
  63. package/dist/activities/invoke/message/submit-action.d.ts +2 -2
  64. package/dist/activities/invoke/message-extension/anon-query-link.d.mts +2 -2
  65. package/dist/activities/invoke/message-extension/anon-query-link.d.ts +2 -2
  66. package/dist/activities/invoke/message-extension/card-button-clicked.d.mts +2 -2
  67. package/dist/activities/invoke/message-extension/card-button-clicked.d.ts +2 -2
  68. package/dist/activities/invoke/message-extension/fetch-task.d.mts +26 -26
  69. package/dist/activities/invoke/message-extension/fetch-task.d.ts +26 -26
  70. package/dist/activities/invoke/message-extension/index.d.mts +26 -26
  71. package/dist/activities/invoke/message-extension/index.d.ts +26 -26
  72. package/dist/activities/invoke/message-extension/query-link.d.mts +2 -2
  73. package/dist/activities/invoke/message-extension/query-link.d.ts +2 -2
  74. package/dist/activities/invoke/message-extension/query-setting-url.d.mts +2 -2
  75. package/dist/activities/invoke/message-extension/query-setting-url.d.ts +2 -2
  76. package/dist/activities/invoke/message-extension/query.d.mts +2 -2
  77. package/dist/activities/invoke/message-extension/query.d.ts +2 -2
  78. package/dist/activities/invoke/message-extension/select-item.d.mts +2 -2
  79. package/dist/activities/invoke/message-extension/select-item.d.ts +2 -2
  80. package/dist/activities/invoke/message-extension/setting.d.mts +2 -2
  81. package/dist/activities/invoke/message-extension/setting.d.ts +2 -2
  82. package/dist/activities/invoke/message-extension/submit-action.d.mts +26 -26
  83. package/dist/activities/invoke/message-extension/submit-action.d.ts +26 -26
  84. package/dist/activities/invoke/sign-in/index.d.mts +2 -2
  85. package/dist/activities/invoke/sign-in/index.d.ts +2 -2
  86. package/dist/activities/invoke/sign-in/token-exchange.d.mts +2 -2
  87. package/dist/activities/invoke/sign-in/token-exchange.d.ts +2 -2
  88. package/dist/activities/invoke/sign-in/verify-state.d.mts +2 -2
  89. package/dist/activities/invoke/sign-in/verify-state.d.ts +2 -2
  90. package/dist/activities/invoke/tab/index.d.mts +2 -2
  91. package/dist/activities/invoke/tab/index.d.ts +2 -2
  92. package/dist/activities/invoke/tab/tab-fetch.d.mts +2 -2
  93. package/dist/activities/invoke/tab/tab-fetch.d.ts +2 -2
  94. package/dist/activities/invoke/tab/tab-submit.d.mts +2 -2
  95. package/dist/activities/invoke/tab/tab-submit.d.ts +2 -2
  96. package/dist/activities/invoke/task/index.d.mts +2 -2
  97. package/dist/activities/invoke/task/index.d.ts +2 -2
  98. package/dist/activities/invoke/task/task-fetch.d.mts +2 -2
  99. package/dist/activities/invoke/task/task-fetch.d.ts +2 -2
  100. package/dist/activities/invoke/task/task-submit.d.mts +2 -2
  101. package/dist/activities/invoke/task/task-submit.d.ts +2 -2
  102. package/dist/activities/message/index.d.mts +22 -22
  103. package/dist/activities/message/index.d.ts +22 -22
  104. package/dist/activities/message/message-delete.d.mts +2 -2
  105. package/dist/activities/message/message-delete.d.ts +2 -2
  106. package/dist/activities/message/message-reaction.d.mts +2 -2
  107. package/dist/activities/message/message-reaction.d.ts +2 -2
  108. package/dist/activities/message/message-update.d.mts +2 -2
  109. package/dist/activities/message/message-update.d.ts +2 -2
  110. package/dist/activities/message/message.d.mts +2 -2
  111. package/dist/activities/message/message.d.ts +2 -2
  112. package/dist/activities/message/message.js.map +1 -1
  113. package/dist/activities/message/message.mjs.map +1 -1
  114. package/dist/activities/trace.d.mts +2 -2
  115. package/dist/activities/trace.d.ts +2 -2
  116. package/dist/activities/typing.d.mts +2 -2
  117. package/dist/activities/typing.d.ts +2 -2
  118. package/dist/activities/utils/index.d.mts +26 -26
  119. package/dist/activities/utils/index.d.ts +26 -26
  120. package/dist/activities/utils/strip-mentions-text.d.mts +19 -19
  121. package/dist/activities/utils/strip-mentions-text.d.ts +19 -19
  122. package/dist/activities/utils/to-activity-params.d.mts +26 -26
  123. package/dist/activities/utils/to-activity-params.d.ts +26 -26
  124. package/dist/activities/utils/to-activity-params.js.map +1 -1
  125. package/dist/activities/utils/to-activity-params.mjs.map +1 -1
  126. package/dist/clients/bot/sign-in.js.map +1 -1
  127. package/dist/clients/bot/sign-in.mjs.map +1 -1
  128. package/dist/clients/bot/token.js.map +1 -1
  129. package/dist/clients/bot/token.mjs.map +1 -1
  130. package/dist/clients/conversation/activity.d.mts +26 -26
  131. package/dist/clients/conversation/activity.d.ts +26 -26
  132. package/dist/clients/conversation/activity.js.map +1 -1
  133. package/dist/clients/conversation/activity.mjs.map +1 -1
  134. package/dist/clients/conversation/index.d.mts +25 -25
  135. package/dist/clients/conversation/index.d.ts +25 -25
  136. package/dist/clients/conversation/index.js +1 -1
  137. package/dist/clients/conversation/index.js.map +1 -1
  138. package/dist/clients/conversation/index.mjs +1 -1
  139. package/dist/clients/conversation/index.mjs.map +1 -1
  140. package/dist/clients/index.d.mts +29 -29
  141. package/dist/clients/index.d.ts +29 -29
  142. package/dist/clients/index.js +8 -8
  143. package/dist/clients/index.js.map +1 -1
  144. package/dist/clients/index.mjs +4 -4
  145. package/dist/clients/index.mjs.map +1 -1
  146. package/dist/clients/user/token.js.map +1 -1
  147. package/dist/clients/user/token.mjs.map +1 -1
  148. package/dist/index.d.mts +3 -3
  149. package/dist/index.d.ts +3 -3
  150. package/dist/models/activity-like.d.mts +26 -26
  151. package/dist/models/activity-like.d.ts +26 -26
  152. package/dist/models/entity/ai-message-entity.d.mts +3 -14
  153. package/dist/models/entity/ai-message-entity.d.ts +3 -14
  154. package/dist/models/entity/citation-entity.d.mts +29 -6
  155. package/dist/models/entity/citation-entity.d.ts +29 -6
  156. package/dist/models/entity/index.d.mts +2 -1
  157. package/dist/models/entity/index.d.ts +2 -1
  158. package/dist/models/entity/message-entity.d.mts +13 -1
  159. package/dist/models/entity/message-entity.d.ts +13 -1
  160. package/dist/models/entity/sensitive-usage-entity.d.mts +10 -2
  161. package/dist/models/entity/sensitive-usage-entity.d.ts +10 -2
  162. package/dist/models/index.d.mts +21 -21
  163. package/dist/models/index.d.ts +21 -21
  164. package/dist/models/invoke-response.d.mts +26 -26
  165. package/dist/models/invoke-response.d.ts +26 -26
  166. package/dist/models/messaging-extension/index.d.mts +26 -26
  167. package/dist/models/messaging-extension/index.d.ts +26 -26
  168. package/dist/models/messaging-extension/messaging-extension-action-response.d.mts +26 -26
  169. package/dist/models/messaging-extension/messaging-extension-action-response.d.ts +26 -26
  170. package/dist/models/messaging-extension/messaging-extension-action.d.mts +26 -26
  171. package/dist/models/messaging-extension/messaging-extension-action.d.ts +26 -26
  172. package/dist/models/messaging-extension/messaging-extension-response.d.mts +26 -26
  173. package/dist/models/messaging-extension/messaging-extension-response.d.ts +26 -26
  174. package/dist/models/messaging-extension/messaging-extension-result.d.mts +26 -26
  175. package/dist/models/messaging-extension/messaging-extension-result.d.ts +26 -26
  176. package/package.json +3 -2
  177. package/dist/{activity-CU6jHBka.d.ts → activity-BBGVkx41.d.ts} +11 -11
  178. package/dist/{activity-BSnzJwSH.d.mts → activity-CszVnh5f.d.mts} +11 -11
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/activities/message/message.ts"],"names":[],"mappings":";;;;AAoGO,MAAM,wBAAwB,QAAgD,CAAA;AAAA;AAAA;AAAA;AAAA,EAInF,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,UAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,gBAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,gBAAA;AAAA;AAAA;AAAA;AAAA,EAKA,UAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,YAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAY,CAAA,IAAA,GAAe,EAAI,EAAA,KAAA,GAAiD,EAAI,EAAA;AAClF,IAAM,KAAA,CAAA;AAAA,MACJ,GAAG,KAAA;AAAA,MACH,IAAM,EAAA;AAAA,KACP,CAAA;AAED,IAAA,MAAA,CAAO,OAAO,IAAM,EAAA,EAAE,IAAM,EAAA,GAAG,OAAO,CAAA;AAAA;AACxC;AAAA;AAAA;AAAA,EAKA,OAAO,KAAK,QAA4B,EAAA;AACtC,IAAA,OAAO,IAAI,eAAA,CAAgB,QAAS,CAAA,IAAA,EAAM,QAAQ,CAAA;AAAA;AACpD;AAAA;AAAA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AAA,OAAO,KAAK,SAAU,CAAA;AAAA,MACpB,IAAM,EAAA,YAAA;AAAA,MACN,UAAU,IAAK,CAAA,EAAA;AAAA,MACf,UAAY,EAAA;AAAA,KACb,CAAA;AAAA;AAEL","file":"message.mjs","sourcesContent":["import {\n Account,\n Attachment,\n AttachmentLayout,\n cardAttachment,\n CardAttachmentType,\n CardAttachmentTypes,\n DeliveryMode,\n Importance,\n InputHint,\n MentionEntity,\n SuggestedActions,\n TextFormat,\n} from '../../models';\n\nimport { IActivity, Activity } from '../activity';\nimport { stripMentionsText, StripMentionsTextOptions } from '../utils';\n\nexport interface IMessageActivity extends IActivity<'message'> {\n /**\n * The text content of the message.\n */\n text: string;\n\n /**\n * The text to speak.\n */\n speak?: string;\n\n /**\n * Indicates whether your bot is accepting,\n * expecting, or ignoring user input after the message is delivered to the client. Possible\n * values include: 'acceptingInput', 'ignoringInput', 'expectingInput'\n */\n inputHint?: InputHint;\n\n /**\n * The text to display if the channel cannot render cards.\n */\n summary?: string;\n\n /**\n * Format of text fields Default:markdown. Possible values include: 'markdown', 'plain', 'xml'\n */\n textFormat?: TextFormat;\n\n /**\n * The layout hint for multiple attachments. Default: list. Possible values include: 'list',\n * 'carousel'\n */\n attachmentLayout?: AttachmentLayout;\n\n /**\n * Attachments\n */\n attachments?: Attachment[];\n\n /**\n * The suggested actions for the activity.\n */\n suggestedActions?: SuggestedActions;\n\n /**\n * The importance of the activity. Possible values include: 'low', 'normal', 'high'\n */\n importance?: Importance;\n\n /**\n * A delivery hint to signal to the recipient alternate delivery paths for the activity.\n * The default delivery mode is \"default\". Possible values include: 'normal', 'notification'\n */\n deliveryMode?: DeliveryMode;\n\n /**\n * The time at which the activity should be considered to be \"expired\" and should not be\n * presented to the recipient.\n */\n expiration?: Date;\n\n /**\n * A value that is associated with the activity.\n */\n value?: any;\n\n /**\n * remove \"\\<at>...\\</at>\" text from an activity\n */\n stripMentionsText(options?: StripMentionsTextOptions): IMessageActivity;\n\n /**\n * is the recipient account mentioned\n */\n isRecipientMentioned(): boolean;\n\n /**\n * get a mention by the account id if exists\n */\n getAccountMention(accountId: string): MentionEntity | undefined;\n}\n\nexport class MessageActivity extends Activity<'message'> implements IMessageActivity {\n /**\n * The text content of the message.\n */\n text!: string;\n\n /**\n * The text to speak.\n */\n speak?: string;\n\n /**\n * Indicates whether your bot is accepting,\n * expecting, or ignoring user input after the message is delivered to the client. Possible\n * values include: 'acceptingInput', 'ignoringInput', 'expectingInput'\n */\n inputHint?: InputHint;\n\n /**\n * The text to display if the channel cannot render cards.\n */\n summary?: string;\n\n /**\n * Format of text fields Default:markdown. Possible values include: 'markdown', 'plain', 'xml'\n */\n textFormat?: TextFormat;\n\n /**\n * The layout hint for multiple attachments. Default: list. Possible values include: 'list',\n * 'carousel'\n */\n attachmentLayout?: AttachmentLayout;\n\n /**\n * Attachments\n */\n attachments?: Attachment[];\n\n /**\n * The suggested actions for the activity.\n */\n suggestedActions?: SuggestedActions;\n\n /**\n * The importance of the activity. Possible values include: 'low', 'normal', 'high'\n */\n importance?: Importance;\n\n /**\n * A delivery hint to signal to the recipient alternate delivery paths for the activity.\n * The default delivery mode is \"default\". Possible values include: 'normal', 'notification'\n */\n deliveryMode?: DeliveryMode;\n\n /**\n * The time at which the activity should be considered to be \"expired\" and should not be\n * presented to the recipient.\n */\n expiration?: Date;\n\n /**\n * A value that is associated with the activity.\n */\n value?: any;\n\n constructor(text: string = '', value: Omit<Partial<IMessageActivity>, 'type'> = {}) {\n super({\n ...value,\n type: 'message',\n });\n\n Object.assign(this, { text, ...value });\n }\n\n /**\n * initialize from interface\n */\n static from(activity: IMessageActivity) {\n return new MessageActivity(activity.text, activity);\n }\n\n /**\n * convert to interface\n */\n toInterface(): IMessageActivity {\n return Object.assign(\n {\n stripMentionsText: this.stripMentionsText.bind(this),\n isRecipientMentioned: this.isRecipientMentioned.bind(this),\n getAccountMention: this.getAccountMention.bind(this),\n },\n this\n );\n }\n\n /**\n * copy to a new instance\n */\n clone(options: Omit<Partial<IMessageActivity>, 'type'> = {}) {\n return new MessageActivity(this.text, {\n ...this.toInterface(),\n ...options,\n });\n }\n\n /**\n * The text content of the message.\n */\n withText(value: string) {\n this.text = value;\n return this;\n }\n\n /**\n * The text to speak.\n */\n withSpeak(value: string) {\n this.speak = value;\n return this;\n }\n\n /**\n * Indicates whether your bot is accepting,\n * expecting, or ignoring user input after the message is delivered to the client. Possible\n * values include: 'acceptingInput', 'ignoringInput', 'expectingInput'\n */\n withInputHint(value: InputHint) {\n this.inputHint = value;\n return this;\n }\n\n /**\n * The text to display if the channel cannot render cards.\n */\n withSummary(value: string) {\n this.summary = value;\n return this;\n }\n\n /**\n * Format of text fields Default:markdown. Possible values include: 'markdown', 'plain', 'xml'\n */\n withTextFormat(value: TextFormat) {\n this.textFormat = value;\n return this;\n }\n\n /**\n * The layout hint for multiple attachments. Default: list. Possible values include: 'list',\n * 'carousel'\n */\n withAttachmentLayout(value: AttachmentLayout) {\n this.attachmentLayout = value;\n return this;\n }\n\n /**\n * The suggested actions for the activity.\n */\n withSuggestedActions(value: SuggestedActions) {\n this.suggestedActions = value;\n return this;\n }\n\n /**\n * The importance of the activity. Possible values include: 'low', 'normal', 'high'\n */\n withImportance(value: Importance) {\n this.importance = value;\n return this;\n }\n\n /**\n * A delivery hint to signal to the recipient alternate delivery paths for the activity.\n * The default delivery mode is \"default\". Possible values include: 'normal', 'notification'\n */\n withDeliveryMode(value: DeliveryMode) {\n this.deliveryMode = value;\n return this;\n }\n\n /**\n * The time at which the activity should be considered to be \"expired\" and should not be\n * presented to the recipient.\n */\n withExpiration(value: Date) {\n this.expiration = value;\n return this;\n }\n\n /**\n * Append text\n */\n addText(text: string) {\n this.text += text;\n return this;\n }\n\n /**\n * Attachments\n */\n addAttachments(...value: Attachment[]) {\n if (!this.attachments) {\n this.attachments = [];\n }\n\n this.attachments.push(...value);\n return this;\n }\n\n /**\n * `@mention` an account\n * @param account the account to mention\n * @param options options to customize the mention\n */\n addMention(account: Account, options: AddMentionOptions = {}) {\n const text = options.text || account.name;\n const addText = options.addText || true;\n\n if (addText) {\n this.addText(`<at>${text}</at>`);\n }\n\n return this.addEntity({\n type: 'mention',\n mentioned: account,\n text: `<at>${text}</at>`,\n });\n }\n\n /**\n * Add a card attachment\n */\n addCard<T extends CardAttachmentType>(type: T, content: CardAttachmentTypes[T]['content']) {\n return this.addAttachments(cardAttachment(type, content));\n }\n\n /**\n * remove \"\\<at>...\\</at>\" text from an activity\n */\n stripMentionsText(options: StripMentionsTextOptions = {}) {\n this.text = stripMentionsText(this, options);\n return this;\n }\n\n /**\n * is the recipient account mentioned\n */\n isRecipientMentioned() {\n return (this.entities || [])\n .filter((e) => e.type === 'mention')\n .some((e) => e.mentioned.id === this.recipient.id);\n }\n\n /**\n * get a mention by the account id if exists\n */\n getAccountMention(accountId: string) {\n return (this.entities || [])\n .filter((e) => e.type === 'mention')\n .find((e) => e.mentioned.id === accountId);\n }\n\n /**\n * Add stream info, making\n * this a final stream message\n */\n addStreamFinal() {\n if (!this.channelData) {\n this.channelData = {};\n }\n\n this.channelData.streamId = this.id;\n this.channelData.streamType = 'final';\n\n return this.addEntity({\n type: 'streaminfo',\n streamId: this.id,\n streamType: 'final',\n });\n }\n}\n\n/**\n * options for adding a mention\n * to an activity\n */\nexport type AddMentionOptions = {\n /**\n * if `true`, append the mention `text` to the `activity.text`\n * @default true\n */\n readonly addText?: boolean;\n\n /**\n * the `text` to use for the mention\n *\n * @default `account.name`\n * @remark\n * this text should not include `<at>` or `</at>`\n */\n readonly text?: string;\n};\n"]}
1
+ {"version":3,"sources":["../../../src/activities/message/message.ts"],"names":[],"mappings":";;;;AAmGO,MAAM,wBAAwB,QAAgD,CAAA;AAAA;AAAA;AAAA;AAAA,EAInF,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EA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K,QAAY,IAAA,IACtB,MAAO,CAAA,CAAC,MAAM,CAAE,CAAA,IAAA,KAAS,SAAS,CAClC,CAAA,IAAA,CAAK,CAAC,CAAM,KAAA,CAAA,CAAE,UAAU,EAAO,KAAA,IAAA,CAAK,UAAU,EAAE,CAAA;AAAA;AACrD;AAAA;AAAA;AAAA,EAKA,kBAAkB,SAAmB,EAAA;AACnC,IAAA,OAAA,CAAQ,KAAK,QAAY,IAAA,EACtB,EAAA,MAAA,CAAO,CAAC,CAAM,KAAA,CAAA,CAAE,IAAS,KAAA,SAAS,EAClC,IAAK,CAAA,CAAC,MAAM,CAAE,CAAA,SAAA,CAAU,OAAO,SAAS,CAAA;AAAA;AAC7C;AAAA;AAAA;AAAA;AAAA,EAMA,cAAiB,GAAA;AACf,IAAI,IAAA,CAAC,KAAK,WAAa,EAAA;AACrB,MAAA,IAAA,CAAK,cAAc,EAAC;AAAA;AAGtB,IAAK,IAAA,CAAA,WAAA,CAAY,WAAW,IAAK,CAAA,EAAA;AACjC,IAAA,IAAA,CAAK,YAAY,UAAa,GAAA,OAAA;AAE9B,IAAA,OAAO,KAAK,SAAU,CAAA;AAAA,MACpB,IAAM,EAAA,YAAA;AAAA,MACN,UAAU,IAAK,CAAA,EAAA;AAAA,MACf,UAAY,EAAA;AAAA,KACb,CAAA;AAAA;AAEL","file":"message.mjs","sourcesContent":["import {\r\n Account,\r\n Attachment,\r\n AttachmentLayout,\r\n cardAttachment,\r\n CardAttachmentType,\r\n CardAttachmentTypes,\r\n DeliveryMode,\r\n Importance,\r\n InputHint,\r\n MentionEntity,\r\n SuggestedActions,\r\n TextFormat,\r\n} from '../../models';\r\nimport { IActivity, Activity } from '../activity';\r\nimport { stripMentionsText, StripMentionsTextOptions } from '../utils';\r\n\r\nexport interface IMessageActivity extends IActivity<'message'> {\r\n /**\r\n * The text content of the message.\r\n */\r\n text: string;\r\n\r\n /**\r\n * The text to speak.\r\n */\r\n speak?: string;\r\n\r\n /**\r\n * Indicates whether your bot is accepting,\r\n * expecting, or ignoring user input after the message is delivered to the client. Possible\r\n * values include: 'acceptingInput', 'ignoringInput', 'expectingInput'\r\n */\r\n inputHint?: InputHint;\r\n\r\n /**\r\n * The text to display if the channel cannot render cards.\r\n */\r\n summary?: string;\r\n\r\n /**\r\n * Format of text fields Default:markdown. Possible values include: 'markdown', 'plain', 'xml'\r\n */\r\n textFormat?: TextFormat;\r\n\r\n /**\r\n * The layout hint for multiple attachments. Default: list. Possible values include: 'list',\r\n * 'carousel'\r\n */\r\n attachmentLayout?: AttachmentLayout;\r\n\r\n /**\r\n * Attachments\r\n */\r\n attachments?: Attachment[];\r\n\r\n /**\r\n * The suggested actions for the activity.\r\n */\r\n suggestedActions?: SuggestedActions;\r\n\r\n /**\r\n * The importance of the activity. Possible values include: 'low', 'normal', 'high'\r\n */\r\n importance?: Importance;\r\n\r\n /**\r\n * A delivery hint to signal to the recipient alternate delivery paths for the activity.\r\n * The default delivery mode is \"default\". Possible values include: 'normal', 'notification'\r\n */\r\n deliveryMode?: DeliveryMode;\r\n\r\n /**\r\n * The time at which the activity should be considered to be \"expired\" and should not be\r\n * presented to the recipient.\r\n */\r\n expiration?: Date;\r\n\r\n /**\r\n * A value that is associated with the activity.\r\n */\r\n value?: any;\r\n\r\n /**\r\n * remove \"\\<at>...\\</at>\" text from an activity\r\n */\r\n stripMentionsText(options?: StripMentionsTextOptions): IMessageActivity;\r\n\r\n /**\r\n * is the recipient account mentioned\r\n */\r\n isRecipientMentioned(): boolean;\r\n\r\n /**\r\n * get a mention by the account id if exists\r\n */\r\n getAccountMention(accountId: string): MentionEntity | undefined;\r\n}\r\n\r\nexport class MessageActivity extends Activity<'message'> implements IMessageActivity {\r\n /**\r\n * The text content of the message.\r\n */\r\n text!: string;\r\n\r\n /**\r\n * The text to speak.\r\n */\r\n speak?: string;\r\n\r\n /**\r\n * Indicates whether your bot is accepting,\r\n * expecting, or ignoring user input after the message is delivered to the client. Possible\r\n * values include: 'acceptingInput', 'ignoringInput', 'expectingInput'\r\n */\r\n inputHint?: InputHint;\r\n\r\n /**\r\n * The text to display if the channel cannot render cards.\r\n */\r\n summary?: string;\r\n\r\n /**\r\n * Format of text fields Default:markdown. Possible values include: 'markdown', 'plain', 'xml'\r\n */\r\n textFormat?: TextFormat;\r\n\r\n /**\r\n * The layout hint for multiple attachments. Default: list. Possible values include: 'list',\r\n * 'carousel'\r\n */\r\n attachmentLayout?: AttachmentLayout;\r\n\r\n /**\r\n * Attachments\r\n */\r\n attachments?: Attachment[];\r\n\r\n /**\r\n * The suggested actions for the activity.\r\n */\r\n suggestedActions?: SuggestedActions;\r\n\r\n /**\r\n * The importance of the activity. Possible values include: 'low', 'normal', 'high'\r\n */\r\n importance?: Importance;\r\n\r\n /**\r\n * A delivery hint to signal to the recipient alternate delivery paths for the activity.\r\n * The default delivery mode is \"default\". Possible values include: 'normal', 'notification'\r\n */\r\n deliveryMode?: DeliveryMode;\r\n\r\n /**\r\n * The time at which the activity should be considered to be \"expired\" and should not be\r\n * presented to the recipient.\r\n */\r\n expiration?: Date;\r\n\r\n /**\r\n * A value that is associated with the activity.\r\n */\r\n value?: any;\r\n\r\n constructor(text: string = '', value: Omit<Partial<IMessageActivity>, 'type'> = {}) {\r\n super({\r\n ...value,\r\n type: 'message',\r\n });\r\n\r\n Object.assign(this, { text, ...value });\r\n }\r\n\r\n /**\r\n * initialize from interface\r\n */\r\n static from(activity: IMessageActivity) {\r\n return new MessageActivity(activity.text, activity);\r\n }\r\n\r\n /**\r\n * convert to interface\r\n */\r\n toInterface(): IMessageActivity {\r\n return Object.assign(\r\n {\r\n stripMentionsText: this.stripMentionsText.bind(this),\r\n isRecipientMentioned: this.isRecipientMentioned.bind(this),\r\n getAccountMention: this.getAccountMention.bind(this),\r\n },\r\n this\r\n );\r\n }\r\n\r\n /**\r\n * copy to a new instance\r\n */\r\n clone(options: Omit<Partial<IMessageActivity>, 'type'> = {}) {\r\n return new MessageActivity(this.text, {\r\n ...this.toInterface(),\r\n ...options,\r\n });\r\n }\r\n\r\n /**\r\n * The text content of the message.\r\n */\r\n withText(value: string) {\r\n this.text = value;\r\n return this;\r\n }\r\n\r\n /**\r\n * The text to speak.\r\n */\r\n withSpeak(value: string) {\r\n this.speak = value;\r\n return this;\r\n }\r\n\r\n /**\r\n * Indicates whether your bot is accepting,\r\n * expecting, or ignoring user input after the message is delivered to the client. Possible\r\n * values include: 'acceptingInput', 'ignoringInput', 'expectingInput'\r\n */\r\n withInputHint(value: InputHint) {\r\n this.inputHint = value;\r\n return this;\r\n }\r\n\r\n /**\r\n * The text to display if the channel cannot render cards.\r\n */\r\n withSummary(value: string) {\r\n this.summary = value;\r\n return this;\r\n }\r\n\r\n /**\r\n * Format of text fields Default:markdown. Possible values include: 'markdown', 'plain', 'xml'\r\n */\r\n withTextFormat(value: TextFormat) {\r\n this.textFormat = value;\r\n return this;\r\n }\r\n\r\n /**\r\n * The layout hint for multiple attachments. Default: list. Possible values include: 'list',\r\n * 'carousel'\r\n */\r\n withAttachmentLayout(value: AttachmentLayout) {\r\n this.attachmentLayout = value;\r\n return this;\r\n }\r\n\r\n /**\r\n * The suggested actions for the activity.\r\n */\r\n withSuggestedActions(value: SuggestedActions) {\r\n this.suggestedActions = value;\r\n return this;\r\n }\r\n\r\n /**\r\n * The importance of the activity. Possible values include: 'low', 'normal', 'high'\r\n */\r\n withImportance(value: Importance) {\r\n this.importance = value;\r\n return this;\r\n }\r\n\r\n /**\r\n * A delivery hint to signal to the recipient alternate delivery paths for the activity.\r\n * The default delivery mode is \"default\". Possible values include: 'normal', 'notification'\r\n */\r\n withDeliveryMode(value: DeliveryMode) {\r\n this.deliveryMode = value;\r\n return this;\r\n }\r\n\r\n /**\r\n * The time at which the activity should be considered to be \"expired\" and should not be\r\n * presented to the recipient.\r\n */\r\n withExpiration(value: Date) {\r\n this.expiration = value;\r\n return this;\r\n }\r\n\r\n /**\r\n * Append text\r\n */\r\n addText(text: string) {\r\n this.text += text;\r\n return this;\r\n }\r\n\r\n /**\r\n * Attachments\r\n */\r\n addAttachments(...value: Attachment[]) {\r\n if (!this.attachments) {\r\n this.attachments = [];\r\n }\r\n\r\n this.attachments.push(...value);\r\n return this;\r\n }\r\n\r\n /**\r\n * `@mention` an account\r\n * @param account the account to mention\r\n * @param options options to customize the mention\r\n */\r\n addMention(account: Account, options: AddMentionOptions = {}) {\r\n const text = options.text || account.name;\r\n const addText = options.addText || true;\r\n\r\n if (addText) {\r\n this.addText(`<at>${text}</at>`);\r\n }\r\n\r\n return this.addEntity({\r\n type: 'mention',\r\n mentioned: account,\r\n text: `<at>${text}</at>`,\r\n });\r\n }\r\n\r\n /**\r\n * Add a card attachment\r\n */\r\n addCard<T extends CardAttachmentType>(type: T, content: CardAttachmentTypes[T]['content']) {\r\n return this.addAttachments(cardAttachment(type, content));\r\n }\r\n\r\n /**\r\n * remove \"\\<at>...\\</at>\" text from an activity\r\n */\r\n stripMentionsText(options: StripMentionsTextOptions = {}) {\r\n this.text = stripMentionsText(this, options);\r\n return this;\r\n }\r\n\r\n /**\r\n * is the recipient account mentioned\r\n */\r\n isRecipientMentioned() {\r\n return (this.entities || [])\r\n .filter((e) => e.type === 'mention')\r\n .some((e) => e.mentioned.id === this.recipient.id);\r\n }\r\n\r\n /**\r\n * get a mention by the account id if exists\r\n */\r\n getAccountMention(accountId: string) {\r\n return (this.entities || [])\r\n .filter((e) => e.type === 'mention')\r\n .find((e) => e.mentioned.id === accountId);\r\n }\r\n\r\n /**\r\n * Add stream info, making\r\n * this a final stream message\r\n */\r\n addStreamFinal() {\r\n if (!this.channelData) {\r\n this.channelData = {};\r\n }\r\n\r\n this.channelData.streamId = this.id;\r\n this.channelData.streamType = 'final';\r\n\r\n return this.addEntity({\r\n type: 'streaminfo',\r\n streamId: this.id,\r\n streamType: 'final',\r\n });\r\n }\r\n}\r\n\r\n/**\r\n * options for adding a mention\r\n * to an activity\r\n */\r\nexport type AddMentionOptions = {\r\n /**\r\n * if `true`, append the mention `text` to the `activity.text`\r\n * @default true\r\n */\r\n readonly addText?: boolean;\r\n\r\n /**\r\n * the `text` to use for the mention\r\n *\r\n * @default `account.name`\r\n * @remark\r\n * this text should not include `<at>` or `</at>`\r\n */\r\n readonly text?: string;\r\n};\r\n"]}
@@ -5,11 +5,11 @@ import '../models/role.mjs';
5
5
  import '../models/channel-id.mjs';
6
6
  import '../models/entity/index.mjs';
7
7
  import '../models/entity/ai-message-entity.mjs';
8
+ import '../models/entity/message-entity.mjs';
8
9
  import '../models/entity/citation-entity.mjs';
9
- import '../models/entity/sensitive-usage-entity.mjs';
10
10
  import '../models/entity/client-info-entity.mjs';
11
11
  import '../models/entity/mention-entity.mjs';
12
- import '../models/entity/message-entity.mjs';
12
+ import '../models/entity/sensitive-usage-entity.mjs';
13
13
  import '../models/entity/stream-info-entity.mjs';
14
14
  import '../models/channel-data/index.mjs';
15
15
  import '../models/meeting/meeting-info.mjs';
@@ -5,11 +5,11 @@ import '../models/role.js';
5
5
  import '../models/channel-id.js';
6
6
  import '../models/entity/index.js';
7
7
  import '../models/entity/ai-message-entity.js';
8
+ import '../models/entity/message-entity.js';
8
9
  import '../models/entity/citation-entity.js';
9
- import '../models/entity/sensitive-usage-entity.js';
10
10
  import '../models/entity/client-info-entity.js';
11
11
  import '../models/entity/mention-entity.js';
12
- import '../models/entity/message-entity.js';
12
+ import '../models/entity/sensitive-usage-entity.js';
13
13
  import '../models/entity/stream-info-entity.js';
14
14
  import '../models/channel-data/index.js';
15
15
  import '../models/meeting/meeting-info.js';
@@ -5,11 +5,11 @@ import '../models/role.mjs';
5
5
  import '../models/conversation/conversation-reference.mjs';
6
6
  import '../models/entity/index.mjs';
7
7
  import '../models/entity/ai-message-entity.mjs';
8
+ import '../models/entity/message-entity.mjs';
8
9
  import '../models/entity/citation-entity.mjs';
9
- import '../models/entity/sensitive-usage-entity.mjs';
10
10
  import '../models/entity/client-info-entity.mjs';
11
11
  import '../models/entity/mention-entity.mjs';
12
- import '../models/entity/message-entity.mjs';
12
+ import '../models/entity/sensitive-usage-entity.mjs';
13
13
  import '../models/entity/stream-info-entity.mjs';
14
14
  import '../models/channel-data/index.mjs';
15
15
  import '../models/meeting/meeting-info.mjs';
@@ -5,11 +5,11 @@ import '../models/role.js';
5
5
  import '../models/conversation/conversation-reference.js';
6
6
  import '../models/entity/index.js';
7
7
  import '../models/entity/ai-message-entity.js';
8
+ import '../models/entity/message-entity.js';
8
9
  import '../models/entity/citation-entity.js';
9
- import '../models/entity/sensitive-usage-entity.js';
10
10
  import '../models/entity/client-info-entity.js';
11
11
  import '../models/entity/mention-entity.js';
12
- import '../models/entity/message-entity.js';
12
+ import '../models/entity/sensitive-usage-entity.js';
13
13
  import '../models/entity/stream-info-entity.js';
14
14
  import '../models/channel-data/index.js';
15
15
  import '../models/meeting/meeting-info.js';
@@ -1,5 +1,5 @@
1
1
  export { S as StripMentionsTextOptions, s as stripMentionsText } from '../../message-BM7D0_tg.mjs';
2
- export { t as toActivityParams } from '../../activity-BSnzJwSH.mjs';
2
+ export { t as toActivityParams } from '../../activity-CszVnh5f.mjs';
3
3
  import '../../models/account.mjs';
4
4
  import '../../models/role.mjs';
5
5
  import '../../models/entity/mention-entity.mjs';
@@ -30,10 +30,10 @@ import '../../models/channel-id.mjs';
30
30
  import '../../models/conversation/conversation-reference.mjs';
31
31
  import '../../models/entity/index.mjs';
32
32
  import '../../models/entity/ai-message-entity.mjs';
33
+ import '../../models/entity/message-entity.mjs';
33
34
  import '../../models/entity/citation-entity.mjs';
34
- import '../../models/entity/sensitive-usage-entity.mjs';
35
35
  import '../../models/entity/client-info-entity.mjs';
36
- import '../../models/entity/message-entity.mjs';
36
+ import '../../models/entity/sensitive-usage-entity.mjs';
37
37
  import '../../models/entity/stream-info-entity.mjs';
38
38
  import '../../models/channel-data/index.mjs';
39
39
  import '../../models/meeting/meeting-info.mjs';
@@ -46,19 +46,40 @@ import '../../models/channel-data/tenant-info.mjs';
46
46
  import '../typing.mjs';
47
47
  import '../message/message-update.mjs';
48
48
  import '@microsoft/teams.common/http';
49
- import '../../models/resource.mjs';
49
+ import '../command/index.mjs';
50
+ import '../command/command-result.mjs';
51
+ import '../command/command-send.mjs';
52
+ import '../conversation/index.mjs';
53
+ import '../conversation/conversation-update.mjs';
54
+ import '../conversation/end-of-conversation.mjs';
50
55
  import '../event/index.mjs';
51
56
  import '../event/meeting-end.mjs';
52
57
  import '../event/meeting-participant-join.mjs';
53
58
  import '../event/meeting-participant-leave.mjs';
54
59
  import '../event/meeting-start.mjs';
55
60
  import '../event/read-receipt.mjs';
61
+ import '../handoff.mjs';
62
+ import '../install-update/index.mjs';
63
+ import '../install-update/add.mjs';
64
+ import '../install-update/remove.mjs';
56
65
  import '../invoke/adaptive-card/index.mjs';
57
66
  import '../invoke/adaptive-card/action.mjs';
58
67
  import '../../models/adaptive-card/adaptive-card-invoke-value.mjs';
59
68
  import '../../models/adaptive-card/adaptive-card-authentication.mjs';
60
69
  import '../../models/token-exchange/token-exchange-invoke-request.mjs';
61
70
  import '../../models/adaptive-card/adaptive-card-invoke-action.mjs';
71
+ import '../invoke/config/index.mjs';
72
+ import '../invoke/config/config-fetch.mjs';
73
+ import '../invoke/config/config-submit.mjs';
74
+ import '../invoke/execute-action.mjs';
75
+ import '../../models/o365/o365-connector-card-action-query.mjs';
76
+ import '../invoke/file-consent.mjs';
77
+ import '../../models/file/file-consent-card.mjs';
78
+ import '../../models/action.mjs';
79
+ import '../../models/file/file-upload-info.mjs';
80
+ import '../invoke/handoff-action.mjs';
81
+ import '../invoke/message/index.mjs';
82
+ import '../invoke/message/submit-action.mjs';
62
83
  import '../invoke/message-extension/anon-query-link.mjs';
63
84
  import '../../models/app-based-link-query.mjs';
64
85
  import '../invoke/message-extension/card-button-clicked.mjs';
@@ -79,11 +100,6 @@ import '../invoke/message-extension/query-link.mjs';
79
100
  import '../invoke/message-extension/query-setting-url.mjs';
80
101
  import '../invoke/message-extension/select-item.mjs';
81
102
  import '../invoke/message-extension/setting.mjs';
82
- import '../invoke/config/index.mjs';
83
- import '../invoke/config/config-fetch.mjs';
84
- import '../invoke/config/config-submit.mjs';
85
- import '../invoke/message/index.mjs';
86
- import '../invoke/message/submit-action.mjs';
87
103
  import '../invoke/sign-in/index.mjs';
88
104
  import '../invoke/sign-in/token-exchange.mjs';
89
105
  import '../../models/sign-in/sign-in-exchange-token.mjs';
@@ -97,24 +113,8 @@ import '../invoke/tab/tab-submit.mjs';
97
113
  import '../invoke/task/index.mjs';
98
114
  import '../invoke/task/task-fetch.mjs';
99
115
  import '../invoke/task/task-submit.mjs';
100
- import '../invoke/execute-action.mjs';
101
- import '../../models/o365/o365-connector-card-action-query.mjs';
102
- import '../invoke/file-consent.mjs';
103
- import '../../models/file/file-consent-card.mjs';
104
- import '../../models/action.mjs';
105
- import '../../models/file/file-upload-info.mjs';
106
- import '../invoke/handoff-action.mjs';
107
- import '../conversation/index.mjs';
108
- import '../conversation/conversation-update.mjs';
109
- import '../conversation/end-of-conversation.mjs';
110
116
  import '../message/index.mjs';
111
117
  import '../message/message-delete.mjs';
112
118
  import '../message/message-reaction.mjs';
113
- import '../command/index.mjs';
114
- import '../command/command-result.mjs';
115
- import '../command/command-send.mjs';
116
- import '../install-update/index.mjs';
117
- import '../install-update/add.mjs';
118
- import '../install-update/remove.mjs';
119
119
  import '../trace.mjs';
120
- import '../handoff.mjs';
120
+ import '../../models/resource.mjs';
@@ -1,5 +1,5 @@
1
1
  export { S as StripMentionsTextOptions, s as stripMentionsText } from '../../message-BKfEV_tV.js';
2
- export { t as toActivityParams } from '../../activity-CU6jHBka.js';
2
+ export { t as toActivityParams } from '../../activity-BBGVkx41.js';
3
3
  import '../../models/account.js';
4
4
  import '../../models/role.js';
5
5
  import '../../models/entity/mention-entity.js';
@@ -30,10 +30,10 @@ import '../../models/channel-id.js';
30
30
  import '../../models/conversation/conversation-reference.js';
31
31
  import '../../models/entity/index.js';
32
32
  import '../../models/entity/ai-message-entity.js';
33
+ import '../../models/entity/message-entity.js';
33
34
  import '../../models/entity/citation-entity.js';
34
- import '../../models/entity/sensitive-usage-entity.js';
35
35
  import '../../models/entity/client-info-entity.js';
36
- import '../../models/entity/message-entity.js';
36
+ import '../../models/entity/sensitive-usage-entity.js';
37
37
  import '../../models/entity/stream-info-entity.js';
38
38
  import '../../models/channel-data/index.js';
39
39
  import '../../models/meeting/meeting-info.js';
@@ -46,19 +46,40 @@ import '../../models/channel-data/tenant-info.js';
46
46
  import '../typing.js';
47
47
  import '../message/message-update.js';
48
48
  import '@microsoft/teams.common/http';
49
- import '../../models/resource.js';
49
+ import '../command/index.js';
50
+ import '../command/command-result.js';
51
+ import '../command/command-send.js';
52
+ import '../conversation/index.js';
53
+ import '../conversation/conversation-update.js';
54
+ import '../conversation/end-of-conversation.js';
50
55
  import '../event/index.js';
51
56
  import '../event/meeting-end.js';
52
57
  import '../event/meeting-participant-join.js';
53
58
  import '../event/meeting-participant-leave.js';
54
59
  import '../event/meeting-start.js';
55
60
  import '../event/read-receipt.js';
61
+ import '../handoff.js';
62
+ import '../install-update/index.js';
63
+ import '../install-update/add.js';
64
+ import '../install-update/remove.js';
56
65
  import '../invoke/adaptive-card/index.js';
57
66
  import '../invoke/adaptive-card/action.js';
58
67
  import '../../models/adaptive-card/adaptive-card-invoke-value.js';
59
68
  import '../../models/adaptive-card/adaptive-card-authentication.js';
60
69
  import '../../models/token-exchange/token-exchange-invoke-request.js';
61
70
  import '../../models/adaptive-card/adaptive-card-invoke-action.js';
71
+ import '../invoke/config/index.js';
72
+ import '../invoke/config/config-fetch.js';
73
+ import '../invoke/config/config-submit.js';
74
+ import '../invoke/execute-action.js';
75
+ import '../../models/o365/o365-connector-card-action-query.js';
76
+ import '../invoke/file-consent.js';
77
+ import '../../models/file/file-consent-card.js';
78
+ import '../../models/action.js';
79
+ import '../../models/file/file-upload-info.js';
80
+ import '../invoke/handoff-action.js';
81
+ import '../invoke/message/index.js';
82
+ import '../invoke/message/submit-action.js';
62
83
  import '../invoke/message-extension/anon-query-link.js';
63
84
  import '../../models/app-based-link-query.js';
64
85
  import '../invoke/message-extension/card-button-clicked.js';
@@ -79,11 +100,6 @@ import '../invoke/message-extension/query-link.js';
79
100
  import '../invoke/message-extension/query-setting-url.js';
80
101
  import '../invoke/message-extension/select-item.js';
81
102
  import '../invoke/message-extension/setting.js';
82
- import '../invoke/config/index.js';
83
- import '../invoke/config/config-fetch.js';
84
- import '../invoke/config/config-submit.js';
85
- import '../invoke/message/index.js';
86
- import '../invoke/message/submit-action.js';
87
103
  import '../invoke/sign-in/index.js';
88
104
  import '../invoke/sign-in/token-exchange.js';
89
105
  import '../../models/sign-in/sign-in-exchange-token.js';
@@ -97,24 +113,8 @@ import '../invoke/tab/tab-submit.js';
97
113
  import '../invoke/task/index.js';
98
114
  import '../invoke/task/task-fetch.js';
99
115
  import '../invoke/task/task-submit.js';
100
- import '../invoke/execute-action.js';
101
- import '../../models/o365/o365-connector-card-action-query.js';
102
- import '../invoke/file-consent.js';
103
- import '../../models/file/file-consent-card.js';
104
- import '../../models/action.js';
105
- import '../../models/file/file-upload-info.js';
106
- import '../invoke/handoff-action.js';
107
- import '../conversation/index.js';
108
- import '../conversation/conversation-update.js';
109
- import '../conversation/end-of-conversation.js';
110
116
  import '../message/index.js';
111
117
  import '../message/message-delete.js';
112
118
  import '../message/message-reaction.js';
113
- import '../command/index.js';
114
- import '../command/command-result.js';
115
- import '../command/command-send.js';
116
- import '../install-update/index.js';
117
- import '../install-update/add.js';
118
- import '../install-update/remove.js';
119
119
  import '../trace.js';
120
- import '../handoff.js';
120
+ import '../../models/resource.js';
@@ -1,27 +1,9 @@
1
- import '../typing.mjs';
2
1
  export { S as StripMentionsTextOptions, s as stripMentionsText } from '../../message-BM7D0_tg.mjs';
2
+ import '../typing.mjs';
3
3
  import '../message/message-update.mjs';
4
- import '../activity.mjs';
5
- import '../../models/channel-id.mjs';
6
4
  import '../../models/account.mjs';
7
5
  import '../../models/role.mjs';
8
- import '../../models/conversation/conversation-reference.mjs';
9
- import '../../models/entity/index.mjs';
10
- import '../../models/entity/ai-message-entity.mjs';
11
- import '../../models/entity/citation-entity.mjs';
12
- import '../../models/entity/sensitive-usage-entity.mjs';
13
- import '../../models/entity/client-info-entity.mjs';
14
6
  import '../../models/entity/mention-entity.mjs';
15
- import '../../models/entity/message-entity.mjs';
16
- import '../../models/entity/stream-info-entity.mjs';
17
- import '../../models/channel-data/index.mjs';
18
- import '../../models/meeting/meeting-info.mjs';
19
- import '../../models/meeting/meeting-details.mjs';
20
- import '../../models/channel-data/channel-info.mjs';
21
- import '../../models/channel-data/notification-info.mjs';
22
- import '../../models/channel-data/settings.mjs';
23
- import '../../models/channel-data/team-info.mjs';
24
- import '../../models/channel-data/tenant-info.mjs';
25
7
  import '../../models/input-hint.mjs';
26
8
  import '../../models/text-format.mjs';
27
9
  import '../../models/attachment/attachment.mjs';
@@ -44,3 +26,21 @@ import '../../models/attachment/attachment-layout.mjs';
44
26
  import '../../models/suggested-actions.mjs';
45
27
  import '../../models/importance.mjs';
46
28
  import '../../models/delivery-mode.mjs';
29
+ import '../activity.mjs';
30
+ import '../../models/channel-id.mjs';
31
+ import '../../models/conversation/conversation-reference.mjs';
32
+ import '../../models/entity/index.mjs';
33
+ import '../../models/entity/ai-message-entity.mjs';
34
+ import '../../models/entity/message-entity.mjs';
35
+ import '../../models/entity/citation-entity.mjs';
36
+ import '../../models/entity/client-info-entity.mjs';
37
+ import '../../models/entity/sensitive-usage-entity.mjs';
38
+ import '../../models/entity/stream-info-entity.mjs';
39
+ import '../../models/channel-data/index.mjs';
40
+ import '../../models/meeting/meeting-info.mjs';
41
+ import '../../models/meeting/meeting-details.mjs';
42
+ import '../../models/channel-data/channel-info.mjs';
43
+ import '../../models/channel-data/notification-info.mjs';
44
+ import '../../models/channel-data/settings.mjs';
45
+ import '../../models/channel-data/team-info.mjs';
46
+ import '../../models/channel-data/tenant-info.mjs';
@@ -1,27 +1,9 @@
1
- import '../typing.js';
2
1
  export { S as StripMentionsTextOptions, s as stripMentionsText } from '../../message-BKfEV_tV.js';
2
+ import '../typing.js';
3
3
  import '../message/message-update.js';
4
- import '../activity.js';
5
- import '../../models/channel-id.js';
6
4
  import '../../models/account.js';
7
5
  import '../../models/role.js';
8
- import '../../models/conversation/conversation-reference.js';
9
- import '../../models/entity/index.js';
10
- import '../../models/entity/ai-message-entity.js';
11
- import '../../models/entity/citation-entity.js';
12
- import '../../models/entity/sensitive-usage-entity.js';
13
- import '../../models/entity/client-info-entity.js';
14
6
  import '../../models/entity/mention-entity.js';
15
- import '../../models/entity/message-entity.js';
16
- import '../../models/entity/stream-info-entity.js';
17
- import '../../models/channel-data/index.js';
18
- import '../../models/meeting/meeting-info.js';
19
- import '../../models/meeting/meeting-details.js';
20
- import '../../models/channel-data/channel-info.js';
21
- import '../../models/channel-data/notification-info.js';
22
- import '../../models/channel-data/settings.js';
23
- import '../../models/channel-data/team-info.js';
24
- import '../../models/channel-data/tenant-info.js';
25
7
  import '../../models/input-hint.js';
26
8
  import '../../models/text-format.js';
27
9
  import '../../models/attachment/attachment.js';
@@ -44,3 +26,21 @@ import '../../models/attachment/attachment-layout.js';
44
26
  import '../../models/suggested-actions.js';
45
27
  import '../../models/importance.js';
46
28
  import '../../models/delivery-mode.js';
29
+ import '../activity.js';
30
+ import '../../models/channel-id.js';
31
+ import '../../models/conversation/conversation-reference.js';
32
+ import '../../models/entity/index.js';
33
+ import '../../models/entity/ai-message-entity.js';
34
+ import '../../models/entity/message-entity.js';
35
+ import '../../models/entity/citation-entity.js';
36
+ import '../../models/entity/client-info-entity.js';
37
+ import '../../models/entity/sensitive-usage-entity.js';
38
+ import '../../models/entity/stream-info-entity.js';
39
+ import '../../models/channel-data/index.js';
40
+ import '../../models/meeting/meeting-info.js';
41
+ import '../../models/meeting/meeting-details.js';
42
+ import '../../models/channel-data/channel-info.js';
43
+ import '../../models/channel-data/notification-info.js';
44
+ import '../../models/channel-data/settings.js';
45
+ import '../../models/channel-data/team-info.js';
46
+ import '../../models/channel-data/tenant-info.js';
@@ -1,4 +1,4 @@
1
- export { t as toActivityParams } from '../../activity-BSnzJwSH.mjs';
1
+ export { t as toActivityParams } from '../../activity-CszVnh5f.mjs';
2
2
  import '../../message-BM7D0_tg.mjs';
3
3
  import '../../models/account.mjs';
4
4
  import '../../models/role.mjs';
@@ -30,10 +30,10 @@ import '../../models/channel-id.mjs';
30
30
  import '../../models/conversation/conversation-reference.mjs';
31
31
  import '../../models/entity/index.mjs';
32
32
  import '../../models/entity/ai-message-entity.mjs';
33
+ import '../../models/entity/message-entity.mjs';
33
34
  import '../../models/entity/citation-entity.mjs';
34
- import '../../models/entity/sensitive-usage-entity.mjs';
35
35
  import '../../models/entity/client-info-entity.mjs';
36
- import '../../models/entity/message-entity.mjs';
36
+ import '../../models/entity/sensitive-usage-entity.mjs';
37
37
  import '../../models/entity/stream-info-entity.mjs';
38
38
  import '../../models/channel-data/index.mjs';
39
39
  import '../../models/meeting/meeting-info.mjs';
@@ -46,19 +46,40 @@ import '../../models/channel-data/tenant-info.mjs';
46
46
  import '../typing.mjs';
47
47
  import '../message/message-update.mjs';
48
48
  import '@microsoft/teams.common/http';
49
- import '../../models/resource.mjs';
49
+ import '../command/index.mjs';
50
+ import '../command/command-result.mjs';
51
+ import '../command/command-send.mjs';
52
+ import '../conversation/index.mjs';
53
+ import '../conversation/conversation-update.mjs';
54
+ import '../conversation/end-of-conversation.mjs';
50
55
  import '../event/index.mjs';
51
56
  import '../event/meeting-end.mjs';
52
57
  import '../event/meeting-participant-join.mjs';
53
58
  import '../event/meeting-participant-leave.mjs';
54
59
  import '../event/meeting-start.mjs';
55
60
  import '../event/read-receipt.mjs';
61
+ import '../handoff.mjs';
62
+ import '../install-update/index.mjs';
63
+ import '../install-update/add.mjs';
64
+ import '../install-update/remove.mjs';
56
65
  import '../invoke/adaptive-card/index.mjs';
57
66
  import '../invoke/adaptive-card/action.mjs';
58
67
  import '../../models/adaptive-card/adaptive-card-invoke-value.mjs';
59
68
  import '../../models/adaptive-card/adaptive-card-authentication.mjs';
60
69
  import '../../models/token-exchange/token-exchange-invoke-request.mjs';
61
70
  import '../../models/adaptive-card/adaptive-card-invoke-action.mjs';
71
+ import '../invoke/config/index.mjs';
72
+ import '../invoke/config/config-fetch.mjs';
73
+ import '../invoke/config/config-submit.mjs';
74
+ import '../invoke/execute-action.mjs';
75
+ import '../../models/o365/o365-connector-card-action-query.mjs';
76
+ import '../invoke/file-consent.mjs';
77
+ import '../../models/file/file-consent-card.mjs';
78
+ import '../../models/action.mjs';
79
+ import '../../models/file/file-upload-info.mjs';
80
+ import '../invoke/handoff-action.mjs';
81
+ import '../invoke/message/index.mjs';
82
+ import '../invoke/message/submit-action.mjs';
62
83
  import '../invoke/message-extension/anon-query-link.mjs';
63
84
  import '../../models/app-based-link-query.mjs';
64
85
  import '../invoke/message-extension/card-button-clicked.mjs';
@@ -79,11 +100,6 @@ import '../invoke/message-extension/query-link.mjs';
79
100
  import '../invoke/message-extension/query-setting-url.mjs';
80
101
  import '../invoke/message-extension/select-item.mjs';
81
102
  import '../invoke/message-extension/setting.mjs';
82
- import '../invoke/config/index.mjs';
83
- import '../invoke/config/config-fetch.mjs';
84
- import '../invoke/config/config-submit.mjs';
85
- import '../invoke/message/index.mjs';
86
- import '../invoke/message/submit-action.mjs';
87
103
  import '../invoke/sign-in/index.mjs';
88
104
  import '../invoke/sign-in/token-exchange.mjs';
89
105
  import '../../models/sign-in/sign-in-exchange-token.mjs';
@@ -97,24 +113,8 @@ import '../invoke/tab/tab-submit.mjs';
97
113
  import '../invoke/task/index.mjs';
98
114
  import '../invoke/task/task-fetch.mjs';
99
115
  import '../invoke/task/task-submit.mjs';
100
- import '../invoke/execute-action.mjs';
101
- import '../../models/o365/o365-connector-card-action-query.mjs';
102
- import '../invoke/file-consent.mjs';
103
- import '../../models/file/file-consent-card.mjs';
104
- import '../../models/action.mjs';
105
- import '../../models/file/file-upload-info.mjs';
106
- import '../invoke/handoff-action.mjs';
107
- import '../conversation/index.mjs';
108
- import '../conversation/conversation-update.mjs';
109
- import '../conversation/end-of-conversation.mjs';
110
116
  import '../message/index.mjs';
111
117
  import '../message/message-delete.mjs';
112
118
  import '../message/message-reaction.mjs';
113
- import '../command/index.mjs';
114
- import '../command/command-result.mjs';
115
- import '../command/command-send.mjs';
116
- import '../install-update/index.mjs';
117
- import '../install-update/add.mjs';
118
- import '../install-update/remove.mjs';
119
119
  import '../trace.mjs';
120
- import '../handoff.mjs';
120
+ import '../../models/resource.mjs';
@@ -1,4 +1,4 @@
1
- export { t as toActivityParams } from '../../activity-CU6jHBka.js';
1
+ export { t as toActivityParams } from '../../activity-BBGVkx41.js';
2
2
  import '../../message-BKfEV_tV.js';
3
3
  import '../../models/account.js';
4
4
  import '../../models/role.js';
@@ -30,10 +30,10 @@ import '../../models/channel-id.js';
30
30
  import '../../models/conversation/conversation-reference.js';
31
31
  import '../../models/entity/index.js';
32
32
  import '../../models/entity/ai-message-entity.js';
33
+ import '../../models/entity/message-entity.js';
33
34
  import '../../models/entity/citation-entity.js';
34
- import '../../models/entity/sensitive-usage-entity.js';
35
35
  import '../../models/entity/client-info-entity.js';
36
- import '../../models/entity/message-entity.js';
36
+ import '../../models/entity/sensitive-usage-entity.js';
37
37
  import '../../models/entity/stream-info-entity.js';
38
38
  import '../../models/channel-data/index.js';
39
39
  import '../../models/meeting/meeting-info.js';
@@ -46,19 +46,40 @@ import '../../models/channel-data/tenant-info.js';
46
46
  import '../typing.js';
47
47
  import '../message/message-update.js';
48
48
  import '@microsoft/teams.common/http';
49
- import '../../models/resource.js';
49
+ import '../command/index.js';
50
+ import '../command/command-result.js';
51
+ import '../command/command-send.js';
52
+ import '../conversation/index.js';
53
+ import '../conversation/conversation-update.js';
54
+ import '../conversation/end-of-conversation.js';
50
55
  import '../event/index.js';
51
56
  import '../event/meeting-end.js';
52
57
  import '../event/meeting-participant-join.js';
53
58
  import '../event/meeting-participant-leave.js';
54
59
  import '../event/meeting-start.js';
55
60
  import '../event/read-receipt.js';
61
+ import '../handoff.js';
62
+ import '../install-update/index.js';
63
+ import '../install-update/add.js';
64
+ import '../install-update/remove.js';
56
65
  import '../invoke/adaptive-card/index.js';
57
66
  import '../invoke/adaptive-card/action.js';
58
67
  import '../../models/adaptive-card/adaptive-card-invoke-value.js';
59
68
  import '../../models/adaptive-card/adaptive-card-authentication.js';
60
69
  import '../../models/token-exchange/token-exchange-invoke-request.js';
61
70
  import '../../models/adaptive-card/adaptive-card-invoke-action.js';
71
+ import '../invoke/config/index.js';
72
+ import '../invoke/config/config-fetch.js';
73
+ import '../invoke/config/config-submit.js';
74
+ import '../invoke/execute-action.js';
75
+ import '../../models/o365/o365-connector-card-action-query.js';
76
+ import '../invoke/file-consent.js';
77
+ import '../../models/file/file-consent-card.js';
78
+ import '../../models/action.js';
79
+ import '../../models/file/file-upload-info.js';
80
+ import '../invoke/handoff-action.js';
81
+ import '../invoke/message/index.js';
82
+ import '../invoke/message/submit-action.js';
62
83
  import '../invoke/message-extension/anon-query-link.js';
63
84
  import '../../models/app-based-link-query.js';
64
85
  import '../invoke/message-extension/card-button-clicked.js';
@@ -79,11 +100,6 @@ import '../invoke/message-extension/query-link.js';
79
100
  import '../invoke/message-extension/query-setting-url.js';
80
101
  import '../invoke/message-extension/select-item.js';
81
102
  import '../invoke/message-extension/setting.js';
82
- import '../invoke/config/index.js';
83
- import '../invoke/config/config-fetch.js';
84
- import '../invoke/config/config-submit.js';
85
- import '../invoke/message/index.js';
86
- import '../invoke/message/submit-action.js';
87
103
  import '../invoke/sign-in/index.js';
88
104
  import '../invoke/sign-in/token-exchange.js';
89
105
  import '../../models/sign-in/sign-in-exchange-token.js';
@@ -97,24 +113,8 @@ import '../invoke/tab/tab-submit.js';
97
113
  import '../invoke/task/index.js';
98
114
  import '../invoke/task/task-fetch.js';
99
115
  import '../invoke/task/task-submit.js';
100
- import '../invoke/execute-action.js';
101
- import '../../models/o365/o365-connector-card-action-query.js';
102
- import '../invoke/file-consent.js';
103
- import '../../models/file/file-consent-card.js';
104
- import '../../models/action.js';
105
- import '../../models/file/file-upload-info.js';
106
- import '../invoke/handoff-action.js';
107
- import '../conversation/index.js';
108
- import '../conversation/conversation-update.js';
109
- import '../conversation/end-of-conversation.js';
110
116
  import '../message/index.js';
111
117
  import '../message/message-delete.js';
112
118
  import '../message/message-reaction.js';
113
- import '../command/index.js';
114
- import '../command/command-result.js';
115
- import '../command/command-send.js';
116
- import '../install-update/index.js';
117
- import '../install-update/add.js';
118
- import '../install-update/remove.js';
119
119
  import '../trace.js';
120
- import '../handoff.js';
120
+ import '../../models/resource.js';