@azure/attestation 1.0.1-alpha.20241021.1 → 1.0.1-alpha.20241023.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/attestationAdministrationClient.d.ts +183 -0
- package/dist/browser/attestationAdministrationClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/attestationAdministrationClient.js +13 -13
- package/dist/browser/attestationAdministrationClient.js.map +1 -0
- package/dist/browser/attestationClient.d.ts +209 -0
- package/dist/browser/attestationClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/attestationClient.js +12 -12
- package/dist/browser/attestationClient.js.map +1 -0
- package/dist/browser/generated/generatedClient.d.ts +21 -0
- package/dist/browser/generated/generatedClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/generatedClient.js +1 -1
- package/dist/browser/generated/generatedClient.js.map +1 -0
- package/dist/browser/generated/index.d.ts +4 -0
- package/dist/browser/generated/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/index.js +3 -3
- package/dist/browser/generated/index.js.map +1 -0
- package/dist/browser/generated/models/index.d.ts +393 -0
- package/dist/browser/generated/models/index.d.ts.map +1 -0
- package/dist/browser/generated/models/mappers.d.ts +22 -0
- package/dist/browser/generated/models/mappers.d.ts.map +1 -0
- package/dist/browser/generated/models/parameters.d.ts +17 -0
- package/dist/browser/generated/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/models/parameters.js +1 -1
- package/dist/browser/generated/models/parameters.js.map +1 -0
- package/dist/browser/generated/operations/attestation.d.ts +34 -0
- package/dist/browser/generated/operations/attestation.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operations/attestation.js +3 -3
- package/dist/browser/generated/operations/attestation.js.map +1 -0
- package/dist/browser/generated/operations/index.d.ts +6 -0
- package/dist/browser/generated/operations/index.d.ts.map +1 -0
- package/{dist-esm/src/generated/operationsInterfaces → dist/browser/generated/operations}/index.js +5 -5
- package/dist/browser/generated/operations/index.js.map +1 -0
- package/dist/browser/generated/operations/metadataConfiguration.d.ts +18 -0
- package/dist/browser/generated/operations/metadataConfiguration.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operations/metadataConfiguration.js +3 -3
- package/dist/browser/generated/operations/metadataConfiguration.js.map +1 -0
- package/dist/browser/generated/operations/policy.d.ts +37 -0
- package/dist/browser/generated/operations/policy.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operations/policy.js +3 -3
- package/dist/browser/generated/operations/policy.js.map +1 -0
- package/dist/browser/generated/operations/policyCertificates.d.ts +34 -0
- package/dist/browser/generated/operations/policyCertificates.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operations/policyCertificates.js +3 -3
- package/dist/browser/generated/operations/policyCertificates.js.map +1 -0
- package/dist/browser/generated/operations/signingCertificates.d.ts +18 -0
- package/dist/browser/generated/operations/signingCertificates.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operations/signingCertificates.js +3 -3
- package/dist/browser/generated/operations/signingCertificates.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/attestation.d.ts +26 -0
- package/dist/browser/generated/operationsInterfaces/attestation.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/attestation.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/index.d.ts +6 -0
- package/dist/browser/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/{dist-esm/src/generated/operations → dist/browser/generated/operationsInterfaces}/index.js +5 -5
- package/dist/browser/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/metadataConfiguration.d.ts +10 -0
- package/dist/browser/generated/operationsInterfaces/metadataConfiguration.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/metadataConfiguration.js.map +1 -1
- package/dist/browser/generated/operationsInterfaces/policy.d.ts +29 -0
- package/dist/browser/generated/operationsInterfaces/policy.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/policy.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/policyCertificates.d.ts +26 -0
- package/dist/browser/generated/operationsInterfaces/policyCertificates.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/policyCertificates.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/signingCertificates.d.ts +10 -0
- package/dist/browser/generated/operationsInterfaces/signingCertificates.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/signingCertificates.js.map +1 -1
- package/dist/browser/generated/tracing.d.ts +2 -0
- package/dist/browser/generated/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/logger.d.ts +7 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/models/attestationPolicyToken.d.ts +28 -0
- package/dist/browser/models/attestationPolicyToken.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/attestationPolicyToken.js +2 -2
- package/dist/browser/models/attestationPolicyToken.js.map +1 -0
- package/dist/browser/models/attestationResponse.d.ts +30 -0
- package/dist/browser/models/attestationResponse.d.ts.map +1 -0
- package/dist/browser/models/attestationResponse.js.map +1 -0
- package/dist/browser/models/attestationResult.d.ts +294 -0
- package/dist/browser/models/attestationResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/attestationResult.js +1 -1
- package/dist/browser/models/attestationResult.js.map +1 -0
- package/dist/browser/models/attestationSigner.d.ts +27 -0
- package/dist/browser/models/attestationSigner.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/attestationSigner.js +1 -1
- package/dist/browser/models/attestationSigner.js.map +1 -0
- package/dist/browser/models/attestationToken.d.ts +339 -0
- package/dist/browser/models/attestationToken.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/attestationToken.js +6 -6
- package/dist/browser/models/attestationToken.js.map +1 -0
- package/dist/browser/models/index.d.ts +8 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.js +2 -2
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/policyResult.d.ts +31 -0
- package/dist/browser/models/policyResult.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/policyResult.js +3 -3
- package/dist/browser/models/policyResult.js.map +1 -0
- package/dist/browser/models/storedAttestationPolicy.d.ts +24 -0
- package/dist/browser/models/storedAttestationPolicy.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/storedAttestationPolicy.js +3 -3
- package/dist/browser/models/storedAttestationPolicy.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/utils/base64-browser.d.mts.map +1 -0
- package/dist/browser/utils/base64-browser.mjs.map +1 -0
- package/dist/browser/utils/base64.d.ts +28 -0
- package/{dist-esm/src/utils/base64.browser.js → dist/browser/utils/base64.js} +1 -1
- package/dist/browser/utils/buffer-browser.d.mts.map +1 -0
- package/dist/browser/utils/buffer-browser.mjs.map +1 -0
- package/dist/browser/utils/buffer.d.ts +8 -0
- package/{dist-esm/src/utils/buffer.browser.js → dist/browser/utils/buffer.js} +1 -1
- package/dist/browser/utils/helpers.d.ts +22 -0
- package/dist/browser/utils/helpers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/utils/helpers.js +1 -1
- package/dist/browser/utils/helpers.js.map +1 -0
- package/dist/browser/utils/textEncoding-browser.d.mts +10 -0
- package/dist/browser/utils/textEncoding-browser.d.mts.map +1 -0
- package/{dist-esm/src/utils/textEncoding.browser.js → dist/browser/utils/textEncoding-browser.mjs} +1 -1
- package/dist/browser/utils/textEncoding-browser.mjs.map +1 -0
- package/dist/browser/utils/typeDeserializer.d.ts +34 -0
- package/dist/browser/utils/typeDeserializer.d.ts.map +1 -0
- package/dist/browser/utils/utf8.d.ts +13 -0
- package/dist/browser/utils/utf8.d.ts.map +1 -0
- package/dist/commonjs/attestationAdministrationClient.d.ts +183 -0
- package/dist/commonjs/attestationAdministrationClient.d.ts.map +1 -0
- package/dist/commonjs/attestationAdministrationClient.js +391 -0
- package/dist/commonjs/attestationAdministrationClient.js.map +1 -0
- package/dist/commonjs/attestationClient.d.ts +209 -0
- package/dist/commonjs/attestationClient.d.ts.map +1 -0
- package/dist/commonjs/attestationClient.js +243 -0
- package/dist/commonjs/attestationClient.js.map +1 -0
- package/dist/commonjs/generated/generatedClient.d.ts +21 -0
- package/dist/commonjs/generated/generatedClient.d.ts.map +1 -0
- package/dist/commonjs/generated/generatedClient.js +78 -0
- package/dist/commonjs/generated/generatedClient.js.map +1 -0
- package/dist/commonjs/generated/index.d.ts +4 -0
- package/dist/commonjs/generated/index.d.ts.map +1 -0
- package/dist/commonjs/generated/index.js +16 -0
- package/dist/commonjs/generated/index.js.map +1 -0
- package/dist/commonjs/generated/models/index.d.ts +393 -0
- package/dist/commonjs/generated/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/models/index.js +45 -0
- package/dist/commonjs/generated/models/index.js.map +1 -0
- package/dist/commonjs/generated/models/mappers.d.ts +22 -0
- package/dist/commonjs/generated/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/models/mappers.js +725 -0
- package/dist/commonjs/generated/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/models/parameters.d.ts +17 -0
- package/dist/commonjs/generated/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/models/parameters.js +157 -0
- package/dist/commonjs/generated/models/parameters.js.map +1 -0
- package/dist/commonjs/generated/operations/attestation.d.ts +34 -0
- package/dist/commonjs/generated/operations/attestation.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/attestation.js +116 -0
- package/dist/commonjs/generated/operations/attestation.js.map +1 -0
- package/dist/commonjs/generated/operations/index.d.ts +6 -0
- package/dist/commonjs/generated/operations/index.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/index.js +16 -0
- package/dist/commonjs/generated/operations/index.js.map +1 -0
- package/dist/commonjs/generated/operations/metadataConfiguration.d.ts +18 -0
- package/dist/commonjs/generated/operations/metadataConfiguration.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/metadataConfiguration.js +55 -0
- package/dist/commonjs/generated/operations/metadataConfiguration.js.map +1 -0
- package/dist/commonjs/generated/operations/policy.d.ts +37 -0
- package/dist/commonjs/generated/operations/policy.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/policy.js +117 -0
- package/dist/commonjs/generated/operations/policy.js.map +1 -0
- package/dist/commonjs/generated/operations/policyCertificates.d.ts +34 -0
- package/dist/commonjs/generated/operations/policyCertificates.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/policyCertificates.js +114 -0
- package/dist/commonjs/generated/operations/policyCertificates.js.map +1 -0
- package/dist/commonjs/generated/operations/signingCertificates.d.ts +18 -0
- package/dist/commonjs/generated/operations/signingCertificates.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/signingCertificates.js +53 -0
- package/dist/commonjs/generated/operations/signingCertificates.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/attestation.d.ts +26 -0
- package/dist/commonjs/generated/operationsInterfaces/attestation.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/attestation.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/attestation.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/index.d.ts +6 -0
- package/dist/commonjs/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/index.js +16 -0
- package/dist/commonjs/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/metadataConfiguration.d.ts +10 -0
- package/dist/commonjs/generated/operationsInterfaces/metadataConfiguration.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/metadataConfiguration.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/metadataConfiguration.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/policy.d.ts +29 -0
- package/dist/commonjs/generated/operationsInterfaces/policy.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/policy.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/policy.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/policyCertificates.d.ts +26 -0
- package/dist/commonjs/generated/operationsInterfaces/policyCertificates.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/policyCertificates.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/policyCertificates.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/signingCertificates.d.ts +10 -0
- package/dist/commonjs/generated/operationsInterfaces/signingCertificates.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/signingCertificates.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/signingCertificates.js.map +1 -0
- package/dist/commonjs/generated/tracing.d.ts +2 -0
- package/dist/commonjs/generated/tracing.d.ts.map +1 -0
- package/dist/commonjs/generated/tracing.js +17 -0
- package/dist/commonjs/generated/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 +12 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +7 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +13 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models/attestationPolicyToken.d.ts +28 -0
- package/dist/commonjs/models/attestationPolicyToken.d.ts.map +1 -0
- package/dist/commonjs/models/attestationPolicyToken.js +29 -0
- package/dist/commonjs/models/attestationPolicyToken.js.map +1 -0
- package/dist/commonjs/models/attestationResponse.d.ts +30 -0
- package/dist/commonjs/models/attestationResponse.d.ts.map +1 -0
- package/dist/commonjs/models/attestationResponse.js +16 -0
- package/dist/commonjs/models/attestationResponse.js.map +1 -0
- package/dist/commonjs/models/attestationResult.d.ts +294 -0
- package/dist/commonjs/models/attestationResult.d.ts.map +1 -0
- package/dist/commonjs/models/attestationResult.js +173 -0
- package/dist/commonjs/models/attestationResult.js.map +1 -0
- package/dist/commonjs/models/attestationSigner.d.ts +27 -0
- package/dist/commonjs/models/attestationSigner.d.ts.map +1 -0
- package/dist/commonjs/models/attestationSigner.js +21 -0
- package/dist/commonjs/models/attestationSigner.js.map +1 -0
- package/dist/commonjs/models/attestationToken.d.ts +339 -0
- package/dist/commonjs/models/attestationToken.d.ts.map +1 -0
- package/dist/commonjs/models/attestationToken.js +358 -0
- package/dist/commonjs/models/attestationToken.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +8 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +12 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/policyResult.d.ts +31 -0
- package/dist/commonjs/models/policyResult.d.ts.map +1 -0
- package/dist/commonjs/models/policyResult.js +27 -0
- package/dist/commonjs/models/policyResult.js.map +1 -0
- package/dist/commonjs/models/storedAttestationPolicy.d.ts +24 -0
- package/dist/commonjs/models/storedAttestationPolicy.d.ts.map +1 -0
- package/dist/commonjs/models/storedAttestationPolicy.js +41 -0
- package/dist/commonjs/models/storedAttestationPolicy.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/{types/latest → dist/commonjs}/tsdoc-metadata.json +1 -1
- package/dist/commonjs/utils/base64.d.ts +28 -0
- package/dist/commonjs/utils/base64.d.ts.map +1 -0
- package/dist/commonjs/utils/base64.js +79 -0
- package/dist/commonjs/utils/base64.js.map +1 -0
- package/dist/commonjs/utils/buffer.d.ts +8 -0
- package/dist/commonjs/utils/buffer.d.ts.map +1 -0
- package/dist/commonjs/utils/buffer.js +22 -0
- package/dist/commonjs/utils/buffer.js.map +1 -0
- package/dist/commonjs/utils/helpers.d.ts +22 -0
- package/dist/commonjs/utils/helpers.d.ts.map +1 -0
- package/dist/commonjs/utils/helpers.js +62 -0
- package/dist/commonjs/utils/helpers.js.map +1 -0
- package/dist/commonjs/utils/typeDeserializer.d.ts +34 -0
- package/dist/commonjs/utils/typeDeserializer.d.ts.map +1 -0
- package/dist/commonjs/utils/typeDeserializer.js +42 -0
- package/dist/commonjs/utils/typeDeserializer.js.map +1 -0
- package/dist/commonjs/utils/utf8.d.ts +13 -0
- package/dist/commonjs/utils/utf8.d.ts.map +1 -0
- package/dist/commonjs/utils/utf8.js +31 -0
- package/dist/commonjs/utils/utf8.js.map +1 -0
- package/dist/esm/attestationAdministrationClient.d.ts +183 -0
- package/dist/esm/attestationAdministrationClient.d.ts.map +1 -0
- package/dist/esm/attestationAdministrationClient.js +386 -0
- package/dist/esm/attestationAdministrationClient.js.map +1 -0
- package/dist/esm/attestationClient.d.ts +209 -0
- package/dist/esm/attestationClient.d.ts.map +1 -0
- package/dist/esm/attestationClient.js +238 -0
- package/dist/esm/attestationClient.js.map +1 -0
- package/dist/esm/generated/generatedClient.d.ts +21 -0
- package/dist/esm/generated/generatedClient.d.ts.map +1 -0
- package/dist/esm/generated/generatedClient.js +73 -0
- package/dist/esm/generated/generatedClient.js.map +1 -0
- package/dist/esm/generated/index.d.ts +4 -0
- package/dist/esm/generated/index.d.ts.map +1 -0
- package/dist/esm/generated/index.js +11 -0
- package/dist/esm/generated/index.js.map +1 -0
- package/dist/esm/generated/models/index.d.ts +393 -0
- package/dist/esm/generated/models/index.d.ts.map +1 -0
- package/dist/esm/generated/models/index.js +42 -0
- package/dist/esm/generated/models/index.js.map +1 -0
- package/dist/esm/generated/models/mappers.d.ts +22 -0
- package/dist/esm/generated/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/models/mappers.js +722 -0
- package/dist/esm/generated/models/mappers.js.map +1 -0
- package/dist/esm/generated/models/parameters.d.ts +17 -0
- package/dist/esm/generated/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/models/parameters.js +154 -0
- package/dist/esm/generated/models/parameters.js.map +1 -0
- package/dist/esm/generated/operations/attestation.d.ts +34 -0
- package/dist/esm/generated/operations/attestation.d.ts.map +1 -0
- package/dist/esm/generated/operations/attestation.js +111 -0
- package/dist/esm/generated/operations/attestation.js.map +1 -0
- package/dist/esm/generated/operations/index.d.ts +6 -0
- package/dist/esm/generated/operations/index.d.ts.map +1 -0
- package/dist/esm/generated/operations/index.js +13 -0
- package/dist/esm/generated/operations/index.js.map +1 -0
- package/dist/esm/generated/operations/metadataConfiguration.d.ts +18 -0
- package/dist/esm/generated/operations/metadataConfiguration.d.ts.map +1 -0
- package/dist/esm/generated/operations/metadataConfiguration.js +50 -0
- package/dist/esm/generated/operations/metadataConfiguration.js.map +1 -0
- package/dist/esm/generated/operations/policy.d.ts +37 -0
- package/dist/esm/generated/operations/policy.d.ts.map +1 -0
- package/dist/esm/generated/operations/policy.js +112 -0
- package/dist/esm/generated/operations/policy.js.map +1 -0
- package/dist/esm/generated/operations/policyCertificates.d.ts +34 -0
- package/dist/esm/generated/operations/policyCertificates.d.ts.map +1 -0
- package/dist/esm/generated/operations/policyCertificates.js +109 -0
- package/dist/esm/generated/operations/policyCertificates.js.map +1 -0
- package/dist/esm/generated/operations/signingCertificates.d.ts +18 -0
- package/dist/esm/generated/operations/signingCertificates.d.ts.map +1 -0
- package/dist/esm/generated/operations/signingCertificates.js +48 -0
- package/dist/esm/generated/operations/signingCertificates.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/attestation.d.ts +26 -0
- package/dist/esm/generated/operationsInterfaces/attestation.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/attestation.js +9 -0
- package/dist/esm/generated/operationsInterfaces/attestation.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/index.d.ts +6 -0
- package/dist/esm/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/index.js +13 -0
- package/dist/esm/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/metadataConfiguration.d.ts +10 -0
- package/dist/esm/generated/operationsInterfaces/metadataConfiguration.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/metadataConfiguration.js +9 -0
- package/dist/esm/generated/operationsInterfaces/metadataConfiguration.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/policy.d.ts +29 -0
- package/dist/esm/generated/operationsInterfaces/policy.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/policy.js +9 -0
- package/dist/esm/generated/operationsInterfaces/policy.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/policyCertificates.d.ts +26 -0
- package/dist/esm/generated/operationsInterfaces/policyCertificates.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/policyCertificates.js +9 -0
- package/dist/esm/generated/operationsInterfaces/policyCertificates.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/signingCertificates.d.ts +10 -0
- package/dist/esm/generated/operationsInterfaces/signingCertificates.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/signingCertificates.js +9 -0
- package/dist/esm/generated/operationsInterfaces/signingCertificates.js.map +1 -0
- package/dist/esm/generated/tracing.d.ts +2 -0
- package/dist/esm/generated/tracing.d.ts.map +1 -0
- package/dist/esm/generated/tracing.js +14 -0
- package/dist/esm/generated/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/logger.d.ts +7 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +10 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/attestationPolicyToken.d.ts +28 -0
- package/dist/esm/models/attestationPolicyToken.d.ts.map +1 -0
- package/dist/esm/models/attestationPolicyToken.js +26 -0
- package/dist/esm/models/attestationPolicyToken.js.map +1 -0
- package/dist/esm/models/attestationResponse.d.ts +30 -0
- package/dist/esm/models/attestationResponse.d.ts.map +1 -0
- package/dist/esm/models/attestationResponse.js +13 -0
- package/dist/esm/models/attestationResponse.js.map +1 -0
- package/dist/esm/models/attestationResult.d.ts +294 -0
- package/dist/esm/models/attestationResult.d.ts.map +1 -0
- package/dist/esm/models/attestationResult.js +168 -0
- package/dist/esm/models/attestationResult.js.map +1 -0
- package/dist/esm/models/attestationSigner.d.ts +27 -0
- package/dist/esm/models/attestationSigner.d.ts.map +1 -0
- package/dist/esm/models/attestationSigner.js +18 -0
- package/dist/esm/models/attestationSigner.js.map +1 -0
- package/dist/esm/models/attestationToken.d.ts +339 -0
- package/dist/esm/models/attestationToken.d.ts.map +1 -0
- package/dist/esm/models/attestationToken.js +353 -0
- package/dist/esm/models/attestationToken.js.map +1 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +5 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/policyResult.d.ts +31 -0
- package/dist/esm/models/policyResult.d.ts.map +1 -0
- package/dist/esm/models/policyResult.js +23 -0
- package/dist/esm/models/policyResult.js.map +1 -0
- package/dist/esm/models/storedAttestationPolicy.d.ts +24 -0
- package/dist/esm/models/storedAttestationPolicy.d.ts.map +1 -0
- package/dist/esm/models/storedAttestationPolicy.js +36 -0
- package/dist/esm/models/storedAttestationPolicy.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/utils/base64.d.ts +28 -0
- package/dist/esm/utils/base64.d.ts.map +1 -0
- package/dist/esm/utils/buffer.d.ts +8 -0
- package/dist/esm/utils/buffer.d.ts.map +1 -0
- package/dist/esm/utils/helpers.d.ts +22 -0
- package/dist/esm/utils/helpers.d.ts.map +1 -0
- package/dist/esm/utils/helpers.js +56 -0
- package/dist/esm/utils/helpers.js.map +1 -0
- package/dist/esm/utils/textEncoding-browser.d.mts +4 -0
- package/dist/esm/utils/textEncoding-browser.d.mts.map +1 -0
- package/dist/esm/utils/textEncoding-browser.mjs +6 -0
- package/dist/esm/utils/textEncoding-browser.mjs.map +1 -0
- package/dist/esm/utils/typeDeserializer.d.ts +34 -0
- package/dist/esm/utils/typeDeserializer.d.ts.map +1 -0
- package/dist/esm/utils/typeDeserializer.js +38 -0
- package/dist/esm/utils/typeDeserializer.js.map +1 -0
- package/dist/esm/utils/utf8.d.ts +13 -0
- package/dist/esm/utils/utf8.d.ts.map +1 -0
- package/dist/esm/utils/utf8.js +27 -0
- package/dist/esm/utils/utf8.js.map +1 -0
- package/dist/react-native/attestationAdministrationClient.d.ts +183 -0
- package/dist/react-native/attestationAdministrationClient.d.ts.map +1 -0
- package/dist/react-native/attestationAdministrationClient.js +386 -0
- package/dist/react-native/attestationAdministrationClient.js.map +1 -0
- package/dist/react-native/attestationClient.d.ts +209 -0
- package/dist/react-native/attestationClient.d.ts.map +1 -0
- package/dist/react-native/attestationClient.js +238 -0
- package/dist/react-native/attestationClient.js.map +1 -0
- package/dist/react-native/generated/generatedClient.d.ts +21 -0
- package/dist/react-native/generated/generatedClient.d.ts.map +1 -0
- package/dist/react-native/generated/generatedClient.js +73 -0
- package/dist/react-native/generated/generatedClient.js.map +1 -0
- package/dist/react-native/generated/index.d.ts +4 -0
- package/dist/react-native/generated/index.d.ts.map +1 -0
- package/dist/react-native/generated/index.js +11 -0
- package/dist/react-native/generated/index.js.map +1 -0
- package/dist/react-native/generated/models/index.d.ts +393 -0
- package/dist/react-native/generated/models/index.d.ts.map +1 -0
- package/dist/react-native/generated/models/index.js +42 -0
- package/dist/react-native/generated/models/index.js.map +1 -0
- package/dist/react-native/generated/models/mappers.d.ts +22 -0
- package/dist/react-native/generated/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/models/mappers.js +722 -0
- package/dist/react-native/generated/models/mappers.js.map +1 -0
- package/dist/react-native/generated/models/parameters.d.ts +17 -0
- package/dist/react-native/generated/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/models/parameters.js +154 -0
- package/dist/react-native/generated/models/parameters.js.map +1 -0
- package/dist/react-native/generated/operations/attestation.d.ts +34 -0
- package/dist/react-native/generated/operations/attestation.d.ts.map +1 -0
- package/dist/react-native/generated/operations/attestation.js +111 -0
- package/dist/react-native/generated/operations/attestation.js.map +1 -0
- package/dist/react-native/generated/operations/index.d.ts +6 -0
- package/dist/react-native/generated/operations/index.d.ts.map +1 -0
- package/dist/react-native/generated/operations/index.js +13 -0
- package/dist/react-native/generated/operations/index.js.map +1 -0
- package/dist/react-native/generated/operations/metadataConfiguration.d.ts +18 -0
- package/dist/react-native/generated/operations/metadataConfiguration.d.ts.map +1 -0
- package/dist/react-native/generated/operations/metadataConfiguration.js +50 -0
- package/dist/react-native/generated/operations/metadataConfiguration.js.map +1 -0
- package/dist/react-native/generated/operations/policy.d.ts +37 -0
- package/dist/react-native/generated/operations/policy.d.ts.map +1 -0
- package/dist/react-native/generated/operations/policy.js +112 -0
- package/dist/react-native/generated/operations/policy.js.map +1 -0
- package/dist/react-native/generated/operations/policyCertificates.d.ts +34 -0
- package/dist/react-native/generated/operations/policyCertificates.d.ts.map +1 -0
- package/dist/react-native/generated/operations/policyCertificates.js +109 -0
- package/dist/react-native/generated/operations/policyCertificates.js.map +1 -0
- package/dist/react-native/generated/operations/signingCertificates.d.ts +18 -0
- package/dist/react-native/generated/operations/signingCertificates.d.ts.map +1 -0
- package/dist/react-native/generated/operations/signingCertificates.js +48 -0
- package/dist/react-native/generated/operations/signingCertificates.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/attestation.d.ts +26 -0
- package/dist/react-native/generated/operationsInterfaces/attestation.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/attestation.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/attestation.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/index.d.ts +6 -0
- package/dist/react-native/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/index.js +13 -0
- package/dist/react-native/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/metadataConfiguration.d.ts +10 -0
- package/dist/react-native/generated/operationsInterfaces/metadataConfiguration.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/metadataConfiguration.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/metadataConfiguration.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/policy.d.ts +29 -0
- package/dist/react-native/generated/operationsInterfaces/policy.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/policy.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/policy.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/policyCertificates.d.ts +26 -0
- package/dist/react-native/generated/operationsInterfaces/policyCertificates.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/policyCertificates.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/policyCertificates.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/signingCertificates.d.ts +10 -0
- package/dist/react-native/generated/operationsInterfaces/signingCertificates.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/signingCertificates.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/signingCertificates.js.map +1 -0
- package/dist/react-native/generated/tracing.d.ts +2 -0
- package/dist/react-native/generated/tracing.d.ts.map +1 -0
- package/dist/react-native/generated/tracing.js +14 -0
- package/dist/react-native/generated/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/logger.d.ts +7 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +10 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/attestationPolicyToken.d.ts +28 -0
- package/dist/react-native/models/attestationPolicyToken.d.ts.map +1 -0
- package/dist/react-native/models/attestationPolicyToken.js +26 -0
- package/dist/react-native/models/attestationPolicyToken.js.map +1 -0
- package/dist/react-native/models/attestationResponse.d.ts +30 -0
- package/dist/react-native/models/attestationResponse.d.ts.map +1 -0
- package/dist/react-native/models/attestationResponse.js +13 -0
- package/dist/react-native/models/attestationResponse.js.map +1 -0
- package/dist/react-native/models/attestationResult.d.ts +294 -0
- package/dist/react-native/models/attestationResult.d.ts.map +1 -0
- package/dist/react-native/models/attestationResult.js +168 -0
- package/dist/react-native/models/attestationResult.js.map +1 -0
- package/dist/react-native/models/attestationSigner.d.ts +27 -0
- package/dist/react-native/models/attestationSigner.d.ts.map +1 -0
- package/dist/react-native/models/attestationSigner.js +18 -0
- package/dist/react-native/models/attestationSigner.js.map +1 -0
- package/dist/react-native/models/attestationToken.d.ts +339 -0
- package/dist/react-native/models/attestationToken.d.ts.map +1 -0
- package/dist/react-native/models/attestationToken.js +353 -0
- package/dist/react-native/models/attestationToken.js.map +1 -0
- package/dist/react-native/models/index.d.ts +8 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +5 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/policyResult.d.ts +31 -0
- package/dist/react-native/models/policyResult.d.ts.map +1 -0
- package/dist/react-native/models/policyResult.js +23 -0
- package/dist/react-native/models/policyResult.js.map +1 -0
- package/dist/react-native/models/storedAttestationPolicy.d.ts +24 -0
- package/dist/react-native/models/storedAttestationPolicy.d.ts.map +1 -0
- package/dist/react-native/models/storedAttestationPolicy.js +36 -0
- package/dist/react-native/models/storedAttestationPolicy.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/utils/base64.d.ts +28 -0
- package/dist/react-native/utils/base64.d.ts.map +1 -0
- package/dist/react-native/utils/base64.js +70 -0
- package/dist/react-native/utils/base64.js.map +1 -0
- package/dist/react-native/utils/buffer.d.ts +8 -0
- package/dist/react-native/utils/buffer.d.ts.map +1 -0
- package/dist/react-native/utils/buffer.js +19 -0
- package/dist/react-native/utils/buffer.js.map +1 -0
- package/dist/react-native/utils/helpers.d.ts +22 -0
- package/dist/react-native/utils/helpers.d.ts.map +1 -0
- package/dist/react-native/utils/helpers.js +56 -0
- package/dist/react-native/utils/helpers.js.map +1 -0
- package/dist/react-native/utils/textEncoding-browser.d.mts +4 -0
- package/dist/react-native/utils/textEncoding-browser.d.mts.map +1 -0
- package/dist/react-native/utils/textEncoding-browser.mjs +6 -0
- package/dist/react-native/utils/textEncoding-browser.mjs.map +1 -0
- package/dist/react-native/utils/typeDeserializer.d.ts +34 -0
- package/dist/react-native/utils/typeDeserializer.d.ts.map +1 -0
- package/dist/react-native/utils/typeDeserializer.js +38 -0
- package/dist/react-native/utils/typeDeserializer.js.map +1 -0
- package/dist/react-native/utils/utf8.d.ts +13 -0
- package/dist/react-native/utils/utf8.d.ts.map +1 -0
- package/dist/react-native/utils/utf8.js +27 -0
- package/dist/react-native/utils/utf8.js.map +1 -0
- package/package.json +60 -49
- package/dist/index.js +0 -2881
- package/dist/index.js.map +0 -1
- package/dist-esm/src/attestationAdministrationClient.js.map +0 -1
- package/dist-esm/src/attestationClient.js.map +0 -1
- package/dist-esm/src/generated/generatedClient.js.map +0 -1
- package/dist-esm/src/generated/index.js.map +0 -1
- package/dist-esm/src/generated/models/parameters.js.map +0 -1
- package/dist-esm/src/generated/operations/attestation.js.map +0 -1
- package/dist-esm/src/generated/operations/index.js.map +0 -1
- package/dist-esm/src/generated/operations/metadataConfiguration.js.map +0 -1
- package/dist-esm/src/generated/operations/policy.js.map +0 -1
- package/dist-esm/src/generated/operations/policyCertificates.js.map +0 -1
- package/dist-esm/src/generated/operations/signingCertificates.js.map +0 -1
- package/dist-esm/src/generated/operationsInterfaces/attestation.js.map +0 -1
- package/dist-esm/src/generated/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/generated/operationsInterfaces/policy.js.map +0 -1
- package/dist-esm/src/generated/operationsInterfaces/policyCertificates.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/models/attestationPolicyToken.js.map +0 -1
- package/dist-esm/src/models/attestationResponse.js.map +0 -1
- package/dist-esm/src/models/attestationResult.js.map +0 -1
- package/dist-esm/src/models/attestationSigner.js.map +0 -1
- package/dist-esm/src/models/attestationToken.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/policyResult.js.map +0 -1
- package/dist-esm/src/models/storedAttestationPolicy.js.map +0 -1
- package/dist-esm/src/utils/base64.browser.js.map +0 -1
- package/dist-esm/src/utils/buffer.browser.js.map +0 -1
- package/dist-esm/src/utils/helpers.js.map +0 -1
- package/dist-esm/src/utils/textEncoding.browser.js.map +0 -1
- /package/{types/latest → dist}/attestation.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/index.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/mappers.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/attestation.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/metadataConfiguration.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/policy.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/policyCertificates.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/signingCertificates.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/tracing.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/tracing.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/attestationResponse.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/typeDeserializer.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/typeDeserializer.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/utf8.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/utf8.js.map +0 -0
- /package/{dist-esm/src → dist/esm}/utils/base64.js +0 -0
- /package/{dist-esm/src → dist/esm}/utils/base64.js.map +0 -0
- /package/{dist-esm/src → dist/esm}/utils/buffer.js +0 -0
- /package/{dist-esm/src → dist/esm}/utils/buffer.js.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generatedClient.d.ts","sourceRoot":"","sources":["../../../src/generated/generatedClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAajD,OAAO,EACL,MAAM,EACN,kBAAkB,EAClB,WAAW,EACX,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAElE,qBAAa,eAAgB,SAAQ,UAAU,CAAC,aAAa;IAC3D,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;gBACS,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,6BAA6B;IAyCxE,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,WAAW,EAAE,WAAW,CAAC;IACzB,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,qBAAqB,EAAE,qBAAqB,CAAC;CAC9C"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import * as coreClient from "@azure/core-client";
|
|
9
|
-
import { PolicyImpl, PolicyCertificatesImpl, AttestationImpl, SigningCertificatesImpl, MetadataConfigurationImpl } from "./operations";
|
|
9
|
+
import { PolicyImpl, PolicyCertificatesImpl, AttestationImpl, SigningCertificatesImpl, MetadataConfigurationImpl } from "./operations/index.js";
|
|
10
10
|
export class GeneratedClient extends coreClient.ServiceClient {
|
|
11
11
|
/**
|
|
12
12
|
* Initializes a new instance of the GeneratedClient class.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generatedClient.js","sourceRoot":"","sources":["../../../src/generated/generatedClient.ts"],"names":[],"mapp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,CAAC,CAAC;IAC5C,CAAC;CAOF","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\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport {\n PolicyImpl,\n PolicyCertificatesImpl,\n AttestationImpl,\n SigningCertificatesImpl,\n MetadataConfigurationImpl\n} from \"./operations/index.js\";\nimport {\n Policy,\n PolicyCertificates,\n Attestation,\n SigningCertificates,\n MetadataConfiguration\n} from \"./operationsInterfaces/index.js\";\nimport { GeneratedClientOptionalParams } from \"./models/index.js\";\n\nexport class GeneratedClient extends coreClient.ServiceClient {\n instanceUrl: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClient class.\n * @param instanceUrl The attestation instance base URI, for example https://mytenant.attest.azure.net.\n * @param options The parameter options\n */\n constructor(instanceUrl: string, options?: GeneratedClientOptionalParams) {\n if (instanceUrl === undefined) {\n throw new Error(\"'instanceUrl' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: GeneratedClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-attestation/1.0.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint ?? options.baseUri ?? \"{instanceUrl}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.instanceUrl = instanceUrl;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2020-10-01\";\n this.policy = new PolicyImpl(this);\n this.policyCertificates = new PolicyCertificatesImpl(this);\n this.attestation = new AttestationImpl(this);\n this.signingCertificates = new SigningCertificatesImpl(this);\n this.metadataConfiguration = new MetadataConfigurationImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n policy: Policy;\n policyCertificates: PolicyCertificates;\n attestation: Attestation;\n signingCertificates: SigningCertificates;\n metadataConfiguration: MetadataConfiguration;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,cAAc,iCAAiC,CAAC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
export * from "./models";
|
|
9
|
-
export { GeneratedClient } from "./generatedClient";
|
|
10
|
-
export * from "./operationsInterfaces";
|
|
8
|
+
export * from "./models/index.js";
|
|
9
|
+
export { GeneratedClient } from "./generatedClient.js";
|
|
10
|
+
export * from "./operationsInterfaces/index.js";
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generated/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,cAAc,iCAAiC,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 \"./models/index.js\";\nexport { GeneratedClient } from \"./generatedClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
/** The response to an attestation policy operation */
|
|
3
|
+
export interface PolicyResponse {
|
|
4
|
+
/** An RFC7519 JSON Web Token structure whose body is an PolicyResult object. */
|
|
5
|
+
token: string;
|
|
6
|
+
}
|
|
7
|
+
/** An error response from Attestation. */
|
|
8
|
+
export interface CloudError {
|
|
9
|
+
/** An error response from Attestation. */
|
|
10
|
+
error?: CloudErrorBody;
|
|
11
|
+
}
|
|
12
|
+
/** An error response from Attestation. */
|
|
13
|
+
export interface CloudErrorBody {
|
|
14
|
+
/** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
|
|
15
|
+
code?: string;
|
|
16
|
+
/** A message describing the error, intended to be suitable for displaying in a user interface. */
|
|
17
|
+
message?: string;
|
|
18
|
+
}
|
|
19
|
+
/** The response to an attestation policy management API */
|
|
20
|
+
export interface PolicyCertificatesResponse {
|
|
21
|
+
/** An RFC7519 JSON Web Token structure containing a PolicyCertificatesResults object which contains the certificates used to validate policy changes */
|
|
22
|
+
token: string;
|
|
23
|
+
}
|
|
24
|
+
/** The response to an attestation policy management API */
|
|
25
|
+
export interface PolicyCertificatesModifyResponse {
|
|
26
|
+
/** An RFC7519 JSON Web Token structure whose body is a PolicyCertificatesModificationResult object. */
|
|
27
|
+
token: string;
|
|
28
|
+
}
|
|
29
|
+
/** Attestation request for Intel SGX enclaves */
|
|
30
|
+
export interface AttestOpenEnclaveRequest {
|
|
31
|
+
/** OpenEnclave report from the enclave to be attested */
|
|
32
|
+
report?: Uint8Array;
|
|
33
|
+
/** Runtime data provided by the enclave at the time of report generation. The MAA will verify that the first 32 bytes of the report_data field of the quote contains the SHA256 hash of the decoded "data" field of the runtime data. */
|
|
34
|
+
runtimeData?: RuntimeData;
|
|
35
|
+
/** Base64Url encoded "InitTime data". The MAA will verify that the init data was known to the enclave. Note that InitTimeData is invalid for CoffeeLake processors. */
|
|
36
|
+
initTimeData?: InitTimeData;
|
|
37
|
+
/** Attest against the provided draft policy. Note that the resulting token cannot be validated. */
|
|
38
|
+
draftPolicyForAttestation?: string;
|
|
39
|
+
}
|
|
40
|
+
/** Defines the "run time data" provided by the attestation target for use by the MAA */
|
|
41
|
+
export interface RuntimeData {
|
|
42
|
+
/** UTF-8 encoded Runtime Data generated by the trusted environment */
|
|
43
|
+
data?: Uint8Array;
|
|
44
|
+
/** The type of data contained within the "data" field */
|
|
45
|
+
dataType?: DataType;
|
|
46
|
+
}
|
|
47
|
+
/** Defines the "initialization time data" used to provision the attestation target for use by the MAA */
|
|
48
|
+
export interface InitTimeData {
|
|
49
|
+
/** UTF-8 encoded Initialization Data passed into the trusted environment when it is created. */
|
|
50
|
+
data?: Uint8Array;
|
|
51
|
+
/** The type of data contained within the "data" field */
|
|
52
|
+
dataType?: DataType;
|
|
53
|
+
}
|
|
54
|
+
/** The result of an attestation operation */
|
|
55
|
+
export interface AttestationResponse {
|
|
56
|
+
/** An RFC 7519 JSON Web Token, the body of which is an AttestationResult object. */
|
|
57
|
+
token: string;
|
|
58
|
+
}
|
|
59
|
+
/** Attestation request for Intel SGX enclaves */
|
|
60
|
+
export interface AttestSgxEnclaveRequest {
|
|
61
|
+
/** Quote of the enclave to be attested */
|
|
62
|
+
quote?: Uint8Array;
|
|
63
|
+
/** Runtime data provided by the enclave at the time of quote generation. The MAA will verify that the first 32 bytes of the report_data field of the quote contains the SHA256 hash of the decoded "data" field of the runtime data. */
|
|
64
|
+
runtimeData?: RuntimeData;
|
|
65
|
+
/** Initialization data provided when the enclave is created. MAA will verify that the init data was known to the enclave. Note that InitTimeData is invalid for CoffeeLake processors. */
|
|
66
|
+
initTimeData?: InitTimeData;
|
|
67
|
+
/** Attest against the provided draft policy. Note that the resulting token cannot be validated. */
|
|
68
|
+
draftPolicyForAttestation?: string;
|
|
69
|
+
}
|
|
70
|
+
/** Attestation request for Trusted Platform Module (TPM) attestation. */
|
|
71
|
+
export interface TpmAttestationRequest {
|
|
72
|
+
/** Protocol data containing artifacts for attestation. */
|
|
73
|
+
data?: Uint8Array;
|
|
74
|
+
}
|
|
75
|
+
/** Attestation response for Trusted Platform Module (TPM) attestation. */
|
|
76
|
+
export interface TpmAttestationResponse {
|
|
77
|
+
/** Protocol data containing attestation service response. */
|
|
78
|
+
data?: Uint8Array;
|
|
79
|
+
}
|
|
80
|
+
export interface JsonWebKeySet {
|
|
81
|
+
/**
|
|
82
|
+
* The value of the "keys" parameter is an array of JWK values. By
|
|
83
|
+
* default, the order of the JWK values within the array does not imply
|
|
84
|
+
* an order of preference among them, although applications of JWK Sets
|
|
85
|
+
* can choose to assign a meaning to the order for their purposes, if
|
|
86
|
+
* desired.
|
|
87
|
+
*/
|
|
88
|
+
keys: JsonWebKey[];
|
|
89
|
+
}
|
|
90
|
+
export interface JsonWebKey {
|
|
91
|
+
/**
|
|
92
|
+
* The "alg" (algorithm) parameter identifies the algorithm intended for
|
|
93
|
+
* use with the key. The values used should either be registered in the
|
|
94
|
+
* IANA "JSON Web Signature and Encryption Algorithms" registry
|
|
95
|
+
* established by [JWA] or be a value that contains a Collision-
|
|
96
|
+
* Resistant Name.
|
|
97
|
+
*/
|
|
98
|
+
alg?: string;
|
|
99
|
+
/** The "crv" (curve) parameter identifies the curve type */
|
|
100
|
+
crv?: string;
|
|
101
|
+
/** RSA private exponent or ECC private key */
|
|
102
|
+
d?: string;
|
|
103
|
+
/** RSA Private Key Parameter */
|
|
104
|
+
dp?: string;
|
|
105
|
+
/** RSA Private Key Parameter */
|
|
106
|
+
dq?: string;
|
|
107
|
+
/** RSA public exponent, in Base64 */
|
|
108
|
+
e?: string;
|
|
109
|
+
/** Symmetric key */
|
|
110
|
+
k?: string;
|
|
111
|
+
/**
|
|
112
|
+
* The "kid" (key ID) parameter is used to match a specific key. This
|
|
113
|
+
* is used, for instance, to choose among a set of keys within a JWK Set
|
|
114
|
+
* during key rollover. The structure of the "kid" value is
|
|
115
|
+
* unspecified. When "kid" values are used within a JWK Set, different
|
|
116
|
+
* keys within the JWK Set SHOULD use distinct "kid" values. (One
|
|
117
|
+
* example in which different keys might use the same "kid" value is if
|
|
118
|
+
* they have different "kty" (key type) values but are considered to be
|
|
119
|
+
* equivalent alternatives by the application using them.) The "kid"
|
|
120
|
+
* value is a case-sensitive string.
|
|
121
|
+
*/
|
|
122
|
+
kid?: string;
|
|
123
|
+
/**
|
|
124
|
+
* The "kty" (key type) parameter identifies the cryptographic algorithm
|
|
125
|
+
* family used with the key, such as "RSA" or "EC". "kty" values should
|
|
126
|
+
* either be registered in the IANA "JSON Web Key Types" registry
|
|
127
|
+
* established by [JWA] or be a value that contains a Collision-
|
|
128
|
+
* Resistant Name. The "kty" value is a case-sensitive string.
|
|
129
|
+
*/
|
|
130
|
+
kty: string;
|
|
131
|
+
/** RSA modulus, in Base64 */
|
|
132
|
+
n?: string;
|
|
133
|
+
/** RSA secret prime */
|
|
134
|
+
p?: string;
|
|
135
|
+
/** RSA secret prime, with p < q */
|
|
136
|
+
q?: string;
|
|
137
|
+
/** RSA Private Key Parameter */
|
|
138
|
+
qi?: string;
|
|
139
|
+
/**
|
|
140
|
+
* Use ("public key use") identifies the intended use of
|
|
141
|
+
* the public key. The "use" parameter is employed to indicate whether
|
|
142
|
+
* a public key is used for encrypting data or verifying the signature
|
|
143
|
+
* on data. Values are commonly "sig" (signature) or "enc" (encryption).
|
|
144
|
+
*/
|
|
145
|
+
use?: string;
|
|
146
|
+
/** X coordinate for the Elliptic Curve point */
|
|
147
|
+
x?: string;
|
|
148
|
+
/**
|
|
149
|
+
* The "x5c" (X.509 certificate chain) parameter contains a chain of one
|
|
150
|
+
* or more PKIX certificates [RFC5280]. The certificate chain is
|
|
151
|
+
* represented as a JSON array of certificate value strings. Each
|
|
152
|
+
* string in the array is a base64-encoded (Section 4 of [RFC4648] --
|
|
153
|
+
* not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value.
|
|
154
|
+
* The PKIX certificate containing the key value MUST be the first
|
|
155
|
+
* certificate.
|
|
156
|
+
*/
|
|
157
|
+
x5C?: string[];
|
|
158
|
+
/** Y coordinate for the Elliptic Curve point */
|
|
159
|
+
y?: string;
|
|
160
|
+
}
|
|
161
|
+
/** The body of the JWT used for the PolicyCertificates APIs */
|
|
162
|
+
export interface AttestationCertificateManagementBody {
|
|
163
|
+
/** RFC 7517 Json Web Key describing the certificate. */
|
|
164
|
+
policyCertificate?: JsonWebKey;
|
|
165
|
+
}
|
|
166
|
+
/** The result of a call to retrieve policy certificates. */
|
|
167
|
+
export interface PolicyCertificatesResult {
|
|
168
|
+
/** SHA256 Hash of the binary representation certificate which was added or removed */
|
|
169
|
+
policyCertificates: JsonWebKeySet;
|
|
170
|
+
}
|
|
171
|
+
/** The result of a policy certificate modification */
|
|
172
|
+
export interface PolicyCertificatesModificationResult {
|
|
173
|
+
/** Hex encoded SHA1 Hash of the binary representation certificate which was added or removed */
|
|
174
|
+
certificateThumbprint: string;
|
|
175
|
+
/** The result of the operation */
|
|
176
|
+
certificateResolution: CertificateModification;
|
|
177
|
+
}
|
|
178
|
+
export interface StoredAttestationPolicy {
|
|
179
|
+
/** Policy text to set as a sequence of UTF-8 encoded octets. */
|
|
180
|
+
attestationPolicy?: Uint8Array;
|
|
181
|
+
}
|
|
182
|
+
/** The result of a policy certificate modification */
|
|
183
|
+
export interface PolicyResult {
|
|
184
|
+
/** The result of the operation */
|
|
185
|
+
policyResolution: PolicyModification;
|
|
186
|
+
/** The SHA256 hash of the policy object modified */
|
|
187
|
+
policyTokenHash: Uint8Array;
|
|
188
|
+
/** The certificate used to sign the policy object, if specified */
|
|
189
|
+
policySigner?: JsonWebKey;
|
|
190
|
+
/** A JSON Web Token containing a StoredAttestationPolicy object with the attestation policy */
|
|
191
|
+
policy?: string;
|
|
192
|
+
}
|
|
193
|
+
/** A Microsoft Azure Attestation response token body - the body of a response token issued by MAA */
|
|
194
|
+
export interface GeneratedAttestationResult {
|
|
195
|
+
/** Unique Identifier for the token */
|
|
196
|
+
jti: string;
|
|
197
|
+
/** The Principal who issued the token */
|
|
198
|
+
iss: string;
|
|
199
|
+
/** The time at which the token was issued, in the number of seconds since 1970-01-0T00:00:00Z UTC */
|
|
200
|
+
iat?: number;
|
|
201
|
+
/** The expiration time after which the token is no longer valid, in the number of seconds since 1970-01-0T00:00:00Z UTC */
|
|
202
|
+
exp?: number;
|
|
203
|
+
/** The not before time before which the token cannot be considered valid, in the number of seconds since 1970-01-0T00:00:00Z UTC */
|
|
204
|
+
nbf?: number;
|
|
205
|
+
/** An RFC 7800 Proof of Possession Key */
|
|
206
|
+
cnf?: Record<string, unknown>;
|
|
207
|
+
/** The Nonce input to the attestation request, if provided. */
|
|
208
|
+
nonce?: string;
|
|
209
|
+
/** The Schema version of this structure. Current Value: 1.0 */
|
|
210
|
+
version: string;
|
|
211
|
+
/** Runtime Claims */
|
|
212
|
+
runtimeClaims?: Record<string, unknown>;
|
|
213
|
+
/** Inittime Claims */
|
|
214
|
+
inittimeClaims?: Record<string, unknown>;
|
|
215
|
+
/** Policy Generated Claims */
|
|
216
|
+
policyClaims?: Record<string, unknown>;
|
|
217
|
+
/** The Attestation type being attested. */
|
|
218
|
+
verifierType: string;
|
|
219
|
+
/** The certificate used to sign the policy object, if specified. */
|
|
220
|
+
policySigner?: JsonWebKey;
|
|
221
|
+
/** The SHA256 hash of the BASE64URL encoded policy text used for attestation */
|
|
222
|
+
policyHash: Uint8Array;
|
|
223
|
+
/** True if the enclave is debuggable, false otherwise */
|
|
224
|
+
isDebuggable: boolean;
|
|
225
|
+
/** The SGX Product ID for the enclave. */
|
|
226
|
+
productId: number;
|
|
227
|
+
/** The HEX encoded SGX MRENCLAVE value for the enclave. */
|
|
228
|
+
mrEnclave: string;
|
|
229
|
+
/** The HEX encoded SGX MRSIGNER value for the enclave. */
|
|
230
|
+
mrSigner: string;
|
|
231
|
+
/** The SGX SVN value for the enclave. */
|
|
232
|
+
svn: number;
|
|
233
|
+
/** A copy of the RuntimeData specified as an input to the attest call. */
|
|
234
|
+
enclaveHeldData?: Uint8Array;
|
|
235
|
+
/** The SGX SVN value for the enclave. */
|
|
236
|
+
sgxCollateral?: Record<string, unknown>;
|
|
237
|
+
/** DEPRECATED: Private Preview version of x-ms-ver claim. */
|
|
238
|
+
deprecatedVersion?: string;
|
|
239
|
+
/** DEPRECATED: Private Preview version of x-ms-sgx-is-debuggable claim. */
|
|
240
|
+
deprecatedIsDebuggable?: boolean;
|
|
241
|
+
/** DEPRECATED: Private Preview version of x-ms-sgx-collateral claim. */
|
|
242
|
+
deprecatedSgxCollateral?: Record<string, unknown>;
|
|
243
|
+
/** DEPRECATED: Private Preview version of x-ms-sgx-ehd claim. */
|
|
244
|
+
deprecatedEnclaveHeldData?: Uint8Array;
|
|
245
|
+
/** DEPRECATED: Private Preview version of x-ms-sgx-ehd claim. */
|
|
246
|
+
deprecatedEnclaveHeldData2?: Uint8Array;
|
|
247
|
+
/** DEPRECATED: Private Preview version of x-ms-sgx-product-id */
|
|
248
|
+
deprecatedProductId?: number;
|
|
249
|
+
/** DEPRECATED: Private Preview version of x-ms-sgx-mrenclave. */
|
|
250
|
+
deprecatedMrEnclave?: string;
|
|
251
|
+
/** DEPRECATED: Private Preview version of x-ms-sgx-mrsigner. */
|
|
252
|
+
deprecatedMrSigner?: string;
|
|
253
|
+
/** DEPRECATED: Private Preview version of x-ms-sgx-svn. */
|
|
254
|
+
deprecatedSvn?: number;
|
|
255
|
+
/** DEPRECATED: Private Preview version of x-ms-tee. */
|
|
256
|
+
deprecatedTee?: string;
|
|
257
|
+
/** DEPRECATED: Private Preview version of x-ms-policy-signer */
|
|
258
|
+
deprecatedPolicySigner?: JsonWebKey;
|
|
259
|
+
/** DEPRECATED: Private Preview version of x-ms-policy-hash */
|
|
260
|
+
deprecatedPolicyHash?: Uint8Array;
|
|
261
|
+
/** DEPRECATED: Private Preview version of nonce */
|
|
262
|
+
deprecatedRpData?: string;
|
|
263
|
+
}
|
|
264
|
+
/** Known values of {@link AttestationType} that the service accepts. */
|
|
265
|
+
export declare enum KnownAttestationType {
|
|
266
|
+
/** Intel Software Guard eXtensions */
|
|
267
|
+
SgxEnclave = "SgxEnclave",
|
|
268
|
+
/** OpenEnclave extensions to SGX */
|
|
269
|
+
OpenEnclave = "OpenEnclave",
|
|
270
|
+
/** Edge TPM Virtualization Based Security */
|
|
271
|
+
Tpm = "Tpm"
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Defines values for AttestationType. \
|
|
275
|
+
* {@link KnownAttestationType} can be used interchangeably with AttestationType,
|
|
276
|
+
* this enum contains the known values that the service supports.
|
|
277
|
+
* ### Known values supported by the service
|
|
278
|
+
* **SgxEnclave**: Intel Software Guard eXtensions \
|
|
279
|
+
* **OpenEnclave**: OpenEnclave extensions to SGX \
|
|
280
|
+
* **Tpm**: Edge TPM Virtualization Based Security
|
|
281
|
+
*/
|
|
282
|
+
export type AttestationType = string;
|
|
283
|
+
/** Known values of {@link DataType} that the service accepts. */
|
|
284
|
+
export declare enum KnownDataType {
|
|
285
|
+
/** The contents of the field should be treated as binary and not interpreted by MAA. */
|
|
286
|
+
Binary = "Binary",
|
|
287
|
+
/** The contents of the field should be treated as a JSON object and may be further interpreted by MAA. */
|
|
288
|
+
Json = "JSON"
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Defines values for DataType. \
|
|
292
|
+
* {@link KnownDataType} can be used interchangeably with DataType,
|
|
293
|
+
* this enum contains the known values that the service supports.
|
|
294
|
+
* ### Known values supported by the service
|
|
295
|
+
* **Binary**: The contents of the field should be treated as binary and not interpreted by MAA. \
|
|
296
|
+
* **JSON**: The contents of the field should be treated as a JSON object and may be further interpreted by MAA.
|
|
297
|
+
*/
|
|
298
|
+
export type DataType = string;
|
|
299
|
+
/** Known values of {@link CertificateModification} that the service accepts. */
|
|
300
|
+
export declare enum KnownCertificateModification {
|
|
301
|
+
/** After the operation was performed, the certificate is in the set of certificates. */
|
|
302
|
+
IsPresent = "IsPresent",
|
|
303
|
+
/** After the operation was performed, the certificate is no longer present in the set of certificates. */
|
|
304
|
+
IsAbsent = "IsAbsent"
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Defines values for CertificateModification. \
|
|
308
|
+
* {@link KnownCertificateModification} can be used interchangeably with CertificateModification,
|
|
309
|
+
* this enum contains the known values that the service supports.
|
|
310
|
+
* ### Known values supported by the service
|
|
311
|
+
* **IsPresent**: After the operation was performed, the certificate is in the set of certificates. \
|
|
312
|
+
* **IsAbsent**: After the operation was performed, the certificate is no longer present in the set of certificates.
|
|
313
|
+
*/
|
|
314
|
+
export type CertificateModification = string;
|
|
315
|
+
/** Known values of {@link PolicyModification} that the service accepts. */
|
|
316
|
+
export declare enum KnownPolicyModification {
|
|
317
|
+
/** The specified policy object was updated. */
|
|
318
|
+
Updated = "Updated",
|
|
319
|
+
/** The specified policy object was removed. */
|
|
320
|
+
Removed = "Removed"
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* Defines values for PolicyModification. \
|
|
324
|
+
* {@link KnownPolicyModification} can be used interchangeably with PolicyModification,
|
|
325
|
+
* this enum contains the known values that the service supports.
|
|
326
|
+
* ### Known values supported by the service
|
|
327
|
+
* **Updated**: The specified policy object was updated. \
|
|
328
|
+
* **Removed**: The specified policy object was removed.
|
|
329
|
+
*/
|
|
330
|
+
export type PolicyModification = string;
|
|
331
|
+
/** Optional parameters. */
|
|
332
|
+
export interface PolicyGetOptionalParams extends coreClient.OperationOptions {
|
|
333
|
+
}
|
|
334
|
+
/** Contains response data for the get operation. */
|
|
335
|
+
export type PolicyGetResponse = PolicyResponse;
|
|
336
|
+
/** Optional parameters. */
|
|
337
|
+
export interface PolicySetModelOptionalParams extends coreClient.OperationOptions {
|
|
338
|
+
}
|
|
339
|
+
/** Contains response data for the set operation. */
|
|
340
|
+
export type PolicySetModelResponse = PolicyResponse;
|
|
341
|
+
/** Optional parameters. */
|
|
342
|
+
export interface PolicyResetOptionalParams extends coreClient.OperationOptions {
|
|
343
|
+
}
|
|
344
|
+
/** Contains response data for the reset operation. */
|
|
345
|
+
export type PolicyResetResponse = PolicyResponse;
|
|
346
|
+
/** Optional parameters. */
|
|
347
|
+
export interface PolicyCertificatesGetOptionalParams extends coreClient.OperationOptions {
|
|
348
|
+
}
|
|
349
|
+
/** Contains response data for the get operation. */
|
|
350
|
+
export type PolicyCertificatesGetResponse = PolicyCertificatesResponse;
|
|
351
|
+
/** Optional parameters. */
|
|
352
|
+
export interface PolicyCertificatesAddOptionalParams extends coreClient.OperationOptions {
|
|
353
|
+
}
|
|
354
|
+
/** Contains response data for the add operation. */
|
|
355
|
+
export type PolicyCertificatesAddResponse = PolicyCertificatesModifyResponse;
|
|
356
|
+
/** Optional parameters. */
|
|
357
|
+
export interface PolicyCertificatesRemoveOptionalParams extends coreClient.OperationOptions {
|
|
358
|
+
}
|
|
359
|
+
/** Contains response data for the remove operation. */
|
|
360
|
+
export type PolicyCertificatesRemoveResponse = PolicyCertificatesModifyResponse;
|
|
361
|
+
/** Optional parameters. */
|
|
362
|
+
export interface AttestationAttestOpenEnclaveOptionalParams extends coreClient.OperationOptions {
|
|
363
|
+
}
|
|
364
|
+
/** Contains response data for the attestOpenEnclave operation. */
|
|
365
|
+
export type AttestationAttestOpenEnclaveResponse = AttestationResponse;
|
|
366
|
+
/** Optional parameters. */
|
|
367
|
+
export interface AttestationAttestSgxEnclaveOptionalParams extends coreClient.OperationOptions {
|
|
368
|
+
}
|
|
369
|
+
/** Contains response data for the attestSgxEnclave operation. */
|
|
370
|
+
export type AttestationAttestSgxEnclaveResponse = AttestationResponse;
|
|
371
|
+
/** Optional parameters. */
|
|
372
|
+
export interface AttestationAttestTpmOptionalParams extends coreClient.OperationOptions {
|
|
373
|
+
}
|
|
374
|
+
/** Contains response data for the attestTpm operation. */
|
|
375
|
+
export type AttestationAttestTpmResponse = TpmAttestationResponse;
|
|
376
|
+
/** Optional parameters. */
|
|
377
|
+
export interface SigningCertificatesGetOptionalParams extends coreClient.OperationOptions {
|
|
378
|
+
}
|
|
379
|
+
/** Contains response data for the get operation. */
|
|
380
|
+
export type SigningCertificatesGetResponse = JsonWebKeySet;
|
|
381
|
+
/** Optional parameters. */
|
|
382
|
+
export interface MetadataConfigurationGetOptionalParams extends coreClient.OperationOptions {
|
|
383
|
+
}
|
|
384
|
+
/** Contains response data for the get operation. */
|
|
385
|
+
export type MetadataConfigurationGetResponse = Record<string, unknown>;
|
|
386
|
+
/** Optional parameters. */
|
|
387
|
+
export interface GeneratedClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
388
|
+
/** Api Version */
|
|
389
|
+
apiVersion?: string;
|
|
390
|
+
/** Overrides client endpoint. */
|
|
391
|
+
endpoint?: string;
|
|
392
|
+
}
|
|
393
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,sDAAsD;AACtD,MAAM,WAAW,cAAc;IAC7B,gFAAgF;IAChF,KAAK,EAAE,MAAM,CAAC;CACf;AAED,0CAA0C;AAC1C,MAAM,WAAW,UAAU;IACzB,0CAA0C;IAC1C,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AAED,0CAA0C;A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|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
export declare const PolicyResponse: coreClient.CompositeMapper;
|
|
3
|
+
export declare const CloudError: coreClient.CompositeMapper;
|
|
4
|
+
export declare const CloudErrorBody: coreClient.CompositeMapper;
|
|
5
|
+
export declare const PolicyCertificatesResponse: coreClient.CompositeMapper;
|
|
6
|
+
export declare const PolicyCertificatesModifyResponse: coreClient.CompositeMapper;
|
|
7
|
+
export declare const AttestOpenEnclaveRequest: coreClient.CompositeMapper;
|
|
8
|
+
export declare const RuntimeData: coreClient.CompositeMapper;
|
|
9
|
+
export declare const InitTimeData: coreClient.CompositeMapper;
|
|
10
|
+
export declare const AttestationResponse: coreClient.CompositeMapper;
|
|
11
|
+
export declare const AttestSgxEnclaveRequest: coreClient.CompositeMapper;
|
|
12
|
+
export declare const TpmAttestationRequest: coreClient.CompositeMapper;
|
|
13
|
+
export declare const TpmAttestationResponse: coreClient.CompositeMapper;
|
|
14
|
+
export declare const JsonWebKeySet: coreClient.CompositeMapper;
|
|
15
|
+
export declare const JsonWebKey: coreClient.CompositeMapper;
|
|
16
|
+
export declare const AttestationCertificateManagementBody: coreClient.CompositeMapper;
|
|
17
|
+
export declare const PolicyCertificatesResult: coreClient.CompositeMapper;
|
|
18
|
+
export declare const PolicyCertificatesModificationResult: coreClient.CompositeMapper;
|
|
19
|
+
export declare const StoredAttestationPolicy: coreClient.CompositeMapper;
|
|
20
|
+
export declare const PolicyResult: coreClient.CompositeMapper;
|
|
21
|
+
export declare const GeneratedAttestationResult: coreClient.CompositeMapper;
|
|
22
|
+
//# sourceMappingURL=mappers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../src/generated/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,eAmBvC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,eAcnC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,eAmBvC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,UAAU,CAAC,eAmBnD,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,UAAU,CAAC,eAmBzD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAAC,eAiCjD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,eAmBpC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC,eAmBrC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAmB5C,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,UAAU,CAAC,eAiChD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAa9C,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,eAa/C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,eAoBtC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,eAmHnC,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,UAAU,CAAC,eAc7D,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAAC,eAcjD,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,UAAU,CAAC,eAqB7D,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,UAAU,CAAC,eAahD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC,eAuCrC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,UAAU,CAAC,eAqOnD,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const accept: OperationParameter;
|
|
3
|
+
export declare const instanceUrl: OperationURLParameter;
|
|
4
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
5
|
+
export declare const attestationType: OperationURLParameter;
|
|
6
|
+
export declare const contentType: OperationParameter;
|
|
7
|
+
export declare const newAttestationPolicy: OperationParameter;
|
|
8
|
+
export declare const accept1: OperationParameter;
|
|
9
|
+
export declare const policyJws: OperationParameter;
|
|
10
|
+
export declare const contentType1: OperationParameter;
|
|
11
|
+
export declare const policyCertificateToAdd: OperationParameter;
|
|
12
|
+
export declare const policyCertificateToRemove: OperationParameter;
|
|
13
|
+
export declare const request: OperationParameter;
|
|
14
|
+
export declare const request1: OperationParameter;
|
|
15
|
+
export declare const request2: OperationParameter;
|
|
16
|
+
export declare const accept2: OperationParameter;
|
|
17
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../src/generated/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAO5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBAUzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,qBAS7B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,kBASlC,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,kBAUrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,kBASvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAU1B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,kBAYpC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,kBAYvC,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,kBAGrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,kBAGtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,kBAGtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,kBAUrB,CAAC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { AttestOpenEnclaveRequest as AttestOpenEnclaveRequestMapper, AttestSgxEnclaveRequest as AttestSgxEnclaveRequestMapper, TpmAttestationRequest as TpmAttestationRequestMapper } from "../models/mappers";
|
|
8
|
+
import { AttestOpenEnclaveRequest as AttestOpenEnclaveRequestMapper, AttestSgxEnclaveRequest as AttestSgxEnclaveRequestMapper, TpmAttestationRequest as TpmAttestationRequestMapper } from "../models/mappers.js";
|
|
9
9
|
export const accept = {
|
|
10
10
|
parameterPath: "accept",
|
|
11
11
|
mapper: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,wBAAwB,IAAI,8BAA8B,EAC1D,uBAAuB,IAAI,6BAA6B,EACxD,qBAAqB,IAAI,2BAA2B,EACrD,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;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;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zC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,wCAAwC;QACtD,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n AttestOpenEnclaveRequest as AttestOpenEnclaveRequestMapper,\n AttestSgxEnclaveRequest as AttestSgxEnclaveRequestMapper,\n TpmAttestationRequest as TpmAttestationRequestMapper\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 instanceUrl: OperationURLParameter = {\n parameterPath: \"instanceUrl\",\n mapper: {\n serializedName: \"instanceUrl\",\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: \"2020-10-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const attestationType: OperationURLParameter = {\n parameterPath: \"attestationType\",\n mapper: {\n serializedName: \"attestationType\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"text/plain\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const newAttestationPolicy: OperationParameter = {\n parameterPath: \"newAttestationPolicy\",\n mapper: {\n serializedName: \"newAttestationPolicy\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const accept1: 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 policyJws: OperationParameter = {\n parameterPath: \"policyJws\",\n mapper: {\n serializedName: \"policyJws\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType1: 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 policyCertificateToAdd: OperationParameter = {\n parameterPath: \"policyCertificateToAdd\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"[A-Za-z0-9_-]+\\\\.[A-Za-z0-9_-]*\\\\.[A-Za-z0-9_-]*\")\n },\n serializedName: \"policyCertificateToAdd\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const policyCertificateToRemove: OperationParameter = {\n parameterPath: \"policyCertificateToRemove\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"[A-Za-z0-9_-]+\\\\.[A-Za-z0-9_-]*\\\\.[A-Za-z0-9_-]*\")\n },\n serializedName: \"policyCertificateToRemove\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const request: OperationParameter = {\n parameterPath: \"request\",\n mapper: AttestOpenEnclaveRequestMapper\n};\n\nexport const request1: OperationParameter = {\n parameterPath: \"request\",\n mapper: AttestSgxEnclaveRequestMapper\n};\n\nexport const request2: OperationParameter = {\n parameterPath: \"request\",\n mapper: TpmAttestationRequestMapper\n};\n\nexport const accept2: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/jwk+json, application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Attestation } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { GeneratedClient } from "../generatedClient.js";
|
|
3
|
+
import { AttestOpenEnclaveRequest, AttestationAttestOpenEnclaveOptionalParams, AttestationAttestOpenEnclaveResponse, AttestSgxEnclaveRequest, AttestationAttestSgxEnclaveOptionalParams, AttestationAttestSgxEnclaveResponse, TpmAttestationRequest, AttestationAttestTpmOptionalParams, AttestationAttestTpmResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing Attestation operations. */
|
|
5
|
+
export declare class AttestationImpl implements Attestation {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class Attestation class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: GeneratedClient);
|
|
12
|
+
/**
|
|
13
|
+
* Processes an OpenEnclave report , producing an artifact. The type of artifact produced is dependent
|
|
14
|
+
* upon attestation policy.
|
|
15
|
+
* @param request Request object containing the quote
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
attestOpenEnclave(request: AttestOpenEnclaveRequest, options?: AttestationAttestOpenEnclaveOptionalParams): Promise<AttestationAttestOpenEnclaveResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Processes an SGX enclave quote, producing an artifact. The type of artifact produced is dependent
|
|
21
|
+
* upon attestation policy.
|
|
22
|
+
* @param request Request object containing the quote
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
attestSgxEnclave(request: AttestSgxEnclaveRequest, options?: AttestationAttestSgxEnclaveOptionalParams): Promise<AttestationAttestSgxEnclaveResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Processes attestation evidence from a VBS enclave, producing an attestation result. The attestation
|
|
28
|
+
* result produced is dependent upon the attestation policy.
|
|
29
|
+
* @param request Request object
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
attestTpm(request: TpmAttestationRequest, options?: AttestationAttestTpmOptionalParams): Promise<AttestationAttestTpmResponse>;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=attestation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attestation.d.ts","sourceRoot":"","sources":["../../../../src/generated/operations/attestation.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,wBAAwB,EACxB,0CAA0C,EAC1C,oCAAoC,EACpC,uBAAuB,EACvB,yCAAyC,EACzC,mCAAmC,EACnC,qBAAqB,EACrB,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAE5B,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;;OAGG;gBACS,MAAM,EAAE,eAAe;IAInC;;;;;OAKG;IACG,iBAAiB,CACrB,OAAO,EAAE,wBAAwB,EACjC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAahD;;;;;OAKG;IACG,gBAAgB,CACpB,OAAO,EAAE,uBAAuB,EAChC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAa/C;;;;;OAKG;IACG,SAAS,CACb,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;CAYzC"}
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { tracingClient } from "../tracing";
|
|
8
|
+
import { tracingClient } from "../tracing.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
12
|
/** Class containing Attestation operations. */
|
|
13
13
|
export class AttestationImpl {
|
|
14
14
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attestation.js","sourceRoot":"","sources":["../../../../src/generated/operations/attestation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AActD,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAAiC,EACjC,OAAoD;QAEpD,OAAO,aAAa,CAAC,QAAQ,CAC3B,mCAAmC,EACnC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,EACb,KAAK,EAAE,OAAO,EAAE,EAAE;YAChB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,OAAO,EAAE,EACpB,8BAA8B,CACkB,CAAC;QACrD,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAgC,EAChC,OAAmD;QAEnD,OAAO,aAAa,CAAC,QAAQ,CAC3B,kCAAkC,EAClC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,EACb,KAAK,EAAE,OAAO,EAAE,EAAE;YAChB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,OAAO,EAAE,EACpB,6BAA6B,CACkB,C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C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACvC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC;IAC9D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,sBAAsB,GAA6B;IACvD,IAAI,EAAE,aAAa;IACnB,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,QAAQ;IAChC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACvC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC;IAC9D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { tracingClient } from \"../tracing.js\";\nimport { Attestation } 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 { GeneratedClient } from \"../generatedClient.js\";\nimport {\n AttestOpenEnclaveRequest,\n AttestationAttestOpenEnclaveOptionalParams,\n AttestationAttestOpenEnclaveResponse,\n AttestSgxEnclaveRequest,\n AttestationAttestSgxEnclaveOptionalParams,\n AttestationAttestSgxEnclaveResponse,\n TpmAttestationRequest,\n AttestationAttestTpmOptionalParams,\n AttestationAttestTpmResponse\n} from \"../models/index.js\";\n\n/** Class containing Attestation operations. */\nexport class AttestationImpl implements Attestation {\n private readonly client: GeneratedClient;\n\n /**\n * Initialize a new instance of the class Attestation class.\n * @param client Reference to the service client\n */\n constructor(client: GeneratedClient) {\n this.client = client;\n }\n\n /**\n * Processes an OpenEnclave report , producing an artifact. The type of artifact produced is dependent\n * upon attestation policy.\n * @param request Request object containing the quote\n * @param options The options parameters.\n */\n async attestOpenEnclave(\n request: AttestOpenEnclaveRequest,\n options?: AttestationAttestOpenEnclaveOptionalParams\n ): Promise<AttestationAttestOpenEnclaveResponse> {\n return tracingClient.withSpan(\n \"GeneratedClient.attestOpenEnclave\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { request, options },\n attestOpenEnclaveOperationSpec\n ) as Promise<AttestationAttestOpenEnclaveResponse>;\n }\n );\n }\n\n /**\n * Processes an SGX enclave quote, producing an artifact. The type of artifact produced is dependent\n * upon attestation policy.\n * @param request Request object containing the quote\n * @param options The options parameters.\n */\n async attestSgxEnclave(\n request: AttestSgxEnclaveRequest,\n options?: AttestationAttestSgxEnclaveOptionalParams\n ): Promise<AttestationAttestSgxEnclaveResponse> {\n return tracingClient.withSpan(\n \"GeneratedClient.attestSgxEnclave\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { request, options },\n attestSgxEnclaveOperationSpec\n ) as Promise<AttestationAttestSgxEnclaveResponse>;\n }\n );\n }\n\n /**\n * Processes attestation evidence from a VBS enclave, producing an attestation result. The attestation\n * result produced is dependent upon the attestation policy.\n * @param request Request object\n * @param options The options parameters.\n */\n async attestTpm(\n request: TpmAttestationRequest,\n options?: AttestationAttestTpmOptionalParams\n ): Promise<AttestationAttestTpmResponse> {\n return tracingClient.withSpan(\n \"GeneratedClient.attestTpm\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { request, options },\n attestTpmOperationSpec\n ) as Promise<AttestationAttestTpmResponse>;\n }\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst attestOpenEnclaveOperationSpec: coreClient.OperationSpec = {\n path: \"/attest/OpenEnclave\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AttestationResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.request,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.instanceUrl],\n headerParameters: [Parameters.accept, Parameters.contentType1],\n mediaType: \"json\",\n serializer\n};\nconst attestSgxEnclaveOperationSpec: coreClient.OperationSpec = {\n path: \"/attest/SgxEnclave\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AttestationResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.request1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.instanceUrl],\n headerParameters: [Parameters.accept, Parameters.contentType1],\n mediaType: \"json\",\n serializer\n};\nconst attestTpmOperationSpec: coreClient.OperationSpec = {\n path: \"/attest/Tpm\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.TpmAttestationResponse\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.request2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.instanceUrl],\n headerParameters: [Parameters.accept, Parameters.contentType1],\n mediaType: \"json\",\n serializer\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC"}
|