@azure/arm-deviceprovisioningservices 6.0.0-beta.2 → 6.0.0-beta.3

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 (510) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +9 -12
  3. package/dist/browser/api/dpsCertificate/index.d.ts +3 -0
  4. package/dist/browser/api/dpsCertificate/index.js +4 -0
  5. package/dist/browser/api/dpsCertificate/index.js.map +1 -0
  6. package/dist/browser/api/dpsCertificate/operations.d.ts +35 -0
  7. package/dist/browser/api/dpsCertificate/operations.js +258 -0
  8. package/dist/browser/api/dpsCertificate/operations.js.map +1 -0
  9. package/dist/browser/api/dpsCertificate/options.d.ts +73 -0
  10. package/dist/browser/api/dpsCertificate/options.js +4 -0
  11. package/dist/browser/api/dpsCertificate/options.js.map +1 -0
  12. package/dist/browser/api/index.d.ts +2 -0
  13. package/dist/browser/api/index.js +4 -0
  14. package/dist/browser/api/index.js.map +1 -0
  15. package/dist/browser/api/iotDpsContext.d.ts +22 -0
  16. package/dist/browser/api/iotDpsContext.js +39 -0
  17. package/dist/browser/api/iotDpsContext.js.map +1 -0
  18. package/dist/browser/api/iotDpsResource/index.d.ts +3 -0
  19. package/dist/browser/api/iotDpsResource/index.js +4 -0
  20. package/dist/browser/api/iotDpsResource/index.js.map +1 -0
  21. package/dist/browser/api/iotDpsResource/operations.d.ts +80 -0
  22. package/dist/browser/api/iotDpsResource/operations.js +603 -0
  23. package/dist/browser/api/iotDpsResource/operations.js.map +1 -0
  24. package/dist/browser/api/iotDpsResource/options.d.ts +63 -0
  25. package/dist/browser/api/iotDpsResource/options.js +4 -0
  26. package/dist/browser/api/iotDpsResource/options.js.map +1 -0
  27. package/dist/browser/api/operations/index.d.ts +3 -0
  28. package/dist/browser/api/operations/index.js +4 -0
  29. package/dist/browser/api/operations/index.js.map +1 -0
  30. package/dist/browser/api/operations/operations.d.ts +10 -0
  31. package/dist/browser/api/operations/operations.js +34 -0
  32. package/dist/browser/api/operations/operations.js.map +1 -0
  33. package/dist/browser/api/operations/options.d.ts +5 -0
  34. package/dist/browser/api/operations/options.js +4 -0
  35. package/dist/browser/api/operations/options.js.map +1 -0
  36. package/dist/browser/classic/dpsCertificate/index.d.ts +26 -0
  37. package/dist/browser/classic/dpsCertificate/index.js +19 -0
  38. package/dist/browser/classic/dpsCertificate/index.js.map +1 -0
  39. package/dist/browser/classic/index.d.ts +4 -0
  40. package/dist/browser/classic/index.js +4 -0
  41. package/dist/browser/classic/index.js.map +1 -0
  42. package/dist/browser/classic/iotDpsResource/index.d.ts +49 -0
  43. package/dist/browser/classic/iotDpsResource/index.js +30 -0
  44. package/dist/browser/classic/iotDpsResource/index.js.map +1 -0
  45. package/dist/browser/classic/operations/index.d.ts +11 -0
  46. package/dist/browser/classic/operations/index.js +14 -0
  47. package/dist/browser/classic/operations/index.js.map +1 -0
  48. package/dist/browser/index.d.ts +11 -3
  49. package/dist/browser/index.js +6 -11
  50. package/dist/browser/index.js.map +1 -1
  51. package/dist/browser/iotDpsClient.d.ts +19 -20
  52. package/dist/browser/iotDpsClient.js +28 -105
  53. package/dist/browser/iotDpsClient.js.map +1 -1
  54. package/dist/browser/logger.d.ts +2 -0
  55. package/dist/browser/logger.js +5 -0
  56. package/dist/browser/logger.js.map +1 -0
  57. package/dist/browser/models/index.d.ts +1 -978
  58. package/dist/browser/models/index.js +3 -127
  59. package/dist/browser/models/index.js.map +1 -1
  60. package/dist/browser/models/models.d.ts +710 -0
  61. package/dist/browser/models/models.js +749 -0
  62. package/dist/browser/models/models.js.map +1 -0
  63. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  64. package/dist/browser/restorePollerHelpers.js +104 -0
  65. package/dist/browser/restorePollerHelpers.js.map +1 -0
  66. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  67. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  68. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  69. package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
  70. package/dist/browser/static-helpers/pagingHelpers.js +118 -0
  71. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  72. package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
  73. package/dist/browser/static-helpers/pollingHelpers.js +79 -0
  74. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  75. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  76. package/dist/browser/static-helpers/urlTemplate.js +185 -0
  77. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  78. package/dist/commonjs/api/dpsCertificate/index.d.ts +3 -0
  79. package/dist/commonjs/api/dpsCertificate/index.js +13 -0
  80. package/dist/commonjs/api/dpsCertificate/index.js.map +1 -0
  81. package/dist/commonjs/api/dpsCertificate/operations.d.ts +35 -0
  82. package/dist/commonjs/api/dpsCertificate/operations.js +278 -0
  83. package/dist/commonjs/api/dpsCertificate/operations.js.map +1 -0
  84. package/dist/commonjs/api/dpsCertificate/options.d.ts +73 -0
  85. package/dist/commonjs/api/dpsCertificate/options.js +5 -0
  86. package/dist/commonjs/api/dpsCertificate/options.js.map +1 -0
  87. package/dist/commonjs/api/index.d.ts +2 -0
  88. package/dist/commonjs/api/index.js +8 -0
  89. package/dist/commonjs/api/index.js.map +1 -0
  90. package/dist/commonjs/api/iotDpsContext.d.ts +22 -0
  91. package/dist/commonjs/api/iotDpsContext.js +42 -0
  92. package/dist/commonjs/api/iotDpsContext.js.map +1 -0
  93. package/dist/commonjs/api/iotDpsResource/index.d.ts +3 -0
  94. package/dist/commonjs/api/iotDpsResource/index.js +24 -0
  95. package/dist/commonjs/api/iotDpsResource/index.js.map +1 -0
  96. package/dist/commonjs/api/iotDpsResource/operations.d.ts +80 -0
  97. package/dist/commonjs/api/iotDpsResource/operations.js +656 -0
  98. package/dist/commonjs/api/iotDpsResource/operations.js.map +1 -0
  99. package/dist/commonjs/api/iotDpsResource/options.d.ts +63 -0
  100. package/dist/commonjs/api/iotDpsResource/options.js +5 -0
  101. package/dist/commonjs/api/iotDpsResource/options.js.map +1 -0
  102. package/dist/commonjs/api/operations/index.d.ts +3 -0
  103. package/dist/commonjs/api/operations/index.js +8 -0
  104. package/dist/commonjs/api/operations/index.js.map +1 -0
  105. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  106. package/dist/commonjs/api/operations/operations.js +39 -0
  107. package/dist/commonjs/api/operations/operations.js.map +1 -0
  108. package/dist/commonjs/api/operations/options.d.ts +5 -0
  109. package/dist/commonjs/api/operations/options.js +5 -0
  110. package/dist/commonjs/api/operations/options.js.map +1 -0
  111. package/dist/commonjs/classic/dpsCertificate/index.d.ts +26 -0
  112. package/dist/commonjs/classic/dpsCertificate/index.js +22 -0
  113. package/dist/commonjs/classic/dpsCertificate/index.js.map +1 -0
  114. package/dist/commonjs/classic/index.d.ts +4 -0
  115. package/dist/commonjs/classic/index.js +5 -0
  116. package/dist/commonjs/classic/index.js.map +1 -0
  117. package/dist/commonjs/classic/iotDpsResource/index.d.ts +49 -0
  118. package/dist/commonjs/classic/iotDpsResource/index.js +33 -0
  119. package/dist/commonjs/classic/iotDpsResource/index.js.map +1 -0
  120. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  121. package/dist/commonjs/classic/operations/index.js +17 -0
  122. package/dist/commonjs/classic/operations/index.js.map +1 -0
  123. package/dist/commonjs/index.d.ts +11 -3
  124. package/dist/commonjs/index.js +20 -14
  125. package/dist/commonjs/index.js.map +1 -1
  126. package/dist/commonjs/iotDpsClient.d.ts +19 -20
  127. package/dist/commonjs/iotDpsClient.js +28 -106
  128. package/dist/commonjs/iotDpsClient.js.map +1 -1
  129. package/dist/commonjs/logger.d.ts +2 -0
  130. package/dist/commonjs/logger.js +8 -0
  131. package/dist/commonjs/logger.js.map +1 -0
  132. package/dist/commonjs/models/index.d.ts +1 -978
  133. package/dist/commonjs/models/index.js +16 -128
  134. package/dist/commonjs/models/index.js.map +1 -1
  135. package/dist/commonjs/models/models.d.ts +710 -0
  136. package/dist/commonjs/models/models.js +833 -0
  137. package/dist/commonjs/models/models.js.map +1 -0
  138. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  139. package/dist/commonjs/restorePollerHelpers.js +107 -0
  140. package/dist/commonjs/restorePollerHelpers.js.map +1 -0
  141. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  142. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +42 -0
  143. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -0
  144. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
  145. package/dist/commonjs/static-helpers/pagingHelpers.js +121 -0
  146. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
  147. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
  148. package/dist/commonjs/static-helpers/pollingHelpers.js +82 -0
  149. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
  150. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  151. package/dist/commonjs/static-helpers/urlTemplate.js +188 -0
  152. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
  153. package/dist/commonjs/tsdoc-metadata.json +1 -1
  154. package/dist/esm/api/dpsCertificate/index.d.ts +3 -0
  155. package/dist/esm/api/dpsCertificate/index.js +4 -0
  156. package/dist/esm/api/dpsCertificate/index.js.map +1 -0
  157. package/dist/esm/api/dpsCertificate/operations.d.ts +35 -0
  158. package/dist/esm/api/dpsCertificate/operations.js +258 -0
  159. package/dist/esm/api/dpsCertificate/operations.js.map +1 -0
  160. package/dist/esm/api/dpsCertificate/options.d.ts +73 -0
  161. package/dist/esm/api/dpsCertificate/options.js +4 -0
  162. package/dist/esm/api/dpsCertificate/options.js.map +1 -0
  163. package/dist/esm/api/index.d.ts +2 -0
  164. package/dist/esm/api/index.js +4 -0
  165. package/dist/esm/api/index.js.map +1 -0
  166. package/dist/esm/api/iotDpsContext.d.ts +22 -0
  167. package/dist/esm/api/iotDpsContext.js +39 -0
  168. package/dist/esm/api/iotDpsContext.js.map +1 -0
  169. package/dist/esm/api/iotDpsResource/index.d.ts +3 -0
  170. package/dist/esm/api/iotDpsResource/index.js +4 -0
  171. package/dist/esm/api/iotDpsResource/index.js.map +1 -0
  172. package/dist/esm/api/iotDpsResource/operations.d.ts +80 -0
  173. package/dist/esm/api/iotDpsResource/operations.js +603 -0
  174. package/dist/esm/api/iotDpsResource/operations.js.map +1 -0
  175. package/dist/esm/api/iotDpsResource/options.d.ts +63 -0
  176. package/dist/esm/api/iotDpsResource/options.js +4 -0
  177. package/dist/esm/api/iotDpsResource/options.js.map +1 -0
  178. package/dist/esm/api/operations/index.d.ts +3 -0
  179. package/dist/esm/api/operations/index.js +4 -0
  180. package/dist/esm/api/operations/index.js.map +1 -0
  181. package/dist/esm/api/operations/operations.d.ts +10 -0
  182. package/dist/esm/api/operations/operations.js +34 -0
  183. package/dist/esm/api/operations/operations.js.map +1 -0
  184. package/dist/esm/api/operations/options.d.ts +5 -0
  185. package/dist/esm/api/operations/options.js +4 -0
  186. package/dist/esm/api/operations/options.js.map +1 -0
  187. package/dist/esm/classic/dpsCertificate/index.d.ts +26 -0
  188. package/dist/esm/classic/dpsCertificate/index.js +19 -0
  189. package/dist/esm/classic/dpsCertificate/index.js.map +1 -0
  190. package/dist/esm/classic/index.d.ts +4 -0
  191. package/dist/esm/classic/index.js +4 -0
  192. package/dist/esm/classic/index.js.map +1 -0
  193. package/dist/esm/classic/iotDpsResource/index.d.ts +49 -0
  194. package/dist/esm/classic/iotDpsResource/index.js +30 -0
  195. package/dist/esm/classic/iotDpsResource/index.js.map +1 -0
  196. package/dist/esm/classic/operations/index.d.ts +11 -0
  197. package/dist/esm/classic/operations/index.js +14 -0
  198. package/dist/esm/classic/operations/index.js.map +1 -0
  199. package/dist/esm/index.d.ts +11 -3
  200. package/dist/esm/index.js +6 -11
  201. package/dist/esm/index.js.map +1 -1
  202. package/dist/esm/iotDpsClient.d.ts +19 -20
  203. package/dist/esm/iotDpsClient.js +28 -105
  204. package/dist/esm/iotDpsClient.js.map +1 -1
  205. package/dist/esm/logger.d.ts +2 -0
  206. package/dist/esm/logger.js +5 -0
  207. package/dist/esm/logger.js.map +1 -0
  208. package/dist/esm/models/index.d.ts +1 -978
  209. package/dist/esm/models/index.js +3 -127
  210. package/dist/esm/models/index.js.map +1 -1
  211. package/dist/esm/models/models.d.ts +710 -0
  212. package/dist/esm/models/models.js +749 -0
  213. package/dist/esm/models/models.js.map +1 -0
  214. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  215. package/dist/esm/restorePollerHelpers.js +104 -0
  216. package/dist/esm/restorePollerHelpers.js.map +1 -0
  217. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  218. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  219. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  220. package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
  221. package/dist/esm/static-helpers/pagingHelpers.js +118 -0
  222. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  223. package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
  224. package/dist/esm/static-helpers/pollingHelpers.js +79 -0
  225. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  226. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  227. package/dist/esm/static-helpers/urlTemplate.js +185 -0
  228. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  229. package/dist/react-native/api/dpsCertificate/index.d.ts +3 -0
  230. package/dist/react-native/api/dpsCertificate/index.js +4 -0
  231. package/dist/react-native/api/dpsCertificate/index.js.map +1 -0
  232. package/dist/react-native/api/dpsCertificate/operations.d.ts +35 -0
  233. package/dist/react-native/api/dpsCertificate/operations.js +258 -0
  234. package/dist/react-native/api/dpsCertificate/operations.js.map +1 -0
  235. package/dist/react-native/api/dpsCertificate/options.d.ts +73 -0
  236. package/dist/react-native/api/dpsCertificate/options.js +4 -0
  237. package/dist/react-native/api/dpsCertificate/options.js.map +1 -0
  238. package/dist/react-native/api/index.d.ts +2 -0
  239. package/dist/react-native/api/index.js +4 -0
  240. package/dist/react-native/api/index.js.map +1 -0
  241. package/dist/react-native/api/iotDpsContext.d.ts +22 -0
  242. package/dist/react-native/api/iotDpsContext.js +39 -0
  243. package/dist/react-native/api/iotDpsContext.js.map +1 -0
  244. package/dist/react-native/api/iotDpsResource/index.d.ts +3 -0
  245. package/dist/react-native/api/iotDpsResource/index.js +4 -0
  246. package/dist/react-native/api/iotDpsResource/index.js.map +1 -0
  247. package/dist/react-native/api/iotDpsResource/operations.d.ts +80 -0
  248. package/dist/react-native/api/iotDpsResource/operations.js +603 -0
  249. package/dist/react-native/api/iotDpsResource/operations.js.map +1 -0
  250. package/dist/react-native/api/iotDpsResource/options.d.ts +63 -0
  251. package/dist/react-native/api/iotDpsResource/options.js +4 -0
  252. package/dist/react-native/api/iotDpsResource/options.js.map +1 -0
  253. package/dist/react-native/api/operations/index.d.ts +3 -0
  254. package/dist/react-native/api/operations/index.js +4 -0
  255. package/dist/react-native/api/operations/index.js.map +1 -0
  256. package/dist/react-native/api/operations/operations.d.ts +10 -0
  257. package/dist/react-native/api/operations/operations.js +34 -0
  258. package/dist/react-native/api/operations/operations.js.map +1 -0
  259. package/dist/react-native/api/operations/options.d.ts +5 -0
  260. package/dist/react-native/api/operations/options.js +4 -0
  261. package/dist/react-native/api/operations/options.js.map +1 -0
  262. package/dist/react-native/classic/dpsCertificate/index.d.ts +26 -0
  263. package/dist/react-native/classic/dpsCertificate/index.js +19 -0
  264. package/dist/react-native/classic/dpsCertificate/index.js.map +1 -0
  265. package/dist/react-native/classic/index.d.ts +4 -0
  266. package/dist/react-native/classic/index.js +4 -0
  267. package/dist/react-native/classic/index.js.map +1 -0
  268. package/dist/react-native/classic/iotDpsResource/index.d.ts +49 -0
  269. package/dist/react-native/classic/iotDpsResource/index.js +30 -0
  270. package/dist/react-native/classic/iotDpsResource/index.js.map +1 -0
  271. package/dist/react-native/classic/operations/index.d.ts +11 -0
  272. package/dist/react-native/classic/operations/index.js +14 -0
  273. package/dist/react-native/classic/operations/index.js.map +1 -0
  274. package/dist/react-native/index.d.ts +11 -3
  275. package/dist/react-native/index.js +6 -11
  276. package/dist/react-native/index.js.map +1 -1
  277. package/dist/react-native/iotDpsClient.d.ts +19 -20
  278. package/dist/react-native/iotDpsClient.js +28 -105
  279. package/dist/react-native/iotDpsClient.js.map +1 -1
  280. package/dist/react-native/logger.d.ts +2 -0
  281. package/dist/react-native/logger.js +5 -0
  282. package/dist/react-native/logger.js.map +1 -0
  283. package/dist/react-native/models/index.d.ts +1 -978
  284. package/dist/react-native/models/index.js +3 -127
  285. package/dist/react-native/models/index.js.map +1 -1
  286. package/dist/react-native/models/models.d.ts +710 -0
  287. package/dist/react-native/models/models.js +749 -0
  288. package/dist/react-native/models/models.js.map +1 -0
  289. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  290. package/dist/react-native/restorePollerHelpers.js +104 -0
  291. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  292. package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +22 -0
  293. package/dist/react-native/static-helpers/cloudSettingHelpers.js +38 -0
  294. package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
  295. package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
  296. package/dist/react-native/static-helpers/pagingHelpers.js +118 -0
  297. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  298. package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
  299. package/dist/react-native/static-helpers/pollingHelpers.js +79 -0
  300. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  301. package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
  302. package/dist/react-native/static-helpers/urlTemplate.js +185 -0
  303. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
  304. package/package.json +141 -38
  305. package/CHANGELOG.md +0 -83
  306. package/dist/browser/index.d.ts.map +0 -1
  307. package/dist/browser/iotDpsClient.d.ts.map +0 -1
  308. package/dist/browser/lroImpl.d.ts +0 -11
  309. package/dist/browser/lroImpl.d.ts.map +0 -1
  310. package/dist/browser/lroImpl.js +0 -18
  311. package/dist/browser/lroImpl.js.map +0 -1
  312. package/dist/browser/models/index.d.ts.map +0 -1
  313. package/dist/browser/models/mappers.d.ts +0 -40
  314. package/dist/browser/models/mappers.d.ts.map +0 -1
  315. package/dist/browser/models/mappers.js +0 -1268
  316. package/dist/browser/models/mappers.js.map +0 -1
  317. package/dist/browser/models/parameters.d.ts +0 -34
  318. package/dist/browser/models/parameters.d.ts.map +0 -1
  319. package/dist/browser/models/parameters.js +0 -293
  320. package/dist/browser/models/parameters.js.map +0 -1
  321. package/dist/browser/operations/dpsCertificate.d.ts +0 -70
  322. package/dist/browser/operations/dpsCertificate.d.ts.map +0 -1
  323. package/dist/browser/operations/dpsCertificate.js +0 -290
  324. package/dist/browser/operations/dpsCertificate.js.map +0 -1
  325. package/dist/browser/operations/index.d.ts +0 -4
  326. package/dist/browser/operations/index.d.ts.map +0 -1
  327. package/dist/browser/operations/index.js +0 -11
  328. package/dist/browser/operations/index.js.map +0 -1
  329. package/dist/browser/operations/iotDpsResource.d.ts +0 -253
  330. package/dist/browser/operations/iotDpsResource.d.ts.map +0 -1
  331. package/dist/browser/operations/iotDpsResource.js +0 -1170
  332. package/dist/browser/operations/iotDpsResource.js.map +0 -1
  333. package/dist/browser/operations/operations.d.ts +0 -32
  334. package/dist/browser/operations/operations.d.ts.map +0 -1
  335. package/dist/browser/operations/operations.js +0 -116
  336. package/dist/browser/operations/operations.js.map +0 -1
  337. package/dist/browser/operationsInterfaces/dpsCertificate.d.ts +0 -62
  338. package/dist/browser/operationsInterfaces/dpsCertificate.d.ts.map +0 -1
  339. package/dist/browser/operationsInterfaces/dpsCertificate.js +0 -9
  340. package/dist/browser/operationsInterfaces/dpsCertificate.js.map +0 -1
  341. package/dist/browser/operationsInterfaces/index.d.ts +0 -4
  342. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  343. package/dist/browser/operationsInterfaces/index.js +0 -11
  344. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  345. package/dist/browser/operationsInterfaces/iotDpsResource.d.ts +0 -183
  346. package/dist/browser/operationsInterfaces/iotDpsResource.d.ts.map +0 -1
  347. package/dist/browser/operationsInterfaces/iotDpsResource.js +0 -9
  348. package/dist/browser/operationsInterfaces/iotDpsResource.js.map +0 -1
  349. package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
  350. package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
  351. package/dist/browser/operationsInterfaces/operations.js +0 -9
  352. package/dist/browser/operationsInterfaces/operations.js.map +0 -1
  353. package/dist/browser/pagingHelper.d.ts +0 -13
  354. package/dist/browser/pagingHelper.d.ts.map +0 -1
  355. package/dist/browser/pagingHelper.js +0 -30
  356. package/dist/browser/pagingHelper.js.map +0 -1
  357. package/dist/commonjs/index.d.ts.map +0 -1
  358. package/dist/commonjs/iotDpsClient.d.ts.map +0 -1
  359. package/dist/commonjs/lroImpl.d.ts +0 -11
  360. package/dist/commonjs/lroImpl.d.ts.map +0 -1
  361. package/dist/commonjs/lroImpl.js +0 -21
  362. package/dist/commonjs/lroImpl.js.map +0 -1
  363. package/dist/commonjs/models/index.d.ts.map +0 -1
  364. package/dist/commonjs/models/mappers.d.ts +0 -40
  365. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  366. package/dist/commonjs/models/mappers.js +0 -1271
  367. package/dist/commonjs/models/mappers.js.map +0 -1
  368. package/dist/commonjs/models/parameters.d.ts +0 -34
  369. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  370. package/dist/commonjs/models/parameters.js +0 -296
  371. package/dist/commonjs/models/parameters.js.map +0 -1
  372. package/dist/commonjs/operations/dpsCertificate.d.ts +0 -70
  373. package/dist/commonjs/operations/dpsCertificate.d.ts.map +0 -1
  374. package/dist/commonjs/operations/dpsCertificate.js +0 -295
  375. package/dist/commonjs/operations/dpsCertificate.js.map +0 -1
  376. package/dist/commonjs/operations/index.d.ts +0 -4
  377. package/dist/commonjs/operations/index.d.ts.map +0 -1
  378. package/dist/commonjs/operations/index.js +0 -14
  379. package/dist/commonjs/operations/index.js.map +0 -1
  380. package/dist/commonjs/operations/iotDpsResource.d.ts +0 -253
  381. package/dist/commonjs/operations/iotDpsResource.d.ts.map +0 -1
  382. package/dist/commonjs/operations/iotDpsResource.js +0 -1175
  383. package/dist/commonjs/operations/iotDpsResource.js.map +0 -1
  384. package/dist/commonjs/operations/operations.d.ts +0 -32
  385. package/dist/commonjs/operations/operations.d.ts.map +0 -1
  386. package/dist/commonjs/operations/operations.js +0 -121
  387. package/dist/commonjs/operations/operations.js.map +0 -1
  388. package/dist/commonjs/operationsInterfaces/dpsCertificate.d.ts +0 -62
  389. package/dist/commonjs/operationsInterfaces/dpsCertificate.d.ts.map +0 -1
  390. package/dist/commonjs/operationsInterfaces/dpsCertificate.js +0 -10
  391. package/dist/commonjs/operationsInterfaces/dpsCertificate.js.map +0 -1
  392. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -4
  393. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  394. package/dist/commonjs/operationsInterfaces/index.js +0 -14
  395. package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
  396. package/dist/commonjs/operationsInterfaces/iotDpsResource.d.ts +0 -183
  397. package/dist/commonjs/operationsInterfaces/iotDpsResource.d.ts.map +0 -1
  398. package/dist/commonjs/operationsInterfaces/iotDpsResource.js +0 -10
  399. package/dist/commonjs/operationsInterfaces/iotDpsResource.js.map +0 -1
  400. package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
  401. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
  402. package/dist/commonjs/operationsInterfaces/operations.js +0 -10
  403. package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
  404. package/dist/commonjs/pagingHelper.d.ts +0 -13
  405. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  406. package/dist/commonjs/pagingHelper.js +0 -34
  407. package/dist/commonjs/pagingHelper.js.map +0 -1
  408. package/dist/esm/index.d.ts.map +0 -1
  409. package/dist/esm/iotDpsClient.d.ts.map +0 -1
  410. package/dist/esm/lroImpl.d.ts +0 -11
  411. package/dist/esm/lroImpl.d.ts.map +0 -1
  412. package/dist/esm/lroImpl.js +0 -18
  413. package/dist/esm/lroImpl.js.map +0 -1
  414. package/dist/esm/models/index.d.ts.map +0 -1
  415. package/dist/esm/models/mappers.d.ts +0 -40
  416. package/dist/esm/models/mappers.d.ts.map +0 -1
  417. package/dist/esm/models/mappers.js +0 -1268
  418. package/dist/esm/models/mappers.js.map +0 -1
  419. package/dist/esm/models/parameters.d.ts +0 -34
  420. package/dist/esm/models/parameters.d.ts.map +0 -1
  421. package/dist/esm/models/parameters.js +0 -293
  422. package/dist/esm/models/parameters.js.map +0 -1
  423. package/dist/esm/operations/dpsCertificate.d.ts +0 -70
  424. package/dist/esm/operations/dpsCertificate.d.ts.map +0 -1
  425. package/dist/esm/operations/dpsCertificate.js +0 -290
  426. package/dist/esm/operations/dpsCertificate.js.map +0 -1
  427. package/dist/esm/operations/index.d.ts +0 -4
  428. package/dist/esm/operations/index.d.ts.map +0 -1
  429. package/dist/esm/operations/index.js +0 -11
  430. package/dist/esm/operations/index.js.map +0 -1
  431. package/dist/esm/operations/iotDpsResource.d.ts +0 -253
  432. package/dist/esm/operations/iotDpsResource.d.ts.map +0 -1
  433. package/dist/esm/operations/iotDpsResource.js +0 -1170
  434. package/dist/esm/operations/iotDpsResource.js.map +0 -1
  435. package/dist/esm/operations/operations.d.ts +0 -32
  436. package/dist/esm/operations/operations.d.ts.map +0 -1
  437. package/dist/esm/operations/operations.js +0 -116
  438. package/dist/esm/operations/operations.js.map +0 -1
  439. package/dist/esm/operationsInterfaces/dpsCertificate.d.ts +0 -62
  440. package/dist/esm/operationsInterfaces/dpsCertificate.d.ts.map +0 -1
  441. package/dist/esm/operationsInterfaces/dpsCertificate.js +0 -9
  442. package/dist/esm/operationsInterfaces/dpsCertificate.js.map +0 -1
  443. package/dist/esm/operationsInterfaces/index.d.ts +0 -4
  444. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  445. package/dist/esm/operationsInterfaces/index.js +0 -11
  446. package/dist/esm/operationsInterfaces/index.js.map +0 -1
  447. package/dist/esm/operationsInterfaces/iotDpsResource.d.ts +0 -183
  448. package/dist/esm/operationsInterfaces/iotDpsResource.d.ts.map +0 -1
  449. package/dist/esm/operationsInterfaces/iotDpsResource.js +0 -9
  450. package/dist/esm/operationsInterfaces/iotDpsResource.js.map +0 -1
  451. package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
  452. package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
  453. package/dist/esm/operationsInterfaces/operations.js +0 -9
  454. package/dist/esm/operationsInterfaces/operations.js.map +0 -1
  455. package/dist/esm/pagingHelper.d.ts +0 -13
  456. package/dist/esm/pagingHelper.d.ts.map +0 -1
  457. package/dist/esm/pagingHelper.js +0 -30
  458. package/dist/esm/pagingHelper.js.map +0 -1
  459. package/dist/react-native/index.d.ts.map +0 -1
  460. package/dist/react-native/iotDpsClient.d.ts.map +0 -1
  461. package/dist/react-native/lroImpl.d.ts +0 -11
  462. package/dist/react-native/lroImpl.d.ts.map +0 -1
  463. package/dist/react-native/lroImpl.js +0 -18
  464. package/dist/react-native/lroImpl.js.map +0 -1
  465. package/dist/react-native/models/index.d.ts.map +0 -1
  466. package/dist/react-native/models/mappers.d.ts +0 -40
  467. package/dist/react-native/models/mappers.d.ts.map +0 -1
  468. package/dist/react-native/models/mappers.js +0 -1268
  469. package/dist/react-native/models/mappers.js.map +0 -1
  470. package/dist/react-native/models/parameters.d.ts +0 -34
  471. package/dist/react-native/models/parameters.d.ts.map +0 -1
  472. package/dist/react-native/models/parameters.js +0 -293
  473. package/dist/react-native/models/parameters.js.map +0 -1
  474. package/dist/react-native/operations/dpsCertificate.d.ts +0 -70
  475. package/dist/react-native/operations/dpsCertificate.d.ts.map +0 -1
  476. package/dist/react-native/operations/dpsCertificate.js +0 -290
  477. package/dist/react-native/operations/dpsCertificate.js.map +0 -1
  478. package/dist/react-native/operations/index.d.ts +0 -4
  479. package/dist/react-native/operations/index.d.ts.map +0 -1
  480. package/dist/react-native/operations/index.js +0 -11
  481. package/dist/react-native/operations/index.js.map +0 -1
  482. package/dist/react-native/operations/iotDpsResource.d.ts +0 -253
  483. package/dist/react-native/operations/iotDpsResource.d.ts.map +0 -1
  484. package/dist/react-native/operations/iotDpsResource.js +0 -1170
  485. package/dist/react-native/operations/iotDpsResource.js.map +0 -1
  486. package/dist/react-native/operations/operations.d.ts +0 -32
  487. package/dist/react-native/operations/operations.d.ts.map +0 -1
  488. package/dist/react-native/operations/operations.js +0 -116
  489. package/dist/react-native/operations/operations.js.map +0 -1
  490. package/dist/react-native/operationsInterfaces/dpsCertificate.d.ts +0 -62
  491. package/dist/react-native/operationsInterfaces/dpsCertificate.d.ts.map +0 -1
  492. package/dist/react-native/operationsInterfaces/dpsCertificate.js +0 -9
  493. package/dist/react-native/operationsInterfaces/dpsCertificate.js.map +0 -1
  494. package/dist/react-native/operationsInterfaces/index.d.ts +0 -4
  495. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  496. package/dist/react-native/operationsInterfaces/index.js +0 -11
  497. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  498. package/dist/react-native/operationsInterfaces/iotDpsResource.d.ts +0 -183
  499. package/dist/react-native/operationsInterfaces/iotDpsResource.d.ts.map +0 -1
  500. package/dist/react-native/operationsInterfaces/iotDpsResource.js +0 -9
  501. package/dist/react-native/operationsInterfaces/iotDpsResource.js.map +0 -1
  502. package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
  503. package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
  504. package/dist/react-native/operationsInterfaces/operations.js +0 -9
  505. package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
  506. package/dist/react-native/pagingHelper.d.ts +0 -13
  507. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  508. package/dist/react-native/pagingHelper.js +0 -30
  509. package/dist/react-native/pagingHelper.js.map +0 -1
  510. package/review/arm-deviceprovisioningservices-node.api.md +0 -724
@@ -1,5 +1,13 @@
1
- export { getContinuationToken } from "./pagingHelper.js";
2
- export * from "./models/index.js";
1
+ import { AzureClouds, AzureSupportedClouds } from "./static-helpers/cloudSettingHelpers.js";
2
+ import { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
3
3
  export { IotDpsClient } from "./iotDpsClient.js";
4
- export * from "./operationsInterfaces/index.js";
4
+ export { restorePoller, RestorePollerOptions } from "./restorePollerHelpers.js";
5
+ export { Operation, ErrorDetails, CertificateResponse, CertificateProperties, ProxyResource, Resource, SystemData, KnownCreatedByType, CreatedByType, VerificationCodeResponse, VerificationCodeResponseProperties, VerificationCodeRequest, AsyncOperationResult, ErrorMessage, ProvisioningServiceDescription, IotDpsPropertiesDescription, KnownState, State, KnownPublicNetworkAccess, PublicNetworkAccess, IpFilterRule, IpFilterActionType, IpFilterTargetType, PrivateEndpointConnection, PrivateEndpointConnectionProperties, PrivateEndpoint, PrivateLinkServiceConnectionState, KnownPrivateLinkServiceConnectionStatus, PrivateLinkServiceConnectionStatus, IotHubDefinitionDescription, DeviceRegistryNamespaceDescription, KnownDeviceRegistryNamespaceAuthenticationType, DeviceRegistryNamespaceAuthenticationType, KnownAllocationPolicy, AllocationPolicy, SharedAccessSignatureAuthorizationRuleAccessRightsDescription, KnownAccessRightsDescription, AccessRightsDescription, IotDpsSkuInfo, KnownIotDpsSku, IotDpsSku, ManagedServiceIdentity, KnownManagedServiceIdentityType, ManagedServiceIdentityType, UserAssignedIdentity, TrackedResource, ErrorDetail, ErrorAdditionalInfo, TagsResource, ErrorResponse, IotDpsSkuDefinition, GroupIdInformation, GroupIdInformationProperties, OperationInputs, NameAvailabilityInfo, KnownNameUnavailabilityReason, NameUnavailabilityReason, KnownCertificatePurpose, CertificatePurpose, KnownVersions, } from "./models/index.js";
6
+ export { IotDpsClientOptionalParams } from "./api/index.js";
7
+ export { DpsCertificateVerifyCertificateOptionalParams, DpsCertificateGenerateVerificationCodeOptionalParams, DpsCertificateListOptionalParams, DpsCertificateDeleteOptionalParams, DpsCertificateCreateOrUpdateOptionalParams, DpsCertificateGetOptionalParams, } from "./api/dpsCertificate/index.js";
8
+ export { IotDpsResourceCheckProvisioningServiceNameAvailabilityOptionalParams, IotDpsResourceListPrivateEndpointConnectionsOptionalParams, IotDpsResourceDeletePrivateEndpointConnectionOptionalParams, IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams, IotDpsResourceGetPrivateEndpointConnectionOptionalParams, IotDpsResourceListPrivateLinkResourcesOptionalParams, IotDpsResourceGetPrivateLinkResourcesOptionalParams, IotDpsResourceListKeysForKeyNameOptionalParams, IotDpsResourceListKeysOptionalParams, IotDpsResourceListValidSkusOptionalParams, IotDpsResourceListBySubscriptionOptionalParams, IotDpsResourceListByResourceGroupOptionalParams, IotDpsResourceDeleteOptionalParams, IotDpsResourceUpdateOptionalParams, IotDpsResourceCreateOrUpdateOptionalParams, IotDpsResourceGetOptionalParams, IotDpsResourceGetOperationResultOptionalParams, } from "./api/iotDpsResource/index.js";
9
+ export { OperationsListOptionalParams } from "./api/operations/index.js";
10
+ export { DpsCertificateOperations, IotDpsResourceOperations, OperationsOperations, } from "./classic/index.js";
11
+ export { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
12
+ export { AzureClouds, AzureSupportedClouds };
5
13
  //# sourceMappingURL=index.d.ts.map
@@ -1,19 +1,25 @@
1
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
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.IotDpsClient = exports.getContinuationToken = void 0;
11
- const tslib_1 = require("tslib");
12
- /// <reference lib="esnext.asynciterable" />
13
- var pagingHelper_js_1 = require("./pagingHelper.js");
14
- Object.defineProperty(exports, "getContinuationToken", { enumerable: true, get: function () { return pagingHelper_js_1.getContinuationToken; } });
15
- tslib_1.__exportStar(require("./models/index.js"), exports);
5
+ exports.AzureClouds = exports.KnownVersions = exports.KnownCertificatePurpose = exports.KnownNameUnavailabilityReason = exports.KnownManagedServiceIdentityType = exports.KnownIotDpsSku = exports.KnownAccessRightsDescription = exports.KnownAllocationPolicy = exports.KnownDeviceRegistryNamespaceAuthenticationType = exports.KnownPrivateLinkServiceConnectionStatus = exports.KnownPublicNetworkAccess = exports.KnownState = exports.KnownCreatedByType = exports.restorePoller = exports.IotDpsClient = void 0;
6
+ const cloudSettingHelpers_js_1 = require("./static-helpers/cloudSettingHelpers.js");
7
+ Object.defineProperty(exports, "AzureClouds", { enumerable: true, get: function () { return cloudSettingHelpers_js_1.AzureClouds; } });
16
8
  var iotDpsClient_js_1 = require("./iotDpsClient.js");
17
9
  Object.defineProperty(exports, "IotDpsClient", { enumerable: true, get: function () { return iotDpsClient_js_1.IotDpsClient; } });
18
- tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
10
+ var restorePollerHelpers_js_1 = require("./restorePollerHelpers.js");
11
+ Object.defineProperty(exports, "restorePoller", { enumerable: true, get: function () { return restorePollerHelpers_js_1.restorePoller; } });
12
+ var index_js_1 = require("./models/index.js");
13
+ Object.defineProperty(exports, "KnownCreatedByType", { enumerable: true, get: function () { return index_js_1.KnownCreatedByType; } });
14
+ Object.defineProperty(exports, "KnownState", { enumerable: true, get: function () { return index_js_1.KnownState; } });
15
+ Object.defineProperty(exports, "KnownPublicNetworkAccess", { enumerable: true, get: function () { return index_js_1.KnownPublicNetworkAccess; } });
16
+ Object.defineProperty(exports, "KnownPrivateLinkServiceConnectionStatus", { enumerable: true, get: function () { return index_js_1.KnownPrivateLinkServiceConnectionStatus; } });
17
+ Object.defineProperty(exports, "KnownDeviceRegistryNamespaceAuthenticationType", { enumerable: true, get: function () { return index_js_1.KnownDeviceRegistryNamespaceAuthenticationType; } });
18
+ Object.defineProperty(exports, "KnownAllocationPolicy", { enumerable: true, get: function () { return index_js_1.KnownAllocationPolicy; } });
19
+ Object.defineProperty(exports, "KnownAccessRightsDescription", { enumerable: true, get: function () { return index_js_1.KnownAccessRightsDescription; } });
20
+ Object.defineProperty(exports, "KnownIotDpsSku", { enumerable: true, get: function () { return index_js_1.KnownIotDpsSku; } });
21
+ Object.defineProperty(exports, "KnownManagedServiceIdentityType", { enumerable: true, get: function () { return index_js_1.KnownManagedServiceIdentityType; } });
22
+ Object.defineProperty(exports, "KnownNameUnavailabilityReason", { enumerable: true, get: function () { return index_js_1.KnownNameUnavailabilityReason; } });
23
+ Object.defineProperty(exports, "KnownCertificatePurpose", { enumerable: true, get: function () { return index_js_1.KnownCertificatePurpose; } });
24
+ Object.defineProperty(exports, "KnownVersions", { enumerable: true, get: function () { return index_js_1.KnownVersions; } });
19
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,4CAA4C;AAC5C,qDAAyD;AAAhD,uHAAA,oBAAoB,OAAA;AAC7B,4DAAkC;AAClC,qDAAiD;AAAxC,+GAAA,YAAY,OAAA;AACrB,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { IotDpsClient } from \"./iotDpsClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,oFAA4F;AA0GnF,4FA1GA,oCAAW,OA0GA;AAnGpB,qDAAiD;AAAxC,+GAAA,YAAY,OAAA;AACrB,qEAAgF;AAAvE,wHAAA,aAAa,OAAA;AACtB,8CA6D2B;AArDzB,8GAAA,kBAAkB,OAAA;AASlB,sGAAA,UAAU,OAAA;AAEV,oHAAA,wBAAwB,OAAA;AASxB,mIAAA,uCAAuC,OAAA;AAIvC,0IAAA,8CAA8C,OAAA;AAE9C,iHAAA,qBAAqB,OAAA;AAGrB,wHAAA,4BAA4B,OAAA;AAG5B,0GAAA,cAAc,OAAA;AAGd,2HAAA,+BAA+B,OAAA;AAa/B,yHAAA,6BAA6B,OAAA;AAE7B,mHAAA,uBAAuB,OAAA;AAEvB,yGAAA,aAAa,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AzureClouds, AzureSupportedClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { IotDpsClient } from \"./iotDpsClient.js\";\nexport { restorePoller, RestorePollerOptions } from \"./restorePollerHelpers.js\";\nexport {\n Operation,\n ErrorDetails,\n CertificateResponse,\n CertificateProperties,\n ProxyResource,\n Resource,\n SystemData,\n KnownCreatedByType,\n CreatedByType,\n VerificationCodeResponse,\n VerificationCodeResponseProperties,\n VerificationCodeRequest,\n AsyncOperationResult,\n ErrorMessage,\n ProvisioningServiceDescription,\n IotDpsPropertiesDescription,\n KnownState,\n State,\n KnownPublicNetworkAccess,\n PublicNetworkAccess,\n IpFilterRule,\n IpFilterActionType,\n IpFilterTargetType,\n PrivateEndpointConnection,\n PrivateEndpointConnectionProperties,\n PrivateEndpoint,\n PrivateLinkServiceConnectionState,\n KnownPrivateLinkServiceConnectionStatus,\n PrivateLinkServiceConnectionStatus,\n IotHubDefinitionDescription,\n DeviceRegistryNamespaceDescription,\n KnownDeviceRegistryNamespaceAuthenticationType,\n DeviceRegistryNamespaceAuthenticationType,\n KnownAllocationPolicy,\n AllocationPolicy,\n SharedAccessSignatureAuthorizationRuleAccessRightsDescription,\n KnownAccessRightsDescription,\n AccessRightsDescription,\n IotDpsSkuInfo,\n KnownIotDpsSku,\n IotDpsSku,\n ManagedServiceIdentity,\n KnownManagedServiceIdentityType,\n ManagedServiceIdentityType,\n UserAssignedIdentity,\n TrackedResource,\n ErrorDetail,\n ErrorAdditionalInfo,\n TagsResource,\n ErrorResponse,\n IotDpsSkuDefinition,\n GroupIdInformation,\n GroupIdInformationProperties,\n OperationInputs,\n NameAvailabilityInfo,\n KnownNameUnavailabilityReason,\n NameUnavailabilityReason,\n KnownCertificatePurpose,\n CertificatePurpose,\n KnownVersions,\n} from \"./models/index.js\";\nexport { IotDpsClientOptionalParams } from \"./api/index.js\";\nexport {\n DpsCertificateVerifyCertificateOptionalParams,\n DpsCertificateGenerateVerificationCodeOptionalParams,\n DpsCertificateListOptionalParams,\n DpsCertificateDeleteOptionalParams,\n DpsCertificateCreateOrUpdateOptionalParams,\n DpsCertificateGetOptionalParams,\n} from \"./api/dpsCertificate/index.js\";\nexport {\n IotDpsResourceCheckProvisioningServiceNameAvailabilityOptionalParams,\n IotDpsResourceListPrivateEndpointConnectionsOptionalParams,\n IotDpsResourceDeletePrivateEndpointConnectionOptionalParams,\n IotDpsResourceCreateOrUpdatePrivateEndpointConnectionOptionalParams,\n IotDpsResourceGetPrivateEndpointConnectionOptionalParams,\n IotDpsResourceListPrivateLinkResourcesOptionalParams,\n IotDpsResourceGetPrivateLinkResourcesOptionalParams,\n IotDpsResourceListKeysForKeyNameOptionalParams,\n IotDpsResourceListKeysOptionalParams,\n IotDpsResourceListValidSkusOptionalParams,\n IotDpsResourceListBySubscriptionOptionalParams,\n IotDpsResourceListByResourceGroupOptionalParams,\n IotDpsResourceDeleteOptionalParams,\n IotDpsResourceUpdateOptionalParams,\n IotDpsResourceCreateOrUpdateOptionalParams,\n IotDpsResourceGetOptionalParams,\n IotDpsResourceGetOperationResultOptionalParams,\n} from \"./api/iotDpsResource/index.js\";\nexport { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport {\n DpsCertificateOperations,\n IotDpsResourceOperations,\n OperationsOperations,\n} from \"./classic/index.js\";\nexport { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds, AzureSupportedClouds };\n"]}
@@ -1,22 +1,21 @@
1
- import * as coreClient from "@azure/core-client";
2
- import * as coreAuth from "@azure/core-auth";
3
- import { Operations, DpsCertificate, IotDpsResource } from "./operationsInterfaces/index.js";
4
- import { IotDpsClientOptionalParams } from "./models/index.js";
5
- export declare class IotDpsClient extends coreClient.ServiceClient {
6
- $host: string;
7
- apiVersion: string;
8
- subscriptionId: string;
9
- /**
10
- * Initializes a new instance of the IotDpsClient class.
11
- * @param credentials Subscription credentials which uniquely identify client subscription.
12
- * @param subscriptionId The subscription identifier.
13
- * @param options The parameter options
14
- */
15
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: IotDpsClientOptionalParams);
16
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
- private addCustomApiVersionPolicy;
18
- operations: Operations;
19
- dpsCertificate: DpsCertificate;
20
- iotDpsResource: IotDpsResource;
1
+ import type { IotDpsClientOptionalParams } from "./api/index.js";
2
+ import type { DpsCertificateOperations } from "./classic/dpsCertificate/index.js";
3
+ import type { IotDpsResourceOperations } from "./classic/iotDpsResource/index.js";
4
+ import type { OperationsOperations } from "./classic/operations/index.js";
5
+ import type { TokenCredential } from "@azure/core-auth";
6
+ import type { Pipeline } from "@azure/core-rest-pipeline";
7
+ export { IotDpsClientOptionalParams } from "./api/iotDpsContext.js";
8
+ export declare class IotDpsClient {
9
+ private _client;
10
+ /** The pipeline used by this client to make requests */
11
+ readonly pipeline: Pipeline;
12
+ /** API for using the Azure IoT Hub Device Provisioning Service features. */
13
+ constructor(credential: TokenCredential, subscriptionId: string, options?: IotDpsClientOptionalParams);
14
+ /** The operation groups for iotDpsResource */
15
+ readonly iotDpsResource: IotDpsResourceOperations;
16
+ /** The operation groups for dpsCertificate */
17
+ readonly dpsCertificate: DpsCertificateOperations;
18
+ /** The operation groups for operations */
19
+ readonly operations: OperationsOperations;
21
20
  }
22
21
  //# sourceMappingURL=iotDpsClient.d.ts.map
@@ -1,115 +1,37 @@
1
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
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  exports.IotDpsClient = void 0;
11
- const tslib_1 = require("tslib");
12
- const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
- const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
14
- const index_js_1 = require("./operations/index.js");
15
- class IotDpsClient extends coreClient.ServiceClient {
16
- $host;
17
- apiVersion;
18
- subscriptionId;
19
- /**
20
- * Initializes a new instance of the IotDpsClient class.
21
- * @param credentials Subscription credentials which uniquely identify client subscription.
22
- * @param subscriptionId The subscription identifier.
23
- * @param options The parameter options
24
- */
25
- constructor(credentials, subscriptionId, options) {
26
- if (credentials === undefined) {
27
- throw new Error("'credentials' cannot be null");
28
- }
29
- if (subscriptionId === undefined) {
30
- throw new Error("'subscriptionId' cannot be null");
31
- }
32
- // Initializing default values for options
33
- if (!options) {
34
- options = {};
35
- }
36
- const defaults = {
37
- requestContentType: "application/json; charset=utf-8",
38
- credential: credentials
39
- };
40
- const packageDetails = `azsdk-js-arm-deviceprovisioningservices/6.0.0-beta.2`;
41
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
42
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
43
- : `${packageDetails}`;
44
- const optionsWithDefaults = {
45
- ...defaults,
6
+ const index_js_1 = require("./api/index.js");
7
+ const index_js_2 = require("./classic/dpsCertificate/index.js");
8
+ const index_js_3 = require("./classic/iotDpsResource/index.js");
9
+ const index_js_4 = require("./classic/operations/index.js");
10
+ class IotDpsClient {
11
+ _client;
12
+ /** The pipeline used by this client to make requests */
13
+ pipeline;
14
+ /** API for using the Azure IoT Hub Device Provisioning Service features. */
15
+ constructor(credential, subscriptionId, options = {}) {
16
+ const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
17
+ const userAgentPrefix = prefixFromOptions
18
+ ? `${prefixFromOptions} azsdk-js-client`
19
+ : `azsdk-js-client`;
20
+ this._client = (0, index_js_1.createIotDps)(credential, subscriptionId, {
46
21
  ...options,
47
- userAgentOptions: {
48
- userAgentPrefix
49
- },
50
- endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
51
- };
52
- super(optionsWithDefaults);
53
- let bearerTokenAuthenticationPolicyFound = false;
54
- if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
55
- const pipelinePolicies = options.pipeline.getOrderedPolicies();
56
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
57
- coreRestPipeline.bearerTokenAuthenticationPolicyName);
58
- }
59
- if (!options ||
60
- !options.pipeline ||
61
- options.pipeline.getOrderedPolicies().length == 0 ||
62
- !bearerTokenAuthenticationPolicyFound) {
63
- this.pipeline.removePolicy({
64
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName
65
- });
66
- this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
67
- credential: credentials,
68
- scopes: optionsWithDefaults.credentialScopes ??
69
- `${optionsWithDefaults.endpoint}/.default`,
70
- challengeCallbacks: {
71
- authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
72
- }
73
- }));
74
- }
75
- // Parameter assignments
76
- this.subscriptionId = subscriptionId;
77
- // Assigning values to Constant parameters
78
- this.$host = options.$host || "https://management.azure.com";
79
- this.apiVersion = options.apiVersion || "2023-03-01-preview";
80
- this.operations = new index_js_1.OperationsImpl(this);
81
- this.dpsCertificate = new index_js_1.DpsCertificateImpl(this);
82
- this.iotDpsResource = new index_js_1.IotDpsResourceImpl(this);
83
- this.addCustomApiVersionPolicy(options.apiVersion);
22
+ userAgentOptions: { userAgentPrefix },
23
+ });
24
+ this.pipeline = this._client.pipeline;
25
+ this.iotDpsResource = (0, index_js_3._getIotDpsResourceOperations)(this._client);
26
+ this.dpsCertificate = (0, index_js_2._getDpsCertificateOperations)(this._client);
27
+ this.operations = (0, index_js_4._getOperationsOperations)(this._client);
84
28
  }
85
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
86
- addCustomApiVersionPolicy(apiVersion) {
87
- if (!apiVersion) {
88
- return;
89
- }
90
- const apiVersionPolicy = {
91
- name: "CustomApiVersionPolicy",
92
- async sendRequest(request, next) {
93
- const param = request.url.split("?");
94
- if (param.length > 1) {
95
- const newParams = param[1].split("&").map((item) => {
96
- if (item.indexOf("api-version") > -1) {
97
- return "api-version=" + apiVersion;
98
- }
99
- else {
100
- return item;
101
- }
102
- });
103
- request.url = param[0] + "?" + newParams.join("&");
104
- }
105
- return next(request);
106
- }
107
- };
108
- this.pipeline.addPolicy(apiVersionPolicy);
109
- }
110
- operations;
111
- dpsCertificate;
29
+ /** The operation groups for iotDpsResource */
112
30
  iotDpsResource;
31
+ /** The operation groups for dpsCertificate */
32
+ dpsCertificate;
33
+ /** The operation groups for operations */
34
+ operations;
113
35
  }
114
36
  exports.IotDpsClient = IotDpsClient;
115
37
  //# sourceMappingURL=iotDpsClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"iotDpsClient.js","sourceRoot":"","sources":["../../src/iotDpsClient.ts"],"names":[],"mappings":"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","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 * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n DpsCertificateImpl,\n IotDpsResourceImpl\n} from \"./operations/index.js\";\nimport {\n Operations,\n DpsCertificate,\n IotDpsResource\n} from \"./operationsInterfaces/index.js\";\nimport { IotDpsClientOptionalParams } from \"./models/index.js\";\n\nexport class IotDpsClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the IotDpsClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The subscription identifier.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: IotDpsClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: IotDpsClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-deviceprovisioningservices/6.0.0-beta.2`;\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 endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-03-01-preview\";\n this.operations = new OperationsImpl(this);\n this.dpsCertificate = new DpsCertificateImpl(this);\n this.iotDpsResource = new IotDpsResourceImpl(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 operations: Operations;\n dpsCertificate: DpsCertificate;\n iotDpsResource: IotDpsResource;\n}\n"]}
1
+ {"version":3,"file":"iotDpsClient.js","sourceRoot":"","sources":["../../src/iotDpsClient.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAGlC,6CAA8C;AAE9C,gEAAiF;AAEjF,gEAAiF;AAEjF,4DAAyE;AAMzE,MAAa,YAAY;IACf,OAAO,CAAgB;IAC/B,wDAAwD;IACxC,QAAQ,CAAW;IAEnC,4EAA4E;IAC5E,YACE,UAA2B,EAC3B,cAAsB,EACtB,UAAsC,EAAE;QAExC,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;QACrE,MAAM,eAAe,GAAG,iBAAiB;YACvC,CAAC,CAAC,GAAG,iBAAiB,kBAAkB;YACxC,CAAC,CAAC,iBAAiB,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,IAAA,uBAAY,EAAC,UAAU,EAAE,cAAc,EAAE;YACtD,GAAG,OAAO;YACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;SACtC,CAAC,CAAC;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QACtC,IAAI,CAAC,cAAc,GAAG,IAAA,uCAA4B,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjE,IAAI,CAAC,cAAc,GAAG,IAAA,uCAA4B,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjE,IAAI,CAAC,UAAU,GAAG,IAAA,mCAAwB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED,8CAA8C;IAC9B,cAAc,CAA2B;IACzD,8CAA8C;IAC9B,cAAc,CAA2B;IACzD,0CAA0C;IAC1B,UAAU,CAAuB;CAClD;AA/BD,oCA+BC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { IotDpsContext, IotDpsClientOptionalParams } from \"./api/index.js\";\nimport { createIotDps } from \"./api/index.js\";\nimport type { DpsCertificateOperations } from \"./classic/dpsCertificate/index.js\";\nimport { _getDpsCertificateOperations } from \"./classic/dpsCertificate/index.js\";\nimport type { IotDpsResourceOperations } from \"./classic/iotDpsResource/index.js\";\nimport { _getIotDpsResourceOperations } from \"./classic/iotDpsResource/index.js\";\nimport type { OperationsOperations } from \"./classic/operations/index.js\";\nimport { _getOperationsOperations } from \"./classic/operations/index.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport { IotDpsClientOptionalParams } from \"./api/iotDpsContext.js\";\n\nexport class IotDpsClient {\n private _client: IotDpsContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** API for using the Azure IoT Hub Device Provisioning Service features. */\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options: IotDpsClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createIotDps(credential, subscriptionId, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.iotDpsResource = _getIotDpsResourceOperations(this._client);\n this.dpsCertificate = _getDpsCertificateOperations(this._client);\n this.operations = _getOperationsOperations(this._client);\n }\n\n /** The operation groups for iotDpsResource */\n public readonly iotDpsResource: IotDpsResourceOperations;\n /** The operation groups for dpsCertificate */\n public readonly dpsCertificate: DpsCertificateOperations;\n /** The operation groups for operations */\n public readonly operations: OperationsOperations;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export declare const logger: import("@azure/logger").AzureLogger;
2
+ //# sourceMappingURL=logger.d.ts.map
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.logger = void 0;
6
+ const logger_1 = require("@azure/logger");
7
+ exports.logger = (0, logger_1.createClientLogger)("arm-deviceprovisioningservices");
8
+ //# sourceMappingURL=logger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,0CAAmD;AACtC,QAAA,MAAM,GAAG,IAAA,2BAAkB,EAAC,gCAAgC,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\nexport const logger = createClientLogger(\"arm-deviceprovisioningservices\");\n"]}