Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/api/src/activities/activity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export interface IActivity<T extends string = string> {

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;

Expand Down Expand Up @@ -172,6 +173,7 @@ export class Activity<T extends string = string> implements IActivity<T> {

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;

Expand Down Expand Up @@ -277,6 +279,9 @@ export class Activity<T extends string = string> implements IActivity<T> {
return this;
}

/**
* @deprecated This will be removed by end of summer 2026.
*/
withRelatesTo(value: ConversationReference) {
this.relatesTo = value;
return this;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { IActivity } from '../activity';

/**
* @deprecated This will be removed by end of summer 2026.
*/
export type EndOfConversationCode =
| 'unknown'
| 'completedSuccessfully'
Expand All @@ -8,6 +11,9 @@ export type EndOfConversationCode =
| 'botIssuedInvalidMessage'
| 'channelFailed';

/**
* @deprecated This will be removed by end of summer 2026.
*/
export interface IEndOfConversationActivity extends IActivity<'endOfConversation'> {
/**
* The a code for endOfConversation activities that indicates why the conversation ended.
Expand Down
3 changes: 3 additions & 0 deletions packages/api/src/activities/handoff.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import { IActivity } from './activity';

/**
* @deprecated This will be removed by end of summer 2026.
*/
export interface IHandoffActivity extends IActivity<'handoff'> {}
1 change: 1 addition & 0 deletions packages/api/src/activities/invoke/config/config-fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface IConfigFetchInvokeActivity extends IActivity<'invoke'> {

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
1 change: 1 addition & 0 deletions packages/api/src/activities/invoke/config/config-submit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface IConfigSubmitInvokeActivity extends IActivity<'invoke'> {

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
1 change: 1 addition & 0 deletions packages/api/src/activities/invoke/execute-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface IExecuteActionInvokeActivity extends IActivity<'invoke'> {

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
1 change: 1 addition & 0 deletions packages/api/src/activities/invoke/file-consent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface IFileConsentInvokeActivity extends IActivity<'invoke'> {

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
1 change: 1 addition & 0 deletions packages/api/src/activities/invoke/handoff-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface IHandoffActionInvokeActivity extends IActivity<'invoke'> {

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface IMessageExtensionAnonQueryLinkInvokeActivity extends IActivity<

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface IMessageExtensionCardButtonClickedInvokeActivity extends IActiv

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface IMessageExtensionFetchTaskInvokeActivity extends IActivity<'inv

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface IMessageExtensionQueryLinkInvokeActivity extends IActivity<'inv

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface IMessageExtensionQuerySettingUrlInvokeActivity extends IActivit

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface IMessageExtensionQueryInvokeActivity extends IActivity<'invoke'

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface IMessageExtensionSelectItemInvokeActivity extends IActivity<'in

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface IMessageExtensionSettingInvokeActivity extends IActivity<'invok

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface IMessageExtensionSubmitActionInvokeActivity extends IActivity<'

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface IMessageSubmitActionInvokeActivity extends IActivity<'invoke'>

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
1 change: 1 addition & 0 deletions packages/api/src/activities/invoke/tab/tab-fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface ITabFetchInvokeActivity extends IActivity<'invoke'> {

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
1 change: 1 addition & 0 deletions packages/api/src/activities/invoke/tab/tab-submit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface ITabSubmitInvokeActivity extends IActivity<'invoke'> {

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
1 change: 1 addition & 0 deletions packages/api/src/activities/invoke/task/task-fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface ITaskFetchInvokeActivity extends IActivity<'invoke'> {

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
1 change: 1 addition & 0 deletions packages/api/src/activities/invoke/task/task-submit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface ITaskSubmitInvokeActivity extends IActivity<'invoke'> {

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
6 changes: 6 additions & 0 deletions packages/api/src/activities/message/message-update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export interface IMessageUpdateActivity extends IActivity<'messageUpdate'> {

/**
* The text to speak.
* @deprecated This will be removed by end of summer 2026.
*/
speak?: string;

Expand All @@ -20,6 +21,7 @@ export interface IMessageUpdateActivity extends IActivity<'messageUpdate'> {
/**
* The time at which the activity should be considered to be "expired" and should not be
* presented to the recipient.
* @deprecated This will be removed by end of summer 2026.
*/
expiration?: Date;

Expand All @@ -44,6 +46,7 @@ export class MessageUpdateActivity

/**
* The text to speak.
* @deprecated This will be removed by end of summer 2026.
*/
speak?: string;

Expand All @@ -55,6 +58,7 @@ export class MessageUpdateActivity
/**
* The time at which the activity should be considered to be "expired" and should not be
* presented to the recipient.
* @deprecated This will be removed by end of summer 2026.
*/
expiration?: Date;

Expand Down Expand Up @@ -123,6 +127,7 @@ export class MessageUpdateActivity

/**
* The text to speak.
* @deprecated This will be removed by end of summer 2026.
*/
withSpeak(value: string) {
this.speak = value;
Expand All @@ -140,6 +145,7 @@ export class MessageUpdateActivity
/**
* The time at which the activity should be considered to be "expired" and should not be
* presented to the recipient.
* @deprecated This will be removed by end of summer 2026.
*/
withExpiration(value: Date) {
this.expiration = value;
Expand Down
12 changes: 12 additions & 0 deletions packages/api/src/activities/message/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ export interface IMessageActivity extends IActivity<'message'> {

/**
* The text to speak.
* @deprecated This will be removed by end of summer 2026.
*/
speak?: string;

/**
* Indicates whether your bot is accepting,
* expecting, or ignoring user input after the message is delivered to the client. Possible
* values include: 'acceptingInput', 'ignoringInput', 'expectingInput'
* @deprecated This will be removed by end of summer 2026.
*/
inputHint?: InputHint;

Expand Down Expand Up @@ -61,6 +63,7 @@ export interface IMessageActivity extends IActivity<'message'> {

/**
* The importance of the activity. Possible values include: 'low', 'normal', 'high'
* @deprecated This will be removed by end of summer 2026.
*/
importance?: Importance;

Expand All @@ -73,6 +76,7 @@ export interface IMessageActivity extends IActivity<'message'> {
/**
* The time at which the activity should be considered to be "expired" and should not be
* presented to the recipient.
* @deprecated This will be removed by end of summer 2026.
*/
expiration?: Date;

Expand Down Expand Up @@ -105,13 +109,15 @@ export class MessageActivity extends Activity<'message'> implements IMessageActi

/**
* The text to speak.
* @deprecated This will be removed by end of summer 2026.
*/
speak?: string;

/**
* Indicates whether your bot is accepting,
* expecting, or ignoring user input after the message is delivered to the client. Possible
* values include: 'acceptingInput', 'ignoringInput', 'expectingInput'
* @deprecated This will be removed by end of summer 2026.
*/
inputHint?: InputHint;

Expand Down Expand Up @@ -143,6 +149,7 @@ export class MessageActivity extends Activity<'message'> implements IMessageActi

/**
* The importance of the activity. Possible values include: 'low', 'normal', 'high'
* @deprecated This will be removed by end of summer 2026.
*/
importance?: Importance;

Expand All @@ -155,6 +162,7 @@ export class MessageActivity extends Activity<'message'> implements IMessageActi
/**
* The time at which the activity should be considered to be "expired" and should not be
* presented to the recipient.
* @deprecated This will be removed by end of summer 2026.
*/
expiration?: Date;

Expand Down Expand Up @@ -213,6 +221,7 @@ export class MessageActivity extends Activity<'message'> implements IMessageActi

/**
* The text to speak.
* @deprecated This will be removed by end of summer 2026.
*/
withSpeak(value: string) {
this.speak = value;
Expand All @@ -223,6 +232,7 @@ export class MessageActivity extends Activity<'message'> implements IMessageActi
* Indicates whether your bot is accepting,
* expecting, or ignoring user input after the message is delivered to the client. Possible
* values include: 'acceptingInput', 'ignoringInput', 'expectingInput'
* @deprecated This will be removed by end of summer 2026.
*/
withInputHint(value: InputHint) {
this.inputHint = value;
Expand Down Expand Up @@ -264,6 +274,7 @@ export class MessageActivity extends Activity<'message'> implements IMessageActi

/**
* The importance of the activity. Possible values include: 'low', 'normal', 'high'
* @deprecated This will be removed by end of summer 2026.
*/
withImportance(value: Importance) {
this.importance = value;
Expand All @@ -282,6 +293,7 @@ export class MessageActivity extends Activity<'message'> implements IMessageActi
/**
* The time at which the activity should be considered to be "expired" and should not be
* presented to the recipient.
* @deprecated This will be removed by end of summer 2026.
*/
withExpiration(value: Date) {
this.expiration = value;
Expand Down
4 changes: 4 additions & 0 deletions packages/api/src/activities/trace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { ConversationReference } from '../models';

import { IActivity } from './activity';

/**
* @deprecated This will be removed by end of summer 2026.
*/
export interface ITraceActivity extends IActivity<'trace'> {
/**
* The name of the operation associated with an invoke or event activity.
Expand All @@ -25,6 +28,7 @@ export interface ITraceActivity extends IActivity<'trace'> {

/**
* A reference to another conversation or activity.
* @deprecated This will be removed by end of summer 2026.
*/
relatesTo?: ConversationReference;
}
Loading
Loading