@azure-tools/communication-recipient-verification 1.0.0-alpha.20241119.1 → 1.0.0-alpha.20241122.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +661 -0
- package/dist/index.js.map +1 -0
- package/{dist/esm → dist-esm/src}/generated/src/index.js +3 -3
- package/dist-esm/src/generated/src/index.js.map +1 -0
- package/{dist/browser → dist-esm/src}/generated/src/models/parameters.js +1 -1
- package/{dist/esm → dist-esm/src}/generated/src/models/parameters.js.map +1 -1
- package/{dist/esm → dist-esm/src}/generated/src/operations/acsVerificationOperations.js +3 -3
- package/dist-esm/src/generated/src/operations/acsVerificationOperations.js.map +1 -0
- package/{dist/esm/generated/src/models → dist-esm/src/generated/src/operations}/index.js +1 -1
- package/{dist/esm → dist-esm/src}/generated/src/operations/index.js.map +1 -1
- package/dist-esm/src/generated/src/operationsInterfaces/acsVerificationOperations.js.map +1 -0
- package/{dist/react-native/generated/src/models → dist-esm/src/generated/src/operationsInterfaces}/index.js +1 -1
- package/{dist/react-native → dist-esm/src}/generated/src/operationsInterfaces/index.js.map +1 -1
- package/{dist/react-native → dist-esm/src}/generated/src/recipientVerificationClient.js +1 -1
- package/dist-esm/src/generated/src/recipientVerificationClient.js.map +1 -0
- package/dist-esm/src/index.js +6 -0
- package/dist-esm/src/index.js.map +1 -0
- package/{dist/esm → dist-esm/src}/mappers.js +5 -5
- package/dist-esm/src/mappers.js.map +1 -0
- package/{dist/browser → dist-esm/src}/models.js.map +1 -1
- package/{dist/esm → dist-esm/src}/recipientVerificationClient.js +3 -3
- package/dist-esm/src/recipientVerificationClient.js.map +1 -0
- package/dist-esm/src/utils/index.js +5 -0
- package/dist-esm/src/utils/index.js.map +1 -0
- package/package.json +37 -57
- 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 -112
- package/dist/browser/generated/src/models/index.d.ts.map +0 -1
- package/dist/browser/generated/src/models/mappers.d.ts +0 -9
- package/dist/browser/generated/src/models/mappers.d.ts.map +0 -1
- package/dist/browser/generated/src/models/parameters.d.ts +0 -10
- package/dist/browser/generated/src/models/parameters.d.ts.map +0 -1
- package/dist/browser/generated/src/models/parameters.js.map +0 -1
- package/dist/browser/generated/src/operations/acsVerificationOperations.d.ts +0 -40
- package/dist/browser/generated/src/operations/acsVerificationOperations.d.ts.map +0 -1
- package/dist/browser/generated/src/operations/acsVerificationOperations.js +0 -167
- package/dist/browser/generated/src/operations/acsVerificationOperations.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/acsVerificationOperations.d.ts +0 -32
- package/dist/browser/generated/src/operationsInterfaces/acsVerificationOperations.d.ts.map +0 -1
- package/dist/browser/generated/src/operationsInterfaces/acsVerificationOperations.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/recipientVerificationClient.d.ts +0 -17
- package/dist/browser/generated/src/recipientVerificationClient.d.ts.map +0 -1
- package/dist/browser/generated/src/recipientVerificationClient.js +0 -86
- package/dist/browser/generated/src/recipientVerificationClient.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 -4
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/index.js +0 -6
- package/dist/browser/index.js.map +0 -1
- package/dist/browser/mappers.d.ts +0 -6
- package/dist/browser/mappers.d.ts.map +0 -1
- package/dist/browser/mappers.js +0 -8
- package/dist/browser/mappers.js.map +0 -1
- package/dist/browser/models.d.ts +0 -2
- package/dist/browser/models.d.ts.map +0 -1
- package/dist/browser/package.json +0 -3
- package/dist/browser/recipientVerificationClient.d.ts +0 -74
- package/dist/browser/recipientVerificationClient.d.ts.map +0 -1
- package/dist/browser/recipientVerificationClient.js +0 -82
- package/dist/browser/recipientVerificationClient.js.map +0 -1
- package/dist/browser/utils/constants.d.ts +0 -2
- package/dist/browser/utils/constants.d.ts.map +0 -1
- package/dist/browser/utils/index.d.ts +0 -3
- package/dist/browser/utils/index.d.ts.map +0 -1
- package/dist/browser/utils/index.js +0 -5
- package/dist/browser/utils/index.js.map +0 -1
- package/dist/browser/utils/logger.d.ts +0 -5
- package/dist/browser/utils/logger.d.ts.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 -112
- package/dist/commonjs/generated/src/models/index.d.ts.map +0 -1
- package/dist/commonjs/generated/src/models/index.js +0 -10
- package/dist/commonjs/generated/src/models/index.js.map +0 -1
- package/dist/commonjs/generated/src/models/mappers.d.ts +0 -9
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/generated/src/models/mappers.js +0 -211
- package/dist/commonjs/generated/src/models/mappers.js.map +0 -1
- package/dist/commonjs/generated/src/models/parameters.d.ts +0 -10
- package/dist/commonjs/generated/src/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/generated/src/models/parameters.js +0 -78
- package/dist/commonjs/generated/src/models/parameters.js.map +0 -1
- package/dist/commonjs/generated/src/operations/acsVerificationOperations.d.ts +0 -40
- package/dist/commonjs/generated/src/operations/acsVerificationOperations.d.ts.map +0 -1
- package/dist/commonjs/generated/src/operations/acsVerificationOperations.js +0 -172
- package/dist/commonjs/generated/src/operations/acsVerificationOperations.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/acsVerificationOperations.d.ts +0 -32
- package/dist/commonjs/generated/src/operationsInterfaces/acsVerificationOperations.d.ts.map +0 -1
- package/dist/commonjs/generated/src/operationsInterfaces/acsVerificationOperations.js +0 -10
- package/dist/commonjs/generated/src/operationsInterfaces/acsVerificationOperations.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/recipientVerificationClient.d.ts +0 -17
- package/dist/commonjs/generated/src/recipientVerificationClient.d.ts.map +0 -1
- package/dist/commonjs/generated/src/recipientVerificationClient.js +0 -91
- package/dist/commonjs/generated/src/recipientVerificationClient.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 -4
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/index.js +0 -9
- package/dist/commonjs/index.js.map +0 -1
- package/dist/commonjs/mappers.d.ts +0 -6
- package/dist/commonjs/mappers.d.ts.map +0 -1
- package/dist/commonjs/mappers.js +0 -16
- package/dist/commonjs/mappers.js.map +0 -1
- package/dist/commonjs/models.d.ts +0 -2
- 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/recipientVerificationClient.d.ts +0 -74
- package/dist/commonjs/recipientVerificationClient.d.ts.map +0 -1
- package/dist/commonjs/recipientVerificationClient.js +0 -86
- package/dist/commonjs/recipientVerificationClient.js.map +0 -1
- package/dist/commonjs/tsdoc-metadata.json +0 -11
- package/dist/commonjs/utils/constants.d.ts +0 -2
- package/dist/commonjs/utils/constants.d.ts.map +0 -1
- package/dist/commonjs/utils/constants.js +0 -7
- package/dist/commonjs/utils/constants.js.map +0 -1
- package/dist/commonjs/utils/index.d.ts +0 -3
- package/dist/commonjs/utils/index.d.ts.map +0 -1
- package/dist/commonjs/utils/index.js +0 -8
- package/dist/commonjs/utils/index.js.map +0 -1
- package/dist/commonjs/utils/logger.d.ts +0 -5
- package/dist/commonjs/utils/logger.d.ts.map +0 -1
- package/dist/commonjs/utils/logger.js +0 -11
- package/dist/commonjs/utils/logger.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.map +0 -1
- package/dist/esm/generated/src/models/index.d.ts +0 -112
- package/dist/esm/generated/src/models/index.d.ts.map +0 -1
- package/dist/esm/generated/src/models/index.js.map +0 -1
- package/dist/esm/generated/src/models/mappers.d.ts +0 -9
- package/dist/esm/generated/src/models/mappers.d.ts.map +0 -1
- package/dist/esm/generated/src/models/mappers.js +0 -208
- package/dist/esm/generated/src/models/mappers.js.map +0 -1
- package/dist/esm/generated/src/models/parameters.d.ts +0 -10
- package/dist/esm/generated/src/models/parameters.d.ts.map +0 -1
- package/dist/esm/generated/src/models/parameters.js +0 -75
- package/dist/esm/generated/src/operations/acsVerificationOperations.d.ts +0 -40
- package/dist/esm/generated/src/operations/acsVerificationOperations.d.ts.map +0 -1
- package/dist/esm/generated/src/operations/acsVerificationOperations.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/operations/index.js +0 -9
- package/dist/esm/generated/src/operationsInterfaces/acsVerificationOperations.d.ts +0 -32
- package/dist/esm/generated/src/operationsInterfaces/acsVerificationOperations.d.ts.map +0 -1
- package/dist/esm/generated/src/operationsInterfaces/acsVerificationOperations.js +0 -9
- package/dist/esm/generated/src/operationsInterfaces/acsVerificationOperations.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/recipientVerificationClient.d.ts +0 -17
- package/dist/esm/generated/src/recipientVerificationClient.d.ts.map +0 -1
- package/dist/esm/generated/src/recipientVerificationClient.js +0 -86
- package/dist/esm/generated/src/recipientVerificationClient.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 -4
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -6
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/mappers.d.ts +0 -6
- package/dist/esm/mappers.d.ts.map +0 -1
- package/dist/esm/mappers.js.map +0 -1
- package/dist/esm/models.d.ts +0 -2
- 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/esm/recipientVerificationClient.d.ts +0 -74
- package/dist/esm/recipientVerificationClient.d.ts.map +0 -1
- package/dist/esm/recipientVerificationClient.js.map +0 -1
- package/dist/esm/utils/constants.d.ts +0 -2
- package/dist/esm/utils/constants.d.ts.map +0 -1
- package/dist/esm/utils/constants.js +0 -4
- package/dist/esm/utils/constants.js.map +0 -1
- package/dist/esm/utils/index.d.ts +0 -3
- package/dist/esm/utils/index.d.ts.map +0 -1
- package/dist/esm/utils/index.js +0 -5
- package/dist/esm/utils/index.js.map +0 -1
- package/dist/esm/utils/logger.d.ts +0 -5
- package/dist/esm/utils/logger.d.ts.map +0 -1
- package/dist/esm/utils/logger.js +0 -8
- package/dist/esm/utils/logger.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 -112
- package/dist/react-native/generated/src/models/index.d.ts.map +0 -1
- package/dist/react-native/generated/src/models/index.js.map +0 -1
- package/dist/react-native/generated/src/models/mappers.d.ts +0 -9
- package/dist/react-native/generated/src/models/mappers.d.ts.map +0 -1
- package/dist/react-native/generated/src/models/mappers.js +0 -208
- package/dist/react-native/generated/src/models/mappers.js.map +0 -1
- package/dist/react-native/generated/src/models/parameters.d.ts +0 -10
- package/dist/react-native/generated/src/models/parameters.d.ts.map +0 -1
- package/dist/react-native/generated/src/models/parameters.js +0 -75
- package/dist/react-native/generated/src/models/parameters.js.map +0 -1
- package/dist/react-native/generated/src/operations/acsVerificationOperations.d.ts +0 -40
- package/dist/react-native/generated/src/operations/acsVerificationOperations.d.ts.map +0 -1
- package/dist/react-native/generated/src/operations/acsVerificationOperations.js +0 -167
- package/dist/react-native/generated/src/operations/acsVerificationOperations.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/acsVerificationOperations.d.ts +0 -32
- package/dist/react-native/generated/src/operationsInterfaces/acsVerificationOperations.d.ts.map +0 -1
- package/dist/react-native/generated/src/operationsInterfaces/acsVerificationOperations.js +0 -9
- package/dist/react-native/generated/src/operationsInterfaces/acsVerificationOperations.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/recipientVerificationClient.d.ts +0 -17
- package/dist/react-native/generated/src/recipientVerificationClient.d.ts.map +0 -1
- package/dist/react-native/generated/src/recipientVerificationClient.js.map +0 -1
- 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 -4
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/index.js +0 -6
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/mappers.d.ts +0 -6
- package/dist/react-native/mappers.d.ts.map +0 -1
- package/dist/react-native/mappers.js +0 -8
- package/dist/react-native/mappers.js.map +0 -1
- package/dist/react-native/models.d.ts +0 -2
- 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/react-native/recipientVerificationClient.d.ts +0 -74
- package/dist/react-native/recipientVerificationClient.d.ts.map +0 -1
- package/dist/react-native/recipientVerificationClient.js +0 -82
- package/dist/react-native/recipientVerificationClient.js.map +0 -1
- package/dist/react-native/utils/constants.d.ts +0 -2
- package/dist/react-native/utils/constants.d.ts.map +0 -1
- package/dist/react-native/utils/constants.js +0 -4
- package/dist/react-native/utils/constants.js.map +0 -1
- package/dist/react-native/utils/index.d.ts +0 -3
- package/dist/react-native/utils/index.d.ts.map +0 -1
- package/dist/react-native/utils/index.js +0 -5
- package/dist/react-native/utils/index.js.map +0 -1
- package/dist/react-native/utils/logger.d.ts +0 -5
- package/dist/react-native/utils/logger.d.ts.map +0 -1
- package/dist/react-native/utils/logger.js +0 -8
- package/dist/react-native/utils/logger.js.map +0 -1
- /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/acsVerificationOperations.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}/utils/constants.js +0 -0
- /package/{dist/browser → dist-esm/src}/utils/constants.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/utils/logger.js +0 -0
- /package/{dist/browser → dist-esm/src}/utils/logger.js.map +0 -0
- /package/{dist → types}/communication-recipient-verification.d.ts +0 -0
|
@@ -1,211 +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.VerificationConstantsResponse = exports.VerificationCodeRequest = exports.VerificationResponse = exports.VerificationRequest = exports.CommunicationError = exports.CommunicationErrorResponse = exports.AcsVerification = void 0;
|
|
11
|
-
exports.AcsVerification = {
|
|
12
|
-
type: {
|
|
13
|
-
name: "Composite",
|
|
14
|
-
className: "AcsVerification",
|
|
15
|
-
modelProperties: {
|
|
16
|
-
immutableId: {
|
|
17
|
-
serializedName: "ImmutableId",
|
|
18
|
-
type: {
|
|
19
|
-
name: "String"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
verificationId: {
|
|
23
|
-
serializedName: "VerificationId",
|
|
24
|
-
type: {
|
|
25
|
-
name: "String"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
status: {
|
|
29
|
-
serializedName: "Status",
|
|
30
|
-
type: {
|
|
31
|
-
name: "String"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
subscriptionId: {
|
|
35
|
-
serializedName: "SubscriptionId",
|
|
36
|
-
type: {
|
|
37
|
-
name: "String"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
identity: {
|
|
41
|
-
serializedName: "Identity",
|
|
42
|
-
type: {
|
|
43
|
-
name: "String"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
challengeId: {
|
|
47
|
-
serializedName: "ChallengeId",
|
|
48
|
-
type: {
|
|
49
|
-
name: "String"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
retries: {
|
|
53
|
-
serializedName: "Retries",
|
|
54
|
-
type: {
|
|
55
|
-
name: "Number"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
attempts: {
|
|
59
|
-
serializedName: "Attempts",
|
|
60
|
-
type: {
|
|
61
|
-
name: "Number"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
exports.CommunicationErrorResponse = {
|
|
68
|
-
type: {
|
|
69
|
-
name: "Composite",
|
|
70
|
-
className: "CommunicationErrorResponse",
|
|
71
|
-
modelProperties: {
|
|
72
|
-
error: {
|
|
73
|
-
serializedName: "error",
|
|
74
|
-
type: {
|
|
75
|
-
name: "Composite",
|
|
76
|
-
className: "CommunicationError"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
exports.CommunicationError = {
|
|
83
|
-
type: {
|
|
84
|
-
name: "Composite",
|
|
85
|
-
className: "CommunicationError",
|
|
86
|
-
modelProperties: {
|
|
87
|
-
code: {
|
|
88
|
-
serializedName: "code",
|
|
89
|
-
required: true,
|
|
90
|
-
type: {
|
|
91
|
-
name: "String"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
message: {
|
|
95
|
-
serializedName: "message",
|
|
96
|
-
required: true,
|
|
97
|
-
type: {
|
|
98
|
-
name: "String"
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
target: {
|
|
102
|
-
serializedName: "target",
|
|
103
|
-
readOnly: true,
|
|
104
|
-
type: {
|
|
105
|
-
name: "String"
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
details: {
|
|
109
|
-
serializedName: "details",
|
|
110
|
-
readOnly: true,
|
|
111
|
-
type: {
|
|
112
|
-
name: "Sequence",
|
|
113
|
-
element: {
|
|
114
|
-
type: {
|
|
115
|
-
name: "Composite",
|
|
116
|
-
className: "CommunicationError"
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
innerError: {
|
|
122
|
-
serializedName: "innererror",
|
|
123
|
-
type: {
|
|
124
|
-
name: "Composite",
|
|
125
|
-
className: "CommunicationError"
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
exports.VerificationRequest = {
|
|
132
|
-
type: {
|
|
133
|
-
name: "Composite",
|
|
134
|
-
className: "VerificationRequest",
|
|
135
|
-
modelProperties: {
|
|
136
|
-
identity: {
|
|
137
|
-
serializedName: "Identity",
|
|
138
|
-
type: {
|
|
139
|
-
name: "String"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
channel: {
|
|
143
|
-
serializedName: "Channel",
|
|
144
|
-
type: {
|
|
145
|
-
name: "String"
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
|
-
exports.VerificationResponse = {
|
|
152
|
-
type: {
|
|
153
|
-
name: "Composite",
|
|
154
|
-
className: "VerificationResponse",
|
|
155
|
-
modelProperties: {
|
|
156
|
-
verificationId: {
|
|
157
|
-
serializedName: "VerificationId",
|
|
158
|
-
type: {
|
|
159
|
-
name: "String"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
isVerified: {
|
|
163
|
-
serializedName: "IsVerified",
|
|
164
|
-
type: {
|
|
165
|
-
name: "Boolean"
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
exports.VerificationCodeRequest = {
|
|
172
|
-
type: {
|
|
173
|
-
name: "Composite",
|
|
174
|
-
className: "VerificationCodeRequest",
|
|
175
|
-
modelProperties: {
|
|
176
|
-
verificationCode: {
|
|
177
|
-
serializedName: "VerificationCode",
|
|
178
|
-
type: {
|
|
179
|
-
name: "String"
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
};
|
|
185
|
-
exports.VerificationConstantsResponse = {
|
|
186
|
-
type: {
|
|
187
|
-
name: "Composite",
|
|
188
|
-
className: "VerificationConstantsResponse",
|
|
189
|
-
modelProperties: {
|
|
190
|
-
maxRetriesAllowed: {
|
|
191
|
-
serializedName: "MaxRetriesAllowed",
|
|
192
|
-
type: {
|
|
193
|
-
name: "Number"
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
maxVerificationsAllowed: {
|
|
197
|
-
serializedName: "MaxVerificationsAllowed",
|
|
198
|
-
type: {
|
|
199
|
-
name: "Number"
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
currentNumberOfVerifications: {
|
|
203
|
-
serializedName: "CurrentNumberOfVerifications",
|
|
204
|
-
type: {
|
|
205
|
-
name: "Number"
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
};
|
|
211
|
-
//# 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,eAAe,GAA+B;IACzD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iBAAiB;QAC5B,eAAe,EAAE;YACf,WAAW,EAAE;gBACX,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,cAAc,EAAE;gBACd,cAAc,EAAE,gBAAgB;gBAChC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,cAAc,EAAE;gBACd,cAAc,EAAE,gBAAgB;gBAChC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,WAAW,EAAE;gBACX,cAAc,EAAE,aAAa;gBAC7B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,0BAA0B,GAA+B;IACpE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,4BAA4B;QACvC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO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I,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,oBAAoB,GAA+B;IAC9D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,sBAAsB;QACjC,eAAe,EAAE;YACf,cAAc,EAAE;gBACd,cAAc,EAAE,gBAAgB;gBAChC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;iBAChB;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,uBAAuB,GAA+B;IACjE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yBAAyB;QACpC,eAAe,EAAE;YACf,gBAAgB,EAAE;gBAChB,cAAc,EAAE,kBAAkB;gBAClC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEW,QAAA,6BAA6B,GAA+B;IACvE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,+BAA+B;QAC1C,eAAe,EAAE;YACf,iBAAiB,EAAE;gBACjB,cAAc,EAAE,mBAAmB;gBACnC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,uBAAuB,EAAE;gBACvB,cAAc,EAAE,yBAAyB;gBACzC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,4BAA4B,EAAE;gBAC5B,cAAc,EAAE,8BAA8B;gBAC9C,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 AcsVerification: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AcsVerification\",\n modelProperties: {\n immutableId: {\n serializedName: \"ImmutableId\",\n type: {\n name: \"String\"\n }\n },\n verificationId: {\n serializedName: \"VerificationId\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"Status\",\n type: {\n name: \"String\"\n }\n },\n subscriptionId: {\n serializedName: \"SubscriptionId\",\n type: {\n name: \"String\"\n }\n },\n identity: {\n serializedName: \"Identity\",\n type: {\n name: \"String\"\n }\n },\n challengeId: {\n serializedName: \"ChallengeId\",\n type: {\n name: \"String\"\n }\n },\n retries: {\n serializedName: \"Retries\",\n type: {\n name: \"Number\"\n }\n },\n attempts: {\n serializedName: \"Attempts\",\n type: {\n name: \"Number\"\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 VerificationRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VerificationRequest\",\n modelProperties: {\n identity: {\n serializedName: \"Identity\",\n type: {\n name: \"String\"\n }\n },\n channel: {\n serializedName: \"Channel\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const VerificationResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VerificationResponse\",\n modelProperties: {\n verificationId: {\n serializedName: \"VerificationId\",\n type: {\n name: \"String\"\n }\n },\n isVerified: {\n serializedName: \"IsVerified\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const VerificationCodeRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VerificationCodeRequest\",\n modelProperties: {\n verificationCode: {\n serializedName: \"VerificationCode\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const VerificationConstantsResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VerificationConstantsResponse\",\n modelProperties: {\n maxRetriesAllowed: {\n serializedName: \"MaxRetriesAllowed\",\n type: {\n name: \"Number\"\n }\n },\n maxVerificationsAllowed: {\n serializedName: \"MaxVerificationsAllowed\",\n type: {\n name: \"Number\"\n }\n },\n currentNumberOfVerifications: {\n serializedName: \"CurrentNumberOfVerifications\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
-
export declare const accept: OperationParameter;
|
|
3
|
-
export declare const endpoint: OperationURLParameter;
|
|
4
|
-
export declare const apiVersion: OperationQueryParameter;
|
|
5
|
-
export declare const contentType: OperationParameter;
|
|
6
|
-
export declare const identity: OperationParameter;
|
|
7
|
-
export declare const channel: OperationParameter;
|
|
8
|
-
export declare const verificationCode: OperationParameter;
|
|
9
|
-
export declare const verificationId: OperationURLParameter;
|
|
10
|
-
//# 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;AAM5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,kBAGtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,kBAGrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,kBAG9B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC"}
|
|
@@ -1,78 +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.verificationId = exports.verificationCode = exports.channel = exports.identity = exports.contentType = exports.apiVersion = exports.endpoint = exports.accept = void 0;
|
|
11
|
-
const mappers_js_1 = require("../models/mappers.js");
|
|
12
|
-
exports.accept = {
|
|
13
|
-
parameterPath: "accept",
|
|
14
|
-
mapper: {
|
|
15
|
-
defaultValue: "application/json",
|
|
16
|
-
isConstant: true,
|
|
17
|
-
serializedName: "Accept",
|
|
18
|
-
type: {
|
|
19
|
-
name: "String"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
exports.endpoint = {
|
|
24
|
-
parameterPath: "endpoint",
|
|
25
|
-
mapper: {
|
|
26
|
-
serializedName: "endpoint",
|
|
27
|
-
required: true,
|
|
28
|
-
type: {
|
|
29
|
-
name: "String"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
skipEncoding: true
|
|
33
|
-
};
|
|
34
|
-
exports.apiVersion = {
|
|
35
|
-
parameterPath: "apiVersion",
|
|
36
|
-
mapper: {
|
|
37
|
-
defaultValue: "2022-11-15",
|
|
38
|
-
isConstant: true,
|
|
39
|
-
serializedName: "api-version",
|
|
40
|
-
type: {
|
|
41
|
-
name: "String"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
exports.contentType = {
|
|
46
|
-
parameterPath: ["options", "contentType"],
|
|
47
|
-
mapper: {
|
|
48
|
-
defaultValue: "application/json",
|
|
49
|
-
isConstant: true,
|
|
50
|
-
serializedName: "Content-Type",
|
|
51
|
-
type: {
|
|
52
|
-
name: "String"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
exports.identity = {
|
|
57
|
-
parameterPath: ["options", "identity"],
|
|
58
|
-
mapper: mappers_js_1.VerificationRequest
|
|
59
|
-
};
|
|
60
|
-
exports.channel = {
|
|
61
|
-
parameterPath: ["options", "channel"],
|
|
62
|
-
mapper: mappers_js_1.VerificationRequest
|
|
63
|
-
};
|
|
64
|
-
exports.verificationCode = {
|
|
65
|
-
parameterPath: ["options", "verificationCode"],
|
|
66
|
-
mapper: mappers_js_1.VerificationCodeRequest
|
|
67
|
-
};
|
|
68
|
-
exports.verificationId = {
|
|
69
|
-
parameterPath: "verificationId",
|
|
70
|
-
mapper: {
|
|
71
|
-
serializedName: "verificationId",
|
|
72
|
-
required: true,
|
|
73
|
-
type: {
|
|
74
|
-
name: "Uuid"
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
//# 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;;;AA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IACnD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,cAAc,EAAE,gBAAgB;QAChC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;SACb;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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n VerificationRequest as VerificationRequestMapper,\n VerificationCodeRequest as VerificationCodeRequestMapper\n} from \"../models/mappers.js\";\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 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: \"2022-11-15\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\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 identity: OperationParameter = {\n parameterPath: [\"options\", \"identity\"],\n mapper: VerificationRequestMapper\n};\n\nexport const channel: OperationParameter = {\n parameterPath: [\"options\", \"channel\"],\n mapper: VerificationRequestMapper\n};\n\nexport const verificationCode: OperationParameter = {\n parameterPath: [\"options\", \"verificationCode\"],\n mapper: VerificationCodeRequestMapper\n};\n\nexport const verificationId: OperationURLParameter = {\n parameterPath: \"verificationId\",\n mapper: {\n serializedName: \"verificationId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n"]}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { AcsVerificationOperations } from "../operationsInterfaces/index.js";
|
|
2
|
-
import { RecipientVerificationClient } from "../recipientVerificationClient.js";
|
|
3
|
-
import { AcsVerificationGetVerificationsOptionalParams, AcsVerificationGetVerificationsResponse, AcsVerificationRequestVerificationOptionalParams, AcsVerificationRequestVerificationResponse, AcsVerificationVerifyIdentityOptionalParams, AcsVerificationVerifyIdentityResponse, AcsVerificationDeleteVerificationOptionalParams, AcsVerificationGetVerificationConstantsOptionalParams, AcsVerificationGetVerificationConstantsResponse } from "../models/index.js";
|
|
4
|
-
/** Class containing AcsVerificationOperations operations. */
|
|
5
|
-
export declare class AcsVerificationOperationsImpl implements AcsVerificationOperations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Initialize a new instance of the class AcsVerificationOperations class.
|
|
9
|
-
* @param client Reference to the service client
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: RecipientVerificationClient);
|
|
12
|
-
/**
|
|
13
|
-
* Gets the array of verified phone numbers for the current resource.
|
|
14
|
-
* @param options The options parameters.
|
|
15
|
-
*/
|
|
16
|
-
getVerifications(options?: AcsVerificationGetVerificationsOptionalParams): Promise<AcsVerificationGetVerificationsResponse>;
|
|
17
|
-
/**
|
|
18
|
-
* Request the identity for the verification.
|
|
19
|
-
* @param options The options parameters.
|
|
20
|
-
*/
|
|
21
|
-
requestVerification(options?: AcsVerificationRequestVerificationOptionalParams): Promise<AcsVerificationRequestVerificationResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* Verify that the user received the correct verification code.
|
|
24
|
-
* @param verificationId Verification Id. Must be a valid GUID
|
|
25
|
-
* @param options The options parameters.
|
|
26
|
-
*/
|
|
27
|
-
verifyIdentity(verificationId: string, options?: AcsVerificationVerifyIdentityOptionalParams): Promise<AcsVerificationVerifyIdentityResponse>;
|
|
28
|
-
/**
|
|
29
|
-
* Deleting a verification.
|
|
30
|
-
* @param verificationId Verification Id. Must be a valid GUID
|
|
31
|
-
* @param options The options parameters.
|
|
32
|
-
*/
|
|
33
|
-
deleteVerification(verificationId: string, options?: AcsVerificationDeleteVerificationOptionalParams): Promise<void>;
|
|
34
|
-
/**
|
|
35
|
-
* Getting all the constants for the resource.
|
|
36
|
-
* @param options The options parameters.
|
|
37
|
-
*/
|
|
38
|
-
getVerificationConstants(options?: AcsVerificationGetVerificationConstantsOptionalParams): Promise<AcsVerificationGetVerificationConstantsResponse>;
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=acsVerificationOperations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acsVerificationOperations.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/acsVerificationOperations.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EACL,6CAA6C,EAC7C,uCAAuC,EACvC,gDAAgD,EAChD,0CAA0C,EAC1C,2CAA2C,EAC3C,qCAAqC,EACrC,+CAA+C,EAC/C,qDAAqD,EACrD,+CAA+C,EAChD,MAAM,oBAAoB,CAAC;AAE5B,6DAA6D;AAC7D,qBAAa,6BACX,YAAW,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;OAGG;IACG,gBAAgB,CACpB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAanD;;;OAGG;IACG,mBAAmB,CACvB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;IAatD;;;;OAIG;IACG,cAAc,CAClB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAajD;;;;OAIG;IACG,kBAAkB,CACtB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,IAAI,CAAC;IAahB;;;OAGG;IACG,wBAAwB,CAC5B,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,+CAA+C,CAAC;CAY5D"}
|
|
@@ -1,172 +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.AcsVerificationOperationsImpl = void 0;
|
|
11
|
-
const tslib_1 = require("tslib");
|
|
12
|
-
const tracing_js_1 = require("../tracing.js");
|
|
13
|
-
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
-
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
-
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
-
/** Class containing AcsVerificationOperations operations. */
|
|
17
|
-
class AcsVerificationOperationsImpl {
|
|
18
|
-
/**
|
|
19
|
-
* Initialize a new instance of the class AcsVerificationOperations class.
|
|
20
|
-
* @param client Reference to the service client
|
|
21
|
-
*/
|
|
22
|
-
constructor(client) {
|
|
23
|
-
this.client = client;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Gets the array of verified phone numbers for the current resource.
|
|
27
|
-
* @param options The options parameters.
|
|
28
|
-
*/
|
|
29
|
-
async getVerifications(options) {
|
|
30
|
-
return tracing_js_1.tracingClient.withSpan("RecipientVerificationClient.getVerifications", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
31
|
-
return this.client.sendOperationRequest({ options }, getVerificationsOperationSpec);
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Request the identity for the verification.
|
|
36
|
-
* @param options The options parameters.
|
|
37
|
-
*/
|
|
38
|
-
async requestVerification(options) {
|
|
39
|
-
return tracing_js_1.tracingClient.withSpan("RecipientVerificationClient.requestVerification", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
40
|
-
return this.client.sendOperationRequest({ options }, requestVerificationOperationSpec);
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Verify that the user received the correct verification code.
|
|
45
|
-
* @param verificationId Verification Id. Must be a valid GUID
|
|
46
|
-
* @param options The options parameters.
|
|
47
|
-
*/
|
|
48
|
-
async verifyIdentity(verificationId, options) {
|
|
49
|
-
return tracing_js_1.tracingClient.withSpan("RecipientVerificationClient.verifyIdentity", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
50
|
-
return this.client.sendOperationRequest({ verificationId, options }, verifyIdentityOperationSpec);
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Deleting a verification.
|
|
55
|
-
* @param verificationId Verification Id. Must be a valid GUID
|
|
56
|
-
* @param options The options parameters.
|
|
57
|
-
*/
|
|
58
|
-
async deleteVerification(verificationId, options) {
|
|
59
|
-
return tracing_js_1.tracingClient.withSpan("RecipientVerificationClient.deleteVerification", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
60
|
-
return this.client.sendOperationRequest({ verificationId, options }, deleteVerificationOperationSpec);
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Getting all the constants for the resource.
|
|
65
|
-
* @param options The options parameters.
|
|
66
|
-
*/
|
|
67
|
-
async getVerificationConstants(options) {
|
|
68
|
-
return tracing_js_1.tracingClient.withSpan("RecipientVerificationClient.getVerificationConstants", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
69
|
-
return this.client.sendOperationRequest({ options }, getVerificationConstantsOperationSpec);
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
exports.AcsVerificationOperationsImpl = AcsVerificationOperationsImpl;
|
|
74
|
-
// Operation Specifications
|
|
75
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
76
|
-
const getVerificationsOperationSpec = {
|
|
77
|
-
path: "/verifications",
|
|
78
|
-
httpMethod: "GET",
|
|
79
|
-
responses: {
|
|
80
|
-
200: {
|
|
81
|
-
bodyMapper: {
|
|
82
|
-
type: {
|
|
83
|
-
name: "Sequence",
|
|
84
|
-
element: { type: { name: "Composite", className: "AcsVerification" } }
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
default: {
|
|
89
|
-
bodyMapper: Mappers.CommunicationErrorResponse
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
queryParameters: [Parameters.apiVersion],
|
|
93
|
-
urlParameters: [Parameters.endpoint],
|
|
94
|
-
headerParameters: [Parameters.accept],
|
|
95
|
-
serializer
|
|
96
|
-
};
|
|
97
|
-
const requestVerificationOperationSpec = {
|
|
98
|
-
path: "/verifications",
|
|
99
|
-
httpMethod: "POST",
|
|
100
|
-
responses: {
|
|
101
|
-
200: {
|
|
102
|
-
bodyMapper: Mappers.VerificationResponse
|
|
103
|
-
},
|
|
104
|
-
default: {
|
|
105
|
-
bodyMapper: Mappers.CommunicationErrorResponse
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
requestBody: {
|
|
109
|
-
parameterPath: {
|
|
110
|
-
identity: ["options", "identity"],
|
|
111
|
-
channel: ["options", "channel"]
|
|
112
|
-
},
|
|
113
|
-
mapper: Mappers.VerificationRequest
|
|
114
|
-
},
|
|
115
|
-
queryParameters: [Parameters.apiVersion],
|
|
116
|
-
urlParameters: [Parameters.endpoint],
|
|
117
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
118
|
-
mediaType: "json",
|
|
119
|
-
serializer
|
|
120
|
-
};
|
|
121
|
-
const verifyIdentityOperationSpec = {
|
|
122
|
-
path: "/verifications/{verificationId}/check",
|
|
123
|
-
httpMethod: "POST",
|
|
124
|
-
responses: {
|
|
125
|
-
200: {
|
|
126
|
-
bodyMapper: Mappers.VerificationResponse
|
|
127
|
-
},
|
|
128
|
-
default: {
|
|
129
|
-
bodyMapper: Mappers.CommunicationErrorResponse
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
requestBody: {
|
|
133
|
-
parameterPath: { verificationCode: ["options", "verificationCode"] },
|
|
134
|
-
mapper: Mappers.VerificationCodeRequest
|
|
135
|
-
},
|
|
136
|
-
queryParameters: [Parameters.apiVersion],
|
|
137
|
-
urlParameters: [Parameters.endpoint, Parameters.verificationId],
|
|
138
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
139
|
-
mediaType: "json",
|
|
140
|
-
serializer
|
|
141
|
-
};
|
|
142
|
-
const deleteVerificationOperationSpec = {
|
|
143
|
-
path: "/verifications/{verificationId}/",
|
|
144
|
-
httpMethod: "DELETE",
|
|
145
|
-
responses: {
|
|
146
|
-
200: {},
|
|
147
|
-
default: {
|
|
148
|
-
bodyMapper: Mappers.CommunicationErrorResponse
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
queryParameters: [Parameters.apiVersion],
|
|
152
|
-
urlParameters: [Parameters.endpoint, Parameters.verificationId],
|
|
153
|
-
headerParameters: [Parameters.accept],
|
|
154
|
-
serializer
|
|
155
|
-
};
|
|
156
|
-
const getVerificationConstantsOperationSpec = {
|
|
157
|
-
path: "/verifications/configuration",
|
|
158
|
-
httpMethod: "GET",
|
|
159
|
-
responses: {
|
|
160
|
-
200: {
|
|
161
|
-
bodyMapper: Mappers.VerificationConstantsResponse
|
|
162
|
-
},
|
|
163
|
-
default: {
|
|
164
|
-
bodyMapper: Mappers.CommunicationErrorResponse
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
queryParameters: [Parameters.apiVersion],
|
|
168
|
-
urlParameters: [Parameters.endpoint],
|
|
169
|
-
headerParameters: [Parameters.accept],
|
|
170
|
-
serializer
|
|
171
|
-
};
|
|
172
|
-
//# sourceMappingURL=acsVerificationOperations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acsVerificationOperations.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/acsVerificationOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,8CAA8C;AAE9C,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AActD,6DAA6D;AAC7D,MAAa,6BAA6B;IAIxC;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAuD;QAEvD,OAAO,0BAAa,CAAC,QAAQ,CAC3B,8CAA8C,EAC9C,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,6BAA6B,CACsB,CAAC;QACxD,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,mBAAmB,CACvB,OAA0D;QAE1D,OAAO,0BAAa,CAAC,QAAQ,CAC3B,iDAAiD,EACjD,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,gCAAgC,CACsB,CAAC;QAC3D,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,cAAc,CAClB,cAAsB,EACtB,OAAqD;QAErD,OAAO,0BAAa,CAAC,QAAQ,CAC3B,4CAA4C,EAC5C,OAAO,aAAP,OAAO,cAAP,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O,CAAC,uBAAuB;KACxC;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,cAAc,CAAC;IAC/D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,kCAAkC;IACxC,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,cAAc,CAAC;IAC/D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qCAAqC,GAA6B;IACtE,IAAI,EAAE,8BAA8B;IACpC,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,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 { AcsVerificationOperations } 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 { RecipientVerificationClient } from \"../recipientVerificationClient.js\";\nimport {\n AcsVerificationGetVerificationsOptionalParams,\n AcsVerificationGetVerificationsResponse,\n AcsVerificationRequestVerificationOptionalParams,\n AcsVerificationRequestVerificationResponse,\n AcsVerificationVerifyIdentityOptionalParams,\n AcsVerificationVerifyIdentityResponse,\n AcsVerificationDeleteVerificationOptionalParams,\n AcsVerificationGetVerificationConstantsOptionalParams,\n AcsVerificationGetVerificationConstantsResponse\n} from \"../models/index.js\";\n\n/** Class containing AcsVerificationOperations operations. */\nexport class AcsVerificationOperationsImpl\n implements AcsVerificationOperations {\n private readonly client: RecipientVerificationClient;\n\n /**\n * Initialize a new instance of the class AcsVerificationOperations class.\n * @param client Reference to the service client\n */\n constructor(client: RecipientVerificationClient) {\n this.client = client;\n }\n\n /**\n * Gets the array of verified phone numbers for the current resource.\n * @param options The options parameters.\n */\n async getVerifications(\n options?: AcsVerificationGetVerificationsOptionalParams\n ): Promise<AcsVerificationGetVerificationsResponse> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.getVerifications\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n getVerificationsOperationSpec\n ) as Promise<AcsVerificationGetVerificationsResponse>;\n }\n );\n }\n\n /**\n * Request the identity for the verification.\n * @param options The options parameters.\n */\n async requestVerification(\n options?: AcsVerificationRequestVerificationOptionalParams\n ): Promise<AcsVerificationRequestVerificationResponse> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.requestVerification\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n requestVerificationOperationSpec\n ) as Promise<AcsVerificationRequestVerificationResponse>;\n }\n );\n }\n\n /**\n * Verify that the user received the correct verification code.\n * @param verificationId Verification Id. Must be a valid GUID\n * @param options The options parameters.\n */\n async verifyIdentity(\n verificationId: string,\n options?: AcsVerificationVerifyIdentityOptionalParams\n ): Promise<AcsVerificationVerifyIdentityResponse> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.verifyIdentity\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { verificationId, options },\n verifyIdentityOperationSpec\n ) as Promise<AcsVerificationVerifyIdentityResponse>;\n }\n );\n }\n\n /**\n * Deleting a verification.\n * @param verificationId Verification Id. Must be a valid GUID\n * @param options The options parameters.\n */\n async deleteVerification(\n verificationId: string,\n options?: AcsVerificationDeleteVerificationOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.deleteVerification\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { verificationId, options },\n deleteVerificationOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Getting all the constants for the resource.\n * @param options The options parameters.\n */\n async getVerificationConstants(\n options?: AcsVerificationGetVerificationConstantsOptionalParams\n ): Promise<AcsVerificationGetVerificationConstantsResponse> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.getVerificationConstants\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n getVerificationConstantsOperationSpec\n ) as Promise<AcsVerificationGetVerificationConstantsResponse>;\n }\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getVerificationsOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: {\n name: \"Sequence\",\n element: { type: { name: \"Composite\", className: \"AcsVerification\" } }\n }\n }\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst requestVerificationOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.VerificationResponse\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: {\n parameterPath: {\n identity: [\"options\", \"identity\"],\n channel: [\"options\", \"channel\"]\n },\n mapper: Mappers.VerificationRequest\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst verifyIdentityOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications/{verificationId}/check\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.VerificationResponse\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: {\n parameterPath: { verificationCode: [\"options\", \"verificationCode\"] },\n mapper: Mappers.VerificationCodeRequest\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.verificationId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteVerificationOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications/{verificationId}/\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.verificationId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getVerificationConstantsOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications/configuration\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VerificationConstantsResponse\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,gCAAgC,CAAC"}
|
|
@@ -1,12 +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
|
-
const tslib_1 = require("tslib");
|
|
11
|
-
tslib_1.__exportStar(require("./acsVerificationOperations.js"), exports);
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,yEAA+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\nexport * from \"./acsVerificationOperations.js\";\n"]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { AcsVerificationGetVerificationsOptionalParams, AcsVerificationGetVerificationsResponse, AcsVerificationRequestVerificationOptionalParams, AcsVerificationRequestVerificationResponse, AcsVerificationVerifyIdentityOptionalParams, AcsVerificationVerifyIdentityResponse, AcsVerificationDeleteVerificationOptionalParams, AcsVerificationGetVerificationConstantsOptionalParams, AcsVerificationGetVerificationConstantsResponse } from "../models/index.js";
|
|
2
|
-
/** Interface representing a AcsVerificationOperations. */
|
|
3
|
-
export interface AcsVerificationOperations {
|
|
4
|
-
/**
|
|
5
|
-
* Gets the array of verified phone numbers for the current resource.
|
|
6
|
-
* @param options The options parameters.
|
|
7
|
-
*/
|
|
8
|
-
getVerifications(options?: AcsVerificationGetVerificationsOptionalParams): Promise<AcsVerificationGetVerificationsResponse>;
|
|
9
|
-
/**
|
|
10
|
-
* Request the identity for the verification.
|
|
11
|
-
* @param options The options parameters.
|
|
12
|
-
*/
|
|
13
|
-
requestVerification(options?: AcsVerificationRequestVerificationOptionalParams): Promise<AcsVerificationRequestVerificationResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* Verify that the user received the correct verification code.
|
|
16
|
-
* @param verificationId Verification Id. Must be a valid GUID
|
|
17
|
-
* @param options The options parameters.
|
|
18
|
-
*/
|
|
19
|
-
verifyIdentity(verificationId: string, options?: AcsVerificationVerifyIdentityOptionalParams): Promise<AcsVerificationVerifyIdentityResponse>;
|
|
20
|
-
/**
|
|
21
|
-
* Deleting a verification.
|
|
22
|
-
* @param verificationId Verification Id. Must be a valid GUID
|
|
23
|
-
* @param options The options parameters.
|
|
24
|
-
*/
|
|
25
|
-
deleteVerification(verificationId: string, options?: AcsVerificationDeleteVerificationOptionalParams): Promise<void>;
|
|
26
|
-
/**
|
|
27
|
-
* Getting all the constants for the resource.
|
|
28
|
-
* @param options The options parameters.
|
|
29
|
-
*/
|
|
30
|
-
getVerificationConstants(options?: AcsVerificationGetVerificationConstantsOptionalParams): Promise<AcsVerificationGetVerificationConstantsResponse>;
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=acsVerificationOperations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acsVerificationOperations.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/acsVerificationOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,6CAA6C,EAC7C,uCAAuC,EACvC,gDAAgD,EAChD,0CAA0C,EAC1C,2CAA2C,EAC3C,qCAAqC,EACrC,+CAA+C,EAC/C,qDAAqD,EACrD,+CAA+C,EAChD,MAAM,oBAAoB,CAAC;AAE5B,0DAA0D;AAC1D,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,gBAAgB,CACd,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;IACpD;;;OAGG;IACH,mBAAmB,CACjB,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;IACvD;;;;OAIG;IACH,cAAc,CACZ,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;OAIG;IACH,kBAAkB,CAChB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;OAGG;IACH,wBAAwB,CACtB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,OAAO,CAAC,+CAA+C,CAAC,CAAC;CAC7D"}
|
|
@@ -1,10 +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
|
-
//# sourceMappingURL=acsVerificationOperations.js.map
|