@azure/arm-powerbiembedded 2.0.3-alpha.20250218.1 → 2.0.3-alpha.20250219.2

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 (257) hide show
  1. package/README.md +21 -15
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/lroImpl.js +25 -0
  7. package/dist/browser/lroImpl.js.map +1 -0
  8. package/dist/browser/models/index.js.map +1 -0
  9. package/dist/browser/models/mappers.js.map +1 -0
  10. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  11. package/dist/browser/models/parameters.js.map +1 -0
  12. package/dist/browser/operations/index.d.ts +3 -0
  13. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  14. package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
  15. package/dist/browser/operations/index.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/workspaceCollections.d.ts +3 -3
  17. package/dist/browser/operations/workspaceCollections.d.ts.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/workspaceCollections.js +36 -40
  19. package/dist/browser/operations/workspaceCollections.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/workspaces.d.ts +3 -3
  21. package/dist/browser/operations/workspaces.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/workspaces.js +2 -2
  23. package/dist/browser/operations/workspaces.js.map +1 -0
  24. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  25. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  26. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +2 -2
  27. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaceCollections.d.ts +1 -1
  29. package/dist/browser/operationsInterfaces/workspaceCollections.d.ts.map +1 -0
  30. package/dist/browser/operationsInterfaces/workspaceCollections.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.d.ts +1 -1
  32. package/dist/browser/operationsInterfaces/workspaces.d.ts.map +1 -0
  33. package/dist/browser/operationsInterfaces/workspaces.js.map +1 -0
  34. package/dist/browser/package.json +3 -0
  35. package/dist/browser/pagingHelper.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/powerBIEmbeddedManagementClient.d.ts +2 -2
  37. package/dist/browser/powerBIEmbeddedManagementClient.d.ts.map +1 -0
  38. package/{dist-esm/src → dist/browser}/powerBIEmbeddedManagementClient.js +17 -20
  39. package/dist/browser/powerBIEmbeddedManagementClient.js.map +1 -0
  40. package/dist/commonjs/index.d.ts +5 -0
  41. package/dist/commonjs/index.d.ts.map +1 -0
  42. package/dist/commonjs/index.js +19 -0
  43. package/dist/commonjs/index.js.map +1 -0
  44. package/dist/commonjs/lroImpl.d.ts +16 -0
  45. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  46. package/dist/commonjs/lroImpl.js +29 -0
  47. package/dist/commonjs/lroImpl.js.map +1 -0
  48. package/dist/commonjs/models/index.d.ts +230 -0
  49. package/dist/commonjs/models/index.d.ts.map +1 -0
  50. package/dist/commonjs/models/index.js +31 -0
  51. package/dist/commonjs/models/index.js.map +1 -0
  52. package/dist/commonjs/models/mappers.d.ts +19 -0
  53. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  54. package/dist/commonjs/models/mappers.js +459 -0
  55. package/dist/commonjs/models/mappers.js.map +1 -0
  56. package/dist/commonjs/models/parameters.d.ts +15 -0
  57. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  58. package/dist/commonjs/models/parameters.js +116 -0
  59. package/dist/commonjs/models/parameters.js.map +1 -0
  60. package/dist/commonjs/operations/index.d.ts +3 -0
  61. package/dist/commonjs/operations/index.d.ts.map +1 -0
  62. package/dist/commonjs/operations/index.js +13 -0
  63. package/dist/commonjs/operations/index.js.map +1 -0
  64. package/dist/commonjs/operations/workspaceCollections.d.ts +110 -0
  65. package/dist/commonjs/operations/workspaceCollections.d.ts.map +1 -0
  66. package/dist/commonjs/operations/workspaceCollections.js +470 -0
  67. package/dist/commonjs/operations/workspaceCollections.js.map +1 -0
  68. package/dist/commonjs/operations/workspaces.d.ts +30 -0
  69. package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
  70. package/dist/commonjs/operations/workspaces.js +109 -0
  71. package/dist/commonjs/operations/workspaces.js.map +1 -0
  72. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  73. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  74. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  75. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  76. package/dist/commonjs/operationsInterfaces/workspaceCollections.d.ts +87 -0
  77. package/dist/commonjs/operationsInterfaces/workspaceCollections.d.ts.map +1 -0
  78. package/dist/commonjs/operationsInterfaces/workspaceCollections.js +10 -0
  79. package/dist/commonjs/operationsInterfaces/workspaceCollections.js.map +1 -0
  80. package/dist/commonjs/operationsInterfaces/workspaces.d.ts +13 -0
  81. package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
  82. package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
  83. package/dist/commonjs/operationsInterfaces/workspaces.js.map +1 -0
  84. package/dist/commonjs/package.json +3 -0
  85. package/dist/commonjs/pagingHelper.d.ts +13 -0
  86. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  87. package/dist/commonjs/pagingHelper.js +36 -0
  88. package/dist/commonjs/pagingHelper.js.map +1 -0
  89. package/dist/commonjs/powerBIEmbeddedManagementClient.d.ts +27 -0
  90. package/dist/commonjs/powerBIEmbeddedManagementClient.d.ts.map +1 -0
  91. package/dist/commonjs/powerBIEmbeddedManagementClient.js +131 -0
  92. package/dist/commonjs/powerBIEmbeddedManagementClient.js.map +1 -0
  93. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  94. package/dist/esm/index.d.ts +5 -0
  95. package/dist/esm/index.d.ts.map +1 -0
  96. package/{src/index.ts → dist/esm/index.js} +5 -5
  97. package/dist/esm/index.js.map +1 -0
  98. package/dist/esm/lroImpl.d.ts +16 -0
  99. package/dist/esm/lroImpl.d.ts.map +1 -0
  100. package/dist/esm/lroImpl.js +25 -0
  101. package/dist/esm/lroImpl.js.map +1 -0
  102. package/dist/esm/models/index.d.ts +230 -0
  103. package/dist/esm/models/index.d.ts.map +1 -0
  104. package/dist/esm/models/index.js +28 -0
  105. package/dist/esm/models/index.js.map +1 -0
  106. package/dist/esm/models/mappers.d.ts +19 -0
  107. package/dist/esm/models/mappers.d.ts.map +1 -0
  108. package/dist/esm/models/mappers.js +456 -0
  109. package/dist/esm/models/mappers.js.map +1 -0
  110. package/dist/esm/models/parameters.d.ts +15 -0
  111. package/dist/esm/models/parameters.d.ts.map +1 -0
  112. package/dist/esm/models/parameters.js +113 -0
  113. package/dist/esm/models/parameters.js.map +1 -0
  114. package/dist/esm/operations/index.d.ts +3 -0
  115. package/dist/esm/operations/index.d.ts.map +1 -0
  116. package/dist/esm/operations/index.js +10 -0
  117. package/dist/esm/operations/index.js.map +1 -0
  118. package/dist/esm/operations/workspaceCollections.d.ts +110 -0
  119. package/dist/esm/operations/workspaceCollections.d.ts.map +1 -0
  120. package/dist/esm/operations/workspaceCollections.js +466 -0
  121. package/dist/esm/operations/workspaceCollections.js.map +1 -0
  122. package/dist/esm/operations/workspaces.d.ts +30 -0
  123. package/dist/esm/operations/workspaces.d.ts.map +1 -0
  124. package/dist/esm/operations/workspaces.js +105 -0
  125. package/dist/esm/operations/workspaces.js.map +1 -0
  126. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  127. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  128. package/dist/esm/operationsInterfaces/index.js +10 -0
  129. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  130. package/dist/esm/operationsInterfaces/workspaceCollections.d.ts +87 -0
  131. package/dist/esm/operationsInterfaces/workspaceCollections.d.ts.map +1 -0
  132. package/{src/operations/index.ts → dist/esm/operationsInterfaces/workspaceCollections.js} +2 -3
  133. package/dist/esm/operationsInterfaces/workspaceCollections.js.map +1 -0
  134. package/dist/esm/operationsInterfaces/workspaces.d.ts +13 -0
  135. package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
  136. package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/workspaces.js} +2 -3
  137. package/dist/esm/operationsInterfaces/workspaces.js.map +1 -0
  138. package/dist/esm/package.json +3 -0
  139. package/dist/esm/pagingHelper.d.ts +13 -0
  140. package/dist/esm/pagingHelper.d.ts.map +1 -0
  141. package/dist/esm/pagingHelper.js +32 -0
  142. package/dist/esm/pagingHelper.js.map +1 -0
  143. package/dist/esm/powerBIEmbeddedManagementClient.d.ts +27 -0
  144. package/dist/esm/powerBIEmbeddedManagementClient.d.ts.map +1 -0
  145. package/dist/esm/powerBIEmbeddedManagementClient.js +126 -0
  146. package/dist/esm/powerBIEmbeddedManagementClient.js.map +1 -0
  147. package/dist/react-native/index.d.ts +5 -0
  148. package/dist/react-native/index.d.ts.map +1 -0
  149. package/dist/react-native/index.js +13 -0
  150. package/dist/react-native/index.js.map +1 -0
  151. package/dist/react-native/lroImpl.d.ts +16 -0
  152. package/dist/react-native/lroImpl.d.ts.map +1 -0
  153. package/dist/react-native/lroImpl.js +25 -0
  154. package/dist/react-native/lroImpl.js.map +1 -0
  155. package/dist/react-native/models/index.d.ts +230 -0
  156. package/dist/react-native/models/index.d.ts.map +1 -0
  157. package/dist/react-native/models/index.js +28 -0
  158. package/dist/react-native/models/index.js.map +1 -0
  159. package/dist/react-native/models/mappers.d.ts +19 -0
  160. package/dist/react-native/models/mappers.d.ts.map +1 -0
  161. package/dist/react-native/models/mappers.js +456 -0
  162. package/dist/react-native/models/mappers.js.map +1 -0
  163. package/dist/react-native/models/parameters.d.ts +15 -0
  164. package/dist/react-native/models/parameters.d.ts.map +1 -0
  165. package/dist/react-native/models/parameters.js +113 -0
  166. package/dist/react-native/models/parameters.js.map +1 -0
  167. package/dist/react-native/operations/index.d.ts +3 -0
  168. package/dist/react-native/operations/index.d.ts.map +1 -0
  169. package/dist/react-native/operations/index.js +10 -0
  170. package/dist/react-native/operations/index.js.map +1 -0
  171. package/dist/react-native/operations/workspaceCollections.d.ts +110 -0
  172. package/dist/react-native/operations/workspaceCollections.d.ts.map +1 -0
  173. package/dist/react-native/operations/workspaceCollections.js +466 -0
  174. package/dist/react-native/operations/workspaceCollections.js.map +1 -0
  175. package/dist/react-native/operations/workspaces.d.ts +30 -0
  176. package/dist/react-native/operations/workspaces.d.ts.map +1 -0
  177. package/dist/react-native/operations/workspaces.js +105 -0
  178. package/dist/react-native/operations/workspaces.js.map +1 -0
  179. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  180. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  181. package/dist/react-native/operationsInterfaces/index.js +10 -0
  182. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  183. package/dist/react-native/operationsInterfaces/workspaceCollections.d.ts +87 -0
  184. package/dist/react-native/operationsInterfaces/workspaceCollections.d.ts.map +1 -0
  185. package/dist/react-native/operationsInterfaces/workspaceCollections.js +9 -0
  186. package/dist/react-native/operationsInterfaces/workspaceCollections.js.map +1 -0
  187. package/dist/react-native/operationsInterfaces/workspaces.d.ts +13 -0
  188. package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
  189. package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
  190. package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
  191. package/dist/react-native/package.json +3 -0
  192. package/dist/react-native/pagingHelper.d.ts +13 -0
  193. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  194. package/dist/react-native/pagingHelper.js +32 -0
  195. package/dist/react-native/pagingHelper.js.map +1 -0
  196. package/dist/react-native/powerBIEmbeddedManagementClient.d.ts +27 -0
  197. package/dist/react-native/powerBIEmbeddedManagementClient.d.ts.map +1 -0
  198. package/dist/react-native/powerBIEmbeddedManagementClient.js +126 -0
  199. package/dist/react-native/powerBIEmbeddedManagementClient.js.map +1 -0
  200. package/package.json +68 -37
  201. package/dist/index.js +0 -1388
  202. package/dist/index.js.map +0 -1
  203. package/dist/index.min.js +0 -1
  204. package/dist/index.min.js.map +0 -1
  205. package/dist-esm/src/index.d.ts +0 -5
  206. package/dist-esm/src/index.js.map +0 -1
  207. package/dist-esm/src/lroImpl.js +0 -29
  208. package/dist-esm/src/lroImpl.js.map +0 -1
  209. package/dist-esm/src/models/index.js.map +0 -1
  210. package/dist-esm/src/models/mappers.js.map +0 -1
  211. package/dist-esm/src/models/parameters.js.map +0 -1
  212. package/dist-esm/src/operations/index.d.ts +0 -3
  213. package/dist-esm/src/operations/index.js.map +0 -1
  214. package/dist-esm/src/operations/workspaceCollections.d.ts.map +0 -1
  215. package/dist-esm/src/operations/workspaceCollections.js.map +0 -1
  216. package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
  217. package/dist-esm/src/operations/workspaces.js.map +0 -1
  218. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  219. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  220. package/dist-esm/src/operationsInterfaces/workspaceCollections.d.ts.map +0 -1
  221. package/dist-esm/src/operationsInterfaces/workspaceCollections.js.map +0 -1
  222. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +0 -1
  223. package/dist-esm/src/operationsInterfaces/workspaces.js.map +0 -1
  224. package/dist-esm/src/pagingHelper.js.map +0 -1
  225. package/dist-esm/src/powerBIEmbeddedManagementClient.d.ts.map +0 -1
  226. package/dist-esm/src/powerBIEmbeddedManagementClient.js.map +0 -1
  227. package/dist-esm/test/sampleTest.d.ts +0 -2
  228. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  229. package/dist-esm/test/sampleTest.js +0 -42
  230. package/dist-esm/test/sampleTest.js.map +0 -1
  231. package/src/lroImpl.ts +0 -34
  232. package/src/models/index.ts +0 -279
  233. package/src/models/mappers.ts +0 -474
  234. package/src/models/parameters.ts +0 -137
  235. package/src/operations/workspaceCollections.ts +0 -611
  236. package/src/operations/workspaces.ts +0 -141
  237. package/src/operationsInterfaces/workspaceCollections.ts +0 -163
  238. package/src/operationsInterfaces/workspaces.ts +0 -26
  239. package/src/pagingHelper.ts +0 -39
  240. package/src/powerBIEmbeddedManagementClient.ts +0 -181
  241. package/tsconfig.json +0 -33
  242. package/types/arm-powerbiembedded.d.ts +0 -409
  243. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  244. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  245. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  246. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  247. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  248. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  249. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  250. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  251. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  252. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  253. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaceCollections.js +0 -0
  254. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
  255. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  256. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  257. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
@@ -0,0 +1,456 @@
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 const WorkspaceCollection = {
9
+ type: {
10
+ name: "Composite",
11
+ className: "WorkspaceCollection",
12
+ modelProperties: {
13
+ id: {
14
+ serializedName: "id",
15
+ type: {
16
+ name: "String"
17
+ }
18
+ },
19
+ name: {
20
+ serializedName: "name",
21
+ type: {
22
+ name: "String"
23
+ }
24
+ },
25
+ type: {
26
+ serializedName: "type",
27
+ type: {
28
+ name: "String"
29
+ }
30
+ },
31
+ location: {
32
+ serializedName: "location",
33
+ type: {
34
+ name: "String"
35
+ }
36
+ },
37
+ tags: {
38
+ serializedName: "tags",
39
+ type: {
40
+ name: "Dictionary",
41
+ value: { type: { name: "String" } }
42
+ }
43
+ },
44
+ sku: {
45
+ serializedName: "sku",
46
+ type: {
47
+ name: "Composite",
48
+ className: "AzureSku"
49
+ }
50
+ },
51
+ properties: {
52
+ serializedName: "properties",
53
+ type: {
54
+ name: "Dictionary",
55
+ value: { type: { name: "any" } }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ };
61
+ export const AzureSku = {
62
+ type: {
63
+ name: "Composite",
64
+ className: "AzureSku",
65
+ modelProperties: {
66
+ name: {
67
+ serializedName: "name",
68
+ required: true,
69
+ type: {
70
+ name: "String"
71
+ }
72
+ },
73
+ tier: {
74
+ serializedName: "tier",
75
+ required: true,
76
+ type: {
77
+ name: "String"
78
+ }
79
+ }
80
+ }
81
+ }
82
+ };
83
+ export const ErrorModel = {
84
+ type: {
85
+ name: "Composite",
86
+ className: "ErrorModel",
87
+ modelProperties: {
88
+ code: {
89
+ serializedName: "code",
90
+ type: {
91
+ name: "String"
92
+ }
93
+ },
94
+ message: {
95
+ serializedName: "message",
96
+ type: {
97
+ name: "String"
98
+ }
99
+ },
100
+ target: {
101
+ serializedName: "target",
102
+ type: {
103
+ name: "String"
104
+ }
105
+ },
106
+ details: {
107
+ serializedName: "details",
108
+ type: {
109
+ name: "Sequence",
110
+ element: {
111
+ type: {
112
+ name: "Composite",
113
+ className: "ErrorDetail"
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ };
121
+ export const ErrorDetail = {
122
+ type: {
123
+ name: "Composite",
124
+ className: "ErrorDetail",
125
+ modelProperties: {
126
+ code: {
127
+ serializedName: "code",
128
+ type: {
129
+ name: "String"
130
+ }
131
+ },
132
+ message: {
133
+ serializedName: "message",
134
+ type: {
135
+ name: "String"
136
+ }
137
+ },
138
+ target: {
139
+ serializedName: "target",
140
+ type: {
141
+ name: "String"
142
+ }
143
+ }
144
+ }
145
+ }
146
+ };
147
+ export const CreateWorkspaceCollectionRequest = {
148
+ type: {
149
+ name: "Composite",
150
+ className: "CreateWorkspaceCollectionRequest",
151
+ modelProperties: {
152
+ location: {
153
+ serializedName: "location",
154
+ type: {
155
+ name: "String"
156
+ }
157
+ },
158
+ tags: {
159
+ serializedName: "tags",
160
+ type: {
161
+ name: "Dictionary",
162
+ value: { type: { name: "String" } }
163
+ }
164
+ },
165
+ sku: {
166
+ serializedName: "sku",
167
+ type: {
168
+ name: "Composite",
169
+ className: "AzureSku"
170
+ }
171
+ }
172
+ }
173
+ }
174
+ };
175
+ export const UpdateWorkspaceCollectionRequest = {
176
+ type: {
177
+ name: "Composite",
178
+ className: "UpdateWorkspaceCollectionRequest",
179
+ modelProperties: {
180
+ tags: {
181
+ serializedName: "tags",
182
+ type: {
183
+ name: "Dictionary",
184
+ value: { type: { name: "String" } }
185
+ }
186
+ },
187
+ sku: {
188
+ serializedName: "sku",
189
+ type: {
190
+ name: "Composite",
191
+ className: "AzureSku"
192
+ }
193
+ }
194
+ }
195
+ }
196
+ };
197
+ export const CheckNameRequest = {
198
+ type: {
199
+ name: "Composite",
200
+ className: "CheckNameRequest",
201
+ modelProperties: {
202
+ name: {
203
+ serializedName: "name",
204
+ type: {
205
+ name: "String"
206
+ }
207
+ },
208
+ type: {
209
+ defaultValue: "Microsoft.PowerBI/workspaceCollections",
210
+ serializedName: "type",
211
+ type: {
212
+ name: "String"
213
+ }
214
+ }
215
+ }
216
+ }
217
+ };
218
+ export const CheckNameResponse = {
219
+ type: {
220
+ name: "Composite",
221
+ className: "CheckNameResponse",
222
+ modelProperties: {
223
+ nameAvailable: {
224
+ serializedName: "nameAvailable",
225
+ type: {
226
+ name: "Boolean"
227
+ }
228
+ },
229
+ reason: {
230
+ serializedName: "reason",
231
+ type: {
232
+ name: "String"
233
+ }
234
+ },
235
+ message: {
236
+ serializedName: "message",
237
+ type: {
238
+ name: "String"
239
+ }
240
+ }
241
+ }
242
+ }
243
+ };
244
+ export const WorkspaceCollectionList = {
245
+ type: {
246
+ name: "Composite",
247
+ className: "WorkspaceCollectionList",
248
+ modelProperties: {
249
+ value: {
250
+ serializedName: "value",
251
+ type: {
252
+ name: "Sequence",
253
+ element: {
254
+ type: {
255
+ name: "Composite",
256
+ className: "WorkspaceCollection"
257
+ }
258
+ }
259
+ }
260
+ }
261
+ }
262
+ }
263
+ };
264
+ export const WorkspaceCollectionAccessKeys = {
265
+ type: {
266
+ name: "Composite",
267
+ className: "WorkspaceCollectionAccessKeys",
268
+ modelProperties: {
269
+ key1: {
270
+ serializedName: "key1",
271
+ type: {
272
+ name: "String"
273
+ }
274
+ },
275
+ key2: {
276
+ serializedName: "key2",
277
+ type: {
278
+ name: "String"
279
+ }
280
+ }
281
+ }
282
+ }
283
+ };
284
+ export const WorkspaceCollectionAccessKey = {
285
+ type: {
286
+ name: "Composite",
287
+ className: "WorkspaceCollectionAccessKey",
288
+ modelProperties: {
289
+ keyName: {
290
+ serializedName: "keyName",
291
+ type: {
292
+ name: "Enum",
293
+ allowedValues: ["key1", "key2"]
294
+ }
295
+ }
296
+ }
297
+ }
298
+ };
299
+ export const OperationList = {
300
+ type: {
301
+ name: "Composite",
302
+ className: "OperationList",
303
+ modelProperties: {
304
+ value: {
305
+ serializedName: "value",
306
+ type: {
307
+ name: "Sequence",
308
+ element: {
309
+ type: {
310
+ name: "Composite",
311
+ className: "Operation"
312
+ }
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
318
+ };
319
+ export const Operation = {
320
+ type: {
321
+ name: "Composite",
322
+ className: "Operation",
323
+ modelProperties: {
324
+ name: {
325
+ serializedName: "name",
326
+ type: {
327
+ name: "String"
328
+ }
329
+ },
330
+ display: {
331
+ serializedName: "display",
332
+ type: {
333
+ name: "Composite",
334
+ className: "Display"
335
+ }
336
+ }
337
+ }
338
+ }
339
+ };
340
+ export const Display = {
341
+ type: {
342
+ name: "Composite",
343
+ className: "Display",
344
+ modelProperties: {
345
+ provider: {
346
+ serializedName: "provider",
347
+ type: {
348
+ name: "String"
349
+ }
350
+ },
351
+ resource: {
352
+ serializedName: "resource",
353
+ type: {
354
+ name: "String"
355
+ }
356
+ },
357
+ operation: {
358
+ serializedName: "operation",
359
+ type: {
360
+ name: "String"
361
+ }
362
+ },
363
+ description: {
364
+ serializedName: "description",
365
+ type: {
366
+ name: "String"
367
+ }
368
+ },
369
+ origin: {
370
+ serializedName: "origin",
371
+ type: {
372
+ name: "String"
373
+ }
374
+ }
375
+ }
376
+ }
377
+ };
378
+ export const WorkspaceList = {
379
+ type: {
380
+ name: "Composite",
381
+ className: "WorkspaceList",
382
+ modelProperties: {
383
+ value: {
384
+ serializedName: "value",
385
+ type: {
386
+ name: "Sequence",
387
+ element: {
388
+ type: {
389
+ name: "Composite",
390
+ className: "Workspace"
391
+ }
392
+ }
393
+ }
394
+ }
395
+ }
396
+ }
397
+ };
398
+ export const Workspace = {
399
+ type: {
400
+ name: "Composite",
401
+ className: "Workspace",
402
+ modelProperties: {
403
+ id: {
404
+ serializedName: "id",
405
+ type: {
406
+ name: "String"
407
+ }
408
+ },
409
+ name: {
410
+ serializedName: "name",
411
+ type: {
412
+ name: "String"
413
+ }
414
+ },
415
+ type: {
416
+ serializedName: "type",
417
+ type: {
418
+ name: "String"
419
+ }
420
+ },
421
+ properties: {
422
+ serializedName: "properties",
423
+ type: {
424
+ name: "Dictionary",
425
+ value: { type: { name: "any" } }
426
+ }
427
+ }
428
+ }
429
+ }
430
+ };
431
+ export const MigrateWorkspaceCollectionRequest = {
432
+ type: {
433
+ name: "Composite",
434
+ className: "MigrateWorkspaceCollectionRequest",
435
+ modelProperties: {
436
+ targetResourceGroup: {
437
+ serializedName: "targetResourceGroup",
438
+ type: {
439
+ name: "String"
440
+ }
441
+ },
442
+ resources: {
443
+ serializedName: "resources",
444
+ type: {
445
+ name: "Sequence",
446
+ element: {
447
+ type: {
448
+ name: "String"
449
+ }
450
+ }
451
+ }
452
+ }
453
+ }
454
+ }
455
+ };
456
+ //# sourceMappingURL=mappers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;iBACpC;aACF;YACD,GAAG,EAAE;gBACH,cAAc,EAAE,KAAK;gBACrB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,UAAU;iBACtB;aACF;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GAA+B;IACnD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,WAAW;QACtB,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE;iBACjC;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAA+B;IAC3E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,mCAAmC;QAC9C,eAAe,EAAE;YACf,mBAAmB,EAAE;gBACnB,cAAc,EAAE,qBAAqB;gBACrC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const WorkspaceCollection: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceCollection\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"AzureSku\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const AzureSku: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureSku\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tier: {\n serializedName: \"tier\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CreateWorkspaceCollectionRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CreateWorkspaceCollectionRequest\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"AzureSku\"\n }\n }\n }\n }\n};\n\nexport const UpdateWorkspaceCollectionRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UpdateWorkspaceCollectionRequest\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"AzureSku\"\n }\n }\n }\n }\n};\n\nexport const CheckNameRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameRequest\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n defaultValue: \"Microsoft.PowerBI/workspaceCollections\",\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CheckNameResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameResponse\",\n modelProperties: {\n nameAvailable: {\n serializedName: \"nameAvailable\",\n type: {\n name: \"Boolean\"\n }\n },\n reason: {\n serializedName: \"reason\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WorkspaceCollectionList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceCollectionList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"WorkspaceCollection\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const WorkspaceCollectionAccessKeys: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceCollectionAccessKeys\",\n modelProperties: {\n key1: {\n serializedName: \"key1\",\n type: {\n name: \"String\"\n }\n },\n key2: {\n serializedName: \"key2\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WorkspaceCollectionAccessKey: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceCollectionAccessKey\",\n modelProperties: {\n keyName: {\n serializedName: \"keyName\",\n type: {\n name: \"Enum\",\n allowedValues: [\"key1\", \"key2\"]\n }\n }\n }\n }\n};\n\nexport const OperationList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"Display\"\n }\n }\n }\n }\n};\n\nexport const Display: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Display\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n },\n origin: {\n serializedName: \"origin\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WorkspaceList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Workspace\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Workspace: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Workspace\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const MigrateWorkspaceCollectionRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MigrateWorkspaceCollectionRequest\",\n modelProperties: {\n targetResourceGroup: {\n serializedName: \"targetResourceGroup\",\n type: {\n name: \"String\"\n }\n },\n resources: {\n serializedName: \"resources\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n"]}
@@ -0,0 +1,15 @@
1
+ import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
2
+ export declare const accept: OperationParameter;
3
+ export declare const $host: OperationURLParameter;
4
+ export declare const subscriptionId: OperationURLParameter;
5
+ export declare const resourceGroupName: OperationURLParameter;
6
+ export declare const workspaceCollectionName: OperationURLParameter;
7
+ export declare const apiVersion: OperationQueryParameter;
8
+ export declare const contentType: OperationParameter;
9
+ export declare const body: OperationParameter;
10
+ export declare const body1: OperationParameter;
11
+ export declare const body2: OperationParameter;
12
+ export declare const location: OperationURLParameter;
13
+ export declare const body3: OperationParameter;
14
+ export declare const body4: OperationParameter;
15
+ //# sourceMappingURL=parameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAS5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAS/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,qBASrC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,kBAGlB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAStB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,kBAGnB,CAAC"}
@@ -0,0 +1,113 @@
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
+ import { CreateWorkspaceCollectionRequest as CreateWorkspaceCollectionRequestMapper, UpdateWorkspaceCollectionRequest as UpdateWorkspaceCollectionRequestMapper, CheckNameRequest as CheckNameRequestMapper, WorkspaceCollectionAccessKey as WorkspaceCollectionAccessKeyMapper, MigrateWorkspaceCollectionRequest as MigrateWorkspaceCollectionRequestMapper } from "../models/mappers.js";
9
+ export const accept = {
10
+ parameterPath: "accept",
11
+ mapper: {
12
+ defaultValue: "application/json",
13
+ isConstant: true,
14
+ serializedName: "Accept",
15
+ type: {
16
+ name: "String"
17
+ }
18
+ }
19
+ };
20
+ export const $host = {
21
+ parameterPath: "$host",
22
+ mapper: {
23
+ serializedName: "$host",
24
+ required: true,
25
+ type: {
26
+ name: "String"
27
+ }
28
+ },
29
+ skipEncoding: true
30
+ };
31
+ export const subscriptionId = {
32
+ parameterPath: "subscriptionId",
33
+ mapper: {
34
+ serializedName: "subscriptionId",
35
+ required: true,
36
+ type: {
37
+ name: "String"
38
+ }
39
+ }
40
+ };
41
+ export const resourceGroupName = {
42
+ parameterPath: "resourceGroupName",
43
+ mapper: {
44
+ serializedName: "resourceGroupName",
45
+ required: true,
46
+ type: {
47
+ name: "String"
48
+ }
49
+ }
50
+ };
51
+ export const workspaceCollectionName = {
52
+ parameterPath: "workspaceCollectionName",
53
+ mapper: {
54
+ serializedName: "workspaceCollectionName",
55
+ required: true,
56
+ type: {
57
+ name: "String"
58
+ }
59
+ }
60
+ };
61
+ export const apiVersion = {
62
+ parameterPath: "apiVersion",
63
+ mapper: {
64
+ defaultValue: "2016-01-29",
65
+ isConstant: true,
66
+ serializedName: "api-version",
67
+ type: {
68
+ name: "String"
69
+ }
70
+ }
71
+ };
72
+ export const contentType = {
73
+ parameterPath: ["options", "contentType"],
74
+ mapper: {
75
+ defaultValue: "application/json",
76
+ isConstant: true,
77
+ serializedName: "Content-Type",
78
+ type: {
79
+ name: "String"
80
+ }
81
+ }
82
+ };
83
+ export const body = {
84
+ parameterPath: "body",
85
+ mapper: CreateWorkspaceCollectionRequestMapper
86
+ };
87
+ export const body1 = {
88
+ parameterPath: "body",
89
+ mapper: UpdateWorkspaceCollectionRequestMapper
90
+ };
91
+ export const body2 = {
92
+ parameterPath: "body",
93
+ mapper: CheckNameRequestMapper
94
+ };
95
+ export const location = {
96
+ parameterPath: "location",
97
+ mapper: {
98
+ serializedName: "location",
99
+ required: true,
100
+ type: {
101
+ name: "String"
102
+ }
103
+ }
104
+ };
105
+ export const body3 = {
106
+ parameterPath: "body",
107
+ mapper: WorkspaceCollectionAccessKeyMapper
108
+ };
109
+ export const body4 = {
110
+ parameterPath: "body",
111
+ mapper: MigrateWorkspaceCollectionRequestMapper
112
+ };
113
+ //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,gC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IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAuB;IACtC,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE,sCAAsC;CAC/C,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAuB;IACvC,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE,sCAAsC;CAC/C,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAuB;IACvC,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE,sBAAsB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAuB;IACvC,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE,kCAAkC;CAC3C,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAuB;IACvC,aAAa,EAAE,MAAM;IACrB,MAAM,EAAE,uCAAuC;CAChD,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n CreateWorkspaceCollectionRequest as CreateWorkspaceCollectionRequestMapper,\n UpdateWorkspaceCollectionRequest as UpdateWorkspaceCollectionRequestMapper,\n CheckNameRequest as CheckNameRequestMapper,\n WorkspaceCollectionAccessKey as WorkspaceCollectionAccessKeyMapper,\n MigrateWorkspaceCollectionRequest as MigrateWorkspaceCollectionRequestMapper\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const workspaceCollectionName: OperationURLParameter = {\n parameterPath: \"workspaceCollectionName\",\n mapper: {\n serializedName: \"workspaceCollectionName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2016-01-29\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body: OperationParameter = {\n parameterPath: \"body\",\n mapper: CreateWorkspaceCollectionRequestMapper\n};\n\nexport const body1: OperationParameter = {\n parameterPath: \"body\",\n mapper: UpdateWorkspaceCollectionRequestMapper\n};\n\nexport const body2: OperationParameter = {\n parameterPath: \"body\",\n mapper: CheckNameRequestMapper\n};\n\nexport const location: OperationURLParameter = {\n parameterPath: \"location\",\n mapper: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const body3: OperationParameter = {\n parameterPath: \"body\",\n mapper: WorkspaceCollectionAccessKeyMapper\n};\n\nexport const body4: OperationParameter = {\n parameterPath: \"body\",\n mapper: MigrateWorkspaceCollectionRequestMapper\n};\n"]}
@@ -0,0 +1,3 @@
1
+ export * from "./workspaceCollections.js";
2
+ export * from "./workspaces.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,10 @@
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 * from "./workspaceCollections.js";
9
+ export * from "./workspaces.js";
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,2BAA2B,CAAC;AAC1C,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 \"./workspaceCollections.js\";\nexport * from \"./workspaces.js\";\n"]}