@microsoft/teams.cards 2.0.6 → 2.0.7

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 (69) hide show
  1. package/dist/actions/index.d.mts +1 -2
  2. package/dist/actions/index.d.ts +1 -2
  3. package/dist/actions/submit/collab-stage.d.mts +8 -52
  4. package/dist/actions/submit/collab-stage.d.ts +8 -52
  5. package/dist/actions/submit/collab-stage.js +14 -37
  6. package/dist/actions/submit/collab-stage.js.map +1 -1
  7. package/dist/actions/submit/collab-stage.mjs +16 -37
  8. package/dist/actions/submit/collab-stage.mjs.map +1 -1
  9. package/dist/actions/submit/im-back.d.mts +12 -0
  10. package/dist/actions/submit/im-back.d.ts +12 -0
  11. package/dist/actions/submit/im-back.js.map +1 -1
  12. package/dist/actions/submit/im-back.mjs.map +1 -1
  13. package/dist/actions/submit/index.d.mts +1 -2
  14. package/dist/actions/submit/index.d.ts +1 -2
  15. package/dist/actions/submit/invoke.d.mts +12 -0
  16. package/dist/actions/submit/invoke.d.ts +12 -0
  17. package/dist/actions/submit/invoke.js.map +1 -1
  18. package/dist/actions/submit/invoke.mjs.map +1 -1
  19. package/dist/actions/submit/message-back.d.mts +12 -0
  20. package/dist/actions/submit/message-back.d.ts +12 -0
  21. package/dist/actions/submit/message-back.js.map +1 -1
  22. package/dist/actions/submit/message-back.mjs.map +1 -1
  23. package/dist/actions/submit/sign-in.d.mts +12 -0
  24. package/dist/actions/submit/sign-in.d.ts +12 -0
  25. package/dist/actions/submit/sign-in.js.map +1 -1
  26. package/dist/actions/submit/sign-in.mjs.map +1 -1
  27. package/dist/actions/submit/task-fetch.d.mts +12 -0
  28. package/dist/actions/submit/task-fetch.d.ts +12 -0
  29. package/dist/actions/submit/task-fetch.js.map +1 -1
  30. package/dist/actions/submit/task-fetch.mjs.map +1 -1
  31. package/dist/core.d.mts +6477 -3420
  32. package/dist/core.d.ts +6477 -3420
  33. package/dist/core.js +5437 -2887
  34. package/dist/core.js.map +1 -1
  35. package/dist/core.mjs +5407 -2888
  36. package/dist/core.mjs.map +1 -1
  37. package/dist/index.d.mts +4 -3
  38. package/dist/index.d.ts +4 -3
  39. package/dist/index.js +3 -3
  40. package/dist/index.mjs +1 -1
  41. package/dist/utilities/index.d.mts +3 -0
  42. package/dist/utilities/index.d.ts +3 -0
  43. package/dist/utilities/index.js +21 -0
  44. package/dist/utilities/index.mjs +4 -0
  45. package/dist/utilities/open-dialog-data.d.mts +19 -0
  46. package/dist/utilities/open-dialog-data.d.ts +19 -0
  47. package/dist/utilities/open-dialog-data.js +18 -0
  48. package/dist/utilities/open-dialog-data.js.map +1 -0
  49. package/dist/utilities/open-dialog-data.mjs +16 -0
  50. package/dist/utilities/open-dialog-data.mjs.map +1 -0
  51. package/dist/utilities/submit-data.d.mts +18 -0
  52. package/dist/utilities/submit-data.d.ts +18 -0
  53. package/dist/utilities/submit-data.js +18 -0
  54. package/dist/utilities/submit-data.js.map +1 -0
  55. package/dist/utilities/submit-data.mjs +16 -0
  56. package/dist/utilities/submit-data.mjs.map +1 -0
  57. package/package.json +2 -2
  58. package/dist/common/index.d.mts +0 -1
  59. package/dist/common/index.d.ts +0 -1
  60. package/dist/common/index.js +0 -14
  61. package/dist/common/index.mjs +0 -3
  62. package/dist/common/tab-info.d.mts +0 -23
  63. package/dist/common/tab-info.d.ts +0 -23
  64. package/dist/common/tab-info.js +0 -4
  65. package/dist/common/tab-info.js.map +0 -1
  66. package/dist/common/tab-info.mjs +0 -3
  67. package/dist/common/tab-info.mjs.map +0 -1
  68. /package/dist/{common → utilities}/index.js.map +0 -0
  69. /package/dist/{common → utilities}/index.mjs.map +0 -0
@@ -4,12 +4,18 @@ import { MSTeamsData } from './ms-teams-data.mjs';
4
4
  type MessageBackActionOptions = SubmitActionOptions & {
5
5
  data: MSTeamsData<IMessageBackData>;
6
6
  };
7
+ /**
8
+ * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.
9
+ */
7
10
  interface IMessageBackAction extends ISubmitAction {
8
11
  /**
9
12
  * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
10
13
  */
11
14
  data: MSTeamsData<IMessageBackData>;
12
15
  }
16
+ /**
17
+ * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.
18
+ */
13
19
  declare class MessageBackAction extends SubmitAction implements IMessageBackAction {
14
20
  /**
15
21
  * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
@@ -19,6 +25,9 @@ declare class MessageBackAction extends SubmitAction implements IMessageBackActi
19
25
  static from(options: MessageBackActionOptions): MessageBackAction;
20
26
  withData(value: IMessageBackData): this;
21
27
  }
28
+ /**
29
+ * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.
30
+ */
22
31
  interface IMessageBackData {
23
32
  type: 'messageBack';
24
33
  /**
@@ -36,6 +45,9 @@ interface IMessageBackData {
36
45
  */
37
46
  value: string;
38
47
  }
48
+ /**
49
+ * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.
50
+ */
39
51
  declare class MessageBackData implements IMessageBackData {
40
52
  type: 'messageBack';
41
53
  /**
@@ -4,12 +4,18 @@ import { MSTeamsData } from './ms-teams-data.js';
4
4
  type MessageBackActionOptions = SubmitActionOptions & {
5
5
  data: MSTeamsData<IMessageBackData>;
6
6
  };
7
+ /**
8
+ * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.
9
+ */
7
10
  interface IMessageBackAction extends ISubmitAction {
8
11
  /**
9
12
  * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
10
13
  */
11
14
  data: MSTeamsData<IMessageBackData>;
12
15
  }
16
+ /**
17
+ * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.
18
+ */
13
19
  declare class MessageBackAction extends SubmitAction implements IMessageBackAction {
14
20
  /**
15
21
  * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
@@ -19,6 +25,9 @@ declare class MessageBackAction extends SubmitAction implements IMessageBackActi
19
25
  static from(options: MessageBackActionOptions): MessageBackAction;
20
26
  withData(value: IMessageBackData): this;
21
27
  }
28
+ /**
29
+ * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.
30
+ */
22
31
  interface IMessageBackData {
23
32
  type: 'messageBack';
24
33
  /**
@@ -36,6 +45,9 @@ interface IMessageBackData {
36
45
  */
37
46
  value: string;
38
47
  }
48
+ /**
49
+ * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.
50
+ */
39
51
  declare class MessageBackData implements IMessageBackData {
40
52
  type: 'messageBack';
41
53
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/message-back.ts"],"names":["SubmitAction"],"mappings":";;;;AAeO,MAAM,0BAA0BA,iBAAA,CAA2C;AAAA;AAAA;AAAA;AAAA,EAIhF,IAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAwB,OAAA,GAA+B,EAAC,EAAG;AACrE,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,OAAA,EAAS,IAAI,eAAA,CAAgB,IAAA,CAAK,MAAM,IAAA,CAAK,KAAA,EAAO,KAAK,WAAW;AAAA,KACtE;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAmC;AAC7C,IAAA,OAAO,IAAI,iBAAA,CAAkB,OAAA,CAAQ,IAAA,CAAK,SAAS,OAAO,CAAA;AAAA,EAC5D;AAAA,EAEA,SAAS,KAAA,EAAyB;AAChC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAuBO,MAAM,eAAA,CAA4C;AAAA,EACvD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,KAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAc,KAAA,EAAe,WAAA,EAAsB;AAC7D,IAAA,IAAA,CAAK,IAAA,GAAO,aAAA;AACZ,IAAA,IAAA,CAAK,IAAA,GAAO,IAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AACb,IAAA,IAAA,CAAK,WAAA,GAAc,WAAA;AAAA,EACrB;AAAA,EAEA,gBAAgB,KAAA,EAAe;AAC7B,IAAA,IAAA,CAAK,WAAA,GAAc,KAAA;AACnB,IAAA,OAAO,IAAA;AAAA,EACT;AACF","file":"message-back.js","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type MessageBackActionOptions = SubmitActionOptions & {\n data: MSTeamsData<IMessageBackData>;\n};\n\nexport interface IMessageBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n}\n\nexport class MessageBackAction extends SubmitAction implements IMessageBackAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n\n constructor(data: IMessageBackData, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n msteams: new MessageBackData(data.text, data.value, data.displayText),\n };\n }\n\n static from(options: MessageBackActionOptions) {\n return new MessageBackAction(options.data.msteams, options);\n }\n\n withData(value: IMessageBackData) {\n super.withData({ msteams: value });\n return this;\n }\n}\n\nexport interface IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n}\n\nexport class MessageBackData implements IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n\n constructor(text: string, value: string, displayText?: string) {\n this.type = 'messageBack';\n this.text = text;\n this.value = value;\n this.displayText = displayText;\n }\n\n withDisplayText(value: string) {\n this.displayText = value;\n return this;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/message-back.ts"],"names":["SubmitAction"],"mappings":";;;;AAqBO,MAAM,0BAA0BA,iBAAA,CAA2C;AAAA;AAAA;AAAA;AAAA,EAIhF,IAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAwB,OAAA,GAA+B,EAAC,EAAG;AACrE,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,OAAA,EAAS,IAAI,eAAA,CAAgB,IAAA,CAAK,MAAM,IAAA,CAAK,KAAA,EAAO,KAAK,WAAW;AAAA,KACtE;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAmC;AAC7C,IAAA,OAAO,IAAI,iBAAA,CAAkB,OAAA,CAAQ,IAAA,CAAK,SAAS,OAAO,CAAA;AAAA,EAC5D;AAAA,EAEA,SAAS,KAAA,EAAyB;AAChC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AA6BO,MAAM,eAAA,CAA4C;AAAA,EACvD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,KAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAc,KAAA,EAAe,WAAA,EAAsB;AAC7D,IAAA,IAAA,CAAK,IAAA,GAAO,aAAA;AACZ,IAAA,IAAA,CAAK,IAAA,GAAO,IAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AACb,IAAA,IAAA,CAAK,WAAA,GAAc,WAAA;AAAA,EACrB;AAAA,EAEA,gBAAgB,KAAA,EAAe;AAC7B,IAAA,IAAA,CAAK,WAAA,GAAc,KAAA;AACnB,IAAA,OAAO,IAAA;AAAA,EACT;AACF","file":"message-back.js","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type MessageBackActionOptions = SubmitActionOptions & {\n data: MSTeamsData<IMessageBackData>;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IMessageBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class MessageBackAction extends SubmitAction implements IMessageBackAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n\n constructor(data: IMessageBackData, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n msteams: new MessageBackData(data.text, data.value, data.displayText),\n };\n }\n\n static from(options: MessageBackActionOptions) {\n return new MessageBackAction(options.data.msteams, options);\n }\n\n withData(value: IMessageBackData) {\n super.withData({ msteams: value });\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class MessageBackData implements IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n\n constructor(text: string, value: string, displayText?: string) {\n this.type = 'messageBack';\n this.text = text;\n this.value = value;\n this.displayText = displayText;\n }\n\n withDisplayText(value: string) {\n this.displayText = value;\n return this;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/message-back.ts"],"names":[],"mappings":";;AAeO,MAAM,0BAA0B,YAAA,CAA2C;AAAA;AAAA;AAAA;AAAA,EAIhF,IAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAwB,OAAA,GAA+B,EAAC,EAAG;AACrE,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,OAAA,EAAS,IAAI,eAAA,CAAgB,IAAA,CAAK,MAAM,IAAA,CAAK,KAAA,EAAO,KAAK,WAAW;AAAA,KACtE;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAmC;AAC7C,IAAA,OAAO,IAAI,iBAAA,CAAkB,OAAA,CAAQ,IAAA,CAAK,SAAS,OAAO,CAAA;AAAA,EAC5D;AAAA,EAEA,SAAS,KAAA,EAAyB;AAChC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAuBO,MAAM,eAAA,CAA4C;AAAA,EACvD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,KAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAc,KAAA,EAAe,WAAA,EAAsB;AAC7D,IAAA,IAAA,CAAK,IAAA,GAAO,aAAA;AACZ,IAAA,IAAA,CAAK,IAAA,GAAO,IAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AACb,IAAA,IAAA,CAAK,WAAA,GAAc,WAAA;AAAA,EACrB;AAAA,EAEA,gBAAgB,KAAA,EAAe;AAC7B,IAAA,IAAA,CAAK,WAAA,GAAc,KAAA;AACnB,IAAA,OAAO,IAAA;AAAA,EACT;AACF","file":"message-back.mjs","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type MessageBackActionOptions = SubmitActionOptions & {\n data: MSTeamsData<IMessageBackData>;\n};\n\nexport interface IMessageBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n}\n\nexport class MessageBackAction extends SubmitAction implements IMessageBackAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n\n constructor(data: IMessageBackData, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n msteams: new MessageBackData(data.text, data.value, data.displayText),\n };\n }\n\n static from(options: MessageBackActionOptions) {\n return new MessageBackAction(options.data.msteams, options);\n }\n\n withData(value: IMessageBackData) {\n super.withData({ msteams: value });\n return this;\n }\n}\n\nexport interface IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n}\n\nexport class MessageBackData implements IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n\n constructor(text: string, value: string, displayText?: string) {\n this.type = 'messageBack';\n this.text = text;\n this.value = value;\n this.displayText = displayText;\n }\n\n withDisplayText(value: string) {\n this.displayText = value;\n return this;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/message-back.ts"],"names":[],"mappings":";;AAqBO,MAAM,0BAA0B,YAAA,CAA2C;AAAA;AAAA;AAAA;AAAA,EAIhF,IAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAwB,OAAA,GAA+B,EAAC,EAAG;AACrE,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,OAAA,EAAS,IAAI,eAAA,CAAgB,IAAA,CAAK,MAAM,IAAA,CAAK,KAAA,EAAO,KAAK,WAAW;AAAA,KACtE;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAmC;AAC7C,IAAA,OAAO,IAAI,iBAAA,CAAkB,OAAA,CAAQ,IAAA,CAAK,SAAS,OAAO,CAAA;AAAA,EAC5D;AAAA,EAEA,SAAS,KAAA,EAAyB;AAChC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AA6BO,MAAM,eAAA,CAA4C;AAAA,EACvD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,KAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAc,KAAA,EAAe,WAAA,EAAsB;AAC7D,IAAA,IAAA,CAAK,IAAA,GAAO,aAAA;AACZ,IAAA,IAAA,CAAK,IAAA,GAAO,IAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AACb,IAAA,IAAA,CAAK,WAAA,GAAc,WAAA;AAAA,EACrB;AAAA,EAEA,gBAAgB,KAAA,EAAe;AAC7B,IAAA,IAAA,CAAK,WAAA,GAAc,KAAA;AACnB,IAAA,OAAO,IAAA;AAAA,EACT;AACF","file":"message-back.mjs","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type MessageBackActionOptions = SubmitActionOptions & {\n data: MSTeamsData<IMessageBackData>;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IMessageBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class MessageBackAction extends SubmitAction implements IMessageBackAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n\n constructor(data: IMessageBackData, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n msteams: new MessageBackData(data.text, data.value, data.displayText),\n };\n }\n\n static from(options: MessageBackActionOptions) {\n return new MessageBackAction(options.data.msteams, options);\n }\n\n withData(value: IMessageBackData) {\n super.withData({ msteams: value });\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class MessageBackData implements IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n\n constructor(text: string, value: string, displayText?: string) {\n this.type = 'messageBack';\n this.text = text;\n this.value = value;\n this.displayText = displayText;\n }\n\n withDisplayText(value: string) {\n this.displayText = value;\n return this;\n }\n}\n"]}
@@ -4,12 +4,18 @@ import { MSTeamsData } from './ms-teams-data.mjs';
4
4
  type SignInActionOptions = SubmitActionOptions & {
5
5
  data: MSTeamsData<ISignInData>;
6
6
  };
7
+ /**
8
+ * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.
9
+ */
7
10
  interface ISignInAction extends ISubmitAction {
8
11
  /**
9
12
  * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
10
13
  */
11
14
  data: MSTeamsData<ISignInData>;
12
15
  }
16
+ /**
17
+ * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.
18
+ */
13
19
  declare class SignInAction extends SubmitAction implements ISignInAction {
14
20
  /**
15
21
  * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
@@ -20,6 +26,9 @@ declare class SignInAction extends SubmitAction implements ISignInAction {
20
26
  withData(value: ISignInData): this;
21
27
  withValue(value: string): this;
22
28
  }
29
+ /**
30
+ * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.
31
+ */
23
32
  interface ISignInData {
24
33
  type: 'signin';
25
34
  /**
@@ -27,6 +36,9 @@ interface ISignInData {
27
36
  */
28
37
  value: string;
29
38
  }
39
+ /**
40
+ * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.
41
+ */
30
42
  declare class SignInData implements ISignInData {
31
43
  type: 'signin';
32
44
  /**
@@ -4,12 +4,18 @@ import { MSTeamsData } from './ms-teams-data.js';
4
4
  type SignInActionOptions = SubmitActionOptions & {
5
5
  data: MSTeamsData<ISignInData>;
6
6
  };
7
+ /**
8
+ * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.
9
+ */
7
10
  interface ISignInAction extends ISubmitAction {
8
11
  /**
9
12
  * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
10
13
  */
11
14
  data: MSTeamsData<ISignInData>;
12
15
  }
16
+ /**
17
+ * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.
18
+ */
13
19
  declare class SignInAction extends SubmitAction implements ISignInAction {
14
20
  /**
15
21
  * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
@@ -20,6 +26,9 @@ declare class SignInAction extends SubmitAction implements ISignInAction {
20
26
  withData(value: ISignInData): this;
21
27
  withValue(value: string): this;
22
28
  }
29
+ /**
30
+ * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.
31
+ */
23
32
  interface ISignInData {
24
33
  type: 'signin';
25
34
  /**
@@ -27,6 +36,9 @@ interface ISignInData {
27
36
  */
28
37
  value: string;
29
38
  }
39
+ /**
40
+ * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.
41
+ */
30
42
  declare class SignInData implements ISignInData {
31
43
  type: 'signin';
32
44
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/sign-in.ts"],"names":["SubmitAction"],"mappings":";;;;AAaO,MAAM,qBAAqBA,iBAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAe,OAAA,GAA+B,EAAC,EAAG;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA8B;AACxC,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAAoB;AAC3B,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAe;AACvB,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAWO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAe;AACzB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"sign-in.js","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type SignInActionOptions = SubmitActionOptions & { data: MSTeamsData<ISignInData> };\n\nexport interface ISignInAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n}\n\nexport class SignInAction extends SubmitAction implements ISignInAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new SignInData(value) };\n }\n\n static from(options: SignInActionOptions) {\n return new SignInAction(options.data.msteams.value, options);\n }\n\n withData(value: ISignInData) {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: string) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\nexport interface ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n}\n\nexport class SignInData implements ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'signin';\n this.value = value;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/sign-in.ts"],"names":["SubmitAction"],"mappings":";;;;AAmBO,MAAM,qBAAqBA,iBAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAe,OAAA,GAA+B,EAAC,EAAG;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA8B;AACxC,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAAoB;AAC3B,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAe;AACvB,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAe;AACzB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"sign-in.js","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type SignInActionOptions = SubmitActionOptions & { data: MSTeamsData<ISignInData> };\n\n/**\n * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ISignInAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class SignInAction extends SubmitAction implements ISignInAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new SignInData(value) };\n }\n\n static from(options: SignInActionOptions) {\n return new SignInAction(options.data.msteams.value, options);\n }\n\n withData(value: ISignInData) {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: string) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class SignInData implements ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'signin';\n this.value = value;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/sign-in.ts"],"names":[],"mappings":";;AAaO,MAAM,qBAAqB,YAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAe,OAAA,GAA+B,EAAC,EAAG;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA8B;AACxC,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAAoB;AAC3B,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAe;AACvB,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAWO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAe;AACzB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"sign-in.mjs","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type SignInActionOptions = SubmitActionOptions & { data: MSTeamsData<ISignInData> };\n\nexport interface ISignInAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n}\n\nexport class SignInAction extends SubmitAction implements ISignInAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new SignInData(value) };\n }\n\n static from(options: SignInActionOptions) {\n return new SignInAction(options.data.msteams.value, options);\n }\n\n withData(value: ISignInData) {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: string) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\nexport interface ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n}\n\nexport class SignInData implements ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'signin';\n this.value = value;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/sign-in.ts"],"names":[],"mappings":";;AAmBO,MAAM,qBAAqB,YAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAe,OAAA,GAA+B,EAAC,EAAG;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA8B;AACxC,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAAoB;AAC3B,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAe;AACvB,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAe;AACzB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"sign-in.mjs","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type SignInActionOptions = SubmitActionOptions & { data: MSTeamsData<ISignInData> };\n\n/**\n * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ISignInAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class SignInAction extends SubmitAction implements ISignInAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new SignInData(value) };\n }\n\n static from(options: SignInActionOptions) {\n return new SignInAction(options.data.msteams.value, options);\n }\n\n withData(value: ISignInData) {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: string) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class SignInData implements ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'signin';\n this.value = value;\n }\n}\n"]}
@@ -10,12 +10,18 @@ type TaskFetchDataValues = {
10
10
  /** type is special so we shouldn't allow overriding it */
11
11
  type?: never;
12
12
  };
13
+ /**
14
+ * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.
15
+ */
13
16
  interface ITaskFetchAction extends ISubmitAction {
14
17
  /**
15
18
  * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
16
19
  */
17
20
  data: MSTeamsData<ITaskFetchData>;
18
21
  }
22
+ /**
23
+ * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.
24
+ */
19
25
  declare class TaskFetchAction extends SubmitAction implements ITaskFetchAction {
20
26
  /**
21
27
  * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
@@ -26,9 +32,15 @@ declare class TaskFetchAction extends SubmitAction implements ITaskFetchAction {
26
32
  withData(value: MSTeamsData<ITaskFetchData>): this;
27
33
  withValue(value: TaskFetchDataValues): this;
28
34
  }
35
+ /**
36
+ * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.
37
+ */
29
38
  interface ITaskFetchData {
30
39
  type: 'task/fetch';
31
40
  }
41
+ /**
42
+ * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.
43
+ */
32
44
  declare class TaskFetchData implements MSTeamsData<ITaskFetchData> {
33
45
  msteams: {
34
46
  type: "task/fetch";
@@ -10,12 +10,18 @@ type TaskFetchDataValues = {
10
10
  /** type is special so we shouldn't allow overriding it */
11
11
  type?: never;
12
12
  };
13
+ /**
14
+ * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.
15
+ */
13
16
  interface ITaskFetchAction extends ISubmitAction {
14
17
  /**
15
18
  * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
16
19
  */
17
20
  data: MSTeamsData<ITaskFetchData>;
18
21
  }
22
+ /**
23
+ * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.
24
+ */
19
25
  declare class TaskFetchAction extends SubmitAction implements ITaskFetchAction {
20
26
  /**
21
27
  * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
@@ -26,9 +32,15 @@ declare class TaskFetchAction extends SubmitAction implements ITaskFetchAction {
26
32
  withData(value: MSTeamsData<ITaskFetchData>): this;
27
33
  withValue(value: TaskFetchDataValues): this;
28
34
  }
35
+ /**
36
+ * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.
37
+ */
29
38
  interface ITaskFetchData {
30
39
  type: 'task/fetch';
31
40
  }
41
+ /**
42
+ * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.
43
+ */
32
44
  declare class TaskFetchData implements MSTeamsData<ITaskFetchData> {
33
45
  msteams: {
34
46
  type: "task/fetch";
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/task-fetch.ts"],"names":["SubmitAction"],"mappings":";;;;AAoBO,MAAM,wBAAwBA,iBAAA,CAAyC;AAAA;AAAA;AAAA;AAAA,EAI5E,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAA6B,OAAA,GAA+B,EAAC,EAAG;AAC1E,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,GAAG,KAAA;AAAA,MACH,OAAA,EAAS;AAAA,QACP,IAAA,EAAM;AAAA;AACR,KACF;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAiC;AAC3C,IAAA,OAAO,IAAI,eAAA,CAAgB,OAAA,CAAQ,IAAA,EAAM,OAAO,CAAA;AAAA,EAClD;AAAA,EAEA,SAAS,KAAA,EAAoC;AAC3C,IAAA,IAAA,CAAK,IAAA,GAAO,KAAA;AACZ,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAA4B;AACpC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,GAAG,IAAA,CAAK,IAAA,EAAM,GAAG,KAAA,EAAO,OAAA,EAAS,EAAE,IAAA,EAAM,YAAA,EAAa,EAAG,CAAA;AAC1E,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAMO,MAAM,aAAA,CAAqD;AAAA,EAChE,OAAA,GAAU;AAAA,IACR,IAAA,EAAM;AAAA,GACR;AAAA,EAEA,YAAY,IAAA,EAA4B;AAEtC,IAAA,IAAI,IAAA,EAAM;AACR,MAAA,MAAM,EAAE,OAAA,EAAS,GAAG,IAAA,EAAK,GAAI,IAAA;AAC7B,MAAA,MAAA,CAAO,MAAA,CAAO,MAAM,IAAI,CAAA;AAAA,IAC1B;AAAA,EACF;AACF","file":"task-fetch.js","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type TaskFetchActionOptions = SubmitActionOptions & { data: MSTeamsData<ITaskFetchData> };\n\nexport type TaskFetchDataValues = {\n [key: string]: any;\n} & {\n /** type is special so we shouldn't allow overriding it */\n type?: never;\n};\n\nexport interface ITaskFetchAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n}\n\nexport class TaskFetchAction extends SubmitAction implements ITaskFetchAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n\n constructor(value?: TaskFetchDataValues, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n ...value,\n msteams: {\n type: 'task/fetch',\n },\n };\n }\n\n static from(options: TaskFetchActionOptions) {\n return new TaskFetchAction(options.data, options);\n }\n\n withData(value: MSTeamsData<ITaskFetchData>) {\n this.data = value;\n return this;\n }\n\n withValue(value: TaskFetchDataValues) {\n super.withData({ ...this.data, ...value, msteams: { type: 'task/fetch' } });\n return this;\n }\n}\n\nexport interface ITaskFetchData {\n type: 'task/fetch';\n}\n\nexport class TaskFetchData implements MSTeamsData<ITaskFetchData> {\n msteams = {\n type: 'task/fetch' as const,\n };\n\n constructor(data?: TaskFetchDataValues) {\n // omit the msteams property if it exists\n if (data) {\n const { msteams, ...rest } = data;\n Object.assign(this, rest);\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/task-fetch.ts"],"names":["SubmitAction"],"mappings":";;;;AA0BO,MAAM,wBAAwBA,iBAAA,CAAyC;AAAA;AAAA;AAAA;AAAA,EAI5E,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAA6B,OAAA,GAA+B,EAAC,EAAG;AAC1E,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,GAAG,KAAA;AAAA,MACH,OAAA,EAAS;AAAA,QACP,IAAA,EAAM;AAAA;AACR,KACF;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAiC;AAC3C,IAAA,OAAO,IAAI,eAAA,CAAgB,OAAA,CAAQ,IAAA,EAAM,OAAO,CAAA;AAAA,EAClD;AAAA,EAEA,SAAS,KAAA,EAAoC;AAC3C,IAAA,IAAA,CAAK,IAAA,GAAO,KAAA;AACZ,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAA4B;AACpC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,GAAG,IAAA,CAAK,IAAA,EAAM,GAAG,KAAA,EAAO,OAAA,EAAS,EAAE,IAAA,EAAM,YAAA,EAAa,EAAG,CAAA;AAC1E,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAYO,MAAM,aAAA,CAAqD;AAAA,EAChE,OAAA,GAAU;AAAA,IACR,IAAA,EAAM;AAAA,GACR;AAAA,EAEA,YAAY,IAAA,EAA4B;AAEtC,IAAA,IAAI,IAAA,EAAM;AACR,MAAA,MAAM,EAAE,OAAA,EAAS,GAAG,IAAA,EAAK,GAAI,IAAA;AAC7B,MAAA,MAAA,CAAO,MAAA,CAAO,MAAM,IAAI,CAAA;AAAA,IAC1B;AAAA,EACF;AACF","file":"task-fetch.js","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type TaskFetchActionOptions = SubmitActionOptions & { data: MSTeamsData<ITaskFetchData> };\n\nexport type TaskFetchDataValues = {\n [key: string]: any;\n} & {\n /** type is special so we shouldn't allow overriding it */\n type?: never;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ITaskFetchAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class TaskFetchAction extends SubmitAction implements ITaskFetchAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n\n constructor(value?: TaskFetchDataValues, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n ...value,\n msteams: {\n type: 'task/fetch',\n },\n };\n }\n\n static from(options: TaskFetchActionOptions) {\n return new TaskFetchAction(options.data, options);\n }\n\n withData(value: MSTeamsData<ITaskFetchData>) {\n this.data = value;\n return this;\n }\n\n withValue(value: TaskFetchDataValues) {\n super.withData({ ...this.data, ...value, msteams: { type: 'task/fetch' } });\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ITaskFetchData {\n type: 'task/fetch';\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class TaskFetchData implements MSTeamsData<ITaskFetchData> {\n msteams = {\n type: 'task/fetch' as const,\n };\n\n constructor(data?: TaskFetchDataValues) {\n // omit the msteams property if it exists\n if (data) {\n const { msteams, ...rest } = data;\n Object.assign(this, rest);\n }\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/task-fetch.ts"],"names":[],"mappings":";;AAoBO,MAAM,wBAAwB,YAAA,CAAyC;AAAA;AAAA;AAAA;AAAA,EAI5E,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAA6B,OAAA,GAA+B,EAAC,EAAG;AAC1E,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,GAAG,KAAA;AAAA,MACH,OAAA,EAAS;AAAA,QACP,IAAA,EAAM;AAAA;AACR,KACF;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAiC;AAC3C,IAAA,OAAO,IAAI,eAAA,CAAgB,OAAA,CAAQ,IAAA,EAAM,OAAO,CAAA;AAAA,EAClD;AAAA,EAEA,SAAS,KAAA,EAAoC;AAC3C,IAAA,IAAA,CAAK,IAAA,GAAO,KAAA;AACZ,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAA4B;AACpC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,GAAG,IAAA,CAAK,IAAA,EAAM,GAAG,KAAA,EAAO,OAAA,EAAS,EAAE,IAAA,EAAM,YAAA,EAAa,EAAG,CAAA;AAC1E,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAMO,MAAM,aAAA,CAAqD;AAAA,EAChE,OAAA,GAAU;AAAA,IACR,IAAA,EAAM;AAAA,GACR;AAAA,EAEA,YAAY,IAAA,EAA4B;AAEtC,IAAA,IAAI,IAAA,EAAM;AACR,MAAA,MAAM,EAAE,OAAA,EAAS,GAAG,IAAA,EAAK,GAAI,IAAA;AAC7B,MAAA,MAAA,CAAO,MAAA,CAAO,MAAM,IAAI,CAAA;AAAA,IAC1B;AAAA,EACF;AACF","file":"task-fetch.mjs","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type TaskFetchActionOptions = SubmitActionOptions & { data: MSTeamsData<ITaskFetchData> };\n\nexport type TaskFetchDataValues = {\n [key: string]: any;\n} & {\n /** type is special so we shouldn't allow overriding it */\n type?: never;\n};\n\nexport interface ITaskFetchAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n}\n\nexport class TaskFetchAction extends SubmitAction implements ITaskFetchAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n\n constructor(value?: TaskFetchDataValues, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n ...value,\n msteams: {\n type: 'task/fetch',\n },\n };\n }\n\n static from(options: TaskFetchActionOptions) {\n return new TaskFetchAction(options.data, options);\n }\n\n withData(value: MSTeamsData<ITaskFetchData>) {\n this.data = value;\n return this;\n }\n\n withValue(value: TaskFetchDataValues) {\n super.withData({ ...this.data, ...value, msteams: { type: 'task/fetch' } });\n return this;\n }\n}\n\nexport interface ITaskFetchData {\n type: 'task/fetch';\n}\n\nexport class TaskFetchData implements MSTeamsData<ITaskFetchData> {\n msteams = {\n type: 'task/fetch' as const,\n };\n\n constructor(data?: TaskFetchDataValues) {\n // omit the msteams property if it exists\n if (data) {\n const { msteams, ...rest } = data;\n Object.assign(this, rest);\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/task-fetch.ts"],"names":[],"mappings":";;AA0BO,MAAM,wBAAwB,YAAA,CAAyC;AAAA;AAAA;AAAA;AAAA,EAI5E,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAA6B,OAAA,GAA+B,EAAC,EAAG;AAC1E,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,GAAG,KAAA;AAAA,MACH,OAAA,EAAS;AAAA,QACP,IAAA,EAAM;AAAA;AACR,KACF;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAiC;AAC3C,IAAA,OAAO,IAAI,eAAA,CAAgB,OAAA,CAAQ,IAAA,EAAM,OAAO,CAAA;AAAA,EAClD;AAAA,EAEA,SAAS,KAAA,EAAoC;AAC3C,IAAA,IAAA,CAAK,IAAA,GAAO,KAAA;AACZ,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAA4B;AACpC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,GAAG,IAAA,CAAK,IAAA,EAAM,GAAG,KAAA,EAAO,OAAA,EAAS,EAAE,IAAA,EAAM,YAAA,EAAa,EAAG,CAAA;AAC1E,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAYO,MAAM,aAAA,CAAqD;AAAA,EAChE,OAAA,GAAU;AAAA,IACR,IAAA,EAAM;AAAA,GACR;AAAA,EAEA,YAAY,IAAA,EAA4B;AAEtC,IAAA,IAAI,IAAA,EAAM;AACR,MAAA,MAAM,EAAE,OAAA,EAAS,GAAG,IAAA,EAAK,GAAI,IAAA;AAC7B,MAAA,MAAA,CAAO,MAAA,CAAO,MAAM,IAAI,CAAA;AAAA,IAC1B;AAAA,EACF;AACF","file":"task-fetch.mjs","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type TaskFetchActionOptions = SubmitActionOptions & { data: MSTeamsData<ITaskFetchData> };\n\nexport type TaskFetchDataValues = {\n [key: string]: any;\n} & {\n /** type is special so we shouldn't allow overriding it */\n type?: never;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ITaskFetchAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class TaskFetchAction extends SubmitAction implements ITaskFetchAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n\n constructor(value?: TaskFetchDataValues, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n ...value,\n msteams: {\n type: 'task/fetch',\n },\n };\n }\n\n static from(options: TaskFetchActionOptions) {\n return new TaskFetchAction(options.data, options);\n }\n\n withData(value: MSTeamsData<ITaskFetchData>) {\n this.data = value;\n return this;\n }\n\n withValue(value: TaskFetchDataValues) {\n super.withData({ ...this.data, ...value, msteams: { type: 'task/fetch' } });\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ITaskFetchData {\n type: 'task/fetch';\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class TaskFetchData implements MSTeamsData<ITaskFetchData> {\n msteams = {\n type: 'task/fetch' as const,\n };\n\n constructor(data?: TaskFetchDataValues) {\n // omit the msteams property if it exists\n if (data) {\n const { msteams, ...rest } = data;\n Object.assign(this, rest);\n }\n }\n}\n"]}