@azure/arm-devhub 1.0.0-beta.2 → 1.0.0-beta.4

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 (284) hide show
  1. package/CHANGELOG.md +53 -2
  2. package/LICENSE +4 -4
  3. package/README.md +25 -18
  4. package/{dist-esm/src → dist/browser}/developerHubServiceClient.d.ts +9 -2
  5. package/dist/browser/developerHubServiceClient.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/developerHubServiceClient.js +67 -27
  7. package/dist/browser/developerHubServiceClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/index.js +4 -4
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/index.d.ts +222 -20
  13. package/dist/browser/models/index.d.ts.map +1 -0
  14. package/dist/browser/models/index.js +130 -0
  15. package/dist/browser/models/index.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/models/mappers.d.ts +1 -0
  17. package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +1 -1
  18. package/{dist-esm/src → dist/browser}/models/mappers.js +219 -22
  19. package/dist/browser/models/mappers.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/models/parameters.d.ts +2 -1
  21. package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +1 -1
  22. package/{dist-esm/src → dist/browser}/models/parameters.js +8 -4
  23. package/dist/browser/models/parameters.js.map +1 -0
  24. package/dist/browser/operations/index.d.ts +3 -0
  25. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  26. package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
  27. package/dist/browser/operations/index.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  29. package/dist/browser/operations/operations.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -2
  31. package/dist/browser/operations/operations.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/workflowOperations.d.ts +3 -3
  33. package/dist/browser/operations/workflowOperations.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/workflowOperations.js +50 -80
  35. package/dist/browser/operations/workflowOperations.js.map +1 -0
  36. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  37. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +2 -2
  39. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  41. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operationsInterfaces/workflowOperations.d.ts +1 -1
  44. package/dist/browser/operationsInterfaces/workflowOperations.d.ts.map +1 -0
  45. package/dist/browser/operationsInterfaces/workflowOperations.js.map +1 -0
  46. package/dist/browser/package.json +3 -0
  47. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  48. package/dist/browser/pagingHelper.js.map +1 -0
  49. package/dist/commonjs/developerHubServiceClient.d.ts +48 -0
  50. package/dist/commonjs/developerHubServiceClient.d.ts.map +1 -0
  51. package/dist/commonjs/developerHubServiceClient.js +238 -0
  52. package/dist/commonjs/developerHubServiceClient.js.map +1 -0
  53. package/dist/commonjs/index.d.ts +5 -0
  54. package/dist/commonjs/index.d.ts.map +1 -0
  55. package/dist/commonjs/index.js +19 -0
  56. package/dist/commonjs/index.js.map +1 -0
  57. package/{types/arm-devhub.d.ts → dist/commonjs/models/index.d.ts} +658 -616
  58. package/dist/commonjs/models/index.d.ts.map +1 -0
  59. package/dist/commonjs/models/index.js +133 -0
  60. package/dist/commonjs/models/index.js.map +1 -0
  61. package/dist/commonjs/models/mappers.d.ts +25 -0
  62. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  63. package/dist/commonjs/models/mappers.js +850 -0
  64. package/dist/commonjs/models/mappers.js.map +1 -0
  65. package/dist/commonjs/models/parameters.d.ts +18 -0
  66. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  67. package/dist/commonjs/models/parameters.js +167 -0
  68. package/dist/commonjs/models/parameters.js.map +1 -0
  69. package/dist/commonjs/operations/index.d.ts +3 -0
  70. package/dist/commonjs/operations/index.d.ts.map +1 -0
  71. package/dist/commonjs/operations/index.js +13 -0
  72. package/dist/commonjs/operations/index.js.map +1 -0
  73. package/dist/commonjs/operations/operations.d.ts +18 -0
  74. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  75. package/dist/commonjs/operations/operations.js +52 -0
  76. package/dist/commonjs/operations/operations.js.map +1 -0
  77. package/dist/commonjs/operations/workflowOperations.d.ts +83 -0
  78. package/dist/commonjs/operations/workflowOperations.d.ts.map +1 -0
  79. package/dist/commonjs/operations/workflowOperations.js +357 -0
  80. package/dist/commonjs/operations/workflowOperations.js.map +1 -0
  81. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  82. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  83. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  84. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  85. package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
  86. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  87. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  88. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  89. package/dist/commonjs/operationsInterfaces/workflowOperations.d.ts +47 -0
  90. package/dist/commonjs/operationsInterfaces/workflowOperations.d.ts.map +1 -0
  91. package/dist/commonjs/operationsInterfaces/workflowOperations.js +10 -0
  92. package/dist/commonjs/operationsInterfaces/workflowOperations.js.map +1 -0
  93. package/dist/commonjs/package.json +3 -0
  94. package/dist/commonjs/pagingHelper.d.ts +13 -0
  95. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  96. package/dist/commonjs/pagingHelper.js +34 -0
  97. package/dist/commonjs/pagingHelper.js.map +1 -0
  98. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  99. package/dist/esm/developerHubServiceClient.d.ts +48 -0
  100. package/dist/esm/developerHubServiceClient.d.ts.map +1 -0
  101. package/dist/esm/developerHubServiceClient.js +233 -0
  102. package/dist/esm/developerHubServiceClient.js.map +1 -0
  103. package/dist/esm/index.d.ts +5 -0
  104. package/dist/esm/index.d.ts.map +1 -0
  105. package/{src/index.ts → dist/esm/index.js} +5 -5
  106. package/dist/esm/index.js.map +1 -0
  107. package/dist/esm/models/index.d.ts +658 -0
  108. package/dist/esm/models/index.d.ts.map +1 -0
  109. package/dist/esm/models/index.js +130 -0
  110. package/dist/esm/models/index.js.map +1 -0
  111. package/dist/esm/models/mappers.d.ts +25 -0
  112. package/dist/esm/models/mappers.d.ts.map +1 -0
  113. package/dist/esm/models/mappers.js +847 -0
  114. package/dist/esm/models/mappers.js.map +1 -0
  115. package/dist/esm/models/parameters.d.ts +18 -0
  116. package/dist/esm/models/parameters.d.ts.map +1 -0
  117. package/dist/esm/models/parameters.js +164 -0
  118. package/dist/esm/models/parameters.js.map +1 -0
  119. package/dist/esm/operations/index.d.ts +3 -0
  120. package/dist/esm/operations/index.d.ts.map +1 -0
  121. package/dist/esm/operations/index.js +10 -0
  122. package/dist/esm/operations/index.js.map +1 -0
  123. package/dist/esm/operations/operations.d.ts +18 -0
  124. package/dist/esm/operations/operations.d.ts.map +1 -0
  125. package/dist/esm/operations/operations.js +47 -0
  126. package/dist/esm/operations/operations.js.map +1 -0
  127. package/dist/esm/operations/workflowOperations.d.ts +83 -0
  128. package/dist/esm/operations/workflowOperations.d.ts.map +1 -0
  129. package/dist/esm/operations/workflowOperations.js +352 -0
  130. package/dist/esm/operations/workflowOperations.js.map +1 -0
  131. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  132. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  133. package/dist/esm/operationsInterfaces/index.js +10 -0
  134. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  135. package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
  136. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  137. package/{src/operations/index.ts → dist/esm/operationsInterfaces/operations.js} +2 -3
  138. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  139. package/dist/esm/operationsInterfaces/workflowOperations.d.ts +47 -0
  140. package/dist/esm/operationsInterfaces/workflowOperations.d.ts.map +1 -0
  141. package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/workflowOperations.js} +2 -3
  142. package/dist/esm/operationsInterfaces/workflowOperations.js.map +1 -0
  143. package/dist/esm/package.json +3 -0
  144. package/dist/esm/pagingHelper.d.ts +13 -0
  145. package/dist/esm/pagingHelper.d.ts.map +1 -0
  146. package/dist/esm/pagingHelper.js +30 -0
  147. package/dist/esm/pagingHelper.js.map +1 -0
  148. package/dist/react-native/developerHubServiceClient.d.ts +48 -0
  149. package/dist/react-native/developerHubServiceClient.d.ts.map +1 -0
  150. package/dist/react-native/developerHubServiceClient.js +233 -0
  151. package/dist/react-native/developerHubServiceClient.js.map +1 -0
  152. package/dist/react-native/index.d.ts +5 -0
  153. package/dist/react-native/index.d.ts.map +1 -0
  154. package/dist/react-native/index.js +13 -0
  155. package/dist/react-native/index.js.map +1 -0
  156. package/dist/react-native/models/index.d.ts +658 -0
  157. package/dist/react-native/models/index.d.ts.map +1 -0
  158. package/dist/react-native/models/index.js +130 -0
  159. package/dist/react-native/models/index.js.map +1 -0
  160. package/dist/react-native/models/mappers.d.ts +25 -0
  161. package/dist/react-native/models/mappers.d.ts.map +1 -0
  162. package/dist/react-native/models/mappers.js +847 -0
  163. package/dist/react-native/models/mappers.js.map +1 -0
  164. package/dist/react-native/models/parameters.d.ts +18 -0
  165. package/dist/react-native/models/parameters.d.ts.map +1 -0
  166. package/dist/react-native/models/parameters.js +164 -0
  167. package/dist/react-native/models/parameters.js.map +1 -0
  168. package/dist/react-native/operations/index.d.ts +3 -0
  169. package/dist/react-native/operations/index.d.ts.map +1 -0
  170. package/dist/react-native/operations/index.js +10 -0
  171. package/dist/react-native/operations/index.js.map +1 -0
  172. package/dist/react-native/operations/operations.d.ts +18 -0
  173. package/dist/react-native/operations/operations.d.ts.map +1 -0
  174. package/dist/react-native/operations/operations.js +47 -0
  175. package/dist/react-native/operations/operations.js.map +1 -0
  176. package/dist/react-native/operations/workflowOperations.d.ts +83 -0
  177. package/dist/react-native/operations/workflowOperations.d.ts.map +1 -0
  178. package/dist/react-native/operations/workflowOperations.js +352 -0
  179. package/dist/react-native/operations/workflowOperations.js.map +1 -0
  180. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  181. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  182. package/dist/react-native/operationsInterfaces/index.js +10 -0
  183. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  184. package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
  185. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  186. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  187. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  188. package/dist/react-native/operationsInterfaces/workflowOperations.d.ts +47 -0
  189. package/dist/react-native/operationsInterfaces/workflowOperations.d.ts.map +1 -0
  190. package/dist/react-native/operationsInterfaces/workflowOperations.js +9 -0
  191. package/dist/react-native/operationsInterfaces/workflowOperations.js.map +1 -0
  192. package/dist/react-native/package.json +3 -0
  193. package/dist/react-native/pagingHelper.d.ts +13 -0
  194. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  195. package/dist/react-native/pagingHelper.js +30 -0
  196. package/dist/react-native/pagingHelper.js.map +1 -0
  197. package/package.json +85 -76
  198. package/review/{arm-devhub.api.md → arm-devhub-node.api.md} +110 -2
  199. package/dist/index.js +0 -1562
  200. package/dist/index.js.map +0 -1
  201. package/dist/index.min.js +0 -1
  202. package/dist/index.min.js.map +0 -1
  203. package/dist-esm/samples-dev/gitHubOAuthCallbackSample.d.ts +0 -2
  204. package/dist-esm/samples-dev/gitHubOAuthCallbackSample.d.ts.map +0 -1
  205. package/dist-esm/samples-dev/gitHubOAuthCallbackSample.js +0 -39
  206. package/dist-esm/samples-dev/gitHubOAuthCallbackSample.js.map +0 -1
  207. package/dist-esm/samples-dev/gitHubOAuthSample.d.ts +0 -2
  208. package/dist-esm/samples-dev/gitHubOAuthSample.d.ts.map +0 -1
  209. package/dist-esm/samples-dev/gitHubOAuthSample.js +0 -41
  210. package/dist-esm/samples-dev/gitHubOAuthSample.js.map +0 -1
  211. package/dist-esm/samples-dev/listGitHubOAuthSample.d.ts +0 -2
  212. package/dist-esm/samples-dev/listGitHubOAuthSample.d.ts.map +0 -1
  213. package/dist-esm/samples-dev/listGitHubOAuthSample.js +0 -37
  214. package/dist-esm/samples-dev/listGitHubOAuthSample.js.map +0 -1
  215. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  216. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  217. package/dist-esm/samples-dev/operationsListSample.js +0 -37
  218. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  219. package/dist-esm/samples-dev/workflowCreateOrUpdateSample.d.ts +0 -2
  220. package/dist-esm/samples-dev/workflowCreateOrUpdateSample.d.ts.map +0 -1
  221. package/dist-esm/samples-dev/workflowCreateOrUpdateSample.js +0 -63
  222. package/dist-esm/samples-dev/workflowCreateOrUpdateSample.js.map +0 -1
  223. package/dist-esm/samples-dev/workflowDeleteSample.d.ts +0 -2
  224. package/dist-esm/samples-dev/workflowDeleteSample.d.ts.map +0 -1
  225. package/dist-esm/samples-dev/workflowDeleteSample.js +0 -38
  226. package/dist-esm/samples-dev/workflowDeleteSample.js.map +0 -1
  227. package/dist-esm/samples-dev/workflowGetSample.d.ts +0 -2
  228. package/dist-esm/samples-dev/workflowGetSample.d.ts.map +0 -1
  229. package/dist-esm/samples-dev/workflowGetSample.js +0 -38
  230. package/dist-esm/samples-dev/workflowGetSample.js.map +0 -1
  231. package/dist-esm/samples-dev/workflowListByResourceGroupSample.d.ts +0 -2
  232. package/dist-esm/samples-dev/workflowListByResourceGroupSample.d.ts.map +0 -1
  233. package/dist-esm/samples-dev/workflowListByResourceGroupSample.js +0 -55
  234. package/dist-esm/samples-dev/workflowListByResourceGroupSample.js.map +0 -1
  235. package/dist-esm/samples-dev/workflowListSample.d.ts +0 -2
  236. package/dist-esm/samples-dev/workflowListSample.d.ts.map +0 -1
  237. package/dist-esm/samples-dev/workflowListSample.js +0 -50
  238. package/dist-esm/samples-dev/workflowListSample.js.map +0 -1
  239. package/dist-esm/samples-dev/workflowUpdateTagsSample.d.ts +0 -2
  240. package/dist-esm/samples-dev/workflowUpdateTagsSample.d.ts.map +0 -1
  241. package/dist-esm/samples-dev/workflowUpdateTagsSample.js +0 -41
  242. package/dist-esm/samples-dev/workflowUpdateTagsSample.js.map +0 -1
  243. package/dist-esm/src/developerHubServiceClient.d.ts.map +0 -1
  244. package/dist-esm/src/developerHubServiceClient.js.map +0 -1
  245. package/dist-esm/src/index.d.ts +0 -6
  246. package/dist-esm/src/index.d.ts.map +0 -1
  247. package/dist-esm/src/index.js.map +0 -1
  248. package/dist-esm/src/models/index.d.ts.map +0 -1
  249. package/dist-esm/src/models/index.js +0 -56
  250. package/dist-esm/src/models/index.js.map +0 -1
  251. package/dist-esm/src/models/mappers.js.map +0 -1
  252. package/dist-esm/src/models/parameters.js.map +0 -1
  253. package/dist-esm/src/operations/index.d.ts +0 -3
  254. package/dist-esm/src/operations/index.js.map +0 -1
  255. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  256. package/dist-esm/src/operations/operations.js.map +0 -1
  257. package/dist-esm/src/operations/workflowOperations.d.ts.map +0 -1
  258. package/dist-esm/src/operations/workflowOperations.js.map +0 -1
  259. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  260. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  261. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  262. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  263. package/dist-esm/src/operationsInterfaces/workflowOperations.d.ts.map +0 -1
  264. package/dist-esm/src/operationsInterfaces/workflowOperations.js.map +0 -1
  265. package/dist-esm/src/pagingHelper.js.map +0 -1
  266. package/dist-esm/test/devhub_examples.spec.d.ts +0 -4
  267. package/dist-esm/test/devhub_examples.spec.d.ts.map +0 -1
  268. package/dist-esm/test/devhub_examples.spec.js +0 -67
  269. package/dist-esm/test/devhub_examples.spec.js.map +0 -1
  270. package/rollup.config.js +0 -122
  271. package/src/developerHubServiceClient.ts +0 -269
  272. package/src/models/index.ts +0 -515
  273. package/src/models/mappers.ts +0 -699
  274. package/src/models/parameters.ts +0 -186
  275. package/src/operations/operations.ts +0 -59
  276. package/src/operations/workflowOperations.ts +0 -476
  277. package/src/operationsInterfaces/operations.ts +0 -21
  278. package/src/operationsInterfaces/workflowOperations.ts +0 -92
  279. package/src/pagingHelper.ts +0 -39
  280. package/tsconfig.json +0 -33
  281. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  282. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workflowOperations.js +0 -0
  283. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  284. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
@@ -0,0 +1,130 @@
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
+ /** Known values of {@link Origin} that the service accepts. */
9
+ export var KnownOrigin;
10
+ (function (KnownOrigin) {
11
+ /** User */
12
+ KnownOrigin["User"] = "user";
13
+ /** System */
14
+ KnownOrigin["System"] = "system";
15
+ /** UserSystem */
16
+ KnownOrigin["UserSystem"] = "user,system";
17
+ })(KnownOrigin || (KnownOrigin = {}));
18
+ /** Known values of {@link ActionType} that the service accepts. */
19
+ export var KnownActionType;
20
+ (function (KnownActionType) {
21
+ /** Internal */
22
+ KnownActionType["Internal"] = "Internal";
23
+ })(KnownActionType || (KnownActionType = {}));
24
+ /** Known values of {@link CreatedByType} that the service accepts. */
25
+ export var KnownCreatedByType;
26
+ (function (KnownCreatedByType) {
27
+ /** User */
28
+ KnownCreatedByType["User"] = "User";
29
+ /** Application */
30
+ KnownCreatedByType["Application"] = "Application";
31
+ /** ManagedIdentity */
32
+ KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
33
+ /** Key */
34
+ KnownCreatedByType["Key"] = "Key";
35
+ })(KnownCreatedByType || (KnownCreatedByType = {}));
36
+ /** Known values of {@link ManifestType} that the service accepts. */
37
+ export var KnownManifestType;
38
+ (function (KnownManifestType) {
39
+ /** Repositories using helm */
40
+ KnownManifestType["Helm"] = "helm";
41
+ /** Repositories using kubernetes manifests */
42
+ KnownManifestType["Kube"] = "kube";
43
+ })(KnownManifestType || (KnownManifestType = {}));
44
+ /** Known values of {@link PullRequestStatus} that the service accepts. */
45
+ export var KnownPullRequestStatus;
46
+ (function (KnownPullRequestStatus) {
47
+ /** Pull Request state unknown. */
48
+ KnownPullRequestStatus["Unknown"] = "unknown";
49
+ /** Pull Request submitted to repository. */
50
+ KnownPullRequestStatus["Submitted"] = "submitted";
51
+ /** Pull Request merged into repository. */
52
+ KnownPullRequestStatus["Merged"] = "merged";
53
+ /** Workflow no longer found within repository. */
54
+ KnownPullRequestStatus["Removed"] = "removed";
55
+ })(KnownPullRequestStatus || (KnownPullRequestStatus = {}));
56
+ /** Known values of {@link WorkflowRunStatus} that the service accepts. */
57
+ export var KnownWorkflowRunStatus;
58
+ (function (KnownWorkflowRunStatus) {
59
+ /** Workflow run is queued */
60
+ KnownWorkflowRunStatus["Queued"] = "queued";
61
+ /** Workflow run is inprogress */
62
+ KnownWorkflowRunStatus["Inprogress"] = "inprogress";
63
+ /** Workflow run is completed */
64
+ KnownWorkflowRunStatus["Completed"] = "completed";
65
+ })(KnownWorkflowRunStatus || (KnownWorkflowRunStatus = {}));
66
+ /** Known values of {@link AuthorizationStatus} that the service accepts. */
67
+ export var KnownAuthorizationStatus;
68
+ (function (KnownAuthorizationStatus) {
69
+ /** Requests authorized successfully */
70
+ KnownAuthorizationStatus["Authorized"] = "Authorized";
71
+ /** Requests returned NotFound response */
72
+ KnownAuthorizationStatus["NotFound"] = "NotFound";
73
+ /** Requests returned other error response */
74
+ KnownAuthorizationStatus["Error"] = "Error";
75
+ })(KnownAuthorizationStatus || (KnownAuthorizationStatus = {}));
76
+ /** Known values of {@link GenerationLanguage} that the service accepts. */
77
+ export var KnownGenerationLanguage;
78
+ (function (KnownGenerationLanguage) {
79
+ /** clojure language */
80
+ KnownGenerationLanguage["Clojure"] = "clojure";
81
+ /** csharp language */
82
+ KnownGenerationLanguage["Csharp"] = "csharp";
83
+ /** erlang language */
84
+ KnownGenerationLanguage["Erlang"] = "erlang";
85
+ /** go language */
86
+ KnownGenerationLanguage["Go"] = "go";
87
+ /** gomodule language */
88
+ KnownGenerationLanguage["Gomodule"] = "gomodule";
89
+ /** gradle language */
90
+ KnownGenerationLanguage["Gradle"] = "gradle";
91
+ /** java language */
92
+ KnownGenerationLanguage["Java"] = "java";
93
+ /** javascript language */
94
+ KnownGenerationLanguage["Javascript"] = "javascript";
95
+ /** php language */
96
+ KnownGenerationLanguage["Php"] = "php";
97
+ /** python language */
98
+ KnownGenerationLanguage["Python"] = "python";
99
+ /** ruby language */
100
+ KnownGenerationLanguage["Ruby"] = "ruby";
101
+ /** rust language */
102
+ KnownGenerationLanguage["Rust"] = "rust";
103
+ /** swift language */
104
+ KnownGenerationLanguage["Swift"] = "swift";
105
+ })(KnownGenerationLanguage || (KnownGenerationLanguage = {}));
106
+ /** Known values of {@link DockerfileGenerationMode} that the service accepts. */
107
+ export var KnownDockerfileGenerationMode;
108
+ (function (KnownDockerfileGenerationMode) {
109
+ /** Dockerfiles will be generated */
110
+ KnownDockerfileGenerationMode["Enabled"] = "enabled";
111
+ /** Dockerfiles will not be generated */
112
+ KnownDockerfileGenerationMode["Disabled"] = "disabled";
113
+ })(KnownDockerfileGenerationMode || (KnownDockerfileGenerationMode = {}));
114
+ /** Known values of {@link ManifestGenerationMode} that the service accepts. */
115
+ export var KnownManifestGenerationMode;
116
+ (function (KnownManifestGenerationMode) {
117
+ /** Manifests will be generated */
118
+ KnownManifestGenerationMode["Enabled"] = "enabled";
119
+ /** Manifests will not be generated */
120
+ KnownManifestGenerationMode["Disabled"] = "disabled";
121
+ })(KnownManifestGenerationMode || (KnownManifestGenerationMode = {}));
122
+ /** Known values of {@link GenerationManifestType} that the service accepts. */
123
+ export var KnownGenerationManifestType;
124
+ (function (KnownGenerationManifestType) {
125
+ /** Helm manifests */
126
+ KnownGenerationManifestType["Helm"] = "helm";
127
+ /** Kubernetes manifests */
128
+ KnownGenerationManifestType["Kube"] = "kube";
129
+ })(KnownGenerationManifestType || (KnownGenerationManifestType = {}));
130
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAiXH,+DAA+D;AAC/D,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,WAAW;IACX,4BAAa,CAAA;IACb,aAAa;IACb,gCAAiB,CAAA;IACjB,iBAAiB;IACjB,yCAA0B,CAAA;AAC5B,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAaD,mEAAmE;AACnE,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,eAAe;IACf,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAWD,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B;AAcD,qEAAqE;AACrE,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,8BAA8B;IAC9B,kCAAa,CAAA;IACb,8CAA8C;IAC9C,kCAAa,CAAA;AACf,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B;AAYD,0EAA0E;AAC1E,MAAM,CAAN,IAAY,sBASX;AATD,WAAY,sBAAsB;IAChC,kCAAkC;IAClC,6CAAmB,CAAA;IACnB,4CAA4C;IAC5C,iDAAuB,CAAA;IACvB,2CAA2C;IAC3C,2CAAiB,CAAA;IACjB,kDAAkD;IAClD,6CAAmB,CAAA;AACrB,CAAC,EATW,sBAAsB,KAAtB,sBAAsB,QASjC;AAcD,0EAA0E;AAC1E,MAAM,CAAN,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAChC,6BAA6B;IAC7B,2CAAiB,CAAA;IACjB,iCAAiC;IACjC,mDAAyB,CAAA;IACzB,gCAAgC;IAChC,iDAAuB,CAAA;AACzB,CAAC,EAPW,sBAAsB,KAAtB,sBAAsB,QAOjC;AAaD,4EAA4E;AAC5E,MAAM,CAAN,IAAY,wBAOX;AAPD,WAAY,wBAAwB;IAClC,uCAAuC;IACvC,qDAAyB,CAAA;IACzB,0CAA0C;IAC1C,iDAAqB,CAAA;IACrB,6CAA6C;IAC7C,2CAAe,CAAA;AACjB,CAAC,EAPW,wBAAwB,KAAxB,wBAAwB,QAOnC;AAaD,2EAA2E;AAC3E,MAAM,CAAN,IAAY,uBA2BX;AA3BD,WAAY,uBAAuB;IACjC,uBAAuB;IACvB,8CAAmB,CAAA;IACnB,sBAAsB;IACtB,4CAAiB,CAAA;IACjB,sBAAsB;IACtB,4CAAiB,CAAA;IACjB,kBAAkB;IAClB,oCAAS,CAAA;IACT,wBAAwB;IACxB,gDAAqB,CAAA;IACrB,sBAAsB;IACtB,4CAAiB,CAAA;IACjB,oBAAoB;IACpB,wCAAa,CAAA;IACb,0BAA0B;IAC1B,oDAAyB,CAAA;IACzB,mBAAmB;IACnB,sCAAW,CAAA;IACX,sBAAsB;IACtB,4CAAiB,CAAA;IACjB,oBAAoB;IACpB,wCAAa,CAAA;IACb,oBAAoB;IACpB,wCAAa,CAAA;IACb,qBAAqB;IACrB,0CAAe,CAAA;AACjB,CAAC,EA3BW,uBAAuB,KAAvB,uBAAuB,QA2BlC;AAuBD,iFAAiF;AACjF,MAAM,CAAN,IAAY,6BAKX;AALD,WAAY,6BAA6B;IACvC,oCAAoC;IACpC,oDAAmB,CAAA;IACnB,wCAAwC;IACxC,sDAAqB,CAAA;AACvB,CAAC,EALW,6BAA6B,KAA7B,6BAA6B,QAKxC;AAYD,+EAA+E;AAC/E,MAAM,CAAN,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,kCAAkC;IAClC,kDAAmB,CAAA;IACnB,sCAAsC;IACtC,oDAAqB,CAAA;AACvB,CAAC,EALW,2BAA2B,KAA3B,2BAA2B,QAKtC;AAYD,+EAA+E;AAC/E,MAAM,CAAN,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,qBAAqB;IACrB,4CAAa,CAAA;IACb,2BAA2B;IAC3B,4CAAa,CAAA;AACf,CAAC,EALW,2BAA2B,KAA3B,2BAA2B,QAKtC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface OperationListResult {\n /**\n * List of operations supported by the resource provider\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Operation[];\n /**\n * URL to get the next set of operation list results (if there are any).\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /**\n * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly origin?: Origin;\n /**\n * Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly actionType?: ActionType;\n}\n\n/** Localized display information for this particular operation. */\nexport interface OperationDisplay {\n /**\n * The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provider?: string;\n /**\n * The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resource?: string;\n /**\n * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly operation?: string;\n /**\n * The short, localized friendly description of the operation; suitable for tool tips and detailed views.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** GitHubOAuth request object */\nexport interface GitHubOAuthCallRequest {\n /** The URL the client will redirect to on successful authentication. If empty, no redirect will occur. */\n redirectUrl?: string;\n}\n\n/** URL used to authorize the Developer Hub GitHub App */\nexport interface GitHubOAuthInfoResponse {\n /** URL for authorizing the Developer Hub GitHub App */\n authURL?: string;\n /** OAuth token used to make calls to GitHub */\n token?: string;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure Resource Manager metadata containing createdBy and modifiedBy information.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** The response from List GitHubOAuth operation. */\nexport interface GitHubOAuthListResponse {\n /** Singleton list response containing one GitHubOAuthResponse response */\n value?: GitHubOAuthResponse[];\n}\n\n/** The response from List Workflows operation. */\nexport interface WorkflowListResult {\n /** The list of workflows. */\n value?: Workflow[];\n /**\n * The URL to the next set of workflow results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\nexport interface DeploymentProperties {\n /** Determines the type of manifests within the repository. */\n manifestType?: ManifestType;\n kubeManifestLocations?: string[];\n /** Helm chart directory path in repository. */\n helmChartPath?: string;\n /** Helm Values.yaml file location in repository. */\n helmValues?: string;\n /** Manifest override values. */\n overrides?: { [propertyName: string]: string };\n}\n\n/** Information on the azure container registry */\nexport interface Acr {\n /** ACR subscription id */\n acrSubscriptionId?: string;\n /** ACR resource group */\n acrResourceGroup?: string;\n /** ACR registry */\n acrRegistryName?: string;\n /** ACR repository */\n acrRepositoryName?: string;\n}\n\n/** The fields needed for OIDC with GitHub. */\nexport interface GitHubWorkflowProfileOidcCredentials {\n /** Azure Application Client ID */\n azureClientId?: string;\n /** Azure Directory (tenant) ID */\n azureTenantId?: string;\n}\n\nexport interface WorkflowRun {\n /**\n * Describes if the workflow run succeeded.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly succeeded?: boolean;\n /**\n * URL to the run of the workflow.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly workflowRunURL?: string;\n /**\n * The timestamp of the last workflow run.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly lastRunAt?: Date;\n /** Describes the status of the workflow run */\n workflowRunStatus?: WorkflowRunStatus;\n}\n\n/** Properties used for generating artifacts such as Dockerfiles and manifests. */\nexport interface ArtifactGenerationProperties {\n /** The programming language used. */\n generationLanguage?: GenerationLanguage;\n /** The version of the language image used for execution in the generated dockerfile. */\n languageVersion?: string;\n /** The version of the language image used for building the code in the generated dockerfile. */\n builderVersion?: string;\n /** The port the application is exposed on. */\n port?: string;\n /** The name of the app. */\n appName?: string;\n /** The directory to output the generated Dockerfile to. */\n dockerfileOutputDirectory?: string;\n /** The directory to output the generated manifests to. */\n manifestOutputDirectory?: string;\n /** The mode of generation to be used for generating Dockerfiles. */\n dockerfileGenerationMode?: DockerfileGenerationMode;\n /** The mode of generation to be used for generating Manifest. */\n manifestGenerationMode?: ManifestGenerationMode;\n /** Determines the type of manifests to be generated. */\n manifestType?: GenerationManifestType;\n /** The name of the image to be generated. */\n imageName?: string;\n /** The namespace to deploy the application to. */\n namespace?: string;\n /** The tag to apply to the generated image. */\n imageTag?: string;\n}\n\n/** delete response if content must be provided on delete operation */\nexport interface DeleteWorkflowResponse {\n /** delete status message */\n status?: string;\n}\n\n/** Resource tags. */\nexport interface TagsObject {\n /** Dictionary of <string> */\n tags?: { [propertyName: string]: string };\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** Singleton response of GitHubOAuth containing */\nexport interface GitHubOAuthResponse extends ProxyResource {\n /** user making request */\n username?: string;\n}\n\n/** Resource representation of a workflow */\nexport interface Workflow extends TrackedResource {\n /** The programming language used. */\n generationLanguage?: GenerationLanguage;\n /** The version of the language image used for execution in the generated dockerfile. */\n languageVersion?: string;\n /** The version of the language image used for building the code in the generated dockerfile. */\n builderVersion?: string;\n /** The port the application is exposed on. */\n port?: string;\n /** The name of the app. */\n appName?: string;\n /** The directory to output the generated Dockerfile to. */\n dockerfileOutputDirectory?: string;\n /** The directory to output the generated manifests to. */\n manifestOutputDirectory?: string;\n /** The mode of generation to be used for generating Dockerfiles. */\n dockerfileGenerationMode?: DockerfileGenerationMode;\n /** The mode of generation to be used for generating Manifest. */\n manifestGenerationMode?: ManifestGenerationMode;\n /** Determines the type of manifests to be generated. */\n manifestType?: GenerationManifestType;\n /** The name of the image to be generated. */\n imageName?: string;\n /** The namespace to deploy the application to. */\n namespacePropertiesArtifactGenerationPropertiesNamespace?: string;\n /** The tag to apply to the generated image. */\n imageTag?: string;\n /** Repository Owner */\n repositoryOwner?: string;\n /** Repository Name */\n repositoryName?: string;\n /** Repository Branch Name */\n branchName?: string;\n /** Path to the Dockerfile within the repository. */\n dockerfile?: string;\n /** Path to Dockerfile Build Context within the repository. */\n dockerBuildContext?: string;\n deploymentProperties?: DeploymentProperties;\n /** Kubernetes namespace the application is deployed to. */\n namespacePropertiesGithubWorkflowProfileNamespace?: string;\n /** Information on the azure container registry */\n acr?: Acr;\n /** The fields needed for OIDC with GitHub. */\n oidcCredentials?: GitHubWorkflowProfileOidcCredentials;\n /** The Azure Kubernetes Cluster Resource the application will be deployed to. */\n aksResourceId?: string;\n /**\n * The URL to the Pull Request submitted against the users repository.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly prURL?: string;\n /**\n * The number associated with the submitted pull request.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly pullNumber?: number;\n /**\n * The status of the Pull Request submitted against the users repository.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly prStatus?: PullRequestStatus;\n lastWorkflowRun?: WorkflowRun;\n /**\n * Determines the authorization status of requests.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly authStatus?: AuthorizationStatus;\n}\n\n/** Known values of {@link Origin} that the service accepts. */\nexport enum KnownOrigin {\n /** User */\n User = \"user\",\n /** System */\n System = \"system\",\n /** UserSystem */\n UserSystem = \"user,system\"\n}\n\n/**\n * Defines values for Origin. \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user** \\\n * **system** \\\n * **user,system**\n */\nexport type Origin = string;\n\n/** Known values of {@link ActionType} that the service accepts. */\nexport enum KnownActionType {\n /** Internal */\n Internal = \"Internal\"\n}\n\n/**\n * Defines values for ActionType. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**\n */\nexport type ActionType = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link ManifestType} that the service accepts. */\nexport enum KnownManifestType {\n /** Repositories using helm */\n Helm = \"helm\",\n /** Repositories using kubernetes manifests */\n Kube = \"kube\"\n}\n\n/**\n * Defines values for ManifestType. \\\n * {@link KnownManifestType} can be used interchangeably with ManifestType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **helm**: Repositories using helm \\\n * **kube**: Repositories using kubernetes manifests\n */\nexport type ManifestType = string;\n\n/** Known values of {@link PullRequestStatus} that the service accepts. */\nexport enum KnownPullRequestStatus {\n /** Pull Request state unknown. */\n Unknown = \"unknown\",\n /** Pull Request submitted to repository. */\n Submitted = \"submitted\",\n /** Pull Request merged into repository. */\n Merged = \"merged\",\n /** Workflow no longer found within repository. */\n Removed = \"removed\"\n}\n\n/**\n * Defines values for PullRequestStatus. \\\n * {@link KnownPullRequestStatus} can be used interchangeably with PullRequestStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **unknown**: Pull Request state unknown. \\\n * **submitted**: Pull Request submitted to repository. \\\n * **merged**: Pull Request merged into repository. \\\n * **removed**: Workflow no longer found within repository.\n */\nexport type PullRequestStatus = string;\n\n/** Known values of {@link WorkflowRunStatus} that the service accepts. */\nexport enum KnownWorkflowRunStatus {\n /** Workflow run is queued */\n Queued = \"queued\",\n /** Workflow run is inprogress */\n Inprogress = \"inprogress\",\n /** Workflow run is completed */\n Completed = \"completed\"\n}\n\n/**\n * Defines values for WorkflowRunStatus. \\\n * {@link KnownWorkflowRunStatus} can be used interchangeably with WorkflowRunStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **queued**: Workflow run is queued \\\n * **inprogress**: Workflow run is inprogress \\\n * **completed**: Workflow run is completed\n */\nexport type WorkflowRunStatus = string;\n\n/** Known values of {@link AuthorizationStatus} that the service accepts. */\nexport enum KnownAuthorizationStatus {\n /** Requests authorized successfully */\n Authorized = \"Authorized\",\n /** Requests returned NotFound response */\n NotFound = \"NotFound\",\n /** Requests returned other error response */\n Error = \"Error\"\n}\n\n/**\n * Defines values for AuthorizationStatus. \\\n * {@link KnownAuthorizationStatus} can be used interchangeably with AuthorizationStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Authorized**: Requests authorized successfully \\\n * **NotFound**: Requests returned NotFound response \\\n * **Error**: Requests returned other error response\n */\nexport type AuthorizationStatus = string;\n\n/** Known values of {@link GenerationLanguage} that the service accepts. */\nexport enum KnownGenerationLanguage {\n /** clojure language */\n Clojure = \"clojure\",\n /** csharp language */\n Csharp = \"csharp\",\n /** erlang language */\n Erlang = \"erlang\",\n /** go language */\n Go = \"go\",\n /** gomodule language */\n Gomodule = \"gomodule\",\n /** gradle language */\n Gradle = \"gradle\",\n /** java language */\n Java = \"java\",\n /** javascript language */\n Javascript = \"javascript\",\n /** php language */\n Php = \"php\",\n /** python language */\n Python = \"python\",\n /** ruby language */\n Ruby = \"ruby\",\n /** rust language */\n Rust = \"rust\",\n /** swift language */\n Swift = \"swift\"\n}\n\n/**\n * Defines values for GenerationLanguage. \\\n * {@link KnownGenerationLanguage} can be used interchangeably with GenerationLanguage,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **clojure**: clojure language \\\n * **csharp**: csharp language \\\n * **erlang**: erlang language \\\n * **go**: go language \\\n * **gomodule**: gomodule language \\\n * **gradle**: gradle language \\\n * **java**: java language \\\n * **javascript**: javascript language \\\n * **php**: php language \\\n * **python**: python language \\\n * **ruby**: ruby language \\\n * **rust**: rust language \\\n * **swift**: swift language\n */\nexport type GenerationLanguage = string;\n\n/** Known values of {@link DockerfileGenerationMode} that the service accepts. */\nexport enum KnownDockerfileGenerationMode {\n /** Dockerfiles will be generated */\n Enabled = \"enabled\",\n /** Dockerfiles will not be generated */\n Disabled = \"disabled\"\n}\n\n/**\n * Defines values for DockerfileGenerationMode. \\\n * {@link KnownDockerfileGenerationMode} can be used interchangeably with DockerfileGenerationMode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **enabled**: Dockerfiles will be generated \\\n * **disabled**: Dockerfiles will not be generated\n */\nexport type DockerfileGenerationMode = string;\n\n/** Known values of {@link ManifestGenerationMode} that the service accepts. */\nexport enum KnownManifestGenerationMode {\n /** Manifests will be generated */\n Enabled = \"enabled\",\n /** Manifests will not be generated */\n Disabled = \"disabled\"\n}\n\n/**\n * Defines values for ManifestGenerationMode. \\\n * {@link KnownManifestGenerationMode} can be used interchangeably with ManifestGenerationMode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **enabled**: Manifests will be generated \\\n * **disabled**: Manifests will not be generated\n */\nexport type ManifestGenerationMode = string;\n\n/** Known values of {@link GenerationManifestType} that the service accepts. */\nexport enum KnownGenerationManifestType {\n /** Helm manifests */\n Helm = \"helm\",\n /** Kubernetes manifests */\n Kube = \"kube\"\n}\n\n/**\n * Defines values for GenerationManifestType. \\\n * {@link KnownGenerationManifestType} can be used interchangeably with GenerationManifestType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **helm**: Helm manifests \\\n * **kube**: Kubernetes manifests\n */\nexport type GenerationManifestType = string;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface GitHubOAuthOptionalParams extends coreClient.OperationOptions {\n /** GitHubOAuth request object */\n parameters?: GitHubOAuthCallRequest;\n}\n\n/** Contains response data for the gitHubOAuth operation. */\nexport type GitHubOAuthOperationResponse = GitHubOAuthInfoResponse;\n\n/** Optional parameters. */\nexport interface GitHubOAuthCallbackOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the gitHubOAuthCallback operation. */\nexport type GitHubOAuthCallbackResponse = GitHubOAuthResponse;\n\n/** Optional parameters. */\nexport interface ListGitHubOAuthOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listGitHubOAuth operation. */\nexport type ListGitHubOAuthResponse = GitHubOAuthListResponse;\n\n/** Optional parameters. */\nexport interface GeneratePreviewArtifactsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the generatePreviewArtifacts operation. */\nexport type GeneratePreviewArtifactsResponse = {\n [propertyName: string]: string;\n};\n\n/** Optional parameters. */\nexport interface WorkflowListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type WorkflowListResponse = WorkflowListResult;\n\n/** Optional parameters. */\nexport interface WorkflowListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {\n /** The ManagedCluster resource associated with the workflows. */\n managedClusterResource?: string;\n}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type WorkflowListByResourceGroupResponse = WorkflowListResult;\n\n/** Optional parameters. */\nexport interface WorkflowGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type WorkflowGetResponse = Workflow;\n\n/** Optional parameters. */\nexport interface WorkflowCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type WorkflowCreateOrUpdateResponse = Workflow;\n\n/** Optional parameters. */\nexport interface WorkflowDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the delete operation. */\nexport type WorkflowDeleteResponse = DeleteWorkflowResponse;\n\n/** Optional parameters. */\nexport interface WorkflowUpdateTagsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the updateTags operation. */\nexport type WorkflowUpdateTagsResponse = Workflow;\n\n/** Optional parameters. */\nexport interface WorkflowListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type WorkflowListNextResponse = WorkflowListResult;\n\n/** Optional parameters. */\nexport interface WorkflowListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type WorkflowListByResourceGroupNextResponse = WorkflowListResult;\n\n/** Optional parameters. */\nexport interface DeveloperHubServiceClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1,25 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ export declare const OperationListResult: coreClient.CompositeMapper;
3
+ export declare const Operation: coreClient.CompositeMapper;
4
+ export declare const OperationDisplay: coreClient.CompositeMapper;
5
+ export declare const ErrorResponse: coreClient.CompositeMapper;
6
+ export declare const ErrorDetail: coreClient.CompositeMapper;
7
+ export declare const ErrorAdditionalInfo: coreClient.CompositeMapper;
8
+ export declare const GitHubOAuthCallRequest: coreClient.CompositeMapper;
9
+ export declare const GitHubOAuthInfoResponse: coreClient.CompositeMapper;
10
+ export declare const Resource: coreClient.CompositeMapper;
11
+ export declare const SystemData: coreClient.CompositeMapper;
12
+ export declare const GitHubOAuthListResponse: coreClient.CompositeMapper;
13
+ export declare const WorkflowListResult: coreClient.CompositeMapper;
14
+ export declare const DeploymentProperties: coreClient.CompositeMapper;
15
+ export declare const Acr: coreClient.CompositeMapper;
16
+ export declare const GitHubWorkflowProfileOidcCredentials: coreClient.CompositeMapper;
17
+ export declare const WorkflowRun: coreClient.CompositeMapper;
18
+ export declare const ArtifactGenerationProperties: coreClient.CompositeMapper;
19
+ export declare const DeleteWorkflowResponse: coreClient.CompositeMapper;
20
+ export declare const TagsObject: coreClient.CompositeMapper;
21
+ export declare const ProxyResource: coreClient.CompositeMapper;
22
+ export declare const TrackedResource: coreClient.CompositeMapper;
23
+ export declare const GitHubOAuthResponse: coreClient.CompositeMapper;
24
+ export declare const Workflow: coreClient.CompositeMapper;
25
+ //# sourceMappingURL=mappers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eA2B5C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,eA0ClC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,eAmCzC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,eActC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,eAsDpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAsB5C,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,eAa/C,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,UAAU,CAAC,eAmBhD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,UAAU,CAAC,eAmCjC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,eA2CnC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,UAAU,CAAC,eAmBhD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,eA0B3C,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,UAAU,CAAC,eA2C7C,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,UAAU,CAAC,eA+B5B,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,UAAU,CAAC,eAmB7D,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,eAkCpC,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,UAAU,CAAC,eAqFrD,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,eAa/C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,eAcnC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,eAQtC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC,eAsBxC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAc5C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,UAAU,CAAC,eA+LjC,CAAC"}