@azure/arm-search 1.3.0 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +21 -21
  3. package/README.md +98 -96
  4. package/dist/index.js +2926 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +692 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +21 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +35 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/dist-esm/src/models/mappers.js +1013 -0
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +22 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +182 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/adminKeys.d.ts +33 -0
  29. package/dist-esm/src/operations/adminKeys.d.ts.map +1 -0
  30. package/dist-esm/src/operations/adminKeys.js +90 -0
  31. package/dist-esm/src/operations/adminKeys.js.map +1 -0
  32. package/dist-esm/src/operations/index.d.ts +8 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/dist-esm/src/operations/index.js +15 -0
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/operations.d.ts +26 -0
  37. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/operations.js +90 -0
  39. package/dist-esm/src/operations/operations.js.map +1 -0
  40. package/dist-esm/src/operations/privateEndpointConnections.d.ts +79 -0
  41. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  42. package/dist-esm/src/operations/privateEndpointConnections.js +273 -0
  43. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  44. package/dist-esm/src/operations/privateLinkResources.d.ts +34 -0
  45. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  46. package/dist-esm/src/operations/privateLinkResources.js +103 -0
  47. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  48. package/dist-esm/src/operations/queryKeys.d.ts +66 -0
  49. package/dist-esm/src/operations/queryKeys.d.ts.map +1 -0
  50. package/dist-esm/src/operations/queryKeys.js +213 -0
  51. package/dist-esm/src/operations/queryKeys.js.map +1 -0
  52. package/dist-esm/src/operations/services.d.ts +123 -0
  53. package/dist-esm/src/operations/services.d.ts.map +1 -0
  54. package/dist-esm/src/operations/services.js +475 -0
  55. package/dist-esm/src/operations/services.js.map +1 -0
  56. package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts +107 -0
  57. package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts.map +1 -0
  58. package/dist-esm/src/operations/sharedPrivateLinkResources.js +379 -0
  59. package/dist-esm/src/operations/sharedPrivateLinkResources.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/adminKeys.d.ts +25 -0
  61. package/dist-esm/src/operationsInterfaces/adminKeys.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/adminKeys.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/adminKeys.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
  65. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/index.js +15 -0
  67. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +50 -0
  73. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +15 -0
  77. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/queryKeys.d.ts +37 -0
  81. package/dist-esm/src/operationsInterfaces/queryKeys.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/queryKeys.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/queryKeys.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/services.d.ts +85 -0
  85. package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/services.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
  89. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
  92. package/dist-esm/src/searchManagementClient.d.ts +25 -0
  93. package/dist-esm/src/searchManagementClient.d.ts.map +1 -0
  94. package/dist-esm/src/searchManagementClient.js +58 -0
  95. package/dist-esm/src/searchManagementClient.js.map +1 -0
  96. package/dist-esm/test/search_examples.d.ts +4 -0
  97. package/dist-esm/test/search_examples.d.ts.map +1 -0
  98. package/dist-esm/test/search_examples.js +163 -0
  99. package/dist-esm/test/search_examples.js.map +1 -0
  100. package/package.json +70 -34
  101. package/review/arm-search.api.md +600 -0
  102. package/rollup.config.js +184 -27
  103. package/src/index.ts +12 -0
  104. package/src/lroImpl.ts +34 -0
  105. package/src/models/index.ts +837 -0
  106. package/src/models/mappers.ts +1092 -0
  107. package/src/models/parameters.ts +213 -0
  108. package/src/operations/adminKeys.ts +122 -0
  109. package/{lib → src}/operations/index.ts +6 -5
  110. package/src/operations/operations.ts +98 -0
  111. package/src/operations/privateEndpointConnections.ts +363 -0
  112. package/src/operations/privateLinkResources.ts +139 -0
  113. package/src/operations/queryKeys.ts +288 -0
  114. package/src/operations/services.ts +606 -0
  115. package/src/operations/sharedPrivateLinkResources.ts +525 -0
  116. package/src/operationsInterfaces/adminKeys.ts +48 -0
  117. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +7 -6
  118. package/src/operationsInterfaces/operations.ts +22 -0
  119. package/src/operationsInterfaces/privateEndpointConnections.ts +88 -0
  120. package/src/operationsInterfaces/privateLinkResources.ts +31 -0
  121. package/src/operationsInterfaces/queryKeys.ts +66 -0
  122. package/src/operationsInterfaces/services.ts +144 -0
  123. package/src/operationsInterfaces/sharedPrivateLinkResources.ts +131 -0
  124. package/src/searchManagementClient.ts +104 -0
  125. package/tsconfig.json +4 -4
  126. package/types/arm-search.d.ts +1104 -0
  127. package/types/tsdoc-metadata.json +11 -0
  128. package/dist/arm-search.js +0 -1329
  129. package/dist/arm-search.js.map +0 -1
  130. package/dist/arm-search.min.js +0 -1
  131. package/dist/arm-search.min.js.map +0 -1
  132. package/esm/models/adminKeysMappers.d.ts +0 -2
  133. package/esm/models/adminKeysMappers.d.ts.map +0 -1
  134. package/esm/models/adminKeysMappers.js +0 -11
  135. package/esm/models/adminKeysMappers.js.map +0 -1
  136. package/esm/models/index.d.ts +0 -788
  137. package/esm/models/index.d.ts.map +0 -1
  138. package/esm/models/index.js +0 -10
  139. package/esm/models/index.js.map +0 -1
  140. package/esm/models/mappers.d.ts +0 -18
  141. package/esm/models/mappers.d.ts.map +0 -1
  142. package/esm/models/mappers.js +0 -438
  143. package/esm/models/mappers.js.map +0 -1
  144. package/esm/models/operationsMappers.d.ts +0 -2
  145. package/esm/models/operationsMappers.d.ts.map +0 -1
  146. package/esm/models/operationsMappers.js +0 -11
  147. package/esm/models/operationsMappers.js.map +0 -1
  148. package/esm/models/parameters.d.ts +0 -11
  149. package/esm/models/parameters.d.ts.map +0 -1
  150. package/esm/models/parameters.js +0 -107
  151. package/esm/models/parameters.js.map +0 -1
  152. package/esm/models/queryKeysMappers.d.ts +0 -2
  153. package/esm/models/queryKeysMappers.d.ts.map +0 -1
  154. package/esm/models/queryKeysMappers.js +0 -11
  155. package/esm/models/queryKeysMappers.js.map +0 -1
  156. package/esm/models/servicesMappers.d.ts +0 -2
  157. package/esm/models/servicesMappers.d.ts.map +0 -1
  158. package/esm/models/servicesMappers.js +0 -11
  159. package/esm/models/servicesMappers.js.map +0 -1
  160. package/esm/operations/adminKeys.d.ts +0 -74
  161. package/esm/operations/adminKeys.d.ts.map +0 -1
  162. package/esm/operations/adminKeys.js +0 -93
  163. package/esm/operations/adminKeys.js.map +0 -1
  164. package/esm/operations/index.d.ts +0 -5
  165. package/esm/operations/index.d.ts.map +0 -1
  166. package/esm/operations/index.js.map +0 -1
  167. package/esm/operations/operations.d.ts +0 -28
  168. package/esm/operations/operations.d.ts.map +0 -1
  169. package/esm/operations/operations.js +0 -51
  170. package/esm/operations/operations.js.map +0 -1
  171. package/esm/operations/queryKeys.d.ts +0 -102
  172. package/esm/operations/queryKeys.d.ts.map +0 -1
  173. package/esm/operations/queryKeys.js +0 -127
  174. package/esm/operations/queryKeys.js.map +0 -1
  175. package/esm/operations/services.d.ts +0 -174
  176. package/esm/operations/services.d.ts.map +0 -1
  177. package/esm/operations/services.js +0 -268
  178. package/esm/operations/services.js.map +0 -1
  179. package/esm/searchManagementClient.d.ts +0 -22
  180. package/esm/searchManagementClient.d.ts.map +0 -1
  181. package/esm/searchManagementClient.js +0 -37
  182. package/esm/searchManagementClient.js.map +0 -1
  183. package/esm/searchManagementClientContext.d.ts +0 -17
  184. package/esm/searchManagementClientContext.d.ts.map +0 -1
  185. package/esm/searchManagementClientContext.js +0 -57
  186. package/esm/searchManagementClientContext.js.map +0 -1
  187. package/lib/models/adminKeysMappers.ts +0 -15
  188. package/lib/models/index.ts +0 -842
  189. package/lib/models/mappers.ts +0 -462
  190. package/lib/models/operationsMappers.ts +0 -17
  191. package/lib/models/parameters.ts +0 -109
  192. package/lib/models/queryKeysMappers.ts +0 -16
  193. package/lib/models/servicesMappers.ts +0 -22
  194. package/lib/operations/adminKeys.ts +0 -167
  195. package/lib/operations/operations.ts +0 -74
  196. package/lib/operations/queryKeys.ts +0 -234
  197. package/lib/operations/services.ts +0 -439
  198. package/lib/searchManagementClient.ts +0 -49
  199. package/lib/searchManagementClientContext.ts +0 -63
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryKeysMappers.js","sourceRoot":"","sources":["../../lib/models/queryKeysMappers.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,QAAQ,EACR,UAAU,EACV,mBAAmB,EACpB,MAAM,mBAAmB,CAAC"}
@@ -1,2 +0,0 @@
1
- export { SearchService, Resource, BaseResource, Identity, Sku, CloudError, SearchServiceListResult, CheckNameAvailabilityInput, CheckNameAvailabilityOutput } from "../models/mappers";
2
- //# sourceMappingURL=servicesMappers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"servicesMappers.d.ts","sourceRoot":"","sources":["../../lib/models/servicesMappers.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,GAAG,EACH,UAAU,EACV,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,mBAAmB,CAAC"}
@@ -1,11 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- export { SearchService, Resource, BaseResource, Identity, Sku, CloudError, SearchServiceListResult, CheckNameAvailabilityInput, CheckNameAvailabilityOutput } from "../models/mappers";
11
- //# sourceMappingURL=servicesMappers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"servicesMappers.js","sourceRoot":"","sources":["../../lib/models/servicesMappers.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,GAAG,EACH,UAAU,EACV,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,mBAAmB,CAAC"}
@@ -1,74 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { SearchManagementClientContext } from "../searchManagementClientContext";
4
- /** Class representing a AdminKeys. */
5
- export declare class AdminKeys {
6
- private readonly client;
7
- /**
8
- * Create a AdminKeys.
9
- * @param {SearchManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: SearchManagementClientContext);
12
- /**
13
- * Gets the primary and secondary admin API keys for the specified Azure Search service.
14
- * @param resourceGroupName The name of the resource group within the current subscription. You can
15
- * obtain this value from the Azure Resource Manager API or the portal.
16
- * @param searchServiceName The name of the Azure Search service associated with the specified
17
- * resource group.
18
- * @param [options] The optional parameters
19
- * @returns Promise<Models.AdminKeysGetResponse>
20
- */
21
- get(resourceGroupName: string, searchServiceName: string, options?: Models.AdminKeysGetOptionalParams): Promise<Models.AdminKeysGetResponse>;
22
- /**
23
- * @param resourceGroupName The name of the resource group within the current subscription. You can
24
- * obtain this value from the Azure Resource Manager API or the portal.
25
- * @param searchServiceName The name of the Azure Search service associated with the specified
26
- * resource group.
27
- * @param callback The callback
28
- */
29
- get(resourceGroupName: string, searchServiceName: string, callback: msRest.ServiceCallback<Models.AdminKeyResult>): void;
30
- /**
31
- * @param resourceGroupName The name of the resource group within the current subscription. You can
32
- * obtain this value from the Azure Resource Manager API or the portal.
33
- * @param searchServiceName The name of the Azure Search service associated with the specified
34
- * resource group.
35
- * @param options The optional parameters
36
- * @param callback The callback
37
- */
38
- get(resourceGroupName: string, searchServiceName: string, options: Models.AdminKeysGetOptionalParams, callback: msRest.ServiceCallback<Models.AdminKeyResult>): void;
39
- /**
40
- * Regenerates either the primary or secondary admin API key. You can only regenerate one key at a
41
- * time.
42
- * @param resourceGroupName The name of the resource group within the current subscription. You can
43
- * obtain this value from the Azure Resource Manager API or the portal.
44
- * @param searchServiceName The name of the Azure Search service associated with the specified
45
- * resource group.
46
- * @param keyKind Specifies which key to regenerate. Valid values include 'primary' and
47
- * 'secondary'. Possible values include: 'primary', 'secondary'
48
- * @param [options] The optional parameters
49
- * @returns Promise<Models.AdminKeysRegenerateResponse>
50
- */
51
- regenerate(resourceGroupName: string, searchServiceName: string, keyKind: Models.AdminKeyKind, options?: Models.AdminKeysRegenerateOptionalParams): Promise<Models.AdminKeysRegenerateResponse>;
52
- /**
53
- * @param resourceGroupName The name of the resource group within the current subscription. You can
54
- * obtain this value from the Azure Resource Manager API or the portal.
55
- * @param searchServiceName The name of the Azure Search service associated with the specified
56
- * resource group.
57
- * @param keyKind Specifies which key to regenerate. Valid values include 'primary' and
58
- * 'secondary'. Possible values include: 'primary', 'secondary'
59
- * @param callback The callback
60
- */
61
- regenerate(resourceGroupName: string, searchServiceName: string, keyKind: Models.AdminKeyKind, callback: msRest.ServiceCallback<Models.AdminKeyResult>): void;
62
- /**
63
- * @param resourceGroupName The name of the resource group within the current subscription. You can
64
- * obtain this value from the Azure Resource Manager API or the portal.
65
- * @param searchServiceName The name of the Azure Search service associated with the specified
66
- * resource group.
67
- * @param keyKind Specifies which key to regenerate. Valid values include 'primary' and
68
- * 'secondary'. Possible values include: 'primary', 'secondary'
69
- * @param options The optional parameters
70
- * @param callback The callback
71
- */
72
- regenerate(resourceGroupName: string, searchServiceName: string, keyKind: Models.AdminKeyKind, options: Models.AdminKeysRegenerateOptionalParams, callback: msRest.ServiceCallback<Models.AdminKeyResult>): void;
73
- }
74
- //# sourceMappingURL=adminKeys.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"adminKeys.d.ts","sourceRoot":"","sources":["../../lib/operations/adminKeys.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,sCAAsC;AACtC,qBAAa,SAAS;IACpB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;;;;OAQG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,0BAA0B,GAAG,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC;IAC5I;;;;;;OAMG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI;IACxH;;;;;;;OAOG;IACH,GAAG,CAAC,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,0BAA0B,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI;IAYpK;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,iCAAiC,GAAG,OAAO,CAAC,MAAM,CAAC,2BAA2B,CAAC;IAC/L;;;;;;;;OAQG;IACH,UAAU,CAAC,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,YAAY,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI;IAC7J;;;;;;;;;OASG;IACH,UAAU,CAAC,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,YAAY,EAAE,OAAO,EAAE,MAAM,CAAC,iCAAiC,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI;CAYjN"}
@@ -1,93 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/adminKeysMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a AdminKeys. */
14
- var AdminKeys = /** @class */ (function () {
15
- /**
16
- * Create a AdminKeys.
17
- * @param {SearchManagementClientContext} client Reference to the service client.
18
- */
19
- function AdminKeys(client) {
20
- this.client = client;
21
- }
22
- AdminKeys.prototype.get = function (resourceGroupName, searchServiceName, options, callback) {
23
- return this.client.sendOperationRequest({
24
- resourceGroupName: resourceGroupName,
25
- searchServiceName: searchServiceName,
26
- options: options
27
- }, getOperationSpec, callback);
28
- };
29
- AdminKeys.prototype.regenerate = function (resourceGroupName, searchServiceName, keyKind, options, callback) {
30
- return this.client.sendOperationRequest({
31
- resourceGroupName: resourceGroupName,
32
- searchServiceName: searchServiceName,
33
- keyKind: keyKind,
34
- options: options
35
- }, regenerateOperationSpec, callback);
36
- };
37
- return AdminKeys;
38
- }());
39
- export { AdminKeys };
40
- // Operation Specifications
41
- var serializer = new msRest.Serializer(Mappers);
42
- var getOperationSpec = {
43
- httpMethod: "POST",
44
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listAdminKeys",
45
- urlParameters: [
46
- Parameters.resourceGroupName,
47
- Parameters.searchServiceName,
48
- Parameters.subscriptionId
49
- ],
50
- queryParameters: [
51
- Parameters.apiVersion
52
- ],
53
- headerParameters: [
54
- Parameters.acceptLanguage,
55
- Parameters.clientRequestId
56
- ],
57
- responses: {
58
- 200: {
59
- bodyMapper: Mappers.AdminKeyResult
60
- },
61
- default: {
62
- bodyMapper: Mappers.CloudError
63
- }
64
- },
65
- serializer: serializer
66
- };
67
- var regenerateOperationSpec = {
68
- httpMethod: "POST",
69
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/regenerateAdminKey/{keyKind}",
70
- urlParameters: [
71
- Parameters.resourceGroupName,
72
- Parameters.searchServiceName,
73
- Parameters.keyKind,
74
- Parameters.subscriptionId
75
- ],
76
- queryParameters: [
77
- Parameters.apiVersion
78
- ],
79
- headerParameters: [
80
- Parameters.acceptLanguage,
81
- Parameters.clientRequestId
82
- ],
83
- responses: {
84
- 200: {
85
- bodyMapper: Mappers.AdminKeyResult
86
- },
87
- default: {
88
- bodyMapper: Mappers.CloudError
89
- }
90
- },
91
- serializer: serializer
92
- };
93
- //# sourceMappingURL=adminKeys.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"adminKeys.js","sourceRoot":"","sources":["../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AC,eAAe;KAC3B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,uBAAuB,GAAyB;IACpD,UAAU,EAAE,MAAM;IAClB,IAAI,EAAE,8JAA8J;IACpK,aAAa,EAAE;QACb,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,cAAc;KAC1B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,eAAe;KAC3B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,5 +0,0 @@
1
- export * from "./operations";
2
- export * from "./adminKeys";
3
- export * from "./queryKeys";
4
- export * from "./services";
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/operations/index.ts"],"names":[],"mappings":"AAUA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
@@ -1,28 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { SearchManagementClientContext } from "../searchManagementClientContext";
4
- /** Class representing a Operations. */
5
- export declare class Operations {
6
- private readonly client;
7
- /**
8
- * Create a Operations.
9
- * @param {SearchManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: SearchManagementClientContext);
12
- /**
13
- * Lists all of the available REST API operations of the Microsoft.Search provider.
14
- * @param [options] The optional parameters
15
- * @returns Promise<Models.OperationsListResponse>
16
- */
17
- list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
18
- /**
19
- * @param callback The callback
20
- */
21
- list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
22
- /**
23
- * @param options The optional parameters
24
- * @param callback The callback
25
- */
26
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
27
- }
28
- //# sourceMappingURL=operations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../lib/operations/operations.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAS7G"}
@@ -1,51 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/operationsMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a Operations. */
14
- var Operations = /** @class */ (function () {
15
- /**
16
- * Create a Operations.
17
- * @param {SearchManagementClientContext} client Reference to the service client.
18
- */
19
- function Operations(client) {
20
- this.client = client;
21
- }
22
- Operations.prototype.list = function (options, callback) {
23
- return this.client.sendOperationRequest({
24
- options: options
25
- }, listOperationSpec, callback);
26
- };
27
- return Operations;
28
- }());
29
- export { Operations };
30
- // Operation Specifications
31
- var serializer = new msRest.Serializer(Mappers);
32
- var listOperationSpec = {
33
- httpMethod: "GET",
34
- path: "providers/Microsoft.Search/operations",
35
- queryParameters: [
36
- Parameters.apiVersion
37
- ],
38
- headerParameters: [
39
- Parameters.acceptLanguage
40
- ],
41
- responses: {
42
- 200: {
43
- bodyMapper: Mappers.OperationListResult
44
- },
45
- default: {
46
- bodyMapper: Mappers.CloudError
47
- }
48
- },
49
- serializer: serializer
50
- };
51
- //# sourceMappingURL=operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../lib/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAAwF,EAAE,QAA6D;QAC1J,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IACH,iBAAC;AAAD,CAAC,AAlCD,IAkCC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,uCAAuC;IAC7C,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,102 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { SearchManagementClientContext } from "../searchManagementClientContext";
4
- /** Class representing a QueryKeys. */
5
- export declare class QueryKeys {
6
- private readonly client;
7
- /**
8
- * Create a QueryKeys.
9
- * @param {SearchManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: SearchManagementClientContext);
12
- /**
13
- * Generates a new query key for the specified Search service. You can create up to 50 query keys
14
- * per service.
15
- * @param resourceGroupName The name of the resource group within the current subscription. You can
16
- * obtain this value from the Azure Resource Manager API or the portal.
17
- * @param searchServiceName The name of the Azure Search service associated with the specified
18
- * resource group.
19
- * @param name The name of the new query API key.
20
- * @param [options] The optional parameters
21
- * @returns Promise<Models.QueryKeysCreateResponse>
22
- */
23
- create(resourceGroupName: string, searchServiceName: string, name: string, options?: Models.QueryKeysCreateOptionalParams): Promise<Models.QueryKeysCreateResponse>;
24
- /**
25
- * @param resourceGroupName The name of the resource group within the current subscription. You can
26
- * obtain this value from the Azure Resource Manager API or the portal.
27
- * @param searchServiceName The name of the Azure Search service associated with the specified
28
- * resource group.
29
- * @param name The name of the new query API key.
30
- * @param callback The callback
31
- */
32
- create(resourceGroupName: string, searchServiceName: string, name: string, callback: msRest.ServiceCallback<Models.QueryKey>): void;
33
- /**
34
- * @param resourceGroupName The name of the resource group within the current subscription. You can
35
- * obtain this value from the Azure Resource Manager API or the portal.
36
- * @param searchServiceName The name of the Azure Search service associated with the specified
37
- * resource group.
38
- * @param name The name of the new query API key.
39
- * @param options The optional parameters
40
- * @param callback The callback
41
- */
42
- create(resourceGroupName: string, searchServiceName: string, name: string, options: Models.QueryKeysCreateOptionalParams, callback: msRest.ServiceCallback<Models.QueryKey>): void;
43
- /**
44
- * Returns the list of query API keys for the given Azure Search service.
45
- * @param resourceGroupName The name of the resource group within the current subscription. You can
46
- * obtain this value from the Azure Resource Manager API or the portal.
47
- * @param searchServiceName The name of the Azure Search service associated with the specified
48
- * resource group.
49
- * @param [options] The optional parameters
50
- * @returns Promise<Models.QueryKeysListBySearchServiceResponse>
51
- */
52
- listBySearchService(resourceGroupName: string, searchServiceName: string, options?: Models.QueryKeysListBySearchServiceOptionalParams): Promise<Models.QueryKeysListBySearchServiceResponse>;
53
- /**
54
- * @param resourceGroupName The name of the resource group within the current subscription. You can
55
- * obtain this value from the Azure Resource Manager API or the portal.
56
- * @param searchServiceName The name of the Azure Search service associated with the specified
57
- * resource group.
58
- * @param callback The callback
59
- */
60
- listBySearchService(resourceGroupName: string, searchServiceName: string, callback: msRest.ServiceCallback<Models.ListQueryKeysResult>): void;
61
- /**
62
- * @param resourceGroupName The name of the resource group within the current subscription. You can
63
- * obtain this value from the Azure Resource Manager API or the portal.
64
- * @param searchServiceName The name of the Azure Search service associated with the specified
65
- * resource group.
66
- * @param options The optional parameters
67
- * @param callback The callback
68
- */
69
- listBySearchService(resourceGroupName: string, searchServiceName: string, options: Models.QueryKeysListBySearchServiceOptionalParams, callback: msRest.ServiceCallback<Models.ListQueryKeysResult>): void;
70
- /**
71
- * Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process
72
- * for regenerating a query key is to delete and then recreate it.
73
- * @param resourceGroupName The name of the resource group within the current subscription. You can
74
- * obtain this value from the Azure Resource Manager API or the portal.
75
- * @param searchServiceName The name of the Azure Search service associated with the specified
76
- * resource group.
77
- * @param key The query key to be deleted. Query keys are identified by value, not by name.
78
- * @param [options] The optional parameters
79
- * @returns Promise<msRest.RestResponse>
80
- */
81
- deleteMethod(resourceGroupName: string, searchServiceName: string, key: string, options?: Models.QueryKeysDeleteMethodOptionalParams): Promise<msRest.RestResponse>;
82
- /**
83
- * @param resourceGroupName The name of the resource group within the current subscription. You can
84
- * obtain this value from the Azure Resource Manager API or the portal.
85
- * @param searchServiceName The name of the Azure Search service associated with the specified
86
- * resource group.
87
- * @param key The query key to be deleted. Query keys are identified by value, not by name.
88
- * @param callback The callback
89
- */
90
- deleteMethod(resourceGroupName: string, searchServiceName: string, key: string, callback: msRest.ServiceCallback<void>): void;
91
- /**
92
- * @param resourceGroupName The name of the resource group within the current subscription. You can
93
- * obtain this value from the Azure Resource Manager API or the portal.
94
- * @param searchServiceName The name of the Azure Search service associated with the specified
95
- * resource group.
96
- * @param key The query key to be deleted. Query keys are identified by value, not by name.
97
- * @param options The optional parameters
98
- * @param callback The callback
99
- */
100
- deleteMethod(resourceGroupName: string, searchServiceName: string, key: string, options: Models.QueryKeysDeleteMethodOptionalParams, callback: msRest.ServiceCallback<void>): void;
101
- }
102
- //# sourceMappingURL=queryKeys.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryKeys.d.ts","sourceRoot":"","sources":["../../lib/operations/queryKeys.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,6BAA6B,EAAE,MAAM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,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAYzM;;;;;;;;;;OAUG;IACH,YAAY,CAAC,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,mCAAmC,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;IACnK;;;;;;;OAOG;IACH,YAAY,CAAC,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,GAAG,IAAI;IAC7H;;;;;;;;OAQG;IACH,YAAY,CAAC,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,mCAAmC,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,GAAG,IAAI;CAYnL"}
@@ -1,127 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/queryKeysMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a QueryKeys. */
14
- var QueryKeys = /** @class */ (function () {
15
- /**
16
- * Create a QueryKeys.
17
- * @param {SearchManagementClientContext} client Reference to the service client.
18
- */
19
- function QueryKeys(client) {
20
- this.client = client;
21
- }
22
- QueryKeys.prototype.create = function (resourceGroupName, searchServiceName, name, options, callback) {
23
- return this.client.sendOperationRequest({
24
- resourceGroupName: resourceGroupName,
25
- searchServiceName: searchServiceName,
26
- name: name,
27
- options: options
28
- }, createOperationSpec, callback);
29
- };
30
- QueryKeys.prototype.listBySearchService = function (resourceGroupName, searchServiceName, options, callback) {
31
- return this.client.sendOperationRequest({
32
- resourceGroupName: resourceGroupName,
33
- searchServiceName: searchServiceName,
34
- options: options
35
- }, listBySearchServiceOperationSpec, callback);
36
- };
37
- QueryKeys.prototype.deleteMethod = function (resourceGroupName, searchServiceName, key, options, callback) {
38
- return this.client.sendOperationRequest({
39
- resourceGroupName: resourceGroupName,
40
- searchServiceName: searchServiceName,
41
- key: key,
42
- options: options
43
- }, deleteMethodOperationSpec, callback);
44
- };
45
- return QueryKeys;
46
- }());
47
- export { QueryKeys };
48
- // Operation Specifications
49
- var serializer = new msRest.Serializer(Mappers);
50
- var createOperationSpec = {
51
- httpMethod: "POST",
52
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/createQueryKey/{name}",
53
- urlParameters: [
54
- Parameters.resourceGroupName,
55
- Parameters.searchServiceName,
56
- Parameters.name,
57
- Parameters.subscriptionId
58
- ],
59
- queryParameters: [
60
- Parameters.apiVersion
61
- ],
62
- headerParameters: [
63
- Parameters.acceptLanguage,
64
- Parameters.clientRequestId
65
- ],
66
- responses: {
67
- 200: {
68
- bodyMapper: Mappers.QueryKey
69
- },
70
- default: {
71
- bodyMapper: Mappers.CloudError
72
- }
73
- },
74
- serializer: serializer
75
- };
76
- var listBySearchServiceOperationSpec = {
77
- httpMethod: "GET",
78
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys",
79
- urlParameters: [
80
- Parameters.resourceGroupName,
81
- Parameters.searchServiceName,
82
- Parameters.subscriptionId
83
- ],
84
- queryParameters: [
85
- Parameters.apiVersion
86
- ],
87
- headerParameters: [
88
- Parameters.acceptLanguage,
89
- Parameters.clientRequestId
90
- ],
91
- responses: {
92
- 200: {
93
- bodyMapper: Mappers.ListQueryKeysResult
94
- },
95
- default: {
96
- bodyMapper: Mappers.CloudError
97
- }
98
- },
99
- serializer: serializer
100
- };
101
- var deleteMethodOperationSpec = {
102
- httpMethod: "DELETE",
103
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/deleteQueryKey/{key}",
104
- urlParameters: [
105
- Parameters.resourceGroupName,
106
- Parameters.searchServiceName,
107
- Parameters.key,
108
- Parameters.subscriptionId
109
- ],
110
- queryParameters: [
111
- Parameters.apiVersion
112
- ],
113
- headerParameters: [
114
- Parameters.acceptLanguage,
115
- Parameters.clientRequestId
116
- ],
117
- responses: {
118
- 200: {},
119
- 204: {},
120
- 404: {},
121
- default: {
122
- bodyMapper: Mappers.CloudError
123
- }
124
- },
125
- serializer: serializer
126
- };
127
- //# sourceMappingURL=queryKeys.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryKeys.js","sourceRoot":"","sources":["../../lib/operations/queryKeys.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,sCAAsC;AACtC;IAGE;;;OAGG;IACH,mBAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiCD,0BAAM,GAAN,UAAO,iBAAyB,EAAE,iBAAyB,EAAE,IAAY,EAAE,OAAwF,EAAE,QAAkD;QACrN,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,iBAAiB,mBAAA;YACjB,IAAI,MAAA;YACJ,OAAO,SAAA;SACR,EACD,mBAAmB,EACnB,QAAQ,CAA4C,CAAC;IACzD,CAAC;IA6BD,uCAAmB,GAAnB,UAAoB,iBAAyB,EAAE,iBAAyB,EAAE,OAAgH,EAAE,QAA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