@azure/arm-batch 6.0.0 → 7.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 (254) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -82
  4. package/dist/index.js +6873 -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/batchManagementClient.d.ts +24 -0
  9. package/dist-esm/src/batchManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/batchManagementClient.js +31 -0
  11. package/dist-esm/src/batchManagementClient.js.map +1 -0
  12. package/dist-esm/src/batchManagementClientContext.d.ts +17 -0
  13. package/dist-esm/src/batchManagementClientContext.d.ts.map +1 -0
  14. package/dist-esm/src/batchManagementClientContext.js +50 -0
  15. package/dist-esm/src/batchManagementClientContext.js.map +1 -0
  16. package/dist-esm/src/index.d.ts +6 -0
  17. package/dist-esm/src/index.d.ts.map +1 -0
  18. package/dist-esm/src/index.js +13 -0
  19. package/dist-esm/src/index.js.map +1 -0
  20. package/dist-esm/src/lroImpl.d.ts +16 -0
  21. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  22. package/dist-esm/src/lroImpl.js +29 -0
  23. package/dist-esm/src/lroImpl.js.map +1 -0
  24. package/dist-esm/src/models/index.d.ts +1780 -0
  25. package/dist-esm/src/models/index.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/index.js +1 -0
  27. package/dist-esm/src/models/index.js.map +1 -0
  28. package/dist-esm/src/models/mappers.d.ts +112 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/mappers.js +1723 -1885
  31. package/dist-esm/src/models/mappers.js.map +1 -0
  32. package/dist-esm/src/models/parameters.d.ts +34 -0
  33. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  34. package/dist-esm/src/models/parameters.js +303 -0
  35. package/dist-esm/src/models/parameters.js.map +1 -0
  36. package/dist-esm/src/operations/applicationOperations.d.ts +71 -0
  37. package/dist-esm/src/operations/applicationOperations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/applicationOperations.js +269 -0
  39. package/dist-esm/src/operations/applicationOperations.js.map +1 -0
  40. package/dist-esm/src/operations/applicationPackageOperations.d.ts +83 -0
  41. package/dist-esm/src/operations/applicationPackageOperations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/applicationPackageOperations.js +294 -0
  43. package/dist-esm/src/operations/applicationPackageOperations.js.map +1 -0
  44. package/dist-esm/src/operations/batchAccountOperations.d.ts +171 -0
  45. package/dist-esm/src/operations/batchAccountOperations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/batchAccountOperations.js +681 -0
  47. package/dist-esm/src/operations/batchAccountOperations.js.map +1 -0
  48. package/dist-esm/src/operations/certificateOperations.d.ts +106 -0
  49. package/dist-esm/src/operations/certificateOperations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/certificateOperations.js +388 -0
  51. package/dist-esm/src/operations/certificateOperations.js.map +1 -0
  52. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/{esm → dist-esm/src}/operations/index.js +1 -2
  55. package/dist-esm/src/operations/index.js.map +1 -0
  56. package/dist-esm/src/operations/location.d.ts +71 -0
  57. package/dist-esm/src/operations/location.d.ts.map +1 -0
  58. package/dist-esm/src/operations/location.js +316 -0
  59. package/dist-esm/src/operations/location.js.map +1 -0
  60. package/dist-esm/src/operations/operations.d.ts +32 -0
  61. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  62. package/dist-esm/src/operations/operations.js +120 -0
  63. package/dist-esm/src/operations/operations.js.map +1 -0
  64. package/dist-esm/src/operations/poolOperations.d.ts +103 -0
  65. package/dist-esm/src/operations/poolOperations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/poolOperations.js +410 -0
  67. package/dist-esm/src/operations/poolOperations.js.map +1 -0
  68. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +70 -0
  69. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
  70. package/dist-esm/src/operations/privateEndpointConnectionOperations.js +278 -0
  71. package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -0
  72. package/dist-esm/src/operations/privateLinkResourceOperations.d.ts +47 -0
  73. package/dist-esm/src/operations/privateLinkResourceOperations.d.ts.map +1 -0
  74. package/dist-esm/src/operations/privateLinkResourceOperations.js +170 -0
  75. package/dist-esm/src/operations/privateLinkResourceOperations.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/applicationOperations.d.ts +46 -0
  77. package/dist-esm/src/operationsInterfaces/applicationOperations.d.ts.map +1 -0
  78. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/applicationOperations.js} +2 -7
  79. package/dist-esm/src/operationsInterfaces/applicationOperations.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.d.ts +56 -0
  81. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.d.ts.map +1 -0
  82. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/applicationPackageOperations.js} +2 -2
  83. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +112 -0
  85. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts.map +1 -0
  86. package/{src/models/locationMappers.ts → dist-esm/src/operationsInterfaces/batchAccountOperations.js} +2 -10
  87. package/dist-esm/src/operationsInterfaces/batchAccountOperations.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts +81 -0
  89. package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/certificateOperations.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/certificateOperations.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
  93. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/index.js +17 -0
  95. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/location.d.ts +31 -0
  97. package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/location.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/location.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  101. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/poolOperations.d.ts +78 -0
  105. package/dist-esm/src/operationsInterfaces/poolOperations.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/poolOperations.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/poolOperations.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +45 -0
  109. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts +22 -0
  113. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
  116. package/dist-esm/test/sampleTest.d.ts +4 -0
  117. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  118. package/dist-esm/test/sampleTest.js +479 -0
  119. package/dist-esm/test/sampleTest.js.map +1 -0
  120. package/package.json +66 -32
  121. package/review/arm-batch.api.md +1459 -0
  122. package/rollup.config.js +181 -30
  123. package/src/batchManagementClient.ts +59 -48
  124. package/src/batchManagementClientContext.ts +46 -43
  125. package/src/index.ts +13 -0
  126. package/src/lroImpl.ts +34 -0
  127. package/src/models/index.ts +1460 -3635
  128. package/src/models/mappers.ts +1705 -1851
  129. package/src/models/parameters.ts +216 -117
  130. package/src/operations/applicationOperations.ts +215 -263
  131. package/src/operations/applicationPackageOperations.ts +252 -279
  132. package/src/operations/batchAccountOperations.ts +660 -572
  133. package/src/operations/certificateOperations.ts +360 -359
  134. package/src/operations/index.ts +1 -2
  135. package/src/operations/location.ts +285 -234
  136. package/src/operations/operations.ts +82 -70
  137. package/src/operations/poolOperations.ts +373 -378
  138. package/src/operations/privateEndpointConnectionOperations.ts +269 -169
  139. package/src/operations/privateLinkResourceOperations.ts +156 -126
  140. package/src/operationsInterfaces/applicationOperations.ts +90 -0
  141. package/src/operationsInterfaces/applicationPackageOperations.ts +106 -0
  142. package/src/operationsInterfaces/batchAccountOperations.ts +196 -0
  143. package/src/operationsInterfaces/certificateOperations.ts +139 -0
  144. package/src/operationsInterfaces/index.ts +17 -0
  145. package/src/operationsInterfaces/location.ts +62 -0
  146. package/src/operationsInterfaces/operations.ts +22 -0
  147. package/src/operationsInterfaces/poolOperations.ts +142 -0
  148. package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +87 -0
  149. package/src/operationsInterfaces/privateLinkResourceOperations.ts +45 -0
  150. package/tsconfig.json +3 -3
  151. package/types/arm-batch.d.ts +2528 -0
  152. package/types/tsdoc-metadata.json +11 -0
  153. package/dist/arm-batch.js +0 -6972
  154. package/dist/arm-batch.js.map +0 -1
  155. package/dist/arm-batch.min.js +0 -1
  156. package/dist/arm-batch.min.js.map +0 -1
  157. package/esm/batchManagementClient.d.ts +0 -33
  158. package/esm/batchManagementClient.d.ts.map +0 -1
  159. package/esm/batchManagementClient.js +0 -46
  160. package/esm/batchManagementClient.js.map +0 -1
  161. package/esm/batchManagementClientContext.d.ts +0 -23
  162. package/esm/batchManagementClientContext.d.ts.map +0 -1
  163. package/esm/batchManagementClientContext.js +0 -61
  164. package/esm/batchManagementClientContext.js.map +0 -1
  165. package/esm/models/applicationOperationsMappers.d.ts +0 -2
  166. package/esm/models/applicationOperationsMappers.d.ts.map +0 -1
  167. package/esm/models/applicationOperationsMappers.js +0 -9
  168. package/esm/models/applicationOperationsMappers.js.map +0 -1
  169. package/esm/models/applicationPackageOperationsMappers.d.ts +0 -2
  170. package/esm/models/applicationPackageOperationsMappers.d.ts.map +0 -1
  171. package/esm/models/applicationPackageOperationsMappers.js +0 -9
  172. package/esm/models/applicationPackageOperationsMappers.js.map +0 -1
  173. package/esm/models/batchAccountOperationsMappers.d.ts +0 -2
  174. package/esm/models/batchAccountOperationsMappers.d.ts.map +0 -1
  175. package/esm/models/batchAccountOperationsMappers.js +0 -9
  176. package/esm/models/batchAccountOperationsMappers.js.map +0 -1
  177. package/esm/models/certificateOperationsMappers.d.ts +0 -2
  178. package/esm/models/certificateOperationsMappers.d.ts.map +0 -1
  179. package/esm/models/certificateOperationsMappers.js +0 -9
  180. package/esm/models/certificateOperationsMappers.js.map +0 -1
  181. package/esm/models/index.d.ts +0 -3946
  182. package/esm/models/index.d.ts.map +0 -1
  183. package/esm/models/index.js.map +0 -1
  184. package/esm/models/locationMappers.d.ts +0 -2
  185. package/esm/models/locationMappers.d.ts.map +0 -1
  186. package/esm/models/locationMappers.js +0 -9
  187. package/esm/models/locationMappers.js.map +0 -1
  188. package/esm/models/mappers.d.ts +0 -110
  189. package/esm/models/mappers.d.ts.map +0 -1
  190. package/esm/models/mappers.js.map +0 -1
  191. package/esm/models/operationsMappers.d.ts +0 -2
  192. package/esm/models/operationsMappers.d.ts.map +0 -1
  193. package/esm/models/operationsMappers.js.map +0 -1
  194. package/esm/models/parameters.d.ts +0 -21
  195. package/esm/models/parameters.d.ts.map +0 -1
  196. package/esm/models/parameters.js +0 -250
  197. package/esm/models/parameters.js.map +0 -1
  198. package/esm/models/poolOperationsMappers.d.ts +0 -2
  199. package/esm/models/poolOperationsMappers.d.ts.map +0 -1
  200. package/esm/models/poolOperationsMappers.js +0 -9
  201. package/esm/models/poolOperationsMappers.js.map +0 -1
  202. package/esm/models/privateEndpointConnectionOperationsMappers.d.ts +0 -2
  203. package/esm/models/privateEndpointConnectionOperationsMappers.d.ts.map +0 -1
  204. package/esm/models/privateEndpointConnectionOperationsMappers.js +0 -9
  205. package/esm/models/privateEndpointConnectionOperationsMappers.js.map +0 -1
  206. package/esm/models/privateLinkResourceOperationsMappers.d.ts +0 -2
  207. package/esm/models/privateLinkResourceOperationsMappers.d.ts.map +0 -1
  208. package/esm/models/privateLinkResourceOperationsMappers.js +0 -9
  209. package/esm/models/privateLinkResourceOperationsMappers.js.map +0 -1
  210. package/esm/operations/applicationOperations.d.ts +0 -151
  211. package/esm/operations/applicationOperations.d.ts.map +0 -1
  212. package/esm/operations/applicationOperations.js +0 -232
  213. package/esm/operations/applicationOperations.js.map +0 -1
  214. package/esm/operations/applicationPackageOperations.d.ts +0 -171
  215. package/esm/operations/applicationPackageOperations.d.ts.map +0 -1
  216. package/esm/operations/applicationPackageOperations.js +0 -244
  217. package/esm/operations/applicationPackageOperations.js.map +0 -1
  218. package/esm/operations/batchAccountOperations.d.ts +0 -299
  219. package/esm/operations/batchAccountOperations.d.ts.map +0 -1
  220. package/esm/operations/batchAccountOperations.js +0 -493
  221. package/esm/operations/batchAccountOperations.js.map +0 -1
  222. package/esm/operations/certificateOperations.d.ts +0 -207
  223. package/esm/operations/certificateOperations.d.ts.map +0 -1
  224. package/esm/operations/certificateOperations.js +0 -310
  225. package/esm/operations/certificateOperations.js.map +0 -1
  226. package/esm/operations/index.d.ts.map +0 -1
  227. package/esm/operations/index.js.map +0 -1
  228. package/esm/operations/location.d.ts +0 -124
  229. package/esm/operations/location.d.ts.map +0 -1
  230. package/esm/operations/location.js +0 -216
  231. package/esm/operations/location.js.map +0 -1
  232. package/esm/operations/operations.d.ts +0 -46
  233. package/esm/operations/operations.d.ts.map +0 -1
  234. package/esm/operations/operations.js +0 -79
  235. package/esm/operations/operations.js.map +0 -1
  236. package/esm/operations/poolOperations.d.ts +0 -206
  237. package/esm/operations/poolOperations.d.ts.map +0 -1
  238. package/esm/operations/poolOperations.js +0 -341
  239. package/esm/operations/poolOperations.js.map +0 -1
  240. package/esm/operations/privateEndpointConnectionOperations.d.ts +0 -104
  241. package/esm/operations/privateEndpointConnectionOperations.d.ts.map +0 -1
  242. package/esm/operations/privateEndpointConnectionOperations.js +0 -195
  243. package/esm/operations/privateEndpointConnectionOperations.js.map +0 -1
  244. package/esm/operations/privateLinkResourceOperations.d.ts +0 -79
  245. package/esm/operations/privateLinkResourceOperations.d.ts.map +0 -1
  246. package/esm/operations/privateLinkResourceOperations.js +0 -121
  247. package/esm/operations/privateLinkResourceOperations.js.map +0 -1
  248. package/src/models/applicationOperationsMappers.ts +0 -79
  249. package/src/models/applicationPackageOperationsMappers.ts +0 -80
  250. package/src/models/batchAccountOperationsMappers.ts +0 -89
  251. package/src/models/certificateOperationsMappers.ts +0 -84
  252. package/src/models/poolOperationsMappers.ts +0 -85
  253. package/src/models/privateEndpointConnectionOperationsMappers.ts +0 -80
  254. package/src/models/privateLinkResourceOperationsMappers.ts +0 -79
@@ -0,0 +1,479 @@
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 { __asyncValues, __awaiter } from "tslib";
9
+ import { env, record, isPlaybackMode } from "@azure-tools/test-recorder";
10
+ import * as assert from "assert";
11
+ import { ClientSecretCredential } from "@azure/identity";
12
+ import { BatchManagementClient } from "../src/batchManagementClient";
13
+ import { StorageManagementClient } from "@azure/arm-storage";
14
+ const recorderEnvSetup = {
15
+ replaceableVariables: {
16
+ AZURE_CLIENT_ID: "azure_client_id",
17
+ AZURE_CLIENT_SECRET: "azure_client_secret",
18
+ AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
19
+ SUBSCRIPTION_ID: "azure_subscription_id"
20
+ },
21
+ customizationsOnRecordings: [
22
+ (recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
23
+ ],
24
+ queryParametersToSkip: []
25
+ };
26
+ export const testPollingOptions = {
27
+ updateIntervalInMs: isPlaybackMode() ? 0 : undefined,
28
+ };
29
+ describe("Batch test", () => {
30
+ let recorder;
31
+ let subscriptionId;
32
+ let client;
33
+ let storage_client;
34
+ let location;
35
+ let resourceGroup;
36
+ let accountName;
37
+ let applicationName;
38
+ let storageaccountName;
39
+ let certificateName;
40
+ let poolName;
41
+ beforeEach(function () {
42
+ return __awaiter(this, void 0, void 0, function* () {
43
+ recorder = record(this, recorderEnvSetup);
44
+ subscriptionId = env.SUBSCRIPTION_ID;
45
+ // This is an example of how the environment variables are used
46
+ const credential = new ClientSecretCredential(env.AZURE_TENANT_ID, env.AZURE_CLIENT_ID, env.AZURE_CLIENT_SECRET);
47
+ client = new BatchManagementClient(credential, subscriptionId);
48
+ storage_client = new StorageManagementClient(credential, subscriptionId);
49
+ location = "eastus";
50
+ resourceGroup = "myjstest";
51
+ accountName = "myaccountxxx";
52
+ applicationName = "myapplicationxxx";
53
+ storageaccountName = "mystorageaccountxxx";
54
+ certificateName = "sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7";
55
+ poolName = "mypoolxxx";
56
+ });
57
+ });
58
+ afterEach(function () {
59
+ return __awaiter(this, void 0, void 0, function* () {
60
+ yield recorder.stop();
61
+ });
62
+ });
63
+ function storageAccounts_beginCreateAndWait() {
64
+ return __awaiter(this, void 0, void 0, function* () {
65
+ const parameter = {
66
+ sku: {
67
+ name: "Standard_GRS",
68
+ },
69
+ kind: "StorageV2",
70
+ location: "westeurope",
71
+ encryption: {
72
+ services: {
73
+ file: {
74
+ keyType: "Account",
75
+ enabled: true
76
+ },
77
+ blob: {
78
+ keyType: "Account",
79
+ enabled: true
80
+ },
81
+ },
82
+ keySource: "Microsoft.Storage",
83
+ },
84
+ tags: {
85
+ key1: "value1",
86
+ key2: "value2",
87
+ }
88
+ };
89
+ const res = yield storage_client.storageAccounts.beginCreateAndWait(resourceGroup, storageaccountName, parameter, testPollingOptions);
90
+ });
91
+ }
92
+ ;
93
+ it("batchAccountOperations create test", function () {
94
+ return __awaiter(this, void 0, void 0, function* () {
95
+ // await storageAccounts_beginCreateAndWait();
96
+ const res = yield client.batchAccountOperations.beginCreateAndWait(resourceGroup, accountName, {
97
+ location: location,
98
+ autoStorage: {
99
+ storageAccountId: "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroup + "/providers/Microsoft.Storage/storageAccounts/" + storageaccountName
100
+ }
101
+ }, testPollingOptions);
102
+ assert.equal(res.name, accountName);
103
+ });
104
+ });
105
+ it("batchAccountOperations get test", function () {
106
+ return __awaiter(this, void 0, void 0, function* () {
107
+ const res = yield client.batchAccountOperations.get(resourceGroup, accountName);
108
+ assert.equal(res.name, accountName);
109
+ });
110
+ });
111
+ it("batchAccountOperations getkeys test", function () {
112
+ return __awaiter(this, void 0, void 0, function* () {
113
+ const res = yield client.batchAccountOperations.getKeys(resourceGroup, accountName);
114
+ assert.equal(res.accountName, accountName);
115
+ });
116
+ });
117
+ it("batchAccountOperations regenerateKey test", function () {
118
+ return __awaiter(this, void 0, void 0, function* () {
119
+ const res = yield client.batchAccountOperations.regenerateKey(resourceGroup, accountName, { keyName: "Primary" });
120
+ assert.equal(res.accountName, accountName);
121
+ });
122
+ });
123
+ it("batchAccountOperations list test", function () {
124
+ var e_1, _a;
125
+ return __awaiter(this, void 0, void 0, function* () {
126
+ const resArray = new Array();
127
+ try {
128
+ for (var _b = __asyncValues(client.batchAccountOperations.list()), _c; _c = yield _b.next(), !_c.done;) {
129
+ let item = _c.value;
130
+ resArray.push(item);
131
+ }
132
+ }
133
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
134
+ finally {
135
+ try {
136
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
137
+ }
138
+ finally { if (e_1) throw e_1.error; }
139
+ }
140
+ assert.equal(resArray.length, 1);
141
+ });
142
+ });
143
+ it("batchAccountOperations update test", function () {
144
+ return __awaiter(this, void 0, void 0, function* () {
145
+ const res = yield client.batchAccountOperations.update(resourceGroup, accountName, { tags: { key1: "value1" } });
146
+ assert.equal(res.type, "Microsoft.Batch/batchAccounts");
147
+ });
148
+ });
149
+ it("applicationOperations create test", function () {
150
+ return __awaiter(this, void 0, void 0, function* () {
151
+ const res = yield client.applicationOperations.create(resourceGroup, accountName, applicationName, { parameters: { allowUpdates: false } });
152
+ assert.equal(res.name, applicationName);
153
+ });
154
+ });
155
+ it("applicationOperations get test", function () {
156
+ return __awaiter(this, void 0, void 0, function* () {
157
+ const res = yield client.applicationOperations.get(resourceGroup, accountName, applicationName);
158
+ assert.equal(res.name, applicationName);
159
+ });
160
+ });
161
+ it("applicationOperations list test", function () {
162
+ var e_2, _a;
163
+ return __awaiter(this, void 0, void 0, function* () {
164
+ const resArray = new Array();
165
+ try {
166
+ for (var _b = __asyncValues(client.applicationOperations.list(resourceGroup, accountName)), _c; _c = yield _b.next(), !_c.done;) {
167
+ let item = _c.value;
168
+ resArray.push(item);
169
+ }
170
+ }
171
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
172
+ finally {
173
+ try {
174
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
175
+ }
176
+ finally { if (e_2) throw e_2.error; }
177
+ }
178
+ assert.equal(resArray.length, 1);
179
+ });
180
+ });
181
+ it("certificateOperations create test", function () {
182
+ return __awaiter(this, void 0, void 0, function* () {
183
+ const res = yield client.certificateOperations.create(resourceGroup, accountName, certificateName, {
184
+ thumbprint: 'cff2ab63c8c955aaf71989efa641b906558d9fb7',
185
+ thumbprintAlgorithm: 'sha1',
186
+ data: 'MIIGMQIBAzCCBe0GCSqGSIb3DQEHAaCC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bgBnACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjBlBgkqhkiG9w0BCRQxWB5WAFAAdgBrAFQAbQBwADoANABjAGUANgAwADQAZABhAC0AMAA2ADgAMQAtADQANAAxADUALQBhADIAYwBhAC0ANQA3ADcAMwAwADgAZQA2AGQAOQBhAGMwggIOBgkqhkiG9w0BBwGgggH/BIIB+zCCAfcwggHzBgsqhkiG9w0BDAoBA6CCAcswggHHBgoqhkiG9w0BCRYBoIIBtwSCAbMwggGvMIIBXaADAgECAhAdka3aTQsIsUphgIXGUmeRMAkGBSsOAwIdBQAwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3kwHhcNMTYwMTAxMDcwMDAwWhcNMTgwMTAxMDcwMDAwWjASMRAwDgYDVQQDEwdub2Rlc2RrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5fhcxbJHxxBEIDzVOMc56s04U6k4GPY7yMR1m+rBGVRiAyV4RjY6U936dqXHCVD36ps2Q0Z+OeEgyCInkIyVeB1EwXcToOcyeS2YcUb0vRWZDouC3tuFdHwiK1Ed5iW/LksmXDotyV7kpqzaPhOFiMtBuMEwNJcPge9k17hRgRQIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAHl2M97QbpzdnwO5HoRBsiEExOcLTNg+GKCr7HUsbzfvrUivw+JLL7qjHAIc5phnK+F5bQ8HKe0L9YXBSKl+fvwxFTATBgkqhkiG9w0BCRUxBgQEAQAAADA7MB8wBwYFKw4DAhoEFGVtyGMqiBd32fGpzlGZQoRM6UQwBBTI0YHFFqTS4Go8CoLgswn29EiuUQICB9A=',
187
+ format: "Pfx",
188
+ password: "nodesdk"
189
+ });
190
+ assert.equal(res.name, certificateName);
191
+ });
192
+ });
193
+ it("certificateOperations get test", function () {
194
+ return __awaiter(this, void 0, void 0, function* () {
195
+ const res = yield client.certificateOperations.get(resourceGroup, accountName, certificateName);
196
+ assert.equal(res.name, certificateName);
197
+ });
198
+ });
199
+ it("certificateOperations list test", function () {
200
+ var e_3, _a;
201
+ return __awaiter(this, void 0, void 0, function* () {
202
+ const resArray = new Array();
203
+ try {
204
+ for (var _b = __asyncValues(client.certificateOperations.listByBatchAccount(resourceGroup, accountName)), _c; _c = yield _b.next(), !_c.done;) {
205
+ let item = _c.value;
206
+ resArray.push(item);
207
+ }
208
+ }
209
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
210
+ finally {
211
+ try {
212
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
213
+ }
214
+ finally { if (e_3) throw e_3.error; }
215
+ }
216
+ assert.equal(resArray.length, 1);
217
+ });
218
+ });
219
+ it("certificateOperations update test", function () {
220
+ return __awaiter(this, void 0, void 0, function* () {
221
+ const res = yield client.certificateOperations.update(resourceGroup, accountName, certificateName, {
222
+ data: 'MIIGMQIBAzCCBe0GCSqGSIb3DQEHAaCCBd4EggXaMIIF1jCCA8AGCSqGSIb3DQEHAaCCA7EEggOtMIIDqTCCA6UGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAhyd3xCtln3iQICB9AEggKQhe5P10V9iV1BsDlwWT561Yu2hVq3JT8ae/ebx1ZR/gMApVereDKkS9Zg4vFyssusHebbK5pDpU8vfAqle0TM4m7wGsRj453ZorSPUfMpHvQnAOn+2pEpWdMThU7xvZ6DVpwhDOQk9166z+KnKdHGuJKh4haMT7Rw/6xZ1rsBt2423cwTrQVMQyACrEkianpuujubKltN99qRoFAxhQcnYE2KlYKw7lRcExq6mDSYAyk5xJZ1ZFdLj6MAryZroQit/0g5eyhoNEKwWbi8px5j71pRTf7yjN+deMGQKwbGl+3OgaL1UZ5fCjypbVL60kpIBxLZwIJ7p3jJ+q9pbq9zSdzshPYor5lxyUfXqaso/0/91ayNoBzg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gQC5fhcxbJHxxBEIDzVOMc56s04U6k4GPY7yMR1m+rBGVRiAyV4RjY6U936dqXHCVD36ps2Q0Z+OeEgyCInkIyVeB1EwXcToOcyeS2YcUb0vRWZDouC3tuFdHwiK1Ed5iW/LksmXDotyV7kpqzaPhOFiMtBuMEwNJcPge9k17hRgRQIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAHl2M97QbpzdnwO5HoRBsiEExOcLTNg+GKCr7HUsbzfvrUivw+JLL7qjHAIc5phnK+F5bQ8HKe0L9YXBSKl+fvwxFTATBgkqhkiG9w0BCRUxBgQEAQAAADA7MB8wBwYFKw4DAhoEFGVtyGMqiBd32fGpzlGZQoRM6UQwBBTI0YHFFqTS4Go8CoLgswn29EiuUQICB9A=',
223
+ password: "nodesdk"
224
+ });
225
+ assert.equal(res.type, "Microsoft.Batch/batchAccounts/certificates");
226
+ });
227
+ });
228
+ it("certificateOperations cancelDeletion test", function () {
229
+ return __awaiter(this, void 0, void 0, function* () {
230
+ const res = yield client.certificateOperations.cancelDeletion(resourceGroup, accountName, certificateName);
231
+ assert.equal(res.name, certificateName);
232
+ });
233
+ });
234
+ it("location checkNameAvailability test", function () {
235
+ return __awaiter(this, void 0, void 0, function* () {
236
+ const res = yield client.location.checkNameAvailability(location, { name: accountName, type: "Microsoft.Batch/batchAccounts" });
237
+ assert.equal(res.reason, "AlreadyExists");
238
+ });
239
+ });
240
+ it("location getQuotas test", function () {
241
+ return __awaiter(this, void 0, void 0, function* () {
242
+ const res = yield client.location.getQuotas(location);
243
+ assert.equal(res.accountQuota, 3);
244
+ });
245
+ });
246
+ it("location listSupportedCloudServiceSkus test", function () {
247
+ var e_4, _a;
248
+ return __awaiter(this, void 0, void 0, function* () {
249
+ const resArray = new Array();
250
+ try {
251
+ for (var _b = __asyncValues(client.location.listSupportedCloudServiceSkus(location)), _c; _c = yield _b.next(), !_c.done;) {
252
+ let item = _c.value;
253
+ resArray.push(item);
254
+ }
255
+ }
256
+ catch (e_4_1) { e_4 = { error: e_4_1 }; }
257
+ finally {
258
+ try {
259
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
260
+ }
261
+ finally { if (e_4) throw e_4.error; }
262
+ }
263
+ assert.notEqual(resArray.length, 0);
264
+ });
265
+ });
266
+ it("location listSupportedVirtualMachineSkus test", function () {
267
+ var e_5, _a;
268
+ return __awaiter(this, void 0, void 0, function* () {
269
+ const resArray = new Array();
270
+ try {
271
+ for (var _b = __asyncValues(client.location.listSupportedVirtualMachineSkus(location)), _c; _c = yield _b.next(), !_c.done;) {
272
+ let item = _c.value;
273
+ resArray.push(item);
274
+ }
275
+ }
276
+ catch (e_5_1) { e_5 = { error: e_5_1 }; }
277
+ finally {
278
+ try {
279
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
280
+ }
281
+ finally { if (e_5) throw e_5.error; }
282
+ }
283
+ assert.notEqual(resArray.length, 0);
284
+ });
285
+ });
286
+ it("poolOperations create test", function () {
287
+ return __awaiter(this, void 0, void 0, function* () {
288
+ const res = yield client.poolOperations.create(resourceGroup, accountName, poolName, {
289
+ vmSize: "STANDARD_D4",
290
+ deploymentConfiguration: {
291
+ cloudServiceConfiguration: {
292
+ osFamily: "5"
293
+ }
294
+ },
295
+ scaleSettings: {
296
+ fixedScale: {
297
+ targetDedicatedNodes: 3
298
+ }
299
+ }
300
+ });
301
+ assert.equal(res.name, poolName);
302
+ });
303
+ });
304
+ it("poolOperations get test", function () {
305
+ return __awaiter(this, void 0, void 0, function* () {
306
+ const res = yield client.poolOperations.get(resourceGroup, accountName, poolName);
307
+ console.log(res);
308
+ });
309
+ });
310
+ it("poolOperations listByBatchAccount test", function () {
311
+ var e_6, _a;
312
+ return __awaiter(this, void 0, void 0, function* () {
313
+ const resArray = new Array();
314
+ try {
315
+ for (var _b = __asyncValues(client.poolOperations.listByBatchAccount(resourceGroup, accountName)), _c; _c = yield _b.next(), !_c.done;) {
316
+ let item = _c.value;
317
+ resArray.push(item);
318
+ }
319
+ }
320
+ catch (e_6_1) { e_6 = { error: e_6_1 }; }
321
+ finally {
322
+ try {
323
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
324
+ }
325
+ finally { if (e_6) throw e_6.error; }
326
+ }
327
+ assert.equal(resArray.length, 1);
328
+ });
329
+ });
330
+ it("poolOperations update test", function () {
331
+ return __awaiter(this, void 0, void 0, function* () {
332
+ const res = yield client.poolOperations.update(resourceGroup, accountName, poolName, {
333
+ scaleSettings: {
334
+ autoScale: {
335
+ formula: "$TargetDedicatedNodes=34"
336
+ }
337
+ }
338
+ });
339
+ assert.equal(res.type, "Microsoft.Batch/batchAccounts/pools");
340
+ });
341
+ });
342
+ it("poolOperations disableAutoScale test", function () {
343
+ return __awaiter(this, void 0, void 0, function* () {
344
+ const res = yield client.poolOperations.disableAutoScale(resourceGroup, accountName, poolName);
345
+ assert.equal(res.name, poolName);
346
+ });
347
+ });
348
+ it("poolOperations stopResize test", function () {
349
+ return __awaiter(this, void 0, void 0, function* () {
350
+ const res = yield client.poolOperations.stopResize(resourceGroup, accountName, poolName);
351
+ assert.equal(res.name, poolName);
352
+ });
353
+ });
354
+ it("privateEndpointConnectionOperations listByBatchAccount test", function () {
355
+ var e_7, _a;
356
+ return __awaiter(this, void 0, void 0, function* () {
357
+ const resArray = new Array();
358
+ try {
359
+ for (var _b = __asyncValues(client.privateEndpointConnectionOperations.listByBatchAccount(resourceGroup, accountName)), _c; _c = yield _b.next(), !_c.done;) {
360
+ let item = _c.value;
361
+ resArray.push(item);
362
+ }
363
+ }
364
+ catch (e_7_1) { e_7 = { error: e_7_1 }; }
365
+ finally {
366
+ try {
367
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
368
+ }
369
+ finally { if (e_7) throw e_7.error; }
370
+ }
371
+ assert.equal(resArray.length, 0);
372
+ });
373
+ });
374
+ it("privateLinkResourceOperations listByBatchAccount test", function () {
375
+ var e_8, _a;
376
+ return __awaiter(this, void 0, void 0, function* () {
377
+ const resArray = new Array();
378
+ try {
379
+ for (var _b = __asyncValues(client.privateLinkResourceOperations.listByBatchAccount(resourceGroup, accountName)), _c; _c = yield _b.next(), !_c.done;) {
380
+ let item = _c.value;
381
+ resArray.push(item);
382
+ }
383
+ }
384
+ catch (e_8_1) { e_8 = { error: e_8_1 }; }
385
+ finally {
386
+ try {
387
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
388
+ }
389
+ finally { if (e_8) throw e_8.error; }
390
+ }
391
+ assert.equal(resArray.length, 0);
392
+ });
393
+ });
394
+ it("poolOperations delete test", function () {
395
+ var e_9, _a;
396
+ return __awaiter(this, void 0, void 0, function* () {
397
+ const res = yield client.poolOperations.beginDeleteAndWait(resourceGroup, accountName, poolName, testPollingOptions);
398
+ const resArray = new Array();
399
+ try {
400
+ for (var _b = __asyncValues(client.poolOperations.listByBatchAccount(resourceGroup, accountName)), _c; _c = yield _b.next(), !_c.done;) {
401
+ let item = _c.value;
402
+ resArray.push(item);
403
+ }
404
+ }
405
+ catch (e_9_1) { e_9 = { error: e_9_1 }; }
406
+ finally {
407
+ try {
408
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
409
+ }
410
+ finally { if (e_9) throw e_9.error; }
411
+ }
412
+ assert.equal(resArray.length, 0);
413
+ });
414
+ });
415
+ it("certificateOperations delete test", function () {
416
+ var e_10, _a;
417
+ return __awaiter(this, void 0, void 0, function* () {
418
+ const res = yield client.certificateOperations.beginDeleteAndWait(resourceGroup, accountName, certificateName, testPollingOptions);
419
+ const resArray = new Array();
420
+ try {
421
+ for (var _b = __asyncValues(client.certificateOperations.listByBatchAccount(resourceGroup, accountName)), _c; _c = yield _b.next(), !_c.done;) {
422
+ let item = _c.value;
423
+ resArray.push(item);
424
+ }
425
+ }
426
+ catch (e_10_1) { e_10 = { error: e_10_1 }; }
427
+ finally {
428
+ try {
429
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
430
+ }
431
+ finally { if (e_10) throw e_10.error; }
432
+ }
433
+ assert.equal(resArray.length, 0);
434
+ });
435
+ });
436
+ it("applicationOperations delete test", function () {
437
+ var e_11, _a;
438
+ return __awaiter(this, void 0, void 0, function* () {
439
+ const res = yield client.applicationOperations.delete(resourceGroup, accountName, applicationName);
440
+ const resArray = new Array();
441
+ try {
442
+ for (var _b = __asyncValues(client.applicationOperations.list(resourceGroup, accountName)), _c; _c = yield _b.next(), !_c.done;) {
443
+ let item = _c.value;
444
+ resArray.push(item);
445
+ }
446
+ }
447
+ catch (e_11_1) { e_11 = { error: e_11_1 }; }
448
+ finally {
449
+ try {
450
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
451
+ }
452
+ finally { if (e_11) throw e_11.error; }
453
+ }
454
+ assert.equal(resArray.length, 0);
455
+ });
456
+ });
457
+ it("batchAccountOperations delete test", function () {
458
+ var e_12, _a;
459
+ return __awaiter(this, void 0, void 0, function* () {
460
+ const res = yield client.batchAccountOperations.beginDeleteAndWait(resourceGroup, accountName, testPollingOptions);
461
+ const resArray = new Array();
462
+ try {
463
+ for (var _b = __asyncValues(client.batchAccountOperations.list()), _c; _c = yield _b.next(), !_c.done;) {
464
+ let item = _c.value;
465
+ resArray.push(item);
466
+ }
467
+ }
468
+ catch (e_12_1) { e_12 = { error: e_12_1 }; }
469
+ finally {
470
+ try {
471
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
472
+ }
473
+ finally { if (e_12) throw e_12.error; }
474
+ }
475
+ assert.equal(resArray.length, 0);
476
+ });
477
+ });
478
+ });
479
+ //# sourceMappingURL=sampleTest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,GAAG,EACH,MAAM,EAIN,cAAc,EACf,MAA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AAC,kBAAkB,CAAC,CAAC;YACjH,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;gBAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,sBAAsB,CAAC,IAAI,EAAE,CAAA,IAAA;oBAAhD,IAAI,IAAI,WAAA,CAAA;oBACf,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;iBACvB;;;;;;;;;YACD,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAC,CAAC,CAAC,CAAC;;KACjC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,58 +1,92 @@
1
1
  {
2
2
  "name": "@azure/arm-batch",
3
+ "sdk-type": "mgmt",
3
4
  "author": "Microsoft Corporation",
4
- "description": "BatchManagementClient Library with typescript type definitions for node.js and browser.",
5
- "version": "6.0.0",
5
+ "description": "A generated SDK for BatchManagementClient.",
6
+ "version": "7.0.0-beta.1",
7
+ "engines": { "node": ">=12.0.0" },
6
8
  "dependencies": {
7
- "@azure/ms-rest-azure-js": "^2.1.0",
8
- "@azure/ms-rest-js": "^2.2.0",
9
- "@azure/core-auth": "^1.1.4",
10
- "tslib": "^1.10.0"
9
+ "@azure/core-lro": "^2.2.0",
10
+ "@azure/abort-controller": "^1.0.0",
11
+ "@azure/core-paging": "^1.2.0",
12
+ "@azure/core-client": "^1.0.0",
13
+ "@azure/core-auth": "^1.3.0",
14
+ "@azure/core-rest-pipeline": "^1.1.0",
15
+ "tslib": "^2.2.0",
16
+ "@azure/arm-storage": "^17.0.0-beta.1"
11
17
  },
12
- "keywords": [
13
- "node",
14
- "azure",
15
- "typescript",
16
- "browser",
17
- "isomorphic"
18
- ],
18
+ "keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
19
19
  "license": "MIT",
20
- "main": "./dist/arm-batch.js",
21
- "module": "./esm/batchManagementClient.js",
22
- "types": "./esm/batchManagementClient.d.ts",
20
+ "main": "./dist/index.js",
21
+ "module": "./dist-esm/src/index.js",
22
+ "types": "./types/arm-batch.d.ts",
23
23
  "devDependencies": {
24
- "typescript": "^3.6.0",
25
- "rollup": "^1.18.0",
26
- "rollup-plugin-node-resolve": "^5.2.0",
24
+ "@microsoft/api-extractor": "^7.18.11",
25
+ "@rollup/plugin-commonjs": "11.0.2",
26
+ "@rollup/plugin-json": "^4.0.0",
27
+ "@rollup/plugin-multi-entry": "^3.0.0",
28
+ "@rollup/plugin-node-resolve": "^8.0.0",
29
+ "mkdirp": "^1.0.4",
30
+ "rollup": "^1.16.3",
27
31
  "rollup-plugin-sourcemaps": "^0.4.2",
28
- "uglify-js": "^3.6.0"
32
+ "typescript": "~4.2.0",
33
+ "uglify-js": "^3.4.9",
34
+ "rimraf": "^3.0.0",
35
+ "@azure/identity": "^2.0.1",
36
+ "@azure-tools/test-recorder": "^1.0.0",
37
+ "mocha": "^7.1.1",
38
+ "cross-env": "^7.0.2"
29
39
  },
30
- "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/batch/arm-batch",
40
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/batch/arm-batch",
31
41
  "repository": {
32
42
  "type": "git",
33
43
  "url": "https://github.com/Azure/azure-sdk-for-js.git"
34
44
  },
35
- "bugs": {
36
- "url": "https://github.com/Azure/azure-sdk-for-js/issues"
37
- },
45
+ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
38
46
  "files": [
39
47
  "dist/**/*.js",
40
48
  "dist/**/*.js.map",
41
49
  "dist/**/*.d.ts",
42
50
  "dist/**/*.d.ts.map",
43
- "esm/**/*.js",
44
- "esm/**/*.js.map",
45
- "esm/**/*.d.ts",
46
- "esm/**/*.d.ts.map",
51
+ "dist-esm/**/*.js",
52
+ "dist-esm/**/*.js.map",
53
+ "dist-esm/**/*.d.ts",
54
+ "dist-esm/**/*.d.ts.map",
47
55
  "src/**/*.ts",
48
56
  "README.md",
57
+ "LICENSE",
49
58
  "rollup.config.js",
50
- "tsconfig.json"
59
+ "tsconfig.json",
60
+ "review/*",
61
+ "CHANGELOG.md",
62
+ "types/*"
51
63
  ],
52
64
  "scripts": {
53
- "build": "tsc && rollup -c rollup.config.js && npm run minify",
54
- "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-batch.js.map'\" -o ./dist/arm-batch.min.js ./dist/arm-batch.js",
55
- "prepack": "npm install && npm run build"
65
+ "build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
66
+ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
67
+ "prepack": "npm run build",
68
+ "pack": "npm pack 2>&1",
69
+ "extract-api": "api-extractor run --local",
70
+ "lint": "echo skipped",
71
+ "audit": "echo skipped",
72
+ "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
73
+ "build:node": "echo skipped",
74
+ "build:browser": "echo skipped",
75
+ "build:test": "echo skipped",
76
+ "build:samples": "echo skipped.",
77
+ "check-format": "echo skipped",
78
+ "execute:samples": "echo skipped",
79
+ "format": "echo skipped",
80
+ "test": "npm run integration-test",
81
+ "test:node": "echo skipped",
82
+ "test:browser": "echo skipped",
83
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
84
+ "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
85
+ "unit-test:browser": "echo skipped",
86
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
87
+ "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
88
+ "integration-test:browser": "echo skipped",
89
+ "docs": "echo skipped"
56
90
  },
57
91
  "sideEffects": false,
58
92
  "autoPublish": true