@azure-tools/communication-recipient-verification 1.0.0-alpha.20241122.8 → 1.0.0-alpha.20241203.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/generated/src/index.d.ts +4 -0
- package/dist/browser/generated/src/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/index.js +3 -3
- package/dist/browser/generated/src/index.js.map +1 -0
- package/dist/browser/generated/src/models/index.d.ts +112 -0
- package/dist/browser/generated/src/models/index.d.ts.map +1 -0
- package/dist/browser/generated/src/models/mappers.d.ts +9 -0
- package/dist/browser/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/browser/generated/src/models/parameters.d.ts +10 -0
- package/dist/browser/generated/src/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/models/parameters.js +1 -1
- package/{dist-esm/src → dist/browser}/generated/src/models/parameters.js.map +1 -1
- package/dist/browser/generated/src/operations/acsVerificationOperations.d.ts +40 -0
- package/dist/browser/generated/src/operations/acsVerificationOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/operations/acsVerificationOperations.js +3 -3
- package/dist/browser/generated/src/operations/acsVerificationOperations.js.map +1 -0
- package/dist/browser/generated/src/operations/index.d.ts +2 -0
- package/dist/browser/generated/src/operations/index.d.ts.map +1 -0
- package/dist/browser/generated/src/operations/index.js +9 -0
- package/{dist-esm/src → dist/browser}/generated/src/operations/index.js.map +1 -1
- package/dist/browser/generated/src/operationsInterfaces/acsVerificationOperations.d.ts +32 -0
- package/dist/browser/generated/src/operationsInterfaces/acsVerificationOperations.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/acsVerificationOperations.js.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts +2 -0
- package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/generated/src/operationsInterfaces/index.js +9 -0
- package/{dist-esm/src → dist/browser}/generated/src/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/generated/src/recipientVerificationClient.d.ts +17 -0
- package/dist/browser/generated/src/recipientVerificationClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/src/recipientVerificationClient.js +1 -1
- package/dist/browser/generated/src/recipientVerificationClient.js.map +1 -0
- package/dist/browser/generated/src/tracing.d.ts +2 -0
- package/dist/browser/generated/src/tracing.d.ts.map +1 -0
- package/dist/browser/index.d.ts +4 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/mappers.d.ts +6 -0
- package/dist/browser/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/mappers.js +5 -5
- package/dist/browser/mappers.js.map +1 -0
- package/dist/browser/models.d.ts +2 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models.js.map +1 -1
- package/dist/browser/package.json +3 -0
- package/dist/browser/recipientVerificationClient.d.ts +74 -0
- package/dist/browser/recipientVerificationClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/recipientVerificationClient.js +3 -3
- package/dist/browser/recipientVerificationClient.js.map +1 -0
- package/dist/browser/utils/constants.d.ts +2 -0
- package/dist/browser/utils/constants.d.ts.map +1 -0
- package/dist/browser/utils/index.d.ts +3 -0
- package/dist/browser/utils/index.d.ts.map +1 -0
- package/dist/browser/utils/index.js +5 -0
- package/dist/browser/utils/index.js.map +1 -0
- package/dist/browser/utils/logger.d.ts +5 -0
- package/dist/browser/utils/logger.d.ts.map +1 -0
- package/dist/commonjs/generated/src/index.d.ts +4 -0
- package/dist/commonjs/generated/src/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/index.js +16 -0
- package/dist/commonjs/generated/src/index.js.map +1 -0
- package/dist/commonjs/generated/src/models/index.d.ts +112 -0
- package/dist/commonjs/generated/src/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/index.js +10 -0
- package/dist/commonjs/generated/src/models/index.js.map +1 -0
- package/dist/commonjs/generated/src/models/mappers.d.ts +9 -0
- package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/mappers.js +211 -0
- package/dist/commonjs/generated/src/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/src/models/parameters.d.ts +10 -0
- package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/src/models/parameters.js +78 -0
- package/dist/commonjs/generated/src/models/parameters.js.map +1 -0
- package/dist/commonjs/generated/src/operations/acsVerificationOperations.d.ts +40 -0
- package/dist/commonjs/generated/src/operations/acsVerificationOperations.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/acsVerificationOperations.js +172 -0
- package/dist/commonjs/generated/src/operations/acsVerificationOperations.js.map +1 -0
- package/dist/commonjs/generated/src/operations/index.d.ts +2 -0
- package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operations/index.js +12 -0
- package/dist/commonjs/generated/src/operations/index.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/acsVerificationOperations.d.ts +32 -0
- package/dist/commonjs/generated/src/operationsInterfaces/acsVerificationOperations.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/acsVerificationOperations.js +10 -0
- package/dist/commonjs/generated/src/operationsInterfaces/acsVerificationOperations.js.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +2 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.js +12 -0
- package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/generated/src/recipientVerificationClient.d.ts +17 -0
- package/dist/commonjs/generated/src/recipientVerificationClient.d.ts.map +1 -0
- package/dist/commonjs/generated/src/recipientVerificationClient.js +91 -0
- package/dist/commonjs/generated/src/recipientVerificationClient.js.map +1 -0
- package/dist/commonjs/generated/src/tracing.d.ts +2 -0
- package/dist/commonjs/generated/src/tracing.d.ts.map +1 -0
- package/dist/commonjs/generated/src/tracing.js +17 -0
- package/dist/commonjs/generated/src/tracing.js.map +1 -0
- package/dist/commonjs/index.d.ts +4 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +9 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/mappers.d.ts +6 -0
- package/dist/commonjs/mappers.d.ts.map +1 -0
- package/dist/commonjs/mappers.js +16 -0
- package/dist/commonjs/mappers.js.map +1 -0
- package/dist/commonjs/models.d.ts +2 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/recipientVerificationClient.d.ts +74 -0
- package/dist/commonjs/recipientVerificationClient.d.ts.map +1 -0
- package/dist/commonjs/recipientVerificationClient.js +86 -0
- package/dist/commonjs/recipientVerificationClient.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/commonjs/utils/constants.d.ts +2 -0
- package/dist/commonjs/utils/constants.d.ts.map +1 -0
- package/dist/commonjs/utils/constants.js +7 -0
- package/dist/commonjs/utils/constants.js.map +1 -0
- package/dist/commonjs/utils/index.d.ts +3 -0
- package/dist/commonjs/utils/index.d.ts.map +1 -0
- package/dist/commonjs/utils/index.js +8 -0
- package/dist/commonjs/utils/index.js.map +1 -0
- package/dist/commonjs/utils/logger.d.ts +5 -0
- package/dist/commonjs/utils/logger.d.ts.map +1 -0
- package/dist/commonjs/utils/logger.js +11 -0
- package/dist/commonjs/utils/logger.js.map +1 -0
- package/dist/esm/generated/src/index.d.ts +4 -0
- package/dist/esm/generated/src/index.d.ts.map +1 -0
- package/dist/esm/generated/src/index.js +11 -0
- package/dist/esm/generated/src/index.js.map +1 -0
- package/dist/esm/generated/src/models/index.d.ts +112 -0
- package/dist/esm/generated/src/models/index.d.ts.map +1 -0
- package/{dist-esm/src/generated/src/operationsInterfaces → dist/esm/generated/src/models}/index.js +1 -1
- package/dist/esm/generated/src/models/index.js.map +1 -0
- package/dist/esm/generated/src/models/mappers.d.ts +9 -0
- package/dist/esm/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/src/models/mappers.js +208 -0
- package/dist/esm/generated/src/models/mappers.js.map +1 -0
- package/dist/esm/generated/src/models/parameters.d.ts +10 -0
- package/dist/esm/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/src/models/parameters.js +75 -0
- package/dist/esm/generated/src/models/parameters.js.map +1 -0
- package/dist/esm/generated/src/operations/acsVerificationOperations.d.ts +40 -0
- package/dist/esm/generated/src/operations/acsVerificationOperations.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/acsVerificationOperations.js +167 -0
- package/dist/esm/generated/src/operations/acsVerificationOperations.js.map +1 -0
- package/dist/esm/generated/src/operations/index.d.ts +2 -0
- package/dist/esm/generated/src/operations/index.d.ts.map +1 -0
- package/dist/esm/generated/src/operations/index.js +9 -0
- package/dist/esm/generated/src/operations/index.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/acsVerificationOperations.d.ts +32 -0
- package/dist/esm/generated/src/operationsInterfaces/acsVerificationOperations.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/acsVerificationOperations.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/acsVerificationOperations.js.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts +2 -0
- package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/generated/src/operationsInterfaces/index.js +9 -0
- package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/generated/src/recipientVerificationClient.d.ts +17 -0
- package/dist/esm/generated/src/recipientVerificationClient.d.ts.map +1 -0
- package/dist/esm/generated/src/recipientVerificationClient.js +86 -0
- package/dist/esm/generated/src/recipientVerificationClient.js.map +1 -0
- package/dist/esm/generated/src/tracing.d.ts +2 -0
- package/dist/esm/generated/src/tracing.d.ts.map +1 -0
- package/dist/esm/generated/src/tracing.js +14 -0
- package/dist/esm/generated/src/tracing.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/mappers.d.ts +6 -0
- package/dist/esm/mappers.d.ts.map +1 -0
- package/dist/esm/mappers.js +8 -0
- package/dist/esm/mappers.js.map +1 -0
- package/dist/esm/models.d.ts +2 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/recipientVerificationClient.d.ts +74 -0
- package/dist/esm/recipientVerificationClient.d.ts.map +1 -0
- package/dist/esm/recipientVerificationClient.js +82 -0
- package/dist/esm/recipientVerificationClient.js.map +1 -0
- package/dist/esm/utils/constants.d.ts +2 -0
- package/dist/esm/utils/constants.d.ts.map +1 -0
- package/dist/esm/utils/constants.js +4 -0
- package/dist/esm/utils/constants.js.map +1 -0
- package/dist/esm/utils/index.d.ts +3 -0
- package/dist/esm/utils/index.d.ts.map +1 -0
- package/dist/esm/utils/index.js +5 -0
- package/dist/esm/utils/index.js.map +1 -0
- package/dist/esm/utils/logger.d.ts +5 -0
- package/dist/esm/utils/logger.d.ts.map +1 -0
- package/dist/esm/utils/logger.js +8 -0
- package/dist/esm/utils/logger.js.map +1 -0
- package/dist/react-native/generated/src/index.d.ts +4 -0
- package/dist/react-native/generated/src/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/index.js +11 -0
- package/dist/react-native/generated/src/index.js.map +1 -0
- package/dist/react-native/generated/src/models/index.d.ts +112 -0
- package/dist/react-native/generated/src/models/index.d.ts.map +1 -0
- package/{dist-esm/src/generated/src/operations → dist/react-native/generated/src/models}/index.js +1 -1
- package/dist/react-native/generated/src/models/index.js.map +1 -0
- package/dist/react-native/generated/src/models/mappers.d.ts +9 -0
- package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/mappers.js +208 -0
- package/dist/react-native/generated/src/models/mappers.js.map +1 -0
- package/dist/react-native/generated/src/models/parameters.d.ts +10 -0
- package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/src/models/parameters.js +75 -0
- package/dist/react-native/generated/src/models/parameters.js.map +1 -0
- package/dist/react-native/generated/src/operations/acsVerificationOperations.d.ts +40 -0
- package/dist/react-native/generated/src/operations/acsVerificationOperations.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/acsVerificationOperations.js +167 -0
- package/dist/react-native/generated/src/operations/acsVerificationOperations.js.map +1 -0
- package/dist/react-native/generated/src/operations/index.d.ts +2 -0
- package/dist/react-native/generated/src/operations/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/operations/index.js +9 -0
- package/dist/react-native/generated/src/operations/index.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/acsVerificationOperations.d.ts +32 -0
- package/dist/react-native/generated/src/operationsInterfaces/acsVerificationOperations.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/acsVerificationOperations.js +9 -0
- package/dist/react-native/generated/src/operationsInterfaces/acsVerificationOperations.js.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +2 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.js +9 -0
- package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/generated/src/recipientVerificationClient.d.ts +17 -0
- package/dist/react-native/generated/src/recipientVerificationClient.d.ts.map +1 -0
- package/dist/react-native/generated/src/recipientVerificationClient.js +86 -0
- package/dist/react-native/generated/src/recipientVerificationClient.js.map +1 -0
- package/dist/react-native/generated/src/tracing.d.ts +2 -0
- package/dist/react-native/generated/src/tracing.d.ts.map +1 -0
- package/dist/react-native/generated/src/tracing.js +14 -0
- package/dist/react-native/generated/src/tracing.js.map +1 -0
- package/dist/react-native/index.d.ts +4 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +6 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/mappers.d.ts +6 -0
- package/dist/react-native/mappers.d.ts.map +1 -0
- package/dist/react-native/mappers.js +8 -0
- package/dist/react-native/mappers.js.map +1 -0
- package/dist/react-native/models.d.ts +2 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/recipientVerificationClient.d.ts +74 -0
- package/dist/react-native/recipientVerificationClient.d.ts.map +1 -0
- package/dist/react-native/recipientVerificationClient.js +82 -0
- package/dist/react-native/recipientVerificationClient.js.map +1 -0
- package/dist/react-native/utils/constants.d.ts +2 -0
- package/dist/react-native/utils/constants.d.ts.map +1 -0
- package/dist/react-native/utils/constants.js +4 -0
- package/dist/react-native/utils/constants.js.map +1 -0
- package/dist/react-native/utils/index.d.ts +3 -0
- package/dist/react-native/utils/index.d.ts.map +1 -0
- package/dist/react-native/utils/index.js +5 -0
- package/dist/react-native/utils/index.js.map +1 -0
- package/dist/react-native/utils/logger.d.ts +5 -0
- package/dist/react-native/utils/logger.d.ts.map +1 -0
- package/dist/react-native/utils/logger.js +8 -0
- package/dist/react-native/utils/logger.js.map +1 -0
- package/package.json +57 -37
- package/dist/index.js +0 -661
- package/dist/index.js.map +0 -1
- package/dist-esm/src/generated/src/index.js.map +0 -1
- package/dist-esm/src/generated/src/operations/acsVerificationOperations.js.map +0 -1
- package/dist-esm/src/generated/src/operationsInterfaces/acsVerificationOperations.js.map +0 -1
- package/dist-esm/src/generated/src/recipientVerificationClient.js.map +0 -1
- package/dist-esm/src/index.js +0 -6
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/mappers.js.map +0 -1
- package/dist-esm/src/recipientVerificationClient.js.map +0 -1
- package/dist-esm/src/utils/index.js +0 -5
- package/dist-esm/src/utils/index.js.map +0 -1
- package/types/communication-recipient-verification.d.ts +0 -163
- /package/{dist-esm/src → dist/browser}/generated/src/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/models/index.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/models/mappers.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/operationsInterfaces/acsVerificationOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/tracing.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/src/tracing.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/models.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/constants.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/constants.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/logger.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/logger.js.map +0 -0
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export const AcsVerification = {
|
|
9
|
+
type: {
|
|
10
|
+
name: "Composite",
|
|
11
|
+
className: "AcsVerification",
|
|
12
|
+
modelProperties: {
|
|
13
|
+
immutableId: {
|
|
14
|
+
serializedName: "ImmutableId",
|
|
15
|
+
type: {
|
|
16
|
+
name: "String"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
verificationId: {
|
|
20
|
+
serializedName: "VerificationId",
|
|
21
|
+
type: {
|
|
22
|
+
name: "String"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
status: {
|
|
26
|
+
serializedName: "Status",
|
|
27
|
+
type: {
|
|
28
|
+
name: "String"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
subscriptionId: {
|
|
32
|
+
serializedName: "SubscriptionId",
|
|
33
|
+
type: {
|
|
34
|
+
name: "String"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
identity: {
|
|
38
|
+
serializedName: "Identity",
|
|
39
|
+
type: {
|
|
40
|
+
name: "String"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
challengeId: {
|
|
44
|
+
serializedName: "ChallengeId",
|
|
45
|
+
type: {
|
|
46
|
+
name: "String"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
retries: {
|
|
50
|
+
serializedName: "Retries",
|
|
51
|
+
type: {
|
|
52
|
+
name: "Number"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
attempts: {
|
|
56
|
+
serializedName: "Attempts",
|
|
57
|
+
type: {
|
|
58
|
+
name: "Number"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
export const CommunicationErrorResponse = {
|
|
65
|
+
type: {
|
|
66
|
+
name: "Composite",
|
|
67
|
+
className: "CommunicationErrorResponse",
|
|
68
|
+
modelProperties: {
|
|
69
|
+
error: {
|
|
70
|
+
serializedName: "error",
|
|
71
|
+
type: {
|
|
72
|
+
name: "Composite",
|
|
73
|
+
className: "CommunicationError"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
export const CommunicationError = {
|
|
80
|
+
type: {
|
|
81
|
+
name: "Composite",
|
|
82
|
+
className: "CommunicationError",
|
|
83
|
+
modelProperties: {
|
|
84
|
+
code: {
|
|
85
|
+
serializedName: "code",
|
|
86
|
+
required: true,
|
|
87
|
+
type: {
|
|
88
|
+
name: "String"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
message: {
|
|
92
|
+
serializedName: "message",
|
|
93
|
+
required: true,
|
|
94
|
+
type: {
|
|
95
|
+
name: "String"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
target: {
|
|
99
|
+
serializedName: "target",
|
|
100
|
+
readOnly: true,
|
|
101
|
+
type: {
|
|
102
|
+
name: "String"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
details: {
|
|
106
|
+
serializedName: "details",
|
|
107
|
+
readOnly: true,
|
|
108
|
+
type: {
|
|
109
|
+
name: "Sequence",
|
|
110
|
+
element: {
|
|
111
|
+
type: {
|
|
112
|
+
name: "Composite",
|
|
113
|
+
className: "CommunicationError"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
innerError: {
|
|
119
|
+
serializedName: "innererror",
|
|
120
|
+
type: {
|
|
121
|
+
name: "Composite",
|
|
122
|
+
className: "CommunicationError"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
export const VerificationRequest = {
|
|
129
|
+
type: {
|
|
130
|
+
name: "Composite",
|
|
131
|
+
className: "VerificationRequest",
|
|
132
|
+
modelProperties: {
|
|
133
|
+
identity: {
|
|
134
|
+
serializedName: "Identity",
|
|
135
|
+
type: {
|
|
136
|
+
name: "String"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
channel: {
|
|
140
|
+
serializedName: "Channel",
|
|
141
|
+
type: {
|
|
142
|
+
name: "String"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
export const VerificationResponse = {
|
|
149
|
+
type: {
|
|
150
|
+
name: "Composite",
|
|
151
|
+
className: "VerificationResponse",
|
|
152
|
+
modelProperties: {
|
|
153
|
+
verificationId: {
|
|
154
|
+
serializedName: "VerificationId",
|
|
155
|
+
type: {
|
|
156
|
+
name: "String"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
isVerified: {
|
|
160
|
+
serializedName: "IsVerified",
|
|
161
|
+
type: {
|
|
162
|
+
name: "Boolean"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
export const VerificationCodeRequest = {
|
|
169
|
+
type: {
|
|
170
|
+
name: "Composite",
|
|
171
|
+
className: "VerificationCodeRequest",
|
|
172
|
+
modelProperties: {
|
|
173
|
+
verificationCode: {
|
|
174
|
+
serializedName: "VerificationCode",
|
|
175
|
+
type: {
|
|
176
|
+
name: "String"
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
export const VerificationConstantsResponse = {
|
|
183
|
+
type: {
|
|
184
|
+
name: "Composite",
|
|
185
|
+
className: "VerificationConstantsResponse",
|
|
186
|
+
modelProperties: {
|
|
187
|
+
maxRetriesAllowed: {
|
|
188
|
+
serializedName: "MaxRetriesAllowed",
|
|
189
|
+
type: {
|
|
190
|
+
name: "Number"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
maxVerificationsAllowed: {
|
|
194
|
+
serializedName: "MaxVerificationsAllowed",
|
|
195
|
+
type: {
|
|
196
|
+
name: "Number"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
currentNumberOfVerifications: {
|
|
200
|
+
serializedName: "CurrentNumberOfVerifications",
|
|
201
|
+
type: {
|
|
202
|
+
name: "Number"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
//# sourceMappingURL=mappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,eAAe,GAA+B;IACzD,IAAI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jB,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;AAEF,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,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"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { VerificationRequest as VerificationRequestMapper, VerificationCodeRequest as VerificationCodeRequestMapper } from "../models/mappers.js";
|
|
9
|
+
export const accept = {
|
|
10
|
+
parameterPath: "accept",
|
|
11
|
+
mapper: {
|
|
12
|
+
defaultValue: "application/json",
|
|
13
|
+
isConstant: true,
|
|
14
|
+
serializedName: "Accept",
|
|
15
|
+
type: {
|
|
16
|
+
name: "String"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export const endpoint = {
|
|
21
|
+
parameterPath: "endpoint",
|
|
22
|
+
mapper: {
|
|
23
|
+
serializedName: "endpoint",
|
|
24
|
+
required: true,
|
|
25
|
+
type: {
|
|
26
|
+
name: "String"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
skipEncoding: true
|
|
30
|
+
};
|
|
31
|
+
export const apiVersion = {
|
|
32
|
+
parameterPath: "apiVersion",
|
|
33
|
+
mapper: {
|
|
34
|
+
defaultValue: "2022-11-15",
|
|
35
|
+
isConstant: true,
|
|
36
|
+
serializedName: "api-version",
|
|
37
|
+
type: {
|
|
38
|
+
name: "String"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
export const contentType = {
|
|
43
|
+
parameterPath: ["options", "contentType"],
|
|
44
|
+
mapper: {
|
|
45
|
+
defaultValue: "application/json",
|
|
46
|
+
isConstant: true,
|
|
47
|
+
serializedName: "Content-Type",
|
|
48
|
+
type: {
|
|
49
|
+
name: "String"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
export const identity = {
|
|
54
|
+
parameterPath: ["options", "identity"],
|
|
55
|
+
mapper: VerificationRequestMapper
|
|
56
|
+
};
|
|
57
|
+
export const channel = {
|
|
58
|
+
parameterPath: ["options", "channel"],
|
|
59
|
+
mapper: VerificationRequestMapper
|
|
60
|
+
};
|
|
61
|
+
export const verificationCode = {
|
|
62
|
+
parameterPath: ["options", "verificationCode"],
|
|
63
|
+
mapper: VerificationCodeRequestMapper
|
|
64
|
+
};
|
|
65
|
+
export const verificationId = {
|
|
66
|
+
parameterPath: "verificationId",
|
|
67
|
+
mapper: {
|
|
68
|
+
serializedName: "verificationId",
|
|
69
|
+
required: true,
|
|
70
|
+
type: {
|
|
71
|
+
name: "Uuid"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,mBAAmB,IAAI,yBAAyB,EAChD,uBAAuB,IAAI,6BAA6B,EACzD,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QAC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C,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"]}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { tracingClient } from "../tracing.js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
/** Class containing AcsVerificationOperations operations. */
|
|
13
|
+
export class AcsVerificationOperationsImpl {
|
|
14
|
+
/**
|
|
15
|
+
* Initialize a new instance of the class AcsVerificationOperations class.
|
|
16
|
+
* @param client Reference to the service client
|
|
17
|
+
*/
|
|
18
|
+
constructor(client) {
|
|
19
|
+
this.client = client;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Gets the array of verified phone numbers for the current resource.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
async getVerifications(options) {
|
|
26
|
+
return tracingClient.withSpan("RecipientVerificationClient.getVerifications", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
27
|
+
return this.client.sendOperationRequest({ options }, getVerificationsOperationSpec);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Request the identity for the verification.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
async requestVerification(options) {
|
|
35
|
+
return tracingClient.withSpan("RecipientVerificationClient.requestVerification", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
36
|
+
return this.client.sendOperationRequest({ options }, requestVerificationOperationSpec);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Verify that the user received the correct verification code.
|
|
41
|
+
* @param verificationId Verification Id. Must be a valid GUID
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
async verifyIdentity(verificationId, options) {
|
|
45
|
+
return tracingClient.withSpan("RecipientVerificationClient.verifyIdentity", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
46
|
+
return this.client.sendOperationRequest({ verificationId, options }, verifyIdentityOperationSpec);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Deleting a verification.
|
|
51
|
+
* @param verificationId Verification Id. Must be a valid GUID
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
async deleteVerification(verificationId, options) {
|
|
55
|
+
return tracingClient.withSpan("RecipientVerificationClient.deleteVerification", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
56
|
+
return this.client.sendOperationRequest({ verificationId, options }, deleteVerificationOperationSpec);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Getting all the constants for the resource.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
async getVerificationConstants(options) {
|
|
64
|
+
return tracingClient.withSpan("RecipientVerificationClient.getVerificationConstants", options !== null && options !== void 0 ? options : {}, async (options) => {
|
|
65
|
+
return this.client.sendOperationRequest({ options }, getVerificationConstantsOperationSpec);
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
// Operation Specifications
|
|
70
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
71
|
+
const getVerificationsOperationSpec = {
|
|
72
|
+
path: "/verifications",
|
|
73
|
+
httpMethod: "GET",
|
|
74
|
+
responses: {
|
|
75
|
+
200: {
|
|
76
|
+
bodyMapper: {
|
|
77
|
+
type: {
|
|
78
|
+
name: "Sequence",
|
|
79
|
+
element: { type: { name: "Composite", className: "AcsVerification" } }
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
default: {
|
|
84
|
+
bodyMapper: Mappers.CommunicationErrorResponse
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
queryParameters: [Parameters.apiVersion],
|
|
88
|
+
urlParameters: [Parameters.endpoint],
|
|
89
|
+
headerParameters: [Parameters.accept],
|
|
90
|
+
serializer
|
|
91
|
+
};
|
|
92
|
+
const requestVerificationOperationSpec = {
|
|
93
|
+
path: "/verifications",
|
|
94
|
+
httpMethod: "POST",
|
|
95
|
+
responses: {
|
|
96
|
+
200: {
|
|
97
|
+
bodyMapper: Mappers.VerificationResponse
|
|
98
|
+
},
|
|
99
|
+
default: {
|
|
100
|
+
bodyMapper: Mappers.CommunicationErrorResponse
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
requestBody: {
|
|
104
|
+
parameterPath: {
|
|
105
|
+
identity: ["options", "identity"],
|
|
106
|
+
channel: ["options", "channel"]
|
|
107
|
+
},
|
|
108
|
+
mapper: Mappers.VerificationRequest
|
|
109
|
+
},
|
|
110
|
+
queryParameters: [Parameters.apiVersion],
|
|
111
|
+
urlParameters: [Parameters.endpoint],
|
|
112
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
113
|
+
mediaType: "json",
|
|
114
|
+
serializer
|
|
115
|
+
};
|
|
116
|
+
const verifyIdentityOperationSpec = {
|
|
117
|
+
path: "/verifications/{verificationId}/check",
|
|
118
|
+
httpMethod: "POST",
|
|
119
|
+
responses: {
|
|
120
|
+
200: {
|
|
121
|
+
bodyMapper: Mappers.VerificationResponse
|
|
122
|
+
},
|
|
123
|
+
default: {
|
|
124
|
+
bodyMapper: Mappers.CommunicationErrorResponse
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
requestBody: {
|
|
128
|
+
parameterPath: { verificationCode: ["options", "verificationCode"] },
|
|
129
|
+
mapper: Mappers.VerificationCodeRequest
|
|
130
|
+
},
|
|
131
|
+
queryParameters: [Parameters.apiVersion],
|
|
132
|
+
urlParameters: [Parameters.endpoint, Parameters.verificationId],
|
|
133
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
134
|
+
mediaType: "json",
|
|
135
|
+
serializer
|
|
136
|
+
};
|
|
137
|
+
const deleteVerificationOperationSpec = {
|
|
138
|
+
path: "/verifications/{verificationId}/",
|
|
139
|
+
httpMethod: "DELETE",
|
|
140
|
+
responses: {
|
|
141
|
+
200: {},
|
|
142
|
+
default: {
|
|
143
|
+
bodyMapper: Mappers.CommunicationErrorResponse
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
queryParameters: [Parameters.apiVersion],
|
|
147
|
+
urlParameters: [Parameters.endpoint, Parameters.verificationId],
|
|
148
|
+
headerParameters: [Parameters.accept],
|
|
149
|
+
serializer
|
|
150
|
+
};
|
|
151
|
+
const getVerificationConstantsOperationSpec = {
|
|
152
|
+
path: "/verifications/configuration",
|
|
153
|
+
httpMethod: "GET",
|
|
154
|
+
responses: {
|
|
155
|
+
200: {
|
|
156
|
+
bodyMapper: Mappers.VerificationConstantsResponse
|
|
157
|
+
},
|
|
158
|
+
default: {
|
|
159
|
+
bodyMapper: Mappers.CommunicationErrorResponse
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
queryParameters: [Parameters.apiVersion],
|
|
163
|
+
urlParameters: [Parameters.endpoint],
|
|
164
|
+
headerParameters: [Parameters.accept],
|
|
165
|
+
serializer
|
|
166
|
+
};
|
|
167
|
+
//# sourceMappingURL=acsVerificationOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acsVerificationOperations.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/acsVerificationOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK,UAAU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M;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"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./acsVerificationOperations.js";
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,gCAAgC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./acsVerificationOperations.js\";\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=acsVerificationOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acsVerificationOperations.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/acsVerificationOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n AcsVerificationGetVerificationsOptionalParams,\n AcsVerificationGetVerificationsResponse,\n AcsVerificationRequestVerificationOptionalParams,\n AcsVerificationRequestVerificationResponse,\n AcsVerificationVerifyIdentityOptionalParams,\n AcsVerificationVerifyIdentityResponse,\n AcsVerificationDeleteVerificationOptionalParams,\n AcsVerificationGetVerificationConstantsOptionalParams,\n AcsVerificationGetVerificationConstantsResponse\n} from \"../models/index.js\";\n\n/** Interface representing a AcsVerificationOperations. */\nexport interface AcsVerificationOperations {\n /**\n * Gets the array of verified phone numbers for the current resource.\n * @param options The options parameters.\n */\n getVerifications(\n options?: AcsVerificationGetVerificationsOptionalParams\n ): Promise<AcsVerificationGetVerificationsResponse>;\n /**\n * Request the identity for the verification.\n * @param options The options parameters.\n */\n requestVerification(\n options?: AcsVerificationRequestVerificationOptionalParams\n ): Promise<AcsVerificationRequestVerificationResponse>;\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 verifyIdentity(\n verificationId: string,\n options?: AcsVerificationVerifyIdentityOptionalParams\n ): Promise<AcsVerificationVerifyIdentityResponse>;\n /**\n * Deleting a verification.\n * @param verificationId Verification Id. Must be a valid GUID\n * @param options The options parameters.\n */\n deleteVerification(\n verificationId: string,\n options?: AcsVerificationDeleteVerificationOptionalParams\n ): Promise<void>;\n /**\n * Getting all the constants for the resource.\n * @param options The options parameters.\n */\n getVerificationConstants(\n options?: AcsVerificationGetVerificationConstantsOptionalParams\n ): Promise<AcsVerificationGetVerificationConstantsResponse>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,gCAAgC,CAAC"}
|