@azure/communication-identity 1.3.2-alpha.20241119.1 → 1.3.2-alpha.20241122.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (256) hide show
  1. package/dist/index.js +684 -0
  2. package/dist/index.js.map +1 -0
  3. package/{dist/esm → dist-esm/src}/communicationIdentityClient.js +3 -3
  4. package/dist-esm/src/communicationIdentityClient.js.map +1 -0
  5. package/{dist/esm → dist-esm/src}/generated/src/identityRestClient.js +1 -1
  6. package/dist-esm/src/generated/src/identityRestClient.js.map +1 -0
  7. package/{dist/esm/generated/src/operations → dist-esm/src/generated/src}/index.js +3 -1
  8. package/dist-esm/src/generated/src/index.js.map +1 -0
  9. package/{dist/esm → dist-esm/src}/generated/src/models/parameters.js +1 -1
  10. package/dist-esm/src/generated/src/models/parameters.js.map +1 -0
  11. package/{dist/browser → dist-esm/src}/generated/src/operations/communicationIdentityOperations.js +3 -3
  12. package/dist-esm/src/generated/src/operations/communicationIdentityOperations.js.map +1 -0
  13. package/{dist/esm/generated/src/operationsInterfaces/communicationIdentityOperations.js → dist-esm/src/generated/src/operations/index.js} +2 -2
  14. package/{dist/esm → dist-esm/src}/generated/src/operations/index.js.map +1 -1
  15. package/dist-esm/src/generated/src/operationsInterfaces/communicationIdentityOperations.js.map +1 -0
  16. package/{dist/react-native/generated/src/operationsInterfaces/communicationIdentityOperations.js → dist-esm/src/generated/src/operationsInterfaces/index.js} +2 -2
  17. package/{dist/react-native → dist-esm/src}/generated/src/operationsInterfaces/index.js.map +1 -1
  18. package/dist-esm/src/index.js +5 -0
  19. package/{dist/react-native → dist-esm/src}/index.js.map +1 -1
  20. package/package.json +48 -68
  21. package/dist/browser/common/logger.d.ts +0 -5
  22. package/dist/browser/common/logger.d.ts.map +0 -1
  23. package/dist/browser/communicationIdentityClient.d.ts +0 -76
  24. package/dist/browser/communicationIdentityClient.d.ts.map +0 -1
  25. package/dist/browser/communicationIdentityClient.js +0 -103
  26. package/dist/browser/communicationIdentityClient.js.map +0 -1
  27. package/dist/browser/constants.d.ts +0 -2
  28. package/dist/browser/constants.d.ts.map +0 -1
  29. package/dist/browser/generated/src/identityRestClient.d.ts +0 -17
  30. package/dist/browser/generated/src/identityRestClient.d.ts.map +0 -1
  31. package/dist/browser/generated/src/identityRestClient.js +0 -69
  32. package/dist/browser/generated/src/identityRestClient.js.map +0 -1
  33. package/dist/browser/generated/src/index.d.ts +0 -4
  34. package/dist/browser/generated/src/index.d.ts.map +0 -1
  35. package/dist/browser/generated/src/index.js +0 -11
  36. package/dist/browser/generated/src/index.js.map +0 -1
  37. package/dist/browser/generated/src/models/index.d.ts +0 -127
  38. package/dist/browser/generated/src/models/index.d.ts.map +0 -1
  39. package/dist/browser/generated/src/models/mappers.d.ts +0 -10
  40. package/dist/browser/generated/src/models/mappers.d.ts.map +0 -1
  41. package/dist/browser/generated/src/models/parameters.d.ts +0 -14
  42. package/dist/browser/generated/src/models/parameters.d.ts.map +0 -1
  43. package/dist/browser/generated/src/models/parameters.js +0 -91
  44. package/dist/browser/generated/src/models/parameters.js.map +0 -1
  45. package/dist/browser/generated/src/operations/communicationIdentityOperations.d.ts +0 -49
  46. package/dist/browser/generated/src/operations/communicationIdentityOperations.d.ts.map +0 -1
  47. package/dist/browser/generated/src/operations/communicationIdentityOperations.js.map +0 -1
  48. package/dist/browser/generated/src/operations/index.d.ts +0 -2
  49. package/dist/browser/generated/src/operations/index.d.ts.map +0 -1
  50. package/dist/browser/generated/src/operations/index.js +0 -9
  51. package/dist/browser/generated/src/operations/index.js.map +0 -1
  52. package/dist/browser/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts +0 -41
  53. package/dist/browser/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts.map +0 -1
  54. package/dist/browser/generated/src/operationsInterfaces/communicationIdentityOperations.js.map +0 -1
  55. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +0 -2
  56. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  57. package/dist/browser/generated/src/operationsInterfaces/index.js +0 -9
  58. package/dist/browser/generated/src/operationsInterfaces/index.js.map +0 -1
  59. package/dist/browser/generated/src/tracing.d.ts +0 -2
  60. package/dist/browser/generated/src/tracing.d.ts.map +0 -1
  61. package/dist/browser/index.d.ts +0 -3
  62. package/dist/browser/index.d.ts.map +0 -1
  63. package/dist/browser/index.js +0 -5
  64. package/dist/browser/index.js.map +0 -1
  65. package/dist/browser/models.d.ts +0 -65
  66. package/dist/browser/models.d.ts.map +0 -1
  67. package/dist/browser/package.json +0 -3
  68. package/dist/commonjs/common/logger.d.ts +0 -5
  69. package/dist/commonjs/common/logger.d.ts.map +0 -1
  70. package/dist/commonjs/common/logger.js +0 -11
  71. package/dist/commonjs/common/logger.js.map +0 -1
  72. package/dist/commonjs/communicationIdentityClient.d.ts +0 -76
  73. package/dist/commonjs/communicationIdentityClient.d.ts.map +0 -1
  74. package/dist/commonjs/communicationIdentityClient.js +0 -107
  75. package/dist/commonjs/communicationIdentityClient.js.map +0 -1
  76. package/dist/commonjs/constants.d.ts +0 -2
  77. package/dist/commonjs/constants.d.ts.map +0 -1
  78. package/dist/commonjs/constants.js +0 -7
  79. package/dist/commonjs/constants.js.map +0 -1
  80. package/dist/commonjs/generated/src/identityRestClient.d.ts +0 -17
  81. package/dist/commonjs/generated/src/identityRestClient.d.ts.map +0 -1
  82. package/dist/commonjs/generated/src/identityRestClient.js +0 -74
  83. package/dist/commonjs/generated/src/identityRestClient.js.map +0 -1
  84. package/dist/commonjs/generated/src/index.d.ts +0 -4
  85. package/dist/commonjs/generated/src/index.d.ts.map +0 -1
  86. package/dist/commonjs/generated/src/index.js +0 -16
  87. package/dist/commonjs/generated/src/index.js.map +0 -1
  88. package/dist/commonjs/generated/src/models/index.d.ts +0 -127
  89. package/dist/commonjs/generated/src/models/index.d.ts.map +0 -1
  90. package/dist/commonjs/generated/src/models/index.js +0 -25
  91. package/dist/commonjs/generated/src/models/index.js.map +0 -1
  92. package/dist/commonjs/generated/src/models/mappers.d.ts +0 -10
  93. package/dist/commonjs/generated/src/models/mappers.d.ts.map +0 -1
  94. package/dist/commonjs/generated/src/models/mappers.js +0 -224
  95. package/dist/commonjs/generated/src/models/mappers.js.map +0 -1
  96. package/dist/commonjs/generated/src/models/parameters.d.ts +0 -14
  97. package/dist/commonjs/generated/src/models/parameters.d.ts.map +0 -1
  98. package/dist/commonjs/generated/src/models/parameters.js +0 -94
  99. package/dist/commonjs/generated/src/models/parameters.js.map +0 -1
  100. package/dist/commonjs/generated/src/operations/communicationIdentityOperations.d.ts +0 -49
  101. package/dist/commonjs/generated/src/operations/communicationIdentityOperations.d.ts.map +0 -1
  102. package/dist/commonjs/generated/src/operations/communicationIdentityOperations.js +0 -182
  103. package/dist/commonjs/generated/src/operations/communicationIdentityOperations.js.map +0 -1
  104. package/dist/commonjs/generated/src/operations/index.d.ts +0 -2
  105. package/dist/commonjs/generated/src/operations/index.d.ts.map +0 -1
  106. package/dist/commonjs/generated/src/operations/index.js +0 -12
  107. package/dist/commonjs/generated/src/operations/index.js.map +0 -1
  108. package/dist/commonjs/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts +0 -41
  109. package/dist/commonjs/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts.map +0 -1
  110. package/dist/commonjs/generated/src/operationsInterfaces/communicationIdentityOperations.js +0 -10
  111. package/dist/commonjs/generated/src/operationsInterfaces/communicationIdentityOperations.js.map +0 -1
  112. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +0 -2
  113. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  114. package/dist/commonjs/generated/src/operationsInterfaces/index.js +0 -12
  115. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +0 -1
  116. package/dist/commonjs/generated/src/tracing.d.ts +0 -2
  117. package/dist/commonjs/generated/src/tracing.d.ts.map +0 -1
  118. package/dist/commonjs/generated/src/tracing.js +0 -17
  119. package/dist/commonjs/generated/src/tracing.js.map +0 -1
  120. package/dist/commonjs/index.d.ts +0 -3
  121. package/dist/commonjs/index.d.ts.map +0 -1
  122. package/dist/commonjs/index.js +0 -8
  123. package/dist/commonjs/index.js.map +0 -1
  124. package/dist/commonjs/models.d.ts +0 -65
  125. package/dist/commonjs/models.d.ts.map +0 -1
  126. package/dist/commonjs/models.js +0 -5
  127. package/dist/commonjs/models.js.map +0 -1
  128. package/dist/commonjs/package.json +0 -3
  129. package/dist/commonjs/tsdoc-metadata.json +0 -11
  130. package/dist/esm/common/logger.d.ts +0 -5
  131. package/dist/esm/common/logger.d.ts.map +0 -1
  132. package/dist/esm/common/logger.js +0 -8
  133. package/dist/esm/common/logger.js.map +0 -1
  134. package/dist/esm/communicationIdentityClient.d.ts +0 -76
  135. package/dist/esm/communicationIdentityClient.d.ts.map +0 -1
  136. package/dist/esm/communicationIdentityClient.js.map +0 -1
  137. package/dist/esm/constants.d.ts +0 -2
  138. package/dist/esm/constants.d.ts.map +0 -1
  139. package/dist/esm/constants.js +0 -4
  140. package/dist/esm/constants.js.map +0 -1
  141. package/dist/esm/generated/src/identityRestClient.d.ts +0 -17
  142. package/dist/esm/generated/src/identityRestClient.d.ts.map +0 -1
  143. package/dist/esm/generated/src/identityRestClient.js.map +0 -1
  144. package/dist/esm/generated/src/index.d.ts +0 -4
  145. package/dist/esm/generated/src/index.d.ts.map +0 -1
  146. package/dist/esm/generated/src/index.js +0 -11
  147. package/dist/esm/generated/src/index.js.map +0 -1
  148. package/dist/esm/generated/src/models/index.d.ts +0 -127
  149. package/dist/esm/generated/src/models/index.d.ts.map +0 -1
  150. package/dist/esm/generated/src/models/index.js +0 -22
  151. package/dist/esm/generated/src/models/index.js.map +0 -1
  152. package/dist/esm/generated/src/models/mappers.d.ts +0 -10
  153. package/dist/esm/generated/src/models/mappers.d.ts.map +0 -1
  154. package/dist/esm/generated/src/models/mappers.js +0 -221
  155. package/dist/esm/generated/src/models/mappers.js.map +0 -1
  156. package/dist/esm/generated/src/models/parameters.d.ts +0 -14
  157. package/dist/esm/generated/src/models/parameters.d.ts.map +0 -1
  158. package/dist/esm/generated/src/models/parameters.js.map +0 -1
  159. package/dist/esm/generated/src/operations/communicationIdentityOperations.d.ts +0 -49
  160. package/dist/esm/generated/src/operations/communicationIdentityOperations.d.ts.map +0 -1
  161. package/dist/esm/generated/src/operations/communicationIdentityOperations.js +0 -177
  162. package/dist/esm/generated/src/operations/communicationIdentityOperations.js.map +0 -1
  163. package/dist/esm/generated/src/operations/index.d.ts +0 -2
  164. package/dist/esm/generated/src/operations/index.d.ts.map +0 -1
  165. package/dist/esm/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts +0 -41
  166. package/dist/esm/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts.map +0 -1
  167. package/dist/esm/generated/src/operationsInterfaces/communicationIdentityOperations.js.map +0 -1
  168. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +0 -2
  169. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  170. package/dist/esm/generated/src/operationsInterfaces/index.js +0 -9
  171. package/dist/esm/generated/src/operationsInterfaces/index.js.map +0 -1
  172. package/dist/esm/generated/src/tracing.d.ts +0 -2
  173. package/dist/esm/generated/src/tracing.d.ts.map +0 -1
  174. package/dist/esm/generated/src/tracing.js +0 -14
  175. package/dist/esm/generated/src/tracing.js.map +0 -1
  176. package/dist/esm/index.d.ts +0 -3
  177. package/dist/esm/index.d.ts.map +0 -1
  178. package/dist/esm/index.js +0 -5
  179. package/dist/esm/index.js.map +0 -1
  180. package/dist/esm/models.d.ts +0 -65
  181. package/dist/esm/models.d.ts.map +0 -1
  182. package/dist/esm/models.js +0 -4
  183. package/dist/esm/models.js.map +0 -1
  184. package/dist/esm/package.json +0 -3
  185. package/dist/react-native/common/logger.d.ts +0 -5
  186. package/dist/react-native/common/logger.d.ts.map +0 -1
  187. package/dist/react-native/common/logger.js +0 -8
  188. package/dist/react-native/common/logger.js.map +0 -1
  189. package/dist/react-native/communicationIdentityClient.d.ts +0 -76
  190. package/dist/react-native/communicationIdentityClient.d.ts.map +0 -1
  191. package/dist/react-native/communicationIdentityClient.js +0 -103
  192. package/dist/react-native/communicationIdentityClient.js.map +0 -1
  193. package/dist/react-native/constants.d.ts +0 -2
  194. package/dist/react-native/constants.d.ts.map +0 -1
  195. package/dist/react-native/constants.js +0 -4
  196. package/dist/react-native/constants.js.map +0 -1
  197. package/dist/react-native/generated/src/identityRestClient.d.ts +0 -17
  198. package/dist/react-native/generated/src/identityRestClient.d.ts.map +0 -1
  199. package/dist/react-native/generated/src/identityRestClient.js +0 -69
  200. package/dist/react-native/generated/src/identityRestClient.js.map +0 -1
  201. package/dist/react-native/generated/src/index.d.ts +0 -4
  202. package/dist/react-native/generated/src/index.d.ts.map +0 -1
  203. package/dist/react-native/generated/src/index.js +0 -11
  204. package/dist/react-native/generated/src/index.js.map +0 -1
  205. package/dist/react-native/generated/src/models/index.d.ts +0 -127
  206. package/dist/react-native/generated/src/models/index.d.ts.map +0 -1
  207. package/dist/react-native/generated/src/models/index.js +0 -22
  208. package/dist/react-native/generated/src/models/index.js.map +0 -1
  209. package/dist/react-native/generated/src/models/mappers.d.ts +0 -10
  210. package/dist/react-native/generated/src/models/mappers.d.ts.map +0 -1
  211. package/dist/react-native/generated/src/models/mappers.js +0 -221
  212. package/dist/react-native/generated/src/models/mappers.js.map +0 -1
  213. package/dist/react-native/generated/src/models/parameters.d.ts +0 -14
  214. package/dist/react-native/generated/src/models/parameters.d.ts.map +0 -1
  215. package/dist/react-native/generated/src/models/parameters.js +0 -91
  216. package/dist/react-native/generated/src/models/parameters.js.map +0 -1
  217. package/dist/react-native/generated/src/operations/communicationIdentityOperations.d.ts +0 -49
  218. package/dist/react-native/generated/src/operations/communicationIdentityOperations.d.ts.map +0 -1
  219. package/dist/react-native/generated/src/operations/communicationIdentityOperations.js +0 -177
  220. package/dist/react-native/generated/src/operations/communicationIdentityOperations.js.map +0 -1
  221. package/dist/react-native/generated/src/operations/index.d.ts +0 -2
  222. package/dist/react-native/generated/src/operations/index.d.ts.map +0 -1
  223. package/dist/react-native/generated/src/operations/index.js +0 -9
  224. package/dist/react-native/generated/src/operations/index.js.map +0 -1
  225. package/dist/react-native/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts +0 -41
  226. package/dist/react-native/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts.map +0 -1
  227. package/dist/react-native/generated/src/operationsInterfaces/communicationIdentityOperations.js.map +0 -1
  228. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +0 -2
  229. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  230. package/dist/react-native/generated/src/operationsInterfaces/index.js +0 -9
  231. package/dist/react-native/generated/src/tracing.d.ts +0 -2
  232. package/dist/react-native/generated/src/tracing.d.ts.map +0 -1
  233. package/dist/react-native/generated/src/tracing.js +0 -14
  234. package/dist/react-native/generated/src/tracing.js.map +0 -1
  235. package/dist/react-native/index.d.ts +0 -3
  236. package/dist/react-native/index.d.ts.map +0 -1
  237. package/dist/react-native/index.js +0 -5
  238. package/dist/react-native/models.d.ts +0 -65
  239. package/dist/react-native/models.d.ts.map +0 -1
  240. package/dist/react-native/models.js +0 -4
  241. package/dist/react-native/models.js.map +0 -1
  242. package/dist/react-native/package.json +0 -3
  243. /package/{dist/browser → dist-esm/src}/common/logger.js +0 -0
  244. /package/{dist/browser → dist-esm/src}/common/logger.js.map +0 -0
  245. /package/{dist/browser → dist-esm/src}/constants.js +0 -0
  246. /package/{dist/browser → dist-esm/src}/constants.js.map +0 -0
  247. /package/{dist/browser → dist-esm/src}/generated/src/models/index.js +0 -0
  248. /package/{dist/browser → dist-esm/src}/generated/src/models/index.js.map +0 -0
  249. /package/{dist/browser → dist-esm/src}/generated/src/models/mappers.js +0 -0
  250. /package/{dist/browser → dist-esm/src}/generated/src/models/mappers.js.map +0 -0
  251. /package/{dist/browser → dist-esm/src}/generated/src/operationsInterfaces/communicationIdentityOperations.js +0 -0
  252. /package/{dist/browser → dist-esm/src}/generated/src/tracing.js +0 -0
  253. /package/{dist/browser → dist-esm/src}/generated/src/tracing.js.map +0 -0
  254. /package/{dist/browser → dist-esm/src}/models.js +0 -0
  255. /package/{dist/browser → dist-esm/src}/models.js.map +0 -0
  256. /package/{dist → types}/communication-identity.d.ts +0 -0
@@ -1,177 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { tracingClient } from "../tracing.js";
9
- import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers.js";
11
- import * as Parameters from "../models/parameters.js";
12
- /** Class containing CommunicationIdentityOperations operations. */
13
- export class CommunicationIdentityOperationsImpl {
14
- /**
15
- * Initialize a new instance of the class CommunicationIdentityOperations class.
16
- * @param client Reference to the service client
17
- */
18
- constructor(client) {
19
- this.client = client;
20
- }
21
- /**
22
- * Create a new identity, and optionally, an access token.
23
- * @param options The options parameters.
24
- */
25
- async create(options) {
26
- return tracingClient.withSpan("IdentityRestClient.create", options !== null && options !== void 0 ? options : {}, async (options) => {
27
- return this.client.sendOperationRequest({ options }, createOperationSpec);
28
- });
29
- }
30
- /**
31
- * Delete the identity, revoke all tokens for the identity and delete all associated data.
32
- * @param id Identifier of the identity to be deleted.
33
- * @param options The options parameters.
34
- */
35
- async delete(id, options) {
36
- return tracingClient.withSpan("IdentityRestClient.delete", options !== null && options !== void 0 ? options : {}, async (options) => {
37
- return this.client.sendOperationRequest({ id, options }, deleteOperationSpec);
38
- });
39
- }
40
- /**
41
- * Revoke all access tokens for the specific identity.
42
- * @param id Identifier of the identity.
43
- * @param options The options parameters.
44
- */
45
- async revokeAccessTokens(id, options) {
46
- return tracingClient.withSpan("IdentityRestClient.revokeAccessTokens", options !== null && options !== void 0 ? options : {}, async (options) => {
47
- return this.client.sendOperationRequest({ id, options }, revokeAccessTokensOperationSpec);
48
- });
49
- }
50
- /**
51
- * Exchange an Azure Active Directory (Azure AD) access token of a Teams user for a new Communication
52
- * Identity access token with a matching expiration time.
53
- * @param token Azure AD access token of a Teams User to acquire a new Communication Identity access
54
- * token.
55
- * @param appId Client ID of an Azure AD application to be verified against the appid claim in the
56
- * Azure AD access token.
57
- * @param userId Object ID of an Azure AD user (Teams User) to be verified against the oid claim in the
58
- * Azure AD access token.
59
- * @param options The options parameters.
60
- */
61
- async exchangeTeamsUserAccessToken(token, appId, userId, options) {
62
- return tracingClient.withSpan("IdentityRestClient.exchangeTeamsUserAccessToken", options !== null && options !== void 0 ? options : {}, async (options) => {
63
- return this.client.sendOperationRequest({ token, appId, userId, options }, exchangeTeamsUserAccessTokenOperationSpec);
64
- });
65
- }
66
- /**
67
- * Issue a new token for an identity.
68
- * @param id Identifier of the identity to issue token for.
69
- * @param scopes List of scopes attached to the token.
70
- * @param options The options parameters.
71
- */
72
- async issueAccessToken(id, scopes, options) {
73
- return tracingClient.withSpan("IdentityRestClient.issueAccessToken", options !== null && options !== void 0 ? options : {}, async (options) => {
74
- return this.client.sendOperationRequest({ id, scopes, options }, issueAccessTokenOperationSpec);
75
- });
76
- }
77
- }
78
- // Operation Specifications
79
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
80
- const createOperationSpec = {
81
- path: "/identities",
82
- httpMethod: "POST",
83
- responses: {
84
- 201: {
85
- bodyMapper: Mappers.CommunicationIdentityAccessTokenResult
86
- },
87
- default: {
88
- bodyMapper: Mappers.CommunicationErrorResponse
89
- }
90
- },
91
- requestBody: {
92
- parameterPath: {
93
- createTokenWithScopes: ["options", "createTokenWithScopes"],
94
- expiresInMinutes: ["options", "expiresInMinutes"]
95
- },
96
- mapper: Mappers.CommunicationIdentityCreateRequest
97
- },
98
- queryParameters: [Parameters.apiVersion],
99
- urlParameters: [Parameters.endpoint],
100
- headerParameters: [Parameters.contentType, Parameters.accept],
101
- mediaType: "json",
102
- serializer
103
- };
104
- const deleteOperationSpec = {
105
- path: "/identities/{id}",
106
- httpMethod: "DELETE",
107
- responses: {
108
- 204: {},
109
- default: {
110
- bodyMapper: Mappers.CommunicationErrorResponse
111
- }
112
- },
113
- queryParameters: [Parameters.apiVersion],
114
- urlParameters: [Parameters.endpoint, Parameters.id],
115
- headerParameters: [Parameters.accept],
116
- serializer
117
- };
118
- const revokeAccessTokensOperationSpec = {
119
- path: "/identities/{id}/:revokeAccessTokens",
120
- httpMethod: "POST",
121
- responses: {
122
- 204: {},
123
- default: {
124
- bodyMapper: Mappers.CommunicationErrorResponse
125
- }
126
- },
127
- queryParameters: [Parameters.apiVersion],
128
- urlParameters: [Parameters.endpoint, Parameters.id],
129
- headerParameters: [Parameters.accept],
130
- serializer
131
- };
132
- const exchangeTeamsUserAccessTokenOperationSpec = {
133
- path: "/teamsUser/:exchangeAccessToken",
134
- httpMethod: "POST",
135
- responses: {
136
- 200: {
137
- bodyMapper: Mappers.CommunicationIdentityAccessToken
138
- },
139
- default: {
140
- bodyMapper: Mappers.CommunicationErrorResponse
141
- }
142
- },
143
- requestBody: {
144
- parameterPath: { token: ["token"], appId: ["appId"], userId: ["userId"] },
145
- mapper: Object.assign(Object.assign({}, Mappers.TeamsUserExchangeTokenRequest), { required: true })
146
- },
147
- queryParameters: [Parameters.apiVersion],
148
- urlParameters: [Parameters.endpoint],
149
- headerParameters: [Parameters.contentType, Parameters.accept],
150
- mediaType: "json",
151
- serializer
152
- };
153
- const issueAccessTokenOperationSpec = {
154
- path: "/identities/{id}/:issueAccessToken",
155
- httpMethod: "POST",
156
- responses: {
157
- 200: {
158
- bodyMapper: Mappers.CommunicationIdentityAccessToken
159
- },
160
- default: {
161
- bodyMapper: Mappers.CommunicationErrorResponse
162
- }
163
- },
164
- requestBody: {
165
- parameterPath: {
166
- scopes: ["scopes"],
167
- expiresInMinutes: ["options", "expiresInMinutes"]
168
- },
169
- mapper: Object.assign(Object.assign({}, Mappers.CommunicationIdentityAccessTokenRequest), { required: true })
170
- },
171
- queryParameters: [Parameters.apiVersion],
172
- urlParameters: [Parameters.endpoint, Parameters.id],
173
- headerParameters: [Parameters.contentType, Parameters.accept],
174
- mediaType: "json",
175
- serializer
176
- };
177
- //# sourceMappingURL=communicationIdentityOperations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"communicationIdentityOperations.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/communicationIdentityOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AActD,mEAAmE;AACnE,MAAM,OAAO,mCAAmC;IAI9C;;;OAGG;IACH,YAAY,MAA0B;QACpC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,MAAM,CACV,OAAmD;QAEnD,OAAO,aAAa,CAAC,QAAQ,CAC3B,2BAA2B,EAC3B,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,EACb,KAAK,EAAE,OAAO,EAAE,EAAE;YAChB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,mBAAmB,CAC4B,CAAC;QACpD,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,MAAM,CACV,EAAU,EACV,OAAmD;QAEnD,OAAO,aAAa,CAAC,QAAQ,CAC3B,2BAA2B,EAC3B,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,EACb,KAAK,EAAE,OAAO,EAAE,EAAE;YAChB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,EAAE,EAAE,OAAO,EAAE,EACf,mBAAmB,CACH,CAAC;QACrB,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,kBAAkB,CACtB,EAAU,EACV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AAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,EAAE,CAAC;IACnD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { tracingClient } from \"../tracing.js\";\nimport { CommunicationIdentityOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { IdentityRestClient } from \"../identityRestClient.js\";\nimport {\n CommunicationIdentityCreateOptionalParams,\n CommunicationIdentityCreateResponse,\n CommunicationIdentityDeleteOptionalParams,\n CommunicationIdentityRevokeAccessTokensOptionalParams,\n CommunicationIdentityExchangeTeamsUserAccessTokenOptionalParams,\n CommunicationIdentityExchangeTeamsUserAccessTokenResponse,\n CommunicationIdentityTokenScope,\n CommunicationIdentityIssueAccessTokenOptionalParams,\n CommunicationIdentityIssueAccessTokenResponse\n} from \"../models/index.js\";\n\n/** Class containing CommunicationIdentityOperations operations. */\nexport class CommunicationIdentityOperationsImpl\n implements CommunicationIdentityOperations {\n private readonly client: IdentityRestClient;\n\n /**\n * Initialize a new instance of the class CommunicationIdentityOperations class.\n * @param client Reference to the service client\n */\n constructor(client: IdentityRestClient) {\n this.client = client;\n }\n\n /**\n * Create a new identity, and optionally, an access token.\n * @param options The options parameters.\n */\n async create(\n options?: CommunicationIdentityCreateOptionalParams\n ): Promise<CommunicationIdentityCreateResponse> {\n return tracingClient.withSpan(\n \"IdentityRestClient.create\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n createOperationSpec\n ) as Promise<CommunicationIdentityCreateResponse>;\n }\n );\n }\n\n /**\n * Delete the identity, revoke all tokens for the identity and delete all associated data.\n * @param id Identifier of the identity to be deleted.\n * @param options The options parameters.\n */\n async delete(\n id: string,\n options?: CommunicationIdentityDeleteOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"IdentityRestClient.delete\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { id, options },\n deleteOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Revoke all access tokens for the specific identity.\n * @param id Identifier of the identity.\n * @param options The options parameters.\n */\n async revokeAccessTokens(\n id: string,\n options?: CommunicationIdentityRevokeAccessTokensOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"IdentityRestClient.revokeAccessTokens\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { id, options },\n revokeAccessTokensOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Exchange an Azure Active Directory (Azure AD) access token of a Teams user for a new Communication\n * Identity access token with a matching expiration time.\n * @param token Azure AD access token of a Teams User to acquire a new Communication Identity access\n * token.\n * @param appId Client ID of an Azure AD application to be verified against the appid claim in the\n * Azure AD access token.\n * @param userId Object ID of an Azure AD user (Teams User) to be verified against the oid claim in the\n * Azure AD access token.\n * @param options The options parameters.\n */\n async exchangeTeamsUserAccessToken(\n token: string,\n appId: string,\n userId: string,\n options?: CommunicationIdentityExchangeTeamsUserAccessTokenOptionalParams\n ): Promise<CommunicationIdentityExchangeTeamsUserAccessTokenResponse> {\n return tracingClient.withSpan(\n \"IdentityRestClient.exchangeTeamsUserAccessToken\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { token, appId, userId, options },\n exchangeTeamsUserAccessTokenOperationSpec\n ) as Promise<CommunicationIdentityExchangeTeamsUserAccessTokenResponse>;\n }\n );\n }\n\n /**\n * Issue a new token for an identity.\n * @param id Identifier of the identity to issue token for.\n * @param scopes List of scopes attached to the token.\n * @param options The options parameters.\n */\n async issueAccessToken(\n id: string,\n scopes: CommunicationIdentityTokenScope[],\n options?: CommunicationIdentityIssueAccessTokenOptionalParams\n ): Promise<CommunicationIdentityIssueAccessTokenResponse> {\n return tracingClient.withSpan(\n \"IdentityRestClient.issueAccessToken\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { id, scopes, options },\n issueAccessTokenOperationSpec\n ) as Promise<CommunicationIdentityIssueAccessTokenResponse>;\n }\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/identities\",\n httpMethod: \"POST\",\n responses: {\n 201: {\n bodyMapper: Mappers.CommunicationIdentityAccessTokenResult\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: {\n parameterPath: {\n createTokenWithScopes: [\"options\", \"createTokenWithScopes\"],\n expiresInMinutes: [\"options\", \"expiresInMinutes\"]\n },\n mapper: Mappers.CommunicationIdentityCreateRequest\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/identities/{id}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.id],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst revokeAccessTokensOperationSpec: coreClient.OperationSpec = {\n path: \"/identities/{id}/:revokeAccessTokens\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.id],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst exchangeTeamsUserAccessTokenOperationSpec: coreClient.OperationSpec = {\n path: \"/teamsUser/:exchangeAccessToken\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationIdentityAccessToken\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: {\n parameterPath: { token: [\"token\"], appId: [\"appId\"], userId: [\"userId\"] },\n mapper: { ...Mappers.TeamsUserExchangeTokenRequest, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst issueAccessTokenOperationSpec: coreClient.OperationSpec = {\n path: \"/identities/{id}/:issueAccessToken\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationIdentityAccessToken\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: {\n parameterPath: {\n scopes: [\"scopes\"],\n expiresInMinutes: [\"options\", \"expiresInMinutes\"]\n },\n mapper: {\n ...Mappers.CommunicationIdentityAccessTokenRequest,\n required: true\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.id],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\n"]}
@@ -1,2 +0,0 @@
1
- export * from "./communicationIdentityOperations.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,sCAAsC,CAAC"}
@@ -1,41 +0,0 @@
1
- import { CommunicationIdentityCreateOptionalParams, CommunicationIdentityCreateResponse, CommunicationIdentityDeleteOptionalParams, CommunicationIdentityRevokeAccessTokensOptionalParams, CommunicationIdentityExchangeTeamsUserAccessTokenOptionalParams, CommunicationIdentityExchangeTeamsUserAccessTokenResponse, CommunicationIdentityTokenScope, CommunicationIdentityIssueAccessTokenOptionalParams, CommunicationIdentityIssueAccessTokenResponse } from "../models/index.js";
2
- /** Interface representing a CommunicationIdentityOperations. */
3
- export interface CommunicationIdentityOperations {
4
- /**
5
- * Create a new identity, and optionally, an access token.
6
- * @param options The options parameters.
7
- */
8
- create(options?: CommunicationIdentityCreateOptionalParams): Promise<CommunicationIdentityCreateResponse>;
9
- /**
10
- * Delete the identity, revoke all tokens for the identity and delete all associated data.
11
- * @param id Identifier of the identity to be deleted.
12
- * @param options The options parameters.
13
- */
14
- delete(id: string, options?: CommunicationIdentityDeleteOptionalParams): Promise<void>;
15
- /**
16
- * Revoke all access tokens for the specific identity.
17
- * @param id Identifier of the identity.
18
- * @param options The options parameters.
19
- */
20
- revokeAccessTokens(id: string, options?: CommunicationIdentityRevokeAccessTokensOptionalParams): Promise<void>;
21
- /**
22
- * Exchange an Azure Active Directory (Azure AD) access token of a Teams user for a new Communication
23
- * Identity access token with a matching expiration time.
24
- * @param token Azure AD access token of a Teams User to acquire a new Communication Identity access
25
- * token.
26
- * @param appId Client ID of an Azure AD application to be verified against the appid claim in the
27
- * Azure AD access token.
28
- * @param userId Object ID of an Azure AD user (Teams User) to be verified against the oid claim in the
29
- * Azure AD access token.
30
- * @param options The options parameters.
31
- */
32
- exchangeTeamsUserAccessToken(token: string, appId: string, userId: string, options?: CommunicationIdentityExchangeTeamsUserAccessTokenOptionalParams): Promise<CommunicationIdentityExchangeTeamsUserAccessTokenResponse>;
33
- /**
34
- * Issue a new token for an identity.
35
- * @param id Identifier of the identity to issue token for.
36
- * @param scopes List of scopes attached to the token.
37
- * @param options The options parameters.
38
- */
39
- issueAccessToken(id: string, scopes: CommunicationIdentityTokenScope[], options?: CommunicationIdentityIssueAccessTokenOptionalParams): Promise<CommunicationIdentityIssueAccessTokenResponse>;
40
- }
41
- //# sourceMappingURL=communicationIdentityOperations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"communicationIdentityOperations.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/communicationIdentityOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,yCAAyC,EACzC,mCAAmC,EACnC,yCAAyC,EACzC,qDAAqD,EACrD,+DAA+D,EAC/D,yDAAyD,EACzD,+BAA+B,EAC/B,mDAAmD,EACnD,6CAA6C,EAC9C,MAAM,oBAAoB,CAAC;AAE5B,gEAAgE;AAChE,MAAM,WAAW,+BAA+B;IAC9C;;;OAGG;IACH,MAAM,CACJ,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;OAIG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;OAIG;IACH,kBAAkB,CAChB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;;;OAUG;IACH,4BAA4B,CAC1B,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,+DAA+D,GACxE,OAAO,CAAC,yDAAyD,CAAC,CAAC;IACtE;;;;;OAKG;IACH,gBAAgB,CACd,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,+BAA+B,EAAE,EACzC,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC,CAAC;CAC3D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"communicationIdentityOperations.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/communicationIdentityOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n CommunicationIdentityCreateOptionalParams,\n CommunicationIdentityCreateResponse,\n CommunicationIdentityDeleteOptionalParams,\n CommunicationIdentityRevokeAccessTokensOptionalParams,\n CommunicationIdentityExchangeTeamsUserAccessTokenOptionalParams,\n CommunicationIdentityExchangeTeamsUserAccessTokenResponse,\n CommunicationIdentityTokenScope,\n CommunicationIdentityIssueAccessTokenOptionalParams,\n CommunicationIdentityIssueAccessTokenResponse\n} from \"../models/index.js\";\n\n/** Interface representing a CommunicationIdentityOperations. */\nexport interface CommunicationIdentityOperations {\n /**\n * Create a new identity, and optionally, an access token.\n * @param options The options parameters.\n */\n create(\n options?: CommunicationIdentityCreateOptionalParams\n ): Promise<CommunicationIdentityCreateResponse>;\n /**\n * Delete the identity, revoke all tokens for the identity and delete all associated data.\n * @param id Identifier of the identity to be deleted.\n * @param options The options parameters.\n */\n delete(\n id: string,\n options?: CommunicationIdentityDeleteOptionalParams\n ): Promise<void>;\n /**\n * Revoke all access tokens for the specific identity.\n * @param id Identifier of the identity.\n * @param options The options parameters.\n */\n revokeAccessTokens(\n id: string,\n options?: CommunicationIdentityRevokeAccessTokensOptionalParams\n ): Promise<void>;\n /**\n * Exchange an Azure Active Directory (Azure AD) access token of a Teams user for a new Communication\n * Identity access token with a matching expiration time.\n * @param token Azure AD access token of a Teams User to acquire a new Communication Identity access\n * token.\n * @param appId Client ID of an Azure AD application to be verified against the appid claim in the\n * Azure AD access token.\n * @param userId Object ID of an Azure AD user (Teams User) to be verified against the oid claim in the\n * Azure AD access token.\n * @param options The options parameters.\n */\n exchangeTeamsUserAccessToken(\n token: string,\n appId: string,\n userId: string,\n options?: CommunicationIdentityExchangeTeamsUserAccessTokenOptionalParams\n ): Promise<CommunicationIdentityExchangeTeamsUserAccessTokenResponse>;\n /**\n * Issue a new token for an identity.\n * @param id Identifier of the identity to issue token for.\n * @param scopes List of scopes attached to the token.\n * @param options The options parameters.\n */\n issueAccessToken(\n id: string,\n scopes: CommunicationIdentityTokenScope[],\n options?: CommunicationIdentityIssueAccessTokenOptionalParams\n ): Promise<CommunicationIdentityIssueAccessTokenResponse>;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export * from "./communicationIdentityOperations.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,sCAAsC,CAAC"}
@@ -1,9 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- export * from "./communicationIdentityOperations.js";
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,sCAAsC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./communicationIdentityOperations.js\";\n"]}
@@ -1,2 +0,0 @@
1
- export declare const tracingClient: import("@azure/core-tracing").TracingClient;
2
- //# sourceMappingURL=tracing.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tracing.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/tracing.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,aAAa,6CAIxB,CAAC"}
@@ -1,14 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { createTracingClient } from "@azure/core-tracing";
9
- export const tracingClient = createTracingClient({
10
- namespace: "Microsoft.Communication",
11
- packageName: "@azure/communication-identity",
12
- packageVersion: "1.3.2"
13
- });
14
- //# sourceMappingURL=tracing.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../../../src/generated/src/tracing.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC;IAC/C,SAAS,EAAE,yBAAyB;IACpC,WAAW,EAAE,+BAA+B;IAC5C,cAAc,EAAE,OAAO;CACxB,CAAC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { createTracingClient } from \"@azure/core-tracing\";\n\nexport const tracingClient = createTracingClient({\n namespace: \"Microsoft.Communication\",\n packageName: \"@azure/communication-identity\",\n packageVersion: \"1.3.2\"\n});\n"]}
@@ -1,3 +0,0 @@
1
- export * from "./communicationIdentityClient.js";
2
- export * from "./models.js";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,kCAAkC,CAAC;AACjD,cAAc,aAAa,CAAC"}
package/dist/esm/index.js DELETED
@@ -1,5 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- export * from "./communicationIdentityClient.js";
4
- export * from "./models.js";
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,kCAAkC,CAAC;AACjD,cAAc,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from \"./communicationIdentityClient.js\";\nexport * from \"./models.js\";\n"]}
@@ -1,65 +0,0 @@
1
- import type { CommonClientOptions, OperationOptions } from "@azure/core-client";
2
- import type { CommunicationUserIdentifier } from "@azure/communication-common";
3
- /**
4
- * Represents the scope of the token.
5
- */
6
- export type TokenScope = "chat" | "voip" | "chat.join" | "chat.join.limited" | "voip.join";
7
- /**
8
- * Client options used to configure the CommunicationIdentity API requests.
9
- */
10
- export interface CommunicationIdentityClientOptions extends CommonClientOptions {
11
- }
12
- /**
13
- * The access token for a user.
14
- */
15
- export interface CommunicationAccessToken {
16
- /**
17
- * The access token issued for the user.
18
- */
19
- token: string;
20
- /**
21
- * The expiry time of the token.
22
- */
23
- expiresOn: Date;
24
- }
25
- /**
26
- * The issued token and the user it was issued for.
27
- */
28
- export interface CommunicationUserToken extends CommunicationAccessToken {
29
- /**
30
- * Represents the user the token was issued for
31
- */
32
- user: CommunicationUserIdentifier;
33
- }
34
- /**
35
- * Options used to exchange an AAD access token of a Teams user for a new Communication Identity access token.
36
- */
37
- export interface GetTokenForTeamsUserOptions extends OperationOptions {
38
- /**
39
- * Azure Active Directory access token of a Teams user.
40
- */
41
- teamsUserAadToken: string;
42
- /**
43
- * Client ID of an Azure AD application to be verified against the appId claim in the Azure AD access token.
44
- */
45
- clientId: string;
46
- /**
47
- * Object ID of an Azure AD user (Teams User) to be verified against the OID claim in the Azure AD access token.
48
- */
49
- userObjectId: string;
50
- }
51
- /**
52
- * Options to create a single user and a token simultaneously.
53
- */
54
- export declare interface CreateUserAndTokenOptions extends OperationOptions {
55
- /** Optional custom validity period of the token within [60,1440] minutes range. If not provided, the default value of 1440 minutes (24 hours) will be used. */
56
- tokenExpiresInMinutes?: number;
57
- }
58
- /**
59
- * Options to create a scoped user token.
60
- */
61
- export declare interface GetTokenOptions extends OperationOptions {
62
- /** Optional custom validity period of the token within [60,1440] minutes range. If not provided, the default value of 1440 minutes (24 hours) will be used. */
63
- tokenExpiresInMinutes?: number;
64
- }
65
- //# sourceMappingURL=models.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAChF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE/E;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,GAAG,mBAAmB,GAAG,WAAW,CAAC;AAE3F;;GAEG;AACH,MAAM,WAAW,kCAAmC,SAAQ,mBAAmB;CAAG;AAElF;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,wBAAwB;IACtE;;OAEG;IACH,IAAI,EAAE,2BAA2B,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,gBAAgB;IACnE;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,yBAA0B,SAAQ,gBAAgB;IACzE,+JAA+J;IAC/J,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,eAAgB,SAAQ,gBAAgB;IAC/D,+JAA+J;IAC/J,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC"}
@@ -1,4 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- export {};
4
- //# sourceMappingURL=models.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CommonClientOptions, OperationOptions } from \"@azure/core-client\";\nimport type { CommunicationUserIdentifier } from \"@azure/communication-common\";\n\n/**\n * Represents the scope of the token.\n */\nexport type TokenScope = \"chat\" | \"voip\" | \"chat.join\" | \"chat.join.limited\" | \"voip.join\";\n\n/**\n * Client options used to configure the CommunicationIdentity API requests.\n */\nexport interface CommunicationIdentityClientOptions extends CommonClientOptions {}\n\n/**\n * The access token for a user.\n */\nexport interface CommunicationAccessToken {\n /**\n * The access token issued for the user.\n */\n token: string;\n /**\n * The expiry time of the token.\n */\n expiresOn: Date;\n}\n\n/**\n * The issued token and the user it was issued for.\n */\nexport interface CommunicationUserToken extends CommunicationAccessToken {\n /**\n * Represents the user the token was issued for\n */\n user: CommunicationUserIdentifier;\n}\n\n/**\n * Options used to exchange an AAD access token of a Teams user for a new Communication Identity access token.\n */\nexport interface GetTokenForTeamsUserOptions extends OperationOptions {\n /**\n * Azure Active Directory access token of a Teams user.\n */\n teamsUserAadToken: string;\n\n /**\n * Client ID of an Azure AD application to be verified against the appId claim in the Azure AD access token.\n */\n clientId: string;\n\n /**\n * Object ID of an Azure AD user (Teams User) to be verified against the OID claim in the Azure AD access token.\n */\n userObjectId: string;\n}\n\n/**\n * Options to create a single user and a token simultaneously.\n */\nexport declare interface CreateUserAndTokenOptions extends OperationOptions {\n /** Optional custom validity period of the token within [60,1440] minutes range. If not provided, the default value of 1440 minutes (24 hours) will be used. */\n tokenExpiresInMinutes?: number;\n}\n\n/**\n * Options to create a scoped user token.\n */\nexport declare interface GetTokenOptions extends OperationOptions {\n /** Optional custom validity period of the token within [60,1440] minutes range. If not provided, the default value of 1440 minutes (24 hours) will be used. */\n tokenExpiresInMinutes?: number;\n}\n"]}
@@ -1,3 +0,0 @@
1
- {
2
- "type": "module"
3
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * The \@azure/logger configuration for this package.
3
- */
4
- export declare const logger: import("@azure/logger").AzureLogger;
5
- //# sourceMappingURL=logger.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/common/logger.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,MAAM,qCAA+C,CAAC"}
@@ -1,8 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- import { createClientLogger } from "@azure/logger";
4
- /**
5
- * The \@azure/logger configuration for this package.
6
- */
7
- export const logger = createClientLogger("communication-identity");
8
- //# sourceMappingURL=logger.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"logger.js","sourceRoot":"","sources":["../../../src/common/logger.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnD;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,wBAAwB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\n\n/**\n * The \\@azure/logger configuration for this package.\n */\nexport const logger = createClientLogger(\"communication-identity\");\n"]}
@@ -1,76 +0,0 @@
1
- import type { CommunicationAccessToken, CommunicationIdentityClientOptions, CommunicationUserToken, GetTokenForTeamsUserOptions, CreateUserAndTokenOptions, GetTokenOptions, TokenScope } from "./models.js";
2
- import type { CommunicationUserIdentifier } from "@azure/communication-common";
3
- import type { OperationOptions } from "@azure/core-client";
4
- import type { KeyCredential, TokenCredential } from "@azure/core-auth";
5
- /**
6
- * Client class for interacting with Azure Communication Services User Token Management.
7
- */
8
- export declare class CommunicationIdentityClient {
9
- /**
10
- * A reference to the auto-generated UserToken HTTP client.
11
- */
12
- private readonly client;
13
- /**
14
- * Initializes a new instance of the CommunicationIdentity class.
15
- * @param connectionString - Connection string to connect to an Azure Communication Service resource.
16
- * Example: "endpoint=https://contoso.eastus.communications.azure.net/;accesskey=secret";
17
- * @param options - Optional. Options to configure the HTTP pipeline.
18
- */
19
- constructor(connectionString: string, options?: CommunicationIdentityClientOptions);
20
- /**
21
- * Initializes a new instance of the CommunicationIdentity class using an Azure KeyCredential.
22
- * @param endpoint - The endpoint of the service (ex: https://contoso.eastus.communications.azure.net).
23
- * @param credential - An object that is used to authenticate requests to the service. Use the AzureKeyCredential or `@azure/identity` to create a credential.
24
- * @param options - Optional. Options to configure the HTTP pipeline.
25
- */
26
- constructor(endpoint: string, credential: KeyCredential, options?: CommunicationIdentityClientOptions);
27
- /**
28
- * Initializes a new instance of the CommunicationIdentity class using a TokenCredential.
29
- * @param endpoint - The endpoint of the service (ex: https://contoso.eastus.communications.azure.net)
30
- * @param credential - TokenCredential that is used to authenticate requests to the service.
31
- * @param options - Optional. Options to configure the HTTP pipeline.
32
- */
33
- constructor(endpoint: string, credential: TokenCredential, options?: CommunicationIdentityClientOptions);
34
- /**
35
- * Creates a scoped user token.
36
- *
37
- * @param user - The user whose tokens are being issued.
38
- * @param scopes - Scopes to include in the token.
39
- * @param options - Additional options for the request.
40
- */
41
- getToken(user: CommunicationUserIdentifier, scopes: TokenScope[], options?: GetTokenOptions): Promise<CommunicationAccessToken>;
42
- /**
43
- * Revokes all data and tokens created for a user.
44
- *
45
- * @param user - The user whose tokens are being revoked.
46
- * @param options - Additional options for the request.
47
- */
48
- revokeTokens(user: CommunicationUserIdentifier, options?: OperationOptions): Promise<void>;
49
- /**
50
- * Creates a single user.
51
- *
52
- * @param options - Additional options for the request.
53
- */
54
- createUser(options?: OperationOptions): Promise<CommunicationUserIdentifier>;
55
- /**
56
- * Creates a single user and a token simultaneously.
57
- *
58
- * @param scopes - Scopes to include in the token.
59
- * @param options - Additional options for the request.
60
- */
61
- createUserAndToken(scopes: TokenScope[], options?: CreateUserAndTokenOptions): Promise<CommunicationUserToken>;
62
- /**
63
- * Triggers revocation event for user and deletes all its data.
64
- *
65
- * @param user - The user being deleted.
66
- * @param options - Additional options for the request.
67
- */
68
- deleteUser(user: CommunicationUserIdentifier, options?: OperationOptions): Promise<void>;
69
- /**
70
- * Exchanges an Azure AD access token of a Teams user for a new Communication Identity access token with a matching expiration time.
71
- *
72
- * @param options - Options used to exchange an Azure AD access token of a Teams user for a new Communication Identity access token.
73
- */
74
- getTokenForTeamsUser(options: GetTokenForTeamsUserOptions): Promise<CommunicationAccessToken>;
75
- }
76
- //# sourceMappingURL=communicationIdentityClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"communicationIdentityClient.d.ts","sourceRoot":"","sources":["../../src/communicationIdentityClient.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,wBAAwB,EACxB,kCAAkC,EAClC,sBAAsB,EACtB,2BAA2B,EAC3B,yBAAyB,EACzB,eAAe,EACf,UAAU,EACX,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAM/E,OAAO,KAAK,EAAiC,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC1F,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAWvE;;GAEG;AACH,qBAAa,2BAA2B;IACtC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAE5C;;;;;OAKG;gBACgB,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,kCAAkC;IAEzF;;;;;OAKG;gBAED,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,kCAAkC;IAE9C;;;;;OAKG;gBAED,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,eAAe,EAC3B,OAAO,CAAC,EAAE,kCAAkC;IA+B9C;;;;;;OAMG;IACI,QAAQ,CACb,IAAI,EAAE,2BAA2B,EACjC,MAAM,EAAE,UAAU,EAAE,EACpB,OAAO,GAAE,eAAoB,GAC5B,OAAO,CAAC,wBAAwB,CAAC;IA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