@azure/attestation 1.0.1-alpha.20241022.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.
Files changed (610) hide show
  1. package/dist/browser/attestationAdministrationClient.d.ts +183 -0
  2. package/dist/browser/attestationAdministrationClient.d.ts.map +1 -0
  3. package/{dist-esm/src → dist/browser}/attestationAdministrationClient.js +13 -13
  4. package/dist/browser/attestationAdministrationClient.js.map +1 -0
  5. package/dist/browser/attestationClient.d.ts +209 -0
  6. package/dist/browser/attestationClient.d.ts.map +1 -0
  7. package/{dist-esm/src → dist/browser}/attestationClient.js +12 -12
  8. package/dist/browser/attestationClient.js.map +1 -0
  9. package/dist/browser/generated/generatedClient.d.ts +21 -0
  10. package/dist/browser/generated/generatedClient.d.ts.map +1 -0
  11. package/{dist-esm/src → dist/browser}/generated/generatedClient.js +1 -1
  12. package/dist/browser/generated/generatedClient.js.map +1 -0
  13. package/dist/browser/generated/index.d.ts +4 -0
  14. package/dist/browser/generated/index.d.ts.map +1 -0
  15. package/{dist-esm/src → dist/browser}/generated/index.js +3 -3
  16. package/dist/browser/generated/index.js.map +1 -0
  17. package/dist/browser/generated/models/index.d.ts +393 -0
  18. package/dist/browser/generated/models/index.d.ts.map +1 -0
  19. package/dist/browser/generated/models/mappers.d.ts +22 -0
  20. package/dist/browser/generated/models/mappers.d.ts.map +1 -0
  21. package/dist/browser/generated/models/parameters.d.ts +17 -0
  22. package/dist/browser/generated/models/parameters.d.ts.map +1 -0
  23. package/{dist-esm/src → dist/browser}/generated/models/parameters.js +1 -1
  24. package/dist/browser/generated/models/parameters.js.map +1 -0
  25. package/dist/browser/generated/operations/attestation.d.ts +34 -0
  26. package/dist/browser/generated/operations/attestation.d.ts.map +1 -0
  27. package/{dist-esm/src → dist/browser}/generated/operations/attestation.js +3 -3
  28. package/dist/browser/generated/operations/attestation.js.map +1 -0
  29. package/dist/browser/generated/operations/index.d.ts +6 -0
  30. package/dist/browser/generated/operations/index.d.ts.map +1 -0
  31. package/{dist-esm/src/generated/operationsInterfaces → dist/browser/generated/operations}/index.js +5 -5
  32. package/dist/browser/generated/operations/index.js.map +1 -0
  33. package/dist/browser/generated/operations/metadataConfiguration.d.ts +18 -0
  34. package/dist/browser/generated/operations/metadataConfiguration.d.ts.map +1 -0
  35. package/{dist-esm/src → dist/browser}/generated/operations/metadataConfiguration.js +3 -3
  36. package/dist/browser/generated/operations/metadataConfiguration.js.map +1 -0
  37. package/dist/browser/generated/operations/policy.d.ts +37 -0
  38. package/dist/browser/generated/operations/policy.d.ts.map +1 -0
  39. package/{dist-esm/src → dist/browser}/generated/operations/policy.js +3 -3
  40. package/dist/browser/generated/operations/policy.js.map +1 -0
  41. package/dist/browser/generated/operations/policyCertificates.d.ts +34 -0
  42. package/dist/browser/generated/operations/policyCertificates.d.ts.map +1 -0
  43. package/{dist-esm/src → dist/browser}/generated/operations/policyCertificates.js +3 -3
  44. package/dist/browser/generated/operations/policyCertificates.js.map +1 -0
  45. package/dist/browser/generated/operations/signingCertificates.d.ts +18 -0
  46. package/dist/browser/generated/operations/signingCertificates.d.ts.map +1 -0
  47. package/{dist-esm/src → dist/browser}/generated/operations/signingCertificates.js +3 -3
  48. package/dist/browser/generated/operations/signingCertificates.js.map +1 -0
  49. package/dist/browser/generated/operationsInterfaces/attestation.d.ts +26 -0
  50. package/dist/browser/generated/operationsInterfaces/attestation.d.ts.map +1 -0
  51. package/dist/browser/generated/operationsInterfaces/attestation.js.map +1 -0
  52. package/dist/browser/generated/operationsInterfaces/index.d.ts +6 -0
  53. package/dist/browser/generated/operationsInterfaces/index.d.ts.map +1 -0
  54. package/{dist-esm/src/generated/operations → dist/browser/generated/operationsInterfaces}/index.js +5 -5
  55. package/dist/browser/generated/operationsInterfaces/index.js.map +1 -0
  56. package/dist/browser/generated/operationsInterfaces/metadataConfiguration.d.ts +10 -0
  57. package/dist/browser/generated/operationsInterfaces/metadataConfiguration.d.ts.map +1 -0
  58. package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/metadataConfiguration.js.map +1 -1
  59. package/dist/browser/generated/operationsInterfaces/policy.d.ts +29 -0
  60. package/dist/browser/generated/operationsInterfaces/policy.d.ts.map +1 -0
  61. package/dist/browser/generated/operationsInterfaces/policy.js.map +1 -0
  62. package/dist/browser/generated/operationsInterfaces/policyCertificates.d.ts +26 -0
  63. package/dist/browser/generated/operationsInterfaces/policyCertificates.d.ts.map +1 -0
  64. package/dist/browser/generated/operationsInterfaces/policyCertificates.js.map +1 -0
  65. package/dist/browser/generated/operationsInterfaces/signingCertificates.d.ts +10 -0
  66. package/dist/browser/generated/operationsInterfaces/signingCertificates.d.ts.map +1 -0
  67. package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/signingCertificates.js.map +1 -1
  68. package/dist/browser/generated/tracing.d.ts +2 -0
  69. package/dist/browser/generated/tracing.d.ts.map +1 -0
  70. package/dist/browser/index.d.ts +4 -0
  71. package/dist/browser/index.d.ts.map +1 -0
  72. package/dist/browser/index.js +6 -0
  73. package/dist/browser/index.js.map +1 -0
  74. package/dist/browser/logger.d.ts +7 -0
  75. package/dist/browser/logger.d.ts.map +1 -0
  76. package/dist/browser/models/attestationPolicyToken.d.ts +28 -0
  77. package/dist/browser/models/attestationPolicyToken.d.ts.map +1 -0
  78. package/{dist-esm/src → dist/browser}/models/attestationPolicyToken.js +2 -2
  79. package/dist/browser/models/attestationPolicyToken.js.map +1 -0
  80. package/dist/browser/models/attestationResponse.d.ts +30 -0
  81. package/dist/browser/models/attestationResponse.d.ts.map +1 -0
  82. package/dist/browser/models/attestationResponse.js.map +1 -0
  83. package/dist/browser/models/attestationResult.d.ts +294 -0
  84. package/dist/browser/models/attestationResult.d.ts.map +1 -0
  85. package/{dist-esm/src → dist/browser}/models/attestationResult.js +1 -1
  86. package/dist/browser/models/attestationResult.js.map +1 -0
  87. package/dist/browser/models/attestationSigner.d.ts +27 -0
  88. package/dist/browser/models/attestationSigner.d.ts.map +1 -0
  89. package/{dist-esm/src → dist/browser}/models/attestationSigner.js +1 -1
  90. package/dist/browser/models/attestationSigner.js.map +1 -0
  91. package/dist/browser/models/attestationToken.d.ts +339 -0
  92. package/dist/browser/models/attestationToken.d.ts.map +1 -0
  93. package/{dist-esm/src → dist/browser}/models/attestationToken.js +6 -6
  94. package/dist/browser/models/attestationToken.js.map +1 -0
  95. package/dist/browser/models/index.d.ts +8 -0
  96. package/dist/browser/models/index.d.ts.map +1 -0
  97. package/{dist-esm/src → dist/browser}/models/index.js +2 -2
  98. package/dist/browser/models/index.js.map +1 -0
  99. package/dist/browser/models/policyResult.d.ts +31 -0
  100. package/dist/browser/models/policyResult.d.ts.map +1 -0
  101. package/{dist-esm/src → dist/browser}/models/policyResult.js +3 -3
  102. package/dist/browser/models/policyResult.js.map +1 -0
  103. package/dist/browser/models/storedAttestationPolicy.d.ts +24 -0
  104. package/dist/browser/models/storedAttestationPolicy.d.ts.map +1 -0
  105. package/{dist-esm/src → dist/browser}/models/storedAttestationPolicy.js +3 -3
  106. package/dist/browser/models/storedAttestationPolicy.js.map +1 -0
  107. package/dist/browser/package.json +3 -0
  108. package/dist/browser/utils/base64-browser.d.mts.map +1 -0
  109. package/dist/browser/utils/base64-browser.mjs.map +1 -0
  110. package/dist/browser/utils/base64.d.ts +28 -0
  111. package/{dist-esm/src/utils/base64.browser.js → dist/browser/utils/base64.js} +1 -1
  112. package/dist/browser/utils/buffer-browser.d.mts.map +1 -0
  113. package/dist/browser/utils/buffer-browser.mjs.map +1 -0
  114. package/dist/browser/utils/buffer.d.ts +8 -0
  115. package/{dist-esm/src/utils/buffer.browser.js → dist/browser/utils/buffer.js} +1 -1
  116. package/dist/browser/utils/helpers.d.ts +22 -0
  117. package/dist/browser/utils/helpers.d.ts.map +1 -0
  118. package/{dist-esm/src → dist/browser}/utils/helpers.js +1 -1
  119. package/dist/browser/utils/helpers.js.map +1 -0
  120. package/dist/browser/utils/textEncoding-browser.d.mts +10 -0
  121. package/dist/browser/utils/textEncoding-browser.d.mts.map +1 -0
  122. package/{dist-esm/src/utils/textEncoding.browser.js → dist/browser/utils/textEncoding-browser.mjs} +1 -1
  123. package/dist/browser/utils/textEncoding-browser.mjs.map +1 -0
  124. package/dist/browser/utils/typeDeserializer.d.ts +34 -0
  125. package/dist/browser/utils/typeDeserializer.d.ts.map +1 -0
  126. package/dist/browser/utils/utf8.d.ts +13 -0
  127. package/dist/browser/utils/utf8.d.ts.map +1 -0
  128. package/dist/commonjs/attestationAdministrationClient.d.ts +183 -0
  129. package/dist/commonjs/attestationAdministrationClient.d.ts.map +1 -0
  130. package/dist/commonjs/attestationAdministrationClient.js +391 -0
  131. package/dist/commonjs/attestationAdministrationClient.js.map +1 -0
  132. package/dist/commonjs/attestationClient.d.ts +209 -0
  133. package/dist/commonjs/attestationClient.d.ts.map +1 -0
  134. package/dist/commonjs/attestationClient.js +243 -0
  135. package/dist/commonjs/attestationClient.js.map +1 -0
  136. package/dist/commonjs/generated/generatedClient.d.ts +21 -0
  137. package/dist/commonjs/generated/generatedClient.d.ts.map +1 -0
  138. package/dist/commonjs/generated/generatedClient.js +78 -0
  139. package/dist/commonjs/generated/generatedClient.js.map +1 -0
  140. package/dist/commonjs/generated/index.d.ts +4 -0
  141. package/dist/commonjs/generated/index.d.ts.map +1 -0
  142. package/dist/commonjs/generated/index.js +16 -0
  143. package/dist/commonjs/generated/index.js.map +1 -0
  144. package/dist/commonjs/generated/models/index.d.ts +393 -0
  145. package/dist/commonjs/generated/models/index.d.ts.map +1 -0
  146. package/dist/commonjs/generated/models/index.js +45 -0
  147. package/dist/commonjs/generated/models/index.js.map +1 -0
  148. package/dist/commonjs/generated/models/mappers.d.ts +22 -0
  149. package/dist/commonjs/generated/models/mappers.d.ts.map +1 -0
  150. package/dist/commonjs/generated/models/mappers.js +725 -0
  151. package/dist/commonjs/generated/models/mappers.js.map +1 -0
  152. package/dist/commonjs/generated/models/parameters.d.ts +17 -0
  153. package/dist/commonjs/generated/models/parameters.d.ts.map +1 -0
  154. package/dist/commonjs/generated/models/parameters.js +157 -0
  155. package/dist/commonjs/generated/models/parameters.js.map +1 -0
  156. package/dist/commonjs/generated/operations/attestation.d.ts +34 -0
  157. package/dist/commonjs/generated/operations/attestation.d.ts.map +1 -0
  158. package/dist/commonjs/generated/operations/attestation.js +116 -0
  159. package/dist/commonjs/generated/operations/attestation.js.map +1 -0
  160. package/dist/commonjs/generated/operations/index.d.ts +6 -0
  161. package/dist/commonjs/generated/operations/index.d.ts.map +1 -0
  162. package/dist/commonjs/generated/operations/index.js +16 -0
  163. package/dist/commonjs/generated/operations/index.js.map +1 -0
  164. package/dist/commonjs/generated/operations/metadataConfiguration.d.ts +18 -0
  165. package/dist/commonjs/generated/operations/metadataConfiguration.d.ts.map +1 -0
  166. package/dist/commonjs/generated/operations/metadataConfiguration.js +55 -0
  167. package/dist/commonjs/generated/operations/metadataConfiguration.js.map +1 -0
  168. package/dist/commonjs/generated/operations/policy.d.ts +37 -0
  169. package/dist/commonjs/generated/operations/policy.d.ts.map +1 -0
  170. package/dist/commonjs/generated/operations/policy.js +117 -0
  171. package/dist/commonjs/generated/operations/policy.js.map +1 -0
  172. package/dist/commonjs/generated/operations/policyCertificates.d.ts +34 -0
  173. package/dist/commonjs/generated/operations/policyCertificates.d.ts.map +1 -0
  174. package/dist/commonjs/generated/operations/policyCertificates.js +114 -0
  175. package/dist/commonjs/generated/operations/policyCertificates.js.map +1 -0
  176. package/dist/commonjs/generated/operations/signingCertificates.d.ts +18 -0
  177. package/dist/commonjs/generated/operations/signingCertificates.d.ts.map +1 -0
  178. package/dist/commonjs/generated/operations/signingCertificates.js +53 -0
  179. package/dist/commonjs/generated/operations/signingCertificates.js.map +1 -0
  180. package/dist/commonjs/generated/operationsInterfaces/attestation.d.ts +26 -0
  181. package/dist/commonjs/generated/operationsInterfaces/attestation.d.ts.map +1 -0
  182. package/dist/commonjs/generated/operationsInterfaces/attestation.js +10 -0
  183. package/dist/commonjs/generated/operationsInterfaces/attestation.js.map +1 -0
  184. package/dist/commonjs/generated/operationsInterfaces/index.d.ts +6 -0
  185. package/dist/commonjs/generated/operationsInterfaces/index.d.ts.map +1 -0
  186. package/dist/commonjs/generated/operationsInterfaces/index.js +16 -0
  187. package/dist/commonjs/generated/operationsInterfaces/index.js.map +1 -0
  188. package/dist/commonjs/generated/operationsInterfaces/metadataConfiguration.d.ts +10 -0
  189. package/dist/commonjs/generated/operationsInterfaces/metadataConfiguration.d.ts.map +1 -0
  190. package/dist/commonjs/generated/operationsInterfaces/metadataConfiguration.js +10 -0
  191. package/dist/commonjs/generated/operationsInterfaces/metadataConfiguration.js.map +1 -0
  192. package/dist/commonjs/generated/operationsInterfaces/policy.d.ts +29 -0
  193. package/dist/commonjs/generated/operationsInterfaces/policy.d.ts.map +1 -0
  194. package/dist/commonjs/generated/operationsInterfaces/policy.js +10 -0
  195. package/dist/commonjs/generated/operationsInterfaces/policy.js.map +1 -0
  196. package/dist/commonjs/generated/operationsInterfaces/policyCertificates.d.ts +26 -0
  197. package/dist/commonjs/generated/operationsInterfaces/policyCertificates.d.ts.map +1 -0
  198. package/dist/commonjs/generated/operationsInterfaces/policyCertificates.js +10 -0
  199. package/dist/commonjs/generated/operationsInterfaces/policyCertificates.js.map +1 -0
  200. package/dist/commonjs/generated/operationsInterfaces/signingCertificates.d.ts +10 -0
  201. package/dist/commonjs/generated/operationsInterfaces/signingCertificates.d.ts.map +1 -0
  202. package/dist/commonjs/generated/operationsInterfaces/signingCertificates.js +10 -0
  203. package/dist/commonjs/generated/operationsInterfaces/signingCertificates.js.map +1 -0
  204. package/dist/commonjs/generated/tracing.d.ts +2 -0
  205. package/dist/commonjs/generated/tracing.d.ts.map +1 -0
  206. package/dist/commonjs/generated/tracing.js +17 -0
  207. package/dist/commonjs/generated/tracing.js.map +1 -0
  208. package/dist/commonjs/index.d.ts +4 -0
  209. package/dist/commonjs/index.d.ts.map +1 -0
  210. package/dist/commonjs/index.js +12 -0
  211. package/dist/commonjs/index.js.map +1 -0
  212. package/dist/commonjs/logger.d.ts +7 -0
  213. package/dist/commonjs/logger.d.ts.map +1 -0
  214. package/dist/commonjs/logger.js +13 -0
  215. package/dist/commonjs/logger.js.map +1 -0
  216. package/dist/commonjs/models/attestationPolicyToken.d.ts +28 -0
  217. package/dist/commonjs/models/attestationPolicyToken.d.ts.map +1 -0
  218. package/dist/commonjs/models/attestationPolicyToken.js +29 -0
  219. package/dist/commonjs/models/attestationPolicyToken.js.map +1 -0
  220. package/dist/commonjs/models/attestationResponse.d.ts +30 -0
  221. package/dist/commonjs/models/attestationResponse.d.ts.map +1 -0
  222. package/dist/commonjs/models/attestationResponse.js +16 -0
  223. package/dist/commonjs/models/attestationResponse.js.map +1 -0
  224. package/dist/commonjs/models/attestationResult.d.ts +294 -0
  225. package/dist/commonjs/models/attestationResult.d.ts.map +1 -0
  226. package/dist/commonjs/models/attestationResult.js +173 -0
  227. package/dist/commonjs/models/attestationResult.js.map +1 -0
  228. package/dist/commonjs/models/attestationSigner.d.ts +27 -0
  229. package/dist/commonjs/models/attestationSigner.d.ts.map +1 -0
  230. package/dist/commonjs/models/attestationSigner.js +21 -0
  231. package/dist/commonjs/models/attestationSigner.js.map +1 -0
  232. package/dist/commonjs/models/attestationToken.d.ts +339 -0
  233. package/dist/commonjs/models/attestationToken.d.ts.map +1 -0
  234. package/dist/commonjs/models/attestationToken.js +358 -0
  235. package/dist/commonjs/models/attestationToken.js.map +1 -0
  236. package/dist/commonjs/models/index.d.ts +8 -0
  237. package/dist/commonjs/models/index.d.ts.map +1 -0
  238. package/dist/commonjs/models/index.js +12 -0
  239. package/dist/commonjs/models/index.js.map +1 -0
  240. package/dist/commonjs/models/policyResult.d.ts +31 -0
  241. package/dist/commonjs/models/policyResult.d.ts.map +1 -0
  242. package/dist/commonjs/models/policyResult.js +27 -0
  243. package/dist/commonjs/models/policyResult.js.map +1 -0
  244. package/dist/commonjs/models/storedAttestationPolicy.d.ts +24 -0
  245. package/dist/commonjs/models/storedAttestationPolicy.d.ts.map +1 -0
  246. package/dist/commonjs/models/storedAttestationPolicy.js +41 -0
  247. package/dist/commonjs/models/storedAttestationPolicy.js.map +1 -0
  248. package/dist/commonjs/package.json +3 -0
  249. package/dist/commonjs/utils/base64.d.ts +28 -0
  250. package/dist/commonjs/utils/base64.d.ts.map +1 -0
  251. package/dist/commonjs/utils/base64.js +79 -0
  252. package/dist/commonjs/utils/base64.js.map +1 -0
  253. package/dist/commonjs/utils/buffer.d.ts +8 -0
  254. package/dist/commonjs/utils/buffer.d.ts.map +1 -0
  255. package/dist/commonjs/utils/buffer.js +22 -0
  256. package/dist/commonjs/utils/buffer.js.map +1 -0
  257. package/dist/commonjs/utils/helpers.d.ts +22 -0
  258. package/dist/commonjs/utils/helpers.d.ts.map +1 -0
  259. package/dist/commonjs/utils/helpers.js +62 -0
  260. package/dist/commonjs/utils/helpers.js.map +1 -0
  261. package/dist/commonjs/utils/typeDeserializer.d.ts +34 -0
  262. package/dist/commonjs/utils/typeDeserializer.d.ts.map +1 -0
  263. package/dist/commonjs/utils/typeDeserializer.js +42 -0
  264. package/dist/commonjs/utils/typeDeserializer.js.map +1 -0
  265. package/dist/commonjs/utils/utf8.d.ts +13 -0
  266. package/dist/commonjs/utils/utf8.d.ts.map +1 -0
  267. package/dist/commonjs/utils/utf8.js +31 -0
  268. package/dist/commonjs/utils/utf8.js.map +1 -0
  269. package/dist/esm/attestationAdministrationClient.d.ts +183 -0
  270. package/dist/esm/attestationAdministrationClient.d.ts.map +1 -0
  271. package/dist/esm/attestationAdministrationClient.js +386 -0
  272. package/dist/esm/attestationAdministrationClient.js.map +1 -0
  273. package/dist/esm/attestationClient.d.ts +209 -0
  274. package/dist/esm/attestationClient.d.ts.map +1 -0
  275. package/dist/esm/attestationClient.js +238 -0
  276. package/dist/esm/attestationClient.js.map +1 -0
  277. package/dist/esm/generated/generatedClient.d.ts +21 -0
  278. package/dist/esm/generated/generatedClient.d.ts.map +1 -0
  279. package/dist/esm/generated/generatedClient.js +73 -0
  280. package/dist/esm/generated/generatedClient.js.map +1 -0
  281. package/dist/esm/generated/index.d.ts +4 -0
  282. package/dist/esm/generated/index.d.ts.map +1 -0
  283. package/dist/esm/generated/index.js +11 -0
  284. package/dist/esm/generated/index.js.map +1 -0
  285. package/dist/esm/generated/models/index.d.ts +393 -0
  286. package/dist/esm/generated/models/index.d.ts.map +1 -0
  287. package/dist/esm/generated/models/index.js +42 -0
  288. package/dist/esm/generated/models/index.js.map +1 -0
  289. package/dist/esm/generated/models/mappers.d.ts +22 -0
  290. package/dist/esm/generated/models/mappers.d.ts.map +1 -0
  291. package/dist/esm/generated/models/mappers.js +722 -0
  292. package/dist/esm/generated/models/mappers.js.map +1 -0
  293. package/dist/esm/generated/models/parameters.d.ts +17 -0
  294. package/dist/esm/generated/models/parameters.d.ts.map +1 -0
  295. package/dist/esm/generated/models/parameters.js +154 -0
  296. package/dist/esm/generated/models/parameters.js.map +1 -0
  297. package/dist/esm/generated/operations/attestation.d.ts +34 -0
  298. package/dist/esm/generated/operations/attestation.d.ts.map +1 -0
  299. package/dist/esm/generated/operations/attestation.js +111 -0
  300. package/dist/esm/generated/operations/attestation.js.map +1 -0
  301. package/dist/esm/generated/operations/index.d.ts +6 -0
  302. package/dist/esm/generated/operations/index.d.ts.map +1 -0
  303. package/dist/esm/generated/operations/index.js +13 -0
  304. package/dist/esm/generated/operations/index.js.map +1 -0
  305. package/dist/esm/generated/operations/metadataConfiguration.d.ts +18 -0
  306. package/dist/esm/generated/operations/metadataConfiguration.d.ts.map +1 -0
  307. package/dist/esm/generated/operations/metadataConfiguration.js +50 -0
  308. package/dist/esm/generated/operations/metadataConfiguration.js.map +1 -0
  309. package/dist/esm/generated/operations/policy.d.ts +37 -0
  310. package/dist/esm/generated/operations/policy.d.ts.map +1 -0
  311. package/dist/esm/generated/operations/policy.js +112 -0
  312. package/dist/esm/generated/operations/policy.js.map +1 -0
  313. package/dist/esm/generated/operations/policyCertificates.d.ts +34 -0
  314. package/dist/esm/generated/operations/policyCertificates.d.ts.map +1 -0
  315. package/dist/esm/generated/operations/policyCertificates.js +109 -0
  316. package/dist/esm/generated/operations/policyCertificates.js.map +1 -0
  317. package/dist/esm/generated/operations/signingCertificates.d.ts +18 -0
  318. package/dist/esm/generated/operations/signingCertificates.d.ts.map +1 -0
  319. package/dist/esm/generated/operations/signingCertificates.js +48 -0
  320. package/dist/esm/generated/operations/signingCertificates.js.map +1 -0
  321. package/dist/esm/generated/operationsInterfaces/attestation.d.ts +26 -0
  322. package/dist/esm/generated/operationsInterfaces/attestation.d.ts.map +1 -0
  323. package/dist/esm/generated/operationsInterfaces/attestation.js +9 -0
  324. package/dist/esm/generated/operationsInterfaces/attestation.js.map +1 -0
  325. package/dist/esm/generated/operationsInterfaces/index.d.ts +6 -0
  326. package/dist/esm/generated/operationsInterfaces/index.d.ts.map +1 -0
  327. package/dist/esm/generated/operationsInterfaces/index.js +13 -0
  328. package/dist/esm/generated/operationsInterfaces/index.js.map +1 -0
  329. package/dist/esm/generated/operationsInterfaces/metadataConfiguration.d.ts +10 -0
  330. package/dist/esm/generated/operationsInterfaces/metadataConfiguration.d.ts.map +1 -0
  331. package/dist/esm/generated/operationsInterfaces/metadataConfiguration.js +9 -0
  332. package/dist/esm/generated/operationsInterfaces/metadataConfiguration.js.map +1 -0
  333. package/dist/esm/generated/operationsInterfaces/policy.d.ts +29 -0
  334. package/dist/esm/generated/operationsInterfaces/policy.d.ts.map +1 -0
  335. package/dist/esm/generated/operationsInterfaces/policy.js +9 -0
  336. package/dist/esm/generated/operationsInterfaces/policy.js.map +1 -0
  337. package/dist/esm/generated/operationsInterfaces/policyCertificates.d.ts +26 -0
  338. package/dist/esm/generated/operationsInterfaces/policyCertificates.d.ts.map +1 -0
  339. package/dist/esm/generated/operationsInterfaces/policyCertificates.js +9 -0
  340. package/dist/esm/generated/operationsInterfaces/policyCertificates.js.map +1 -0
  341. package/dist/esm/generated/operationsInterfaces/signingCertificates.d.ts +10 -0
  342. package/dist/esm/generated/operationsInterfaces/signingCertificates.d.ts.map +1 -0
  343. package/dist/esm/generated/operationsInterfaces/signingCertificates.js +9 -0
  344. package/dist/esm/generated/operationsInterfaces/signingCertificates.js.map +1 -0
  345. package/dist/esm/generated/tracing.d.ts +2 -0
  346. package/dist/esm/generated/tracing.d.ts.map +1 -0
  347. package/dist/esm/generated/tracing.js +14 -0
  348. package/dist/esm/generated/tracing.js.map +1 -0
  349. package/dist/esm/index.d.ts +4 -0
  350. package/dist/esm/index.d.ts.map +1 -0
  351. package/dist/esm/index.js +6 -0
  352. package/dist/esm/index.js.map +1 -0
  353. package/dist/esm/logger.d.ts +7 -0
  354. package/dist/esm/logger.d.ts.map +1 -0
  355. package/dist/esm/logger.js +10 -0
  356. package/dist/esm/logger.js.map +1 -0
  357. package/dist/esm/models/attestationPolicyToken.d.ts +28 -0
  358. package/dist/esm/models/attestationPolicyToken.d.ts.map +1 -0
  359. package/dist/esm/models/attestationPolicyToken.js +26 -0
  360. package/dist/esm/models/attestationPolicyToken.js.map +1 -0
  361. package/dist/esm/models/attestationResponse.d.ts +30 -0
  362. package/dist/esm/models/attestationResponse.d.ts.map +1 -0
  363. package/dist/esm/models/attestationResponse.js +13 -0
  364. package/dist/esm/models/attestationResponse.js.map +1 -0
  365. package/dist/esm/models/attestationResult.d.ts +294 -0
  366. package/dist/esm/models/attestationResult.d.ts.map +1 -0
  367. package/dist/esm/models/attestationResult.js +168 -0
  368. package/dist/esm/models/attestationResult.js.map +1 -0
  369. package/dist/esm/models/attestationSigner.d.ts +27 -0
  370. package/dist/esm/models/attestationSigner.d.ts.map +1 -0
  371. package/dist/esm/models/attestationSigner.js +18 -0
  372. package/dist/esm/models/attestationSigner.js.map +1 -0
  373. package/dist/esm/models/attestationToken.d.ts +339 -0
  374. package/dist/esm/models/attestationToken.d.ts.map +1 -0
  375. package/dist/esm/models/attestationToken.js +353 -0
  376. package/dist/esm/models/attestationToken.js.map +1 -0
  377. package/dist/esm/models/index.d.ts +8 -0
  378. package/dist/esm/models/index.d.ts.map +1 -0
  379. package/dist/esm/models/index.js +5 -0
  380. package/dist/esm/models/index.js.map +1 -0
  381. package/dist/esm/models/policyResult.d.ts +31 -0
  382. package/dist/esm/models/policyResult.d.ts.map +1 -0
  383. package/dist/esm/models/policyResult.js +23 -0
  384. package/dist/esm/models/policyResult.js.map +1 -0
  385. package/dist/esm/models/storedAttestationPolicy.d.ts +24 -0
  386. package/dist/esm/models/storedAttestationPolicy.d.ts.map +1 -0
  387. package/dist/esm/models/storedAttestationPolicy.js +36 -0
  388. package/dist/esm/models/storedAttestationPolicy.js.map +1 -0
  389. package/dist/esm/package.json +3 -0
  390. package/dist/esm/utils/base64.d.ts +28 -0
  391. package/dist/esm/utils/base64.d.ts.map +1 -0
  392. package/dist/esm/utils/buffer.d.ts +8 -0
  393. package/dist/esm/utils/buffer.d.ts.map +1 -0
  394. package/dist/esm/utils/helpers.d.ts +22 -0
  395. package/dist/esm/utils/helpers.d.ts.map +1 -0
  396. package/dist/esm/utils/helpers.js +56 -0
  397. package/dist/esm/utils/helpers.js.map +1 -0
  398. package/dist/esm/utils/textEncoding-browser.d.mts +4 -0
  399. package/dist/esm/utils/textEncoding-browser.d.mts.map +1 -0
  400. package/dist/esm/utils/textEncoding-browser.mjs +6 -0
  401. package/dist/esm/utils/textEncoding-browser.mjs.map +1 -0
  402. package/dist/esm/utils/typeDeserializer.d.ts +34 -0
  403. package/dist/esm/utils/typeDeserializer.d.ts.map +1 -0
  404. package/dist/esm/utils/typeDeserializer.js +38 -0
  405. package/dist/esm/utils/typeDeserializer.js.map +1 -0
  406. package/dist/esm/utils/utf8.d.ts +13 -0
  407. package/dist/esm/utils/utf8.d.ts.map +1 -0
  408. package/dist/esm/utils/utf8.js +27 -0
  409. package/dist/esm/utils/utf8.js.map +1 -0
  410. package/dist/react-native/attestationAdministrationClient.d.ts +183 -0
  411. package/dist/react-native/attestationAdministrationClient.d.ts.map +1 -0
  412. package/dist/react-native/attestationAdministrationClient.js +386 -0
  413. package/dist/react-native/attestationAdministrationClient.js.map +1 -0
  414. package/dist/react-native/attestationClient.d.ts +209 -0
  415. package/dist/react-native/attestationClient.d.ts.map +1 -0
  416. package/dist/react-native/attestationClient.js +238 -0
  417. package/dist/react-native/attestationClient.js.map +1 -0
  418. package/dist/react-native/generated/generatedClient.d.ts +21 -0
  419. package/dist/react-native/generated/generatedClient.d.ts.map +1 -0
  420. package/dist/react-native/generated/generatedClient.js +73 -0
  421. package/dist/react-native/generated/generatedClient.js.map +1 -0
  422. package/dist/react-native/generated/index.d.ts +4 -0
  423. package/dist/react-native/generated/index.d.ts.map +1 -0
  424. package/dist/react-native/generated/index.js +11 -0
  425. package/dist/react-native/generated/index.js.map +1 -0
  426. package/dist/react-native/generated/models/index.d.ts +393 -0
  427. package/dist/react-native/generated/models/index.d.ts.map +1 -0
  428. package/dist/react-native/generated/models/index.js +42 -0
  429. package/dist/react-native/generated/models/index.js.map +1 -0
  430. package/dist/react-native/generated/models/mappers.d.ts +22 -0
  431. package/dist/react-native/generated/models/mappers.d.ts.map +1 -0
  432. package/dist/react-native/generated/models/mappers.js +722 -0
  433. package/dist/react-native/generated/models/mappers.js.map +1 -0
  434. package/dist/react-native/generated/models/parameters.d.ts +17 -0
  435. package/dist/react-native/generated/models/parameters.d.ts.map +1 -0
  436. package/dist/react-native/generated/models/parameters.js +154 -0
  437. package/dist/react-native/generated/models/parameters.js.map +1 -0
  438. package/dist/react-native/generated/operations/attestation.d.ts +34 -0
  439. package/dist/react-native/generated/operations/attestation.d.ts.map +1 -0
  440. package/dist/react-native/generated/operations/attestation.js +111 -0
  441. package/dist/react-native/generated/operations/attestation.js.map +1 -0
  442. package/dist/react-native/generated/operations/index.d.ts +6 -0
  443. package/dist/react-native/generated/operations/index.d.ts.map +1 -0
  444. package/dist/react-native/generated/operations/index.js +13 -0
  445. package/dist/react-native/generated/operations/index.js.map +1 -0
  446. package/dist/react-native/generated/operations/metadataConfiguration.d.ts +18 -0
  447. package/dist/react-native/generated/operations/metadataConfiguration.d.ts.map +1 -0
  448. package/dist/react-native/generated/operations/metadataConfiguration.js +50 -0
  449. package/dist/react-native/generated/operations/metadataConfiguration.js.map +1 -0
  450. package/dist/react-native/generated/operations/policy.d.ts +37 -0
  451. package/dist/react-native/generated/operations/policy.d.ts.map +1 -0
  452. package/dist/react-native/generated/operations/policy.js +112 -0
  453. package/dist/react-native/generated/operations/policy.js.map +1 -0
  454. package/dist/react-native/generated/operations/policyCertificates.d.ts +34 -0
  455. package/dist/react-native/generated/operations/policyCertificates.d.ts.map +1 -0
  456. package/dist/react-native/generated/operations/policyCertificates.js +109 -0
  457. package/dist/react-native/generated/operations/policyCertificates.js.map +1 -0
  458. package/dist/react-native/generated/operations/signingCertificates.d.ts +18 -0
  459. package/dist/react-native/generated/operations/signingCertificates.d.ts.map +1 -0
  460. package/dist/react-native/generated/operations/signingCertificates.js +48 -0
  461. package/dist/react-native/generated/operations/signingCertificates.js.map +1 -0
  462. package/dist/react-native/generated/operationsInterfaces/attestation.d.ts +26 -0
  463. package/dist/react-native/generated/operationsInterfaces/attestation.d.ts.map +1 -0
  464. package/dist/react-native/generated/operationsInterfaces/attestation.js +9 -0
  465. package/dist/react-native/generated/operationsInterfaces/attestation.js.map +1 -0
  466. package/dist/react-native/generated/operationsInterfaces/index.d.ts +6 -0
  467. package/dist/react-native/generated/operationsInterfaces/index.d.ts.map +1 -0
  468. package/dist/react-native/generated/operationsInterfaces/index.js +13 -0
  469. package/dist/react-native/generated/operationsInterfaces/index.js.map +1 -0
  470. package/dist/react-native/generated/operationsInterfaces/metadataConfiguration.d.ts +10 -0
  471. package/dist/react-native/generated/operationsInterfaces/metadataConfiguration.d.ts.map +1 -0
  472. package/dist/react-native/generated/operationsInterfaces/metadataConfiguration.js +9 -0
  473. package/dist/react-native/generated/operationsInterfaces/metadataConfiguration.js.map +1 -0
  474. package/dist/react-native/generated/operationsInterfaces/policy.d.ts +29 -0
  475. package/dist/react-native/generated/operationsInterfaces/policy.d.ts.map +1 -0
  476. package/dist/react-native/generated/operationsInterfaces/policy.js +9 -0
  477. package/dist/react-native/generated/operationsInterfaces/policy.js.map +1 -0
  478. package/dist/react-native/generated/operationsInterfaces/policyCertificates.d.ts +26 -0
  479. package/dist/react-native/generated/operationsInterfaces/policyCertificates.d.ts.map +1 -0
  480. package/dist/react-native/generated/operationsInterfaces/policyCertificates.js +9 -0
  481. package/dist/react-native/generated/operationsInterfaces/policyCertificates.js.map +1 -0
  482. package/dist/react-native/generated/operationsInterfaces/signingCertificates.d.ts +10 -0
  483. package/dist/react-native/generated/operationsInterfaces/signingCertificates.d.ts.map +1 -0
  484. package/dist/react-native/generated/operationsInterfaces/signingCertificates.js +9 -0
  485. package/dist/react-native/generated/operationsInterfaces/signingCertificates.js.map +1 -0
  486. package/dist/react-native/generated/tracing.d.ts +2 -0
  487. package/dist/react-native/generated/tracing.d.ts.map +1 -0
  488. package/dist/react-native/generated/tracing.js +14 -0
  489. package/dist/react-native/generated/tracing.js.map +1 -0
  490. package/dist/react-native/index.d.ts +4 -0
  491. package/dist/react-native/index.d.ts.map +1 -0
  492. package/dist/react-native/index.js +6 -0
  493. package/dist/react-native/index.js.map +1 -0
  494. package/dist/react-native/logger.d.ts +7 -0
  495. package/dist/react-native/logger.d.ts.map +1 -0
  496. package/dist/react-native/logger.js +10 -0
  497. package/dist/react-native/logger.js.map +1 -0
  498. package/dist/react-native/models/attestationPolicyToken.d.ts +28 -0
  499. package/dist/react-native/models/attestationPolicyToken.d.ts.map +1 -0
  500. package/dist/react-native/models/attestationPolicyToken.js +26 -0
  501. package/dist/react-native/models/attestationPolicyToken.js.map +1 -0
  502. package/dist/react-native/models/attestationResponse.d.ts +30 -0
  503. package/dist/react-native/models/attestationResponse.d.ts.map +1 -0
  504. package/dist/react-native/models/attestationResponse.js +13 -0
  505. package/dist/react-native/models/attestationResponse.js.map +1 -0
  506. package/dist/react-native/models/attestationResult.d.ts +294 -0
  507. package/dist/react-native/models/attestationResult.d.ts.map +1 -0
  508. package/dist/react-native/models/attestationResult.js +168 -0
  509. package/dist/react-native/models/attestationResult.js.map +1 -0
  510. package/dist/react-native/models/attestationSigner.d.ts +27 -0
  511. package/dist/react-native/models/attestationSigner.d.ts.map +1 -0
  512. package/dist/react-native/models/attestationSigner.js +18 -0
  513. package/dist/react-native/models/attestationSigner.js.map +1 -0
  514. package/dist/react-native/models/attestationToken.d.ts +339 -0
  515. package/dist/react-native/models/attestationToken.d.ts.map +1 -0
  516. package/dist/react-native/models/attestationToken.js +353 -0
  517. package/dist/react-native/models/attestationToken.js.map +1 -0
  518. package/dist/react-native/models/index.d.ts +8 -0
  519. package/dist/react-native/models/index.d.ts.map +1 -0
  520. package/dist/react-native/models/index.js +5 -0
  521. package/dist/react-native/models/index.js.map +1 -0
  522. package/dist/react-native/models/policyResult.d.ts +31 -0
  523. package/dist/react-native/models/policyResult.d.ts.map +1 -0
  524. package/dist/react-native/models/policyResult.js +23 -0
  525. package/dist/react-native/models/policyResult.js.map +1 -0
  526. package/dist/react-native/models/storedAttestationPolicy.d.ts +24 -0
  527. package/dist/react-native/models/storedAttestationPolicy.d.ts.map +1 -0
  528. package/dist/react-native/models/storedAttestationPolicy.js +36 -0
  529. package/dist/react-native/models/storedAttestationPolicy.js.map +1 -0
  530. package/dist/react-native/package.json +3 -0
  531. package/dist/react-native/utils/base64.d.ts +28 -0
  532. package/dist/react-native/utils/base64.d.ts.map +1 -0
  533. package/dist/react-native/utils/base64.js +70 -0
  534. package/dist/react-native/utils/base64.js.map +1 -0
  535. package/dist/react-native/utils/buffer.d.ts +8 -0
  536. package/dist/react-native/utils/buffer.d.ts.map +1 -0
  537. package/dist/react-native/utils/buffer.js +19 -0
  538. package/dist/react-native/utils/buffer.js.map +1 -0
  539. package/dist/react-native/utils/helpers.d.ts +22 -0
  540. package/dist/react-native/utils/helpers.d.ts.map +1 -0
  541. package/dist/react-native/utils/helpers.js +56 -0
  542. package/dist/react-native/utils/helpers.js.map +1 -0
  543. package/dist/react-native/utils/textEncoding-browser.d.mts +4 -0
  544. package/dist/react-native/utils/textEncoding-browser.d.mts.map +1 -0
  545. package/dist/react-native/utils/textEncoding-browser.mjs +6 -0
  546. package/dist/react-native/utils/textEncoding-browser.mjs.map +1 -0
  547. package/dist/react-native/utils/typeDeserializer.d.ts +34 -0
  548. package/dist/react-native/utils/typeDeserializer.d.ts.map +1 -0
  549. package/dist/react-native/utils/typeDeserializer.js +38 -0
  550. package/dist/react-native/utils/typeDeserializer.js.map +1 -0
  551. package/dist/react-native/utils/utf8.d.ts +13 -0
  552. package/dist/react-native/utils/utf8.d.ts.map +1 -0
  553. package/dist/react-native/utils/utf8.js +27 -0
  554. package/dist/react-native/utils/utf8.js.map +1 -0
  555. package/package.json +60 -49
  556. package/dist/index.js +0 -2881
  557. package/dist/index.js.map +0 -1
  558. package/dist-esm/src/attestationAdministrationClient.js.map +0 -1
  559. package/dist-esm/src/attestationClient.js.map +0 -1
  560. package/dist-esm/src/generated/generatedClient.js.map +0 -1
  561. package/dist-esm/src/generated/index.js.map +0 -1
  562. package/dist-esm/src/generated/models/parameters.js.map +0 -1
  563. package/dist-esm/src/generated/operations/attestation.js.map +0 -1
  564. package/dist-esm/src/generated/operations/index.js.map +0 -1
  565. package/dist-esm/src/generated/operations/metadataConfiguration.js.map +0 -1
  566. package/dist-esm/src/generated/operations/policy.js.map +0 -1
  567. package/dist-esm/src/generated/operations/policyCertificates.js.map +0 -1
  568. package/dist-esm/src/generated/operations/signingCertificates.js.map +0 -1
  569. package/dist-esm/src/generated/operationsInterfaces/attestation.js.map +0 -1
  570. package/dist-esm/src/generated/operationsInterfaces/index.js.map +0 -1
  571. package/dist-esm/src/generated/operationsInterfaces/policy.js.map +0 -1
  572. package/dist-esm/src/generated/operationsInterfaces/policyCertificates.js.map +0 -1
  573. package/dist-esm/src/index.js +0 -6
  574. package/dist-esm/src/index.js.map +0 -1
  575. package/dist-esm/src/models/attestationPolicyToken.js.map +0 -1
  576. package/dist-esm/src/models/attestationResponse.js.map +0 -1
  577. package/dist-esm/src/models/attestationResult.js.map +0 -1
  578. package/dist-esm/src/models/attestationSigner.js.map +0 -1
  579. package/dist-esm/src/models/attestationToken.js.map +0 -1
  580. package/dist-esm/src/models/index.js.map +0 -1
  581. package/dist-esm/src/models/policyResult.js.map +0 -1
  582. package/dist-esm/src/models/storedAttestationPolicy.js.map +0 -1
  583. package/dist-esm/src/utils/base64.browser.js.map +0 -1
  584. package/dist-esm/src/utils/buffer.browser.js.map +0 -1
  585. package/dist-esm/src/utils/helpers.js.map +0 -1
  586. package/dist-esm/src/utils/textEncoding.browser.js.map +0 -1
  587. /package/{types/latest → dist}/attestation.d.ts +0 -0
  588. /package/{dist-esm/src → dist/browser}/generated/models/index.js +0 -0
  589. /package/{dist-esm/src → dist/browser}/generated/models/index.js.map +0 -0
  590. /package/{dist-esm/src → dist/browser}/generated/models/mappers.js +0 -0
  591. /package/{dist-esm/src → dist/browser}/generated/models/mappers.js.map +0 -0
  592. /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/attestation.js +0 -0
  593. /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/metadataConfiguration.js +0 -0
  594. /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/policy.js +0 -0
  595. /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/policyCertificates.js +0 -0
  596. /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/signingCertificates.js +0 -0
  597. /package/{dist-esm/src → dist/browser}/generated/tracing.js +0 -0
  598. /package/{dist-esm/src → dist/browser}/generated/tracing.js.map +0 -0
  599. /package/{dist-esm/src → dist/browser}/logger.js +0 -0
  600. /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
  601. /package/{dist-esm/src → dist/browser}/models/attestationResponse.js +0 -0
  602. /package/{dist-esm/src → dist/browser}/utils/typeDeserializer.js +0 -0
  603. /package/{dist-esm/src → dist/browser}/utils/typeDeserializer.js.map +0 -0
  604. /package/{dist-esm/src → dist/browser}/utils/utf8.js +0 -0
  605. /package/{dist-esm/src → dist/browser}/utils/utf8.js.map +0 -0
  606. /package/{types/latest → dist/commonjs}/tsdoc-metadata.json +0 -0
  607. /package/{dist-esm/src → dist/esm}/utils/base64.js +0 -0
  608. /package/{dist-esm/src → dist/esm}/utils/base64.js.map +0 -0
  609. /package/{dist-esm/src → dist/esm}/utils/buffer.js +0 -0
  610. /package/{dist-esm/src → dist/esm}/utils/buffer.js.map +0 -0
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.GeneratedClient = void 0;
11
+ const tslib_1 = require("tslib");
12
+ tslib_1.__exportStar(require("./models/index.js"), exports);
13
+ var generatedClient_js_1 = require("./generatedClient.js");
14
+ Object.defineProperty(exports, "GeneratedClient", { enumerable: true, get: function () { return generatedClient_js_1.GeneratedClient; } });
15
+ tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generated/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,4DAAkC;AAClC,2DAAuD;AAA9C,qHAAA,eAAe,OAAA;AACxB,0EAAgD","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./models/index.js\";\nexport { 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;AAC1C,MAAM,WAAW,cAAc;IAC7B,yGAAyG;IACzG,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kGAAkG;IAClG,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC,wJAAwJ;IACxJ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,2DAA2D;AAC3D,MAAM,WAAW,gCAAgC;IAC/C,uGAAuG;IACvG,KAAK,EAAE,MAAM,CAAC;CACf;AAED,iDAAiD;AACjD,MAAM,WAAW,wBAAwB;IACvC,yDAAyD;IACzD,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,yOAAyO;IACzO,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,uKAAuK;IACvK,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,mGAAmG;IACnG,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC;AAED,wFAAwF;AACxF,MAAM,WAAW,WAAW;IAC1B,sEAAsE;IACtE,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,yGAAyG;AACzG,MAAM,WAAW,YAAY;IAC3B,gGAAgG;IAChG,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,6CAA6C;AAC7C,MAAM,WAAW,mBAAmB;IAClC,oFA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AM,WAAW,sCACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,oDAAoD;AACpD,MAAM,MAAM,gCAAgC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEvE,2BAA2B;AAC3B,MAAM,WAAW,6BACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.KnownPolicyModification = exports.KnownCertificateModification = exports.KnownDataType = exports.KnownAttestationType = void 0;
11
+ /** Known values of {@link AttestationType} that the service accepts. */
12
+ var KnownAttestationType;
13
+ (function (KnownAttestationType) {
14
+ /** Intel Software Guard eXtensions */
15
+ KnownAttestationType["SgxEnclave"] = "SgxEnclave";
16
+ /** OpenEnclave extensions to SGX */
17
+ KnownAttestationType["OpenEnclave"] = "OpenEnclave";
18
+ /** Edge TPM Virtualization Based Security */
19
+ KnownAttestationType["Tpm"] = "Tpm";
20
+ })(KnownAttestationType || (exports.KnownAttestationType = KnownAttestationType = {}));
21
+ /** Known values of {@link DataType} that the service accepts. */
22
+ var KnownDataType;
23
+ (function (KnownDataType) {
24
+ /** The contents of the field should be treated as binary and not interpreted by MAA. */
25
+ KnownDataType["Binary"] = "Binary";
26
+ /** The contents of the field should be treated as a JSON object and may be further interpreted by MAA. */
27
+ KnownDataType["Json"] = "JSON";
28
+ })(KnownDataType || (exports.KnownDataType = KnownDataType = {}));
29
+ /** Known values of {@link CertificateModification} that the service accepts. */
30
+ var KnownCertificateModification;
31
+ (function (KnownCertificateModification) {
32
+ /** After the operation was performed, the certificate is in the set of certificates. */
33
+ KnownCertificateModification["IsPresent"] = "IsPresent";
34
+ /** After the operation was performed, the certificate is no longer present in the set of certificates. */
35
+ KnownCertificateModification["IsAbsent"] = "IsAbsent";
36
+ })(KnownCertificateModification || (exports.KnownCertificateModification = KnownCertificateModification = {}));
37
+ /** Known values of {@link PolicyModification} that the service accepts. */
38
+ var KnownPolicyModification;
39
+ (function (KnownPolicyModification) {
40
+ /** The specified policy object was updated. */
41
+ KnownPolicyModification["Updated"] = "Updated";
42
+ /** The specified policy object was removed. */
43
+ KnownPolicyModification["Removed"] = "Removed";
44
+ })(KnownPolicyModification || (exports.KnownPolicyModification = KnownPolicyModification = {}));
45
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AA8RH,wEAAwE;AACxE,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,sCAAsC;IACtC,iDAAyB,CAAA;IACzB,oCAAoC;IACpC,mDAA2B,CAAA;IAC3B,6CAA6C;IAC7C,mCAAW,CAAA;AACb,CAAC,EAPW,oBAAoB,oCAApB,oBAAoB,QAO/B;AAaD,iEAAiE;AACjE,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,wFAAwF;IACxF,kCAAiB,CAAA;IACjB,0GAA0G;IAC1G,8BAAa,CAAA;AACf,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAYD,gFAAgF;AAChF,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACtC,wFAAwF;IACxF,uDAAuB,CAAA;IACvB,0GAA0G;IAC1G,qDAAqB,CAAA;AACvB,CAAC,EALW,4BAA4B,4CAA5B,4BAA4B,QAKvC;AAYD,2EAA2E;AAC3E,IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,+CAA+C;IAC/C,8CAAmB,CAAA;IACnB,+CAA+C;IAC/C,8CAAmB,CAAA;AACrB,CAAC,EALW,uBAAuB,uCAAvB,uBAAuB,QAKlC","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\n/** The response to an attestation policy operation */\nexport interface PolicyResponse {\n /** An RFC7519 JSON Web Token structure whose body is an PolicyResult object. */\n token: string;\n}\n\n/** An error response from Attestation. */\nexport interface CloudError {\n /** An error response from Attestation. */\n error?: CloudErrorBody;\n}\n\n/** An error response from Attestation. */\nexport interface CloudErrorBody {\n /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */\n code?: string;\n /** A message describing the error, intended to be suitable for displaying in a user interface. */\n message?: string;\n}\n\n/** The response to an attestation policy management API */\nexport interface PolicyCertificatesResponse {\n /** An RFC7519 JSON Web Token structure containing a PolicyCertificatesResults object which contains the certificates used to validate policy changes */\n token: string;\n}\n\n/** The response to an attestation policy management API */\nexport interface PolicyCertificatesModifyResponse {\n /** An RFC7519 JSON Web Token structure whose body is a PolicyCertificatesModificationResult object. */\n token: string;\n}\n\n/** Attestation request for Intel SGX enclaves */\nexport interface AttestOpenEnclaveRequest {\n /** OpenEnclave report from the enclave to be attested */\n report?: Uint8Array;\n /** 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. */\n runtimeData?: RuntimeData;\n /** 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. */\n initTimeData?: InitTimeData;\n /** Attest against the provided draft policy. Note that the resulting token cannot be validated. */\n draftPolicyForAttestation?: string;\n}\n\n/** Defines the \"run time data\" provided by the attestation target for use by the MAA */\nexport interface RuntimeData {\n /** UTF-8 encoded Runtime Data generated by the trusted environment */\n data?: Uint8Array;\n /** The type of data contained within the \"data\" field */\n dataType?: DataType;\n}\n\n/** Defines the \"initialization time data\" used to provision the attestation target for use by the MAA */\nexport interface InitTimeData {\n /** UTF-8 encoded Initialization Data passed into the trusted environment when it is created. */\n data?: Uint8Array;\n /** The type of data contained within the \"data\" field */\n dataType?: DataType;\n}\n\n/** The result of an attestation operation */\nexport interface AttestationResponse {\n /** An RFC 7519 JSON Web Token, the body of which is an AttestationResult object. */\n token: string;\n}\n\n/** Attestation request for Intel SGX enclaves */\nexport interface AttestSgxEnclaveRequest {\n /** Quote of the enclave to be attested */\n quote?: Uint8Array;\n /** 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. */\n runtimeData?: RuntimeData;\n /** 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. */\n initTimeData?: InitTimeData;\n /** Attest against the provided draft policy. Note that the resulting token cannot be validated. */\n draftPolicyForAttestation?: string;\n}\n\n/** Attestation request for Trusted Platform Module (TPM) attestation. */\nexport interface TpmAttestationRequest {\n /** Protocol data containing artifacts for attestation. */\n data?: Uint8Array;\n}\n\n/** Attestation response for Trusted Platform Module (TPM) attestation. */\nexport interface TpmAttestationResponse {\n /** Protocol data containing attestation service response. */\n data?: Uint8Array;\n}\n\nexport interface JsonWebKeySet {\n /**\n * The value of the \"keys\" parameter is an array of JWK values. By\n * default, the order of the JWK values within the array does not imply\n * an order of preference among them, although applications of JWK Sets\n * can choose to assign a meaning to the order for their purposes, if\n * desired.\n */\n keys: JsonWebKey[];\n}\n\nexport interface JsonWebKey {\n /**\n * The \"alg\" (algorithm) parameter identifies the algorithm intended for\n * use with the key. The values used should either be registered in the\n * IANA \"JSON Web Signature and Encryption Algorithms\" registry\n * established by [JWA] or be a value that contains a Collision-\n * Resistant Name.\n */\n alg?: string;\n /** The \"crv\" (curve) parameter identifies the curve type */\n crv?: string;\n /** RSA private exponent or ECC private key */\n d?: string;\n /** RSA Private Key Parameter */\n dp?: string;\n /** RSA Private Key Parameter */\n dq?: string;\n /** RSA public exponent, in Base64 */\n e?: string;\n /** Symmetric key */\n k?: string;\n /**\n * The \"kid\" (key ID) parameter is used to match a specific key. This\n * is used, for instance, to choose among a set of keys within a JWK Set\n * during key rollover. The structure of the \"kid\" value is\n * unspecified. When \"kid\" values are used within a JWK Set, different\n * keys within the JWK Set SHOULD use distinct \"kid\" values. (One\n * example in which different keys might use the same \"kid\" value is if\n * they have different \"kty\" (key type) values but are considered to be\n * equivalent alternatives by the application using them.) The \"kid\"\n * value is a case-sensitive string.\n */\n kid?: string;\n /**\n * The \"kty\" (key type) parameter identifies the cryptographic algorithm\n * family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should\n * either be registered in the IANA \"JSON Web Key Types\" registry\n * established by [JWA] or be a value that contains a Collision-\n * Resistant Name. The \"kty\" value is a case-sensitive string.\n */\n kty: string;\n /** RSA modulus, in Base64 */\n n?: string;\n /** RSA secret prime */\n p?: string;\n /** RSA secret prime, with p < q */\n q?: string;\n /** RSA Private Key Parameter */\n qi?: string;\n /**\n * Use (\"public key use\") identifies the intended use of\n * the public key. The \"use\" parameter is employed to indicate whether\n * a public key is used for encrypting data or verifying the signature\n * on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption).\n */\n use?: string;\n /** X coordinate for the Elliptic Curve point */\n x?: string;\n /**\n * The \"x5c\" (X.509 certificate chain) parameter contains a chain of one\n * or more PKIX certificates [RFC5280]. The certificate chain is\n * represented as a JSON array of certificate value strings. Each\n * string in the array is a base64-encoded (Section 4 of [RFC4648] --\n * not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value.\n * The PKIX certificate containing the key value MUST be the first\n * certificate.\n */\n x5C?: string[];\n /** Y coordinate for the Elliptic Curve point */\n y?: string;\n}\n\n/** The body of the JWT used for the PolicyCertificates APIs */\nexport interface AttestationCertificateManagementBody {\n /** RFC 7517 Json Web Key describing the certificate. */\n policyCertificate?: JsonWebKey;\n}\n\n/** The result of a call to retrieve policy certificates. */\nexport interface PolicyCertificatesResult {\n /** SHA256 Hash of the binary representation certificate which was added or removed */\n policyCertificates: JsonWebKeySet;\n}\n\n/** The result of a policy certificate modification */\nexport interface PolicyCertificatesModificationResult {\n /** Hex encoded SHA1 Hash of the binary representation certificate which was added or removed */\n certificateThumbprint: string;\n /** The result of the operation */\n certificateResolution: CertificateModification;\n}\n\nexport interface StoredAttestationPolicy {\n /** Policy text to set as a sequence of UTF-8 encoded octets. */\n attestationPolicy?: Uint8Array;\n}\n\n/** The result of a policy certificate modification */\nexport interface PolicyResult {\n /** The result of the operation */\n policyResolution: PolicyModification;\n /** The SHA256 hash of the policy object modified */\n policyTokenHash: Uint8Array;\n /** The certificate used to sign the policy object, if specified */\n policySigner?: JsonWebKey;\n /** A JSON Web Token containing a StoredAttestationPolicy object with the attestation policy */\n policy?: string;\n}\n\n/** A Microsoft Azure Attestation response token body - the body of a response token issued by MAA */\nexport interface GeneratedAttestationResult {\n /** Unique Identifier for the token */\n jti: string;\n /** The Principal who issued the token */\n iss: string;\n /** The time at which the token was issued, in the number of seconds since 1970-01-0T00:00:00Z UTC */\n iat?: number;\n /** The expiration time after which the token is no longer valid, in the number of seconds since 1970-01-0T00:00:00Z UTC */\n exp?: number;\n /** The not before time before which the token cannot be considered valid, in the number of seconds since 1970-01-0T00:00:00Z UTC */\n nbf?: number;\n /** An RFC 7800 Proof of Possession Key */\n cnf?: Record<string, unknown>;\n /** The Nonce input to the attestation request, if provided. */\n nonce?: string;\n /** The Schema version of this structure. Current Value: 1.0 */\n version: string;\n /** Runtime Claims */\n runtimeClaims?: Record<string, unknown>;\n /** Inittime Claims */\n inittimeClaims?: Record<string, unknown>;\n /** Policy Generated Claims */\n policyClaims?: Record<string, unknown>;\n /** The Attestation type being attested. */\n verifierType: string;\n /** The certificate used to sign the policy object, if specified. */\n policySigner?: JsonWebKey;\n /** The SHA256 hash of the BASE64URL encoded policy text used for attestation */\n policyHash: Uint8Array;\n /** True if the enclave is debuggable, false otherwise */\n isDebuggable: boolean;\n /** The SGX Product ID for the enclave. */\n productId: number;\n /** The HEX encoded SGX MRENCLAVE value for the enclave. */\n mrEnclave: string;\n /** The HEX encoded SGX MRSIGNER value for the enclave. */\n mrSigner: string;\n /** The SGX SVN value for the enclave. */\n svn: number;\n /** A copy of the RuntimeData specified as an input to the attest call. */\n enclaveHeldData?: Uint8Array;\n /** The SGX SVN value for the enclave. */\n sgxCollateral?: Record<string, unknown>;\n /** DEPRECATED: Private Preview version of x-ms-ver claim. */\n deprecatedVersion?: string;\n /** DEPRECATED: Private Preview version of x-ms-sgx-is-debuggable claim. */\n deprecatedIsDebuggable?: boolean;\n /** DEPRECATED: Private Preview version of x-ms-sgx-collateral claim. */\n deprecatedSgxCollateral?: Record<string, unknown>;\n /** DEPRECATED: Private Preview version of x-ms-sgx-ehd claim. */\n deprecatedEnclaveHeldData?: Uint8Array;\n /** DEPRECATED: Private Preview version of x-ms-sgx-ehd claim. */\n deprecatedEnclaveHeldData2?: Uint8Array;\n /** DEPRECATED: Private Preview version of x-ms-sgx-product-id */\n deprecatedProductId?: number;\n /** DEPRECATED: Private Preview version of x-ms-sgx-mrenclave. */\n deprecatedMrEnclave?: string;\n /** DEPRECATED: Private Preview version of x-ms-sgx-mrsigner. */\n deprecatedMrSigner?: string;\n /** DEPRECATED: Private Preview version of x-ms-sgx-svn. */\n deprecatedSvn?: number;\n /** DEPRECATED: Private Preview version of x-ms-tee. */\n deprecatedTee?: string;\n /** DEPRECATED: Private Preview version of x-ms-policy-signer */\n deprecatedPolicySigner?: JsonWebKey;\n /** DEPRECATED: Private Preview version of x-ms-policy-hash */\n deprecatedPolicyHash?: Uint8Array;\n /** DEPRECATED: Private Preview version of nonce */\n deprecatedRpData?: string;\n}\n\n/** Known values of {@link AttestationType} that the service accepts. */\nexport enum KnownAttestationType {\n /** Intel Software Guard eXtensions */\n SgxEnclave = \"SgxEnclave\",\n /** OpenEnclave extensions to SGX */\n OpenEnclave = \"OpenEnclave\",\n /** Edge TPM Virtualization Based Security */\n Tpm = \"Tpm\"\n}\n\n/**\n * Defines values for AttestationType. \\\n * {@link KnownAttestationType} can be used interchangeably with AttestationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SgxEnclave**: Intel Software Guard eXtensions \\\n * **OpenEnclave**: OpenEnclave extensions to SGX \\\n * **Tpm**: Edge TPM Virtualization Based Security\n */\nexport type AttestationType = string;\n\n/** Known values of {@link DataType} that the service accepts. */\nexport enum KnownDataType {\n /** The contents of the field should be treated as binary and not interpreted by MAA. */\n Binary = \"Binary\",\n /** The contents of the field should be treated as a JSON object and may be further interpreted by MAA. */\n Json = \"JSON\"\n}\n\n/**\n * Defines values for DataType. \\\n * {@link KnownDataType} can be used interchangeably with DataType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Binary**: The contents of the field should be treated as binary and not interpreted by MAA. \\\n * **JSON**: The contents of the field should be treated as a JSON object and may be further interpreted by MAA.\n */\nexport type DataType = string;\n\n/** Known values of {@link CertificateModification} that the service accepts. */\nexport enum KnownCertificateModification {\n /** After the operation was performed, the certificate is in the set of certificates. */\n IsPresent = \"IsPresent\",\n /** After the operation was performed, the certificate is no longer present in the set of certificates. */\n IsAbsent = \"IsAbsent\"\n}\n\n/**\n * Defines values for CertificateModification. \\\n * {@link KnownCertificateModification} can be used interchangeably with CertificateModification,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **IsPresent**: After the operation was performed, the certificate is in the set of certificates. \\\n * **IsAbsent**: After the operation was performed, the certificate is no longer present in the set of certificates.\n */\nexport type CertificateModification = string;\n\n/** Known values of {@link PolicyModification} that the service accepts. */\nexport enum KnownPolicyModification {\n /** The specified policy object was updated. */\n Updated = \"Updated\",\n /** The specified policy object was removed. */\n Removed = \"Removed\"\n}\n\n/**\n * Defines values for PolicyModification. \\\n * {@link KnownPolicyModification} can be used interchangeably with PolicyModification,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Updated**: The specified policy object was updated. \\\n * **Removed**: The specified policy object was removed.\n */\nexport type PolicyModification = string;\n\n/** Optional parameters. */\nexport interface PolicyGetOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type PolicyGetResponse = PolicyResponse;\n\n/** Optional parameters. */\nexport interface PolicySetModelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the set operation. */\nexport type PolicySetModelResponse = PolicyResponse;\n\n/** Optional parameters. */\nexport interface PolicyResetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the reset operation. */\nexport type PolicyResetResponse = PolicyResponse;\n\n/** Optional parameters. */\nexport interface PolicyCertificatesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type PolicyCertificatesGetResponse = PolicyCertificatesResponse;\n\n/** Optional parameters. */\nexport interface PolicyCertificatesAddOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the add operation. */\nexport type PolicyCertificatesAddResponse = PolicyCertificatesModifyResponse;\n\n/** Optional parameters. */\nexport interface PolicyCertificatesRemoveOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the remove operation. */\nexport type PolicyCertificatesRemoveResponse = PolicyCertificatesModifyResponse;\n\n/** Optional parameters. */\nexport interface AttestationAttestOpenEnclaveOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the attestOpenEnclave operation. */\nexport type AttestationAttestOpenEnclaveResponse = AttestationResponse;\n\n/** Optional parameters. */\nexport interface AttestationAttestSgxEnclaveOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the attestSgxEnclave operation. */\nexport type AttestationAttestSgxEnclaveResponse = AttestationResponse;\n\n/** Optional parameters. */\nexport interface AttestationAttestTpmOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the attestTpm operation. */\nexport type AttestationAttestTpmResponse = TpmAttestationResponse;\n\n/** Optional parameters. */\nexport interface SigningCertificatesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type SigningCertificatesGetResponse = JsonWebKeySet;\n\n/** Optional parameters. */\nexport interface MetadataConfigurationGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type MetadataConfigurationGetResponse = Record<string, unknown>;\n\n/** Optional parameters. */\nexport interface GeneratedClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -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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