@azure/digital-twins-core 2.0.0-alpha.20250513.1 → 2.0.0-alpha.20250514.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 (269) hide show
  1. package/dist/browser/digitalTwinsClient.d.ts.map +1 -1
  2. package/dist/browser/digitalTwinsClient.js +7 -6
  3. package/dist/browser/digitalTwinsClient.js.map +1 -1
  4. package/dist/browser/generated/azureDigitalTwinsAPI.d.ts +5 -1
  5. package/dist/browser/generated/azureDigitalTwinsAPI.d.ts.map +1 -1
  6. package/dist/browser/generated/azureDigitalTwinsAPI.js +8 -6
  7. package/dist/browser/generated/azureDigitalTwinsAPI.js.map +1 -1
  8. package/dist/browser/generated/lroImpl.d.ts +11 -0
  9. package/dist/browser/generated/lroImpl.d.ts.map +1 -0
  10. package/dist/browser/generated/lroImpl.js +21 -0
  11. package/dist/browser/generated/lroImpl.js.map +1 -0
  12. package/dist/browser/generated/models/index.d.ts +368 -16
  13. package/dist/browser/generated/models/index.d.ts.map +1 -1
  14. package/dist/browser/generated/models/index.js.map +1 -1
  15. package/dist/browser/generated/models/mappers.d.ts +43 -0
  16. package/dist/browser/generated/models/mappers.d.ts.map +1 -1
  17. package/dist/browser/generated/models/mappers.js +892 -157
  18. package/dist/browser/generated/models/mappers.js.map +1 -1
  19. package/dist/browser/generated/models/parameters.d.ts +3 -0
  20. package/dist/browser/generated/models/parameters.d.ts.map +1 -1
  21. package/dist/browser/generated/models/parameters.js +107 -84
  22. package/dist/browser/generated/models/parameters.js.map +1 -1
  23. package/dist/browser/generated/operations/deleteJobs.d.ts +71 -0
  24. package/dist/browser/generated/operations/deleteJobs.d.ts.map +1 -0
  25. package/dist/browser/generated/operations/deleteJobs.js +261 -0
  26. package/dist/browser/generated/operations/deleteJobs.js.map +1 -0
  27. package/dist/browser/generated/operations/digitalTwinModels.d.ts +2 -1
  28. package/dist/browser/generated/operations/digitalTwinModels.d.ts.map +1 -1
  29. package/dist/browser/generated/operations/digitalTwinModels.js +36 -29
  30. package/dist/browser/generated/operations/digitalTwinModels.js.map +1 -1
  31. package/dist/browser/generated/operations/digitalTwins.js +90 -77
  32. package/dist/browser/generated/operations/digitalTwins.js.map +1 -1
  33. package/dist/browser/generated/operations/eventRoutes.d.ts +2 -1
  34. package/dist/browser/generated/operations/eventRoutes.d.ts.map +1 -1
  35. package/dist/browser/generated/operations/eventRoutes.js +27 -21
  36. package/dist/browser/generated/operations/eventRoutes.js.map +1 -1
  37. package/dist/browser/generated/operations/importJobs.d.ts +81 -0
  38. package/dist/browser/generated/operations/importJobs.d.ts.map +1 -0
  39. package/dist/browser/generated/operations/importJobs.js +260 -0
  40. package/dist/browser/generated/operations/importJobs.js.map +1 -0
  41. package/dist/browser/generated/operations/index.d.ts +2 -0
  42. package/dist/browser/generated/operations/index.d.ts.map +1 -1
  43. package/dist/browser/generated/operations/index.js +2 -0
  44. package/dist/browser/generated/operations/index.js.map +1 -1
  45. package/dist/browser/generated/operations/query.js +6 -5
  46. package/dist/browser/generated/operations/query.js.map +1 -1
  47. package/dist/browser/generated/operationsInterfaces/deleteJobs.d.ts +47 -0
  48. package/dist/browser/generated/operationsInterfaces/deleteJobs.d.ts.map +1 -0
  49. package/dist/browser/generated/operationsInterfaces/deleteJobs.js +9 -0
  50. package/dist/browser/generated/operationsInterfaces/deleteJobs.js.map +1 -0
  51. package/dist/browser/generated/operationsInterfaces/digitalTwinModels.d.ts +2 -1
  52. package/dist/browser/generated/operationsInterfaces/digitalTwinModels.d.ts.map +1 -1
  53. package/dist/browser/generated/operationsInterfaces/digitalTwinModels.js.map +1 -1
  54. package/dist/browser/generated/operationsInterfaces/digitalTwins.js.map +1 -1
  55. package/dist/browser/generated/operationsInterfaces/eventRoutes.d.ts +2 -1
  56. package/dist/browser/generated/operationsInterfaces/eventRoutes.d.ts.map +1 -1
  57. package/dist/browser/generated/operationsInterfaces/eventRoutes.js.map +1 -1
  58. package/dist/browser/generated/operationsInterfaces/importJobs.d.ts +58 -0
  59. package/dist/browser/generated/operationsInterfaces/importJobs.d.ts.map +1 -0
  60. package/dist/browser/generated/operationsInterfaces/importJobs.js +9 -0
  61. package/dist/browser/generated/operationsInterfaces/importJobs.js.map +1 -0
  62. package/dist/browser/generated/operationsInterfaces/index.d.ts +2 -0
  63. package/dist/browser/generated/operationsInterfaces/index.d.ts.map +1 -1
  64. package/dist/browser/generated/operationsInterfaces/index.js +2 -0
  65. package/dist/browser/generated/operationsInterfaces/index.js.map +1 -1
  66. package/dist/browser/generated/operationsInterfaces/query.js.map +1 -1
  67. package/dist/browser/generated/pagingHelper.js.map +1 -1
  68. package/dist/commonjs/digitalTwinsClient.d.ts.map +1 -1
  69. package/dist/commonjs/digitalTwinsClient.js +7 -6
  70. package/dist/commonjs/digitalTwinsClient.js.map +1 -1
  71. package/dist/commonjs/generated/azureDigitalTwinsAPI.d.ts +5 -1
  72. package/dist/commonjs/generated/azureDigitalTwinsAPI.d.ts.map +1 -1
  73. package/dist/commonjs/generated/azureDigitalTwinsAPI.js +7 -5
  74. package/dist/commonjs/generated/azureDigitalTwinsAPI.js.map +1 -1
  75. package/dist/commonjs/generated/lroImpl.d.ts +11 -0
  76. package/dist/commonjs/generated/lroImpl.d.ts.map +1 -0
  77. package/dist/commonjs/generated/lroImpl.js +24 -0
  78. package/dist/commonjs/generated/lroImpl.js.map +1 -0
  79. package/dist/commonjs/generated/models/index.d.ts +368 -16
  80. package/dist/commonjs/generated/models/index.d.ts.map +1 -1
  81. package/dist/commonjs/generated/models/index.js.map +1 -1
  82. package/dist/commonjs/generated/models/mappers.d.ts +43 -0
  83. package/dist/commonjs/generated/models/mappers.d.ts.map +1 -1
  84. package/dist/commonjs/generated/models/mappers.js +894 -158
  85. package/dist/commonjs/generated/models/mappers.js.map +1 -1
  86. package/dist/commonjs/generated/models/parameters.d.ts +3 -0
  87. package/dist/commonjs/generated/models/parameters.d.ts.map +1 -1
  88. package/dist/commonjs/generated/models/parameters.js +107 -84
  89. package/dist/commonjs/generated/models/parameters.js.map +1 -1
  90. package/dist/commonjs/generated/operations/deleteJobs.d.ts +71 -0
  91. package/dist/commonjs/generated/operations/deleteJobs.d.ts.map +1 -0
  92. package/dist/commonjs/generated/operations/deleteJobs.js +265 -0
  93. package/dist/commonjs/generated/operations/deleteJobs.js.map +1 -0
  94. package/dist/commonjs/generated/operations/digitalTwinModels.d.ts +2 -1
  95. package/dist/commonjs/generated/operations/digitalTwinModels.d.ts.map +1 -1
  96. package/dist/commonjs/generated/operations/digitalTwinModels.js +36 -29
  97. package/dist/commonjs/generated/operations/digitalTwinModels.js.map +1 -1
  98. package/dist/commonjs/generated/operations/digitalTwins.js +90 -77
  99. package/dist/commonjs/generated/operations/digitalTwins.js.map +1 -1
  100. package/dist/commonjs/generated/operations/eventRoutes.d.ts +2 -1
  101. package/dist/commonjs/generated/operations/eventRoutes.d.ts.map +1 -1
  102. package/dist/commonjs/generated/operations/eventRoutes.js +27 -21
  103. package/dist/commonjs/generated/operations/eventRoutes.js.map +1 -1
  104. package/dist/commonjs/generated/operations/importJobs.d.ts +81 -0
  105. package/dist/commonjs/generated/operations/importJobs.d.ts.map +1 -0
  106. package/dist/commonjs/generated/operations/importJobs.js +264 -0
  107. package/dist/commonjs/generated/operations/importJobs.js.map +1 -0
  108. package/dist/commonjs/generated/operations/index.d.ts +2 -0
  109. package/dist/commonjs/generated/operations/index.d.ts.map +1 -1
  110. package/dist/commonjs/generated/operations/index.js +2 -0
  111. package/dist/commonjs/generated/operations/index.js.map +1 -1
  112. package/dist/commonjs/generated/operations/query.js +6 -5
  113. package/dist/commonjs/generated/operations/query.js.map +1 -1
  114. package/dist/commonjs/generated/operationsInterfaces/deleteJobs.d.ts +47 -0
  115. package/dist/commonjs/generated/operationsInterfaces/deleteJobs.d.ts.map +1 -0
  116. package/dist/commonjs/generated/operationsInterfaces/deleteJobs.js +10 -0
  117. package/dist/commonjs/generated/operationsInterfaces/deleteJobs.js.map +1 -0
  118. package/dist/commonjs/generated/operationsInterfaces/digitalTwinModels.d.ts +2 -1
  119. package/dist/commonjs/generated/operationsInterfaces/digitalTwinModels.d.ts.map +1 -1
  120. package/dist/commonjs/generated/operationsInterfaces/digitalTwinModels.js.map +1 -1
  121. package/dist/commonjs/generated/operationsInterfaces/digitalTwins.js.map +1 -1
  122. package/dist/commonjs/generated/operationsInterfaces/eventRoutes.d.ts +2 -1
  123. package/dist/commonjs/generated/operationsInterfaces/eventRoutes.d.ts.map +1 -1
  124. package/dist/commonjs/generated/operationsInterfaces/eventRoutes.js.map +1 -1
  125. package/dist/commonjs/generated/operationsInterfaces/importJobs.d.ts +58 -0
  126. package/dist/commonjs/generated/operationsInterfaces/importJobs.d.ts.map +1 -0
  127. package/dist/commonjs/generated/operationsInterfaces/importJobs.js +10 -0
  128. package/dist/commonjs/generated/operationsInterfaces/importJobs.js.map +1 -0
  129. package/dist/commonjs/generated/operationsInterfaces/index.d.ts +2 -0
  130. package/dist/commonjs/generated/operationsInterfaces/index.d.ts.map +1 -1
  131. package/dist/commonjs/generated/operationsInterfaces/index.js +2 -0
  132. package/dist/commonjs/generated/operationsInterfaces/index.js.map +1 -1
  133. package/dist/commonjs/generated/operationsInterfaces/query.js.map +1 -1
  134. package/dist/commonjs/generated/pagingHelper.js.map +1 -1
  135. package/dist/esm/digitalTwinsClient.d.ts.map +1 -1
  136. package/dist/esm/digitalTwinsClient.js +7 -6
  137. package/dist/esm/digitalTwinsClient.js.map +1 -1
  138. package/dist/esm/generated/azureDigitalTwinsAPI.d.ts +5 -1
  139. package/dist/esm/generated/azureDigitalTwinsAPI.d.ts.map +1 -1
  140. package/dist/esm/generated/azureDigitalTwinsAPI.js +8 -6
  141. package/dist/esm/generated/azureDigitalTwinsAPI.js.map +1 -1
  142. package/dist/esm/generated/lroImpl.d.ts +11 -0
  143. package/dist/esm/generated/lroImpl.d.ts.map +1 -0
  144. package/dist/esm/generated/lroImpl.js +21 -0
  145. package/dist/esm/generated/lroImpl.js.map +1 -0
  146. package/dist/esm/generated/models/index.d.ts +368 -16
  147. package/dist/esm/generated/models/index.d.ts.map +1 -1
  148. package/dist/esm/generated/models/index.js.map +1 -1
  149. package/dist/esm/generated/models/mappers.d.ts +43 -0
  150. package/dist/esm/generated/models/mappers.d.ts.map +1 -1
  151. package/dist/esm/generated/models/mappers.js +892 -157
  152. package/dist/esm/generated/models/mappers.js.map +1 -1
  153. package/dist/esm/generated/models/parameters.d.ts +3 -0
  154. package/dist/esm/generated/models/parameters.d.ts.map +1 -1
  155. package/dist/esm/generated/models/parameters.js +107 -84
  156. package/dist/esm/generated/models/parameters.js.map +1 -1
  157. package/dist/esm/generated/operations/deleteJobs.d.ts +71 -0
  158. package/dist/esm/generated/operations/deleteJobs.d.ts.map +1 -0
  159. package/dist/esm/generated/operations/deleteJobs.js +261 -0
  160. package/dist/esm/generated/operations/deleteJobs.js.map +1 -0
  161. package/dist/esm/generated/operations/digitalTwinModels.d.ts +2 -1
  162. package/dist/esm/generated/operations/digitalTwinModels.d.ts.map +1 -1
  163. package/dist/esm/generated/operations/digitalTwinModels.js +36 -29
  164. package/dist/esm/generated/operations/digitalTwinModels.js.map +1 -1
  165. package/dist/esm/generated/operations/digitalTwins.js +90 -77
  166. package/dist/esm/generated/operations/digitalTwins.js.map +1 -1
  167. package/dist/esm/generated/operations/eventRoutes.d.ts +2 -1
  168. package/dist/esm/generated/operations/eventRoutes.d.ts.map +1 -1
  169. package/dist/esm/generated/operations/eventRoutes.js +27 -21
  170. package/dist/esm/generated/operations/eventRoutes.js.map +1 -1
  171. package/dist/esm/generated/operations/importJobs.d.ts +81 -0
  172. package/dist/esm/generated/operations/importJobs.d.ts.map +1 -0
  173. package/dist/esm/generated/operations/importJobs.js +260 -0
  174. package/dist/esm/generated/operations/importJobs.js.map +1 -0
  175. package/dist/esm/generated/operations/index.d.ts +2 -0
  176. package/dist/esm/generated/operations/index.d.ts.map +1 -1
  177. package/dist/esm/generated/operations/index.js +2 -0
  178. package/dist/esm/generated/operations/index.js.map +1 -1
  179. package/dist/esm/generated/operations/query.js +6 -5
  180. package/dist/esm/generated/operations/query.js.map +1 -1
  181. package/dist/esm/generated/operationsInterfaces/deleteJobs.d.ts +47 -0
  182. package/dist/esm/generated/operationsInterfaces/deleteJobs.d.ts.map +1 -0
  183. package/dist/esm/generated/operationsInterfaces/deleteJobs.js +9 -0
  184. package/dist/esm/generated/operationsInterfaces/deleteJobs.js.map +1 -0
  185. package/dist/esm/generated/operationsInterfaces/digitalTwinModels.d.ts +2 -1
  186. package/dist/esm/generated/operationsInterfaces/digitalTwinModels.d.ts.map +1 -1
  187. package/dist/esm/generated/operationsInterfaces/digitalTwinModels.js.map +1 -1
  188. package/dist/esm/generated/operationsInterfaces/digitalTwins.js.map +1 -1
  189. package/dist/esm/generated/operationsInterfaces/eventRoutes.d.ts +2 -1
  190. package/dist/esm/generated/operationsInterfaces/eventRoutes.d.ts.map +1 -1
  191. package/dist/esm/generated/operationsInterfaces/eventRoutes.js.map +1 -1
  192. package/dist/esm/generated/operationsInterfaces/importJobs.d.ts +58 -0
  193. package/dist/esm/generated/operationsInterfaces/importJobs.d.ts.map +1 -0
  194. package/dist/esm/generated/operationsInterfaces/importJobs.js +9 -0
  195. package/dist/esm/generated/operationsInterfaces/importJobs.js.map +1 -0
  196. package/dist/esm/generated/operationsInterfaces/index.d.ts +2 -0
  197. package/dist/esm/generated/operationsInterfaces/index.d.ts.map +1 -1
  198. package/dist/esm/generated/operationsInterfaces/index.js +2 -0
  199. package/dist/esm/generated/operationsInterfaces/index.js.map +1 -1
  200. package/dist/esm/generated/operationsInterfaces/query.js.map +1 -1
  201. package/dist/esm/generated/pagingHelper.js.map +1 -1
  202. package/dist/react-native/digitalTwinsClient.d.ts.map +1 -1
  203. package/dist/react-native/digitalTwinsClient.js +7 -6
  204. package/dist/react-native/digitalTwinsClient.js.map +1 -1
  205. package/dist/react-native/generated/azureDigitalTwinsAPI.d.ts +5 -1
  206. package/dist/react-native/generated/azureDigitalTwinsAPI.d.ts.map +1 -1
  207. package/dist/react-native/generated/azureDigitalTwinsAPI.js +8 -6
  208. package/dist/react-native/generated/azureDigitalTwinsAPI.js.map +1 -1
  209. package/dist/react-native/generated/lroImpl.d.ts +11 -0
  210. package/dist/react-native/generated/lroImpl.d.ts.map +1 -0
  211. package/dist/react-native/generated/lroImpl.js +21 -0
  212. package/dist/react-native/generated/lroImpl.js.map +1 -0
  213. package/dist/react-native/generated/models/index.d.ts +368 -16
  214. package/dist/react-native/generated/models/index.d.ts.map +1 -1
  215. package/dist/react-native/generated/models/index.js.map +1 -1
  216. package/dist/react-native/generated/models/mappers.d.ts +43 -0
  217. package/dist/react-native/generated/models/mappers.d.ts.map +1 -1
  218. package/dist/react-native/generated/models/mappers.js +892 -157
  219. package/dist/react-native/generated/models/mappers.js.map +1 -1
  220. package/dist/react-native/generated/models/parameters.d.ts +3 -0
  221. package/dist/react-native/generated/models/parameters.d.ts.map +1 -1
  222. package/dist/react-native/generated/models/parameters.js +107 -84
  223. package/dist/react-native/generated/models/parameters.js.map +1 -1
  224. package/dist/react-native/generated/operations/deleteJobs.d.ts +71 -0
  225. package/dist/react-native/generated/operations/deleteJobs.d.ts.map +1 -0
  226. package/dist/react-native/generated/operations/deleteJobs.js +261 -0
  227. package/dist/react-native/generated/operations/deleteJobs.js.map +1 -0
  228. package/dist/react-native/generated/operations/digitalTwinModels.d.ts +2 -1
  229. package/dist/react-native/generated/operations/digitalTwinModels.d.ts.map +1 -1
  230. package/dist/react-native/generated/operations/digitalTwinModels.js +36 -29
  231. package/dist/react-native/generated/operations/digitalTwinModels.js.map +1 -1
  232. package/dist/react-native/generated/operations/digitalTwins.js +90 -77
  233. package/dist/react-native/generated/operations/digitalTwins.js.map +1 -1
  234. package/dist/react-native/generated/operations/eventRoutes.d.ts +2 -1
  235. package/dist/react-native/generated/operations/eventRoutes.d.ts.map +1 -1
  236. package/dist/react-native/generated/operations/eventRoutes.js +27 -21
  237. package/dist/react-native/generated/operations/eventRoutes.js.map +1 -1
  238. package/dist/react-native/generated/operations/importJobs.d.ts +81 -0
  239. package/dist/react-native/generated/operations/importJobs.d.ts.map +1 -0
  240. package/dist/react-native/generated/operations/importJobs.js +260 -0
  241. package/dist/react-native/generated/operations/importJobs.js.map +1 -0
  242. package/dist/react-native/generated/operations/index.d.ts +2 -0
  243. package/dist/react-native/generated/operations/index.d.ts.map +1 -1
  244. package/dist/react-native/generated/operations/index.js +2 -0
  245. package/dist/react-native/generated/operations/index.js.map +1 -1
  246. package/dist/react-native/generated/operations/query.js +6 -5
  247. package/dist/react-native/generated/operations/query.js.map +1 -1
  248. package/dist/react-native/generated/operationsInterfaces/deleteJobs.d.ts +47 -0
  249. package/dist/react-native/generated/operationsInterfaces/deleteJobs.d.ts.map +1 -0
  250. package/dist/react-native/generated/operationsInterfaces/deleteJobs.js +9 -0
  251. package/dist/react-native/generated/operationsInterfaces/deleteJobs.js.map +1 -0
  252. package/dist/react-native/generated/operationsInterfaces/digitalTwinModels.d.ts +2 -1
  253. package/dist/react-native/generated/operationsInterfaces/digitalTwinModels.d.ts.map +1 -1
  254. package/dist/react-native/generated/operationsInterfaces/digitalTwinModels.js.map +1 -1
  255. package/dist/react-native/generated/operationsInterfaces/digitalTwins.js.map +1 -1
  256. package/dist/react-native/generated/operationsInterfaces/eventRoutes.d.ts +2 -1
  257. package/dist/react-native/generated/operationsInterfaces/eventRoutes.d.ts.map +1 -1
  258. package/dist/react-native/generated/operationsInterfaces/eventRoutes.js.map +1 -1
  259. package/dist/react-native/generated/operationsInterfaces/importJobs.d.ts +58 -0
  260. package/dist/react-native/generated/operationsInterfaces/importJobs.d.ts.map +1 -0
  261. package/dist/react-native/generated/operationsInterfaces/importJobs.js +9 -0
  262. package/dist/react-native/generated/operationsInterfaces/importJobs.js.map +1 -0
  263. package/dist/react-native/generated/operationsInterfaces/index.d.ts +2 -0
  264. package/dist/react-native/generated/operationsInterfaces/index.d.ts.map +1 -1
  265. package/dist/react-native/generated/operationsInterfaces/index.js +2 -0
  266. package/dist/react-native/generated/operationsInterfaces/index.js.map +1 -1
  267. package/dist/react-native/generated/operationsInterfaces/query.js.map +1 -1
  268. package/dist/react-native/generated/pagingHelper.js.map +1 -1
  269. package/package.json +3 -1
@@ -0,0 +1,47 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { DeleteJob, DeleteJobsListOptionalParams, DeleteJobsAddOptionalParams, DeleteJobsAddResponse, DeleteJobsGetByIdOptionalParams, DeleteJobsGetByIdResponse } from "../models/index.js";
4
+ /** Interface representing a DeleteJobs. */
5
+ export interface DeleteJobs {
6
+ /**
7
+ * Retrieves all deletion jobs. This may be useful to find a delete job that was previously requested,
8
+ * or to view a history of delete jobs that have run or are currently running on the instance.
9
+ * Status codes:
10
+ * * 200 OK
11
+ * @param options The options parameters.
12
+ */
13
+ list(options?: DeleteJobsListOptionalParams): PagedAsyncIterableIterator<DeleteJob>;
14
+ /**
15
+ * Initiates a job which deletes all models, twins, and relationships on the instance. Does not delete
16
+ * any other types of entities.
17
+ * Status codes:
18
+ * * 202 Created
19
+ * * 400 Bad Request
20
+ * * JobLimitReached - The maximum number of delete jobs allowed has been reached.
21
+ * * ValidationFailed - Operation-Id already exists.
22
+ * @param options The options parameters.
23
+ */
24
+ beginAdd(options?: DeleteJobsAddOptionalParams): Promise<SimplePollerLike<OperationState<DeleteJobsAddResponse>, DeleteJobsAddResponse>>;
25
+ /**
26
+ * Initiates a job which deletes all models, twins, and relationships on the instance. Does not delete
27
+ * any other types of entities.
28
+ * Status codes:
29
+ * * 202 Created
30
+ * * 400 Bad Request
31
+ * * JobLimitReached - The maximum number of delete jobs allowed has been reached.
32
+ * * ValidationFailed - Operation-Id already exists.
33
+ * @param options The options parameters.
34
+ */
35
+ beginAddAndWait(options?: DeleteJobsAddOptionalParams): Promise<DeleteJobsAddResponse>;
36
+ /**
37
+ * Retrieves a delete job.
38
+ * Status codes:
39
+ * * 200 OK
40
+ * * 404 Not Found
41
+ * * DeleteJobNotFound - The delete job was not found.
42
+ * @param id The id for the delete job. The id is unique within the service and case sensitive.
43
+ * @param options The options parameters.
44
+ */
45
+ getById(id: string, options?: DeleteJobsGetByIdOptionalParams): Promise<DeleteJobsGetByIdResponse>;
46
+ }
47
+ //# sourceMappingURL=deleteJobs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteJobs.d.ts","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/deleteJobs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,SAAS,EACT,4BAA4B,EAC5B,2BAA2B,EAC3B,qBAAqB,EACrB,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;;;;;OASG;IACH,QAAQ,CACN,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,qBAAqB,CAAC,EACrC,qBAAqB,CACtB,CACF,CAAC;IACF;;;;;;;;;OASG;IACH,eAAe,CACb,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAClC;;;;;;;;OAQG;IACH,OAAO,CACL,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=deleteJobs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteJobs.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/deleteJobs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n DeleteJob,\n DeleteJobsListOptionalParams,\n DeleteJobsAddOptionalParams,\n DeleteJobsAddResponse,\n DeleteJobsGetByIdOptionalParams,\n DeleteJobsGetByIdResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DeleteJobs. */\nexport interface DeleteJobs {\n /**\n * Retrieves all deletion jobs. This may be useful to find a delete job that was previously requested,\n * or to view a history of delete jobs that have run or are currently running on the instance.\n * Status codes:\n * * 200 OK\n * @param options The options parameters.\n */\n list(\n options?: DeleteJobsListOptionalParams,\n ): PagedAsyncIterableIterator<DeleteJob>;\n /**\n * Initiates a job which deletes all models, twins, and relationships on the instance. Does not delete\n * any other types of entities.\n * Status codes:\n * * 202 Created\n * * 400 Bad Request\n * * JobLimitReached - The maximum number of delete jobs allowed has been reached.\n * * ValidationFailed - Operation-Id already exists.\n * @param options The options parameters.\n */\n beginAdd(\n options?: DeleteJobsAddOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DeleteJobsAddResponse>,\n DeleteJobsAddResponse\n >\n >;\n /**\n * Initiates a job which deletes all models, twins, and relationships on the instance. Does not delete\n * any other types of entities.\n * Status codes:\n * * 202 Created\n * * 400 Bad Request\n * * JobLimitReached - The maximum number of delete jobs allowed has been reached.\n * * ValidationFailed - Operation-Id already exists.\n * @param options The options parameters.\n */\n beginAddAndWait(\n options?: DeleteJobsAddOptionalParams,\n ): Promise<DeleteJobsAddResponse>;\n /**\n * Retrieves a delete job.\n * Status codes:\n * * 200 OK\n * * 404 Not Found\n * * DeleteJobNotFound - The delete job was not found.\n * @param id The id for the delete job. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: DeleteJobsGetByIdOptionalParams,\n ): Promise<DeleteJobsGetByIdResponse>;\n}\n"]}
@@ -25,9 +25,10 @@ export interface DigitalTwinModels {
25
25
  * * ModelVersionNotSupported - The version of DTDL used is not supported.
26
26
  * * 409 Conflict
27
27
  * * ModelAlreadyExists - The model provided already exists.
28
+ * @param models An array of models to add.
28
29
  * @param options The options parameters.
29
30
  */
30
- add(options?: DigitalTwinModelsAddOptionalParams): Promise<DigitalTwinModelsAddResponse>;
31
+ add(models: Record<string, unknown>[], options?: DigitalTwinModelsAddOptionalParams): Promise<DigitalTwinModelsAddResponse>;
31
32
  /**
32
33
  * Retrieves model metadata and optionally the model definition.
33
34
  * Status codes:
@@ -1 +1 @@
1
- {"version":3,"file":"digitalTwinModels.d.ts","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/digitalTwinModels.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,mCAAmC,EACnC,kCAAkC,EAClC,4BAA4B,EAC5B,sCAAsC,EACtC,gCAAgC,EAChC,qCAAqC,EACrC,qCAAqC,EACtC,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC;;;;;;;;;;OAUG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAAC,qBAAqB,CAAC,CAAC;IACrD;;;;;;;;;;;;OAYG;IACH,GAAG,CACD,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;;;;;;;;;OAWG;IACH,OAAO,CACL,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EACtC,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"digitalTwinModels.d.ts","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/digitalTwinModels.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,mCAAmC,EACnC,kCAAkC,EAClC,4BAA4B,EAC5B,sCAAsC,EACtC,gCAAgC,EAChC,qCAAqC,EACrC,qCAAqC,EACtC,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC;;;;;;;;;;OAUG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAAC,qBAAqB,CAAC,CAAC;IACrD;;;;;;;;;;;;;OAaG;IACH,GAAG,CACD,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EACjC,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;;;;;;;;;OAWG;IACH,OAAO,CACL,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC7C;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EACtC,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -1 +1 @@
1
- {"version":3,"file":"digitalTwinModels.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/digitalTwinModels.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n DigitalTwinsModelData,\n DigitalTwinModelsListOptionalParams,\n DigitalTwinModelsAddOptionalParams,\n DigitalTwinModelsAddResponse,\n DigitalTwinModelsGetByIdOptionalParams,\n DigitalTwinModelsGetByIdResponse,\n DigitalTwinModelsUpdateOptionalParams,\n DigitalTwinModelsDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DigitalTwinModels. */\nexport interface DigitalTwinModels {\n /**\n * Retrieves model metadata and, optionally, model definitions.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The model id is invalid.\n * * LimitExceeded - The maximum number of model ids allowed in 'dependenciesFor' has been reached.\n * * 404 Not Found\n * * ModelNotFound - The model was not found.\n * @param options The options parameters.\n */\n list(\n options?: DigitalTwinModelsListOptionalParams\n ): PagedAsyncIterableIterator<DigitalTwinsModelData>;\n /**\n * Uploads one or more models. When any error occurs, no models are uploaded.\n * Status codes:\n * * 201 Created\n * * 400 Bad Request\n * * DTDLParserError - The models provided are not valid DTDL.\n * * InvalidArgument - The model id is invalid.\n * * LimitExceeded - The maximum number of model ids allowed in 'dependenciesFor' has been reached.\n * * ModelVersionNotSupported - The version of DTDL used is not supported.\n * * 409 Conflict\n * * ModelAlreadyExists - The model provided already exists.\n * @param options The options parameters.\n */\n add(\n options?: DigitalTwinModelsAddOptionalParams\n ): Promise<DigitalTwinModelsAddResponse>;\n /**\n * Retrieves model metadata and optionally the model definition.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The model id is invalid.\n * * MissingArgument - The model id was not provided.\n * * 404 Not Found\n * * ModelNotFound - The model was not found.\n * @param id The id for the model. The id is globally unique and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: DigitalTwinModelsGetByIdOptionalParams\n ): Promise<DigitalTwinModelsGetByIdResponse>;\n /**\n * Updates the metadata for a model.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The model id is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * MissingArgument - The model id was not provided.\n * * 404 Not Found\n * * ModelNotFound - The model was not found.\n * * 409 Conflict\n * * ModelReferencesNotDecommissioned - The model refers to models that are not decommissioned.\n * @param id The id for the model. The id is globally unique and case sensitive.\n * @param updateModel An update specification described by JSON Patch. Only the decommissioned property\n * can be replaced.\n * @param options The options parameters.\n */\n update(\n id: string,\n updateModel: Record<string, unknown>[],\n options?: DigitalTwinModelsUpdateOptionalParams\n ): Promise<void>;\n /**\n * Deletes a model. A model can only be deleted if no other models reference it.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The model id is invalid.\n * * MissingArgument - The model id was not provided.\n * * 404 Not Found\n * * ModelNotFound - The model was not found.\n * * 409 Conflict\n * * ModelReferencesNotDeleted - The model refers to models that are not deleted.\n * @param id The id for the model. The id is globally unique and case sensitive.\n * @param options The options parameters.\n */\n delete(\n id: string,\n options?: DigitalTwinModelsDeleteOptionalParams\n ): Promise<void>;\n}\n"]}
1
+ {"version":3,"file":"digitalTwinModels.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/digitalTwinModels.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n DigitalTwinsModelData,\n DigitalTwinModelsListOptionalParams,\n DigitalTwinModelsAddOptionalParams,\n DigitalTwinModelsAddResponse,\n DigitalTwinModelsGetByIdOptionalParams,\n DigitalTwinModelsGetByIdResponse,\n DigitalTwinModelsUpdateOptionalParams,\n DigitalTwinModelsDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DigitalTwinModels. */\nexport interface DigitalTwinModels {\n /**\n * Retrieves model metadata and, optionally, model definitions.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The model id is invalid.\n * * LimitExceeded - The maximum number of model ids allowed in 'dependenciesFor' has been reached.\n * * 404 Not Found\n * * ModelNotFound - The model was not found.\n * @param options The options parameters.\n */\n list(\n options?: DigitalTwinModelsListOptionalParams,\n ): PagedAsyncIterableIterator<DigitalTwinsModelData>;\n /**\n * Uploads one or more models. When any error occurs, no models are uploaded.\n * Status codes:\n * * 201 Created\n * * 400 Bad Request\n * * DTDLParserError - The models provided are not valid DTDL.\n * * InvalidArgument - The model id is invalid.\n * * LimitExceeded - The maximum number of model ids allowed in 'dependenciesFor' has been reached.\n * * ModelVersionNotSupported - The version of DTDL used is not supported.\n * * 409 Conflict\n * * ModelAlreadyExists - The model provided already exists.\n * @param models An array of models to add.\n * @param options The options parameters.\n */\n add(\n models: Record<string, unknown>[],\n options?: DigitalTwinModelsAddOptionalParams,\n ): Promise<DigitalTwinModelsAddResponse>;\n /**\n * Retrieves model metadata and optionally the model definition.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The model id is invalid.\n * * MissingArgument - The model id was not provided.\n * * 404 Not Found\n * * ModelNotFound - The model was not found.\n * @param id The id for the model. The id is globally unique and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: DigitalTwinModelsGetByIdOptionalParams,\n ): Promise<DigitalTwinModelsGetByIdResponse>;\n /**\n * Updates the metadata for a model.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The model id is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * MissingArgument - The model id was not provided.\n * * 404 Not Found\n * * ModelNotFound - The model was not found.\n * * 409 Conflict\n * * ModelReferencesNotDecommissioned - The model refers to models that are not decommissioned.\n * @param id The id for the model. The id is globally unique and case sensitive.\n * @param updateModel An update specification described by JSON Patch. Only the decommissioned property\n * can be replaced.\n * @param options The options parameters.\n */\n update(\n id: string,\n updateModel: Record<string, unknown>[],\n options?: DigitalTwinModelsUpdateOptionalParams,\n ): Promise<void>;\n /**\n * Deletes a model. A model can only be deleted if no other models reference it.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The model id is invalid.\n * * MissingArgument - The model id was not provided.\n * * 404 Not Found\n * * ModelNotFound - The model was not found.\n * * 409 Conflict\n * * ModelReferencesNotDeleted - The model refers to models that are not deleted.\n * @param id The id for the model. The id is globally unique and case sensitive.\n * @param options The options parameters.\n */\n delete(\n id: string,\n options?: DigitalTwinModelsDeleteOptionalParams,\n ): Promise<void>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"digitalTwins.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/digitalTwins.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n DigitalTwinsListRelationshipsOptionalParams,\n IncomingRelationship,\n DigitalTwinsListIncomingRelationshipsOptionalParams,\n DigitalTwinsGetByIdOptionalParams,\n DigitalTwinsGetByIdResponse,\n DigitalTwinsAddOptionalParams,\n DigitalTwinsAddResponse,\n DigitalTwinsDeleteOptionalParams,\n DigitalTwinsUpdateOptionalParams,\n DigitalTwinsUpdateResponse,\n DigitalTwinsGetRelationshipByIdOptionalParams,\n DigitalTwinsGetRelationshipByIdResponse,\n DigitalTwinsAddRelationshipOptionalParams,\n DigitalTwinsAddRelationshipResponse,\n DigitalTwinsDeleteRelationshipOptionalParams,\n DigitalTwinsUpdateRelationshipOptionalParams,\n DigitalTwinsUpdateRelationshipResponse,\n DigitalTwinsSendTelemetryOptionalParams,\n DigitalTwinsSendComponentTelemetryOptionalParams,\n DigitalTwinsGetComponentOptionalParams,\n DigitalTwinsGetComponentResponse,\n DigitalTwinsUpdateComponentOptionalParams,\n DigitalTwinsUpdateComponentResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DigitalTwins. */\nexport interface DigitalTwins {\n /**\n * Retrieves the relationships from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n listRelationships(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams\n ): PagedAsyncIterableIterator<Record<string, unknown>>;\n /**\n * Retrieves all incoming relationship for a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n listIncomingRelationships(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams\n ): PagedAsyncIterableIterator<IncomingRelationship>;\n /**\n * Retrieves a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: DigitalTwinsGetByIdOptionalParams\n ): Promise<DigitalTwinsGetByIdResponse>;\n /**\n * Adds or replaces a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or payload is invalid.\n * * ModelDecommissioned - The model for the digital twin is decommissioned.\n * * TwinLimitReached - The maximum number of digital twins allowed has been reached.\n * * ValidationFailed - The digital twin payload is not valid.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param twin The digital twin instance being added. If provided, the $dtId property is ignored.\n * @param options The options parameters.\n */\n add(\n id: string,\n twin: Record<string, unknown>,\n options?: DigitalTwinsAddOptionalParams\n ): Promise<DigitalTwinsAddResponse>;\n /**\n * Deletes a digital twin. All relationships referencing the digital twin must already be deleted.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * RelationshipsNotDeleted - The digital twin contains relationships.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n delete(id: string, options?: DigitalTwinsDeleteOptionalParams): Promise<void>;\n /**\n * Updates a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or payload is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - Applying the patch results in an invalid digital twin.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param patchDocument An update specification described by JSON Patch. Updates to property values and\n * $model elements may happen in the same request. Operations are limited to add, replace and remove.\n * @param options The options parameters.\n */\n update(\n id: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateOptionalParams\n ): Promise<DigitalTwinsUpdateResponse>;\n /**\n * Retrieves a relationship between two digital twins.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param options The options parameters.\n */\n getRelationshipById(\n id: string,\n relationshipId: string,\n options?: DigitalTwinsGetRelationshipByIdOptionalParams\n ): Promise<DigitalTwinsGetRelationshipByIdResponse>;\n /**\n * Adds a relationship between two digital twins.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, relationship id, or payload is invalid.\n * * InvalidRelationship - The relationship is invalid.\n * * OperationNotAllowed - The relationship cannot connect to the same digital twin.\n * * ValidationFailed - The relationship content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * TargetTwinNotFound - The digital twin target of the relationship was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param relationship The data for the relationship.\n * @param options The options parameters.\n */\n addRelationship(\n id: string,\n relationshipId: string,\n relationship: Record<string, unknown>,\n options?: DigitalTwinsAddRelationshipOptionalParams\n ): Promise<DigitalTwinsAddRelationshipResponse>;\n /**\n * Deletes a relationship between two digital twins.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param options The options parameters.\n */\n deleteRelationship(\n id: string,\n relationshipId: string,\n options?: DigitalTwinsDeleteRelationshipOptionalParams\n ): Promise<void>;\n /**\n * Updates the properties on a relationship between two digital twins.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * InvalidRelationship - The relationship is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - The relationship content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * * 409 Conflict\n * * RelationshipAlreadyExists - The relationship already exists.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param patchDocument JSON Patch description of the update to the relationship properties.\n * @param options The options parameters.\n */\n updateRelationship(\n id: string,\n relationshipId: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateRelationshipOptionalParams\n ): Promise<DigitalTwinsUpdateRelationshipResponse>;\n /**\n * Sends telemetry on behalf of a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or message id is invalid.\n * * ValidationFailed - The telemetry content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param messageId A unique message identifier (in the scope of the digital twin id) that is commonly\n * used for de-duplicating messages.\n * @param telemetry The telemetry measurements to send from the digital twin.\n * @param options The options parameters.\n */\n sendTelemetry(\n id: string,\n messageId: string,\n telemetry: Record<string, unknown>,\n options?: DigitalTwinsSendTelemetryOptionalParams\n ): Promise<void>;\n /**\n * Sends telemetry on behalf of a component in a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, message id, or component path is invalid.\n * * ValidationFailed - The telemetry content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * ComponentNotFound - The component path was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param messageId A unique message identifier (in the scope of the digital twin id) that is commonly\n * used for de-duplicating messages.\n * @param telemetry The telemetry measurements to send from the digital twin's component.\n * @param options The options parameters.\n */\n sendComponentTelemetry(\n id: string,\n componentPath: string,\n messageId: string,\n telemetry: Record<string, unknown>,\n options?: DigitalTwinsSendComponentTelemetryOptionalParams\n ): Promise<void>;\n /**\n * Retrieves a component from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or component path is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * ComponentNotFound - The component path was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param options The options parameters.\n */\n getComponent(\n id: string,\n componentPath: string,\n options?: DigitalTwinsGetComponentOptionalParams\n ): Promise<DigitalTwinsGetComponentResponse>;\n /**\n * Updates a component on a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, component path, or payload is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - Applying the patch results in an invalid digital twin.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param patchDocument An update specification described by JSON Patch. Updates to property values and\n * $model elements may happen in the same request. Operations are limited to add, replace and remove.\n * @param options The options parameters.\n */\n updateComponent(\n id: string,\n componentPath: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateComponentOptionalParams\n ): Promise<DigitalTwinsUpdateComponentResponse>;\n}\n"]}
1
+ {"version":3,"file":"digitalTwins.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/digitalTwins.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n DigitalTwinsListRelationshipsOptionalParams,\n IncomingRelationship,\n DigitalTwinsListIncomingRelationshipsOptionalParams,\n DigitalTwinsGetByIdOptionalParams,\n DigitalTwinsGetByIdResponse,\n DigitalTwinsAddOptionalParams,\n DigitalTwinsAddResponse,\n DigitalTwinsDeleteOptionalParams,\n DigitalTwinsUpdateOptionalParams,\n DigitalTwinsUpdateResponse,\n DigitalTwinsGetRelationshipByIdOptionalParams,\n DigitalTwinsGetRelationshipByIdResponse,\n DigitalTwinsAddRelationshipOptionalParams,\n DigitalTwinsAddRelationshipResponse,\n DigitalTwinsDeleteRelationshipOptionalParams,\n DigitalTwinsUpdateRelationshipOptionalParams,\n DigitalTwinsUpdateRelationshipResponse,\n DigitalTwinsSendTelemetryOptionalParams,\n DigitalTwinsSendComponentTelemetryOptionalParams,\n DigitalTwinsGetComponentOptionalParams,\n DigitalTwinsGetComponentResponse,\n DigitalTwinsUpdateComponentOptionalParams,\n DigitalTwinsUpdateComponentResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DigitalTwins. */\nexport interface DigitalTwins {\n /**\n * Retrieves the relationships from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n listRelationships(\n id: string,\n options?: DigitalTwinsListRelationshipsOptionalParams,\n ): PagedAsyncIterableIterator<Record<string, unknown>>;\n /**\n * Retrieves all incoming relationship for a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n listIncomingRelationships(\n id: string,\n options?: DigitalTwinsListIncomingRelationshipsOptionalParams,\n ): PagedAsyncIterableIterator<IncomingRelationship>;\n /**\n * Retrieves a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: DigitalTwinsGetByIdOptionalParams,\n ): Promise<DigitalTwinsGetByIdResponse>;\n /**\n * Adds or replaces a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or payload is invalid.\n * * ModelDecommissioned - The model for the digital twin is decommissioned.\n * * TwinLimitReached - The maximum number of digital twins allowed has been reached.\n * * ValidationFailed - The digital twin payload is not valid.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param twin The digital twin instance being added. If provided, the $dtId property is ignored.\n * @param options The options parameters.\n */\n add(\n id: string,\n twin: Record<string, unknown>,\n options?: DigitalTwinsAddOptionalParams,\n ): Promise<DigitalTwinsAddResponse>;\n /**\n * Deletes a digital twin. All relationships referencing the digital twin must already be deleted.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id is invalid.\n * * RelationshipsNotDeleted - The digital twin contains relationships.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n delete(id: string, options?: DigitalTwinsDeleteOptionalParams): Promise<void>;\n /**\n * Updates a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or payload is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - Applying the patch results in an invalid digital twin.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param patchDocument An update specification described by JSON Patch. Updates to property values and\n * $model elements may happen in the same request. Operations are limited to add, replace and remove.\n * @param options The options parameters.\n */\n update(\n id: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateOptionalParams,\n ): Promise<DigitalTwinsUpdateResponse>;\n /**\n * Retrieves a relationship between two digital twins.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param options The options parameters.\n */\n getRelationshipById(\n id: string,\n relationshipId: string,\n options?: DigitalTwinsGetRelationshipByIdOptionalParams,\n ): Promise<DigitalTwinsGetRelationshipByIdResponse>;\n /**\n * Adds a relationship between two digital twins.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, relationship id, or payload is invalid.\n * * InvalidRelationship - The relationship is invalid.\n * * OperationNotAllowed - The relationship cannot connect to the same digital twin.\n * * ValidationFailed - The relationship content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * TargetTwinNotFound - The digital twin target of the relationship was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param relationship The data for the relationship.\n * @param options The options parameters.\n */\n addRelationship(\n id: string,\n relationshipId: string,\n relationship: Record<string, unknown>,\n options?: DigitalTwinsAddRelationshipOptionalParams,\n ): Promise<DigitalTwinsAddRelationshipResponse>;\n /**\n * Deletes a relationship between two digital twins.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param options The options parameters.\n */\n deleteRelationship(\n id: string,\n relationshipId: string,\n options?: DigitalTwinsDeleteRelationshipOptionalParams,\n ): Promise<void>;\n /**\n * Updates the properties on a relationship between two digital twins.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or relationship id is invalid.\n * * InvalidRelationship - The relationship is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - The relationship content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * RelationshipNotFound - The relationship was not found.\n * * 409 Conflict\n * * RelationshipAlreadyExists - The relationship already exists.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param relationshipId The id of the relationship. The id is unique within the digital twin and case\n * sensitive.\n * @param patchDocument JSON Patch description of the update to the relationship properties.\n * @param options The options parameters.\n */\n updateRelationship(\n id: string,\n relationshipId: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateRelationshipOptionalParams,\n ): Promise<DigitalTwinsUpdateRelationshipResponse>;\n /**\n * Sends telemetry on behalf of a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or message id is invalid.\n * * ValidationFailed - The telemetry content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param messageId A unique message identifier (in the scope of the digital twin id) that is commonly\n * used for de-duplicating messages.\n * @param telemetry The telemetry measurements to send from the digital twin.\n * @param options The options parameters.\n */\n sendTelemetry(\n id: string,\n messageId: string,\n telemetry: Record<string, unknown>,\n options?: DigitalTwinsSendTelemetryOptionalParams,\n ): Promise<void>;\n /**\n * Sends telemetry on behalf of a component in a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, message id, or component path is invalid.\n * * ValidationFailed - The telemetry content is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * ComponentNotFound - The component path was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param messageId A unique message identifier (in the scope of the digital twin id) that is commonly\n * used for de-duplicating messages.\n * @param telemetry The telemetry measurements to send from the digital twin's component.\n * @param options The options parameters.\n */\n sendComponentTelemetry(\n id: string,\n componentPath: string,\n messageId: string,\n telemetry: Record<string, unknown>,\n options?: DigitalTwinsSendComponentTelemetryOptionalParams,\n ): Promise<void>;\n /**\n * Retrieves a component from a digital twin.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id or component path is invalid.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * ComponentNotFound - The component path was not found.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param options The options parameters.\n */\n getComponent(\n id: string,\n componentPath: string,\n options?: DigitalTwinsGetComponentOptionalParams,\n ): Promise<DigitalTwinsGetComponentResponse>;\n /**\n * Updates a component on a digital twin.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * InvalidArgument - The digital twin id, component path, or payload is invalid.\n * * JsonPatchInvalid - The JSON Patch provided is invalid.\n * * ValidationFailed - Applying the patch results in an invalid digital twin.\n * * 404 Not Found\n * * DigitalTwinNotFound - The digital twin was not found.\n * * 412 Precondition Failed\n * * PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.\n * @param id The id of the digital twin. The id is unique within the service and case sensitive.\n * @param componentPath The name of the DTDL component.\n * @param patchDocument An update specification described by JSON Patch. Updates to property values and\n * $model elements may happen in the same request. Operations are limited to add, replace and remove.\n * @param options The options parameters.\n */\n updateComponent(\n id: string,\n componentPath: string,\n patchDocument: Record<string, unknown>[],\n options?: DigitalTwinsUpdateComponentOptionalParams,\n ): Promise<DigitalTwinsUpdateComponentResponse>;\n}\n"]}
@@ -29,9 +29,10 @@ export interface EventRoutes {
29
29
  * * EventRouteIdInvalid - The event route id is invalid.
30
30
  * * LimitExceeded - The maximum number of event routes allowed has been reached.
31
31
  * @param id The id for an event route. The id is unique within event routes and case sensitive.
32
+ * @param eventRoute The event route data
32
33
  * @param options The options parameters.
33
34
  */
34
- add(id: string, options?: EventRoutesAddOptionalParams): Promise<void>;
35
+ add(id: string, eventRoute: EventRoute, options?: EventRoutesAddOptionalParams): Promise<void>;
35
36
  /**
36
37
  * Deletes an event route.
37
38
  * Status codes:
@@ -1 +1 @@
1
- {"version":3,"file":"eventRoutes.d.ts","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/eventRoutes.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,UAAU,EACV,6BAA6B,EAC7B,gCAAgC,EAChC,0BAA0B,EAC1B,4BAA4B,EAC5B,+BAA+B,EAChC,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,MAAM,WAAW,WAAW;IAC1B;;;;;OAKG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,UAAU,CAAC,CAAC;IAC1C;;;;;;;;OAQG;IACH,OAAO,CACL,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;;;;;OAWG;IACH,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvE;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,+BAA+B,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9E"}
1
+ {"version":3,"file":"eventRoutes.d.ts","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/eventRoutes.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,UAAU,EACV,6BAA6B,EAC7B,gCAAgC,EAChC,0BAA0B,EAC1B,4BAA4B,EAC5B,+BAA+B,EAChC,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,MAAM,WAAW,WAAW;IAC1B;;;;;OAKG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,UAAU,CAAC,CAAC;IAC1C;;;;;;;;OAQG;IACH,OAAO,CACL,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;;;;;;OAYG;IACH,GAAG,CACD,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,+BAA+B,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9E"}
@@ -1 +1 @@
1
- {"version":3,"file":"eventRoutes.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/eventRoutes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n EventRoute,\n EventRoutesListOptionalParams,\n EventRoutesGetByIdOptionalParams,\n EventRoutesGetByIdResponse,\n EventRoutesAddOptionalParams,\n EventRoutesDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a EventRoutes. */\nexport interface EventRoutes {\n /**\n * Retrieves all event routes.\n * Status codes:\n * * 200 OK\n * @param options The options parameters.\n */\n list(\n options?: EventRoutesListOptionalParams\n ): PagedAsyncIterableIterator<EventRoute>;\n /**\n * Retrieves an event route.\n * Status codes:\n * * 200 OK\n * * 404 Not Found\n * * EventRouteNotFound - The event route was not found.\n * @param id The id for an event route. The id is unique within event routes and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: EventRoutesGetByIdOptionalParams\n ): Promise<EventRoutesGetByIdResponse>;\n /**\n * Adds or replaces an event route.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * EventRouteEndpointInvalid - The endpoint provided does not exist or is not active.\n * * EventRouteFilterInvalid - The event route filter is invalid.\n * * EventRouteIdInvalid - The event route id is invalid.\n * * LimitExceeded - The maximum number of event routes allowed has been reached.\n * @param id The id for an event route. The id is unique within event routes and case sensitive.\n * @param options The options parameters.\n */\n add(id: string, options?: EventRoutesAddOptionalParams): Promise<void>;\n /**\n * Deletes an event route.\n * Status codes:\n * * 204 No Content\n * * 404 Not Found\n * * EventRouteNotFound - The event route was not found.\n * @param id The id for an event route. The id is unique within event routes and case sensitive.\n * @param options The options parameters.\n */\n delete(id: string, options?: EventRoutesDeleteOptionalParams): Promise<void>;\n}\n"]}
1
+ {"version":3,"file":"eventRoutes.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/eventRoutes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n EventRoute,\n EventRoutesListOptionalParams,\n EventRoutesGetByIdOptionalParams,\n EventRoutesGetByIdResponse,\n EventRoutesAddOptionalParams,\n EventRoutesDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a EventRoutes. */\nexport interface EventRoutes {\n /**\n * Retrieves all event routes.\n * Status codes:\n * * 200 OK\n * @param options The options parameters.\n */\n list(\n options?: EventRoutesListOptionalParams,\n ): PagedAsyncIterableIterator<EventRoute>;\n /**\n * Retrieves an event route.\n * Status codes:\n * * 200 OK\n * * 404 Not Found\n * * EventRouteNotFound - The event route was not found.\n * @param id The id for an event route. The id is unique within event routes and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: EventRoutesGetByIdOptionalParams,\n ): Promise<EventRoutesGetByIdResponse>;\n /**\n * Adds or replaces an event route.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * EventRouteEndpointInvalid - The endpoint provided does not exist or is not active.\n * * EventRouteFilterInvalid - The event route filter is invalid.\n * * EventRouteIdInvalid - The event route id is invalid.\n * * LimitExceeded - The maximum number of event routes allowed has been reached.\n * @param id The id for an event route. The id is unique within event routes and case sensitive.\n * @param eventRoute The event route data\n * @param options The options parameters.\n */\n add(\n id: string,\n eventRoute: EventRoute,\n options?: EventRoutesAddOptionalParams,\n ): Promise<void>;\n /**\n * Deletes an event route.\n * Status codes:\n * * 204 No Content\n * * 404 Not Found\n * * EventRouteNotFound - The event route was not found.\n * @param id The id for an event route. The id is unique within event routes and case sensitive.\n * @param options The options parameters.\n */\n delete(id: string, options?: EventRoutesDeleteOptionalParams): Promise<void>;\n}\n"]}
@@ -0,0 +1,58 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ImportJob, ImportJobsListOptionalParams, ImportJobsAddOptionalParams, ImportJobsAddResponse, ImportJobsGetByIdOptionalParams, ImportJobsGetByIdResponse, ImportJobsDeleteOptionalParams, ImportJobsCancelOptionalParams, ImportJobsCancelResponse } from "../models/index.js";
3
+ /** Interface representing a ImportJobs. */
4
+ export interface ImportJobs {
5
+ /**
6
+ * Retrieves all import jobs.
7
+ * Status codes:
8
+ * * 200 OK
9
+ * @param options The options parameters.
10
+ */
11
+ list(options?: ImportJobsListOptionalParams): PagedAsyncIterableIterator<ImportJob>;
12
+ /**
13
+ * Creates an import job.
14
+ * Status codes:
15
+ * * 201 Created
16
+ * * 400 Bad Request
17
+ * * JobLimitReached - The maximum number of import jobs allowed has been reached.
18
+ * * ValidationFailed - The import job request is not valid.
19
+ * @param id The id for the import job. The id is unique within the service and case sensitive.
20
+ * @param importJob The import job being added.
21
+ * @param options The options parameters.
22
+ */
23
+ add(id: string, importJob: ImportJob, options?: ImportJobsAddOptionalParams): Promise<ImportJobsAddResponse>;
24
+ /**
25
+ * Retrieves an import job.
26
+ * Status codes:
27
+ * * 200 OK
28
+ * * 404 Not Found
29
+ * * ImportJobNotFound - The import job was not found.
30
+ * @param id The id for the import job. The id is unique within the service and case sensitive.
31
+ * @param options The options parameters.
32
+ */
33
+ getById(id: string, options?: ImportJobsGetByIdOptionalParams): Promise<ImportJobsGetByIdResponse>;
34
+ /**
35
+ * Deletes an import job. This is simply used to remove a job id, so it may be reused later. It can not
36
+ * be used to stop entities from being imported.
37
+ * Status codes:
38
+ * * 204 No Content
39
+ * * 400 Bad Request
40
+ * * ValidationFailed - The import job request is not valid.
41
+ * @param id The id for the import job. The id is unique within the service and case sensitive.
42
+ * @param options The options parameters.
43
+ */
44
+ delete(id: string, options?: ImportJobsDeleteOptionalParams): Promise<void>;
45
+ /**
46
+ * Cancels an import job that is currently running. Service will stop any import operations triggered
47
+ * by the current import job that are in progress, and go to a cancelled state. Please note that this
48
+ * will leave your instance in an unknown state as there won't be any rollback operation.
49
+ * Status codes:
50
+ * * 200 Request Accepted
51
+ * * 400 Bad Request
52
+ * * ValidationFailed - The import job request is not valid.
53
+ * @param id The id for the import job. The id is unique within the service and case sensitive.
54
+ * @param options The options parameters.
55
+ */
56
+ cancel(id: string, options?: ImportJobsCancelOptionalParams): Promise<ImportJobsCancelResponse>;
57
+ }
58
+ //# sourceMappingURL=importJobs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"importJobs.d.ts","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/importJobs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,EACT,4BAA4B,EAC5B,2BAA2B,EAC3B,qBAAqB,EACrB,+BAA+B,EAC/B,yBAAyB,EACzB,8BAA8B,EAC9B,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;OAKG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;;;;;;OAUG;IACH,GAAG,CACD,EAAE,EAAE,MAAM,EACV,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAClC;;;;;;;;OAQG;IACH,OAAO,CACL,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,8BAA8B,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5E;;;;;;;;;;OAUG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACtC"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=importJobs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"importJobs.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/importJobs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n ImportJob,\n ImportJobsListOptionalParams,\n ImportJobsAddOptionalParams,\n ImportJobsAddResponse,\n ImportJobsGetByIdOptionalParams,\n ImportJobsGetByIdResponse,\n ImportJobsDeleteOptionalParams,\n ImportJobsCancelOptionalParams,\n ImportJobsCancelResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a ImportJobs. */\nexport interface ImportJobs {\n /**\n * Retrieves all import jobs.\n * Status codes:\n * * 200 OK\n * @param options The options parameters.\n */\n list(\n options?: ImportJobsListOptionalParams,\n ): PagedAsyncIterableIterator<ImportJob>;\n /**\n * Creates an import job.\n * Status codes:\n * * 201 Created\n * * 400 Bad Request\n * * JobLimitReached - The maximum number of import jobs allowed has been reached.\n * * ValidationFailed - The import job request is not valid.\n * @param id The id for the import job. The id is unique within the service and case sensitive.\n * @param importJob The import job being added.\n * @param options The options parameters.\n */\n add(\n id: string,\n importJob: ImportJob,\n options?: ImportJobsAddOptionalParams,\n ): Promise<ImportJobsAddResponse>;\n /**\n * Retrieves an import job.\n * Status codes:\n * * 200 OK\n * * 404 Not Found\n * * ImportJobNotFound - The import job was not found.\n * @param id The id for the import job. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n getById(\n id: string,\n options?: ImportJobsGetByIdOptionalParams,\n ): Promise<ImportJobsGetByIdResponse>;\n /**\n * Deletes an import job. This is simply used to remove a job id, so it may be reused later. It can not\n * be used to stop entities from being imported.\n * Status codes:\n * * 204 No Content\n * * 400 Bad Request\n * * ValidationFailed - The import job request is not valid.\n * @param id The id for the import job. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n delete(id: string, options?: ImportJobsDeleteOptionalParams): Promise<void>;\n /**\n * Cancels an import job that is currently running. Service will stop any import operations triggered\n * by the current import job that are in progress, and go to a cancelled state. Please note that this\n * will leave your instance in an unknown state as there won't be any rollback operation.\n * Status codes:\n * * 200 Request Accepted\n * * 400 Bad Request\n * * ValidationFailed - The import job request is not valid.\n * @param id The id for the import job. The id is unique within the service and case sensitive.\n * @param options The options parameters.\n */\n cancel(\n id: string,\n options?: ImportJobsCancelOptionalParams,\n ): Promise<ImportJobsCancelResponse>;\n}\n"]}
@@ -2,4 +2,6 @@ export * from "./digitalTwinModels.js";
2
2
  export * from "./query.js";
3
3
  export * from "./digitalTwins.js";
4
4
  export * from "./eventRoutes.js";
5
+ export * from "./importJobs.js";
6
+ export * from "./deleteJobs.js";
5
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
@@ -9,4 +9,6 @@ export * from "./digitalTwinModels.js";
9
9
  export * from "./query.js";
10
10
  export * from "./digitalTwins.js";
11
11
  export * from "./eventRoutes.js";
12
+ export * from "./importJobs.js";
13
+ export * from "./deleteJobs.js";
12
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./digitalTwinModels.js\";\nexport * from \"./query.js\";\nexport * from \"./digitalTwins.js\";\nexport * from \"./eventRoutes.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./digitalTwinModels.js\";\nexport * from \"./query.js\";\nexport * from \"./digitalTwins.js\";\nexport * from \"./eventRoutes.js\";\nexport * from \"./importJobs.js\";\nexport * from \"./deleteJobs.js\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/query.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n QuerySpecification,\n QueryQueryTwinsOptionalParams,\n QueryQueryTwinsResponse\n} from \"../models/index.js\";\n\n/** Interface representing a Query. */\nexport interface Query {\n /**\n * Executes a query that allows traversing relationships and filtering by property values.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * BadRequest - The continuation token is invalid.\n * * SqlQueryError - The query contains some errors.\n * * TimeoutError - The query execution timed out after 60 seconds. Try simplifying the query or\n * adding conditions to reduce the result size.\n * * 429 Too Many Requests\n * * QuotaReachedError - The maximum query rate limit has been reached.\n * @param querySpecification The query specification to execute.\n * @param options The options parameters.\n */\n queryTwins(\n querySpecification: QuerySpecification,\n options?: QueryQueryTwinsOptionalParams\n ): Promise<QueryQueryTwinsResponse>;\n}\n"]}
1
+ {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/generated/operationsInterfaces/query.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n QuerySpecification,\n QueryQueryTwinsOptionalParams,\n QueryQueryTwinsResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a Query. */\nexport interface Query {\n /**\n * Executes a query that allows traversing relationships and filtering by property values.\n * Status codes:\n * * 200 OK\n * * 400 Bad Request\n * * BadRequest - The continuation token is invalid.\n * * SqlQueryError - The query contains some errors.\n * * TimeoutError - The query execution timed out after 60 seconds. Try simplifying the query or\n * adding conditions to reduce the result size.\n * * 429 Too Many Requests\n * * QuotaReachedError - The maximum query rate limit has been reached.\n * @param querySpecification The query specification to execute.\n * @param options The options parameters.\n */\n queryTwins(\n querySpecification: QuerySpecification,\n options?: QueryQueryTwinsOptionalParams,\n ): Promise<QueryQueryTwinsResponse>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../../src/generated/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../../src/generated/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/digital-twins-core",
3
- "version": "2.0.0-alpha.20250513.1",
3
+ "version": "2.0.0-alpha.20250514.1",
4
4
  "description": "An isomorphic client library for Azure Digital Twins",
5
5
  "sdk-type": "client",
6
6
  "author": "Microsoft Corporation",
@@ -51,8 +51,10 @@
51
51
  "url": "https://github.com/Azure/azure-sdk-for-js/issues"
52
52
  },
53
53
  "dependencies": {
54
+ "@azure/abort-controller": "^2.1.2",
54
55
  "@azure/core-auth": "^1.9.0",
55
56
  "@azure/core-client": "^1.9.2",
57
+ "@azure/core-lro": "^2.0.0",
56
58
  "@azure/core-paging": "^1.6.2",
57
59
  "@azure/core-rest-pipeline": "^1.18.2",
58
60
  "@azure/core-tracing": "^1.2.0",