@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.
- package/dist/index.js +684 -0
- package/dist/index.js.map +1 -0
- package/{dist/esm → dist-esm/src}/communicationIdentityClient.js +3 -3
- package/dist-esm/src/communicationIdentityClient.js.map +1 -0
- package/{dist/esm → dist-esm/src}/generated/src/identityRestClient.js +1 -1
- package/dist-esm/src/generated/src/identityRestClient.js.map +1 -0
- package/{dist/esm/generated/src/operations → dist-esm/src/generated/src}/index.js +3 -1
- package/dist-esm/src/generated/src/index.js.map +1 -0
- package/{dist/esm → dist-esm/src}/generated/src/models/parameters.js +1 -1
- package/dist-esm/src/generated/src/models/parameters.js.map +1 -0
- package/{dist/browser → dist-esm/src}/generated/src/operations/communicationIdentityOperations.js +3 -3
- package/dist-esm/src/generated/src/operations/communicationIdentityOperations.js.map +1 -0
- package/{dist/esm/generated/src/operationsInterfaces/communicationIdentityOperations.js → dist-esm/src/generated/src/operations/index.js} +2 -2
- package/{dist/esm → dist-esm/src}/generated/src/operations/index.js.map +1 -1
- package/dist-esm/src/generated/src/operationsInterfaces/communicationIdentityOperations.js.map +1 -0
- package/{dist/react-native/generated/src/operationsInterfaces/communicationIdentityOperations.js → dist-esm/src/generated/src/operationsInterfaces/index.js} +2 -2
- package/{dist/react-native → dist-esm/src}/generated/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/index.js +5 -0
- package/{dist/react-native → dist-esm/src}/index.js.map +1 -1
- package/package.json +48 -68
- package/dist/browser/common/logger.d.ts +0 -5
- package/dist/browser/common/logger.d.ts.map +0 -1
- package/dist/browser/communicationIdentityClient.d.ts +0 -76
- package/dist/browser/communicationIdentityClient.d.ts.map +0 -1
- package/dist/browser/communicationIdentityClient.js +0 -103
- package/dist/browser/communicationIdentityClient.js.map +0 -1
- package/dist/browser/constants.d.ts +0 -2
- package/dist/browser/constants.d.ts.map +0 -1
- package/dist/browser/generated/src/identityRestClient.d.ts +0 -17
- package/dist/browser/generated/src/identityRestClient.d.ts.map +0 -1
- package/dist/browser/generated/src/identityRestClient.js +0 -69
- package/dist/browser/generated/src/identityRestClient.js.map +0 -1
- package/dist/browser/generated/src/index.d.ts +0 -4
- package/dist/browser/generated/src/index.d.ts.map +0 -1
- package/dist/browser/generated/src/index.js +0 -11
- package/dist/browser/generated/src/index.js.map +0 -1
- package/dist/browser/generated/src/models/index.d.ts +0 -127
- package/dist/browser/generated/src/models/index.d.ts.map +0 -1
- package/dist/browser/generated/src/models/mappers.d.ts +0 -10
- package/dist/browser/generated/src/models/mappers.d.ts.map +0 -1
- package/dist/browser/generated/src/models/parameters.d.ts +0 -14
- package/dist/browser/generated/src/models/parameters.d.ts.map +0 -1
- package/dist/browser/generated/src/models/parameters.js +0 -91
- package/dist/browser/generated/src/models/parameters.js.map +0 -1
- package/dist/browser/generated/src/operations/communicationIdentityOperations.d.ts +0 -49
- package/dist/browser/generated/src/operations/communicationIdentityOperations.d.ts.map +0 -1
- package/dist/browser/generated/src/operations/communicationIdentityOperations.js.map +0 -1
- package/dist/browser/generated/src/operations/index.d.ts +0 -2
- package/dist/browser/generated/src/operations/index.d.ts.map +0 -1
- package/dist/browser/generated/src/operations/index.js +0 -9
- package/dist/browser/generated/src/operations/index.js.map +0 -1
- package/dist/browser/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts +0 -41
- package/dist/browser/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts.map +0 -1
- package/dist/browser/generated/src/operationsInterfaces/communicationIdentityOperations.js.map +0 -1
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts +0 -2
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/generated/src/operationsInterfaces/index.js +0 -9
- package/dist/browser/generated/src/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/generated/src/tracing.d.ts +0 -2
- package/dist/browser/generated/src/tracing.d.ts.map +0 -1
- package/dist/browser/index.d.ts +0 -3
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/index.js +0 -5
- package/dist/browser/index.js.map +0 -1
- package/dist/browser/models.d.ts +0 -65
- package/dist/browser/models.d.ts.map +0 -1
- package/dist/browser/package.json +0 -3
- package/dist/commonjs/common/logger.d.ts +0 -5
- package/dist/commonjs/common/logger.d.ts.map +0 -1
- package/dist/commonjs/common/logger.js +0 -11
- package/dist/commonjs/common/logger.js.map +0 -1
- package/dist/commonjs/communicationIdentityClient.d.ts +0 -76
- package/dist/commonjs/communicationIdentityClient.d.ts.map +0 -1
- package/dist/commonjs/communicationIdentityClient.js +0 -107
- package/dist/commonjs/communicationIdentityClient.js.map +0 -1
- package/dist/commonjs/constants.d.ts +0 -2
- package/dist/commonjs/constants.d.ts.map +0 -1
- package/dist/commonjs/constants.js +0 -7
- package/dist/commonjs/constants.js.map +0 -1
- package/dist/commonjs/generated/src/identityRestClient.d.ts +0 -17
- package/dist/commonjs/generated/src/identityRestClient.d.ts.map +0 -1
- package/dist/commonjs/generated/src/identityRestClient.js +0 -74
- package/dist/commonjs/generated/src/identityRestClient.js.map +0 -1
- package/dist/commonjs/generated/src/index.d.ts +0 -4
- package/dist/commonjs/generated/src/index.d.ts.map +0 -1
- package/dist/commonjs/generated/src/index.js +0 -16
- package/dist/commonjs/generated/src/index.js.map +0 -1
- package/dist/commonjs/generated/src/models/index.d.ts +0 -127
- package/dist/commonjs/generated/src/models/index.d.ts.map +0 -1
- package/dist/commonjs/generated/src/models/index.js +0 -25
- package/dist/commonjs/generated/src/models/index.js.map +0 -1
- package/dist/commonjs/generated/src/models/mappers.d.ts +0 -10
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/generated/src/models/mappers.js +0 -224
- package/dist/commonjs/generated/src/models/mappers.js.map +0 -1
- package/dist/commonjs/generated/src/models/parameters.d.ts +0 -14
- package/dist/commonjs/generated/src/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/generated/src/models/parameters.js +0 -94
- package/dist/commonjs/generated/src/models/parameters.js.map +0 -1
- package/dist/commonjs/generated/src/operations/communicationIdentityOperations.d.ts +0 -49
- package/dist/commonjs/generated/src/operations/communicationIdentityOperations.d.ts.map +0 -1
- package/dist/commonjs/generated/src/operations/communicationIdentityOperations.js +0 -182
- package/dist/commonjs/generated/src/operations/communicationIdentityOperations.js.map +0 -1
- package/dist/commonjs/generated/src/operations/index.d.ts +0 -2
- package/dist/commonjs/generated/src/operations/index.d.ts.map +0 -1
- package/dist/commonjs/generated/src/operations/index.js +0 -12
- package/dist/commonjs/generated/src/operations/index.js.map +0 -1
- package/dist/commonjs/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts +0 -41
- package/dist/commonjs/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts.map +0 -1
- package/dist/commonjs/generated/src/operationsInterfaces/communicationIdentityOperations.js +0 -10
- package/dist/commonjs/generated/src/operationsInterfaces/communicationIdentityOperations.js.map +0 -1
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +0 -2
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/generated/src/operationsInterfaces/index.js +0 -12
- package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/generated/src/tracing.d.ts +0 -2
- package/dist/commonjs/generated/src/tracing.d.ts.map +0 -1
- package/dist/commonjs/generated/src/tracing.js +0 -17
- package/dist/commonjs/generated/src/tracing.js.map +0 -1
- package/dist/commonjs/index.d.ts +0 -3
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/index.js +0 -8
- package/dist/commonjs/index.js.map +0 -1
- package/dist/commonjs/models.d.ts +0 -65
- package/dist/commonjs/models.d.ts.map +0 -1
- package/dist/commonjs/models.js +0 -5
- package/dist/commonjs/models.js.map +0 -1
- package/dist/commonjs/package.json +0 -3
- package/dist/commonjs/tsdoc-metadata.json +0 -11
- package/dist/esm/common/logger.d.ts +0 -5
- package/dist/esm/common/logger.d.ts.map +0 -1
- package/dist/esm/common/logger.js +0 -8
- package/dist/esm/common/logger.js.map +0 -1
- package/dist/esm/communicationIdentityClient.d.ts +0 -76
- package/dist/esm/communicationIdentityClient.d.ts.map +0 -1
- package/dist/esm/communicationIdentityClient.js.map +0 -1
- package/dist/esm/constants.d.ts +0 -2
- package/dist/esm/constants.d.ts.map +0 -1
- package/dist/esm/constants.js +0 -4
- package/dist/esm/constants.js.map +0 -1
- package/dist/esm/generated/src/identityRestClient.d.ts +0 -17
- package/dist/esm/generated/src/identityRestClient.d.ts.map +0 -1
- package/dist/esm/generated/src/identityRestClient.js.map +0 -1
- package/dist/esm/generated/src/index.d.ts +0 -4
- package/dist/esm/generated/src/index.d.ts.map +0 -1
- package/dist/esm/generated/src/index.js +0 -11
- package/dist/esm/generated/src/index.js.map +0 -1
- package/dist/esm/generated/src/models/index.d.ts +0 -127
- package/dist/esm/generated/src/models/index.d.ts.map +0 -1
- package/dist/esm/generated/src/models/index.js +0 -22
- package/dist/esm/generated/src/models/index.js.map +0 -1
- package/dist/esm/generated/src/models/mappers.d.ts +0 -10
- package/dist/esm/generated/src/models/mappers.d.ts.map +0 -1
- package/dist/esm/generated/src/models/mappers.js +0 -221
- package/dist/esm/generated/src/models/mappers.js.map +0 -1
- package/dist/esm/generated/src/models/parameters.d.ts +0 -14
- package/dist/esm/generated/src/models/parameters.d.ts.map +0 -1
- package/dist/esm/generated/src/models/parameters.js.map +0 -1
- package/dist/esm/generated/src/operations/communicationIdentityOperations.d.ts +0 -49
- package/dist/esm/generated/src/operations/communicationIdentityOperations.d.ts.map +0 -1
- package/dist/esm/generated/src/operations/communicationIdentityOperations.js +0 -177
- package/dist/esm/generated/src/operations/communicationIdentityOperations.js.map +0 -1
- package/dist/esm/generated/src/operations/index.d.ts +0 -2
- package/dist/esm/generated/src/operations/index.d.ts.map +0 -1
- package/dist/esm/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts +0 -41
- package/dist/esm/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts.map +0 -1
- package/dist/esm/generated/src/operationsInterfaces/communicationIdentityOperations.js.map +0 -1
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts +0 -2
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/generated/src/operationsInterfaces/index.js +0 -9
- package/dist/esm/generated/src/operationsInterfaces/index.js.map +0 -1
- package/dist/esm/generated/src/tracing.d.ts +0 -2
- package/dist/esm/generated/src/tracing.d.ts.map +0 -1
- package/dist/esm/generated/src/tracing.js +0 -14
- package/dist/esm/generated/src/tracing.js.map +0 -1
- package/dist/esm/index.d.ts +0 -3
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -5
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/models.d.ts +0 -65
- package/dist/esm/models.d.ts.map +0 -1
- package/dist/esm/models.js +0 -4
- package/dist/esm/models.js.map +0 -1
- package/dist/esm/package.json +0 -3
- package/dist/react-native/common/logger.d.ts +0 -5
- package/dist/react-native/common/logger.d.ts.map +0 -1
- package/dist/react-native/common/logger.js +0 -8
- package/dist/react-native/common/logger.js.map +0 -1
- package/dist/react-native/communicationIdentityClient.d.ts +0 -76
- package/dist/react-native/communicationIdentityClient.d.ts.map +0 -1
- package/dist/react-native/communicationIdentityClient.js +0 -103
- package/dist/react-native/communicationIdentityClient.js.map +0 -1
- package/dist/react-native/constants.d.ts +0 -2
- package/dist/react-native/constants.d.ts.map +0 -1
- package/dist/react-native/constants.js +0 -4
- package/dist/react-native/constants.js.map +0 -1
- package/dist/react-native/generated/src/identityRestClient.d.ts +0 -17
- package/dist/react-native/generated/src/identityRestClient.d.ts.map +0 -1
- package/dist/react-native/generated/src/identityRestClient.js +0 -69
- package/dist/react-native/generated/src/identityRestClient.js.map +0 -1
- package/dist/react-native/generated/src/index.d.ts +0 -4
- package/dist/react-native/generated/src/index.d.ts.map +0 -1
- package/dist/react-native/generated/src/index.js +0 -11
- package/dist/react-native/generated/src/index.js.map +0 -1
- package/dist/react-native/generated/src/models/index.d.ts +0 -127
- package/dist/react-native/generated/src/models/index.d.ts.map +0 -1
- package/dist/react-native/generated/src/models/index.js +0 -22
- package/dist/react-native/generated/src/models/index.js.map +0 -1
- package/dist/react-native/generated/src/models/mappers.d.ts +0 -10
- package/dist/react-native/generated/src/models/mappers.d.ts.map +0 -1
- package/dist/react-native/generated/src/models/mappers.js +0 -221
- package/dist/react-native/generated/src/models/mappers.js.map +0 -1
- package/dist/react-native/generated/src/models/parameters.d.ts +0 -14
- package/dist/react-native/generated/src/models/parameters.d.ts.map +0 -1
- package/dist/react-native/generated/src/models/parameters.js +0 -91
- package/dist/react-native/generated/src/models/parameters.js.map +0 -1
- package/dist/react-native/generated/src/operations/communicationIdentityOperations.d.ts +0 -49
- package/dist/react-native/generated/src/operations/communicationIdentityOperations.d.ts.map +0 -1
- package/dist/react-native/generated/src/operations/communicationIdentityOperations.js +0 -177
- package/dist/react-native/generated/src/operations/communicationIdentityOperations.js.map +0 -1
- package/dist/react-native/generated/src/operations/index.d.ts +0 -2
- package/dist/react-native/generated/src/operations/index.d.ts.map +0 -1
- package/dist/react-native/generated/src/operations/index.js +0 -9
- package/dist/react-native/generated/src/operations/index.js.map +0 -1
- package/dist/react-native/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts +0 -41
- package/dist/react-native/generated/src/operationsInterfaces/communicationIdentityOperations.d.ts.map +0 -1
- package/dist/react-native/generated/src/operationsInterfaces/communicationIdentityOperations.js.map +0 -1
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +0 -2
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/generated/src/operationsInterfaces/index.js +0 -9
- package/dist/react-native/generated/src/tracing.d.ts +0 -2
- package/dist/react-native/generated/src/tracing.d.ts.map +0 -1
- package/dist/react-native/generated/src/tracing.js +0 -14
- package/dist/react-native/generated/src/tracing.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -3
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/index.js +0 -5
- package/dist/react-native/models.d.ts +0 -65
- package/dist/react-native/models.d.ts.map +0 -1
- package/dist/react-native/models.js +0 -4
- package/dist/react-native/models.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- /package/{dist/browser → dist-esm/src}/common/logger.js +0 -0
- /package/{dist/browser → dist-esm/src}/common/logger.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/constants.js +0 -0
- /package/{dist/browser → dist-esm/src}/constants.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/generated/src/models/index.js +0 -0
- /package/{dist/browser → dist-esm/src}/generated/src/models/index.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/generated/src/models/mappers.js +0 -0
- /package/{dist/browser → dist-esm/src}/generated/src/models/mappers.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/generated/src/operationsInterfaces/communicationIdentityOperations.js +0 -0
- /package/{dist/browser → dist-esm/src}/generated/src/tracing.js +0 -0
- /package/{dist/browser → dist-esm/src}/generated/src/tracing.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/models.js +0 -0
- /package/{dist/browser → dist-esm/src}/models.js.map +0 -0
- /package/{dist → types}/communication-identity.d.ts +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,cAAc,iCAAiC,CAAC"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/*
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
4
|
-
* Licensed under the MIT License.
|
5
|
-
*
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
-
*/
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.IdentityRestClient = void 0;
|
11
|
-
const tslib_1 = require("tslib");
|
12
|
-
tslib_1.__exportStar(require("./models/index.js"), exports);
|
13
|
-
var identityRestClient_js_1 = require("./identityRestClient.js");
|
14
|
-
Object.defineProperty(exports, "IdentityRestClient", { enumerable: true, get: function () { return identityRestClient_js_1.IdentityRestClient; } });
|
15
|
-
tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
|
16
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,4DAAkC;AAClC,iEAA6D;AAApD,2HAAA,kBAAkB,OAAA;AAC3B,0EAAgD","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 \"./models/index.js\";\nexport { IdentityRestClient } from \"./identityRestClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
@@ -1,127 +0,0 @@
|
|
1
|
-
import * as coreClient from "@azure/core-client";
|
2
|
-
export interface CommunicationIdentityCreateRequest {
|
3
|
-
/** Also create access token for the created identity. */
|
4
|
-
createTokenWithScopes?: CommunicationIdentityTokenScope[];
|
5
|
-
/** 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. */
|
6
|
-
expiresInMinutes?: number;
|
7
|
-
}
|
8
|
-
/** A communication identity with access token. */
|
9
|
-
export interface CommunicationIdentityAccessTokenResult {
|
10
|
-
/** A communication identity. */
|
11
|
-
identity: CommunicationIdentity;
|
12
|
-
/** An access token. */
|
13
|
-
accessToken?: CommunicationIdentityAccessToken;
|
14
|
-
}
|
15
|
-
/** A communication identity. */
|
16
|
-
export interface CommunicationIdentity {
|
17
|
-
/** Identifier of the identity. */
|
18
|
-
id: string;
|
19
|
-
}
|
20
|
-
/** An access token. */
|
21
|
-
export interface CommunicationIdentityAccessToken {
|
22
|
-
/** The access token issued for the identity. */
|
23
|
-
token: string;
|
24
|
-
/** The expiry time of the token. */
|
25
|
-
expiresOn: Date;
|
26
|
-
}
|
27
|
-
/** The Communication Services error. */
|
28
|
-
export interface CommunicationErrorResponse {
|
29
|
-
/** The Communication Services error. */
|
30
|
-
error: CommunicationError;
|
31
|
-
}
|
32
|
-
/** The Communication Services error. */
|
33
|
-
export interface CommunicationError {
|
34
|
-
/** The error code. */
|
35
|
-
code: string;
|
36
|
-
/** The error message. */
|
37
|
-
message: string;
|
38
|
-
/**
|
39
|
-
* The error target.
|
40
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
41
|
-
*/
|
42
|
-
readonly target?: string;
|
43
|
-
/**
|
44
|
-
* Further details about specific errors that led to this error.
|
45
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
46
|
-
*/
|
47
|
-
readonly details?: CommunicationError[];
|
48
|
-
/**
|
49
|
-
* The inner error if any.
|
50
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
51
|
-
*/
|
52
|
-
readonly innerError?: CommunicationError;
|
53
|
-
}
|
54
|
-
export interface TeamsUserExchangeTokenRequest {
|
55
|
-
/** Azure AD access token of a Teams User to acquire a new Communication Identity access token. */
|
56
|
-
token: string;
|
57
|
-
/** Client ID of an Azure AD application to be verified against the appid claim in the Azure AD access token. */
|
58
|
-
appId: string;
|
59
|
-
/** Object ID of an Azure AD user (Teams User) to be verified against the oid claim in the Azure AD access token. */
|
60
|
-
userId: string;
|
61
|
-
}
|
62
|
-
export interface CommunicationIdentityAccessTokenRequest {
|
63
|
-
/** List of scopes attached to the token. */
|
64
|
-
scopes: CommunicationIdentityTokenScope[];
|
65
|
-
/** 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. */
|
66
|
-
expiresInMinutes?: number;
|
67
|
-
}
|
68
|
-
/** Known values of {@link CommunicationIdentityTokenScope} that the service accepts. */
|
69
|
-
export declare enum KnownCommunicationIdentityTokenScope {
|
70
|
-
/** Use this for full access to Chat APIs. */
|
71
|
-
Chat = "chat",
|
72
|
-
/** Use this for full access to Calling APIs. */
|
73
|
-
Voip = "voip",
|
74
|
-
/** Access to Chat APIs but without the authorization to create, delete or update chat threads. */
|
75
|
-
ChatJoin = "chat.join",
|
76
|
-
/** A more limited version of chat.join that doesn't allow to add or remove participants. Use this scope when the token bearer is not fully trusted, for example in guest scenarios. */
|
77
|
-
ChatJoinLimited = "chat.join.limited",
|
78
|
-
/** Access to Calling APIs but without the authorization to start new calls. */
|
79
|
-
VoipJoin = "voip.join"
|
80
|
-
}
|
81
|
-
/**
|
82
|
-
* Defines values for CommunicationIdentityTokenScope. \
|
83
|
-
* {@link KnownCommunicationIdentityTokenScope} can be used interchangeably with CommunicationIdentityTokenScope,
|
84
|
-
* this enum contains the known values that the service supports.
|
85
|
-
* ### Known values supported by the service
|
86
|
-
* **chat**: Use this for full access to Chat APIs. \
|
87
|
-
* **voip**: Use this for full access to Calling APIs. \
|
88
|
-
* **chat.join**: Access to Chat APIs but without the authorization to create, delete or update chat threads. \
|
89
|
-
* **chat.join.limited**: A more limited version of chat.join that doesn't allow to add or remove participants. Use this scope when the token bearer is not fully trusted, for example in guest scenarios. \
|
90
|
-
* **voip.join**: Access to Calling APIs but without the authorization to start new calls.
|
91
|
-
*/
|
92
|
-
export type CommunicationIdentityTokenScope = string;
|
93
|
-
/** Optional parameters. */
|
94
|
-
export interface CommunicationIdentityCreateOptionalParams extends coreClient.OperationOptions {
|
95
|
-
/** Also create access token for the created identity. */
|
96
|
-
createTokenWithScopes?: CommunicationIdentityTokenScope[];
|
97
|
-
/** 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. */
|
98
|
-
expiresInMinutes?: number;
|
99
|
-
}
|
100
|
-
/** Contains response data for the create operation. */
|
101
|
-
export type CommunicationIdentityCreateResponse = CommunicationIdentityAccessTokenResult;
|
102
|
-
/** Optional parameters. */
|
103
|
-
export interface CommunicationIdentityDeleteOptionalParams extends coreClient.OperationOptions {
|
104
|
-
}
|
105
|
-
/** Optional parameters. */
|
106
|
-
export interface CommunicationIdentityRevokeAccessTokensOptionalParams extends coreClient.OperationOptions {
|
107
|
-
}
|
108
|
-
/** Optional parameters. */
|
109
|
-
export interface CommunicationIdentityExchangeTeamsUserAccessTokenOptionalParams extends coreClient.OperationOptions {
|
110
|
-
}
|
111
|
-
/** Contains response data for the exchangeTeamsUserAccessToken operation. */
|
112
|
-
export type CommunicationIdentityExchangeTeamsUserAccessTokenResponse = CommunicationIdentityAccessToken;
|
113
|
-
/** Optional parameters. */
|
114
|
-
export interface CommunicationIdentityIssueAccessTokenOptionalParams extends coreClient.OperationOptions {
|
115
|
-
/** 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. */
|
116
|
-
expiresInMinutes?: number;
|
117
|
-
}
|
118
|
-
/** Contains response data for the issueAccessToken operation. */
|
119
|
-
export type CommunicationIdentityIssueAccessTokenResponse = CommunicationIdentityAccessToken;
|
120
|
-
/** Optional parameters. */
|
121
|
-
export interface IdentityRestClientOptionalParams extends coreClient.ServiceClientOptions {
|
122
|
-
/** Api Version */
|
123
|
-
apiVersion?: string;
|
124
|
-
/** Overrides client endpoint. */
|
125
|
-
endpoint?: string;
|
126
|
-
}
|
127
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,MAAM,WAAW,kCAAkC;IACjD,yDAAyD;IACzD,qBAAqB,CAAC,EAAE,+BAA+B,EAAE,CAAC;IAC1D,+JAA+J;IAC/J,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,kDAAkD;AAClD,MAA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vL,eAAe,sBAAsB;IACrC,+EAA+E;IAC/E,QAAQ,cAAc;CACvB;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,+BAA+B,GAAG,MAAM,CAAC;AAErD,2BAA2B;AAC3B,MAAM,WAAW,yCACf,SAAQ,UAAU,CAAC,gBAAgB;IACnC,yDAAyD;IACzD,qBAAqB,CAAC,EAAE,+BAA+B,EAAE,CAAC;IAC1D,+JAA+J;IAC/J,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,uDAAuD;AACvD,MAAM,MAAM,mCAAmC,GAAG,sCAAsC,CAAC;AAEzF,2BAA2B;AAC3B,MAAM,WAAW,yCACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,2BAA2B;AAC3B,MAAM,WAAW,qDACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,2BAA2B;AAC3B,MAAM,WAAW,+DACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,6EAA6E;AAC7E,MAAM,MAAM,yDAAyD,GAAG,gCAAgC,CAAC;AAEzG,2BAA2B;AAC3B,MAAM,WAAW,mDACf,SAAQ,UAAU,CAAC,gBAAgB;IACnC,+JAA+J;IAC/J,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,iEAAiE;AACjE,MAAM,MAAM,6CAA6C,GAAG,gCAAgC,CAAC;AAE7F,2BAA2B;AAC3B,MAAM,WAAW,gCACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/*
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
4
|
-
* Licensed under the MIT License.
|
5
|
-
*
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
-
*/
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.KnownCommunicationIdentityTokenScope = void 0;
|
11
|
-
/** Known values of {@link CommunicationIdentityTokenScope} that the service accepts. */
|
12
|
-
var KnownCommunicationIdentityTokenScope;
|
13
|
-
(function (KnownCommunicationIdentityTokenScope) {
|
14
|
-
/** Use this for full access to Chat APIs. */
|
15
|
-
KnownCommunicationIdentityTokenScope["Chat"] = "chat";
|
16
|
-
/** Use this for full access to Calling APIs. */
|
17
|
-
KnownCommunicationIdentityTokenScope["Voip"] = "voip";
|
18
|
-
/** Access to Chat APIs but without the authorization to create, delete or update chat threads. */
|
19
|
-
KnownCommunicationIdentityTokenScope["ChatJoin"] = "chat.join";
|
20
|
-
/** A more limited version of chat.join that doesn't allow to add or remove participants. Use this scope when the token bearer is not fully trusted, for example in guest scenarios. */
|
21
|
-
KnownCommunicationIdentityTokenScope["ChatJoinLimited"] = "chat.join.limited";
|
22
|
-
/** Access to Calling APIs but without the authorization to start new calls. */
|
23
|
-
KnownCommunicationIdentityTokenScope["VoipJoin"] = "voip.join";
|
24
|
-
})(KnownCommunicationIdentityTokenScope || (exports.KnownCommunicationIdentityTokenScope = KnownCommunicationIdentityTokenScope = {}));
|
25
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AA8EH,wFAAwF;AACxF,IAAY,oCAWX;AAXD,WAAY,oCAAoC;IAC9C,6CAA6C;IAC7C,qDAAa,CAAA;IACb,gDAAgD;IAChD,qDAAa,CAAA;IACb,kGAAkG;IAClG,8DAAsB,CAAA;IACtB,uLAAuL;IACvL,6EAAqC,CAAA;IACrC,+EAA+E;IAC/E,8DAAsB,CAAA;AACxB,CAAC,EAXW,oCAAoC,oDAApC,oCAAoC,QAW/C","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 * as coreClient from \"@azure/core-client\";\n\nexport interface CommunicationIdentityCreateRequest {\n /** Also create access token for the created identity. */\n createTokenWithScopes?: CommunicationIdentityTokenScope[];\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 expiresInMinutes?: number;\n}\n\n/** A communication identity with access token. */\nexport interface CommunicationIdentityAccessTokenResult {\n /** A communication identity. */\n identity: CommunicationIdentity;\n /** An access token. */\n accessToken?: CommunicationIdentityAccessToken;\n}\n\n/** A communication identity. */\nexport interface CommunicationIdentity {\n /** Identifier of the identity. */\n id: string;\n}\n\n/** An access token. */\nexport interface CommunicationIdentityAccessToken {\n /** The access token issued for the identity. */\n token: string;\n /** The expiry time of the token. */\n expiresOn: Date;\n}\n\n/** The Communication Services error. */\nexport interface CommunicationErrorResponse {\n /** The Communication Services error. */\n error: CommunicationError;\n}\n\n/** The Communication Services error. */\nexport interface CommunicationError {\n /** The error code. */\n code: string;\n /** The error message. */\n message: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * Further details about specific errors that led to this error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: CommunicationError[];\n /**\n * The inner error if any.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly innerError?: CommunicationError;\n}\n\nexport interface TeamsUserExchangeTokenRequest {\n /** Azure AD access token of a Teams User to acquire a new Communication Identity access token. */\n token: string;\n /** Client ID of an Azure AD application to be verified against the appid claim in the Azure AD access token. */\n appId: string;\n /** Object ID of an Azure AD user (Teams User) to be verified against the oid claim in the Azure AD access token. */\n userId: string;\n}\n\nexport interface CommunicationIdentityAccessTokenRequest {\n /** List of scopes attached to the token. */\n scopes: CommunicationIdentityTokenScope[];\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 expiresInMinutes?: number;\n}\n\n/** Known values of {@link CommunicationIdentityTokenScope} that the service accepts. */\nexport enum KnownCommunicationIdentityTokenScope {\n /** Use this for full access to Chat APIs. */\n Chat = \"chat\",\n /** Use this for full access to Calling APIs. */\n Voip = \"voip\",\n /** Access to Chat APIs but without the authorization to create, delete or update chat threads. */\n ChatJoin = \"chat.join\",\n /** A more limited version of chat.join that doesn't allow to add or remove participants. Use this scope when the token bearer is not fully trusted, for example in guest scenarios. */\n ChatJoinLimited = \"chat.join.limited\",\n /** Access to Calling APIs but without the authorization to start new calls. */\n VoipJoin = \"voip.join\"\n}\n\n/**\n * Defines values for CommunicationIdentityTokenScope. \\\n * {@link KnownCommunicationIdentityTokenScope} can be used interchangeably with CommunicationIdentityTokenScope,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **chat**: Use this for full access to Chat APIs. \\\n * **voip**: Use this for full access to Calling APIs. \\\n * **chat.join**: Access to Chat APIs but without the authorization to create, delete or update chat threads. \\\n * **chat.join.limited**: A more limited version of chat.join that doesn't allow to add or remove participants. Use this scope when the token bearer is not fully trusted, for example in guest scenarios. \\\n * **voip.join**: Access to Calling APIs but without the authorization to start new calls.\n */\nexport type CommunicationIdentityTokenScope = string;\n\n/** Optional parameters. */\nexport interface CommunicationIdentityCreateOptionalParams\n extends coreClient.OperationOptions {\n /** Also create access token for the created identity. */\n createTokenWithScopes?: CommunicationIdentityTokenScope[];\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 expiresInMinutes?: number;\n}\n\n/** Contains response data for the create operation. */\nexport type CommunicationIdentityCreateResponse = CommunicationIdentityAccessTokenResult;\n\n/** Optional parameters. */\nexport interface CommunicationIdentityDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CommunicationIdentityRevokeAccessTokensOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface CommunicationIdentityExchangeTeamsUserAccessTokenOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the exchangeTeamsUserAccessToken operation. */\nexport type CommunicationIdentityExchangeTeamsUserAccessTokenResponse = CommunicationIdentityAccessToken;\n\n/** Optional parameters. */\nexport interface CommunicationIdentityIssueAccessTokenOptionalParams\n extends coreClient.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 expiresInMinutes?: number;\n}\n\n/** Contains response data for the issueAccessToken operation. */\nexport type CommunicationIdentityIssueAccessTokenResponse = CommunicationIdentityAccessToken;\n\n/** Optional parameters. */\nexport interface IdentityRestClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import * as coreClient from "@azure/core-client";
|
2
|
-
export declare const CommunicationIdentityCreateRequest: coreClient.CompositeMapper;
|
3
|
-
export declare const CommunicationIdentityAccessTokenResult: coreClient.CompositeMapper;
|
4
|
-
export declare const CommunicationIdentity: coreClient.CompositeMapper;
|
5
|
-
export declare const CommunicationIdentityAccessToken: coreClient.CompositeMapper;
|
6
|
-
export declare const CommunicationErrorResponse: coreClient.CompositeMapper;
|
7
|
-
export declare const CommunicationError: coreClient.CompositeMapper;
|
8
|
-
export declare const TeamsUserExchangeTokenRequest: coreClient.CompositeMapper;
|
9
|
-
export declare const CommunicationIdentityAccessTokenRequest: coreClient.CompositeMapper;
|
10
|
-
//# sourceMappingURL=mappers.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,kCAAkC,EAAE,UAAU,CAAC,eA6B3D,CAAC;AAEF,eAAO,MAAM,sCAAsC,EAAE,UAAU,CAAC,eAqB/D,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAc9C,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,UAAU,CAAC,eAqBzD,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,UAAU,CAAC,eAcnD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,eAgD3C,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,UAAU,CAAC,eA4BtD,CAAC;AAEF,eAAO,MAAM,uCAAuC,EAAE,UAAU,CAAC,eA8BhE,CAAC"}
|
@@ -1,224 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/*
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
4
|
-
* Licensed under the MIT License.
|
5
|
-
*
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
-
*/
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.CommunicationIdentityAccessTokenRequest = exports.TeamsUserExchangeTokenRequest = exports.CommunicationError = exports.CommunicationErrorResponse = exports.CommunicationIdentityAccessToken = exports.CommunicationIdentity = exports.CommunicationIdentityAccessTokenResult = exports.CommunicationIdentityCreateRequest = void 0;
|
11
|
-
exports.CommunicationIdentityCreateRequest = {
|
12
|
-
type: {
|
13
|
-
name: "Composite",
|
14
|
-
className: "CommunicationIdentityCreateRequest",
|
15
|
-
modelProperties: {
|
16
|
-
createTokenWithScopes: {
|
17
|
-
serializedName: "createTokenWithScopes",
|
18
|
-
type: {
|
19
|
-
name: "Sequence",
|
20
|
-
element: {
|
21
|
-
type: {
|
22
|
-
name: "String"
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
26
|
-
},
|
27
|
-
expiresInMinutes: {
|
28
|
-
defaultValue: 1440,
|
29
|
-
constraints: {
|
30
|
-
InclusiveMaximum: 1440,
|
31
|
-
InclusiveMinimum: 60
|
32
|
-
},
|
33
|
-
serializedName: "expiresInMinutes",
|
34
|
-
type: {
|
35
|
-
name: "Number"
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
40
|
-
};
|
41
|
-
exports.CommunicationIdentityAccessTokenResult = {
|
42
|
-
type: {
|
43
|
-
name: "Composite",
|
44
|
-
className: "CommunicationIdentityAccessTokenResult",
|
45
|
-
modelProperties: {
|
46
|
-
identity: {
|
47
|
-
serializedName: "identity",
|
48
|
-
type: {
|
49
|
-
name: "Composite",
|
50
|
-
className: "CommunicationIdentity"
|
51
|
-
}
|
52
|
-
},
|
53
|
-
accessToken: {
|
54
|
-
serializedName: "accessToken",
|
55
|
-
type: {
|
56
|
-
name: "Composite",
|
57
|
-
className: "CommunicationIdentityAccessToken"
|
58
|
-
}
|
59
|
-
}
|
60
|
-
}
|
61
|
-
}
|
62
|
-
};
|
63
|
-
exports.CommunicationIdentity = {
|
64
|
-
type: {
|
65
|
-
name: "Composite",
|
66
|
-
className: "CommunicationIdentity",
|
67
|
-
modelProperties: {
|
68
|
-
id: {
|
69
|
-
serializedName: "id",
|
70
|
-
required: true,
|
71
|
-
type: {
|
72
|
-
name: "String"
|
73
|
-
}
|
74
|
-
}
|
75
|
-
}
|
76
|
-
}
|
77
|
-
};
|
78
|
-
exports.CommunicationIdentityAccessToken = {
|
79
|
-
type: {
|
80
|
-
name: "Composite",
|
81
|
-
className: "CommunicationIdentityAccessToken",
|
82
|
-
modelProperties: {
|
83
|
-
token: {
|
84
|
-
serializedName: "token",
|
85
|
-
required: true,
|
86
|
-
type: {
|
87
|
-
name: "String"
|
88
|
-
}
|
89
|
-
},
|
90
|
-
expiresOn: {
|
91
|
-
serializedName: "expiresOn",
|
92
|
-
required: true,
|
93
|
-
type: {
|
94
|
-
name: "DateTime"
|
95
|
-
}
|
96
|
-
}
|
97
|
-
}
|
98
|
-
}
|
99
|
-
};
|
100
|
-
exports.CommunicationErrorResponse = {
|
101
|
-
type: {
|
102
|
-
name: "Composite",
|
103
|
-
className: "CommunicationErrorResponse",
|
104
|
-
modelProperties: {
|
105
|
-
error: {
|
106
|
-
serializedName: "error",
|
107
|
-
type: {
|
108
|
-
name: "Composite",
|
109
|
-
className: "CommunicationError"
|
110
|
-
}
|
111
|
-
}
|
112
|
-
}
|
113
|
-
}
|
114
|
-
};
|
115
|
-
exports.CommunicationError = {
|
116
|
-
type: {
|
117
|
-
name: "Composite",
|
118
|
-
className: "CommunicationError",
|
119
|
-
modelProperties: {
|
120
|
-
code: {
|
121
|
-
serializedName: "code",
|
122
|
-
required: true,
|
123
|
-
type: {
|
124
|
-
name: "String"
|
125
|
-
}
|
126
|
-
},
|
127
|
-
message: {
|
128
|
-
serializedName: "message",
|
129
|
-
required: true,
|
130
|
-
type: {
|
131
|
-
name: "String"
|
132
|
-
}
|
133
|
-
},
|
134
|
-
target: {
|
135
|
-
serializedName: "target",
|
136
|
-
readOnly: true,
|
137
|
-
type: {
|
138
|
-
name: "String"
|
139
|
-
}
|
140
|
-
},
|
141
|
-
details: {
|
142
|
-
serializedName: "details",
|
143
|
-
readOnly: true,
|
144
|
-
type: {
|
145
|
-
name: "Sequence",
|
146
|
-
element: {
|
147
|
-
type: {
|
148
|
-
name: "Composite",
|
149
|
-
className: "CommunicationError"
|
150
|
-
}
|
151
|
-
}
|
152
|
-
}
|
153
|
-
},
|
154
|
-
innerError: {
|
155
|
-
serializedName: "innererror",
|
156
|
-
type: {
|
157
|
-
name: "Composite",
|
158
|
-
className: "CommunicationError"
|
159
|
-
}
|
160
|
-
}
|
161
|
-
}
|
162
|
-
}
|
163
|
-
};
|
164
|
-
exports.TeamsUserExchangeTokenRequest = {
|
165
|
-
type: {
|
166
|
-
name: "Composite",
|
167
|
-
className: "TeamsUserExchangeTokenRequest",
|
168
|
-
modelProperties: {
|
169
|
-
token: {
|
170
|
-
serializedName: "token",
|
171
|
-
required: true,
|
172
|
-
type: {
|
173
|
-
name: "String"
|
174
|
-
}
|
175
|
-
},
|
176
|
-
appId: {
|
177
|
-
serializedName: "appId",
|
178
|
-
required: true,
|
179
|
-
type: {
|
180
|
-
name: "String"
|
181
|
-
}
|
182
|
-
},
|
183
|
-
userId: {
|
184
|
-
serializedName: "userId",
|
185
|
-
required: true,
|
186
|
-
type: {
|
187
|
-
name: "String"
|
188
|
-
}
|
189
|
-
}
|
190
|
-
}
|
191
|
-
}
|
192
|
-
};
|
193
|
-
exports.CommunicationIdentityAccessTokenRequest = {
|
194
|
-
type: {
|
195
|
-
name: "Composite",
|
196
|
-
className: "CommunicationIdentityAccessTokenRequest",
|
197
|
-
modelProperties: {
|
198
|
-
scopes: {
|
199
|
-
serializedName: "scopes",
|
200
|
-
required: true,
|
201
|
-
type: {
|
202
|
-
name: "Sequence",
|
203
|
-
element: {
|
204
|
-
type: {
|
205
|
-
name: "String"
|
206
|
-
}
|
207
|
-
}
|
208
|
-
}
|
209
|
-
},
|
210
|
-
expiresInMinutes: {
|
211
|
-
defaultValue: 1440,
|
212
|
-
constraints: {
|
213
|
-
InclusiveMaximum: 1440,
|
214
|
-
InclusiveMinimum: 60
|
215
|
-
},
|
216
|
-
serializedName: "expiresInMinutes",
|
217
|
-
type: {
|
218
|
-
name: "Number"
|
219
|
-
}
|
220
|
-
}
|
221
|
-
}
|
222
|
-
}
|
223
|
-
};
|
224
|
-
//# sourceMappingURL=mappers.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,kCAAkC,GAA+B;IAC5E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,oCAAoC;QAC/C,eAAe,EAAE;YACf,qBAAqB,EAAE;gBACrB,cAAc,EAAE,uBAAuB;gBACvC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBACh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EW,QAAA,6BAA6B,GAA+B;IACvE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,+BAA+B;QAC1C,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,uCAAuC,GAA+B;IACjF,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yCAAyC;QACpD,eAAe,EAAE;YACf,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;YACD,gBAAgB,EAAE;gBAChB,YAAY,EAAE,IAAI;gBAClB,WAAW,EAAE;oBACX,gBAAgB,EAAE,IAAI;oBACtB,gBAAgB,EAAE,EAAE;iBACrB;gBACD,cAAc,EAAE,kBAAkB;gBAClC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,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 * as coreClient from \"@azure/core-client\";\n\nexport const CommunicationIdentityCreateRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentityCreateRequest\",\n modelProperties: {\n createTokenWithScopes: {\n serializedName: \"createTokenWithScopes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n expiresInMinutes: {\n defaultValue: 1440,\n constraints: {\n InclusiveMaximum: 1440,\n InclusiveMinimum: 60\n },\n serializedName: \"expiresInMinutes\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const CommunicationIdentityAccessTokenResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentityAccessTokenResult\",\n modelProperties: {\n identity: {\n serializedName: \"identity\",\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentity\"\n }\n },\n accessToken: {\n serializedName: \"accessToken\",\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentityAccessToken\"\n }\n }\n }\n }\n};\n\nexport const CommunicationIdentity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentity\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CommunicationIdentityAccessToken: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentityAccessToken\",\n modelProperties: {\n token: {\n serializedName: \"token\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n expiresOn: {\n serializedName: \"expiresOn\",\n required: true,\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const CommunicationErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n }\n};\n\nexport const CommunicationError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n },\n innerError: {\n serializedName: \"innererror\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n }\n};\n\nexport const TeamsUserExchangeTokenRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TeamsUserExchangeTokenRequest\",\n modelProperties: {\n token: {\n serializedName: \"token\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n appId: {\n serializedName: \"appId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n userId: {\n serializedName: \"userId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CommunicationIdentityAccessTokenRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationIdentityAccessTokenRequest\",\n modelProperties: {\n scopes: {\n serializedName: \"scopes\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n expiresInMinutes: {\n defaultValue: 1440,\n constraints: {\n InclusiveMaximum: 1440,\n InclusiveMinimum: 60\n },\n serializedName: \"expiresInMinutes\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n"]}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
2
|
-
export declare const contentType: OperationParameter;
|
3
|
-
export declare const accept: OperationParameter;
|
4
|
-
export declare const createTokenWithScopes: OperationParameter;
|
5
|
-
export declare const expiresInMinutes: OperationParameter;
|
6
|
-
export declare const endpoint: OperationURLParameter;
|
7
|
-
export declare const apiVersion: OperationQueryParameter;
|
8
|
-
export declare const id: OperationURLParameter;
|
9
|
-
export declare const token: OperationParameter;
|
10
|
-
export declare const appId: OperationParameter;
|
11
|
-
export declare const userId: OperationParameter;
|
12
|
-
export declare const scopes: OperationParameter;
|
13
|
-
export declare const expiresInMinutes1: OperationParameter;
|
14
|
-
//# sourceMappingURL=parameters.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAO5B,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,kBAGnC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,kBAG9B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,qBAShB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAGpB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAGpB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,kBAG/B,CAAC"}
|
@@ -1,94 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/*
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
4
|
-
* Licensed under the MIT License.
|
5
|
-
*
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
-
*/
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.expiresInMinutes1 = exports.scopes = exports.userId = exports.appId = exports.token = exports.id = exports.apiVersion = exports.endpoint = exports.expiresInMinutes = exports.createTokenWithScopes = exports.accept = exports.contentType = void 0;
|
11
|
-
const mappers_js_1 = require("../models/mappers.js");
|
12
|
-
exports.contentType = {
|
13
|
-
parameterPath: ["options", "contentType"],
|
14
|
-
mapper: {
|
15
|
-
defaultValue: "application/json",
|
16
|
-
isConstant: true,
|
17
|
-
serializedName: "Content-Type",
|
18
|
-
type: {
|
19
|
-
name: "String"
|
20
|
-
}
|
21
|
-
}
|
22
|
-
};
|
23
|
-
exports.accept = {
|
24
|
-
parameterPath: "accept",
|
25
|
-
mapper: {
|
26
|
-
defaultValue: "application/json",
|
27
|
-
isConstant: true,
|
28
|
-
serializedName: "Accept",
|
29
|
-
type: {
|
30
|
-
name: "String"
|
31
|
-
}
|
32
|
-
}
|
33
|
-
};
|
34
|
-
exports.createTokenWithScopes = {
|
35
|
-
parameterPath: ["options", "createTokenWithScopes"],
|
36
|
-
mapper: mappers_js_1.CommunicationIdentityCreateRequest
|
37
|
-
};
|
38
|
-
exports.expiresInMinutes = {
|
39
|
-
parameterPath: ["options", "expiresInMinutes"],
|
40
|
-
mapper: mappers_js_1.CommunicationIdentityCreateRequest
|
41
|
-
};
|
42
|
-
exports.endpoint = {
|
43
|
-
parameterPath: "endpoint",
|
44
|
-
mapper: {
|
45
|
-
serializedName: "endpoint",
|
46
|
-
required: true,
|
47
|
-
type: {
|
48
|
-
name: "String"
|
49
|
-
}
|
50
|
-
},
|
51
|
-
skipEncoding: true
|
52
|
-
};
|
53
|
-
exports.apiVersion = {
|
54
|
-
parameterPath: "apiVersion",
|
55
|
-
mapper: {
|
56
|
-
defaultValue: "2023-10-01",
|
57
|
-
isConstant: true,
|
58
|
-
serializedName: "api-version",
|
59
|
-
type: {
|
60
|
-
name: "String"
|
61
|
-
}
|
62
|
-
}
|
63
|
-
};
|
64
|
-
exports.id = {
|
65
|
-
parameterPath: "id",
|
66
|
-
mapper: {
|
67
|
-
serializedName: "id",
|
68
|
-
required: true,
|
69
|
-
type: {
|
70
|
-
name: "String"
|
71
|
-
}
|
72
|
-
}
|
73
|
-
};
|
74
|
-
exports.token = {
|
75
|
-
parameterPath: "token",
|
76
|
-
mapper: mappers_js_1.TeamsUserExchangeTokenRequest
|
77
|
-
};
|
78
|
-
exports.appId = {
|
79
|
-
parameterPath: "appId",
|
80
|
-
mapper: mappers_js_1.TeamsUserExchangeTokenRequest
|
81
|
-
};
|
82
|
-
exports.userId = {
|
83
|
-
parameterPath: "userId",
|
84
|
-
mapper: mappers_js_1.TeamsUserExchangeTokenRequest
|
85
|
-
};
|
86
|
-
exports.scopes = {
|
87
|
-
parameterPath: "scopes",
|
88
|
-
mapper: mappers_js_1.CommunicationIdentityAccessTokenRequest
|
89
|
-
};
|
90
|
-
exports.expiresInMinutes1 = {
|
91
|
-
parameterPath: ["options", "expiresInMinutes"],
|
92
|
-
mapper: mappers_js_1.CommunicationIdentityAccessTokenRequest
|
93
|
-
};
|
94
|
-
//# sourceMappingURL=parameters.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAI8B;AAEjB,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,qBAAqB,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,CAAC;IAC9C,MAAM,EAAE,oDAA6C;CACtD,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n CommunicationIdentityCreateRequest as CommunicationIdentityCreateRequestMapper,\n TeamsUserExchangeTokenRequest as TeamsUserExchangeTokenRequestMapper,\n CommunicationIdentityAccessTokenRequest as CommunicationIdentityAccessTokenRequestMapper\n} from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const createTokenWithScopes: OperationParameter = {\n parameterPath: [\"options\", \"createTokenWithScopes\"],\n mapper: CommunicationIdentityCreateRequestMapper\n};\n\nexport const expiresInMinutes: OperationParameter = {\n parameterPath: [\"options\", \"expiresInMinutes\"],\n mapper: CommunicationIdentityCreateRequestMapper\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2023-10-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const id: OperationURLParameter = {\n parameterPath: \"id\",\n mapper: {\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const token: OperationParameter = {\n parameterPath: \"token\",\n mapper: TeamsUserExchangeTokenRequestMapper\n};\n\nexport const appId: OperationParameter = {\n parameterPath: \"appId\",\n mapper: TeamsUserExchangeTokenRequestMapper\n};\n\nexport const userId: OperationParameter = {\n parameterPath: \"userId\",\n mapper: TeamsUserExchangeTokenRequestMapper\n};\n\nexport const scopes: OperationParameter = {\n parameterPath: \"scopes\",\n mapper: CommunicationIdentityAccessTokenRequestMapper\n};\n\nexport const expiresInMinutes1: OperationParameter = {\n parameterPath: [\"options\", \"expiresInMinutes\"],\n mapper: CommunicationIdentityAccessTokenRequestMapper\n};\n"]}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
import { CommunicationIdentityOperations } from "../operationsInterfaces/index.js";
|
2
|
-
import { IdentityRestClient } from "../identityRestClient.js";
|
3
|
-
import { CommunicationIdentityCreateOptionalParams, CommunicationIdentityCreateResponse, CommunicationIdentityDeleteOptionalParams, CommunicationIdentityRevokeAccessTokensOptionalParams, CommunicationIdentityExchangeTeamsUserAccessTokenOptionalParams, CommunicationIdentityExchangeTeamsUserAccessTokenResponse, CommunicationIdentityTokenScope, CommunicationIdentityIssueAccessTokenOptionalParams, CommunicationIdentityIssueAccessTokenResponse } from "../models/index.js";
|
4
|
-
/** Class containing CommunicationIdentityOperations operations. */
|
5
|
-
export declare class CommunicationIdentityOperationsImpl implements CommunicationIdentityOperations {
|
6
|
-
private readonly client;
|
7
|
-
/**
|
8
|
-
* Initialize a new instance of the class CommunicationIdentityOperations class.
|
9
|
-
* @param client Reference to the service client
|
10
|
-
*/
|
11
|
-
constructor(client: IdentityRestClient);
|
12
|
-
/**
|
13
|
-
* Create a new identity, and optionally, an access token.
|
14
|
-
* @param options The options parameters.
|
15
|
-
*/
|
16
|
-
create(options?: CommunicationIdentityCreateOptionalParams): Promise<CommunicationIdentityCreateResponse>;
|
17
|
-
/**
|
18
|
-
* Delete the identity, revoke all tokens for the identity and delete all associated data.
|
19
|
-
* @param id Identifier of the identity to be deleted.
|
20
|
-
* @param options The options parameters.
|
21
|
-
*/
|
22
|
-
delete(id: string, options?: CommunicationIdentityDeleteOptionalParams): Promise<void>;
|
23
|
-
/**
|
24
|
-
* Revoke all access tokens for the specific identity.
|
25
|
-
* @param id Identifier of the identity.
|
26
|
-
* @param options The options parameters.
|
27
|
-
*/
|
28
|
-
revokeAccessTokens(id: string, options?: CommunicationIdentityRevokeAccessTokensOptionalParams): Promise<void>;
|
29
|
-
/**
|
30
|
-
* Exchange an Azure Active Directory (Azure AD) access token of a Teams user for a new Communication
|
31
|
-
* Identity access token with a matching expiration time.
|
32
|
-
* @param token Azure AD access token of a Teams User to acquire a new Communication Identity access
|
33
|
-
* token.
|
34
|
-
* @param appId Client ID of an Azure AD application to be verified against the appid claim in the
|
35
|
-
* Azure AD access token.
|
36
|
-
* @param userId Object ID of an Azure AD user (Teams User) to be verified against the oid claim in the
|
37
|
-
* Azure AD access token.
|
38
|
-
* @param options The options parameters.
|
39
|
-
*/
|
40
|
-
exchangeTeamsUserAccessToken(token: string, appId: string, userId: string, options?: CommunicationIdentityExchangeTeamsUserAccessTokenOptionalParams): Promise<CommunicationIdentityExchangeTeamsUserAccessTokenResponse>;
|
41
|
-
/**
|
42
|
-
* Issue a new token for an identity.
|
43
|
-
* @param id Identifier of the identity to issue token for.
|
44
|
-
* @param scopes List of scopes attached to the token.
|
45
|
-
* @param options The options parameters.
|
46
|
-
*/
|
47
|
-
issueAccessToken(id: string, scopes: CommunicationIdentityTokenScope[], options?: CommunicationIdentityIssueAccessTokenOptionalParams): Promise<CommunicationIdentityIssueAccessTokenResponse>;
|
48
|
-
}
|
49
|
-
//# sourceMappingURL=communicationIdentityOperations.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"communicationIdentityOperations.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/communicationIdentityOperations.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,+BAA+B,EAAE,MAAM,kCAAkC,CAAC;AAInF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,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,mEAAmE;AACnE,qBAAa,mCACX,YAAW,+BAA+B;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAE5C;;;OAGG;gBACS,MAAM,EAAE,kBAAkB;IAItC;;;OAGG;IACG,MAAM,CACV,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAa/C;;;;OAIG;IACG,MAAM,CACV,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC;IAahB;;;;OAIG;IACG,kBAAkB,CACtB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,IAAI,CAAC;IAahB;;;;;;;;;;OAUG;IACG,4BAA4B,CAChC,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,+DAA+D,GACxE,OAAO,CAAC,yDAAyD,CAAC;IAarE;;;;;OAKG;IACG,gBAAgB,CACpB,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,+BAA+B,EAAE,EACzC,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC;CAY1D"}
|