@microsoft/teams-js 1.10.1-dev.0 → 1.10.1-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/MicrosoftTeams.js +1 -1
  2. package/dist/MicrosoftTeams.js.map +1 -1
  3. package/dist/MicrosoftTeams.min.js +1 -1
  4. package/dist/microsoftteams.d.ts +2834 -0
  5. package/dts/index.d.ts +2 -0
  6. package/dts/internal/communication.d.ts +23 -0
  7. package/dts/internal/constants.d.ts +42 -0
  8. package/dts/internal/globalVars.d.ts +15 -0
  9. package/dts/internal/handlers.d.ts +10 -0
  10. package/dts/internal/interfaces.d.ts +44 -0
  11. package/dts/internal/internalAPIs.d.ts +12 -0
  12. package/dts/internal/mediaUtil.d.ts +31 -0
  13. package/dts/internal/utils.d.ts +22 -0
  14. package/dts/private/appEntity.d.ts +49 -0
  15. package/dts/private/bot.d.ts +77 -0
  16. package/dts/private/conversations.d.ts +20 -0
  17. package/dts/private/files.d.ts +169 -0
  18. package/dts/private/index.d.ts +10 -0
  19. package/dts/private/interfaces.d.ts +141 -0
  20. package/dts/private/logs.d.ts +17 -0
  21. package/dts/private/meetingRoom.d.ts +157 -0
  22. package/dts/private/menus.d.ts +117 -0
  23. package/dts/private/privateAPIs.d.ts +104 -0
  24. package/dts/private/remoteCamera.d.ts +196 -0
  25. package/dts/public/appInitialization.d.ts +44 -0
  26. package/dts/public/appWindow.d.ts +14 -0
  27. package/dts/public/authentication.d.ts +177 -0
  28. package/dts/public/constants.d.ts +53 -0
  29. package/dts/public/index.d.ts +13 -0
  30. package/dts/public/interfaces.d.ts +557 -0
  31. package/dts/public/location.d.ts +47 -0
  32. package/dts/public/media.d.ts +219 -0
  33. package/dts/public/meeting.d.ts +158 -0
  34. package/dts/public/navigation.d.ts +28 -0
  35. package/dts/public/people.d.ts +53 -0
  36. package/dts/public/publicAPIs.d.ts +117 -0
  37. package/dts/public/settings.d.ts +95 -0
  38. package/dts/public/tasks.d.ts +25 -0
  39. package/package.json +1 -1
  40. package/dist/MicrosoftTeams.d.ts +0 -5
@@ -0,0 +1,25 @@
1
+ import { TaskInfo } from './interfaces';
2
+ import { IAppWindow } from './appWindow';
3
+ /**
4
+ * Namespace to interact with the task module-specific part of the SDK.
5
+ * This object is usable only on the content frame.
6
+ */
7
+ export declare namespace tasks {
8
+ /**
9
+ * Allows an app to open the task module.
10
+ * @param taskInfo An object containing the parameters of the task module
11
+ * @param submitHandler Handler to call when the task module is completed
12
+ */
13
+ function startTask(taskInfo: TaskInfo, submitHandler?: (err: string, result: string) => void): IAppWindow;
14
+ /**
15
+ * Update height/width task info properties.
16
+ * @param taskInfo An object containing width and height properties
17
+ */
18
+ function updateTask(taskInfo: TaskInfo): void;
19
+ /**
20
+ * Submit the task module.
21
+ * @param result Contains the result to be sent to the bot or the app. Typically a JSON object or a serialized version of it
22
+ * @param appIds Helps to validate that the call originates from the same appId as the one that invoked the task module
23
+ */
24
+ function submitTask(result?: string | object, appIds?: string | string[]): void;
25
+ }
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@microsoft/teams-js","author":"Microsoft Teams","version":"1.10.1-dev.0","description":"Microsoft Client SDK for building app for Microsoft teams","main":"./dist/MicrosoftTeams.min.js","typings":"./dist/MicrosoftTeams.d.ts","repository":{"type":"git","url":"https://github.com/OfficeDev/microsoft-teams-library-js"},"scripts":{"build":"yarn lint && webpack","lint":"eslint ./src/**/*.ts","doctor":"yarn lint --fix","prettier":"prettier --write '**/*.{ts,js,css,html}'","test":"jest"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.5","@typescript-eslint/eslint-plugin":"^1.10.2","@typescript-eslint/parser":"^1.10.2","azure-keyvault":"^3.0.4","del":"2.2.2","deploy-azure-cdn":"^2.1.0","dts-builder":"^1.1.6","dts-bundle":"^0.7.3","eslint":"^5.16.0","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.0","fs-jetpack":"^2.2.2","jest":"^23.6.0","merge2":"1.0.2","prettier":"^1.18.2","ts-jest":"^23.10.4","ts-loader":"^5.2.1","tslint":"^5.8.0","tslint-eslint-rules":"^4.1.1","typescript":"^2.5.0","webpack":"^4.20.2","webpack-cli":"^3.1.2","yargs":"^8.0.1"},"files":["dist/**","dts/**","README.md","LICENSE"],"jest":{"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js"]}}
1
+ {"name":"@microsoft/teams-js","author":"Microsoft Teams","version":"1.10.1-dev.1","description":"Microsoft Client SDK for building app for Microsoft teams","main":"./dist/MicrosoftTeams.min.js","typings":"./dist/MicrosoftTeams.d.ts","repository":{"type":"git","url":"https://github.com/OfficeDev/microsoft-teams-library-js"},"scripts":{"build":"yarn lint && webpack","lint":"eslint ./src/**/*.ts","doctor":"yarn lint --fix","prettier":"prettier --write '**/*.{ts,js,css,html}'","test":"jest"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.5","@typescript-eslint/eslint-plugin":"^1.10.2","@typescript-eslint/parser":"^1.10.2","azure-keyvault":"^3.0.4","del":"2.2.2","deploy-azure-cdn":"^2.1.0","dts-builder":"^1.1.6","dts-bundle":"^0.7.3","eslint":"^5.16.0","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.0","fs-jetpack":"^2.2.2","jest":"^23.6.0","merge2":"1.0.2","prettier":"^1.18.2","ts-jest":"^23.10.4","ts-loader":"^5.2.1","tslint":"^5.8.0","tslint-eslint-rules":"^4.1.1","typescript":"^2.5.0","webpack":"^4.20.2","webpack-cli":"^3.1.2","yargs":"^8.0.1"},"files":["dist/**","dts/**","README.md","LICENSE"],"jest":{"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js"]}}