diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index a0f6e183bafb..942bba9cc2f1 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -548,11 +548,35 @@ dependencies: packages: - /@ampproject/remapping/2.1.2: - resolution: {integrity: sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==} + /@ampproject/remapping/2.1.0: + resolution: {integrity: sha512-d5RysTlJ7hmw5Tw4UxgxcY3lkMe92n8sXCcuLPAyIAHK6j8DefDwtGnVVDgOnv+RnEosulDJ9NPKQL27bDId0g==} engines: {node: '>=6.0.0'} dependencies: - '@jridgewell/trace-mapping': 0.3.4 + '@jridgewell/trace-mapping': 0.3.2 + dev: false + + /@azure-rest/core-client/1.0.0-beta.7: + resolution: {integrity: sha512-6+HEW4uN4SBGLxgTtIwPc/wawFYBPTSUkZ8k7OqDaz3EsWYXyYC5UHftrUgG7QFkxpjMAFlwqh9tHzXgvxozHQ==} + engines: {node: '>=12.0.0'} + dependencies: + '@azure/core-auth': 1.3.2 + '@azure/core-rest-pipeline': 1.5.0 + '@azure/core-util': 1.0.0-beta.1 + tslib: 2.3.1 + transitivePeerDependencies: + - supports-color + dev: false + + /@azure-rest/core-client/1.0.0-beta.8: + resolution: {integrity: sha512-QsKShzttXt6bYxQi5xfSB6B/i0I1qN2uHu78cA39IT6scmVzSq4u5GzzS5XjBR0wthZOu76eOBiyJq4Ldowydw==} + engines: {node: '>=12.0.0'} + dependencies: + '@azure/core-auth': 1.3.2 + '@azure/core-rest-pipeline': 1.5.0 + '@azure/core-util': 1.0.0-beta.1 + tslib: 2.3.1 + transitivePeerDependencies: + - supports-color dev: false /@azure-tools/test-recorder/1.0.2: @@ -614,12 +638,12 @@ packages: engines: {node: '>=12.0.0'} dependencies: '@azure/abort-controller': 1.0.4 - '@azure/core-asynciterator-polyfill': 1.0.2 + '@azure/core-asynciterator-polyfill': 1.0.0 '@azure/core-auth': 1.3.2 '@azure/core-client': 1.5.0 - '@azure/core-lro': 2.2.4 + '@azure/core-lro': 2.2.3 '@azure/core-paging': 1.2.1 - '@azure/core-rest-pipeline': 1.8.0 + '@azure/core-rest-pipeline': 1.5.0 '@azure/core-tracing': 1.0.0-preview.12 '@azure/logger': 1.0.3 tslib: 2.3.1 @@ -632,7 +656,7 @@ packages: engines: {node: '>=12.0.0'} dependencies: '@azure/abort-controller': 1.0.4 - '@azure/core-asynciterator-polyfill': 1.0.2 + '@azure/core-asynciterator-polyfill': 1.0.0 '@azure/core-auth': 1.3.2 '@azure/core-http': 2.2.4 '@azure/core-paging': 1.2.1 @@ -649,7 +673,22 @@ packages: '@azure/core-auth': 1.3.2 '@azure/core-client': 1.5.0 '@azure/core-paging': 1.2.1 - '@azure/core-rest-pipeline': 1.8.0 + '@azure/core-rest-pipeline': 1.5.0 + tslib: 2.3.1 + transitivePeerDependencies: + - supports-color + dev: false + + /@azure/arm-storage/17.0.0: + resolution: {integrity: sha512-WS9eT3/vDQ7a1z/8K5BkPhoAi0ilo94yCSws4KyWq6UIA3RaXBDpYYAlN0TOxad9rPeOnWXWcB9gLw3DmjZ4wg==} + engines: {node: '>=12.0.0'} + dependencies: + '@azure/abort-controller': 1.0.4 + '@azure/core-auth': 1.3.2 + '@azure/core-client': 1.5.0 + '@azure/core-lro': 2.2.3 + '@azure/core-paging': 1.2.1 + '@azure/core-rest-pipeline': 1.5.0 tslib: 2.3.1 transitivePeerDependencies: - supports-color @@ -702,6 +741,21 @@ packages: - encoding dev: false + /@azure/container-registry/1.0.0-beta.4: + resolution: {integrity: sha512-QXKm9kRvQl8pgky0NVU4Xbyq8A0QHvzrndqFr2cKScUpO6fCLuqMv/O7HFAVr/KyfHFTlL+23a4R3npnRjGyGA==} + engines: {node: '>=12.0.0'} + dependencies: + '@azure/core-auth': 1.3.2 + '@azure/core-client': 1.5.0 + '@azure/core-paging': 1.2.1 + '@azure/core-rest-pipeline': 1.5.0 + '@azure/core-tracing': 1.0.0-preview.13 + '@azure/logger': 1.0.3 + tslib: 2.3.1 + transitivePeerDependencies: + - supports-color + dev: false + /@azure/core-amqp/3.1.0: resolution: {integrity: sha512-TyI0WFNrVb0EkRg36UwdcqR/7n9YpcEw64O4xVrgzMAlXIciVZpabl05C/Q0iUvLkItmez2XSVDduncjr02oGw==} engines: {node: '>=12.0.0'} @@ -720,9 +774,8 @@ packages: util: 0.12.4 dev: false - /@azure/core-asynciterator-polyfill/1.0.2: - resolution: {integrity: sha512-3rkP4LnnlWawl0LZptJOdXNrT/fHp2eQMadoasa6afspXdpGrtPZuAQc2PD0cpgyuoXtUWyC3tv7xfntjGS5Dw==} - engines: {node: '>=12.0.0'} + /@azure/core-asynciterator-polyfill/1.0.0: + resolution: {integrity: sha512-kmv8CGrPfN9SwMwrkiBK9VTQYxdFQEGe0BmQk+M8io56P9KNzpAxcWE/1fxJj7uouwN4kXF0BHW8DNlgx+wtCg==} dev: false /@azure/core-auth/1.3.2: @@ -738,9 +791,9 @@ packages: engines: {node: '>=12.0.0'} dependencies: '@azure/abort-controller': 1.0.4 - '@azure/core-asynciterator-polyfill': 1.0.2 + '@azure/core-asynciterator-polyfill': 1.0.0 '@azure/core-auth': 1.3.2 - '@azure/core-rest-pipeline': 1.8.0 + '@azure/core-rest-pipeline': 1.5.0 '@azure/core-tracing': 1.0.0-preview.13 '@azure/logger': 1.0.3 tslib: 2.3.1 @@ -757,7 +810,7 @@ packages: '@azure/core-tracing': 1.0.0-preview.9 '@azure/logger': 1.0.3 '@opentelemetry/api': 0.10.2 - '@types/node-fetch': 2.6.1 + '@types/node-fetch': 2.5.12 '@types/tunnel': 0.0.1 form-data: 3.0.1 node-fetch: 2.6.7 @@ -776,11 +829,11 @@ packages: engines: {node: '>=8.0.0'} dependencies: '@azure/abort-controller': 1.0.4 - '@azure/core-asynciterator-polyfill': 1.0.2 + '@azure/core-asynciterator-polyfill': 1.0.0 '@azure/core-auth': 1.3.2 '@azure/core-tracing': 1.0.0-preview.11 '@azure/logger': 1.0.3 - '@types/node-fetch': 2.6.1 + '@types/node-fetch': 2.5.12 '@types/tunnel': 0.0.1 form-data: 3.0.1 node-fetch: 2.6.7 @@ -799,11 +852,11 @@ packages: engines: {node: '>=12.0.0'} dependencies: '@azure/abort-controller': 1.0.4 - '@azure/core-asynciterator-polyfill': 1.0.2 + '@azure/core-asynciterator-polyfill': 1.0.0 '@azure/core-auth': 1.3.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/logger': 1.0.3 - '@types/node-fetch': 2.6.1 + '@types/node-fetch': 2.5.12 '@types/tunnel': 0.0.3 form-data: 4.0.0 node-fetch: 2.6.7 @@ -830,8 +883,8 @@ packages: - encoding dev: false - /@azure/core-lro/2.2.4: - resolution: {integrity: sha512-e1I2v2CZM0mQo8+RSix0x091Av493e4bnT22ds2fcQGslTHzM2oTbswkB65nP4iEpCxBrFxOSDPKExmTmjCVtQ==} + /@azure/core-lro/2.2.3: + resolution: {integrity: sha512-UMdlR9NsqDCLTba3EUbRjfMF4gDmWvld196JmUjbz9WWhJ2XT00OR5MXeWiR+vmGT+ETiO4hHFCi2/eGO5YVtg==} engines: {node: '>=12.0.0'} dependencies: '@azure/abort-controller': 1.0.4 @@ -844,12 +897,12 @@ packages: resolution: {integrity: sha512-UtH5iMlYsvg+nQYIl4UHlvvSrsBjOlRF4fs0j7mxd3rWdAStrKYrh2durOpHs5C9yZbVhsVDaisoyaf/lL1EVA==} engines: {node: '>=12.0.0'} dependencies: - '@azure/core-asynciterator-polyfill': 1.0.2 + '@azure/core-asynciterator-polyfill': 1.0.0 tslib: 2.3.1 dev: false - /@azure/core-rest-pipeline/1.8.0: - resolution: {integrity: sha512-o8eZr96erQpiq8EZhZU/SyN6ncOfZ6bexwN2nMm9WpDmZGvaq907kopADt8XvNhbEF7kRA1l901Pg8mXjWp3UQ==} + /@azure/core-rest-pipeline/1.5.0: + resolution: {integrity: sha512-Lofjl3mu1TULhjxoPKY4IqXt6mC8Q+r3xMF1dOz0D/aElKfrbqtO2fts36PCClAq+DJzQM/kbnrNTf3X601I5w==} engines: {node: '>=12.0.0'} dependencies: '@azure/abort-controller': 1.0.4 @@ -899,6 +952,13 @@ packages: tslib: 2.3.1 dev: false + /@azure/core-tracing/1.0.0-preview.14: + resolution: {integrity: sha512-FFIzVoQ+kcvyxJi+OJdiM+Ec3dNdNnWTpErdppbPCU7XRqBjWn+LARc/5j4feEDkKh1nPq6Cb82MI6ExH3GR6A==} + engines: {node: '>=12.0.0'} + dependencies: + tslib: 2.3.1 + dev: false + /@azure/core-tracing/1.0.0-preview.9: resolution: {integrity: sha512-zczolCLJ5QG42AEPQ+Qg9SRYNUyB+yZ5dzof4YEc+dyWczO9G2sBqbAjLB7IqrsdHN2apkiB2oXeDKCsq48jug==} engines: {node: '>=8.0.0'} @@ -919,7 +979,7 @@ packages: resolution: {integrity: sha512-oWWQUWfllD3RO8Ixnsw5RjAUWPitjRI+LXSM0KFmgkSjl0R6RTQzXU2SEMsgAENkD5nzyI4yPpTRJcN2svM6ug==} engines: {node: '>=12.0.0'} dependencies: - fast-xml-parser: 4.0.7 + fast-xml-parser: 4.0.2 tslib: 2.3.1 dev: false @@ -930,7 +990,7 @@ packages: '@azure/core-auth': 1.3.2 '@azure/core-client': 1.5.0 '@azure/core-paging': 1.2.1 - '@azure/core-rest-pipeline': 1.8.0 + '@azure/core-rest-pipeline': 1.5.0 '@azure/core-tracing': 1.0.0-preview.13 '@azure/core-xml': 1.2.0 '@azure/logger': 1.0.3 @@ -940,13 +1000,13 @@ packages: - supports-color dev: false - /@azure/event-hubs/5.7.0: - resolution: {integrity: sha512-ilYY61pMrMrgVVIjy1i/RlA8Wjf9ZDV/mnV2Bd8L+kfxiq4ToPQu38BPb9925PRqckSMz9T9D73sH0WrTGrnQw==} + /@azure/event-hubs/5.6.0: + resolution: {integrity: sha512-+JtP2SYqGZelvZ6nnA7T0xxcDjCu3O0K+8A8vEXOJgQPT8+hA11fz61DSpFQJH1KaXffoN5YeXnKSaU4idwiAQ==} engines: {node: '>=12.0.0'} dependencies: '@azure/abort-controller': 1.0.4 '@azure/core-amqp': 3.1.0 - '@azure/core-asynciterator-polyfill': 1.0.2 + '@azure/core-asynciterator-polyfill': 1.0.0 '@azure/core-auth': 1.3.2 '@azure/core-tracing': 1.0.0-preview.12 '@azure/logger': 1.0.3 @@ -959,27 +1019,27 @@ packages: uuid: 8.3.2 dev: false - /@azure/identity/1.2.5_debug@4.3.4: + /@azure/identity/1.2.5_debug@4.3.3: resolution: {integrity: sha512-Q71Buur3RMcg6lCnisLL8Im562DBw+ybzgm+YQj/FbAaI8ZNu/zl/5z1fE4k3Q9LSIzYrz6HLRzlhdSBXpydlQ==} engines: {node: '>=8.0.0'} dependencies: - '@azure/core-http': 1.2.3 + '@azure/core-http': 1.2.6 '@azure/core-tracing': 1.0.0-preview.9 '@azure/logger': 1.0.3 - '@azure/msal-node': 1.0.0-beta.6_debug@4.3.4 + '@azure/msal-node': 1.0.0-beta.6_debug@4.3.3 '@opentelemetry/api': 0.10.2 '@types/stoppable': 1.1.1 - axios: 0.21.4_debug@4.3.4 + axios: 0.21.4_debug@4.3.3 events: 3.3.0 jws: 4.0.0 - msal: 1.4.16 + msal: 1.4.15 open: 7.4.2 qs: 6.10.3 stoppable: 1.1.0 tslib: 2.3.1 uuid: 8.3.2 optionalDependencies: - keytar: 7.9.0 + keytar: 7.8.0 transitivePeerDependencies: - debug - encoding @@ -993,13 +1053,13 @@ packages: '@azure/abort-controller': 1.0.4 '@azure/core-auth': 1.3.2 '@azure/core-client': 1.5.0 - '@azure/core-rest-pipeline': 1.8.0 + '@azure/core-rest-pipeline': 1.5.0 '@azure/core-tracing': 1.0.0-preview.13 '@azure/core-util': 1.0.0-beta.1 '@azure/logger': 1.0.3 - '@azure/msal-browser': 2.23.0 + '@azure/msal-browser': 2.21.0 '@azure/msal-common': 4.5.1 - '@azure/msal-node': 1.8.0 + '@azure/msal-node': 1.5.0 events: 3.3.0 jws: 4.0.0 open: 8.4.0 @@ -1011,20 +1071,20 @@ packages: - supports-color dev: false - /@azure/identity/2.0.4_debug@4.3.4: + /@azure/identity/2.0.4_debug@4.3.3: resolution: {integrity: sha512-ZgFubAsmo7dji63NLPaot6O7pmDfceAUPY57uphSCr0hmRj+Cakqb4SUz5SohCHFtscrhcmejRU903Fowz6iXg==} engines: {node: '>=12.0.0'} dependencies: '@azure/abort-controller': 1.0.4 '@azure/core-auth': 1.3.2 '@azure/core-client': 1.5.0 - '@azure/core-rest-pipeline': 1.8.0 + '@azure/core-rest-pipeline': 1.5.0 '@azure/core-tracing': 1.0.0-preview.13 '@azure/core-util': 1.0.0-beta.1 '@azure/logger': 1.0.3 - '@azure/msal-browser': 2.23.0 + '@azure/msal-browser': 2.21.0 '@azure/msal-common': 4.5.1 - '@azure/msal-node': 1.8.0_debug@4.3.4 + '@azure/msal-node': 1.5.0_debug@4.3.3 events: 3.3.0 jws: 4.0.0 open: 8.4.0 @@ -1036,13 +1096,13 @@ packages: - supports-color dev: false - /@azure/keyvault-certificates/4.4.0: - resolution: {integrity: sha512-42RSptwsDTfMYREnlYZgj85wMj5SyVhtsP2wQePq/k1s7MUKlX3dygCLkkVVJ6rpi1ivQZItwQ/grYu4Zek7TQ==} + /@azure/keyvault-certificates/4.3.0: + resolution: {integrity: sha512-wCceKxgorRupYqx8jmWkyCiBmEfOo3VXONYp4eyDhXt/MfaYf0YF5O829Ft6EFQLf6D9CQMc2maZgCMOajaeOA==} engines: {node: '>=12.0.0'} dependencies: '@azure/abort-controller': 1.0.4 '@azure/core-http': 2.2.4 - '@azure/core-lro': 2.2.4 + '@azure/core-lro': 2.2.3 '@azure/core-paging': 1.2.1 '@azure/core-tracing': 1.0.0-preview.13 '@azure/logger': 1.0.3 @@ -1066,13 +1126,13 @@ packages: - encoding dev: false - /@azure/keyvault-keys/4.4.0: - resolution: {integrity: sha512-W9sPZebXYa3aar7BGIA+fAsq/sy1nf2TZAETbkv7DRawzVLrWv8QoVVceqNHjy3cigT4HNxXjaPYCI49ez5CUA==} - engines: {node: '>=12.0.0'} + /@azure/keyvault-keys/4.3.0: + resolution: {integrity: sha512-OEosl0/rE/mKD5Ji9KaQN7UH+yQnV5MS0MRhGqQIiJrG+qAvAla0MYudJzv3XvBlplpGk0+MVgyL9H3KX/UAwQ==} + engines: {node: '>=8.0.0'} dependencies: '@azure/abort-controller': 1.0.4 '@azure/core-http': 2.2.4 - '@azure/core-lro': 2.2.4 + '@azure/core-lro': 2.2.3 '@azure/core-paging': 1.2.1 '@azure/core-tracing': 1.0.0-preview.13 '@azure/logger': 1.0.3 @@ -1087,7 +1147,7 @@ packages: dependencies: '@azure/abort-controller': 1.0.4 '@azure/core-http': 2.2.4 - '@azure/core-lro': 2.2.4 + '@azure/core-lro': 2.2.3 '@azure/core-paging': 1.2.1 '@azure/core-tracing': 1.0.0-preview.13 '@azure/logger': 1.0.3 @@ -1124,8 +1184,8 @@ packages: - encoding dev: false - /@azure/ms-rest-js/2.6.1: - resolution: {integrity: sha512-LLi4jRe/qy5IM8U2CkoDgSZp2OH+MgDe2wePmhz8uY84Svc53EhHaamVyoU6BjjHBxvCRh1vcD1urJDccrxqIw==} + /@azure/ms-rest-js/2.6.0: + resolution: {integrity: sha512-4C5FCtvEzWudblB+h92/TYYPiq7tuElX8icVYToxOdggnYqeec4Se14mjse5miInKtZahiFHdl8lZA/jziEc5g==} dependencies: '@azure/core-auth': 1.3.2 abort-controller: 3.0.0 @@ -1140,18 +1200,20 @@ packages: - encoding dev: false - /@azure/msal-browser/2.23.0: - resolution: {integrity: sha512-qxyWmsP/pf+xJFEhMgiJ0r1v6TjF+x8iMWYU5R63Lb/fjQfKalaNX9f5D6GbJYJS5s9OF3abtdGtB/Lxea15mQ==} + /@azure/msal-browser/2.21.0: + resolution: {integrity: sha512-y+oAUJJ0m7gRUT505iGT4SDXktrRzOE3HZC0+nQyHDI+3O7BKK5NjQUwD/4V8FNNyrhxEtLk99iwJEo61epinQ==} engines: {node: '>=0.8.0'} dependencies: - '@azure/msal-common': 6.2.0 + '@azure/msal-common': 6.0.0 + transitivePeerDependencies: + - supports-color dev: false /@azure/msal-common/4.5.1: resolution: {integrity: sha512-/i5dXM+QAtO+6atYd5oHGBAx48EGSISkXNXViheliOQe+SIFMDo3gSq3lL54W0suOSAsVPws3XnTaIHlla0PIQ==} engines: {node: '>=0.8.0'} dependencies: - debug: 4.3.4 + debug: 4.3.3 transitivePeerDependencies: - supports-color dev: false @@ -1160,14 +1222,18 @@ packages: resolution: {integrity: sha512-oVc4soy5MEZOp9NvCDqBk57mtiUTJXQQ8Z8S/4UiRQP8RG8snuCFQUs9xxdIfvl2FWIvgiBz+SMByyjTaRX42Q==} engines: {node: '>=0.8.0'} dependencies: - debug: 4.3.4 + debug: 4.3.3 transitivePeerDependencies: - supports-color dev: false - /@azure/msal-common/6.2.0: - resolution: {integrity: sha512-SU2/vfbKn1WvtKM8tsBKZAbmRJvO8E3H773ZT0GGKuO9rwLfxP5qOzTHV5crCEm8DgvL/IppmWh2lsUFieDi1A==} + /@azure/msal-common/6.0.0: + resolution: {integrity: sha512-Vva3snqmWPHJNDCBb4lz3D0rvZsi/0QikAxHvVFNwtNg5pP4NZE4U34tNiXN+m9KhlQFrZBPkE5rk7dIEOGcWw==} engines: {node: '>=0.8.0'} + dependencies: + debug: 4.3.3 + transitivePeerDependencies: + - supports-color dev: false /@azure/msal-node-extensions/1.0.0-alpha.13: @@ -1177,17 +1243,17 @@ packages: dependencies: '@azure/msal-common': 5.2.0 bindings: github.com/samuelkubai/node-bindings/3a5a099ed0178b65079ce18e11fccc7130e0af1e - keytar: 7.9.0 + keytar: 7.8.0 nan: 2.15.0 transitivePeerDependencies: - supports-color dev: false - /@azure/msal-node/1.0.0-beta.6_debug@4.3.4: + /@azure/msal-node/1.0.0-beta.6_debug@4.3.3: resolution: {integrity: sha512-ZQI11Uz1j0HJohb9JZLRD8z0moVcPks1AFW4Q/Gcl67+QvH4aKEJti7fjCcipEEZYb/qzLSO8U6IZgPYytsiJQ==} dependencies: '@azure/msal-common': 4.5.1 - axios: 0.21.4_debug@4.3.4 + axios: 0.21.4_debug@4.3.3 jsonwebtoken: 8.5.1 uuid: 8.3.2 transitivePeerDependencies: @@ -1195,13 +1261,12 @@ packages: - supports-color dev: false - /@azure/msal-node/1.8.0: - resolution: {integrity: sha512-rA5KzhvNuNef6Bzap8Sm/LbuesvA1yY2dj/W+QZuKMtT5nboZ4n4w8LRjwMMxucvYfizybPbLGTFpbq2IJtOfQ==} + /@azure/msal-node/1.5.0: + resolution: {integrity: sha512-FiCra/3ZyLXSQltoI9ndeN/lvXsPsFDsqVKgH7SWXVQjL3OpEXiqKkj0CB2UWGCk1U6bZGMJfkUZCXzhMQTObQ==} engines: {node: 10 || 12 || 14 || 16} dependencies: - '@azure/msal-common': 6.2.0 + '@azure/msal-common': 6.0.0 axios: 0.21.4 - https-proxy-agent: 5.0.0 jsonwebtoken: 8.5.1 uuid: 8.3.2 transitivePeerDependencies: @@ -1209,13 +1274,12 @@ packages: - supports-color dev: false - /@azure/msal-node/1.8.0_debug@4.3.4: - resolution: {integrity: sha512-rA5KzhvNuNef6Bzap8Sm/LbuesvA1yY2dj/W+QZuKMtT5nboZ4n4w8LRjwMMxucvYfizybPbLGTFpbq2IJtOfQ==} + /@azure/msal-node/1.5.0_debug@4.3.3: + resolution: {integrity: sha512-FiCra/3ZyLXSQltoI9ndeN/lvXsPsFDsqVKgH7SWXVQjL3OpEXiqKkj0CB2UWGCk1U6bZGMJfkUZCXzhMQTObQ==} engines: {node: 10 || 12 || 14 || 16} dependencies: - '@azure/msal-common': 6.2.0 - axios: 0.21.4_debug@4.3.4 - https-proxy-agent: 5.0.0 + '@azure/msal-common': 6.0.0 + axios: 0.21.4_debug@4.3.3 jsonwebtoken: 8.5.1 uuid: 8.3.2 transitivePeerDependencies: @@ -1230,7 +1294,7 @@ packages: '@azure/core-auth': 1.3.2 '@azure/core-client': 1.5.0 '@azure/core-paging': 1.2.1 - '@azure/core-rest-pipeline': 1.8.0 + '@azure/core-rest-pipeline': 1.5.0 '@azure/core-tracing': 1.0.0-preview.13 '@azure/logger': 1.0.3 events: 3.3.0 @@ -1239,13 +1303,13 @@ packages: - supports-color dev: false - /@azure/service-bus/7.5.1: - resolution: {integrity: sha512-fIbI5aJDzN2HctcS+3i7rXY3L5jWG7/SuXOq0cMpwy+aH5aHOZVoxX8eeSnUnr2jUpUflU1wJ9yiYZ/sXqZvqw==} + /@azure/service-bus/7.4.0: + resolution: {integrity: sha512-dznAohud/t7qT4KuQ9LsJ7ZKRpecXbunpCJi+kcfqA6aY1ffB2gYXg8odMJoIZPcxLBZiBvJIXp5P9y5IhEMgg==} engines: {node: '>=12.0.0'} dependencies: '@azure/abort-controller': 1.0.4 '@azure/core-amqp': 3.1.0 - '@azure/core-asynciterator-polyfill': 1.0.2 + '@azure/core-asynciterator-polyfill': 1.0.0 '@azure/core-auth': 1.3.2 '@azure/core-http': 2.2.4 '@azure/core-paging': 1.2.1 @@ -1264,49 +1328,79 @@ packages: - encoding dev: false + /@azure/storage-blob/12.8.0: + resolution: {integrity: sha512-c8+Wz19xauW0bGkTCoqZH4dYfbtBniPiGiRQOn1ca6G5jsjr4azwaTk9gwjVY8r3vY2Taf95eivLzipfIfiS4A==} + engines: {node: '>=12.0.0'} + dependencies: + '@azure/abort-controller': 1.0.4 + '@azure/core-http': 2.2.4 + '@azure/core-lro': 2.2.3 + '@azure/core-paging': 1.2.1 + '@azure/core-tracing': 1.0.0-preview.13 + '@azure/logger': 1.0.3 + events: 3.3.0 + tslib: 2.3.1 + transitivePeerDependencies: + - encoding + dev: false + + /@azure/storage-queue/12.7.0: + resolution: {integrity: sha512-yS27do9Dn3ohaOHWIwZfyu+I3gG0QJWNCl+qTLmsyWxBz5KO3O+clQ+NYo9tvovPBkBftf3kY2K705AeH0o0SQ==} + engines: {node: '>=12.0.0'} + dependencies: + '@azure/abort-controller': 1.0.4 + '@azure/core-http': 2.2.4 + '@azure/core-paging': 1.2.1 + '@azure/core-tracing': 1.0.0-preview.13 + '@azure/logger': 1.0.3 + tslib: 2.3.1 + transitivePeerDependencies: + - encoding + dev: false + /@babel/code-frame/7.12.11: resolution: {integrity: sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==} dependencies: - '@babel/highlight': 7.17.9 + '@babel/highlight': 7.16.10 dev: false /@babel/code-frame/7.16.7: resolution: {integrity: sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/highlight': 7.17.9 + '@babel/highlight': 7.16.10 dev: false - /@babel/compat-data/7.17.7: - resolution: {integrity: sha512-p8pdE6j0a29TNGebNm7NzYZWB3xVZJBZ7XGs42uAKzQo8VQ3F0By/cQCtUEABwIqw5zo6WA4NbmxsfzADzMKnQ==} + /@babel/compat-data/7.17.0: + resolution: {integrity: sha512-392byTlpGWXMv4FbyWw3sAZ/FrW/DrwqLGXpy0mbyNe9Taqv1mg9yON5/o0cnr8XYCkFTZbC1eV+c+LAROgrng==} engines: {node: '>=6.9.0'} dev: false - /@babel/core/7.17.9: - resolution: {integrity: sha512-5ug+SfZCpDAkVp9SFIZAzlW18rlzsOcJGaetCjkySnrXXDUw9AR8cDUm1iByTmdWM6yxX6/zycaV76w3YTF2gw==} + /@babel/core/7.17.0: + resolution: {integrity: sha512-x/5Ea+RO5MvF9ize5DeVICJoVrNv0Mi2RnIABrZEKYvPEpldXwauPkgvYA17cKa6WpU3LoYvYbuEMFtSNFsarA==} engines: {node: '>=6.9.0'} dependencies: - '@ampproject/remapping': 2.1.2 + '@ampproject/remapping': 2.1.0 '@babel/code-frame': 7.16.7 - '@babel/generator': 7.17.9 - '@babel/helper-compilation-targets': 7.17.7_@babel+core@7.17.9 - '@babel/helper-module-transforms': 7.17.7 - '@babel/helpers': 7.17.9 - '@babel/parser': 7.17.9 + '@babel/generator': 7.17.0 + '@babel/helper-compilation-targets': 7.16.7_@babel+core@7.17.0 + '@babel/helper-module-transforms': 7.16.7 + '@babel/helpers': 7.17.0 + '@babel/parser': 7.17.0 '@babel/template': 7.16.7 - '@babel/traverse': 7.17.9 + '@babel/traverse': 7.17.0 '@babel/types': 7.17.0 convert-source-map: 1.8.0 - debug: 4.3.4 + debug: 4.3.3 gensync: 1.0.0-beta.2 - json5: 2.2.1 + json5: 2.2.0 semver: 6.3.0 transitivePeerDependencies: - supports-color dev: false - /@babel/generator/7.17.9: - resolution: {integrity: sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ==} + /@babel/generator/7.17.0: + resolution: {integrity: sha512-I3Omiv6FGOC29dtlZhkfXO6pgkmukJSlT26QjVvS1DGZe/NzSVCPG41X0tS21oZkJYlovfj9qDWgKP+Cn4bXxw==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.17.0 @@ -1314,16 +1408,16 @@ packages: source-map: 0.5.7 dev: false - /@babel/helper-compilation-targets/7.17.7_@babel+core@7.17.9: - resolution: {integrity: sha512-UFzlz2jjd8kroj0hmCFV5zr+tQPi1dpC2cRsDV/3IEW8bJfCPrPpmcSN6ZS8RqIq4LXcmpipCQFPddyFA5Yc7w==} + /@babel/helper-compilation-targets/7.16.7_@babel+core@7.17.0: + resolution: {integrity: sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/compat-data': 7.17.7 - '@babel/core': 7.17.9 + '@babel/compat-data': 7.17.0 + '@babel/core': 7.17.0 '@babel/helper-validator-option': 7.16.7 - browserslist: 4.20.2 + browserslist: 4.19.1 semver: 6.3.0 dev: false @@ -1334,14 +1428,22 @@ packages: '@babel/types': 7.17.0 dev: false - /@babel/helper-function-name/7.17.9: - resolution: {integrity: sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==} + /@babel/helper-function-name/7.16.7: + resolution: {integrity: sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==} engines: {node: '>=6.9.0'} dependencies: + '@babel/helper-get-function-arity': 7.16.7 '@babel/template': 7.16.7 '@babel/types': 7.17.0 dev: false + /@babel/helper-get-function-arity/7.16.7: + resolution: {integrity: sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.17.0 + dev: false + /@babel/helper-hoist-variables/7.16.7: resolution: {integrity: sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==} engines: {node: '>=6.9.0'} @@ -1356,24 +1458,24 @@ packages: '@babel/types': 7.17.0 dev: false - /@babel/helper-module-transforms/7.17.7: - resolution: {integrity: sha512-VmZD99F3gNTYB7fJRDTi+u6l/zxY0BE6OIxPSU7a50s6ZUQkHwSDmV92FfM+oCG0pZRVojGYhkR8I0OGeCVREw==} + /@babel/helper-module-transforms/7.16.7: + resolution: {integrity: sha512-gaqtLDxJEFCeQbYp9aLAefjhkKdjKcdh6DB7jniIGU3Pz52WAmP268zK0VgPz9hUNkMSYeH976K2/Y6yPadpng==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-environment-visitor': 7.16.7 '@babel/helper-module-imports': 7.16.7 - '@babel/helper-simple-access': 7.17.7 + '@babel/helper-simple-access': 7.16.7 '@babel/helper-split-export-declaration': 7.16.7 '@babel/helper-validator-identifier': 7.16.7 '@babel/template': 7.16.7 - '@babel/traverse': 7.17.9 + '@babel/traverse': 7.17.0 '@babel/types': 7.17.0 transitivePeerDependencies: - supports-color dev: false - /@babel/helper-simple-access/7.17.7: - resolution: {integrity: sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA==} + /@babel/helper-simple-access/7.16.7: + resolution: {integrity: sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.17.0 @@ -1396,19 +1498,19 @@ packages: engines: {node: '>=6.9.0'} dev: false - /@babel/helpers/7.17.9: - resolution: {integrity: sha512-cPCt915ShDWUEzEp3+UNRktO2n6v49l5RSnG9M5pS24hA+2FAc5si+Pn1i4VVbQQ+jh+bIZhPFQOJOzbrOYY1Q==} + /@babel/helpers/7.17.0: + resolution: {integrity: sha512-Xe/9NFxjPwELUvW2dsukcMZIp6XwPSbI4ojFBJuX5ramHuVE22SVcZIwqzdWo5uCgeTXW8qV97lMvSOjq+1+nQ==} engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.16.7 - '@babel/traverse': 7.17.9 + '@babel/traverse': 7.17.0 '@babel/types': 7.17.0 transitivePeerDependencies: - supports-color dev: false - /@babel/highlight/7.17.9: - resolution: {integrity: sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg==} + /@babel/highlight/7.16.10: + resolution: {integrity: sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-validator-identifier': 7.16.7 @@ -1416,14 +1518,14 @@ packages: js-tokens: 4.0.0 dev: false - /@babel/parser/7.17.9: - resolution: {integrity: sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg==} + /@babel/parser/7.17.0: + resolution: {integrity: sha512-VKXSCQx5D8S04ej+Dqsr1CzYvvWgf20jIw2D+YhQCrIlr2UZGaDds23Y0xg75/skOxpLCRpUZvk/1EAVkGoDOw==} engines: {node: '>=6.0.0'} hasBin: true dev: false - /@babel/runtime/7.17.9: - resolution: {integrity: sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==} + /@babel/runtime/7.17.0: + resolution: {integrity: sha512-etcO/ohMNaNA2UBdaXBBSX/3aEzFMRrVfaPv8Ptc0k+cWpWW0QFiGZ2XnVqQZI1Cf734LbPGmqBKWESfW4x/dQ==} engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.13.9 @@ -1434,23 +1536,23 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.16.7 - '@babel/parser': 7.17.9 + '@babel/parser': 7.17.0 '@babel/types': 7.17.0 dev: false - /@babel/traverse/7.17.9: - resolution: {integrity: sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw==} + /@babel/traverse/7.17.0: + resolution: {integrity: sha512-fpFIXvqD6kC7c7PUNnZ0Z8cQXlarCLtCUpt2S1Dx7PjoRtCFffvOkHHSom+m5HIxMZn5bIBVb71lhabcmjEsqg==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.16.7 - '@babel/generator': 7.17.9 + '@babel/generator': 7.17.0 '@babel/helper-environment-visitor': 7.16.7 - '@babel/helper-function-name': 7.17.9 + '@babel/helper-function-name': 7.16.7 '@babel/helper-hoist-variables': 7.16.7 '@babel/helper-split-export-declaration': 7.16.7 - '@babel/parser': 7.17.9 + '@babel/parser': 7.17.0 '@babel/types': 7.17.0 - debug: 4.3.4 + debug: 4.3.3 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -1464,9 +1566,12 @@ packages: to-fast-properties: 2.0.0 dev: false - /@colors/colors/1.5.0: - resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} - engines: {node: '>=0.1.90'} + /@bahmutov/data-driven/1.0.0: + resolution: {integrity: sha512-YqW3hPS0RXriqjcCrLOTJj+LWe3c8JpwlL83k1ka1Q8U05ZjAKbGQZYeTzUd0NFEnnfPtsUiKGpFEBJG6kFuvg==} + engines: {node: '>=6'} + dependencies: + check-more-types: 2.24.0 + lazy-ass: 1.6.0 dev: false /@cspotcode/source-map-consumer/0.8.0: @@ -1486,13 +1591,13 @@ packages: engines: {node: ^10.12.0 || >=12.0.0} dependencies: ajv: 6.12.6 - debug: 4.3.4 + debug: 4.3.3 espree: 7.3.1 - globals: 13.13.0 + globals: 13.12.1 ignore: 4.0.6 import-fresh: 3.3.0 js-yaml: 3.14.1 - minimatch: 3.1.2 + minimatch: 3.0.5 strip-json-comments: 3.1.1 transitivePeerDependencies: - supports-color @@ -1503,8 +1608,8 @@ packages: engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.4 - minimatch: 3.1.2 + debug: 4.3.3 + minimatch: 3.0.5 transitivePeerDependencies: - supports-color dev: false @@ -1529,28 +1634,28 @@ packages: engines: {node: '>=8'} dev: false - /@jridgewell/resolve-uri/3.0.5: - resolution: {integrity: sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==} + /@jridgewell/resolve-uri/3.0.4: + resolution: {integrity: sha512-cz8HFjOFfUBtvN+NXYSFMHYRdxZMaEl0XypVrhzxBgadKIXhIkRd8aMeHhmF56Sl7SuS8OnUpQ73/k9LE4VnLg==} engines: {node: '>=6.0.0'} dev: false - /@jridgewell/sourcemap-codec/1.4.11: - resolution: {integrity: sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==} + /@jridgewell/sourcemap-codec/1.4.10: + resolution: {integrity: sha512-Ht8wIW5v165atIX1p+JvKR5ONzUyF4Ac8DZIQ5kZs9zrb6M8SJNXpx1zn04rn65VjBMygRoMXcyYwNK0fT7bEg==} dev: false - /@jridgewell/trace-mapping/0.3.4: - resolution: {integrity: sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ==} + /@jridgewell/trace-mapping/0.3.2: + resolution: {integrity: sha512-9KzzH4kMjA2XmBRHfqG2/Vtl7s92l6uNDd0wW7frDE+EUvQFGqNXhWp0UGJjSkt3v2AYjzOZn1QO9XaTNJIt1Q==} dependencies: - '@jridgewell/resolve-uri': 3.0.5 - '@jridgewell/sourcemap-codec': 1.4.11 + '@jridgewell/resolve-uri': 3.0.4 + '@jridgewell/sourcemap-codec': 1.4.10 dev: false - /@microsoft/api-extractor-model/7.16.1: - resolution: {integrity: sha512-+1mlvy/ji+mUuH7WdVZ6fTo/aCKfS6m37aAFVOFWLfkMvmR+I9SjPfiv9qOg83If7GOrk2HPiHHibv6kA80VTg==} + /@microsoft/api-extractor-model/7.15.3: + resolution: {integrity: sha512-NkSjolmSI7NGvbdz0Y7kjQfdpD+j9E5CwXTxEyjDqxd10MI7GXV8DnAsQ57GFJcgHKgTjf2aUnYfMJ9w3aMicw==} dependencies: '@microsoft/tsdoc': 0.13.2 '@microsoft/tsdoc-config': 0.15.2 - '@rushstack/node-core-library': 3.45.2 + '@rushstack/node-core-library': 3.45.0 dev: false /@microsoft/api-extractor-model/7.7.10: @@ -1560,20 +1665,20 @@ packages: '@rushstack/node-core-library': 3.19.6 dev: false - /@microsoft/api-extractor/7.21.2: - resolution: {integrity: sha512-m0+YPaXVou01O/V9swugZG7Gn4mw6HSWY+uisf0j2JPRZcoEDyoYe4hg0ERKXOEf0hByOnMLT28nQ82v8ig9Yw==} + /@microsoft/api-extractor/7.19.4: + resolution: {integrity: sha512-iehC6YA3DGJvxTUaK7HUtQmP6hAQU07+Q/OR8TG4dVR6KpqCi9UPEVk8AgCvQkiK+6FbVEFQTx0qLuYk4EeuHg==} hasBin: true dependencies: - '@microsoft/api-extractor-model': 7.16.1 + '@microsoft/api-extractor-model': 7.15.3 '@microsoft/tsdoc': 0.13.2 '@microsoft/tsdoc-config': 0.15.2 - '@rushstack/node-core-library': 3.45.2 - '@rushstack/rig-package': 0.3.9 - '@rushstack/ts-command-line': 4.10.8 + '@rushstack/node-core-library': 3.45.0 + '@rushstack/rig-package': 0.3.7 + '@rushstack/ts-command-line': 4.10.6 colors: 1.2.5 lodash: 4.17.21 resolve: 1.17.0 - semver: 7.3.6 + semver: 7.3.5 source-map: 0.6.1 typescript: 4.5.5 dev: false @@ -1602,15 +1707,6 @@ packages: resolve: 1.19.0 dev: false - /@microsoft/tsdoc-config/0.16.1: - resolution: {integrity: sha512-2RqkwiD4uN6MLnHFljqBlZIXlt/SaUT6cuogU1w2ARw4nKuuppSmR0+s+NC+7kXBQykd9zzu0P4HtBpZT5zBpQ==} - dependencies: - '@microsoft/tsdoc': 0.14.1 - ajv: 6.12.6 - jju: 1.4.0 - resolve: 1.19.0 - dev: false - /@microsoft/tsdoc/0.12.19: resolution: {integrity: sha512-IpgPxHrNxZiMNUSXqR1l/gePKPkfAmIKoDRP9hp7OwjU29ZR8WCJsOJ8iBKgw0Qk+pFwR+8Y1cy8ImLY6e9m4A==} dev: false @@ -1619,10 +1715,6 @@ packages: resolution: {integrity: sha512-WrHvO8PDL8wd8T2+zBGKrMwVL5IyzR3ryWUsl0PXgEV0QHup4mTLi0QcATefGI6Gx9Anu7vthPyyyLpY0EpiQg==} dev: false - /@microsoft/tsdoc/0.14.1: - resolution: {integrity: sha512-6Wci+Tp3CgPt/B9B0a3J4s3yMgLNSku6w5TV6mN+61C71UqsRBv2FUibBf3tPGlNxebgPHMEUzKpb1ggE8KCKw==} - dev: false - /@nodelib/fs.scandir/2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -1702,7 +1794,7 @@ packages: dependencies: '@opentelemetry/api': 1.0.4 '@opentelemetry/semantic-conventions': 0.22.0 - semver: 7.3.6 + semver: 7.3.5 dev: false /@opentelemetry/core/0.24.0_@opentelemetry+api@1.0.4: @@ -1713,7 +1805,7 @@ packages: dependencies: '@opentelemetry/api': 1.0.4 '@opentelemetry/semantic-conventions': 0.24.0 - semver: 7.3.6 + semver: 7.3.5 dev: false /@opentelemetry/core/1.0.1_@opentelemetry+api@1.0.4: @@ -1736,7 +1828,7 @@ packages: '@opentelemetry/core': 1.0.1_@opentelemetry+api@1.0.4 '@opentelemetry/instrumentation': 0.27.0_@opentelemetry+api@1.0.4 '@opentelemetry/semantic-conventions': 1.0.1 - semver: 7.3.6 + semver: 7.3.5 transitivePeerDependencies: - supports-color dev: false @@ -1749,7 +1841,7 @@ packages: '@opentelemetry/api': 1.0.4 '@opentelemetry/api-metrics': 0.27.0 require-in-the-middle: 5.1.0 - semver: 7.3.6 + semver: 7.3.5 shimmer: 1.2.1 transitivePeerDependencies: - supports-color @@ -1768,7 +1860,7 @@ packages: '@opentelemetry/propagator-b3': 0.24.0_@opentelemetry+api@1.0.4 '@opentelemetry/propagator-jaeger': 0.24.0_@opentelemetry+api@1.0.4 '@opentelemetry/tracing': 0.24.0_@opentelemetry+api@1.0.4 - semver: 7.3.6 + semver: 7.3.5 dev: false /@opentelemetry/propagator-b3/0.24.0_@opentelemetry+api@1.0.4: @@ -1868,7 +1960,7 @@ packages: '@opentelemetry/propagator-b3': 1.0.1_@opentelemetry+api@1.0.4 '@opentelemetry/propagator-jaeger': 1.0.1_@opentelemetry+api@1.0.4 '@opentelemetry/sdk-trace-base': 1.0.1_@opentelemetry+api@1.0.4 - semver: 7.3.6 + semver: 7.3.5 dev: false /@opentelemetry/semantic-conventions/0.22.0: @@ -1923,52 +2015,36 @@ packages: '@rollup/pluginutils': 3.1.0_rollup@1.32.1 estree-walker: 1.0.1 is-reference: 1.2.1 - magic-string: 0.25.9 + magic-string: 0.25.7 resolve: 1.22.0 rollup: 1.32.1 dev: false - /@rollup/plugin-commonjs/21.0.1_rollup@2.70.1: + /@rollup/plugin-commonjs/21.0.1_rollup@2.67.1: resolution: {integrity: sha512-EA+g22lbNJ8p5kuZJUYyhhDK7WgJckW5g4pNN7n4mAFUM96VuwUnNT3xr2Db2iCZPI1pJPbGyfT5mS9T1dHfMg==} engines: {node: '>= 8.0.0'} peerDependencies: rollup: ^2.38.3 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.1 + '@rollup/pluginutils': 3.1.0_rollup@2.67.1 commondir: 1.0.1 estree-walker: 2.0.2 glob: 7.2.0 is-reference: 1.2.1 - magic-string: 0.25.9 + magic-string: 0.25.7 resolve: 1.22.0 - rollup: 2.70.1 + rollup: 2.67.1 dev: false - /@rollup/plugin-commonjs/21.0.3_rollup@2.70.1: - resolution: {integrity: sha512-ThGfwyvcLc6cfP/MWxA5ACF+LZCvsuhUq7V5134Az1oQWsiC7lNpLT4mJI86WQunK7BYmpUiHmMk2Op6OAHs0g==} - engines: {node: '>= 8.0.0'} - peerDependencies: - rollup: ^2.38.3 - dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.1 - commondir: 1.0.1 - estree-walker: 2.0.2 - glob: 7.2.0 - is-reference: 1.2.1 - magic-string: 0.25.9 - resolve: 1.22.0 - rollup: 2.70.1 - dev: false - - /@rollup/plugin-inject/4.0.4_rollup@2.70.1: + /@rollup/plugin-inject/4.0.4_rollup@2.67.1: resolution: {integrity: sha512-4pbcU4J/nS+zuHk+c+OL3WtmEQhqxlZ9uqfjQMQDOHOPld7PsCd8k5LWs8h5wjwJN7MgnAn768F2sDxEP4eNFQ==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.1 + '@rollup/pluginutils': 3.1.0_rollup@2.67.1 estree-walker: 2.0.2 - magic-string: 0.25.9 - rollup: 2.70.1 + magic-string: 0.25.7 + rollup: 2.67.1 dev: false /@rollup/plugin-json/4.1.0_rollup@1.32.1: @@ -1980,13 +2056,13 @@ packages: rollup: 1.32.1 dev: false - /@rollup/plugin-json/4.1.0_rollup@2.70.1: + /@rollup/plugin-json/4.1.0_rollup@2.67.1: resolution: {integrity: sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.1 - rollup: 2.70.1 + '@rollup/pluginutils': 3.1.0_rollup@2.67.1 + rollup: 2.67.1 dev: false /@rollup/plugin-multi-entry/3.0.1_rollup@1.32.1: @@ -1998,39 +2074,39 @@ packages: rollup: 1.32.1 dev: false - /@rollup/plugin-multi-entry/3.0.1_rollup@2.70.1: + /@rollup/plugin-multi-entry/3.0.1_rollup@2.67.1: resolution: {integrity: sha512-Gcp9E8y68Kx+Jo8zy/ZpiiAkb0W01cSqnxOz6h9bPR7MU3gaoTEdRf7xXYplwli1SBFEswXX588ESj+50Brfxw==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: matched: 1.0.2 - rollup: 2.70.1 + rollup: 2.67.1 dev: false - /@rollup/plugin-multi-entry/4.1.0_rollup@2.70.1: + /@rollup/plugin-multi-entry/4.1.0_rollup@2.67.1: resolution: {integrity: sha512-nellK5pr50W0JA2+bDJbG8F79GBP802J40YRoC0wyfpTAeAn5mJ4eaFiB/MN+YoX9hgb/6RJoZl9leDjZnUFKw==} engines: {node: '>=10.0.0'} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: - '@rollup/plugin-virtual': 2.1.0_rollup@2.70.1 + '@rollup/plugin-virtual': 2.0.3_rollup@2.67.1 matched: 5.0.1 - rollup: 2.70.1 + rollup: 2.67.1 dev: false - /@rollup/plugin-node-resolve/13.2.0_rollup@2.70.1: - resolution: {integrity: sha512-GuUIUyIKq7EjQxB51XSn6zPHYo+cILQQBYOGYvFFNxws2OVOqCBShAoof2hFrV8bAZzZGDBDQ8m2iUt8SLOUkg==} + /@rollup/plugin-node-resolve/13.1.3_rollup@2.67.1: + resolution: {integrity: sha512-BdxNk+LtmElRo5d06MGY4zoepyrXX1tkzX2hrnPEZ53k78GuOMWLqmJDGIIOPwVRIFZrLQOo+Yr6KtCuLIA0AQ==} engines: {node: '>= 10.0.0'} peerDependencies: rollup: ^2.42.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.1 + '@rollup/pluginutils': 3.1.0_rollup@2.67.1 '@types/resolve': 1.17.1 builtin-modules: 3.2.0 deepmerge: 4.2.2 is-module: 1.0.0 resolve: 1.22.0 - rollup: 2.70.1 + rollup: 2.67.1 dev: false /@rollup/plugin-node-resolve/8.4.0_rollup@1.32.1: @@ -2049,39 +2125,38 @@ packages: rollup: 1.32.1 dev: false - /@rollup/plugin-node-resolve/8.4.0_rollup@2.70.1: + /@rollup/plugin-node-resolve/8.4.0_rollup@2.67.1: resolution: {integrity: sha512-LFqKdRLn0ShtQyf6SBYO69bGE1upV6wUhBX0vFOUnLAyzx5cwp8svA0eHUnu8+YU57XOkrMtfG63QOpQx25pHQ==} engines: {node: '>= 8.0.0'} peerDependencies: rollup: ^1.20.0||^2.0.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.1 + '@rollup/pluginutils': 3.1.0_rollup@2.67.1 '@types/resolve': 1.17.1 builtin-modules: 3.2.0 deep-freeze: 0.0.1 deepmerge: 4.2.2 is-module: 1.0.0 resolve: 1.22.0 - rollup: 2.70.1 + rollup: 2.67.1 dev: false - /@rollup/plugin-replace/2.4.2_rollup@2.70.1: + /@rollup/plugin-replace/2.4.2_rollup@2.67.1: resolution: {integrity: sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.1 - magic-string: 0.25.9 - rollup: 2.70.1 + '@rollup/pluginutils': 3.1.0_rollup@2.67.1 + magic-string: 0.25.7 + rollup: 2.67.1 dev: false - /@rollup/plugin-virtual/2.1.0_rollup@2.70.1: - resolution: {integrity: sha512-CPPAtlKT53HFqC8jFHb/V5WErpU8Hrq2TyCR0A7kPQMlF2wNUf0o1xuAc+Qxj8NCZM0Z3Yvl+FbUXfJjVWqDwA==} - engines: {node: '>=8.0.0'} + /@rollup/plugin-virtual/2.0.3_rollup@2.67.1: + resolution: {integrity: sha512-pw6ziJcyjZtntQ//bkad9qXaBx665SgEL8C8KI5wO8G5iU5MPxvdWrQyVaAvjojGm9tJoS8M9Z/EEepbqieYmw==} peerDependencies: rollup: ^1.20.0||^2.0.0 dependencies: - rollup: 2.70.1 + rollup: 2.67.1 dev: false /@rollup/pluginutils/3.1.0_rollup@1.32.1: @@ -2096,7 +2171,7 @@ packages: rollup: 1.32.1 dev: false - /@rollup/pluginutils/3.1.0_rollup@2.70.1: + /@rollup/pluginutils/3.1.0_rollup@2.67.1: resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==} engines: {node: '>= 8.0.0'} peerDependencies: @@ -2105,7 +2180,7 @@ packages: '@types/estree': 0.0.39 estree-walker: 1.0.1 picomatch: 2.3.1 - rollup: 2.70.1 + rollup: 2.67.1 dev: false /@rushstack/node-core-library/3.19.6: @@ -2120,8 +2195,8 @@ packages: z-schema: 3.18.4 dev: false - /@rushstack/node-core-library/3.45.2: - resolution: {integrity: sha512-MJKdB6mxOoIkks3htGVCo7aiTzllm2I6Xua+KbTSb0cp7rBp8gTCOF/4d8R4HFMwpRdEdwzKgqMM6k9rAK73iw==} + /@rushstack/node-core-library/3.45.0: + resolution: {integrity: sha512-YMuIJl19vQT1+g/OU9mLY6T5ZBT9uDlmeXExDQACpGuxTJW+LHNbk/lRX+eCApQI2eLBlaL4U68r3kZlqwbdmw==} dependencies: '@types/node': 12.20.24 colors: 1.2.5 @@ -2129,20 +2204,20 @@ packages: import-lazy: 4.0.0 jju: 1.4.0 resolve: 1.17.0 - semver: 7.3.6 + semver: 7.3.5 timsort: 0.3.0 - z-schema: 5.0.3 + z-schema: 5.0.2 dev: false - /@rushstack/rig-package/0.3.9: - resolution: {integrity: sha512-z3Oxpfb4n9mGXwseX+ifpkmUf9B8Fy8oieVwg8eFgpCbzllkgOwEiwLKEnRWVQ8owFcd46NCKz+7ICH35CRsAw==} + /@rushstack/rig-package/0.3.7: + resolution: {integrity: sha512-pzMsTSeTC8IiZ6EJLr53gGMvhT4oLWH+hxD7907cHyWuIUlEXFtu/2pK25vUQT13nKp5DJCWxXyYoGRk/h6rtA==} dependencies: resolve: 1.17.0 strip-json-comments: 3.1.1 dev: false - /@rushstack/ts-command-line/4.10.8: - resolution: {integrity: sha512-G7CQYY/m3aZU5fVxbebv35yDeua7sSumrDAB2pJp0d60ZEsxGkUQW8771CeMcGWwSKqT9PxPzKpmIakiWv54sA==} + /@rushstack/ts-command-line/4.10.6: + resolution: {integrity: sha512-Y3GkUag39sTIlukDg9mUp8MCHrrlJ27POrBNRQGc/uF+VVgX8M7zMzHch5zP6O1QVquWgD7Engdpn2piPYaS/g==} dependencies: '@types/argparse': 1.0.38 argparse: 1.0.10 @@ -2170,6 +2245,12 @@ packages: '@sinonjs/commons': 1.8.3 dev: false + /@sinonjs/fake-timers/7.1.2: + resolution: {integrity: sha512-iQADsW4LBMISqZ6Ci1dupJL9pprqwcVFTcOsEmQOEhW+KLCVn/Y4Jrvg2k19fIHCp+iFprriYPTdRcQR8NbUPg==} + dependencies: + '@sinonjs/commons': 1.8.3 + dev: false + /@sinonjs/fake-timers/8.1.0: resolution: {integrity: sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==} dependencies: @@ -2238,11 +2319,11 @@ packages: resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} dependencies: '@types/connect': 3.4.35 - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false - /@types/chai-as-promised/7.1.5: - resolution: {integrity: sha512-jStwss93SITGBwt/niYrkf2C+/1KTeZCZl1LaeezTlqppAKeoQC7jxyqYuP72sxBGKCIbw7oHgbYssIRzT5FCQ==} + /@types/chai-as-promised/7.1.4: + resolution: {integrity: sha512-1y3L1cHePcIm5vXkh1DSGf/zQq5n5xDKG1fpCvf18+uOkpce0Z1ozNFPkyWsVswK7ntN1sZBw3oU6gmN+pDUcA==} dependencies: '@types/chai': 4.3.0 dev: false @@ -2264,14 +2345,14 @@ packages: /@types/concurrently/6.4.0: resolution: {integrity: sha512-CYU1eyFHsIa2IZIsb8gfUOdiewfnZcyM2Hg1Zaq95xnmB0Ix/bTRM8SttqZ2Cjy6JGPZLttHjZewVsDg1yvnJg==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 chalk: 4.1.2 dev: false /@types/connect/3.4.35: resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false /@types/cookie/0.4.1: @@ -2292,7 +2373,7 @@ packages: resolution: {integrity: sha512-pESyhSbUOskqrGcaN+bCXIQDyT5zTaRWfj5ZjjSlMatgGjIn3QQPfocAu4WSabUR7CGyLZ2CQaZyISOEX7/saw==} dependencies: '@types/estree': 0.0.51 - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.9 dev: false /@types/estree/0.0.39: @@ -2306,7 +2387,7 @@ packages: /@types/express-serve-static-core/4.17.28: resolution: {integrity: sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 dev: false @@ -2323,30 +2404,30 @@ packages: /@types/fs-extra/8.1.2: resolution: {integrity: sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false /@types/fs-extra/9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false /@types/glob/7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 3.0.5 - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false /@types/is-buffer/2.0.0: resolution: {integrity: sha512-0f7N/e3BAz32qDYvgB4d2cqv1DqUwvGxHkXsrucICn8la1Vb6Yl6Eg8mPScGwUiqHJeE7diXlzaK+QMA9m4Gxw==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false - /@types/json-schema/7.0.11: - resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} + /@types/json-schema/7.0.9: + resolution: {integrity: sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==} dev: false /@types/json5/0.0.29: @@ -2356,25 +2437,27 @@ packages: /@types/jsonwebtoken/8.5.8: resolution: {integrity: sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false /@types/jws/3.2.4: resolution: {integrity: sha512-aqtH4dPw1wUjFZaeMD1ak/pf8iXlu/odFe+trJrvw0g1sTh93i+SCykg0Ek8C6B7rVK3oBORbfZAsKO7P10etg==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false /@types/long/4.0.1: resolution: {integrity: sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==} dev: false - /@types/lru-cache/7.6.1: - resolution: {integrity: sha512-69x+Dhrm2aShFkTqUuPgUXbKYwvq4FH/DVeeQH7MBfTjbKjPX51NGLERxVV1vf33N71dzLvXCko4OLqRvsq53Q==} + /@types/lru-cache/7.4.0: + resolution: {integrity: sha512-jZ/Tb2/3vXw4VYd9AImFC/n6XT3WywZNAxwY8Ox9eM87M9ta9G7KzCx4aKo2Zllvr02k40eY328cjOO3WuK5Kw==} dev: false - /@types/md5/2.3.2: - resolution: {integrity: sha512-v+JFDu96+UYJ3/UWzB0mEglIS//MZXgRaJ4ubUPwOM0gvLc/kcQ3TWNYwENEK7/EcXGQVrW8h/XqednSjBd/Og==} + /@types/md5/2.3.1: + resolution: {integrity: sha512-OK3oe+ALIoPSo262lnhAYwpqFNXbiwH2a+0+Z5YBnkQEwWD8fk5+PIeRhYA48PzvX9I4SGNpWy+9bLj8qz92RQ==} + dependencies: + '@types/node': 17.0.15 dev: false /@types/mdast/3.0.10: @@ -2406,13 +2489,13 @@ packages: /@types/mock-fs/4.13.1: resolution: {integrity: sha512-m6nFAJ3lBSnqbvDZioawRvpLXSaPyn52Srf7OfzjubYbYX8MTUdIgDxQl0wEapm4m/pNYSd9TXocpQ0TvZFlYA==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false /@types/mock-require/2.0.1: resolution: {integrity: sha512-O7U5DVGboY/Crueb5/huUCIRjKtRVRaLmRDbZJBlDQgJn966z3aiFDN+6AtYviu2ExwMkl34LjT/IiC0OPtKuQ==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false /@types/ms/0.7.31: @@ -2423,10 +2506,10 @@ packages: resolution: {integrity: sha512-DPxmjiDwubsNmguG5X4fEJ+XCyzWM3GXWsqQlvUcjJKa91IOoJUy51meDr0GkzK64qqNcq85ymLlyjoct9tInw==} dev: false - /@types/node-fetch/2.6.1: - resolution: {integrity: sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA==} + /@types/node-fetch/2.5.12: + resolution: {integrity: sha512-MKgC4dlq4kKNa/mYrwpKfzQMB5X3ee5U6fSprkKpToBqBmX4nFZL9cW5jl6sWn+xpRJ7ypWh2yyqqr8UUCstSw==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 form-data: 3.0.1 dev: false @@ -2438,16 +2521,16 @@ packages: resolution: {integrity: sha512-yxDeaQIAJlMav7fH5AQqPH1u8YIuhYJXYBzxaQ4PifsU0GDO38MSdmEDeRlIxrKbC6NbEaaEHDanWb+y30U8SQ==} dev: false - /@types/node/12.20.47: - resolution: {integrity: sha512-BzcaRsnFuznzOItW1WpQrDHM7plAa7GIDMZ6b5pnMbkqEtM/6WCOhvZar39oeMQP79gwvFUWjjptE7/KGcNqFg==} + /@types/node/12.20.43: + resolution: {integrity: sha512-HCfJdaYqJX3BCzeihgZrD7b85Cu05OC/GVJ4kEYIflwUs4jbnUlLLWoq7hw1LBcdvUyehO+gr6P5JQ895/2ZfA==} dev: false - /@types/node/17.0.23: - resolution: {integrity: sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw==} + /@types/node/17.0.15: + resolution: {integrity: sha512-zWt4SDDv1S9WRBNxLFxFRHxdD9tvH8f5/kg5/IaLFdnSNXsDY4eL3Q3XXN+VxUnWIhyVFDwcsmAprvwXoM/ClA==} dev: false - /@types/prettier/2.6.0: - resolution: {integrity: sha512-G/AdOadiZhnJp0jXCaBQU449W2h716OW/EoXeYkCytxKL06X1WCXB4DZpp8TpZ8eyIJVS1cw4lrlkkSYU21cDw==} + /@types/prettier/2.4.3: + resolution: {integrity: sha512-QzSuZMBuG5u8HqYz01qtMdg/Jfctlnvj1z/lYnIDXs/golxw0fxtRAHd9KrzjR7Yxz1qVeI00o0kiO3PmVdJ9w==} dev: false /@types/priorityqueuejs/1.0.1: @@ -2465,7 +2548,7 @@ packages: /@types/resolve/1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 17.0.23 + '@types/node': 17.0.15 dev: false /@types/semaphore/1.1.1: @@ -2476,29 +2559,29 @@ packages: resolution: {integrity: sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==} dependencies: '@types/mime': 1.3.2 - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false - /@types/sinon/10.0.11: - resolution: {integrity: sha512-dmZsHlBsKUtBpHriNjlK0ndlvEh8dcb9uV9Afsbt89QIyydpC7NcR+nWlAhASfy3GHnxTl4FX/aKE7XZUt/B4g==} + /@types/sinon/10.0.10: + resolution: {integrity: sha512-US5E539UfeL2DiWALzCyk0c4zKh6sCv86V/0lpda/afMJJ0oEm2SrKgedH5optvFWstnJ8e1MNYhLmPhAy4rvQ==} dependencies: - '@types/sinonjs__fake-timers': 8.1.2 + '@sinonjs/fake-timers': 7.1.2 dev: false /@types/sinon/9.0.11: resolution: {integrity: sha512-PwP4UY33SeeVKodNE37ZlOsR9cReypbMJOhZ7BVE0lB+Hix3efCOxiJWiE5Ia+yL9Cn2Ch72EjFTRze8RZsNtg==} dependencies: - '@types/sinonjs__fake-timers': 8.1.2 + '@types/sinonjs__fake-timers': 8.1.1 dev: false - /@types/sinonjs__fake-timers/8.1.2: - resolution: {integrity: sha512-9GcLXF0/v3t80caGs5p2rRfkB+a8VBGLJZVih6CNFkx8IZ994wiKKLSRs9nuFwk1HevWs/1mnUmkApGrSGsShA==} + /@types/sinonjs__fake-timers/8.1.1: + resolution: {integrity: sha512-0kSuKjAS0TrGLJ0M/+8MaFkGsQhZpB6pxOmvS3K8FYI72K//YmdfoW9X2qPsAKh1mkwxGD5zib9s1FIFed6E8g==} dev: false /@types/stoppable/1.1.1: resolution: {integrity: sha512-b8N+fCADRIYYrGZOcmOR8ZNBOqhktWTB/bMUl5LvGtT201QKJZOOH5UsFyI3qtteM6ZAJbJqZoBcLqqxKIwjhw==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false /@types/tough-cookie/4.0.1: @@ -2508,13 +2591,13 @@ packages: /@types/tunnel/0.0.1: resolution: {integrity: sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false /@types/tunnel/0.0.3: resolution: {integrity: sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false /@types/underscore/1.11.4: @@ -2532,26 +2615,26 @@ packages: /@types/ws/7.4.7: resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false - /@types/ws/8.5.3: - resolution: {integrity: sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==} + /@types/ws/8.2.2: + resolution: {integrity: sha512-NOn5eIcgWLOo6qW8AcuLZ7G8PycXu0xTxxkS6Q18VWFxgPUSOwV0pBj2a/4viNZVu25i7RIB7GttdkAIUUXOOg==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false /@types/xml2js/0.4.9: resolution: {integrity: sha512-CHiCKIihl1pychwR2RNX5mAYmJDACgFVCMT5OArMaO3erzwXVcBqPcusr+Vl8yeeXukxZqtF8mZioqX+mpjjdw==} dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false - /@types/yauzl/2.10.0: - resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} + /@types/yauzl/2.9.2: + resolution: {integrity: sha512-8uALY5LTvSuHgloDVUvWP3pIauILm+8/0pDMokuDYIoNsOkSwd5AiHBTSEJjKTDcZr5z8UpgOWZkxBF4iJftoA==} requiresBuild: true dependencies: - '@types/node': 12.20.47 + '@types/node': 17.0.15 dev: false optional: true @@ -2569,12 +2652,12 @@ packages: '@typescript-eslint/experimental-utils': 4.19.0_eslint@7.32.0+typescript@4.2.4 '@typescript-eslint/parser': 4.19.0_eslint@7.32.0+typescript@4.2.4 '@typescript-eslint/scope-manager': 4.19.0 - debug: 4.3.4 + debug: 4.3.3 eslint: 7.32.0 functional-red-black-tree: 1.0.1 lodash: 4.17.21 regexpp: 3.2.0 - semver: 7.3.6 + semver: 7.3.5 tsutils: 3.21.0_typescript@4.2.4 typescript: 4.2.4 transitivePeerDependencies: @@ -2587,7 +2670,7 @@ packages: peerDependencies: eslint: '*' dependencies: - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.9 '@typescript-eslint/scope-manager': 4.19.0 '@typescript-eslint/types': 4.19.0 '@typescript-eslint/typescript-estree': 4.19.0_typescript@4.2.4 @@ -2612,7 +2695,7 @@ packages: '@typescript-eslint/scope-manager': 4.19.0 '@typescript-eslint/types': 4.19.0 '@typescript-eslint/typescript-estree': 4.19.0_typescript@4.2.4 - debug: 4.3.4 + debug: 4.3.3 eslint: 7.32.0 typescript: 4.2.4 transitivePeerDependencies: @@ -2643,10 +2726,10 @@ packages: dependencies: '@typescript-eslint/types': 4.19.0 '@typescript-eslint/visitor-keys': 4.19.0 - debug: 4.3.4 + debug: 4.3.3 globby: 11.1.0 is-glob: 4.0.3 - semver: 7.3.6 + semver: 7.3.5 tsutils: 3.21.0_typescript@4.2.4 typescript: 4.2.4 transitivePeerDependencies: @@ -2672,7 +2755,7 @@ packages: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} engines: {node: '>= 0.6'} dependencies: - mime-types: 2.1.35 + mime-types: 2.1.34 negotiator: 0.6.3 dev: false @@ -2705,7 +2788,7 @@ packages: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} dependencies: - debug: 4.3.4 + debug: 4.3.3 transitivePeerDependencies: - supports-color dev: false @@ -2727,8 +2810,8 @@ packages: uri-js: 4.4.1 dev: false - /ajv/8.11.0: - resolution: {integrity: sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==} + /ajv/8.10.0: + resolution: {integrity: sha512-bzqAEZOjkrUMl2afH8dknrq5KEk2SrwdBROR+vH1EKVQTqaUbJVPdc/gEdggTMM0Se+s+Ja4ju4TlNcStKl2Hw==} dependencies: fast-deep-equal: 3.1.3 json-schema-traverse: 1.0.0 @@ -2751,13 +2834,13 @@ packages: engines: {node: '>=0.10.0'} dev: false - /ansi-regex/3.0.1: - resolution: {integrity: sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==} + /ansi-regex/3.0.0: + resolution: {integrity: sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=} engines: {node: '>=4'} dev: false - /ansi-regex/4.1.1: - resolution: {integrity: sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==} + /ansi-regex/4.1.0: + resolution: {integrity: sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==} engines: {node: '>=6'} dev: false @@ -2766,6 +2849,11 @@ packages: engines: {node: '>=8'} dev: false + /ansi-styles/2.2.1: + resolution: {integrity: sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=} + engines: {node: '>=0.10.0'} + dev: false + /ansi-styles/3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} engines: {node: '>=4'} @@ -2842,7 +2930,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.3 - es-abstract: 1.19.2 + es-abstract: 1.19.1 get-intrinsic: 1.1.1 is-string: 1.0.7 dev: false @@ -2858,7 +2946,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.3 - es-abstract: 1.19.2 + es-abstract: 1.19.1 dev: false /asap/2.0.6: @@ -2883,6 +2971,12 @@ packages: resolution: {integrity: sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==} dev: false + /async/2.6.3: + resolution: {integrity: sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==} + dependencies: + lodash: 4.17.21 + dev: false + /async/3.2.3: resolution: {integrity: sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==} dev: false @@ -2902,34 +2996,34 @@ packages: engines: {node: '>= 0.4'} dev: false - /avsc/5.7.4: - resolution: {integrity: sha512-z4oo33lmnvvNRqfUe3YjDGGpqu/L2+wXBIhMtwq6oqZ+exOUAkQYM6zd2VWKF7AIlajOF8ZZuPFfryTG9iLC/w==} + /avsc/5.7.3: + resolution: {integrity: sha512-uUbetCWczQHbsKyX1C99XpQHBM8SWfovvaZhPIj23/1uV7SQf0WeRZbiLpw0JZm+LHTChfNgrLfDJOVoU2kU+A==} engines: {node: '>=0.11'} dev: false /axios/0.21.4: resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==} dependencies: - follow-redirects: 1.14.9 + follow-redirects: 1.14.7 transitivePeerDependencies: - debug dev: false - /axios/0.21.4_debug@4.3.4: + /axios/0.21.4_debug@4.3.3: resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==} dependencies: - follow-redirects: 1.14.9_debug@4.3.4 + follow-redirects: 1.14.7_debug@4.3.3 transitivePeerDependencies: - debug dev: false - /azure-iot-amqp-base/2.4.14: - resolution: {integrity: sha512-1m9ziHaAC5xIYxkHG7j3BKc2ivppHk0ivTAenCqFqnFbWoZYvWh6tS3WHcSDdQ5acn5mN1I/6tgsLmG6H2QZGQ==} + /azure-iot-amqp-base/2.4.13: + resolution: {integrity: sha512-IzIaaKG60wX/nuVQ2zRX+JCYeoN3FveLjTuZ6xHSP8XH0eB6/d/HztJFsB+Q3pQ3DJo8MWe7vHyDz1HkpAD15g==} engines: {node: '>= 12.0.0'} dependencies: - async: 3.2.3 - azure-iot-common: 1.12.14 - debug: 4.3.4 + async: 2.6.3 + azure-iot-common: 1.12.13 + debug: 4.3.3 lodash.merge: 4.6.2 machina: 4.0.2 rhea: 1.0.24 @@ -2939,39 +3033,39 @@ packages: - supports-color dev: false - /azure-iot-common/1.12.14: - resolution: {integrity: sha512-AvJkFp9n2Cf83cM4c8rRVoqNkY5jxeVdjyyad4jvBO/CzPzj03UnqO7ksfZkYcCC6OJIaPbp2J6QDBAULZ3C8w==} + /azure-iot-common/1.12.13: + resolution: {integrity: sha512-s29mPg+Wj17bVaKMM8im4+sWeXYSs4ern5Eelqs3qKU8dc4REWQ43Ln2t6J/A1MqZ/UxAPgXrVhHk1DCN8NQGQ==} engines: {node: '>= 12.0.0'} dependencies: - debug: 4.3.4 + debug: 4.3.3 getos: 3.2.1 transitivePeerDependencies: - supports-color dev: false - /azure-iot-http-base/1.11.14: - resolution: {integrity: sha512-HrPZ3BkB4BCfsQDD86U6AaHh4KnU7xG+Q0Dc4kF/fCfV9X4E08EduzaFWploJ/VumOHbUCZpBVSAQCjh++s6cg==} + /azure-iot-http-base/1.11.13: + resolution: {integrity: sha512-JwVqtloxXWvhsJpXXNz2tri4at7uzukbsJjGjMQsgqJ8HT9jBYVcLY5sJlIhFT6E2tmx7kXX4i9w6GUQVMdKUw==} engines: {node: '>= 12.0.0'} dependencies: - azure-iot-common: 1.12.14 - debug: 4.3.4 + azure-iot-common: 1.12.13 + debug: 4.3.3 uuid: 8.3.2 transitivePeerDependencies: - supports-color dev: false - /azure-iothub/1.14.7: - resolution: {integrity: sha512-W9iZ/ZvTbRlX7MlfclCnre4ngKb8Dd1aXr2HW9iR8rHS3L7xNwEj/Vqy4Iav/APa1nsy29CD3/qYkoiHChoR+A==} + /azure-iothub/1.14.6: + resolution: {integrity: sha512-Yb7oEGdMd0caqSeBomwBGe+TXvXLiul4k/yqHA8i/+Sqt8cpDs2/MBunKGz8Lv/RYxAVClLv6Q8XXPfG1nNZ/g==} engines: {node: '>= 12.0.0'} dependencies: '@azure/core-http': 1.2.3 - '@azure/identity': 1.2.5_debug@4.3.4 - '@azure/ms-rest-js': 2.6.1 - async: 3.2.3 - azure-iot-amqp-base: 2.4.14 - azure-iot-common: 1.12.14 - azure-iot-http-base: 1.11.14 - debug: 4.3.4 + '@azure/identity': 1.2.5_debug@4.3.3 + '@azure/ms-rest-js': 2.6.0 + async: 2.6.3 + azure-iot-amqp-base: 2.4.13 + azure-iot-common: 1.12.13 + azure-iot-http-base: 1.11.13 + debug: 4.3.3 lodash: 4.17.21 machina: 4.0.2 rhea: 1.0.24 @@ -2981,8 +3075,15 @@ packages: - supports-color dev: false - /backbone/1.4.1: - resolution: {integrity: sha512-ADy1ztN074YkWbHi8ojJVFe3vAanO/lrzMGZWUClIP7oDD/Pjy2vrASraUP+2EVCfIiTtCW4FChVow01XneivA==} + /babel-runtime/6.26.0: + resolution: {integrity: sha1-llxwWGaOgrVde/4E/yM3vItWR/4=} + dependencies: + core-js: 2.6.12 + regenerator-runtime: 0.11.1 + dev: false + + /backbone/1.4.0: + resolution: {integrity: sha512-RLmDrRXkVdouTg38jcgHhyQ/2zjg7a8E6sz2zxfz21Hh17xDJYUHBZimVIt5fUyS8vbfpeSmTL3gUjTEvUV3qQ==} dependencies: underscore: 1.13.2 dev: false @@ -3013,38 +3114,20 @@ packages: readable-stream: 3.6.0 dev: false - /body-parser/1.19.2: - resolution: {integrity: sha512-SAAwOxgoCKMGs9uUAUFHygfLAyaniaoun6I8mFY9pRAJL9+Kec34aU+oIjDhTycub1jozEfEwx1W1IuOYxVSFw==} + /body-parser/1.19.1: + resolution: {integrity: sha512-8ljfQi5eBk8EJfECMrgqNGWPEY5jWP+1IzkzkGdFFEwFQZZyaZ21UqdaHktgiMlH0xLHqIFtE/u2OYE5dOtViA==} engines: {node: '>= 0.8'} dependencies: - bytes: 3.1.2 + bytes: 3.1.1 content-type: 1.0.4 debug: 2.6.9 depd: 1.1.2 http-errors: 1.8.1 iconv-lite: 0.4.24 on-finished: 2.3.0 - qs: 6.9.7 - raw-body: 2.4.3 - type-is: 1.6.18 - dev: false - - /body-parser/1.20.0: - resolution: {integrity: sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg==} - engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} - dependencies: - bytes: 3.1.2 - content-type: 1.0.4 - debug: 2.6.9 - depd: 2.0.0 - destroy: 1.2.0 - http-errors: 2.0.0 - iconv-lite: 0.4.24 - on-finished: 2.4.1 - qs: 6.10.3 - raw-body: 2.5.1 + qs: 6.9.6 + raw-body: 2.4.2 type-is: 1.6.18 - unpipe: 1.0.0 dev: false /brace-expansion/1.1.11: @@ -3065,15 +3148,15 @@ packages: resolution: {integrity: sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==} dev: false - /browserslist/4.20.2: - resolution: {integrity: sha512-CQOBCqp/9pDvDbx3xfMi+86pr4KXIf2FDkTTdeuYw8OxS9t898LA1Khq57gtufFILXpfgsSx5woNgsBgvGjpsA==} + /browserslist/4.19.1: + resolution: {integrity: sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001327 - electron-to-chromium: 1.4.106 + caniuse-lite: 1.0.30001309 + electron-to-chromium: 1.4.66 escalade: 3.1.1 - node-releases: 2.0.3 + node-releases: 2.0.1 picocolors: 1.0.0 dev: false @@ -3113,8 +3196,8 @@ packages: engines: {node: '>=6'} dev: false - /bytes/3.1.2: - resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} + /bytes/3.1.1: + resolution: {integrity: sha512-dWe4nWO/ruEOY7HkUJ5gFt1DCFV9zPRoJr8pV0/ASQermOZjtq8jMjOprC0Kd10GLN+l7xaUPvxzJFWtxGu8Fg==} engines: {node: '>= 0.8'} dev: false @@ -3155,8 +3238,8 @@ packages: engines: {node: '>=6'} dev: false - /caniuse-lite/1.0.30001327: - resolution: {integrity: sha512-1/Cg4jlD9qjZzhbzkzEaAC2JHsP0WrOc8Rd/3a3LuajGzGWR/hD7TVyvq99VqmTy99eVh8Zkmdq213OgvgXx7w==} + /caniuse-lite/1.0.30001309: + resolution: {integrity: sha512-Pl8vfigmBXXq+/yUz1jUwULeq9xhMJznzdc/xwl4WclDAuebcTHVefpz8lE/bMI+UN7TOkSSe7B7RnZd6+dzjA==} dev: false /chai-as-promised/7.1.1_chai@4.3.6: @@ -3193,11 +3276,22 @@ packages: check-error: 1.0.2 deep-eql: 3.0.1 get-func-name: 2.0.0 - loupe: 2.3.4 + loupe: 2.3.3 pathval: 1.1.1 type-detect: 4.0.8 dev: false + /chalk/1.1.3: + resolution: {integrity: sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=} + engines: {node: '>=0.10.0'} + dependencies: + ansi-styles: 2.2.1 + escape-string-regexp: 1.0.5 + has-ansi: 2.0.0 + strip-ansi: 3.0.1 + supports-color: 2.0.0 + dev: false + /chalk/2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -3235,6 +3329,11 @@ packages: resolution: {integrity: sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=} dev: false + /check-more-types/2.24.0: + resolution: {integrity: sha1-FCD/sQ/URNz8ebQ4kbv//TKoRgA=} + engines: {node: '>= 0.8.0'} + dev: false + /chokidar/3.3.0: resolution: {integrity: sha512-dGmKLDdT3Gdl7fBUe8XK+gAtGmzy5Fn0XkkWQuYxGIgWVPPse2CxFA5mtrlD0TOHaHjEUqkWNyP1XdHoJES/4A==} engines: {node: '>= 8.10.0'} @@ -3269,6 +3368,10 @@ packages: resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} dev: false + /ci-info/2.0.0: + resolution: {integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==} + dev: false + /clean-stack/2.2.0: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} @@ -3329,6 +3432,11 @@ packages: engines: {node: '>=0.1.90'} dev: false + /colors/1.4.0: + resolution: {integrity: sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==} + engines: {node: '>=0.1.90'} + dev: false + /combined-stream/1.0.8: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} @@ -3340,6 +3448,11 @@ packages: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} dev: false + /common-tags/1.8.0: + resolution: {integrity: sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw==} + engines: {node: '>=4.0.0'} + dev: false + /commondir/1.0.1: resolution: {integrity: sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=} dev: false @@ -3403,6 +3516,11 @@ packages: resolution: {integrity: sha1-4wOogrNCzD7oylE6eZmXNNqzriw=} dev: false + /cookie/0.4.1: + resolution: {integrity: sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==} + engines: {node: '>= 0.6'} + dev: false + /cookie/0.4.2: resolution: {integrity: sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==} engines: {node: '>= 0.6'} @@ -3413,7 +3531,7 @@ packages: hasBin: true dependencies: glob: 7.2.0 - minimatch: 3.1.2 + minimatch: 3.0.5 mkdirp: 1.0.4 noms: 0.0.0 through2: 2.0.5 @@ -3421,8 +3539,14 @@ packages: yargs: 16.2.0 dev: false - /core-js/3.21.1: - resolution: {integrity: sha512-FRq5b/VMrWlrmCzwRrpDYNxyHP9BcAZC+xHJaqTgIE5091ZV1NTmyh0sGOg5XqpnHvR0svdy0sv1gWA1zmhxig==} + /core-js/2.6.12: + resolution: {integrity: sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==} + deprecated: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. + requiresBuild: true + dev: false + + /core-js/3.21.0: + resolution: {integrity: sha512-YUdI3fFu4TF/2WykQ2xzSiTQdldLB4KVuL9WeAy5XONZYt5Cun/fpQvctoKbCgvPhmzADeesTk/j2Rdx77AcKQ==} requiresBuild: true dev: false @@ -3442,9 +3566,9 @@ packages: resolution: {integrity: sha512-fmvV4caBnofhPe8kOcitBwSn2f39QLjnAnGq3gO9dfd75mUytzKNZB1hde6QHunW2Rt+OwuBOMc3i1tNElbszA==} engines: {node: '>=6'} dependencies: - graceful-fs: 4.2.10 + graceful-fs: 4.2.9 make-dir: 2.1.0 - nested-error-stacks: 2.1.1 + nested-error-stacks: 2.1.0 pify: 4.0.1 safe-buffer: 5.2.1 dev: false @@ -3513,13 +3637,13 @@ packages: engines: {node: '>=0.11'} dev: false - /date-format/4.0.6: - resolution: {integrity: sha512-B9vvg5rHuQ8cbUXE/RMWMyX2YA5TecT3jKF5fLtGNlzPlU7zblSPmAm2OImDbWL+LDOQ6pUm+4LOFz+ywS41Zw==} + /date-format/4.0.3: + resolution: {integrity: sha512-7P3FyqDcfeznLZp2b+OMitV9Sz2lUnsT87WaTat9nVwqsBkTzPG3lPLNwW3en6F4pHUiWzr6vb8CLhjdK9bcxQ==} engines: {node: '>=4.0'} dev: false - /dayjs/1.11.0: - resolution: {integrity: sha512-JLC809s6Y948/FuCZPm5IX8rRhQwOiyMb2TfVVQEixG7P8Lm/gt5S7yoQZmC8x1UehI9Pb7sksEt4xx14m+7Ug==} + /dayjs/1.10.7: + resolution: {integrity: sha512-P6twpd70BcPK34K26uJ1KT3wlhpuOAPoMwJzpsIWUxHZ7wpmbdZL/hQqBDfz7hGurYSa5PhzdhDHtt319hL3ig==} dev: false /debug/2.6.9: @@ -3532,7 +3656,7 @@ packages: resolution: {integrity: sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==} deprecated: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) dependencies: - ms: 2.1.1 + ms: 2.1.3 dev: false /debug/3.2.7: @@ -3541,8 +3665,27 @@ packages: ms: 2.1.3 dev: false - /debug/4.3.4: - resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + /debug/4.1.1: + resolution: {integrity: sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==} + deprecated: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) + dependencies: + ms: 2.1.3 + dev: false + + /debug/4.3.1: + resolution: {integrity: sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.2 + dev: false + + /debug/4.3.3: + resolution: {integrity: sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==} engines: {node: '>=6.0'} peerDependencies: supports-color: '*' @@ -3640,22 +3783,12 @@ packages: engines: {node: '>= 0.6'} dev: false - /depd/2.0.0: - resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} - engines: {node: '>= 0.8'} - dev: false - /destroy/1.0.4: resolution: {integrity: sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=} dev: false - /destroy/1.2.0: - resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} - engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} - dev: false - - /detect-libc/2.0.1: - resolution: {integrity: sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==} + /detect-libc/2.0.0: + resolution: {integrity: sha512-S55LzUl8HUav8l9E2PBTlC5PAJrHK7tkM+XXFGD+fbsbkTzhCpG6K05LxJcUOEWzMa4v6ptcMZ9s3fOdJDu0Zw==} engines: {node: '>=8'} dev: false @@ -3689,6 +3822,15 @@ packages: path-type: 4.0.0 dev: false + /disparity/3.0.0: + resolution: {integrity: sha512-n94Rzbv2ambRaFzrnBf34IEiyOdIci7maRpMkoQWB6xFYGA7Nbs0Z5YQzMfTeyQeelv23nayqOcssBoc6rKrgw==} + engines: {node: '>=8'} + hasBin: true + dependencies: + ansi-styles: 4.3.0 + diff: 4.0.2 + dev: false + /doctrine/2.1.0: resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} engines: {node: '>=0.10.0'} @@ -3733,9 +3875,9 @@ packages: resolution: {integrity: sha512-wBy+Q0Ya/1XRz9MMaj3BXH95E8aSckY3lppmUnf8Qv7dUg0wbWm3szDiVL4PdAvwcS7JbBBDPhCXeAGNT3ttFQ==} hasBin: true dependencies: - semver: 7.3.6 + semver: 7.3.5 shelljs: 0.8.5 - typescript: 4.2.4 + typescript: 4.5.5 dev: false /ecdsa-sig-formatter/1.0.11: @@ -3752,8 +3894,8 @@ packages: resolution: {integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=} dev: false - /electron-to-chromium/1.4.106: - resolution: {integrity: sha512-ZYfpVLULm67K7CaaGP7DmjyeMY4naxsbTy+syVVxT6QHI1Ww8XbJjmr9fDckrhq44WzCrcC5kH3zGpdusxwwqg==} + /electron-to-chromium/1.4.66: + resolution: {integrity: sha512-f1RXFMsvwufWLwYUxTiP7HmjprKXrqEWHiQkjAYa9DJeVIlZk5v8gBGcaV+FhtXLly6C1OTVzQY+2UQrACiLlg==} dev: false /emoji-regex/7.0.3: @@ -3782,18 +3924,18 @@ packages: '@socket.io/base64-arraybuffer': 1.0.2 dev: false - /engine.io/6.1.3: - resolution: {integrity: sha512-rqs60YwkvWTLLnfazqgZqLa/aKo+9cueVfEi/dZ8PyGyaf8TLOxj++4QMIgeG3Gn0AhrWiFXvghsoY9L9h25GA==} + /engine.io/6.1.2: + resolution: {integrity: sha512-v/7eGHxPvO2AWsksyx2PUsQvBafuvqs0jJJQ0FdmJG1b9qIvgSbqDRGwNhfk2XHaTTbTXiC4quRE8Q9nRjsrQQ==} engines: {node: '>=10.0.0'} dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.12 - '@types/node': 12.20.47 + '@types/node': 17.0.15 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 cors: 2.8.5 - debug: 4.3.4 + debug: 4.3.3 engine.io-parser: 5.0.3 ws: 8.2.3 transitivePeerDependencies: @@ -3819,8 +3961,8 @@ packages: is-arrayish: 0.2.1 dev: false - /es-abstract/1.19.2: - resolution: {integrity: sha512-gfSBJoZdlL2xRiOCy0g8gLMryhoe1TlimjzU99L/31Z8QEGIhVQI+EWwt5lT+AuU9SnorVupXFqqOGqGfsyO6w==} + /es-abstract/1.19.1: + resolution: {integrity: sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 @@ -3829,12 +3971,12 @@ packages: get-intrinsic: 1.1.1 get-symbol-description: 1.0.0 has: 1.0.3 - has-symbols: 1.0.3 + has-symbols: 1.0.2 internal-slot: 1.0.3 is-callable: 1.2.4 is-negative-zero: 2.0.2 is-regex: 1.1.4 - is-shared-array-buffer: 1.0.2 + is-shared-array-buffer: 1.0.1 is-string: 1.0.7 is-weakref: 1.0.2 object-inspect: 1.12.0 @@ -3871,6 +4013,12 @@ packages: resolution: {integrity: sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=} dev: false + /escape-quotes/1.0.2: + resolution: {integrity: sha1-tIltSmz4LdWzP0m3E0CMY4D2zZc=} + dependencies: + escape-string-regexp: 1.0.5 + dev: false + /escape-string-regexp/1.0.5: resolution: {integrity: sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=} engines: {node: '>=0.8.0'} @@ -3916,8 +4064,8 @@ packages: regexpp: 3.2.0 dev: false - /eslint-plugin-import/2.26.0_eslint@7.32.0: - resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} + /eslint-plugin-import/2.25.4_eslint@7.32.0: + resolution: {integrity: sha512-/KJBASVFxpu0xg1kIBn9AUa8hQVnszpwgE7Ld0lKAlx7Ie87yzEzCgSkekt+le/YVhiaosO4Y14GDAOc41nfxA==} engines: {node: '>=4'} peerDependencies: eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 @@ -3932,10 +4080,10 @@ packages: has: 1.0.3 is-core-module: 2.8.1 is-glob: 4.0.3 - minimatch: 3.1.2 + minimatch: 3.0.5 object.values: 1.1.5 resolve: 1.22.0 - tsconfig-paths: 3.14.1 + tsconfig-paths: 3.12.0 dev: false /eslint-plugin-markdown/2.2.1_eslint@7.32.0: @@ -3965,7 +4113,7 @@ packages: eslint-plugin-es: 3.0.1_eslint@7.32.0 eslint-utils: 2.1.0 ignore: 5.2.0 - minimatch: 3.1.2 + minimatch: 3.0.5 resolve: 1.22.0 semver: 6.3.0 dev: false @@ -3979,11 +4127,11 @@ packages: eslint: 7.32.0 dev: false - /eslint-plugin-tsdoc/0.2.16: - resolution: {integrity: sha512-F/RWMnyDQuGlg82vQEFHQtGyWi7++XJKdYNn0ulIbyMOFqYIjoJOUdE6olORxgwgLkpJxsCJpJbTHgxJ/ggfXw==} + /eslint-plugin-tsdoc/0.2.14: + resolution: {integrity: sha512-fJ3fnZRsdIoBZgzkQjv8vAj6NeeOoFkTfgosj6mKsFjX70QV256sA/wq+y/R2+OL4L8E79VVaVWrPeZnKNe8Ng==} dependencies: - '@microsoft/tsdoc': 0.14.1 - '@microsoft/tsdoc-config': 0.16.1 + '@microsoft/tsdoc': 0.13.2 + '@microsoft/tsdoc-config': 0.15.2 dev: false /eslint-scope/5.1.1: @@ -4022,7 +4170,7 @@ packages: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.4 + debug: 4.3.3 doctrine: 3.0.0 enquirer: 2.3.6 escape-string-regexp: 4.0.0 @@ -4036,7 +4184,7 @@ packages: file-entry-cache: 6.0.1 functional-red-black-tree: 1.0.1 glob-parent: 5.1.2 - globals: 13.13.0 + globals: 13.12.1 ignore: 4.0.6 import-fresh: 3.3.0 imurmurhash: 0.1.4 @@ -4045,12 +4193,12 @@ packages: json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 lodash.merge: 4.6.2 - minimatch: 3.1.2 + minimatch: 3.0.5 natural-compare: 1.4.0 optionator: 0.9.1 progress: 2.0.3 regexpp: 3.2.0 - semver: 7.3.6 + semver: 7.3.5 strip-ansi: 6.0.1 strip-json-comments: 3.1.1 table: 6.8.0 @@ -4155,8 +4303,8 @@ packages: strip-final-newline: 2.0.0 dev: false - /execa/6.1.0: - resolution: {integrity: sha512-QVWlX2e50heYJcCPG0iWtf8r0xjEYfz/OYLGDYH+IyjWezzPNxz63qNFOu0l4YftGWuizFVZHHs8PrLU5p2IDA==} + /execa/6.0.0: + resolution: {integrity: sha512-m4wU9j4Z9nXXoqT8RSfl28JSwmMNLFF69OON8H/lL3NeU0tNpGz313bcOfYoBBHokB0dC2tMl3VUcKgHELhL2Q==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: cross-spawn: 7.0.3 @@ -4164,7 +4312,7 @@ packages: human-signals: 3.0.1 is-stream: 3.0.0 merge-stream: 2.0.0 - npm-run-path: 5.1.0 + npm-run-path: 5.0.1 onetime: 6.0.0 signal-exit: 3.0.7 strip-final-newline: 3.0.0 @@ -4182,16 +4330,16 @@ packages: homedir-polyfill: 1.0.3 dev: false - /express/4.17.3: - resolution: {integrity: sha512-yuSQpz5I+Ch7gFrPCk4/c+dIBKlQUxtgwqzph132bsT6qhuzss6I8cLJQz7B3rFblzd6wtcI0ZbGltH/C4LjUg==} + /express/4.17.2: + resolution: {integrity: sha512-oxlxJxcQlYwqPWKVJJtvQiwHgosH/LrLSPA+H4UxpyvSS6jC5aH+5MoHFM+KABgTOt0APue4w66Ha8jCUo9QGg==} engines: {node: '>= 0.10.0'} dependencies: accepts: 1.3.8 array-flatten: 1.1.1 - body-parser: 1.19.2 + body-parser: 1.19.1 content-disposition: 0.5.4 content-type: 1.0.4 - cookie: 0.4.2 + cookie: 0.4.1 cookie-signature: 1.0.6 debug: 2.6.9 depd: 1.1.2 @@ -4206,7 +4354,7 @@ packages: parseurl: 1.3.3 path-to-regexp: 0.1.7 proxy-addr: 2.0.7 - qs: 6.9.7 + qs: 6.9.6 range-parser: 1.2.1 safe-buffer: 5.2.1 send: 0.17.2 @@ -4227,11 +4375,11 @@ packages: engines: {node: '>= 10.17.0'} hasBin: true dependencies: - debug: 4.3.4 + debug: 4.3.3 get-stream: 5.2.0 yauzl: 2.10.0 optionalDependencies: - '@types/yauzl': 2.10.0 + '@types/yauzl': 2.9.2 transitivePeerDependencies: - supports-color dev: false @@ -4248,7 +4396,7 @@ packages: '@nodelib/fs.walk': 1.2.8 glob-parent: 5.1.2 merge2: 1.4.1 - micromatch: 4.0.5 + micromatch: 4.0.4 dev: false /fast-json-stable-stringify/2.1.0: @@ -4259,8 +4407,8 @@ packages: resolution: {integrity: sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=} dev: false - /fast-xml-parser/4.0.7: - resolution: {integrity: sha512-dMtibyus3kC7nbxj1CpVtysLzO13UOAZEFAb5vpQg3T4O6qvetmSePpXKFx5KPNCHKoGwjtgjfF5DOyn7s1ylQ==} + /fast-xml-parser/4.0.2: + resolution: {integrity: sha512-3GOSbMTZxxrPPQ+aURM7Wia10bi71HBbiG/3mOEEkRSAkRtg4m7UhMSnB2rzOhBeRHyJUWsllOfyNnjTT1b85w==} hasBin: true dependencies: strnum: 1.0.5 @@ -4291,10 +4439,10 @@ packages: node-fetch: optional: true dependencies: - '@babel/core': 7.17.9 - '@babel/runtime': 7.17.9 - core-js: 3.21.1 - debug: 4.3.4 + '@babel/core': 7.17.0 + '@babel/runtime': 7.17.0 + core-js: 3.21.0 + debug: 4.3.3 glob-to-regexp: 0.4.1 is-subset: 0.1.1 lodash.isequal: 4.5.0 @@ -4396,8 +4544,12 @@ packages: resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==} dev: false - /follow-redirects/1.14.9: - resolution: {integrity: sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==} + /folktale/2.3.2: + resolution: {integrity: sha512-+8GbtQBwEqutP0v3uajDDoN64K2ehmHd0cjlghhxh0WpcfPzAIjPA03e1VvHlxL02FVGR0A6lwXsNQKn3H1RNQ==} + dev: false + + /follow-redirects/1.14.7: + resolution: {integrity: sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -4406,8 +4558,8 @@ packages: optional: true dev: false - /follow-redirects/1.14.9_debug@4.3.4: - resolution: {integrity: sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==} + /follow-redirects/1.14.7_debug@4.3.3: + resolution: {integrity: sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -4415,7 +4567,7 @@ packages: debug: optional: true dependencies: - debug: 4.3.4 + debug: 4.3.3 dev: false /foreach/2.0.5: @@ -4443,7 +4595,7 @@ packages: dependencies: asynckit: 0.4.0 combined-stream: 1.0.8 - mime-types: 2.1.35 + mime-types: 2.1.34 dev: false /form-data/3.0.1: @@ -4452,7 +4604,7 @@ packages: dependencies: asynckit: 0.4.0 combined-stream: 1.0.8 - mime-types: 2.1.35 + mime-types: 2.1.34 dev: false /form-data/4.0.0: @@ -4461,7 +4613,7 @@ packages: dependencies: asynckit: 0.4.0 combined-stream: 1.0.8 - mime-types: 2.1.35 + mime-types: 2.1.34 dev: false /forwarded/0.2.0: @@ -4482,11 +4634,11 @@ packages: resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} dev: false - /fs-extra/10.0.1: - resolution: {integrity: sha512-NbdoVMZso2Lsrn/QwLXOy6rm0ufY2zEOKCDzJR/0kBsb0E6qed0P3iYK+Ath3BfvXEeu4JhEtXLgILx5psUfag==} + /fs-extra/10.0.0: + resolution: {integrity: sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==} engines: {node: '>=12'} dependencies: - graceful-fs: 4.2.10 + graceful-fs: 4.2.9 jsonfile: 6.1.0 universalify: 2.0.0 dev: false @@ -4495,7 +4647,7 @@ packages: resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} engines: {node: '>=6 <7 || >=8'} dependencies: - graceful-fs: 4.2.10 + graceful-fs: 4.2.9 jsonfile: 4.0.0 universalify: 0.1.2 dev: false @@ -4504,7 +4656,7 @@ packages: resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} engines: {node: '>=6 <7 || >=8'} dependencies: - graceful-fs: 4.2.10 + graceful-fs: 4.2.9 jsonfile: 4.0.0 universalify: 0.1.2 dev: false @@ -4574,7 +4726,7 @@ packages: dependencies: function-bind: 1.1.1 has: 1.0.3 - has-symbols: 1.0.3 + has-symbols: 1.0.2 dev: false /get-package-type/0.1.0: @@ -4629,7 +4781,7 @@ packages: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 3.0.4 + minimatch: 3.0.5 once: 1.4.0 path-is-absolute: 1.0.1 dev: false @@ -4640,7 +4792,7 @@ packages: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 3.1.2 + minimatch: 3.0.5 once: 1.4.0 path-is-absolute: 1.0.1 dev: false @@ -4677,8 +4829,8 @@ packages: engines: {node: '>=4'} dev: false - /globals/13.13.0: - resolution: {integrity: sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A==} + /globals/13.12.1: + resolution: {integrity: sha512-317dFlgY2pdJZ9rspXDks7073GpDmXdfbM3vYYp0HAMKGDh1FfWPleI2ljVNLQX5M5lXcAslTcPTrOrMEFOjyw==} engines: {node: '>=8'} dependencies: type-fest: 0.20.2 @@ -4696,8 +4848,8 @@ packages: slash: 3.0.0 dev: false - /graceful-fs/4.2.10: - resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} + /graceful-fs/4.2.9: + resolution: {integrity: sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==} dev: false /growl/1.10.5: @@ -4714,12 +4866,19 @@ packages: engines: {node: '>=0.4.7'} hasBin: true dependencies: - minimist: 1.2.6 + minimist: 1.2.5 neo-async: 2.6.2 source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: 3.15.4 + uglify-js: 3.15.1 + dev: false + + /has-ansi/2.0.0: + resolution: {integrity: sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=} + engines: {node: '>=0.10.0'} + dependencies: + ansi-regex: 2.1.1 dev: false /has-bigints/1.0.1: @@ -4743,8 +4902,13 @@ packages: is-glob: 3.1.0 dev: false - /has-symbols/1.0.3: - resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} + /has-only/1.1.1: + resolution: {integrity: sha512-3GuFy9rDw0xvovCHb4SOKiRImbZ+a8boFBUyGNRPVd2mRyQOzYdau5G9nodUXC1ZKYN59hrHFkW1lgBQscYfTg==} + engines: {node: '>=6'} + dev: false + + /has-symbols/1.0.2: + resolution: {integrity: sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==} engines: {node: '>= 0.4'} dev: false @@ -4752,7 +4916,7 @@ packages: resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} engines: {node: '>= 0.4'} dependencies: - has-symbols: 1.0.3 + has-symbols: 1.0.2 dev: false /has-unicode/2.0.1: @@ -4818,24 +4982,13 @@ packages: toidentifier: 1.0.1 dev: false - /http-errors/2.0.0: - resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} - engines: {node: '>= 0.8'} - dependencies: - depd: 2.0.0 - inherits: 2.0.4 - setprototypeof: 1.2.0 - statuses: 2.0.1 - toidentifier: 1.0.1 - dev: false - /http-proxy-agent/4.0.1: resolution: {integrity: sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==} engines: {node: '>= 6'} dependencies: '@tootallnate/once': 1.1.2 agent-base: 6.0.2 - debug: 4.3.4 + debug: 4.3.3 transitivePeerDependencies: - supports-color dev: false @@ -4845,18 +4998,18 @@ packages: engines: {node: '>=8.0.0'} dependencies: eventemitter3: 4.0.7 - follow-redirects: 1.14.9 + follow-redirects: 1.14.7 requires-port: 1.0.0 transitivePeerDependencies: - debug dev: false - /http-proxy/1.18.1_debug@4.3.4: + /http-proxy/1.18.1_debug@4.3.3: resolution: {integrity: sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==} engines: {node: '>=8.0.0'} dependencies: eventemitter3: 4.0.7 - follow-redirects: 1.14.9_debug@4.3.4 + follow-redirects: 1.14.7_debug@4.3.3 requires-port: 1.0.0 transitivePeerDependencies: - debug @@ -4867,7 +5020,7 @@ packages: engines: {node: '>= 6'} dependencies: agent-base: 6.0.2 - debug: 4.3.4 + debug: 4.3.3 transitivePeerDependencies: - supports-color dev: false @@ -5023,6 +5176,13 @@ packages: engines: {node: '>= 0.4'} dev: false + /is-ci/2.0.0: + resolution: {integrity: sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==} + hasBin: true + dependencies: + ci-info: 2.0.0 + dev: false + /is-core-module/2.8.1: resolution: {integrity: sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==} dependencies: @@ -5102,8 +5262,8 @@ packages: engines: {node: '>= 0.4'} dev: false - /is-number-object/1.0.7: - resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} + /is-number-object/1.0.6: + resolution: {integrity: sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==} engines: {node: '>= 0.4'} dependencies: has-tostringtag: 1.0.0 @@ -5128,10 +5288,8 @@ packages: has-tostringtag: 1.0.0 dev: false - /is-shared-array-buffer/1.0.2: - resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} - dependencies: - call-bind: 1.0.2 + /is-shared-array-buffer/1.0.1: + resolution: {integrity: sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==} dev: false /is-stream/1.1.0: @@ -5164,7 +5322,7 @@ packages: resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} engines: {node: '>= 0.4'} dependencies: - has-symbols: 1.0.3 + has-symbols: 1.0.2 dev: false /is-typed-array/1.1.8: @@ -5173,7 +5331,7 @@ packages: dependencies: available-typed-arrays: 1.0.5 call-bind: 1.0.2 - es-abstract: 1.19.2 + es-abstract: 1.19.1 foreach: 2.0.5 has-tostringtag: 1.0.0 dev: false @@ -5213,8 +5371,8 @@ packages: resolution: {integrity: sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=} dev: false - /isbinaryfile/4.0.10: - resolution: {integrity: sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==} + /isbinaryfile/4.0.8: + resolution: {integrity: sha512-53h6XFniq77YdW+spoRrebh0mnmTxRPTlcuIArO57lmMdq4uBKFKaeTjnb92oYWrSn/LVL+LT+Hap2tFQj8V+w==} engines: {node: '>= 8.0.0'} dev: false @@ -5250,10 +5408,10 @@ packages: resolution: {integrity: sha512-5nnIN4vo5xQZHdXno/YDXJ0G+I3dAm4XgzfSVTPLQpj/zAV2dV6Juy0yaf10/zrJOJeHoN3fraFe+XRq2bFVZA==} engines: {node: '>=6'} dependencies: - '@babel/generator': 7.17.9 - '@babel/parser': 7.17.9 + '@babel/generator': 7.17.0 + '@babel/parser': 7.17.0 '@babel/template': 7.16.7 - '@babel/traverse': 7.17.9 + '@babel/traverse': 7.17.0 '@babel/types': 7.17.0 istanbul-lib-coverage: 2.0.5 semver: 6.3.0 @@ -5265,20 +5423,7 @@ packages: resolution: {integrity: sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==} engines: {node: '>=8'} dependencies: - '@babel/core': 7.17.9 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-coverage: 3.2.0 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: false - - /istanbul-lib-instrument/5.1.0: - resolution: {integrity: sha512-czwUz525rkOFDJxfKK6mYfIs9zBKILyrZQxjz3ABhjQXhbhFsSbo1HW/BFcsDnfJYJWA6thRR5/TUY2qs5W99Q==} - engines: {node: '>=8'} - dependencies: - '@babel/core': 7.17.9 - '@babel/parser': 7.17.9 + '@babel/core': 7.17.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.0 semver: 6.3.0 @@ -5321,7 +5466,7 @@ packages: resolution: {integrity: sha512-R47KzMtDJH6X4/YW9XTx+jrLnZnscW4VpNN+1PViSYTejLVPWv7oov+Duf8YQSPyVRUvueQqz1TcsC6mooZTXw==} engines: {node: '>=6'} dependencies: - debug: 4.3.4 + debug: 4.3.3 istanbul-lib-coverage: 2.0.5 make-dir: 2.1.0 rimraf: 2.7.1 @@ -5334,7 +5479,7 @@ packages: resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} engines: {node: '>=10'} dependencies: - debug: 4.3.4 + debug: 4.3.3 istanbul-lib-coverage: 3.2.0 source-map: 0.6.1 transitivePeerDependencies: @@ -5356,6 +5501,11 @@ packages: istanbul-lib-report: 3.0.0 dev: false + /its-name/1.0.0: + resolution: {integrity: sha1-IGXxiD7LVoxl9xEt2/EjQB+uSvA=} + engines: {node: '>=6'} + dev: false + /jest-worker/24.9.0: resolution: {integrity: sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==} engines: {node: '>= 6'} @@ -5430,19 +5580,21 @@ packages: resolution: {integrity: sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==} hasBin: true dependencies: - minimist: 1.2.6 + minimist: 1.2.5 dev: false - /json5/2.2.1: - resolution: {integrity: sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==} + /json5/2.2.0: + resolution: {integrity: sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==} engines: {node: '>=6'} hasBin: true + dependencies: + minimist: 1.2.5 dev: false /jsonfile/4.0.0: resolution: {integrity: sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=} optionalDependencies: - graceful-fs: 4.2.10 + graceful-fs: 4.2.9 dev: false /jsonfile/6.1.0: @@ -5450,7 +5602,7 @@ packages: dependencies: universalify: 2.0.0 optionalDependencies: - graceful-fs: 4.2.10 + graceful-fs: 4.2.9 dev: false /jsonwebtoken/8.5.1: @@ -5469,8 +5621,8 @@ packages: semver: 5.7.1 dev: false - /jsrsasign/10.5.16: - resolution: {integrity: sha512-NnIl2WZuSB43weA+S+g9CgP10HT8anwfTXhiDhWLla8GtM2p2NL8CbuvATi+ikpVJ6RUe4zKiR3Fwvucx02Fwg==} + /jsrsasign/10.5.1: + resolution: {integrity: sha512-yW0fq87KNZFw4Pn5ySllXs3ztZAROQZczEheKZTqmiNpCe/Xj9r5NhuAQ7MXTOyEZGJ/+MPHGTsfbgPFaLpwHQ==} dev: false /jssha/3.2.0: @@ -5519,44 +5671,44 @@ packages: resolution: {integrity: sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==} dev: false - /karma-chai/0.1.0_chai@4.3.6+karma@6.3.17: + /karma-chai/0.1.0_chai@4.3.6+karma@6.3.15: resolution: {integrity: sha1-vuWtQEAFF4Ea40u5RfdikJEIt5o=} peerDependencies: chai: '*' karma: '>=0.10.9' dependencies: chai: 4.3.6 - karma: 6.3.17 + karma: 6.3.15 dev: false - /karma-chrome-launcher/3.1.1: - resolution: {integrity: sha512-hsIglcq1vtboGPAN+DGCISCFOxW+ZVnIqhDQcCMqqCp+4dmJ0Qpq5QAjkbA0X2L9Mi6OBkHi2Srrbmm7pUKkzQ==} + /karma-chrome-launcher/3.1.0: + resolution: {integrity: sha512-3dPs/n7vgz1rxxtynpzZTvb9y/GIaW8xjAwcIGttLbycqoFtI7yo1NGnQi6oFTherRE+GIhCAHZC4vEqWGhNvg==} dependencies: which: 1.3.1 dev: false - /karma-coverage/2.2.0: - resolution: {integrity: sha512-gPVdoZBNDZ08UCzdMHHhEImKrw1+PAOQOIiffv1YsvxFhBjqvo/SVXNk4tqn1SYqX0BJZT6S/59zgxiBe+9OuA==} + /karma-coverage/2.1.1: + resolution: {integrity: sha512-oxeOSBVK/jdZsiX03LhHQkO4eISSQb5GbHi6Nsw3Mw7G4u6yUgacBAftnO7q+emPBLMsrNbz1pGIrj+Jb3z17A==} engines: {node: '>=10.0.0'} dependencies: istanbul-lib-coverage: 3.2.0 - istanbul-lib-instrument: 5.1.0 + istanbul-lib-instrument: 4.0.3 istanbul-lib-report: 3.0.0 istanbul-lib-source-maps: 4.0.1 istanbul-reports: 3.1.4 - minimatch: 3.1.2 + minimatch: 3.0.5 transitivePeerDependencies: - supports-color dev: false - /karma-edge-launcher/0.4.2_karma@6.3.17: + /karma-edge-launcher/0.4.2_karma@6.3.15: resolution: {integrity: sha512-YAJZb1fmRcxNhMIWYsjLuxwODBjh2cSHgTW/jkVmdpGguJjLbs9ZgIK/tEJsMQcBLUkO+yO4LBbqYxqgGW2HIw==} engines: {node: '>=4'} peerDependencies: karma: '>=0.9' dependencies: edge-launcher: 1.2.2 - karma: 6.3.17 + karma: 6.3.15 dev: false /karma-env-preprocessor/0.1.1: @@ -5569,47 +5721,47 @@ packages: is-wsl: 2.2.0 dev: false - /karma-ie-launcher/1.0.0_karma@6.3.17: + /karma-ie-launcher/1.0.0_karma@6.3.15: resolution: {integrity: sha1-SXmGhCxJAZA0bNifVJTKmDDG1Zw=} peerDependencies: karma: '>=0.9' dependencies: - karma: 6.3.17 + karma: 6.3.15 lodash: 4.17.21 dev: false - /karma-json-preprocessor/0.3.3_karma@6.3.17: + /karma-json-preprocessor/0.3.3_karma@6.3.15: resolution: {integrity: sha1-X36ZW+uuS06PCiy1IVBVSq8LHi4=} peerDependencies: karma: '>=0.9' dependencies: - karma: 6.3.17 + karma: 6.3.15 dev: false /karma-json-to-file-reporter/1.0.1: resolution: {integrity: sha512-kNCi+0UrXAeTJMpMsHkHNbfmlErsYT+/haNakJIhsE/gtj3Jx7zWRg7BTc1HHSbH5KeVXVRJr3/KLB/NHWY7Hg==} dependencies: - json5: 2.2.1 + json5: 2.2.0 dev: false - /karma-junit-reporter/2.0.1_karma@6.3.17: + /karma-junit-reporter/2.0.1_karma@6.3.15: resolution: {integrity: sha512-VtcGfE0JE4OE1wn0LK8xxDKaTP7slN8DO3I+4xg6gAi1IoAHAXOJ1V9G/y45Xg6sxdxPOR3THCFtDlAfBo9Afw==} engines: {node: '>= 8'} peerDependencies: karma: '>=0.9' dependencies: - karma: 6.3.17 + karma: 6.3.15 path-is-absolute: 1.0.1 xmlbuilder: 12.0.0 dev: false - /karma-mocha-reporter/2.2.5_karma@6.3.17: + /karma-mocha-reporter/2.2.5_karma@6.3.15: resolution: {integrity: sha1-FRIAlejtgZGG5HoLAS8810GJVWA=} peerDependencies: karma: '>=0.13' dependencies: chalk: 2.4.2 - karma: 6.3.17 + karma: 6.3.15 log-symbols: 2.2.0 strip-ansi: 4.0.0 dev: false @@ -5617,7 +5769,7 @@ packages: /karma-mocha/2.0.1: resolution: {integrity: sha512-Tzd5HBjm8his2OA4bouAsATYEpZrp9vC7z5E5j4C5Of5Rrs1jY67RAwXNcVmd/Bnk1wgvQRou0zGVLey44G4tQ==} dependencies: - minimist: 1.2.6 + minimist: 1.2.5 dev: false /karma-source-map-support/1.4.0: @@ -5629,30 +5781,30 @@ packages: /karma-sourcemap-loader/0.3.8: resolution: {integrity: sha512-zorxyAakYZuBcHRJE+vbrK2o2JXLFWK8VVjiT/6P+ltLBUGUvqTEkUiQ119MGdOrK7mrmxXHZF1/pfT6GgIZ6g==} dependencies: - graceful-fs: 4.2.10 + graceful-fs: 4.2.9 dev: false - /karma/6.3.17: - resolution: {integrity: sha512-2TfjHwrRExC8yHoWlPBULyaLwAFmXmxQrcuFImt/JsAsSZu1uOWTZ1ZsWjqQtWpHLiatJOHL5jFjXSJIgCd01g==} + /karma/6.3.15: + resolution: {integrity: sha512-4O5X6zVFdmwo/fgjRN84fPG3IvaiOxOjIeZBwBrQYz4nIyGqlF8Wm7C1Hr7idQ9NHgnvJM+LSjZwS1C+qALMGw==} engines: {node: '>= 10'} hasBin: true dependencies: - '@colors/colors': 1.5.0 - body-parser: 1.20.0 + body-parser: 1.19.1 braces: 3.0.2 chokidar: 3.5.3 + colors: 1.4.0 connect: 3.7.0 di: 0.0.1 dom-serialize: 2.2.1 glob: 7.2.0 - graceful-fs: 4.2.10 + graceful-fs: 4.2.9 http-proxy: 1.18.1 - isbinaryfile: 4.0.10 + isbinaryfile: 4.0.8 lodash: 4.17.21 - log4js: 6.4.4 + log4js: 6.4.1 mime: 2.6.0 - minimatch: 3.1.2 - mkdirp: 0.5.6 + minimatch: 3.0.5 + mkdirp: 0.5.5 qjobs: 1.2.0 range-parser: 1.2.1 rimraf: 3.0.2 @@ -5668,27 +5820,27 @@ packages: - utf-8-validate dev: false - /karma/6.3.17_debug@4.3.4: - resolution: {integrity: sha512-2TfjHwrRExC8yHoWlPBULyaLwAFmXmxQrcuFImt/JsAsSZu1uOWTZ1ZsWjqQtWpHLiatJOHL5jFjXSJIgCd01g==} + /karma/6.3.15_debug@4.3.3: + resolution: {integrity: sha512-4O5X6zVFdmwo/fgjRN84fPG3IvaiOxOjIeZBwBrQYz4nIyGqlF8Wm7C1Hr7idQ9NHgnvJM+LSjZwS1C+qALMGw==} engines: {node: '>= 10'} hasBin: true dependencies: - '@colors/colors': 1.5.0 - body-parser: 1.20.0 + body-parser: 1.19.1 braces: 3.0.2 chokidar: 3.5.3 + colors: 1.4.0 connect: 3.7.0 di: 0.0.1 dom-serialize: 2.2.1 glob: 7.2.0 - graceful-fs: 4.2.10 - http-proxy: 1.18.1_debug@4.3.4 - isbinaryfile: 4.0.10 + graceful-fs: 4.2.9 + http-proxy: 1.18.1_debug@4.3.3 + isbinaryfile: 4.0.8 lodash: 4.17.21 - log4js: 6.4.4 + log4js: 6.4.1 mime: 2.6.0 - minimatch: 3.1.2 - mkdirp: 0.5.6 + minimatch: 3.0.5 + mkdirp: 0.5.5 qjobs: 1.2.0 range-parser: 1.2.1 rimraf: 3.0.2 @@ -5704,14 +5856,19 @@ packages: - utf-8-validate dev: false - /keytar/7.9.0: - resolution: {integrity: sha512-VPD8mtVtm5JNtA2AErl6Chp06JBfy7diFQ7TQQhdpWOl6MrCRB+eRbvAZUsbGQS9kiMq0coJsy0W0vHpDCkWsQ==} + /keytar/7.8.0: + resolution: {integrity: sha512-mR+BqtAOIW8j+T5FtLVyckCbvROWQD+4FzPeFMuk5njEZkXLpVPCGF26Y3mTyxMAAL1XCfswR7S6kIf+THSRFA==} requiresBuild: true dependencies: node-addon-api: 4.3.0 prebuild-install: 7.0.1 dev: false + /lazy-ass/1.6.0: + resolution: {integrity: sha1-eZllXoZGwX8In90YfRUNMyTVRRM=} + engines: {node: '> 0.8'} + dev: false + /levn/0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} @@ -5724,7 +5881,7 @@ packages: resolution: {integrity: sha1-L19Fq5HjMhYjT9U62rZo607AmTs=} engines: {node: '>=4'} dependencies: - graceful-fs: 4.2.10 + graceful-fs: 4.2.9 parse-json: 4.0.0 pify: 3.0.0 strip-bom: 3.0.0 @@ -5823,15 +5980,15 @@ packages: chalk: 2.4.2 dev: false - /log4js/6.4.4: - resolution: {integrity: sha512-ncaWPsuw9Vl1CKA406hVnJLGQKy1OHx6buk8J4rE2lVW+NW5Y82G5/DIloO7NkqLOUtNPEANaWC1kZYVjXssPw==} + /log4js/6.4.1: + resolution: {integrity: sha512-iUiYnXqAmNKiIZ1XSAitQ4TmNs8CdZYTAWINARF3LjnsLN8tY5m0vRwd6uuWj/yNY0YHxeZodnbmxKFUOM2rMg==} engines: {node: '>=8.0'} dependencies: - date-format: 4.0.6 - debug: 4.3.4 + date-format: 4.0.3 + debug: 4.3.3 flatted: 3.2.5 rfdc: 1.3.0 - streamroller: 3.0.6 + streamroller: 3.0.2 transitivePeerDependencies: - supports-color dev: false @@ -5840,8 +5997,8 @@ packages: resolution: {integrity: sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==} dev: false - /loupe/2.3.4: - resolution: {integrity: sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==} + /loupe/2.3.3: + resolution: {integrity: sha512-krIV4Cf1BIGIx2t1e6tucThhrBemUnIUjMtD2vN4mrMxnxpBvrcosBSpooqunBqP/hOEEV1w/Cr1YskGtqw5Jg==} dependencies: get-func-name: 2.0.0 dev: false @@ -5853,9 +6010,17 @@ packages: yallist: 2.1.2 dev: false - /lru-cache/7.8.1: - resolution: {integrity: sha512-E1v547OCgJvbvevfjgK9sNKIVXO96NnsTsFPBlg4ZxjhsJSODoH9lk8Bm0OxvHNm6Vm5Yqkl/1fErDxhYL8Skg==} + /lru-cache/6.0.0: + resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} + engines: {node: '>=10'} + dependencies: + yallist: 4.0.0 + dev: false + + /lru-cache/7.5.0: + resolution: {integrity: sha512-8neUvdgNtubJ+VNNqrqOLjUoIlN+NRPFtv1Vne2rQ4uPCxhp0W4TlqntzTLnVVezGXcSSdXTrKCTYooEQA7X6g==} engines: {node: '>=12'} + deprecated: Please update to latest patch version to fix memory leak https://github.com/isaacs/node-lru-cache/issues/227 dev: false /lunr/2.3.9: @@ -5869,8 +6034,8 @@ packages: lodash: 4.17.21 dev: false - /magic-string/0.25.9: - resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} + /magic-string/0.25.7: + resolution: {integrity: sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==} dependencies: sourcemap-codec: 1.4.8 dev: false @@ -5981,30 +6146,30 @@ packages: /micromark/2.11.4: resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} dependencies: - debug: 4.3.4 + debug: 4.3.3 parse-entities: 2.0.0 transitivePeerDependencies: - supports-color dev: false - /micromatch/4.0.5: - resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + /micromatch/4.0.4: + resolution: {integrity: sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==} engines: {node: '>=8.6'} dependencies: braces: 3.0.2 picomatch: 2.3.1 dev: false - /mime-db/1.52.0: - resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + /mime-db/1.51.0: + resolution: {integrity: sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==} engines: {node: '>= 0.6'} dev: false - /mime-types/2.1.35: - resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + /mime-types/2.1.34: + resolution: {integrity: sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==} engines: {node: '>= 0.6'} dependencies: - mime-db: 1.52.0 + mime-db: 1.51.0 dev: false /mime/1.6.0: @@ -6046,14 +6211,14 @@ packages: brace-expansion: 1.1.11 dev: false - /minimatch/3.1.2: - resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} + /minimatch/3.0.5: + resolution: {integrity: sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==} dependencies: brace-expansion: 1.1.11 dev: false - /minimist/1.2.6: - resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} + /minimist/1.2.5: + resolution: {integrity: sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==} dev: false /mkdirp-classic/0.5.3: @@ -6064,14 +6229,7 @@ packages: resolution: {integrity: sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==} hasBin: true dependencies: - minimist: 1.2.6 - dev: false - - /mkdirp/0.5.6: - resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} - hasBin: true - dependencies: - minimist: 1.2.6 + minimist: 1.2.5 dev: false /mkdirp/1.0.4: @@ -6087,7 +6245,7 @@ packages: dependencies: debug: 2.6.9 md5: 2.3.0 - mkdirp: 0.5.6 + mkdirp: 0.5.5 mocha: 7.2.0 strip-ansi: 4.0.0 xml: 1.0.1 @@ -6100,7 +6258,7 @@ packages: dependencies: debug: 2.6.9 md5: 2.3.0 - mkdirp: 0.5.6 + mkdirp: 0.5.5 mocha: 7.2.0 strip-ansi: 6.0.1 xml: 1.0.1 @@ -6154,8 +6312,8 @@ packages: resolution: {integrity: sha1-EUyUlnPiqKNenTV4hSeqN7Z52is=} dev: false - /moment/2.29.2: - resolution: {integrity: sha512-UgzG4rvxYpN15jgCmVJwac49h9ly9NurikMWGPdVxm8GZD6XjkKPxDTjQQ43gtGgnV3X0cAyWDdP2Wexoquifg==} + /moment/2.29.1: + resolution: {integrity: sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==} dev: false /ms/2.0.0: @@ -6174,8 +6332,8 @@ packages: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} dev: false - /msal/1.4.16: - resolution: {integrity: sha512-Q6jIV5RG6mD9O0bzZrR/f8v5QikrVWU0sccwOyqWE1xlBkKYVKRa/L8Gxt1X58M+J/N9V0JskhvO4KIfRHlE8g==} + /msal/1.4.15: + resolution: {integrity: sha512-H/CxkeZJ4laEK6GZ/cDKQoYjBTvDNFK3hDC8mfU8IkuZvKFfFdo9KM89r8spXY7xnBK9SQBAjIuQgwUogeUw7g==} engines: {node: '>=0.8.0'} dependencies: tslib: 1.14.1 @@ -6185,8 +6343,8 @@ packages: resolution: {integrity: sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==} dev: false - /nanoid/3.3.2: - resolution: {integrity: sha512-CuHBogktKwpm5g2sRgv83jEy2ijFzBwMoYA60orPDR7ynsLijJDqgsi4RDGj3OJpy3Ieb+LYwiRmIOGyytgITA==} + /nanoid/3.2.0: + resolution: {integrity: sha512-fmsZYa9lpn69Ad5eDn7FMcnnSR+8R34W9qJEijxYhTbfOWzr22n1QxCMzXLK+ODyW2973V3Fux959iQoUxzUIA==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true dev: false @@ -6208,8 +6366,8 @@ packages: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} dev: false - /nested-error-stacks/2.1.1: - resolution: {integrity: sha512-9iN1ka/9zmX1ZvLV9ewJYEk9h7RyRRtqdK0woXcqohu8EWIerfPUjYJPg0ULy0UqP7cslmdGc8xKDJcojlKiaw==} + /nested-error-stacks/2.1.0: + resolution: {integrity: sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug==} dev: false /nice-try/1.0.5: @@ -6240,7 +6398,7 @@ packages: resolution: {integrity: sha512-QNb/j8kbFnKCiyqi9C5DD0jH/FubFGj5rt9NQFONXwQm3IPB0CULECg/eS3AU1KgZb/6SwUa4/DTRKhVxkGABw==} engines: {node: '>= 10.13'} dependencies: - debug: 4.3.4 + debug: 4.3.3 json-stringify-safe: 5.0.1 lodash: 4.17.21 propagate: 2.0.1 @@ -6252,7 +6410,7 @@ packages: resolution: {integrity: sha512-tzua9qWWi7iW4I42vUPKM+SfaF0vQSLAm4yO5J83mSwB7GeoWrDKC/K+8YCnYNwqP5duwazbw2X9l4m8SC2cUw==} engines: {node: '>=10'} dependencies: - semver: 7.3.6 + semver: 7.3.5 dev: false /node-abort-controller/3.0.1: @@ -6289,8 +6447,8 @@ packages: process-on-spawn: 1.0.0 dev: false - /node-releases/2.0.3: - resolution: {integrity: sha512-maHFz6OLqYxz+VQyCAtA3PTX4UP/53pa05fyDNc9CwjvJ0yEh6+xBwKsgCxMNhS8taUKBFYxfuiaD9U/55iFaw==} + /node-releases/2.0.1: + resolution: {integrity: sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==} dev: false /noms/0.0.0: @@ -6330,7 +6488,7 @@ packages: chalk: 2.4.2 cross-spawn: 6.0.5 memorystream: 0.3.1 - minimatch: 3.1.2 + minimatch: 3.0.5 pidtree: 0.3.1 read-pkg: 3.0.0 shell-quote: 1.7.3 @@ -6344,8 +6502,8 @@ packages: path-key: 3.1.1 dev: false - /npm-run-path/5.1.0: - resolution: {integrity: sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==} + /npm-run-path/5.0.1: + resolution: {integrity: sha512-ybBJQUSyFwEEhqO2lXmyKOl9ucHtyZBWVM0h0FiMfT/+WKxCUZFa95qAR2X3w/w6oigN3B0b2UNHZbD+kdfD5w==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: path-key: 4.0.0 @@ -6455,7 +6613,7 @@ packages: dependencies: define-properties: 1.1.3 function-bind: 1.1.1 - has-symbols: 1.0.3 + has-symbols: 1.0.2 object-keys: 1.1.1 dev: false @@ -6465,7 +6623,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.3 - has-symbols: 1.0.3 + has-symbols: 1.0.2 object-keys: 1.1.1 dev: false @@ -6475,7 +6633,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.3 - es-abstract: 1.19.2 + es-abstract: 1.19.1 dev: false /object.values/1.1.5: @@ -6484,7 +6642,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.3 - es-abstract: 1.19.2 + es-abstract: 1.19.1 dev: false /on-finished/2.3.0: @@ -6494,13 +6652,6 @@ packages: ee-first: 1.1.1 dev: false - /on-finished/2.4.1: - resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} - engines: {node: '>= 0.8'} - dependencies: - ee-first: 1.1.1 - dev: false - /once/1.4.0: resolution: {integrity: sha1-WDsap3WWHUsROsF9nFC6753Xa9E=} dependencies: @@ -6611,7 +6762,7 @@ packages: resolution: {integrity: sha512-lOtmukMDVvtkL84rJHI7dpTYq+0rli8N2wlnqUcBuDWCfVhRUfOmnR9SsoHFMLpACvEV60dX7rd0rFaYDZI+FA==} engines: {node: '>=6'} dependencies: - graceful-fs: 4.2.10 + graceful-fs: 4.2.9 hasha: 3.0.0 lodash.flattendeep: 4.4.0 release-zalgo: 1.0.0 @@ -6621,7 +6772,7 @@ packages: resolution: {integrity: sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ==} engines: {node: '>=8'} dependencies: - graceful-fs: 4.2.10 + graceful-fs: 4.2.9 hasha: 5.2.2 lodash.flattendeep: 4.4.0 release-zalgo: 1.0.0 @@ -6770,15 +6921,20 @@ packages: find-up: 4.1.0 dev: false + /pluralize/8.0.0: + resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} + engines: {node: '>=4'} + dev: false + /prebuild-install/7.0.1: resolution: {integrity: sha512-QBSab31WqkyxpnMWQxubYAHR5S9B2+r81ucocew34Fkl98FhvKIF50jIJnNOBmAZfyNV7vE5T6gd3hTVWgY6tg==} engines: {node: '>=10'} hasBin: true dependencies: - detect-libc: 2.0.1 + detect-libc: 2.0.0 expand-template: 2.0.3 github-from-package: 0.0.0 - minimist: 1.2.6 + minimist: 1.2.5 mkdirp-classic: 0.5.3 napi-build-utils: 1.0.2 node-abi: 3.8.0 @@ -6813,12 +6969,6 @@ packages: hasBin: true dev: false - /prettier/2.6.2: - resolution: {integrity: sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==} - engines: {node: '>=10.13.0'} - hasBin: true - dev: false - /priorityqueuejs/1.0.0: resolution: {integrity: sha1-LuTyPCVgkT4IwHzlzN1t498sWvg=} dev: false @@ -6891,13 +7041,13 @@ packages: engines: {node: '>=6'} dev: false - /puppeteer/13.5.2: - resolution: {integrity: sha512-DJAyXODBikZ3xPs8C35CtExEw78LZR9RyelGDAs0tX1dERv3OfW7qpQ9VPBgsfz+hG2HiMTO/Tyf7BuMVWsrxg==} + /puppeteer/13.5.1: + resolution: {integrity: sha512-wWxO//vMiqxlvuzHMAJ0pRJeDHvDtM7DQpW1GKdStz2nZo2G42kOXBDgkmQ+zqjwMCFofKGesBeeKxIkX9BO+w==} engines: {node: '>=10.18.1'} requiresBuild: true dependencies: cross-fetch: 3.1.5 - debug: 4.3.4 + debug: 4.3.3 devtools-protocol: 0.0.969999 extract-zip: 2.0.1 https-proxy-agent: 5.0.0 @@ -6927,8 +7077,8 @@ packages: side-channel: 1.0.4 dev: false - /qs/6.9.7: - resolution: {integrity: sha512-IhMFgUmuNpyRfxA90umL7ByLlgRXu6tIfKPpF5TmcfRLlLCckfP/g3IQmju6jjpu+Hh8rA+2p6A27ZSPOOHdKw==} + /qs/6.9.6: + resolution: {integrity: sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==} engines: {node: '>=0.6'} dev: false @@ -6948,6 +7098,14 @@ packages: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} dev: false + /quote/0.4.0: + resolution: {integrity: sha1-EIOSF/bBNiuJGUBE0psjP9fzLwE=} + dev: false + + /ramda/0.27.1: + resolution: {integrity: sha512-PgIdVpn5y5Yns8vqb8FzBUEYn98V3xcPgawAkkgj0YJ0qDsnHCiNmZYfOGMgOvoB0eWFLpYbhxUR3mxfDIMvpw==} + dev: false + /randombytes/2.1.0: resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} dependencies: @@ -6959,33 +7117,23 @@ packages: engines: {node: '>= 0.6'} dev: false - /raw-body/2.4.3: - resolution: {integrity: sha512-UlTNLIcu0uzb4D2f4WltY6cVjLi+/jEN4lgEUj3E04tpMDpUlkBo/eSn6zou9hum2VMNpCCUone0O0WeJim07g==} + /raw-body/2.4.2: + resolution: {integrity: sha512-RPMAFUJP19WIet/99ngh6Iv8fzAbqum4Li7AD6DtGaW2RpMB/11xDoalPiJMTbu6I3hkbMVkATvZrqb9EEqeeQ==} engines: {node: '>= 0.8'} dependencies: - bytes: 3.1.2 + bytes: 3.1.1 http-errors: 1.8.1 iconv-lite: 0.4.24 unpipe: 1.0.0 dev: false - /raw-body/2.5.1: - resolution: {integrity: sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==} - engines: {node: '>= 0.8'} - dependencies: - bytes: 3.1.2 - http-errors: 2.0.0 - iconv-lite: 0.4.24 - unpipe: 1.0.0 - dev: false - /rc/1.2.8: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true dependencies: deep-extend: 0.6.0 ini: 1.3.8 - minimist: 1.2.6 + minimist: 1.2.5 strip-json-comments: 2.0.1 dev: false @@ -7057,6 +7205,10 @@ packages: resolve: 1.22.0 dev: false + /regenerator-runtime/0.11.1: + resolution: {integrity: sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==} + dev: false + /regenerator-runtime/0.13.9: resolution: {integrity: sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==} dev: false @@ -7090,7 +7242,7 @@ packages: /require-in-the-middle/5.1.0: resolution: {integrity: sha512-M2rLKVupQfJ5lf9OvqFGIT+9iVLnTmjgbOmpil12hiSQNn5zJTKGPoIisETNjfK+09vP3rpm1zJajmErpr2sEQ==} dependencies: - debug: 4.3.4 + debug: 4.3.3 module-details-from-path: 1.0.3 resolve: 1.22.0 transitivePeerDependencies: @@ -7214,13 +7366,13 @@ packages: resolve: 1.22.0 dev: false - /rollup-plugin-polyfill-node/0.8.0_rollup@2.70.1: + /rollup-plugin-polyfill-node/0.8.0_rollup@2.67.1: resolution: {integrity: sha512-C4UeKedOmOBkB3FgR+z/v9kzRwV1Q/H8xWs1u1+CNe4XOV6hINfOrcO+TredKxYvopCmr+WKUSNsFUnD1RLHgQ==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: - '@rollup/plugin-inject': 4.0.4_rollup@2.70.1 - rollup: 2.70.1 + '@rollup/plugin-inject': 4.0.4_rollup@2.67.1 + rollup: 2.67.1 dev: false /rollup-plugin-shim/1.0.0: @@ -7238,18 +7390,18 @@ packages: source-map-resolve: 0.5.3 dev: false - /rollup-plugin-sourcemaps/0.4.2_rollup@2.70.1: + /rollup-plugin-sourcemaps/0.4.2_rollup@2.67.1: resolution: {integrity: sha1-YhJaqUCHqt97g+9N+vYptHMTXoc=} engines: {node: '>=4.5.0', npm: '>=2.15.9'} peerDependencies: rollup: '>=0.31.2' dependencies: - rollup: 2.70.1 + rollup: 2.67.1 rollup-pluginutils: 2.8.2 source-map-resolve: 0.5.3 dev: false - /rollup-plugin-sourcemaps/0.6.3_0b8c6e9127356138a5eb10cf645561b8: + /rollup-plugin-sourcemaps/0.6.3_c217bac607b2122787956dfdf78722b9: resolution: {integrity: sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==} engines: {node: '>=10.0.0'} peerDependencies: @@ -7259,13 +7411,13 @@ packages: '@types/node': optional: true dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.1 - '@types/node': 12.20.47 - rollup: 2.70.1 + '@rollup/pluginutils': 3.1.0_rollup@2.67.1 + '@types/node': 12.20.43 + rollup: 2.67.1 source-map-resolve: 0.6.0 dev: false - /rollup-plugin-sourcemaps/0.6.3_rollup@2.70.1: + /rollup-plugin-sourcemaps/0.6.3_rollup@2.67.1: resolution: {integrity: sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==} engines: {node: '>=10.0.0'} peerDependencies: @@ -7275,50 +7427,50 @@ packages: '@types/node': optional: true dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.1 - rollup: 2.70.1 + '@rollup/pluginutils': 3.1.0_rollup@2.67.1 + rollup: 2.67.1 source-map-resolve: 0.6.0 dev: false - /rollup-plugin-terser/5.3.1_rollup@2.70.1: + /rollup-plugin-terser/5.3.1_rollup@2.67.1: resolution: {integrity: sha512-1pkwkervMJQGFYvM9nscrUoncPwiKR/K+bHdjv6PFgRo3cgPHoRT83y2Aa3GvINj4539S15t/tpFPb775TDs6w==} peerDependencies: rollup: '>=0.66.0 <3' dependencies: '@babel/code-frame': 7.16.7 jest-worker: 24.9.0 - rollup: 2.70.1 + rollup: 2.67.1 rollup-pluginutils: 2.8.2 serialize-javascript: 4.0.0 terser: 4.8.0 dev: false - /rollup-plugin-visualizer/4.2.2_rollup@2.70.1: + /rollup-plugin-visualizer/4.2.2_rollup@2.67.1: resolution: {integrity: sha512-10/TsugsaQL5rdynl0lrklBngTtkRBESZdxUJy+3fN+xKqNdg5cr7JQU1OoPx4p5mhQ+nspa6EvX3qc8SsBvnA==} engines: {node: '>=10'} hasBin: true peerDependencies: rollup: '>=1.20.0' dependencies: - nanoid: 3.3.2 + nanoid: 3.2.0 open: 7.4.2 - rollup: 2.70.1 + rollup: 2.67.1 source-map: 0.7.3 yargs: 16.2.0 dev: false - /rollup-plugin-visualizer/5.6.0_rollup@2.70.1: - resolution: {integrity: sha512-CKcc8GTUZjC+LsMytU8ocRr/cGZIfMR7+mdy4YnlyetlmIl/dM8BMnOEpD4JPIGt+ZVW7Db9ZtSsbgyeBH3uTA==} + /rollup-plugin-visualizer/5.5.4_rollup@2.67.1: + resolution: {integrity: sha512-CJQFUuZ75S1daGEkk62UH7lL6UFCoP86Sn/iz4gXBdamdwFeD5nPGCHHXfXCrly/wNgQOYTH7cdcxk4+OG3Xjw==} engines: {node: '>=12'} hasBin: true peerDependencies: rollup: ^2.0.0 dependencies: - nanoid: 3.3.2 + nanoid: 3.2.0 open: 8.4.0 - rollup: 2.70.1 + rollup: 2.67.1 source-map: 0.7.3 - yargs: 17.4.1 + yargs: 17.3.1 dev: false /rollup-pluginutils/2.8.2: @@ -7332,12 +7484,12 @@ packages: hasBin: true dependencies: '@types/estree': 0.0.51 - '@types/node': 17.0.23 + '@types/node': 17.0.15 acorn: 7.4.1 dev: false - /rollup/2.70.1: - resolution: {integrity: sha512-CRYsI5EuzLbXdxC6RnYhOuRdtz4bhejPMSWjsFLfVM/7w/85n2szZv6yExqUXsBdz5KT8eoubeyDUDjhLHEslA==} + /rollup/2.67.1: + resolution: {integrity: sha512-1Sbcs4OuW+aD+hhqpIRl+RqooIpF6uQcfzU/QSI7vGkwADY6cM4iLsBGRM2CGLXDTDN5y/yShohFmnKegSPWzg==} engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: @@ -7393,12 +7545,12 @@ packages: hasBin: true dev: false - /semver/7.3.6: - resolution: {integrity: sha512-HZWqcgwLsjaX1HBD31msI/rXktuIhS+lWvdE4kN9z+8IVT4Itc7vqU2WvYsyD6/sjYCt4dEKH/m1M3dwI9CC5w==} - engines: {node: ^10.0.0 || ^12.0.0 || ^14.0.0 || >=16.0.0} + /semver/7.3.5: + resolution: {integrity: sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==} + engines: {node: '>=10'} hasBin: true dependencies: - lru-cache: 7.8.1 + lru-cache: 6.0.0 dev: false /send/0.17.2: @@ -7491,7 +7643,7 @@ packages: engines: {node: '>=6'} hasBin: true dependencies: - minimist: 1.2.6 + minimist: 1.2.5 shelljs: 0.8.5 dev: false @@ -7555,6 +7707,60 @@ packages: is-fullwidth-code-point: 3.0.0 dev: false + /snap-shot-compare/3.0.0: + resolution: {integrity: sha512-bdwNOAGuKwPU+qsn0ASxTv+QfkXU+3VmkcDOkt965tes+JQQc8d6SfoLiEiRVhCey4v+ip2IjNUSbZm5nnkI9g==} + engines: {node: '>=6'} + dependencies: + check-more-types: 2.24.0 + debug: 4.1.1 + disparity: 3.0.0 + folktale: 2.3.2 + lazy-ass: 1.6.0 + strip-ansi: 5.2.0 + variable-diff: 1.1.0 + dev: false + + /snap-shot-core/10.2.4: + resolution: {integrity: sha512-A7tkcfmvnRKge4VzFLAWA4UYMkvFY4TZKyL+D6hnHjI3HJ4pTepjG5DfR2ACeDKMzCSTQ5EwR2iOotI+Z37zsg==} + engines: {node: '>=6'} + hasBin: true + dependencies: + arg: 4.1.3 + check-more-types: 2.24.0 + common-tags: 1.8.0 + debug: 4.3.1 + escape-quotes: 1.0.2 + folktale: 2.3.2 + is-ci: 2.0.0 + jsesc: 2.5.2 + lazy-ass: 1.6.0 + mkdirp: 1.0.4 + pluralize: 8.0.0 + quote: 0.4.0 + ramda: 0.27.1 + transitivePeerDependencies: + - supports-color + dev: false + + /snap-shot-it/7.9.6: + resolution: {integrity: sha512-t/ADZfQ8EUk4J76S5cmynye7qg1ecUFqQfANiOMNy0sFmYUaqfx9K/AWwpdcpr3vFsDptM+zSuTtKD0A1EOLqA==} + engines: {node: '>=6'} + dependencies: + '@bahmutov/data-driven': 1.0.0 + check-more-types: 2.24.0 + common-tags: 1.8.0 + debug: 4.3.1 + has-only: 1.1.1 + its-name: 1.0.0 + lazy-ass: 1.6.0 + pluralize: 8.0.0 + ramda: 0.27.1 + snap-shot-compare: 3.0.0 + snap-shot-core: 10.2.4 + transitivePeerDependencies: + - supports-color + dev: false + /socket.io-adapter/2.3.3: resolution: {integrity: sha512-Qd/iwn3VskrpNO60BeRyCyr8ZWw9CPZyitW4AQwmRZ8zCiyDiL+znRnWX6tDHXnWn1sJrM1+b6Mn6wEDJJ4aYQ==} dev: false @@ -7565,7 +7771,7 @@ packages: dependencies: '@types/component-emitter': 1.2.11 component-emitter: 1.3.0 - debug: 4.3.4 + debug: 4.3.3 transitivePeerDependencies: - supports-color dev: false @@ -7576,8 +7782,8 @@ packages: dependencies: accepts: 1.3.8 base64id: 2.0.0 - debug: 4.3.4 - engine.io: 6.1.3 + debug: 4.3.3 + engine.io: 6.1.2 socket.io-adapter: 2.3.3 socket.io-parser: 4.0.4 transitivePeerDependencies: @@ -7644,7 +7850,7 @@ packages: resolution: {integrity: sha512-IgB8md0QW/+tWqcavuFgKYR/qIRvJkRLPJDFaoXtLLUaVcCDK0+HeFTkmQHj3eprcYhc+gOl0aEA1w7qZlYezw==} dependencies: foreground-child: 1.5.6 - mkdirp: 0.5.6 + mkdirp: 0.5.5 os-homedir: 1.0.2 rimraf: 2.7.1 signal-exit: 3.0.7 @@ -7694,23 +7900,18 @@ packages: engines: {node: '>= 0.6'} dev: false - /statuses/2.0.1: - resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} - engines: {node: '>= 0.8'} - dev: false - /stoppable/1.1.0: resolution: {integrity: sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==} engines: {node: '>=4', npm: '>=6'} dev: false - /streamroller/3.0.6: - resolution: {integrity: sha512-Qz32plKq/MZywYyhEatxyYc8vs994Gz0Hu2MSYXXLD233UyPeIeRBZARIIGwFer4Mdb8r3Y2UqKkgyDghM6QCg==} + /streamroller/3.0.2: + resolution: {integrity: sha512-ur6y5S5dopOaRXBuRIZ1u6GC5bcEXHRZKgfBjfCglMhmIf+roVCECjvkEYzNQOXIN2/JPnkMPW/8B3CZoKaEPA==} engines: {node: '>=8.0'} dependencies: - date-format: 4.0.6 - debug: 4.3.4 - fs-extra: 10.0.1 + date-format: 4.0.3 + debug: 4.3.3 + fs-extra: 10.0.0 transitivePeerDependencies: - supports-color dev: false @@ -7761,7 +7962,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.3 - es-abstract: 1.19.2 + es-abstract: 1.19.1 dev: false /string.prototype.trimend/1.0.4: @@ -7805,14 +8006,14 @@ packages: resolution: {integrity: sha1-qEeQIusaw2iocTibY1JixQXuNo8=} engines: {node: '>=4'} dependencies: - ansi-regex: 3.0.1 + ansi-regex: 3.0.0 dev: false /strip-ansi/5.2.0: resolution: {integrity: sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==} engines: {node: '>=6'} dependencies: - ansi-regex: 4.1.1 + ansi-regex: 4.1.0 dev: false /strip-ansi/6.0.1: @@ -7856,6 +8057,11 @@ packages: resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==} dev: false + /supports-color/2.0.0: + resolution: {integrity: sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=} + engines: {node: '>=0.8.0'} + dev: false + /supports-color/5.5.0: resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} engines: {node: '>=4'} @@ -7900,7 +8106,7 @@ packages: resolution: {integrity: sha512-s/fitrbVeEyHKFa7mFdkuQMWlH1Wgw/yEXMt5xACT4ZpzWFluehAxRtUUQKPuWhaLAWhFcVx6w3oC8VKaUfPGA==} engines: {node: '>=10.0.0'} dependencies: - ajv: 8.11.0 + ajv: 8.10.0 lodash.truncate: 4.4.2 slice-ansi: 4.0.0 string-width: 4.2.3 @@ -7942,7 +8148,7 @@ packages: engines: {node: '>=6'} dependencies: glob: 7.2.0 - minimatch: 3.1.2 + minimatch: 3.0.5 read-pkg-up: 4.0.0 require-main-filename: 2.0.0 dev: false @@ -7953,7 +8159,7 @@ packages: dependencies: '@istanbuljs/schema': 0.1.3 glob: 7.2.0 - minimatch: 3.1.2 + minimatch: 3.0.5 dev: false /text-table/0.2.0: @@ -8032,8 +8238,8 @@ packages: hasBin: true dev: false - /ts-node/10.7.0_b23b0a2d2a25417b088e86bfb6fd069e: - resolution: {integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==} + /ts-node/10.5.0_1aa569e4b68ef65c520f700d6703bce0: + resolution: {integrity: sha512-6kEJKwVxAJ35W4akuiysfKwKmjkbYxwQMTBaAxo9KKAx/Yd26mPUyhGz3ji+EsJoAgrLqVsYHNuuYwQe22lbtw==} hasBin: true peerDependencies: '@swc/core': '>=1.2.50' @@ -8051,7 +8257,7 @@ packages: '@tsconfig/node12': 1.0.9 '@tsconfig/node14': 1.0.1 '@tsconfig/node16': 1.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 acorn: 8.7.0 acorn-walk: 8.2.0 arg: 4.1.3 @@ -8063,8 +8269,8 @@ packages: yn: 3.1.1 dev: false - /ts-node/10.7.0_c7b7062e0b9347939444ea76e6e422c3: - resolution: {integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==} + /ts-node/10.5.0_b9e5ce42782cd820477875c268f950fe: + resolution: {integrity: sha512-6kEJKwVxAJ35W4akuiysfKwKmjkbYxwQMTBaAxo9KKAx/Yd26mPUyhGz3ji+EsJoAgrLqVsYHNuuYwQe22lbtw==} hasBin: true peerDependencies: '@swc/core': '>=1.2.50' @@ -8082,7 +8288,7 @@ packages: '@tsconfig/node12': 1.0.9 '@tsconfig/node14': 1.0.1 '@tsconfig/node16': 1.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 acorn: 8.7.0 acorn-walk: 8.2.0 arg: 4.1.3 @@ -8125,12 +8331,12 @@ packages: yn: 3.1.1 dev: false - /tsconfig-paths/3.14.1: - resolution: {integrity: sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==} + /tsconfig-paths/3.12.0: + resolution: {integrity: sha512-e5adrnOYT6zqVnWqZu7i/BQ3BnhzvGbjEjejFXO20lKIKpwTaupkCPgEfv4GZK1IBciJUEhYs3J3p75FdaTFVg==} dependencies: '@types/json5': 0.0.29 json5: 1.0.1 - minimist: 1.2.6 + minimist: 1.2.5 strip-bom: 3.0.0 dev: false @@ -8190,7 +8396,7 @@ packages: engines: {node: '>= 0.6'} dependencies: media-typer: 0.3.0 - mime-types: 2.1.35 + mime-types: 2.1.34 dev: false /typedarray-to-buffer/3.1.5: @@ -8203,7 +8409,7 @@ packages: resolution: {integrity: sha512-rouf0TcIA4M2nOQFfC7Zp4NEwoYiEX4vX/ZtudJWU9IHA29MPC+PPgSXYLPESkUo7FuB//GxigO3mk9Qe1xp3Q==} engines: {node: '>= 8'} dependencies: - backbone: 1.4.1 + backbone: 1.4.0 jquery: 3.6.0 lunr: 2.3.9 underscore: 1.13.2 @@ -8220,7 +8426,7 @@ packages: highlight.js: 9.18.5 lodash: 4.17.21 marked: 0.7.0 - minimatch: 3.1.2 + minimatch: 3.0.5 progress: 2.0.3 shelljs: 0.8.5 typedoc-default-themes: 0.6.3 @@ -8261,8 +8467,8 @@ packages: resolution: {integrity: sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==} dev: false - /uglify-js/3.15.4: - resolution: {integrity: sha512-vMOPGDuvXecPs34V74qDKk4iJ/SN4vL3Ow/23ixafENYvtrNvtbcgUeugTcUGRGsOF/5fU8/NYSL5Hyb3l1OJA==} + /uglify-js/3.15.1: + resolution: {integrity: sha512-FAGKF12fWdkpvNJZENacOH0e/83eG6JyVQyanIJaBXCN1J11TUQv1T1/z8S+Z0CG0ZPk1nPcreF/c7lrTd0TEQ==} engines: {node: '>=0.8.0'} hasBin: true dev: false @@ -8272,7 +8478,7 @@ packages: dependencies: function-bind: 1.1.1 has-bigints: 1.0.1 - has-symbols: 1.0.3 + has-symbols: 1.0.2 which-boxed-primitive: 1.0.2 dev: false @@ -8391,6 +8597,13 @@ packages: engines: {node: '>= 0.10'} dev: false + /variable-diff/1.1.0: + resolution: {integrity: sha1-0r1cZtt2wTh52W5qMG7cmJ35eNo=} + dependencies: + chalk: 1.1.3 + object-assign: 4.1.1 + dev: false + /vary/1.1.2: resolution: {integrity: sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=} engines: {node: '>= 0.8'} @@ -8429,7 +8642,7 @@ packages: dependencies: is-bigint: 1.0.4 is-boolean-object: 1.1.2 - is-number-object: 1.0.7 + is-number-object: 1.0.6 is-string: 1.0.7 is-symbol: 1.0.4 dev: false @@ -8444,7 +8657,7 @@ packages: dependencies: available-typed-arrays: 1.0.5 call-bind: 1.0.2 - es-abstract: 1.19.2 + es-abstract: 1.19.1 foreach: 2.0.5 has-tostringtag: 1.0.0 is-typed-array: 1.1.8 @@ -8474,7 +8687,7 @@ packages: /wide-align/1.1.5: resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} dependencies: - string-width: 1.0.2 + string-width: 4.2.3 dev: false /word-wrap/1.2.3: @@ -8520,7 +8733,7 @@ packages: /write-file-atomic/2.4.3: resolution: {integrity: sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==} dependencies: - graceful-fs: 4.2.10 + graceful-fs: 4.2.9 imurmurhash: 0.1.4 signal-exit: 3.0.7 dev: false @@ -8613,6 +8826,10 @@ packages: resolution: {integrity: sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=} dev: false + /yallist/4.0.0: + resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + dev: false + /yaml/1.10.2: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} @@ -8638,8 +8855,8 @@ packages: engines: {node: '>=10'} dev: false - /yargs-parser/21.0.1: - resolution: {integrity: sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==} + /yargs-parser/21.0.0: + resolution: {integrity: sha512-z9kApYUOCwoeZ78rfRYYWdiU/iNL6mwwYlkkZfJoyMR1xps+NEBX5X7XmRpxkZHhXJ6+Ey00IwKxBBSW9FIjyA==} engines: {node: '>=12'} dev: false @@ -8697,8 +8914,8 @@ packages: yargs-parser: 20.2.9 dev: false - /yargs/17.4.1: - resolution: {integrity: sha512-WSZD9jgobAg3ZKuCQZSa3g9QOJeCCqLoLAykiWgmXnDo9EPnn4RPf5qVTtzgOx66o6/oqhcA5tHtJXpG8pMt3g==} + /yargs/17.3.1: + resolution: {integrity: sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA==} engines: {node: '>=12'} dependencies: cliui: 7.0.4 @@ -8707,7 +8924,7 @@ packages: require-directory: 2.1.1 string-width: 4.2.3 y18n: 5.0.8 - yargs-parser: 21.0.1 + yargs-parser: 21.0.0 dev: false /yauzl/2.10.0: @@ -8733,8 +8950,8 @@ packages: commander: 2.20.3 dev: false - /z-schema/5.0.3: - resolution: {integrity: sha512-sGvEcBOTNum68x9jCpCVGPFJ6mWnkD0YxOcddDlJHRx3tKdB2q8pCHExMVZo/AV/6geuVJXG7hljDaWG8+5GDw==} + /z-schema/5.0.2: + resolution: {integrity: sha512-40TH47ukMHq5HrzkeVE40Ad7eIDKaRV2b+Qpi2prLc9X9eFJFzV7tMe5aH12e6avaSS/u5l653EQOv+J9PirPw==} engines: {node: '>=8.0.0'} hasBin: true dependencies: @@ -8750,31 +8967,31 @@ packages: name: '@rush-temp/abort-controller' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -8791,35 +9008,36 @@ packages: name: '@rush-temp/agrifood-farming' version: 0.0.0 dependencies: + '@azure-rest/core-client': 1.0.0-beta.7 '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mkdirp: 1.0.4 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 source-map-support: 0.5.21 tslib: 2.3.1 @@ -8840,31 +9058,31 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 csv-parse: 5.0.4 dotenv: 8.6.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 tslib: 2.3.1 typescript: 4.2.4 @@ -8883,26 +9101,26 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 @@ -8925,32 +9143,36 @@ packages: name: '@rush-temp/ai-form-recognizer' version: 0.0.0 dependencies: + '@azure-tools/test-recorder': 1.0.2 + '@azure/core-tracing': 1.0.0-preview.14 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 + karma-json-to-file-reporter: 1.0.1 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 @@ -8971,37 +9193,37 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -9019,39 +9241,42 @@ packages: name: '@rush-temp/ai-text-analytics' version: 0.0.0 dependencies: + '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 + karma-json-to-file-reporter: 1.0.1 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -9064,7 +9289,7 @@ packages: dev: false file:projects/app-configuration.tgz: - resolution: {integrity: sha512-MwpJxCKwaeur8hR7eA4HtYTRnBqkapZUO3uXS4MLvYsyEqMlBUxMu5R8KV9PK68a40PGzRbKyxJzjA61PeOU+A==, tarball: file:projects/app-configuration.tgz} + resolution: {integrity: sha512-LrsxNjdv278IYD2fPDAbx7WrZgzJ2ogHO7ipoeJRxEVoFB8MFDlISY/wbsi5MJBSoiW3068NC/rnM+3AqeG+9Q==, tarball: file:projects/app-configuration.tgz} name: '@rush-temp/app-configuration' version: 0.0.0 dependencies: @@ -9072,16 +9297,16 @@ packages: '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 '@azure/keyvault-secrets': 4.4.0 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-inject': 4.0.4_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 - '@rollup/plugin-replace': 2.4.2_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-inject': 4.0.4_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 + '@rollup/plugin-replace': 2.4.2_rollup@2.67.1 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -9089,32 +9314,32 @@ packages: dotenv: 8.6.0 eslint: 7.32.0 esm: 3.2.25 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nock: 12.0.3 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - rollup: 2.70.1 + rollup: 2.67.1 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 - rollup-plugin-terser: 5.3.1_rollup@2.70.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 + rollup-plugin-terser: 5.3.1_rollup@2.67.1 sinon: 9.2.4 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 uuid: 8.3.2 transitivePeerDependencies: - '@swc/core' @@ -9133,20 +9358,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9161,20 +9386,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -9188,20 +9413,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9216,20 +9441,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9244,20 +9469,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9272,20 +9497,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9300,20 +9525,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9328,20 +9553,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9356,20 +9581,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -9383,7 +9608,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -9396,7 +9621,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -9410,20 +9635,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9432,21 +9657,31 @@ packages: dev: false file:projects/arm-authorization.tgz: - resolution: {integrity: sha512-G1VpgblVPEzRfMyiETGD1ZOSETwtleOSpYkTxI70vUYNS9v7WuQhftIEHgXwIPMQtP+ujyBV+Fo3GwH9ziANSQ==, tarball: file:projects/arm-authorization.tgz} + resolution: {integrity: sha512-Ix/OvJC+D7IttysMC9nx2fAfJwTsOXjS/+hPFjU2PvL5voTQmipGKtlyou95nu6pn5gFIXZLWdd2rw+vrQEJcQ==, tarball: file:projects/arm-authorization.tgz} name: '@rush-temp/arm-authorization' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@azure-tools/test-recorder': 1.0.2 + '@azure/identity': 2.0.4 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 + cross-env: 7.0.3 mkdirp: 1.0.4 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + mocha: 7.2.0 + rimraf: 3.0.2 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 + transitivePeerDependencies: + - '@types/node' + - debug + - encoding + - supports-color dev: false file:projects/arm-avs.tgz: @@ -9456,7 +9691,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -9469,7 +9704,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -9483,7 +9718,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -9496,7 +9731,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -9510,20 +9745,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9537,21 +9772,22 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 + '@azure/arm-storage': 17.0.0 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9566,7 +9802,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -9579,7 +9815,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -9593,20 +9829,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -9620,20 +9856,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9648,7 +9884,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -9661,7 +9897,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -9675,20 +9911,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9703,20 +9939,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9731,7 +9967,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -9744,7 +9980,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -9758,7 +9994,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -9771,7 +10007,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -9785,7 +10021,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -9798,7 +10034,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -9812,20 +10048,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9840,20 +10076,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9868,7 +10104,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -9881,7 +10117,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -9895,20 +10131,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -9922,20 +10158,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9950,20 +10186,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -9978,20 +10214,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -10006,20 +10242,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -10034,7 +10270,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10047,7 +10283,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10061,7 +10297,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10074,7 +10310,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10088,20 +10324,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -10116,7 +10352,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10129,7 +10365,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10143,20 +10379,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10170,7 +10406,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10183,7 +10419,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10197,7 +10433,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10210,7 +10446,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10224,20 +10460,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -10252,20 +10488,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10279,7 +10515,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10292,7 +10528,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10306,7 +10542,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10319,7 +10555,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10333,20 +10569,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10360,7 +10596,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10373,7 +10609,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10387,7 +10623,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10400,7 +10636,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10414,20 +10650,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10441,20 +10677,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -10469,20 +10705,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -10497,7 +10733,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10510,7 +10746,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10524,20 +10760,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -10552,7 +10788,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10565,7 +10801,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10579,20 +10815,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -10607,20 +10843,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -10634,21 +10870,22 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 + '@azure/arm-storage': 17.0.0 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10662,19 +10899,19 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10688,20 +10925,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10715,7 +10952,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10728,7 +10965,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10742,7 +10979,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10755,7 +10992,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10769,20 +11006,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -10797,7 +11034,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10810,7 +11047,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10824,7 +11061,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10837,7 +11074,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10851,20 +11088,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -10879,7 +11116,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10892,7 +11129,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10906,7 +11143,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10919,7 +11156,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10934,12 +11171,12 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/arm-msi': 2.0.0 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 - '@types/node': 12.20.47 + '@types/node': 12.20.43 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 @@ -10948,7 +11185,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10962,7 +11199,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -10975,7 +11212,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -10989,20 +11226,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -11017,7 +11254,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11030,7 +11267,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11044,20 +11281,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -11072,20 +11309,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11099,20 +11336,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -11127,20 +11364,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -11155,7 +11392,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11168,7 +11405,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11182,20 +11419,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11209,7 +11446,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11222,7 +11459,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11236,20 +11473,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -11264,20 +11501,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11291,20 +11528,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11318,7 +11555,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11331,7 +11568,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11345,7 +11582,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11358,7 +11595,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11372,7 +11609,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11385,7 +11622,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11399,20 +11636,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11426,20 +11663,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11453,7 +11690,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11466,7 +11703,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11480,7 +11717,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11493,7 +11730,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11507,7 +11744,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11520,7 +11757,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11534,7 +11771,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11547,7 +11784,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11561,20 +11798,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11588,7 +11825,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11601,7 +11838,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11615,7 +11852,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11628,7 +11865,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11642,20 +11879,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -11670,20 +11907,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -11697,8 +11934,9 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 + '@azure/arm-storage': 17.0.0 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11711,7 +11949,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11725,20 +11963,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -11753,20 +11991,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -11781,20 +12019,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11808,20 +12046,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -11836,20 +12074,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -11864,20 +12102,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11891,20 +12129,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11918,7 +12156,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11931,7 +12169,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11945,20 +12183,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11972,20 +12210,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -11999,20 +12237,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12026,7 +12264,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12039,7 +12277,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12053,20 +12291,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -12081,20 +12319,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12108,20 +12346,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -12136,20 +12374,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12163,7 +12401,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12176,7 +12414,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12190,20 +12428,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12217,7 +12455,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12230,7 +12468,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12244,7 +12482,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12257,7 +12495,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12271,7 +12509,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12284,7 +12522,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12298,20 +12536,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12325,20 +12563,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12352,7 +12590,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12365,7 +12603,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12379,20 +12617,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12406,7 +12644,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12419,7 +12657,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12433,20 +12671,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -12461,7 +12699,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12474,7 +12712,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12488,7 +12726,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12501,7 +12739,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12515,7 +12753,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12528,7 +12766,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12542,7 +12780,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12555,7 +12793,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12569,20 +12807,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12596,7 +12834,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12609,7 +12847,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12623,20 +12861,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -12651,20 +12889,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12678,20 +12916,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12705,20 +12943,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12732,20 +12970,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -12760,20 +12998,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -12788,7 +13026,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12801,7 +13039,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12815,20 +13053,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12842,20 +13080,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12869,7 +13107,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12882,7 +13120,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12896,7 +13134,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -12909,7 +13147,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12923,20 +13161,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -12951,20 +13189,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -12978,20 +13216,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -13006,20 +13244,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -13034,20 +13272,22 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 + '@types/chai': 4.3.0 + chai: 4.3.6 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -13062,20 +13302,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -13090,7 +13330,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -13103,7 +13343,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13117,7 +13357,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -13130,7 +13370,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13144,7 +13384,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -13157,7 +13397,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13171,7 +13411,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -13184,7 +13424,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13198,20 +13438,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13225,20 +13465,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@types/node' - debug @@ -13253,7 +13493,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -13266,7 +13506,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13280,7 +13520,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -13293,7 +13533,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13307,7 +13547,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -13320,7 +13560,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13334,20 +13574,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13361,7 +13601,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -13374,7 +13614,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13388,7 +13628,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -13401,7 +13641,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13415,20 +13655,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13442,7 +13682,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -13455,7 +13695,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13469,7 +13709,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -13482,7 +13722,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13496,20 +13736,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13523,7 +13763,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -13536,7 +13776,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13550,7 +13790,7 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -13563,7 +13803,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - debug - encoding @@ -13577,11 +13817,11 @@ packages: dependencies: '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 buffer: 6.0.3 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 @@ -13591,29 +13831,29 @@ packages: eslint: 7.32.0 esm: 3.2.25 inherits: 2.0.4 - jsrsasign: 10.5.16 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + jsrsasign: 10.5.1 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 safe-buffer: 5.2.1 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 util: 0.12.4 @@ -13631,12 +13871,15 @@ packages: name: '@rush-temp/communication-chat' version: 0.0.0 dependencies: + '@azure-tools/test-recorder': 1.0.2 + '@azure/communication-common': 1.1.0 + '@azure/communication-identity': 1.0.0 '@azure/communication-signaling': 1.0.0-beta.13 '@azure/core-tracing': 1.0.0-preview.13 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -13645,23 +13888,23 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -13682,11 +13925,11 @@ packages: version: 0.0.0 dependencies: '@azure/core-tracing': 1.0.0-preview.13 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 @@ -13695,21 +13938,21 @@ packages: events: 3.3.0 inherits: 2.0.4 jwt-decode: 3.1.2 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -13727,12 +13970,14 @@ packages: name: '@rush-temp/communication-identity' version: 0.0.0 dependencies: + '@azure-tools/test-recorder': 1.0.2 + '@azure/communication-common': 1.1.0 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -13740,21 +13985,23 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 + karma-json-to-file-reporter: 1.0.1 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -13776,15 +14023,15 @@ packages: '@azure/communication-identity': 1.0.0 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 - '@rollup/plugin-replace': 2.4.2_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 + '@rollup/plugin-replace': 2.4.2_rollup@2.67.1 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -13792,29 +14039,29 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - rollup: 2.70.1 + rollup: 2.67.1 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 - rollup-plugin-terser: 5.3.1_rollup@2.70.1 - rollup-plugin-visualizer: 4.2.2_rollup@2.70.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 + rollup-plugin-terser: 5.3.1_rollup@2.67.1 + rollup-plugin-visualizer: 4.2.2_rollup@2.67.1 sinon: 9.2.4 tslib: 2.3.1 typescript: 4.2.4 @@ -13832,12 +14079,13 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 + '@azure/communication-common': 1.1.0 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -13845,23 +14093,23 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -13880,12 +14128,13 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 + '@azure/communication-common': 1.1.0 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -13893,23 +14142,23 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -13931,10 +14180,10 @@ packages: '@azure/communication-common': 1.1.0 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -13942,21 +14191,21 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -13975,34 +14224,35 @@ packages: name: '@rush-temp/confidential-ledger' version: 0.0.0 dependencies: + '@azure-rest/core-client': 1.0.0-beta.8 '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 source-map-support: 0.5.21 tslib: 2.3.1 @@ -14020,33 +14270,37 @@ packages: name: '@rush-temp/container-registry' version: 0.0.0 dependencies: + '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 - '@microsoft/api-extractor': 7.21.2 + '@azure/identity': 2.0.4 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 + karma-json-to-file-reporter: 1.0.1 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 tslib: 2.3.1 typescript: 4.2.4 @@ -14063,45 +14317,45 @@ packages: name: '@rush-temp/core-amqp' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-inject': 4.0.4_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 - '@rollup/plugin-replace': 2.4.2_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-inject': 4.0.4_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 + '@rollup/plugin-replace': 2.4.2_rollup@2.67.1 '@types/chai': 4.3.0 '@types/debug': 4.1.7 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 '@types/ws': 7.4.7 buffer: 6.0.3 chai: 4.3.6 cross-env: 7.0.3 - debug: 4.3.4 + debug: 4.3.3 downlevel-dts: 0.8.0 eslint: 7.32.0 events: 3.3.0 jssha: 3.2.0 - karma: 6.3.17_debug@4.3.4 - karma-chrome-launcher: 3.1.1 + karma: 6.3.15_debug@4.3.3 + karma-chrome-launcher: 3.1.0 karma-mocha: 2.0.1 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 process: 0.11.10 - puppeteer: 13.5.2 + puppeteer: 13.5.1 rhea: 2.0.8 rhea-promise: 2.1.0 rimraf: 3.0.2 - rollup: 2.70.1 + rollup: 2.67.1 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 - rollup-plugin-terser: 5.3.1_rollup@2.70.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 + rollup-plugin-terser: 5.3.1_rollup@2.67.1 sinon: 9.2.4 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 url: 0.11.0 @@ -14121,10 +14375,10 @@ packages: name: '@rush-temp/core-auth' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 downlevel-dts: 0.8.0 @@ -14132,7 +14386,7 @@ packages: inherits: 2.0.4 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 tslib: 2.3.1 typescript: 4.2.4 @@ -14146,33 +14400,34 @@ packages: name: '@rush-temp/core-client-1' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@azure/core-tracing': 1.0.0-preview.13 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 util: 0.12.4 @@ -14190,29 +14445,29 @@ packages: name: '@rush-temp/core-client' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -14229,35 +14484,35 @@ packages: name: '@rush-temp/core-crypto' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 - '@rollup/plugin-replace': 2.4.2_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 + '@rollup/plugin-replace': 2.4.2_rollup@2.67.1 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 sinon: 9.2.4 tslib: 2.3.1 typescript: 4.2.4 @@ -14273,15 +14528,20 @@ packages: name: '@rush-temp/core-http-compat' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 + '@types/node': 12.20.43 cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 + inherits: 2.0.4 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 + sinon: 9.2.4 + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 typescript: 4.2.4 + util: 0.12.4 transitivePeerDependencies: - supports-color dev: false @@ -14293,31 +14553,32 @@ packages: dependencies: '@azure/core-tracing': 1.0.0-preview.13 '@azure/logger-js': 1.3.2 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@opentelemetry/api': 1.0.4 '@types/chai': 4.3.0 '@types/express': 4.17.13 '@types/glob': 7.2.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 - '@types/node-fetch': 2.6.1 + '@types/node': 12.20.43 + '@types/node-fetch': 2.5.12 '@types/sinon': 9.0.11 '@types/tough-cookie': 4.0.1 '@types/tunnel': 0.0.3 '@types/uuid': 8.3.4 '@types/xml2js': 0.4.9 + babel-runtime: 6.26.0 chai: 4.3.6 cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 - express: 4.17.3 + express: 4.17.2 fetch-mock: 9.11.0_node-fetch@2.6.7 form-data: 4.0.0 glob: 7.2.0 - karma: 6.3.17 - karma-chai: 0.1.0_chai@4.3.6+karma@6.3.17 - karma-chrome-launcher: 3.1.1 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chai: 0.1.0_chai@4.3.6+karma@6.3.15 + karma-chrome-launcher: 3.1.0 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-firefox-launcher: 1.3.0 karma-mocha: 2.0.1 karma-sourcemap-loader: 0.3.8 @@ -14326,19 +14587,19 @@ packages: node-fetch: 2.6.7 npm-run-all: 4.1.5 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 process: 0.11.10 - puppeteer: 13.5.2 + puppeteer: 13.5.1 regenerator-runtime: 0.13.9 rimraf: 3.0.2 shx: 0.3.4 sinon: 9.2.4 tough-cookie: 4.0.0 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 tunnel: 0.0.6 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 uuid: 8.3.2 xhr-mock: 2.5.1 xml2js: 0.4.23 @@ -14357,34 +14618,35 @@ packages: name: '@rush-temp/core-lro' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@azure/core-tracing': 1.0.0-preview.13 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 npm-run-all: 4.1.5 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -14399,27 +14661,27 @@ packages: name: '@rush-temp/core-paging' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 downlevel-dts: 0.8.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 tslib: 2.3.1 typescript: 4.2.4 @@ -14431,17 +14693,17 @@ packages: dev: false file:projects/core-rest-pipeline.tgz: - resolution: {integrity: sha512-huJBLY2W+bEheXWtuUHMoAr+0WW/dRCMhyHZPFeL5FnLL7iSqBscZZHVCMkdyFOnBr1qlavfGgx79kHgaBjAMg==, tarball: file:projects/core-rest-pipeline.tgz} + resolution: {integrity: sha512-Dk2F5VckIcgD9MZORhmnOel3syAjbpZke2aBWiCeeHJxXyCJ+xPlkwF4sWjaNOHzBAA0zHTT2cnKX10cv2sH+g==, tarball: file:projects/core-rest-pipeline.tgz} name: '@rush-temp/core-rest-pipeline' version: 0.0.0 dependencies: '@azure/core-tracing': 1.0.0-preview.13 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@opentelemetry/api': 1.0.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -14453,21 +14715,21 @@ packages: http-proxy-agent: 4.0.1 https-proxy-agent: 5.0.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 @@ -14488,29 +14750,29 @@ packages: name: '@rush-temp/core-tracing' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -14528,30 +14790,30 @@ packages: name: '@rush-temp/core-util' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -14569,32 +14831,32 @@ packages: name: '@rush-temp/core-xml' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 '@types/xml2js': 0.4.9 chai: 4.3.6 cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 - fast-xml-parser: 4.0.7 + fast-xml-parser: 4.0.2 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -14612,18 +14874,18 @@ packages: name: '@rush-temp/cosmos' version: 0.0.0 dependencies: - '@azure/identity': 2.0.4_debug@4.3.4 - '@microsoft/api-extractor': 7.21.2 + '@azure/identity': 2.0.4_debug@4.3.3 + '@microsoft/api-extractor': 7.19.4 '@types/debug': 4.1.7 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/priorityqueuejs': 1.0.1 '@types/semaphore': 1.1.1 '@types/sinon': 9.0.11 '@types/underscore': 1.11.4 '@types/uuid': 8.3.4 cross-env: 7.0.3 - debug: 4.3.4 + debug: 4.3.3 dotenv: 8.6.0 downlevel-dts: 0.8.0 eslint: 7.32.0 @@ -14634,14 +14896,15 @@ packages: mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 node-abort-controller: 3.0.1 - prettier: 2.6.2 + prettier: 2.5.1 priorityqueuejs: 1.0.0 requirejs: 2.3.6 rimraf: 3.0.2 semaphore: 1.1.0 sinon: 9.2.4 + snap-shot-it: 7.9.6 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 universal-user-agent: 6.0.0 @@ -14657,11 +14920,13 @@ packages: name: '@rush-temp/data-tables' version: 0.0.0 dependencies: + '@azure-tools/test-recorder': 1.0.2 + '@azure/core-tracing': 1.0.0-preview.14 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -14670,24 +14935,24 @@ packages: downlevel-dts: 0.8.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 util: 0.12.4 @@ -14706,18 +14971,18 @@ packages: name: '@rush-temp/dev-tool' version: 0.0.0 dependencies: - '@rollup/plugin-commonjs': 21.0.1_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/concurrently': 6.4.0 '@types/fs-extra': 9.0.13 '@types/minimist': 1.2.2 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 - '@types/prettier': 2.6.0 + '@types/node': 12.20.43 + '@types/prettier': 2.4.3 builtin-modules: 3.2.0 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 @@ -14725,16 +14990,16 @@ packages: concurrently: 6.5.1 dotenv: 8.6.0 eslint: 7.32.0 - fs-extra: 10.0.1 - minimist: 1.2.6 + fs-extra: 10.0.0 + minimist: 1.2.5 mocha: 7.2.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-polyfill-node: 0.8.0_rollup@2.70.1 - rollup-plugin-sourcemaps: 0.6.3_0b8c6e9127356138a5eb10cf645561b8 - rollup-plugin-visualizer: 5.6.0_rollup@2.70.1 - ts-node: 10.7.0_c7b7062e0b9347939444ea76e6e422c3 + rollup: 2.67.1 + rollup-plugin-polyfill-node: 0.8.0_rollup@2.67.1 + rollup-plugin-sourcemaps: 0.6.3_c217bac607b2122787956dfdf78722b9 + rollup-plugin-visualizer: 5.5.4_rollup@2.67.1 + ts-node: 10.5.0_b9e5ce42782cd820477875c268f950fe tslib: 2.3.1 typescript: 4.4.4 yaml: 1.10.2 @@ -14752,10 +15017,10 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -14763,23 +15028,23 @@ packages: dotenv: 8.6.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -14801,41 +15066,41 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@microsoft/api-extractor': 7.7.11 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.67.1 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.1 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 mocha: 7.2.0 mocha-junit-reporter: 1.23.3_mocha@7.2.0 nyc: 14.1.1 prettier: 1.19.1 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_0b8c6e9127356138a5eb10cf645561b8 - rollup-plugin-terser: 5.3.1_rollup@2.70.1 - rollup-plugin-visualizer: 5.6.0_rollup@2.70.1 + rollup: 2.67.1 + rollup-plugin-sourcemaps: 0.6.3_c217bac607b2122787956dfdf78722b9 + rollup-plugin-terser: 5.3.1_rollup@2.67.1 + rollup-plugin-visualizer: 5.5.4_rollup@2.67.1 sinon: 9.2.4 ts-node: 9.1.1_typescript@4.2.4 tslib: 2.3.1 @@ -14859,9 +15124,9 @@ packages: '@types/eslint': 7.2.14 '@types/estree': 0.0.51 '@types/glob': 7.2.0 - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.9 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@typescript-eslint/eslint-plugin': 4.19.0_359354e87b989469ccdce12bde18eddc '@typescript-eslint/experimental-utils': 4.19.0_eslint@7.32.0+typescript@4.2.4 '@typescript-eslint/parser': 4.19.0_eslint@7.32.0+typescript@4.2.4 @@ -14869,16 +15134,16 @@ packages: chai: 4.3.6 eslint: 7.32.0 eslint-config-prettier: 7.2.0_eslint@7.32.0 - eslint-plugin-import: 2.26.0_eslint@7.32.0 + eslint-plugin-import: 2.25.4_eslint@7.32.0 eslint-plugin-markdown: 2.2.1_eslint@7.32.0 eslint-plugin-no-only-tests: 2.6.0 eslint-plugin-promise: 6.0.0_eslint@7.32.0 - eslint-plugin-tsdoc: 0.2.16 + eslint-plugin-tsdoc: 0.2.14 glob: 7.2.0 json-schema: 0.4.0 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 source-map-support: 0.5.21 tslib: 2.3.1 @@ -14892,22 +15157,23 @@ packages: name: '@rush-temp/event-hubs' version: 0.0.0 dependencies: - '@azure/identity': 2.0.4_debug@4.3.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-inject': 4.0.4_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.1 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.1 - '@rollup/plugin-replace': 2.4.2_rollup@2.70.1 + '@azure/core-tracing': 1.0.0-preview.14 + '@azure/identity': 2.0.4_debug@4.3.3 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-inject': 4.0.4_rollup@2.67.1 + '@rollup/plugin-json': 4.1.0_rollup@2.67.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.67.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.67.1 + '@rollup/plugin-replace': 2.4.2_rollup@2.67.1 '@types/async-lock': 1.1.3 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/chai-string': 1.4.2 '@types/debug': 4.1.7 '@types/long': 4.0.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 '@types/ws': 7.4.7 @@ -14918,7 +15184,7 @@ packages: chai-string: 1.5.0_chai@4.3.6 copyfiles: 2.4.1 cross-env: 7.0.3 - debug: 4.3.4 + debug: 4.3.3 dotenv: 8.6.0 downlevel-dts: 0.8.0 eslint: 7.32.0 @@ -14926,32 +15192,32 @@ packages: https-proxy-agent: 5.0.0 is-buffer: 2.0.5 jssha: 3.2.0 - karma: 6.3.17_debug@4.3.4 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15_debug@4.3.3 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - moment: 2.29.2 + moment: 2.29.1 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 process: 0.11.10 - puppeteer: 13.5.2 + puppeteer: 13.5.1 rhea-promise: 2.1.0 rimraf: 3.0.2 - rollup: 2.70.1 + rollup: 2.67.1 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 - rollup-plugin-terser: 5.3.1_rollup@2.70.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 + rollup-plugin-terser: 5.3.1_rollup@2.67.1 sinon: 9.2.4 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -14970,13 +15236,14 @@ packages: name: '@rush-temp/eventgrid' version: 0.0.0 dependencies: + '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 - '@azure/service-bus': 7.5.1 - '@microsoft/api-extractor': 7.21.2 + '@azure/service-bus': 7.4.0 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -14984,25 +15251,27 @@ packages: cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 + karma-json-to-file-reporter: 1.0.1 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -15021,41 +15290,42 @@ packages: name: '@rush-temp/eventhubs-checkpointstore-blob' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@azure/storage-blob': 12.8.0 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/chai-string': 1.4.2 '@types/debug': 4.1.7 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 chai-string: 1.5.0_chai@4.3.6 cross-env: 7.0.3 - debug: 4.3.4 + debug: 4.3.3 dotenv: 8.6.0 eslint: 7.32.0 esm: 3.2.25 events: 3.3.0 guid-typescript: 1.0.9 inherits: 2.0.4 - karma: 6.3.17_debug@4.3.4 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15_debug@4.3.3 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 util: 0.12.4 @@ -15073,41 +15343,41 @@ packages: version: 0.0.0 dependencies: '@azure/data-tables': 12.1.2 - '@azure/event-hubs': 5.7.0 - '@microsoft/api-extractor': 7.21.2 + '@azure/event-hubs': 5.6.0 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/chai-string': 1.4.2 '@types/debug': 4.1.7 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 chai-string: 1.5.0_chai@4.3.6 cross-env: 7.0.3 - debug: 4.3.4 + debug: 4.3.3 dotenv: 8.6.0 eslint: 7.32.0 esm: 3.2.25 guid-typescript: 1.0.9 inherits: 2.0.4 - karma: 6.3.17_debug@4.3.4 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15_debug@4.3.3 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 util: 0.12.4 @@ -15124,23 +15394,24 @@ packages: name: '@rush-temp/identity-cache-persistence' version: 0.0.0 dependencies: - '@azure/msal-node': 1.8.0 + '@azure-tools/test-recorder': 1.0.2 + '@azure/msal-node': 1.5.0 '@azure/msal-node-extensions': 1.0.0-alpha.13 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/jws': 3.2.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/qs': 6.9.7 '@types/sinon': 9.0.11 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 inherits: 2.0.4 - keytar: 7.9.0 + keytar: 7.8.0 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -15159,10 +15430,11 @@ packages: name: '@rush-temp/identity-vscode' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@azure-tools/test-recorder': 1.0.2 + '@microsoft/api-extractor': 7.19.4 '@types/jws': 3.2.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/qs': 6.9.7 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 @@ -15170,11 +15442,11 @@ packages: dotenv: 8.6.0 eslint: 7.32.0 inherits: 2.0.4 - keytar: 7.9.0 + keytar: 7.8.0 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -15192,16 +15464,17 @@ packages: name: '@rush-temp/identity' version: 0.0.0 dependencies: + '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/keyvault-keys': 4.2.0 - '@azure/msal-browser': 2.23.0 + '@azure/msal-browser': 2.21.0 '@azure/msal-common': 4.5.1 - '@azure/msal-node': 1.8.0 - '@microsoft/api-extractor': 7.21.2 + '@azure/msal-node': 1.5.0 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/jws': 3.2.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 '@types/stoppable': 1.1.1 '@types/uuid': 8.3.4 @@ -15212,20 +15485,20 @@ packages: events: 3.3.0 inherits: 2.0.4 jws: 4.0.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 karma-env-preprocessor: 0.1.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 open: 8.4.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 sinon: 9.2.4 stoppable: 1.1.0 @@ -15246,27 +15519,28 @@ packages: name: '@rush-temp/iot-device-update' version: 0.0.0 dependencies: + '@azure-rest/core-client': 1.0.0-beta.7 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mkdirp: 1.0.4 @@ -15292,35 +15566,35 @@ packages: version: 0.0.0 dependencies: '@azure/core-tracing': 1.0.0-preview.13 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 util: 0.12.4 @@ -15339,11 +15613,12 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 + '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@azure/keyvault-keys': 4.4.0 - '@microsoft/api-extractor': 7.21.2 + '@azure/keyvault-keys': 4.3.0 + '@microsoft/api-extractor': 7.19.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 cross-env: 7.0.3 @@ -15353,7 +15628,7 @@ packages: mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 @@ -15372,33 +15647,35 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 + '@azure/core-tracing': 1.0.0-preview.13 + '@azure/identity': 2.0.4 '@azure/keyvault-secrets': 4.4.0 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 esm: 3.2.25 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 @@ -15418,8 +15695,9 @@ packages: name: '@rush-temp/keyvault-common' version: 0.0.0 dependencies: + '@azure/core-tracing': 1.0.0-preview.13 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 tslib: 2.3.1 typescript: 4.2.4 @@ -15433,33 +15711,35 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 - '@microsoft/api-extractor': 7.21.2 + '@azure/core-tracing': 1.0.0-preview.13 + '@azure/identity': 2.0.4 + '@microsoft/api-extractor': 7.19.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 cross-env: 7.0.3 - dayjs: 1.11.0 + dayjs: 1.10.7 dotenv: 8.6.0 eslint: 7.32.0 esm: 3.2.25 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 @@ -15480,32 +15760,34 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 - '@microsoft/api-extractor': 7.21.2 + '@azure/core-tracing': 1.0.0-preview.13 + '@azure/identity': 2.0.4 + '@microsoft/api-extractor': 7.19.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 esm: 3.2.25 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 @@ -15525,35 +15807,35 @@ packages: name: '@rush-temp/logger' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 delay: 4.4.1 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 sinon: 9.2.4 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -15573,34 +15855,34 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 tslib: 2.3.1 typescript: 4.2.4 @@ -15620,11 +15902,11 @@ packages: dependencies: '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 @@ -15632,22 +15914,22 @@ packages: dotenv: 8.6.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 tslib: 2.3.1 typescript: 4.2.4 @@ -15665,10 +15947,10 @@ packages: name: '@rush-temp/mock-hub' version: 0.0.0 dependencies: - '@types/node': 12.20.47 + '@types/node': 12.20.43 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rhea: 2.0.8 rimraf: 3.0.2 tslib: 2.3.1 @@ -15682,17 +15964,19 @@ packages: name: '@rush-temp/monitor-opentelemetry-exporter' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@opentelemetry/api': 1.0.4 '@opentelemetry/core': 1.0.1_@opentelemetry+api@1.0.4 '@opentelemetry/instrumentation': 0.27.0_@opentelemetry+api@1.0.4 '@opentelemetry/instrumentation-http': 0.27.0_@opentelemetry+api@1.0.4 + '@opentelemetry/node': 0.24.0_@opentelemetry+api@1.0.4 '@opentelemetry/resources': 1.0.1_@opentelemetry+api@1.0.4 '@opentelemetry/sdk-trace-base': 1.0.1_@opentelemetry+api@1.0.4 '@opentelemetry/sdk-trace-node': 1.0.1_@opentelemetry+api@1.0.4 '@opentelemetry/semantic-conventions': 1.0.1 + '@opentelemetry/tracing': 0.24.0_@opentelemetry+api@1.0.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 dotenv: 8.6.0 eslint: 7.32.0 eslint-plugin-node: 11.1.0_eslint@7.32.0 @@ -15700,10 +15984,10 @@ packages: mocha: 7.2.0 nock: 12.0.3 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -15717,17 +16001,18 @@ packages: name: '@rush-temp/monitor-query' version: 0.0.0 dependencies: + '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 '@azure/monitor-opentelemetry-exporter': 1.0.0-beta.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@opentelemetry/api': 1.0.4 '@opentelemetry/node': 0.24.0_@opentelemetry+api@1.0.4 '@opentelemetry/tracing': 0.24.0_@opentelemetry+api@1.0.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 @@ -15736,20 +16021,22 @@ packages: eslint: 7.32.0 esm: 3.2.25 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 + karma-json-to-file-reporter: 1.0.1 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 source-map-support: 0.5.21 tslib: 2.3.1 @@ -15768,7 +16055,8 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 - '@microsoft/api-extractor': 7.21.2 + '@azure/core-tracing': 1.0.0-preview.14 + '@microsoft/api-extractor': 7.19.4 '@opentelemetry/api': 1.0.4 '@opentelemetry/core': 1.0.1_@opentelemetry+api@1.0.4 '@opentelemetry/instrumentation': 0.27.0_@opentelemetry+api@1.0.4 @@ -15776,8 +16064,8 @@ packages: '@opentelemetry/sdk-trace-node': 1.0.1_@opentelemetry+api@1.0.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 - '@types/sinon': 10.0.11 + '@types/node': 12.20.43 + '@types/sinon': 10.0.10 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 @@ -15785,22 +16073,22 @@ packages: eslint: 7.32.0 esm: 3.2.25 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 mocha: 7.2.0 mocha-junit-reporter: 1.23.3_mocha@7.2.0 nyc: 14.1.1 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 12.0.1 source-map-support: 0.5.21 @@ -15823,12 +16111,12 @@ packages: dependencies: '@azure/ai-form-recognizer': 3.1.0-beta.3 '@azure/identity': 2.0.4 - '@types/node': 12.20.47 + '@types/node': 12.20.43 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -15845,12 +16133,12 @@ packages: version: 0.0.0 dependencies: '@azure/ai-metrics-advisor': 1.0.0-beta.3 - '@types/node': 12.20.47 + '@types/node': 12.20.43 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -15867,12 +16155,12 @@ packages: dependencies: '@azure/ai-text-analytics': 5.1.0 '@azure/identity': 2.0.4 - '@types/node': 12.20.47 + '@types/node': 12.20.43 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -15888,13 +16176,13 @@ packages: version: 0.0.0 dependencies: '@azure/app-configuration': 1.3.1 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -15910,10 +16198,11 @@ packages: name: '@rush-temp/perf-container-registry' version: 0.0.0 dependencies: - '@types/node': 12.20.47 + '@azure/container-registry': 1.0.0-beta.4 + '@types/node': 12.20.43 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 tslib: 2.3.1 @@ -15927,13 +16216,13 @@ packages: name: '@rush-temp/perf-core-rest-pipeline' version: 0.0.0 dependencies: - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -15947,13 +16236,13 @@ packages: name: '@rush-temp/perf-data-tables' version: 0.0.0 dependencies: - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -15968,15 +16257,15 @@ packages: name: '@rush-temp/perf-event-hubs' version: 0.0.0 dependencies: - '@azure/event-hubs': 5.7.0 - '@types/node': 12.20.47 + '@azure/event-hubs': 5.6.0 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 - moment: 2.29.2 - prettier: 2.6.2 + moment: 2.29.1 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -15991,12 +16280,12 @@ packages: name: '@rush-temp/perf-eventgrid' version: 0.0.0 dependencies: - '@types/node': 12.20.47 + '@types/node': 12.20.43 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -16011,13 +16300,13 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.0.4 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -16033,14 +16322,14 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.0.4 - '@azure/keyvault-certificates': 4.4.0 - '@types/node': 12.20.47 + '@azure/keyvault-certificates': 4.3.0 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -16058,14 +16347,14 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.0.4 - '@azure/keyvault-keys': 4.4.0 - '@types/node': 12.20.47 + '@azure/keyvault-keys': 4.3.0 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -16084,13 +16373,13 @@ packages: dependencies: '@azure/identity': 2.0.4 '@azure/keyvault-secrets': 4.4.0 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -16108,12 +16397,12 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.0.4 - '@types/node': 12.20.47 + '@types/node': 12.20.43 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -16129,12 +16418,12 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.0.4 - '@types/node': 12.20.47 + '@types/node': 12.20.43 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -16151,12 +16440,12 @@ packages: dependencies: '@azure/identity': 2.0.4 '@azure/search-documents': 11.3.0-beta.7 - '@types/node': 12.20.47 + '@types/node': 12.20.43 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 transitivePeerDependencies: @@ -16171,14 +16460,14 @@ packages: name: '@rush-temp/perf-service-bus' version: 0.0.0 dependencies: - '@azure/service-bus': 7.5.1 - '@types/node': 12.20.47 + '@azure/service-bus': 7.4.0 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -16194,15 +16483,15 @@ packages: name: '@rush-temp/perf-storage-blob' version: 0.0.0 dependencies: - '@types/node': 12.20.47 - '@types/node-fetch': 2.6.1 + '@types/node': 12.20.43 + '@types/node-fetch': 2.5.12 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 node-fetch: 2.6.7 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -16218,13 +16507,13 @@ packages: name: '@rush-temp/perf-storage-file-datalake' version: 0.0.0 dependencies: - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -16239,13 +16528,13 @@ packages: name: '@rush-temp/perf-storage-file-share' version: 0.0.0 dependencies: - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -16262,13 +16551,13 @@ packages: dependencies: '@azure/app-configuration': 1.3.1 '@azure/identity': 2.0.4 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -16285,25 +16574,29 @@ packages: name: '@rush-temp/purview-administration' version: 0.0.0 dependencies: + '@azure-rest/core-client': 1.0.0-beta.7 + '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 + karma-json-to-file-reporter: 1.0.1 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mkdirp: 1.0.4 @@ -16327,25 +16620,29 @@ packages: name: '@rush-temp/purview-catalog' version: 0.0.0 dependencies: + '@azure-rest/core-client': 1.0.0-beta.7 + '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 + karma-json-to-file-reporter: 1.0.1 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mkdirp: 1.0.4 @@ -16369,25 +16666,29 @@ packages: name: '@rush-temp/purview-scanning' version: 0.0.0 dependencies: + '@azure-rest/core-client': 1.0.0-beta.7 + '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 + karma-json-to-file-reporter: 1.0.1 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mkdirp: 1.0.4 @@ -16414,10 +16715,11 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@azure/storage-blob': 12.8.0 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -16425,23 +16727,23 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -16462,44 +16764,45 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-inject': 4.0.4_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 + '@rollup/plugin-inject': 4.0.4_rollup@2.67.1 + '@rollup/plugin-replace': 2.4.2_rollup@2.67.1 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 - '@types/lru-cache': 7.6.1 + '@types/chai-as-promised': 7.1.4 + '@types/lru-cache': 7.4.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 - avsc: 5.7.4 + avsc: 5.7.3 buffer: 6.0.3 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 - lru-cache: 7.8.1 + lru-cache: 7.5.0 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 process: 0.11.10 rimraf: 3.0.2 - rollup: 2.70.1 + rollup: 2.67.1 rollup-plugin-shim: 1.0.0 source-map-support: 0.5.21 tslib: 2.3.1 @@ -16518,34 +16821,35 @@ packages: name: '@rush-temp/schema-registry' version: 0.0.0 dependencies: + '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 source-map-support: 0.5.21 tslib: 2.3.1 @@ -16563,10 +16867,10 @@ packages: version: 0.0.0 dependencies: '@azure/core-tracing': 1.0.0-preview.13 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -16574,26 +16878,26 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 util: 0.12.4 @@ -16612,16 +16916,16 @@ packages: version: 0.0.0 dependencies: '@azure/core-tracing': 1.0.0-preview.13 - '@azure/identity': 2.0.4_debug@4.3.4 - '@microsoft/api-extractor': 7.21.2 + '@azure/identity': 2.0.4_debug@4.3.3 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/debug': 4.1.7 '@types/glob': 7.2.0 '@types/is-buffer': 2.0.0 '@types/long': 4.0.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 '@types/ws': 7.4.7 @@ -16630,7 +16934,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.6 chai-exclude: 2.1.0_chai@4.3.6 cross-env: 7.0.3 - debug: 4.3.4 + debug: 4.3.3 dotenv: 8.6.0 downlevel-dts: 0.8.0 eslint: 7.32.0 @@ -16640,31 +16944,31 @@ packages: https-proxy-agent: 5.0.0 is-buffer: 2.0.5 jssha: 3.2.0 - karma: 6.3.17_debug@4.3.4 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15_debug@4.3.3 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 long: 4.0.0 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 - moment: 2.29.2 + moment: 2.29.1 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 process: 0.11.10 promise: 8.1.0 - puppeteer: 13.5.2 + puppeteer: 13.5.1 rhea-promise: 2.1.0 rimraf: 3.0.2 - rollup: 2.70.1 + rollup: 2.67.1 sinon: 9.2.4 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 uuid: 8.3.2 @@ -16685,10 +16989,11 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 - '@microsoft/api-extractor': 7.21.2 + '@azure/storage-blob': 12.8.0 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -16699,28 +17004,28 @@ packages: esm: 3.2.25 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 util: 0.12.4 @@ -16742,11 +17047,11 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 - '@types/node-fetch': 2.6.1 + '@types/node': 12.20.43 + '@types/node-fetch': 2.5.12 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 @@ -16756,27 +17061,27 @@ packages: esm: 3.2.25 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 util: 0.12.4 @@ -16798,10 +17103,10 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 @@ -16810,29 +17115,29 @@ packages: eslint: 7.32.0 esm: 3.2.25 events: 3.3.0 - execa: 6.1.0 + execa: 6.0.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 util: 0.12.4 @@ -16853,10 +17158,10 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 @@ -16866,27 +17171,27 @@ packages: esm: 3.2.25 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 util: 0.12.4 @@ -16906,10 +17211,10 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 dotenv: 8.6.0 downlevel-dts: 0.8.0 @@ -16917,27 +17222,27 @@ packages: eslint: 7.32.0 esm: 3.2.25 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 util: 0.12.4 @@ -16959,10 +17264,10 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 @@ -16971,27 +17276,27 @@ packages: eslint: 7.32.0 esm: 3.2.25 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 util: 0.12.4 @@ -17013,42 +17318,42 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -17064,13 +17369,14 @@ packages: name: '@rush-temp/synapse-access-control' version: 0.0.0 dependencies: + '@azure-rest/core-client': 1.0.0-beta.7 '@azure/core-util': 1.0.0-beta.1 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -17078,31 +17384,31 @@ packages: cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 uuid: 8.3.2 transitivePeerDependencies: - '@swc/core' @@ -17120,42 +17426,42 @@ packages: dependencies: '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_b23b0a2d2a25417b088e86bfb6fd069e + ts-node: 10.5.0_1aa569e4b68ef65c520f700d6703bce0 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -17173,37 +17479,37 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - bufferutil - debug @@ -17218,16 +17524,16 @@ packages: version: 0.0.0 dependencies: '@azure/core-tracing': 1.0.0-preview.13 - '@microsoft/api-extractor': 7.21.2 - '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 + '@microsoft/api-extractor': 7.19.4 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.1 eslint: 7.32.0 rimraf: 3.0.2 - rollup: 2.70.1 + rollup: 2.67.1 rollup-plugin-node-resolve: 3.4.0 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.67.1 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - supports-color dev: false @@ -17240,37 +17546,37 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 tslib: 2.3.1 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.1 transitivePeerDependencies: - bufferutil - debug @@ -17284,11 +17590,12 @@ packages: name: '@rush-temp/template' version: 0.0.0 dependencies: + '@azure/core-tracing': 1.0.0-preview.14 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 @@ -17296,22 +17603,22 @@ packages: eslint: 7.32.0 esm: 3.2.25 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 source-map-support: 0.5.21 tslib: 2.3.1 @@ -17330,9 +17637,10 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 - '@types/node': 12.20.47 + '@azure/identity': 2.0.4 + '@types/node': 12.20.43 eslint: 7.32.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 typescript: 4.2.4 transitivePeerDependencies: @@ -17349,29 +17657,29 @@ packages: '@types/express': 4.17.13 '@types/fs-extra': 8.1.2 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 chai: 4.3.6 concurrently: 6.5.1 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - express: 4.17.3 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + express: 4.17.2 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 tslib: 2.3.1 @@ -17390,16 +17698,16 @@ packages: version: 0.0.0 dependencies: '@types/minimist': 1.2.2 - '@types/node': 12.20.47 - '@types/node-fetch': 2.6.1 + '@types/node': 12.20.43 + '@types/node-fetch': 2.5.12 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 karma-env-preprocessor: 0.1.1 - minimist: 1.2.6 + minimist: 1.2.5 node-fetch: 2.6.7 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 ts-node: 8.10.2_typescript@4.2.4 tslib: 2.3.1 @@ -17418,24 +17726,25 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 - '@microsoft/api-extractor': 7.21.2 + '@azure/core-tracing': 1.0.0-preview.14 + '@microsoft/api-extractor': 7.19.4 '@opentelemetry/api': 1.0.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 chai-exclude: 2.1.0_chai@4.3.6 cross-env: 7.0.3 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 karma-env-preprocessor: 0.1.1 mocha: 7.2.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.3.1 @@ -17454,29 +17763,30 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.0.4 + '@azure/storage-queue': 12.7.0 '@types/chai': 4.3.0 - '@types/md5': 2.3.2 + '@types/md5': 2.3.1 '@types/mocha': 7.0.2 '@types/mock-fs': 4.13.1 '@types/mock-require': 2.0.1 '@types/nise': 1.4.0 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/uuid': 8.3.4 chai: 4.3.6 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -17484,7 +17794,7 @@ packages: mock-require: 3.0.3 npm-run-all: 4.1.5 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 typescript: 4.2.4 uuid: 8.3.2 @@ -17502,12 +17812,12 @@ packages: version: 0.0.0 dependencies: '@azure/core-tracing': 1.0.0-preview.13 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 - '@types/chai-as-promised': 7.1.5 + '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 - azure-iothub: 1.14.7 + '@types/node': 12.20.43 + azure-iothub: 1.14.6 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 @@ -17515,21 +17825,21 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 + prettier: 2.5.1 rimraf: 3.0.2 tslib: 2.3.1 typescript: 4.2.4 @@ -17548,38 +17858,38 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 - '@microsoft/api-extractor': 7.21.2 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/express': 4.17.13 '@types/express-serve-static-core': 4.17.28 '@types/jsonwebtoken': 8.5.8 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 esm: 3.2.25 - express: 4.17.3 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + express: 4.17.2 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-json-preprocessor: 0.3.3_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 @@ -17598,35 +17908,40 @@ packages: name: '@rush-temp/web-pubsub' version: 0.0.0 dependencies: - '@microsoft/api-extractor': 7.21.2 + '@azure-tools/test-recorder': 1.0.2 + '@azure/core-tracing': 1.0.0-preview.13 + '@azure/identity': 2.0.4 + '@microsoft/api-extractor': 7.19.4 '@types/chai': 4.3.0 '@types/jsonwebtoken': 8.5.8 '@types/mocha': 7.0.2 - '@types/node': 12.20.47 + '@types/node': 12.20.43 '@types/sinon': 9.0.11 - '@types/ws': 8.5.3 + '@types/ws': 8.2.2 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 esm: 3.2.25 jsonwebtoken: 8.5.1 - karma: 6.3.17 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.17 + karma: 6.3.15 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.1.1 + karma-edge-launcher: 0.4.2_karma@6.3.15 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.17 - karma-junit-reporter: 2.0.1_karma@6.3.17 + karma-ie-launcher: 1.0.0_karma@6.3.15 + karma-json-preprocessor: 0.3.3_karma@6.3.15 + karma-json-to-file-reporter: 1.0.1 + karma-junit-reporter: 2.0.1_karma@6.3.15 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.17 + karma-mocha-reporter: 2.2.5_karma@6.3.15 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 - prettier: 2.6.2 - puppeteer: 13.5.2 + prettier: 2.5.1 + puppeteer: 13.5.1 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 diff --git a/sdk/authorization/arm-authorization/CHANGELOG.md b/sdk/authorization/arm-authorization/CHANGELOG.md index 194a561c04a6..727c6560b437 100644 --- a/sdk/authorization/arm-authorization/CHANGELOG.md +++ b/sdk/authorization/arm-authorization/CHANGELOG.md @@ -1,26 +1,11 @@ # Release History + +## 9.0.0 (2022-04-11) -## 9.0.0-beta.2 (Unreleased) +The package of @azure/arm-authorization is using our next generation design principles since version 9.0.0, which contains breaking changes. -### Features Added +To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog). -### Breaking Changes +To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide). -### Bugs Fixed - -### Other Changes - -## 9.0.0-beta.1 (2021-10-09) - -This is the first preview for the new version of the `@azure/arm-authorization` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services. - -While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see [State of the Azure SDK 2021](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/). - -Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies. - -**Noteworthy changes and features** -- Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice. -- Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead. -- List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page. -- Long running operations i.e. the Lro related object returned by methods whose names started with `begin`, now uses `pollUntilDone` to check whether the request is finished, instead of `pollUntilFinished`. To get the final result, use the corresponding method that will have the suffix `AndWait`. -- The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6. +To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart). diff --git a/sdk/authorization/arm-authorization/LICENSE b/sdk/authorization/arm-authorization/LICENSE index ccb63b166732..5d1d36e0af80 100644 --- a/sdk/authorization/arm-authorization/LICENSE +++ b/sdk/authorization/arm-authorization/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2021 Microsoft +Copyright (c) 2022 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/authorization/arm-authorization/README.md b/sdk/authorization/arm-authorization/README.md index 87527b6e05b8..392e81fe804e 100644 --- a/sdk/authorization/arm-authorization/README.md +++ b/sdk/authorization/arm-authorization/README.md @@ -16,6 +16,8 @@ Role based access control provides you a way to apply granular level policy admi - [LTS versions of Node.js](https://nodejs.org/about/releases/) - Latest versions of Safari, Chrome, Edge and Firefox. +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + ### Prerequisites - An [Azure subscription][azure_sub]. @@ -33,9 +35,9 @@ npm install @azure/arm-authorization To create a client object to access the Azure AuthorizationManagement API, you will need the `endpoint` of your Azure AuthorizationManagement resource and a `credential`. The Azure AuthorizationManagement client can use Azure Active Directory credentials to authenticate. You can find the endpoint for your Azure AuthorizationManagement resource in the [Azure Portal][azure_portal]. -#### Using an Azure Active Directory Credential +You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token). -You can authenticate with Azure Active Directory using the [Azure Identity library][azure_identity]. To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package: +To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package: ```bash npm install @azure/identity @@ -45,13 +47,27 @@ You will also need to **register a new AAD application and grant access to Azure Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`. For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). + ```javascript const { AuthorizationManagementClient } = require("@azure/arm-authorization"); const { DefaultAzureCredential } = require("@azure/identity"); +// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new AuthorizationManagementClient(new DefaultAzureCredential(), subscriptionId); + +// For client-side applications running in the browser, use this code instead: +// const credential = new InteractiveBrowserCredential({ +// tenantId: "", +// clientId: "" +// }); +// const client = new AuthorizationManagementClient(credential, subscriptionId); ``` + +### JavaScript Bundle +To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling). + ## Key concepts ### AuthorizationManagementClient diff --git a/sdk/authorization/arm-authorization/_meta.json b/sdk/authorization/arm-authorization/_meta.json index d11bfb4ce957..9a72f7168f27 100644 --- a/sdk/authorization/arm-authorization/_meta.json +++ b/sdk/authorization/arm-authorization/_meta.json @@ -1,7 +1,8 @@ { - "commit": "f9e4843e2ed3494e8bd66a92c3e7f65655f58f46", + "commit": "72e581bc9fc34855c6022bdb00e13482b9d79757", "readme": "specification/authorization/resource-manager/readme.md", - "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/authorization/resource-manager/readme.md --use=@autorest/typescript@6.0.0-beta.12", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\authorization\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.18.20220329.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-beta.12" + "release_tool": "@azure-tools/js-sdk-release-tools@2.2.1", + "use": "@autorest/typescript@6.0.0-alpha.18.20220329.1" } \ No newline at end of file diff --git a/sdk/authorization/arm-authorization/api-extractor.json b/sdk/authorization/arm-authorization/api-extractor.json index 721910fd40b8..7c284110c453 100644 --- a/sdk/authorization/arm-authorization/api-extractor.json +++ b/sdk/authorization/arm-authorization/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "./dist-esm/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-authorization.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/authorization/arm-authorization/package.json b/sdk/authorization/arm-authorization/package.json index 17da925c98bf..4b319aa02540 100644 --- a/sdk/authorization/arm-authorization/package.json +++ b/sdk/authorization/arm-authorization/package.json @@ -3,12 +3,12 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for AuthorizationManagementClient.", - "version": "9.0.0-beta.2", + "version": "9.0.0", "engines": { "node": ">=12.0.0" }, "dependencies": { - "@azure/core-paging": "^1.1.1", + "@azure/core-paging": "^1.2.0", "@azure/core-client": "^1.0.0", "@azure/core-auth": "^1.3.0", "@azure/core-rest-pipeline": "^1.1.0", @@ -23,19 +23,24 @@ ], "license": "MIT", "main": "./dist/index.js", - "module": "./dist-esm/index.js", + "module": "./dist-esm/src/index.js", "types": "./types/arm-authorization.d.ts", "devDependencies": { "@microsoft/api-extractor": "^7.18.11", "@rollup/plugin-commonjs": "^21.0.1", - "@rollup/plugin-json": "^4.0.0", - "@rollup/plugin-multi-entry": "^3.0.0", - "@rollup/plugin-node-resolve": "^8.0.0", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-multi-entry": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.1.3", "mkdirp": "^1.0.4", - "rollup": "^2.0.0", - "rollup-plugin-sourcemaps": "^0.4.2", + "rollup": "^2.66.1", + "rollup-plugin-sourcemaps": "^0.6.3", "typescript": "~4.2.0", - "uglify-js": "^3.4.9" + "uglify-js": "^3.4.9", + "rimraf": "^3.0.0", + "@azure/identity": "^2.0.1", + "@azure-tools/test-recorder": "^1.0.0", + "mocha": "^7.1.1", + "cross-env": "^7.0.2" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/authorization/arm-authorization", "repository": { @@ -64,14 +69,14 @@ "types/*" ], "scripts": { - "build": "tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api", + "build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api", "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", "prepack": "npm run build", "pack": "npm pack 2>&1", "extract-api": "api-extractor run --local", "lint": "echo skipped", "audit": "echo skipped", - "clean": "echo skipped", + "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log", "build:node": "echo skipped", "build:browser": "echo skipped", "build:test": "echo skipped", @@ -79,18 +84,33 @@ "check-format": "echo skipped", "execute:samples": "echo skipped", "format": "echo skipped", - "test": "echo skipped", - "prebuild": "echo skipped", + "test": "npm run integration-test", "test:node": "echo skipped", "test:browser": "echo skipped", - "unit-test": "echo skipped", - "unit-test:node": "echo skipped", + "unit-test": "npm run unit-test:node && npm run unit-test:browser", + "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node", "unit-test:browser": "echo skipped", + "integration-test": "npm run integration-test:node && npm run integration-test:browser", + "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js", "integration-test:browser": "echo skipped", - "integration-test:node": "echo skipped", - "integration-test": "echo skipped", "docs": "echo skipped" }, "sideEffects": false, - "autoPublish": true -} + "//metadata": { + "constantPaths": [ + { + "path": "src/authorizationManagementClient.ts", + "prefix": "packageDetails" + } + ] + }, + "autoPublish": true, + "//sampleConfiguration": { + "productName": "", + "productSlugs": [ + "azure" + ], + "disableDocsMs": true, + "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-authorization?view=azure-node-preview" + } +} \ No newline at end of file diff --git a/sdk/authorization/arm-authorization/recordings/node/my_test/recording_sample_test.js b/sdk/authorization/arm-authorization/recordings/node/my_test/recording_sample_test.js new file mode 100644 index 000000000000..0f6ecb857acf --- /dev/null +++ b/sdk/authorization/arm-authorization/recordings/node/my_test/recording_sample_test.js @@ -0,0 +1,5 @@ +let nock = require('nock'); + +module.exports.hash = "7a6be38bb8cb644d64b4094802301751"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/authorization/arm-authorization/review/arm-authorization.api.md b/sdk/authorization/arm-authorization/review/arm-authorization.api.md index c3712ab2a018..c157fed69ea6 100644 --- a/sdk/authorization/arm-authorization/review/arm-authorization.api.md +++ b/sdk/authorization/arm-authorization/review/arm-authorization.api.md @@ -34,12 +34,14 @@ export interface ApprovalStage { export type AssignmentType = string; // @public (undocumented) -export class AuthorizationManagementClient extends AuthorizationManagementClientContext { - constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AuthorizationManagementClientOptionalParams); +export class AuthorizationManagementClient extends coreClient.ServiceClient { // (undocumented) - eligibleChildResources: EligibleChildResources; + $host: string; + constructor(credentials: coreAuth.TokenCredential, options?: AuthorizationManagementClientOptionalParams); + // (undocumented) + apiVersion: string; // (undocumented) - roleAssignments: RoleAssignments; + eligibleChildResources: EligibleChildResources; // (undocumented) roleAssignmentScheduleInstances: RoleAssignmentScheduleInstances; // (undocumented) @@ -58,17 +60,6 @@ export class AuthorizationManagementClient extends AuthorizationManagementClient roleManagementPolicyAssignments: RoleManagementPolicyAssignments; } -// @public (undocumented) -export class AuthorizationManagementClientContext extends coreClient.ServiceClient { - // (undocumented) - $host: string; - constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AuthorizationManagementClientOptionalParams); - // (undocumented) - apiVersion: string; - // (undocumented) - subscriptionId: string; -} - // @public export interface AuthorizationManagementClientOptionalParams extends coreClient.ServiceClientOptions { $host?: string; @@ -124,26 +115,6 @@ export interface EligibleChildResourcesListResult { // @public export type EnablementRules = string; -// @public -export interface ErrorAdditionalInfo { - readonly info?: Record; - readonly type?: string; -} - -// @public -export interface ErrorDetail { - readonly additionalInfo?: ErrorAdditionalInfo[]; - readonly code?: string; - readonly details?: ErrorDetail[]; - readonly message?: string; - readonly target?: string; -} - -// @public -export interface ErrorResponse { - error?: ErrorDetail; -} - // @public (undocumented) export interface ExpandedProperties { principal?: ExpandedPropertiesPrincipal; @@ -231,27 +202,15 @@ export enum KnownNotificationLevel { // @public export enum KnownPrincipalType { - // (undocumented) - Application = "Application", // (undocumented) Device = "Device", // (undocumented) - DirectoryObjectOrGroup = "DirectoryObjectOrGroup", - // (undocumented) - DirectoryRoleTemplate = "DirectoryRoleTemplate", - // (undocumented) - Everyone = "Everyone", - // (undocumented) ForeignGroup = "ForeignGroup", // (undocumented) Group = "Group", // (undocumented) - MSI = "MSI", - // (undocumented) ServicePrincipal = "ServicePrincipal", // (undocumented) - Unknown = "Unknown", - // (undocumented) User = "User" } @@ -376,7 +335,15 @@ export type NotificationDeliveryMechanism = string; // @public export type NotificationLevel = string; -// @public (undocumented) +// @public +export interface Permission { + actions?: string[]; + dataActions?: string[]; + notActions?: string[]; + notDataActions?: string[]; +} + +// @public export interface PolicyAssignmentProperties { policy?: PolicyAssignmentPropertiesPolicy; roleDefinition?: PolicyAssignmentPropertiesRoleDefinition; @@ -404,7 +371,7 @@ export interface PolicyAssignmentPropertiesScope { type?: string; } -// @public (undocumented) +// @public export interface PolicyProperties { readonly scope?: PolicyPropertiesScope; } @@ -433,68 +400,6 @@ export type RecipientType = string; // @public export type RequestType = string; -// @public -export interface RoleAssignment { - condition?: string; - conditionVersion?: string; - readonly createdBy?: string; - readonly createdOn?: Date; - delegatedManagedIdentityResourceId?: string; - description?: string; - readonly id?: string; - readonly name?: string; - principalId?: string; - principalType?: PrincipalType; - roleDefinitionId?: string; - readonly scope?: string; - readonly type?: string; - readonly updatedBy?: string; - readonly updatedOn?: Date; -} - -// @public -export interface RoleAssignmentCreateParameters { - condition?: string; - conditionVersion?: string; - readonly createdBy?: string; - readonly createdOn?: Date; - delegatedManagedIdentityResourceId?: string; - description?: string; - principalId: string; - principalType?: PrincipalType; - roleDefinitionId: string; - readonly scope?: string; - readonly updatedBy?: string; - readonly updatedOn?: Date; -} - -// @public -export interface RoleAssignmentFilter { - principalId?: string; -} - -// @public -export interface RoleAssignmentListResult { - readonly nextLink?: string; - value?: RoleAssignment[]; -} - -// @public -export interface RoleAssignments { - create(scope: string, roleAssignmentName: string, parameters: RoleAssignmentCreateParameters, options?: RoleAssignmentsCreateOptionalParams): Promise; - createById(roleAssignmentId: string, parameters: RoleAssignmentCreateParameters, options?: RoleAssignmentsCreateByIdOptionalParams): Promise; - delete(scope: string, roleAssignmentName: string, options?: RoleAssignmentsDeleteOptionalParams): Promise; - deleteById(roleAssignmentId: string, options?: RoleAssignmentsDeleteByIdOptionalParams): Promise; - get(scope: string, roleAssignmentName: string, options?: RoleAssignmentsGetOptionalParams): Promise; - getById(roleAssignmentId: string, options?: RoleAssignmentsGetByIdOptionalParams): Promise; - listForResource(resourceGroupName: string, resourceProviderNamespace: string, resourceType: string, resourceName: string, options?: RoleAssignmentsListForResourceOptionalParams): PagedAsyncIterableIterator; - listForResourceGroup(resourceGroupName: string, options?: RoleAssignmentsListForResourceGroupOptionalParams): PagedAsyncIterableIterator; - listForScope(scope: string, options?: RoleAssignmentsListForScopeOptionalParams): PagedAsyncIterableIterator; - listForSubscription(options?: RoleAssignmentsListForSubscriptionOptionalParams): PagedAsyncIterableIterator; - validate(scope: string, roleAssignmentName: string, parameters: RoleAssignmentCreateParameters, options?: RoleAssignmentsValidateOptionalParams): Promise; - validateById(roleAssignmentId: string, parameters: RoleAssignmentCreateParameters, options?: RoleAssignmentsValidateByIdOptionalParams): Promise; -} - // @public export interface RoleAssignmentSchedule { assignmentType?: AssignmentType; @@ -662,6 +567,7 @@ export interface RoleAssignmentScheduleRequests { create(scope: string, roleAssignmentScheduleRequestName: string, parameters: RoleAssignmentScheduleRequest, options?: RoleAssignmentScheduleRequestsCreateOptionalParams): Promise; get(scope: string, roleAssignmentScheduleRequestName: string, options?: RoleAssignmentScheduleRequestsGetOptionalParams): Promise; listForScope(scope: string, options?: RoleAssignmentScheduleRequestsListForScopeOptionalParams): PagedAsyncIterableIterator; + validate(scope: string, roleAssignmentScheduleRequestName: string, parameters: RoleAssignmentScheduleRequest, options?: RoleAssignmentScheduleRequestsValidateOptionalParams): Promise; } // @public @@ -698,6 +604,13 @@ export interface RoleAssignmentScheduleRequestsListForScopeOptionalParams extend // @public export type RoleAssignmentScheduleRequestsListForScopeResponse = RoleAssignmentScheduleRequestListResult; +// @public +export interface RoleAssignmentScheduleRequestsValidateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type RoleAssignmentScheduleRequestsValidateResponse = RoleAssignmentScheduleRequest; + // @public export interface RoleAssignmentSchedules { get(scope: string, roleAssignmentScheduleName: string, options?: RoleAssignmentSchedulesGetOptionalParams): Promise; @@ -727,138 +640,6 @@ export interface RoleAssignmentSchedulesListForScopeOptionalParams extends coreC // @public export type RoleAssignmentSchedulesListForScopeResponse = RoleAssignmentScheduleListResult; -// @public -export interface RoleAssignmentsCreateByIdOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type RoleAssignmentsCreateByIdResponse = RoleAssignment; - -// @public -export interface RoleAssignmentsCreateOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type RoleAssignmentsCreateResponse = RoleAssignment; - -// @public -export interface RoleAssignmentsDeleteByIdOptionalParams extends coreClient.OperationOptions { - tenantId?: string; -} - -// @public -export type RoleAssignmentsDeleteByIdResponse = RoleAssignment; - -// @public -export interface RoleAssignmentsDeleteOptionalParams extends coreClient.OperationOptions { - tenantId?: string; -} - -// @public -export type RoleAssignmentsDeleteResponse = RoleAssignment; - -// @public -export interface RoleAssignmentsGetByIdOptionalParams extends coreClient.OperationOptions { - tenantId?: string; -} - -// @public -export type RoleAssignmentsGetByIdResponse = RoleAssignment; - -// @public -export interface RoleAssignmentsGetOptionalParams extends coreClient.OperationOptions { - tenantId?: string; -} - -// @public -export type RoleAssignmentsGetResponse = RoleAssignment; - -// @public -export interface RoleAssignmentsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - tenantId?: string; -} - -// @public -export type RoleAssignmentsListForResourceGroupNextResponse = RoleAssignmentListResult; - -// @public -export interface RoleAssignmentsListForResourceGroupOptionalParams extends coreClient.OperationOptions { - filter?: string; - tenantId?: string; -} - -// @public -export type RoleAssignmentsListForResourceGroupResponse = RoleAssignmentListResult; - -// @public -export interface RoleAssignmentsListForResourceNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - tenantId?: string; -} - -// @public -export type RoleAssignmentsListForResourceNextResponse = RoleAssignmentListResult; - -// @public -export interface RoleAssignmentsListForResourceOptionalParams extends coreClient.OperationOptions { - filter?: string; - tenantId?: string; -} - -// @public -export type RoleAssignmentsListForResourceResponse = RoleAssignmentListResult; - -// @public -export interface RoleAssignmentsListForScopeNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - tenantId?: string; -} - -// @public -export type RoleAssignmentsListForScopeNextResponse = RoleAssignmentListResult; - -// @public -export interface RoleAssignmentsListForScopeOptionalParams extends coreClient.OperationOptions { - filter?: string; - tenantId?: string; -} - -// @public -export type RoleAssignmentsListForScopeResponse = RoleAssignmentListResult; - -// @public -export interface RoleAssignmentsListForSubscriptionNextOptionalParams extends coreClient.OperationOptions { - filter?: string; - tenantId?: string; -} - -// @public -export type RoleAssignmentsListForSubscriptionNextResponse = RoleAssignmentListResult; - -// @public -export interface RoleAssignmentsListForSubscriptionOptionalParams extends coreClient.OperationOptions { - filter?: string; - tenantId?: string; -} - -// @public -export type RoleAssignmentsListForSubscriptionResponse = RoleAssignmentListResult; - -// @public -export interface RoleAssignmentsValidateByIdOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type RoleAssignmentsValidateByIdResponse = ValidationResponse; - -// @public -export interface RoleAssignmentsValidateOptionalParams extends coreClient.OperationOptions { -} - -// @public -export type RoleAssignmentsValidateResponse = ValidationResponse; - // @public export interface RoleEligibilitySchedule { condition?: string; @@ -1019,6 +800,7 @@ export interface RoleEligibilityScheduleRequests { create(scope: string, roleEligibilityScheduleRequestName: string, parameters: RoleEligibilityScheduleRequest, options?: RoleEligibilityScheduleRequestsCreateOptionalParams): Promise; get(scope: string, roleEligibilityScheduleRequestName: string, options?: RoleEligibilityScheduleRequestsGetOptionalParams): Promise; listForScope(scope: string, options?: RoleEligibilityScheduleRequestsListForScopeOptionalParams): PagedAsyncIterableIterator; + validate(scope: string, roleEligibilityScheduleRequestName: string, parameters: RoleEligibilityScheduleRequest, options?: RoleEligibilityScheduleRequestsValidateOptionalParams): Promise; } // @public @@ -1055,6 +837,13 @@ export interface RoleEligibilityScheduleRequestsListForScopeOptionalParams exten // @public export type RoleEligibilityScheduleRequestsListForScopeResponse = RoleEligibilityScheduleRequestListResult; +// @public +export interface RoleEligibilityScheduleRequestsValidateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type RoleEligibilityScheduleRequestsValidateResponse = RoleEligibilityScheduleRequest; + // @public export interface RoleEligibilitySchedules { get(scope: string, roleEligibilityScheduleName: string, options?: RoleEligibilitySchedulesGetOptionalParams): Promise; @@ -1148,6 +937,7 @@ export type RoleManagementPolicyApprovalRule = RoleManagementPolicyRule & { // @public export interface RoleManagementPolicyAssignment { + readonly effectiveRules?: RoleManagementPolicyRuleUnion[]; readonly id?: string; readonly name?: string; readonly policyAssignmentProperties?: PolicyAssignmentProperties; @@ -1279,19 +1069,6 @@ export interface UserSet { // @public export type UserType = string; -// @public -export interface ValidationResponse { - errorInfo?: ValidationResponseErrorInfo; - readonly isValid?: boolean; -} - -// @public -export interface ValidationResponseErrorInfo { - readonly code?: string; - readonly message?: string; -} - - // (No @packageDocumentation comment for this package) ``` diff --git a/sdk/authorization/arm-authorization/rollup.config.js b/sdk/authorization/arm-authorization/rollup.config.js index 9be1955eb7f1..3f89d7309da5 100644 --- a/sdk/authorization/arm-authorization/rollup.config.js +++ b/sdk/authorization/arm-authorization/rollup.config.js @@ -14,62 +14,14 @@ import json from "@rollup/plugin-json"; import nodeBuiltins from "builtin-modules"; -/** - * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. - * - * NOTE: this manual configuration is only needed because OpenTelemetry uses an - * __exportStar downleveled helper function to declare its exports which confuses - * rollup's automatic discovery mechanism. - * - * @returns an object reference that can be `...`'d into your cjs() configuration. - */ -export function openTelemetryCommonJs() { - const namedExports = {}; - - for (const key of [ - "@opentelemetry/api", - "@azure/core-tracing/node_modules/@opentelemetry/api" - ]) { - namedExports[key] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "SpanStatusCode", - "getSpanContext", - "setSpanContext" - ]; - } - - const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; - - for (const version of releasedOpenTelemetryVersions) { - namedExports[ - // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. - `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` - ] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "StatusCode", - "CanonicalCode", - "getSpanContext", - "setSpanContext" - ]; - } - - return namedExports; -} - // #region Warning Handler /** - * A function that can determine whether a rollupwarning should be ignored. If + * A function that can determine whether a rollup warning should be ignored. If * the function returns `true`, then the warning will not be displayed. */ -function ignoreNiseSinonEvalWarnings(warning) { +function ignoreNiseSinonEval(warning) { return ( warning.code === "EVAL" && warning.id && @@ -78,17 +30,14 @@ function ignoreNiseSinonEvalWarnings(warning) { ); } -function ignoreChaiCircularDependencyWarnings(warning) { +function ignoreChaiCircularDependency(warning) { return ( warning.code === "CIRCULAR_DEPENDENCY" && warning.importer && warning.importer.includes("node_modules/chai") === true ); } -const warningInhibitors = [ - ignoreChaiCircularDependencyWarnings, - ignoreNiseSinonEvalWarnings -]; +const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; /** * Construct a warning handler for the shared rollup configuration @@ -122,22 +71,7 @@ function makeBrowserTestConfig() { nodeResolve({ mainFields: ["module", "browser"] }), - cjs({ - namedExports: { - // Chai's strange internal architecture makes it impossible to statically - // analyze its exports. - chai: [ - "version", - "use", - "util", - "config", - "expect", - "should", - "assert" - ], - ...openTelemetryCommonJs() - } - }), + cjs(), json(), sourcemaps() //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) @@ -173,7 +107,7 @@ export function makeConfig(pkg, options) { ], output: { file: "dist/index.js", format: "cjs", sourcemap: true }, preserveSymlinks: false, - plugins: [sourcemaps(), nodeResolve(), cjs()] + plugins: [sourcemaps(), nodeResolve()] }; const config = [baseConfig]; diff --git a/sdk/authorization/arm-authorization/sample.env b/sdk/authorization/arm-authorization/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/authorization/arm-authorization/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/authorization/arm-authorization/samples-dev/eligibleChildResourcesGetSample.ts b/sdk/authorization/arm-authorization/samples-dev/eligibleChildResourcesGetSample.ts new file mode 100644 index 000000000000..9417fc31fcce --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/eligibleChildResourcesGetSample.ts @@ -0,0 +1,37 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + EligibleChildResourcesGetOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the child resources of a resource on which user has eligible access + * + * @summary Get the child resources of a resource on which user has eligible access + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetEligibleChildResourcesByScope.json + */ +async function getEligibleChildResourcesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "resourceType eq 'resourcegroup'"; + const options: EligibleChildResourcesGetOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.eligibleChildResources.list(scope, options)) { + resArray.push(item); + } + console.log(resArray); +} + +getEligibleChildResourcesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleInstancesGetSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleInstancesGetSample.ts new file mode 100644 index 000000000000..99dd6277951d --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleInstancesGetSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the specified role assignment schedule instance. + * + * @summary Gets the specified role assignment schedule instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstanceByName.json + */ +async function getRoleAssignmentScheduleInstanceByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleInstanceName = + "ed9b8180-cef7-4c77-a63c-b8566ecfc412"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleInstances.get( + scope, + roleAssignmentScheduleInstanceName + ); + console.log(result); +} + +getRoleAssignmentScheduleInstanceByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleInstancesListForScopeSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleInstancesListForScopeSample.ts new file mode 100644 index 000000000000..a50294bc1457 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleInstancesListForScopeSample.ts @@ -0,0 +1,42 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleAssignmentScheduleInstancesListForScopeOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role assignment schedule instances of a role assignment schedule. + * + * @summary Gets role assignment schedule instances of a role assignment schedule. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstancesByScope.json + */ +async function getRoleAssignmentScheduleInstancesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('a3bb8764-cb92-4276-9d2a-ca1e895e55ea')"; + const options: RoleAssignmentScheduleInstancesListForScopeOptionalParams = { + filter + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleAssignmentScheduleInstances.listForScope( + scope, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleAssignmentScheduleInstancesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsCancelSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsCancelSample.ts new file mode 100644 index 000000000000..c9b10438e7b5 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsCancelSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Cancels a pending role assignment schedule request. + * + * @summary Cancels a pending role assignment schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/CancelRoleAssignmentScheduleRequestByName.json + */ +async function cancelRoleAssignmentScheduleRequestByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleRequestName = + "fea7a502-9a96-4806-a26f-eee560e52045"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleRequests.cancel( + scope, + roleAssignmentScheduleRequestName + ); + console.log(result); +} + +cancelRoleAssignmentScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsCreateSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsCreateSample.ts new file mode 100644 index 000000000000..c350682177a4 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsCreateSample.ts @@ -0,0 +1,56 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleAssignmentScheduleRequest, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a role assignment schedule request. + * + * @summary Creates a role assignment schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleAssignmentScheduleRequest.json + */ +async function putRoleAssignmentScheduleRequest() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleRequestName = + "fea7a502-9a96-4806-a26f-eee560e52045"; + const parameters: RoleAssignmentScheduleRequest = { + condition: + "@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'", + conditionVersion: "1.0", + linkedRoleEligibilityScheduleId: "b1477448-2cc6-4ceb-93b4-54a202a89413", + principalId: "a3bb8764-cb92-4276-9d2a-ca1e895e55ea", + requestType: "SelfActivate", + roleDefinitionId: + "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608", + scheduleInfo: { + expiration: { + type: "AfterDuration", + duration: "PT8H", + endDateTime: undefined + }, + startDateTime: new Date("2020-09-09T21:35:27.91Z") + } + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleRequests.create( + scope, + roleAssignmentScheduleRequestName, + parameters + ); + console.log(result); +} + +putRoleAssignmentScheduleRequest().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsGetSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsGetSample.ts new file mode 100644 index 000000000000..550dbccfc622 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsGetSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the specified role assignment schedule request. + * + * @summary Get the specified role assignment schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByName.json + */ +async function getRoleAssignmentScheduleRequestByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleRequestName = + "fea7a502-9a96-4806-a26f-eee560e52045"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleRequests.get( + scope, + roleAssignmentScheduleRequestName + ); + console.log(result); +} + +getRoleAssignmentScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsListForScopeSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsListForScopeSample.ts new file mode 100644 index 000000000000..98ba5f87ce8a --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsListForScopeSample.ts @@ -0,0 +1,42 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleAssignmentScheduleRequestsListForScopeOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role assignment schedule requests for a scope. + * + * @summary Gets role assignment schedule requests for a scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByScope.json + */ +async function getRoleAssignmentScheduleRequestByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('A3BB8764-CB92-4276-9D2A-CA1E895E55EA')"; + const options: RoleAssignmentScheduleRequestsListForScopeOptionalParams = { + filter + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleAssignmentScheduleRequests.listForScope( + scope, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleAssignmentScheduleRequestByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsValidateSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsValidateSample.ts new file mode 100644 index 000000000000..4f9e836b372c --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentScheduleRequestsValidateSample.ts @@ -0,0 +1,55 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleAssignmentScheduleRequest, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Validates a new role assignment schedule request. + * + * @summary Validates a new role assignment schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/ValidateRoleAssignmentScheduleRequestByName.json + */ +async function validateRoleAssignmentScheduleRequestByName() { + const scope = "subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleRequestName = + "fea7a502-9a96-4806-a26f-eee560e52045"; + const parameters: RoleAssignmentScheduleRequest = { + condition: + "@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'", + conditionVersion: "1.0", + linkedRoleEligibilityScheduleId: "b1477448-2cc6-4ceb-93b4-54a202a89413", + principalId: "a3bb8764-cb92-4276-9d2a-ca1e895e55ea", + requestType: "SelfActivate", + roleDefinitionId: + "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608", + scheduleInfo: { + expiration: { + type: "AfterDuration", + duration: "PT8H", + endDateTime: undefined + }, + startDateTime: new Date("2020-09-09T21:35:27.91Z") + } + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleRequests.validate( + scope, + roleAssignmentScheduleRequestName, + parameters + ); + console.log(result); +} + +validateRoleAssignmentScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleAssignmentSchedulesGetSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentSchedulesGetSample.ts new file mode 100644 index 000000000000..bf11f97c5138 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentSchedulesGetSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the specified role assignment schedule for a resource scope + * + * @summary Get the specified role assignment schedule for a resource scope + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleByName.json + */ +async function getRoleAssignmentScheduleByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleName = "c9e264ff-3133-4776-a81a-ebc7c33c8ec6"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentSchedules.get( + scope, + roleAssignmentScheduleName + ); + console.log(result); +} + +getRoleAssignmentScheduleByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleAssignmentSchedulesListForScopeSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentSchedulesListForScopeSample.ts new file mode 100644 index 000000000000..8304680e7542 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleAssignmentSchedulesListForScopeSample.ts @@ -0,0 +1,40 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleAssignmentSchedulesListForScopeOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role assignment schedules for a resource scope. + * + * @summary Gets role assignment schedules for a resource scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentSchedulesByScope.json + */ +async function getRoleAssignmentSchedulesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('a3bb8764-cb92-4276-9d2a-ca1e895e55ea')"; + const options: RoleAssignmentSchedulesListForScopeOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleAssignmentSchedules.listForScope( + scope, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleAssignmentSchedulesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleInstancesGetSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleInstancesGetSample.ts new file mode 100644 index 000000000000..1f53f2dad995 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleInstancesGetSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the specified role eligibility schedule instance. + * + * @summary Gets the specified role eligibility schedule instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstanceByName.json + */ +async function getRoleEligibilityScheduleInstanceByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleInstanceName = + "21e4b59a-0499-4fe0-a3c3-43a3055b773a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleInstances.get( + scope, + roleEligibilityScheduleInstanceName + ); + console.log(result); +} + +getRoleEligibilityScheduleInstanceByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleInstancesListForScopeSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleInstancesListForScopeSample.ts new file mode 100644 index 000000000000..6db59a4e6d99 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleInstancesListForScopeSample.ts @@ -0,0 +1,42 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleEligibilityScheduleInstancesListForScopeOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role eligibility schedule instances of a role eligibility schedule. + * + * @summary Gets role eligibility schedule instances of a role eligibility schedule. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstancesByScope.json + */ +async function getRoleEligibilityScheduleInstancesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('a3bb8764-cb92-4276-9d2a-ca1e895e55ea')"; + const options: RoleEligibilityScheduleInstancesListForScopeOptionalParams = { + filter + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleEligibilityScheduleInstances.listForScope( + scope, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleEligibilityScheduleInstancesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsCancelSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsCancelSample.ts new file mode 100644 index 000000000000..9370eb83416c --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsCancelSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Cancels a pending role eligibility schedule request. + * + * @summary Cancels a pending role eligibility schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/CancelRoleEligibilityScheduleRequestByName.json + */ +async function cancelRoleEligibilityScheduleRequestByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleRequestName = + "64caffb6-55c0-4deb-a585-68e948ea1ad6"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleRequests.cancel( + scope, + roleEligibilityScheduleRequestName + ); + console.log(result); +} + +cancelRoleEligibilityScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsCreateSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsCreateSample.ts new file mode 100644 index 000000000000..a46fb4f128de --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsCreateSample.ts @@ -0,0 +1,55 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleEligibilityScheduleRequest, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a role eligibility schedule request. + * + * @summary Creates a role eligibility schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleEligibilityScheduleRequest.json + */ +async function putRoleEligibilityScheduleRequest() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleRequestName = + "64caffb6-55c0-4deb-a585-68e948ea1ad6"; + const parameters: RoleEligibilityScheduleRequest = { + condition: + "@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'", + conditionVersion: "1.0", + principalId: "a3bb8764-cb92-4276-9d2a-ca1e895e55ea", + requestType: "AdminAssign", + roleDefinitionId: + "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608", + scheduleInfo: { + expiration: { + type: "AfterDuration", + duration: "P365D", + endDateTime: undefined + }, + startDateTime: new Date("2020-09-09T21:31:27.91Z") + } + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleRequests.create( + scope, + roleEligibilityScheduleRequestName, + parameters + ); + console.log(result); +} + +putRoleEligibilityScheduleRequest().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsGetSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsGetSample.ts new file mode 100644 index 000000000000..e8c52e4f3116 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsGetSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the specified role eligibility schedule request. + * + * @summary Get the specified role eligibility schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByName.json + */ +async function getRoleEligibilityScheduleRequestByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleRequestName = + "64caffb6-55c0-4deb-a585-68e948ea1ad6"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleRequests.get( + scope, + roleEligibilityScheduleRequestName + ); + console.log(result); +} + +getRoleEligibilityScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsListForScopeSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsListForScopeSample.ts new file mode 100644 index 000000000000..e3057d1809cb --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsListForScopeSample.ts @@ -0,0 +1,42 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleEligibilityScheduleRequestsListForScopeOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role eligibility schedule requests for a scope. + * + * @summary Gets role eligibility schedule requests for a scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByScope.json + */ +async function getRoleEligibilityScheduleRequestByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('A3BB8764-CB92-4276-9D2A-CA1E895E55EA')"; + const options: RoleEligibilityScheduleRequestsListForScopeOptionalParams = { + filter + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleEligibilityScheduleRequests.listForScope( + scope, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleEligibilityScheduleRequestByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsValidateSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsValidateSample.ts new file mode 100644 index 000000000000..6eaed28729d8 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleEligibilityScheduleRequestsValidateSample.ts @@ -0,0 +1,54 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleEligibilityScheduleRequest, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Validates a new role eligibility schedule request. + * + * @summary Validates a new role eligibility schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/ValidateRoleEligibilityScheduleRequestByName.json + */ +async function validateRoleEligibilityScheduleRequestByName() { + const scope = "subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleRequestName = + "64caffb6-55c0-4deb-a585-68e948ea1ad6"; + const parameters: RoleEligibilityScheduleRequest = { + condition: + "@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'", + conditionVersion: "1.0", + principalId: "a3bb8764-cb92-4276-9d2a-ca1e895e55ea", + requestType: "AdminAssign", + roleDefinitionId: + "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608", + scheduleInfo: { + expiration: { + type: "AfterDuration", + duration: "P365D", + endDateTime: undefined + }, + startDateTime: new Date("2020-09-09T21:31:27.91Z") + } + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleRequests.validate( + scope, + roleEligibilityScheduleRequestName, + parameters + ); + console.log(result); +} + +validateRoleEligibilityScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleEligibilitySchedulesGetSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleEligibilitySchedulesGetSample.ts new file mode 100644 index 000000000000..a846731cc7ed --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleEligibilitySchedulesGetSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the specified role eligibility schedule for a resource scope + * + * @summary Get the specified role eligibility schedule for a resource scope + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleByName.json + */ +async function getRoleEligibilityScheduleByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleName = "b1477448-2cc6-4ceb-93b4-54a202a89413"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilitySchedules.get( + scope, + roleEligibilityScheduleName + ); + console.log(result); +} + +getRoleEligibilityScheduleByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleEligibilitySchedulesListForScopeSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleEligibilitySchedulesListForScopeSample.ts new file mode 100644 index 000000000000..6959c6101893 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleEligibilitySchedulesListForScopeSample.ts @@ -0,0 +1,42 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleEligibilitySchedulesListForScopeOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role eligibility schedules for a resource scope. + * + * @summary Gets role eligibility schedules for a resource scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilitySchedulesByScope.json + */ +async function getRoleEligibilitySchedulesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('a3bb8764-cb92-4276-9d2a-ca1e895e55ea')"; + const options: RoleEligibilitySchedulesListForScopeOptionalParams = { + filter + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleEligibilitySchedules.listForScope( + scope, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleEligibilitySchedulesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleManagementPoliciesDeleteSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleManagementPoliciesDeleteSample.ts new file mode 100644 index 000000000000..00937797ae58 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleManagementPoliciesDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete a role management policy + * + * @summary Delete a role management policy + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/DeleteRoleManagementPolicy.json + */ +async function deleteRoleManagementPolicy() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyName = "570c3619-7688-4b34-b290-2b8bb3ccab2a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicies.delete( + scope, + roleManagementPolicyName + ); + console.log(result); +} + +deleteRoleManagementPolicy().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleManagementPoliciesGetSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleManagementPoliciesGetSample.ts new file mode 100644 index 000000000000..61b7e7b3d9c8 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleManagementPoliciesGetSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the specified role management policy for a resource scope + * + * @summary Get the specified role management policy for a resource scope + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByName.json + */ +async function getRoleManagementPolicyByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyName = "570c3619-7688-4b34-b290-2b8bb3ccab2a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicies.get( + scope, + roleManagementPolicyName + ); + console.log(result); +} + +getRoleManagementPolicyByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleManagementPoliciesListForScopeSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleManagementPoliciesListForScopeSample.ts new file mode 100644 index 000000000000..713c8296ef9b --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleManagementPoliciesListForScopeSample.ts @@ -0,0 +1,32 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role management policies for a resource scope. + * + * @summary Gets role management policies for a resource scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByScope.json + */ +async function getRoleManagementPolicyByRoleDefinitionFilter() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleManagementPolicies.listForScope(scope)) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleManagementPolicyByRoleDefinitionFilter().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleManagementPoliciesUpdateSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleManagementPoliciesUpdateSample.ts new file mode 100644 index 000000000000..560bab193712 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleManagementPoliciesUpdateSample.ts @@ -0,0 +1,391 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleManagementPolicy, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Update a role management policy + * + * @summary Update a role management policy + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PatchPartialRoleManagementPolicy.json + */ +async function patchPartialRoleManagementPolicy() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyName = "570c3619-7688-4b34-b290-2b8bb3ccab2a"; + const parameters: RoleManagementPolicy = { + rules: [ + { + id: "Expiration_Admin_Eligibility", + isExpirationRequired: false, + maximumDuration: "P180D", + ruleType: "RoleManagementPolicyExpirationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Admin_Admin_Eligibility", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["admin_admin_eligible@test.com"], + notificationType: "Email", + recipientType: "Admin", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + } + ] + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicies.update( + scope, + roleManagementPolicyName, + parameters + ); + console.log(result); +} + +patchPartialRoleManagementPolicy().catch(console.error); + +/** + * This sample demonstrates how to Update a role management policy + * + * @summary Update a role management policy + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PatchRoleManagementPolicy.json + */ +async function patchRoleManagementPolicy() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyName = "570c3619-7688-4b34-b290-2b8bb3ccab2a"; + const parameters: RoleManagementPolicy = { + rules: [ + { + id: "Expiration_Admin_Eligibility", + isExpirationRequired: false, + maximumDuration: "P180D", + ruleType: "RoleManagementPolicyExpirationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Admin_Admin_Eligibility", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["admin_admin_eligible@test.com"], + notificationType: "Email", + recipientType: "Admin", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Requestor_Admin_Eligibility", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["requestor_admin_eligible@test.com"], + notificationType: "Email", + recipientType: "Requestor", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Approver_Admin_Eligibility", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["approver_admin_eligible@test.com"], + notificationType: "Email", + recipientType: "Approver", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + }, + { + enabledRules: [], + id: "Enablement_Admin_Eligibility", + ruleType: "RoleManagementPolicyEnablementRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Expiration_Admin_Assignment", + isExpirationRequired: false, + maximumDuration: "P90D", + ruleType: "RoleManagementPolicyExpirationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + enabledRules: ["Justification", "MultiFactorAuthentication"], + id: "Enablement_Admin_Assignment", + ruleType: "RoleManagementPolicyEnablementRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Admin_Admin_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["admin_admin_member@test.com"], + notificationType: "Email", + recipientType: "Admin", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Requestor_Admin_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["requestor_admin_member@test.com"], + notificationType: "Email", + recipientType: "Requestor", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Approver_Admin_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["approver_admin_member@test.com"], + notificationType: "Email", + recipientType: "Approver", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Expiration_EndUser_Assignment", + isExpirationRequired: true, + maximumDuration: "PT7H", + ruleType: "RoleManagementPolicyExpirationRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + enabledRules: [ + "Justification", + "MultiFactorAuthentication", + "Ticketing" + ], + id: "Enablement_EndUser_Assignment", + ruleType: "RoleManagementPolicyEnablementRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Approval_EndUser_Assignment", + ruleType: "RoleManagementPolicyApprovalRule", + setting: { + approvalMode: "SingleStage", + approvalStages: [ + { + approvalStageTimeOutInDays: 1, + escalationApprovers: [], + escalationTimeInMinutes: 0, + isApproverJustificationRequired: true, + isEscalationEnabled: false, + primaryApprovers: [ + { + description: "amansw_new_group", + id: "2385b0f3-5fa9-43cf-8ca4-b01dc97298cd", + isBackup: false, + userType: "Group" + }, + { + description: "amansw_group", + id: "2f4913c9-d15b-406a-9946-1d66a28f2690", + isBackup: false, + userType: "Group" + } + ] + } + ], + isApprovalRequired: true, + isApprovalRequiredForExtension: false, + isRequestorJustificationRequired: true + }, + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + claimValue: "", + id: "AuthenticationContext_EndUser_Assignment", + isEnabled: false, + ruleType: "RoleManagementPolicyAuthenticationContextRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Admin_EndUser_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["admin_enduser_member@test.com"], + notificationType: "Email", + recipientType: "Admin", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Requestor_EndUser_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["requestor_enduser_member@test.com"], + notificationType: "Email", + recipientType: "Requestor", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Approver_EndUser_Assignment", + isDefaultRecipientsEnabled: true, + notificationLevel: "Critical", + notificationRecipients: [], + notificationType: "Email", + recipientType: "Approver", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + } + ] + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicies.update( + scope, + roleManagementPolicyName, + parameters + ); + console.log(result); +} + +patchRoleManagementPolicy().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleManagementPolicyAssignmentsCreateSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleManagementPolicyAssignmentsCreateSample.ts new file mode 100644 index 000000000000..0f46b3432fa9 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleManagementPolicyAssignmentsCreateSample.ts @@ -0,0 +1,45 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleManagementPolicyAssignment, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create a role management policy assignment + * + * @summary Create a role management policy assignment + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleManagementPolicyAssignment.json + */ +async function putRoleManagementPolicyAssignment() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyAssignmentName = + "b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24"; + const parameters: RoleManagementPolicyAssignment = { + policyId: + "/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleManagementPolicies/b959d571-f0b5-4042-88a7-01be6cb22db9", + roleDefinitionId: + "/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleDefinitions/a1705bd2-3a8f-45a5-8683-466fcfd5cc24", + scope: "/subscriptions/129ff972-28f8-46b8-a726-e497be039368" + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicyAssignments.create( + scope, + roleManagementPolicyAssignmentName, + parameters + ); + console.log(result); +} + +putRoleManagementPolicyAssignment().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleManagementPolicyAssignmentsDeleteSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleManagementPolicyAssignmentsDeleteSample.ts new file mode 100644 index 000000000000..a09ef112cce5 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleManagementPolicyAssignmentsDeleteSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete a role management policy assignment + * + * @summary Delete a role management policy assignment + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/DeleteRoleManagementPolicyAssignment.json + */ +async function deleteRoleManagementPolicyAssignment() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyAssignmentName = + "b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicyAssignments.delete( + scope, + roleManagementPolicyAssignmentName + ); + console.log(result); +} + +deleteRoleManagementPolicyAssignment().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleManagementPolicyAssignmentsGetSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleManagementPolicyAssignmentsGetSample.ts new file mode 100644 index 000000000000..25d9bc663dd0 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleManagementPolicyAssignmentsGetSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the specified role management policy assignment for a resource scope + * + * @summary Get the specified role management policy assignment for a resource scope + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByName.json + */ +async function getConfigurations() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyAssignmentName = + "b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicyAssignments.get( + scope, + roleManagementPolicyAssignmentName + ); + console.log(result); +} + +getConfigurations().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples-dev/roleManagementPolicyAssignmentsListForScopeSample.ts b/sdk/authorization/arm-authorization/samples-dev/roleManagementPolicyAssignmentsListForScopeSample.ts new file mode 100644 index 000000000000..15cea6984ac1 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples-dev/roleManagementPolicyAssignmentsListForScopeSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role management assignment policies for a resource scope. + * + * @summary Gets role management assignment policies for a resource scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByScope.json + */ +async function getRoleManagementPolicyAssignmentByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleManagementPolicyAssignments.listForScope( + scope + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleManagementPolicyAssignmentByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/README.md b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/README.md new file mode 100644 index 000000000000..44c517ae5790 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/README.md @@ -0,0 +1,108 @@ +# client library samples for JavaScript (Beta) + +These sample programs show how to use the JavaScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [accessReviewDefaultSettingsGetSample.js][accessreviewdefaultsettingsgetsample] | Get access review default settings for the subscription x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewDefaultSettings.json | +| [accessReviewDefaultSettingsPutSample.js][accessreviewdefaultsettingsputsample] | Get access review default settings for the subscription x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewDefaultSettings.json | +| [accessReviewHistoryDefinitionCreateSample.js][accessreviewhistorydefinitioncreatesample] | Create a scheduled or one-time Access Review History Definition x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewHistoryDefinition.json | +| [accessReviewHistoryDefinitionDeleteByIdSample.js][accessreviewhistorydefinitiondeletebyidsample] | Delete an access review history definition x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/DeleteAccessReviewHistoryDefinition.json | +| [accessReviewHistoryDefinitionInstanceGenerateDownloadUriSample.js][accessreviewhistorydefinitioninstancegeneratedownloadurisample] | Generates a uri which can be used to retrieve review history data. This URI has a TTL of 1 day and can be retrieved by fetching the accessReviewHistoryDefinition object. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PostAccessReviewHistoryDefinitionInstance.json | +| [accessReviewHistoryDefinitionInstancesListSample.js][accessreviewhistorydefinitioninstanceslistsample] | Get access review history definition instances by definition Id x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewHistoryDefinitionInstances.json | +| [accessReviewHistoryDefinitionsGetByIdSample.js][accessreviewhistorydefinitionsgetbyidsample] | Get access review history definition by definition Id x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewHistoryDefinition.json | +| [accessReviewHistoryDefinitionsListSample.js][accessreviewhistorydefinitionslistsample] | Lists the accessReviewHistoryDefinitions available from this provider, definition instances are only available for 30 days after creation. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewHistoryDefinitions.json | +| [accessReviewInstanceAcceptRecommendationsSample.js][accessreviewinstanceacceptrecommendationssample] | An action to accept recommendations for decision in an access review instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceAcceptRecommendations.json | +| [accessReviewInstanceApplyDecisionsSample.js][accessreviewinstanceapplydecisionssample] | An action to apply all decisions for an access review instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceApplyDecisions.json | +| [accessReviewInstanceContactedReviewersListSample.js][accessreviewinstancecontactedreviewerslistsample] | Get access review instance contacted reviewers x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceContactedReviewers.json | +| [accessReviewInstanceDecisionsListSample.js][accessreviewinstancedecisionslistsample] | Get access review instance decisions x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceDecisions.json | +| [accessReviewInstanceMyDecisionsGetByIdSample.js][accessreviewinstancemydecisionsgetbyidsample] | Get my single access review instance decision. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceMyDecisionById.json | +| [accessReviewInstanceMyDecisionsListSample.js][accessreviewinstancemydecisionslistsample] | Get my access review instance decisions. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceMyDecisions.json | +| [accessReviewInstanceMyDecisionsPatchSample.js][accessreviewinstancemydecisionspatchsample] | Record a decision. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PatchAccessReviewInstanceMyDecisionById.json | +| [accessReviewInstanceResetDecisionsSample.js][accessreviewinstanceresetdecisionssample] | An action to reset all decisions for an access review instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceResetDecisions.json | +| [accessReviewInstanceSendRemindersSample.js][accessreviewinstancesendreminderssample] | An action to send reminders for an access review instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceSendReminders.json | +| [accessReviewInstanceStopSample.js][accessreviewinstancestopsample] | An action to stop an access review instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/StopAccessReviewInstance.json | +| [accessReviewInstancesAssignedForMyApprovalGetByIdSample.js][accessreviewinstancesassignedformyapprovalgetbyidsample] | Get single access review instance assigned for my approval. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceAssignedForMyApproval.json | +| [accessReviewInstancesAssignedForMyApprovalListSample.js][accessreviewinstancesassignedformyapprovallistsample] | Get access review instances assigned for my approval. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstancesAssignedForMyApproval.json | +| [accessReviewInstancesCreateSample.js][accessreviewinstancescreatesample] | Update access review instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewInstance.json | +| [accessReviewInstancesGetByIdSample.js][accessreviewinstancesgetbyidsample] | Get access review instances x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstance.json | +| [accessReviewInstancesListSample.js][accessreviewinstanceslistsample] | Get access review instances x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstances.json | +| [accessReviewScheduleDefinitionsAssignedForMyApprovalListSample.js][accessreviewscheduledefinitionsassignedformyapprovallistsample] | Get access review instances assigned for my approval. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewScheduleDefinitionsAssignedForMyApproval.json | +| [accessReviewScheduleDefinitionsCreateOrUpdateByIdSample.js][accessreviewscheduledefinitionscreateorupdatebyidsample] | Create or Update access review schedule definition. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewScheduleDefinition.json | +| [accessReviewScheduleDefinitionsDeleteByIdSample.js][accessreviewscheduledefinitionsdeletebyidsample] | Delete access review schedule definition x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/DeleteAccessReviewScheduleDefinition.json | +| [accessReviewScheduleDefinitionsGetByIdSample.js][accessreviewscheduledefinitionsgetbyidsample] | Get single access review definition x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewScheduleDefinition.json | +| [accessReviewScheduleDefinitionsListSample.js][accessreviewscheduledefinitionslistsample] | Get access review schedule definitions x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewScheduleDefinitions.json | +| [accessReviewScheduleDefinitionsStopSample.js][accessreviewscheduledefinitionsstopsample] | Stop access review definition x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/StopAccessReviewScheduleDefinition.json | +| [tenantLevelAccessReviewInstanceContactedReviewersListSample.js][tenantlevelaccessreviewinstancecontactedreviewerslistsample] | Get access review instance contacted reviewers x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/TenantLevelGetAccessReviewInstanceContactedReviewers.json | + +## Prerequisites + +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). + +You need [an Azure subscription][freesub] to run these sample programs. + +Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. + +Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. + +## Setup + +To run the samples using the published version of the package: + +1. Install the dependencies using `npm`: + +```bash +npm install +``` + +2. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. + +3. Run whichever samples you like (note that some samples may require additional setup, see the table above): + +```bash +node accessReviewDefaultSettingsGetSample.js +``` + +Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): + +```bash +npx cross-env node accessReviewDefaultSettingsGetSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[accessreviewdefaultsettingsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewDefaultSettingsGetSample.js +[accessreviewdefaultsettingsputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewDefaultSettingsPutSample.js +[accessreviewhistorydefinitioncreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionCreateSample.js +[accessreviewhistorydefinitiondeletebyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionDeleteByIdSample.js +[accessreviewhistorydefinitioninstancegeneratedownloadurisample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionInstanceGenerateDownloadUriSample.js +[accessreviewhistorydefinitioninstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionInstancesListSample.js +[accessreviewhistorydefinitionsgetbyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionsGetByIdSample.js +[accessreviewhistorydefinitionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionsListSample.js +[accessreviewinstanceacceptrecommendationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceAcceptRecommendationsSample.js +[accessreviewinstanceapplydecisionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceApplyDecisionsSample.js +[accessreviewinstancecontactedreviewerslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceContactedReviewersListSample.js +[accessreviewinstancedecisionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceDecisionsListSample.js +[accessreviewinstancemydecisionsgetbyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceMyDecisionsGetByIdSample.js +[accessreviewinstancemydecisionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceMyDecisionsListSample.js +[accessreviewinstancemydecisionspatchsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceMyDecisionsPatchSample.js +[accessreviewinstanceresetdecisionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceResetDecisionsSample.js +[accessreviewinstancesendreminderssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceSendRemindersSample.js +[accessreviewinstancestopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceStopSample.js +[accessreviewinstancesassignedformyapprovalgetbyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesAssignedForMyApprovalGetByIdSample.js +[accessreviewinstancesassignedformyapprovallistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesAssignedForMyApprovalListSample.js +[accessreviewinstancescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesCreateSample.js +[accessreviewinstancesgetbyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesGetByIdSample.js +[accessreviewinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesListSample.js +[accessreviewscheduledefinitionsassignedformyapprovallistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsAssignedForMyApprovalListSample.js +[accessreviewscheduledefinitionscreateorupdatebyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsCreateOrUpdateByIdSample.js +[accessreviewscheduledefinitionsdeletebyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsDeleteByIdSample.js +[accessreviewscheduledefinitionsgetbyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsGetByIdSample.js +[accessreviewscheduledefinitionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsListSample.js +[accessreviewscheduledefinitionsstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsStopSample.js +[tenantlevelaccessreviewinstancecontactedreviewerslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/javascript/tenantLevelAccessReviewInstanceContactedReviewersListSample.js +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-authorization?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/authorization/arm-authorization/README.md diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewDefaultSettingsGetSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewDefaultSettingsGetSample.js new file mode 100644 index 000000000000..437e973b5245 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewDefaultSettingsGetSample.js @@ -0,0 +1,28 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get access review default settings for the subscription + * + * @summary Get access review default settings for the subscription + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewDefaultSettings.json + */ +async function getAccessReviewDefaultSettings() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewDefaultSettingsOperations.get(); + console.log(result); +} + +getAccessReviewDefaultSettings().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewDefaultSettingsPutSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewDefaultSettingsPutSample.js new file mode 100644 index 000000000000..328137663068 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewDefaultSettingsPutSample.js @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get access review default settings for the subscription + * + * @summary Get access review default settings for the subscription + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewDefaultSettings.json + */ +async function putAccessReviewDefaultSettings() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const properties = {}; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewDefaultSettingsOperations.put(properties); + console.log(result); +} + +putAccessReviewDefaultSettings().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionCreateSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionCreateSample.js new file mode 100644 index 000000000000..47d0945a787a --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionCreateSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create a scheduled or one-time Access Review History Definition + * + * @summary Create a scheduled or one-time Access Review History Definition + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewHistoryDefinition.json + */ +async function putAccessReviewHistoryDefinition() { + const subscriptionId = "129a304b-4aea-4b86-a9f7-ba7e2b23737a"; + const historyDefinitionId = "44724910-d7a5-4c29-b28f-db73e717165a"; + const properties = {}; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewHistoryDefinitionOperations.create( + historyDefinitionId, + properties + ); + console.log(result); +} + +putAccessReviewHistoryDefinition().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionDeleteByIdSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionDeleteByIdSample.js new file mode 100644 index 000000000000..31d7f1d9def4 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionDeleteByIdSample.js @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Delete an access review history definition + * + * @summary Delete an access review history definition + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/DeleteAccessReviewHistoryDefinition.json + */ +async function deleteAccessReview() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const historyDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewHistoryDefinitionOperations.deleteById( + historyDefinitionId + ); + console.log(result); +} + +deleteAccessReview().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionInstanceGenerateDownloadUriSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionInstanceGenerateDownloadUriSample.js new file mode 100644 index 000000000000..99428ccf9484 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionInstanceGenerateDownloadUriSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Generates a uri which can be used to retrieve review history data. This URI has a TTL of 1 day and can be retrieved by fetching the accessReviewHistoryDefinition object. + * + * @summary Generates a uri which can be used to retrieve review history data. This URI has a TTL of 1 day and can be retrieved by fetching the accessReviewHistoryDefinition object. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PostAccessReviewHistoryDefinitionInstance.json + */ +async function postAccessReviewHistoryDefinitionInstance() { + const subscriptionId = "129a304b-4aea-4b86-a9f7-ba7e2b23737a"; + const historyDefinitionId = "44724910-d7a5-4c29-b28f-db73e717165a"; + const instanceId = "9038f4f3-3d8d-43c3-8ede-669ea082c43b"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewHistoryDefinitionInstance.generateDownloadUri( + historyDefinitionId, + instanceId + ); + console.log(result); +} + +postAccessReviewHistoryDefinitionInstance().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionInstancesListSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionInstancesListSample.js new file mode 100644 index 000000000000..afa7f63bc40d --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionInstancesListSample.js @@ -0,0 +1,32 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get access review history definition instances by definition Id + * + * @summary Get access review history definition instances by definition Id + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewHistoryDefinitionInstances.json + */ +async function getAccessReviewHistoryDefinitionInstances() { + const subscriptionId = "129a304b-4aea-4b86-a9f7-ba7e2b23737a"; + const historyDefinitionId = "44724910-d7a5-4c29-b28f-db73e717165a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewHistoryDefinitionInstances.list(historyDefinitionId)) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewHistoryDefinitionInstances().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionsGetByIdSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionsGetByIdSample.js new file mode 100644 index 000000000000..24c05ee9365a --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionsGetByIdSample.js @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get access review history definition by definition Id + * + * @summary Get access review history definition by definition Id + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewHistoryDefinition.json + */ +async function getAccessReviewHistoryDefinition() { + const subscriptionId = "129a304b-4aea-4b86-a9f7-ba7e2b23737a"; + const historyDefinitionId = "44724910-d7a5-4c29-b28f-db73e717165a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewHistoryDefinitions.getById(historyDefinitionId); + console.log(result); +} + +getAccessReviewHistoryDefinition().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionsListSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionsListSample.js new file mode 100644 index 000000000000..cfd1cff632f0 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewHistoryDefinitionsListSample.js @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists the accessReviewHistoryDefinitions available from this provider, definition instances are only available for 30 days after creation. + * + * @summary Lists the accessReviewHistoryDefinitions available from this provider, definition instances are only available for 30 days after creation. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewHistoryDefinitions.json + */ +async function getAccessReviewHistoryDefinitions() { + const subscriptionId = "129a304b-4aea-4b86-a9f7-ba7e2b23737a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewHistoryDefinitions.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewHistoryDefinitions().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceAcceptRecommendationsSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceAcceptRecommendationsSample.js new file mode 100644 index 000000000000..40fe2002873d --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceAcceptRecommendationsSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to An action to accept recommendations for decision in an access review instance. + * + * @summary An action to accept recommendations for decision in an access review instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceAcceptRecommendations.json + */ +async function accessReviewInstanceAcceptRecommmendations() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "488a6d0e-0a63-4946-86e3-1f5bbc934661"; + const id = "d9b9e056-7004-470b-bf21-1635e98487da"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceOperations.acceptRecommendations( + scheduleDefinitionId, + id + ); + console.log(result); +} + +accessReviewInstanceAcceptRecommmendations().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceApplyDecisionsSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceApplyDecisionsSample.js new file mode 100644 index 000000000000..a65e5f50a74c --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceApplyDecisionsSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to An action to apply all decisions for an access review instance. + * + * @summary An action to apply all decisions for an access review instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceApplyDecisions.json + */ +async function accessReviewInstanceApplyDecisions() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const id = "d9b9e056-7004-470b-bf21-1635e98487da"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceOperations.applyDecisions( + scheduleDefinitionId, + id + ); + console.log(result); +} + +accessReviewInstanceApplyDecisions().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceContactedReviewersListSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceContactedReviewersListSample.js new file mode 100644 index 000000000000..cb4bac464e66 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceContactedReviewersListSample.js @@ -0,0 +1,36 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get access review instance contacted reviewers + * + * @summary Get access review instance contacted reviewers + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceContactedReviewers.json + */ +async function getAccessReviewInstanceContactedReviewers() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "265785a7-a81f-4201-8a18-bb0db95982b7"; + const id = "f25ed880-9c31-4101-bc57-825d8df3b58c"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewInstanceContactedReviewers.list( + scheduleDefinitionId, + id + )) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewInstanceContactedReviewers().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceDecisionsListSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceDecisionsListSample.js new file mode 100644 index 000000000000..b06023f255eb --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceDecisionsListSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get access review instance decisions + * + * @summary Get access review instance decisions + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceDecisions.json + */ +async function getAccessReviewInstanceDecisions() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "265785a7-a81f-4201-8a18-bb0db95982b7"; + const id = "f25ed880-9c31-4101-bc57-825d8df3b58c"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewInstanceDecisions.list(scheduleDefinitionId, id)) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewInstanceDecisions().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceMyDecisionsGetByIdSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceMyDecisionsGetByIdSample.js new file mode 100644 index 000000000000..9ff10fba3052 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceMyDecisionsGetByIdSample.js @@ -0,0 +1,35 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get my single access review instance decision. + * + * @summary Get my single access review instance decision. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceMyDecisionById.json + */ +async function getAccessReviewMyInstanceDecision() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "488a6d0e-0a63-4946-86e3-1f5bbc934661"; + const id = "4135f961-be78-4005-8101-c72a5af307a2"; + const decisionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceMyDecisions.getById( + scheduleDefinitionId, + id, + decisionId + ); + console.log(result); +} + +getAccessReviewMyInstanceDecision().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceMyDecisionsListSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceMyDecisionsListSample.js new file mode 100644 index 000000000000..0fa6e02855cc --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceMyDecisionsListSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get my access review instance decisions. + * + * @summary Get my access review instance decisions. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceMyDecisions.json + */ +async function getAccessReviewMyInstanceDecisions() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "488a6d0e-0a63-4946-86e3-1f5bbc934661"; + const id = "4135f961-be78-4005-8101-c72a5af307a2"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewInstanceMyDecisions.list(scheduleDefinitionId, id)) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewMyInstanceDecisions().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceMyDecisionsPatchSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceMyDecisionsPatchSample.js new file mode 100644 index 000000000000..892803d312f3 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceMyDecisionsPatchSample.js @@ -0,0 +1,37 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Record a decision. + * + * @summary Record a decision. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PatchAccessReviewInstanceMyDecisionById.json + */ +async function patchAccessReviewMyInstanceDecision() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "488a6d0e-0a63-4946-86e3-1f5bbc934661"; + const id = "4135f961-be78-4005-8101-c72a5af307a2"; + const decisionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const properties = {}; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceMyDecisions.patch( + scheduleDefinitionId, + id, + decisionId, + properties + ); + console.log(result); +} + +patchAccessReviewMyInstanceDecision().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceResetDecisionsSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceResetDecisionsSample.js new file mode 100644 index 000000000000..bb479705e39d --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceResetDecisionsSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to An action to reset all decisions for an access review instance. + * + * @summary An action to reset all decisions for an access review instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceResetDecisions.json + */ +async function accessReviewInstanceResetDecisions() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const id = "d9b9e056-7004-470b-bf21-1635e98487da"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceOperations.resetDecisions( + scheduleDefinitionId, + id + ); + console.log(result); +} + +accessReviewInstanceResetDecisions().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceSendRemindersSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceSendRemindersSample.js new file mode 100644 index 000000000000..9322ea16133e --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceSendRemindersSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to An action to send reminders for an access review instance. + * + * @summary An action to send reminders for an access review instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceSendReminders.json + */ +async function accessReviewInstanceSendReminders() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const id = "d9b9e056-7004-470b-bf21-1635e98487da"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceOperations.sendReminders( + scheduleDefinitionId, + id + ); + console.log(result); +} + +accessReviewInstanceSendReminders().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceStopSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceStopSample.js new file mode 100644 index 000000000000..d4f7e2f2de99 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstanceStopSample.js @@ -0,0 +1,30 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to An action to stop an access review instance. + * + * @summary An action to stop an access review instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/StopAccessReviewInstance.json + */ +async function accessReviewInstanceStop() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const id = "d9b9e056-7004-470b-bf21-1635e98487da"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceOperations.stop(scheduleDefinitionId, id); + console.log(result); +} + +accessReviewInstanceStop().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesAssignedForMyApprovalGetByIdSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesAssignedForMyApprovalGetByIdSample.js new file mode 100644 index 000000000000..a457f3dc96d9 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesAssignedForMyApprovalGetByIdSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get single access review instance assigned for my approval. + * + * @summary Get single access review instance assigned for my approval. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceAssignedForMyApproval.json + */ +async function getAccessReviewInstanceAssignedForMyApproval() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "488a6d0e-0a63-4946-86e3-1f5bbc934661"; + const id = "4135f961-be78-4005-8101-c72a5af307a2"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstancesAssignedForMyApproval.getById( + scheduleDefinitionId, + id + ); + console.log(result); +} + +getAccessReviewInstanceAssignedForMyApproval().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesAssignedForMyApprovalListSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesAssignedForMyApprovalListSample.js new file mode 100644 index 000000000000..be77084d4eac --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesAssignedForMyApprovalListSample.js @@ -0,0 +1,39 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get access review instances assigned for my approval. + * + * @summary Get access review instances assigned for my approval. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstancesAssignedForMyApproval.json + */ +async function getAccessReviewInstancesAssignedForMyApproval() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "488a6d0e-0a63-4946-86e3-1f5bbc934661"; + const filter = "assignedToMeToReview()"; + const options = { + filter, + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewInstancesAssignedForMyApproval.list( + scheduleDefinitionId, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewInstancesAssignedForMyApproval().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesCreateSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesCreateSample.js new file mode 100644 index 000000000000..a9fc9ab35c72 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesCreateSample.js @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Update access review instance. + * + * @summary Update access review instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewInstance.json + */ +async function putAccessReviewInstance() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const id = "4135f961-be78-4005-8101-c72a5af307a2"; + const properties = {}; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstances.create(scheduleDefinitionId, id, properties); + console.log(result); +} + +putAccessReviewInstance().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesGetByIdSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesGetByIdSample.js new file mode 100644 index 000000000000..a724efdfb14d --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesGetByIdSample.js @@ -0,0 +1,30 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get access review instances + * + * @summary Get access review instances + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstance.json + */ +async function getAccessReviewInstance() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const id = "4135f961-be78-4005-8101-c72a5af307a2"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstances.getById(scheduleDefinitionId, id); + console.log(result); +} + +getAccessReviewInstance().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesListSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesListSample.js new file mode 100644 index 000000000000..9e7e3ce95e9e --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewInstancesListSample.js @@ -0,0 +1,32 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get access review instances + * + * @summary Get access review instances + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstances.json + */ +async function getAccessReviewInstances() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "265785a7-a81f-4201-8a18-bb0db95982b7"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewInstances.list(scheduleDefinitionId)) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewInstances().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsAssignedForMyApprovalListSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsAssignedForMyApprovalListSample.js new file mode 100644 index 000000000000..1cf350db0a64 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsAssignedForMyApprovalListSample.js @@ -0,0 +1,37 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get access review instances assigned for my approval. + * + * @summary Get access review instances assigned for my approval. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewScheduleDefinitionsAssignedForMyApproval.json + */ +async function getAccessReviewScheduleDefinitionsAssignedForMyApproval() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const filter = "assignedToMeToReview()"; + const options = { + filter, + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewScheduleDefinitionsAssignedForMyApproval.list( + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewScheduleDefinitionsAssignedForMyApproval().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsCreateOrUpdateByIdSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsCreateOrUpdateByIdSample.js new file mode 100644 index 000000000000..67a7c7e0f161 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsCreateOrUpdateByIdSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create or Update access review schedule definition. + * + * @summary Create or Update access review schedule definition. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewScheduleDefinition.json + */ +async function putAccessReview() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const properties = {}; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewScheduleDefinitions.createOrUpdateById( + scheduleDefinitionId, + properties + ); + console.log(result); +} + +putAccessReview().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsDeleteByIdSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsDeleteByIdSample.js new file mode 100644 index 000000000000..53302485e016 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsDeleteByIdSample.js @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Delete access review schedule definition + * + * @summary Delete access review schedule definition + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/DeleteAccessReviewScheduleDefinition.json + */ +async function deleteAccessReview() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewScheduleDefinitions.deleteById(scheduleDefinitionId); + console.log(result); +} + +deleteAccessReview().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsGetByIdSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsGetByIdSample.js new file mode 100644 index 000000000000..3676eb7ecddf --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsGetByIdSample.js @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get single access review definition + * + * @summary Get single access review definition + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewScheduleDefinition.json + */ +async function getAccessReviewScheduleDefinition() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewScheduleDefinitions.getById(scheduleDefinitionId); + console.log(result); +} + +getAccessReviewScheduleDefinition().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsListSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsListSample.js new file mode 100644 index 000000000000..b0d05478528b --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsListSample.js @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get access review schedule definitions + * + * @summary Get access review schedule definitions + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewScheduleDefinitions.json + */ +async function getAccessReviewScheduleDefinitions() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewScheduleDefinitions.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewScheduleDefinitions().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsStopSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsStopSample.js new file mode 100644 index 000000000000..90425be030c9 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/accessReviewScheduleDefinitionsStopSample.js @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Stop access review definition + * + * @summary Stop access review definition + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/StopAccessReviewScheduleDefinition.json + */ +async function accessReviewScheduleDefinitionStop() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewScheduleDefinitions.stop(scheduleDefinitionId); + console.log(result); +} + +accessReviewScheduleDefinitionStop().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/package.json b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/package.json new file mode 100644 index 000000000000..857783234ab5 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/package.json @@ -0,0 +1,32 @@ +{ + "name": "@azure-samples/arm-authorization-js-beta", + "private": true, + "version": "1.0.0", + "description": " client library samples for JavaScript (Beta)", + "engines": { + "node": ">=12.0.0" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/Azure/azure-sdk-for-js.git", + "directory": "sdk/authorization/arm-authorization" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "author": "Microsoft Corporation", + "license": "MIT", + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" + }, + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/authorization/arm-authorization", + "dependencies": { + "@azure/arm-authorization": "next", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + } +} diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/sample.env b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/javascript/tenantLevelAccessReviewInstanceContactedReviewersListSample.js b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/tenantLevelAccessReviewInstanceContactedReviewersListSample.js new file mode 100644 index 000000000000..3048638696df --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/javascript/tenantLevelAccessReviewInstanceContactedReviewersListSample.js @@ -0,0 +1,36 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get access review instance contacted reviewers + * + * @summary Get access review instance contacted reviewers + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/TenantLevelGetAccessReviewInstanceContactedReviewers.json + */ +async function tenantLevelGetAccessReviewInstanceContactedReviewers() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "265785a7-a81f-4201-8a18-bb0db95982b7"; + const id = "f25ed880-9c31-4101-bc57-825d8df3b58c"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.tenantLevelAccessReviewInstanceContactedReviewers.list( + scheduleDefinitionId, + id + )) { + resArray.push(item); + } + console.log(resArray); +} + +tenantLevelGetAccessReviewInstanceContactedReviewers().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/README.md b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/README.md new file mode 100644 index 000000000000..e80f9baf3238 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/README.md @@ -0,0 +1,121 @@ +# client library samples for TypeScript (Beta) + +These sample programs show how to use the TypeScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [accessReviewDefaultSettingsGetSample.ts][accessreviewdefaultsettingsgetsample] | Get access review default settings for the subscription x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewDefaultSettings.json | +| [accessReviewDefaultSettingsPutSample.ts][accessreviewdefaultsettingsputsample] | Get access review default settings for the subscription x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewDefaultSettings.json | +| [accessReviewHistoryDefinitionCreateSample.ts][accessreviewhistorydefinitioncreatesample] | Create a scheduled or one-time Access Review History Definition x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewHistoryDefinition.json | +| [accessReviewHistoryDefinitionDeleteByIdSample.ts][accessreviewhistorydefinitiondeletebyidsample] | Delete an access review history definition x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/DeleteAccessReviewHistoryDefinition.json | +| [accessReviewHistoryDefinitionInstanceGenerateDownloadUriSample.ts][accessreviewhistorydefinitioninstancegeneratedownloadurisample] | Generates a uri which can be used to retrieve review history data. This URI has a TTL of 1 day and can be retrieved by fetching the accessReviewHistoryDefinition object. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PostAccessReviewHistoryDefinitionInstance.json | +| [accessReviewHistoryDefinitionInstancesListSample.ts][accessreviewhistorydefinitioninstanceslistsample] | Get access review history definition instances by definition Id x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewHistoryDefinitionInstances.json | +| [accessReviewHistoryDefinitionsGetByIdSample.ts][accessreviewhistorydefinitionsgetbyidsample] | Get access review history definition by definition Id x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewHistoryDefinition.json | +| [accessReviewHistoryDefinitionsListSample.ts][accessreviewhistorydefinitionslistsample] | Lists the accessReviewHistoryDefinitions available from this provider, definition instances are only available for 30 days after creation. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewHistoryDefinitions.json | +| [accessReviewInstanceAcceptRecommendationsSample.ts][accessreviewinstanceacceptrecommendationssample] | An action to accept recommendations for decision in an access review instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceAcceptRecommendations.json | +| [accessReviewInstanceApplyDecisionsSample.ts][accessreviewinstanceapplydecisionssample] | An action to apply all decisions for an access review instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceApplyDecisions.json | +| [accessReviewInstanceContactedReviewersListSample.ts][accessreviewinstancecontactedreviewerslistsample] | Get access review instance contacted reviewers x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceContactedReviewers.json | +| [accessReviewInstanceDecisionsListSample.ts][accessreviewinstancedecisionslistsample] | Get access review instance decisions x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceDecisions.json | +| [accessReviewInstanceMyDecisionsGetByIdSample.ts][accessreviewinstancemydecisionsgetbyidsample] | Get my single access review instance decision. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceMyDecisionById.json | +| [accessReviewInstanceMyDecisionsListSample.ts][accessreviewinstancemydecisionslistsample] | Get my access review instance decisions. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceMyDecisions.json | +| [accessReviewInstanceMyDecisionsPatchSample.ts][accessreviewinstancemydecisionspatchsample] | Record a decision. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PatchAccessReviewInstanceMyDecisionById.json | +| [accessReviewInstanceResetDecisionsSample.ts][accessreviewinstanceresetdecisionssample] | An action to reset all decisions for an access review instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceResetDecisions.json | +| [accessReviewInstanceSendRemindersSample.ts][accessreviewinstancesendreminderssample] | An action to send reminders for an access review instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceSendReminders.json | +| [accessReviewInstanceStopSample.ts][accessreviewinstancestopsample] | An action to stop an access review instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/StopAccessReviewInstance.json | +| [accessReviewInstancesAssignedForMyApprovalGetByIdSample.ts][accessreviewinstancesassignedformyapprovalgetbyidsample] | Get single access review instance assigned for my approval. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceAssignedForMyApproval.json | +| [accessReviewInstancesAssignedForMyApprovalListSample.ts][accessreviewinstancesassignedformyapprovallistsample] | Get access review instances assigned for my approval. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstancesAssignedForMyApproval.json | +| [accessReviewInstancesCreateSample.ts][accessreviewinstancescreatesample] | Update access review instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewInstance.json | +| [accessReviewInstancesGetByIdSample.ts][accessreviewinstancesgetbyidsample] | Get access review instances x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstance.json | +| [accessReviewInstancesListSample.ts][accessreviewinstanceslistsample] | Get access review instances x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstances.json | +| [accessReviewScheduleDefinitionsAssignedForMyApprovalListSample.ts][accessreviewscheduledefinitionsassignedformyapprovallistsample] | Get access review instances assigned for my approval. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewScheduleDefinitionsAssignedForMyApproval.json | +| [accessReviewScheduleDefinitionsCreateOrUpdateByIdSample.ts][accessreviewscheduledefinitionscreateorupdatebyidsample] | Create or Update access review schedule definition. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewScheduleDefinition.json | +| [accessReviewScheduleDefinitionsDeleteByIdSample.ts][accessreviewscheduledefinitionsdeletebyidsample] | Delete access review schedule definition x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/DeleteAccessReviewScheduleDefinition.json | +| [accessReviewScheduleDefinitionsGetByIdSample.ts][accessreviewscheduledefinitionsgetbyidsample] | Get single access review definition x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewScheduleDefinition.json | +| [accessReviewScheduleDefinitionsListSample.ts][accessreviewscheduledefinitionslistsample] | Get access review schedule definitions x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewScheduleDefinitions.json | +| [accessReviewScheduleDefinitionsStopSample.ts][accessreviewscheduledefinitionsstopsample] | Stop access review definition x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/StopAccessReviewScheduleDefinition.json | +| [tenantLevelAccessReviewInstanceContactedReviewersListSample.ts][tenantlevelaccessreviewinstancecontactedreviewerslistsample] | Get access review instance contacted reviewers x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/TenantLevelGetAccessReviewInstanceContactedReviewers.json | + +## Prerequisites + +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). + +Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using: + +```bash +npm install -g typescript +``` + +You need [an Azure subscription][freesub] to run these sample programs. + +Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. + +Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. + +## Setup + +To run the samples using the published version of the package: + +1. Install the dependencies using `npm`: + +```bash +npm install +``` + +2. Compile the samples: + +```bash +npm run build +``` + +3. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. + +4. Run whichever samples you like (note that some samples may require additional setup, see the table above): + +```bash +node dist/accessReviewDefaultSettingsGetSample.js +``` + +Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): + +```bash +npx cross-env node dist/accessReviewDefaultSettingsGetSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[accessreviewdefaultsettingsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewDefaultSettingsGetSample.ts +[accessreviewdefaultsettingsputsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewDefaultSettingsPutSample.ts +[accessreviewhistorydefinitioncreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionCreateSample.ts +[accessreviewhistorydefinitiondeletebyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionDeleteByIdSample.ts +[accessreviewhistorydefinitioninstancegeneratedownloadurisample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionInstanceGenerateDownloadUriSample.ts +[accessreviewhistorydefinitioninstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionInstancesListSample.ts +[accessreviewhistorydefinitionsgetbyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionsGetByIdSample.ts +[accessreviewhistorydefinitionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionsListSample.ts +[accessreviewinstanceacceptrecommendationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceAcceptRecommendationsSample.ts +[accessreviewinstanceapplydecisionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceApplyDecisionsSample.ts +[accessreviewinstancecontactedreviewerslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceContactedReviewersListSample.ts +[accessreviewinstancedecisionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceDecisionsListSample.ts +[accessreviewinstancemydecisionsgetbyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceMyDecisionsGetByIdSample.ts +[accessreviewinstancemydecisionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceMyDecisionsListSample.ts +[accessreviewinstancemydecisionspatchsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceMyDecisionsPatchSample.ts +[accessreviewinstanceresetdecisionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceResetDecisionsSample.ts +[accessreviewinstancesendreminderssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceSendRemindersSample.ts +[accessreviewinstancestopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceStopSample.ts +[accessreviewinstancesassignedformyapprovalgetbyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesAssignedForMyApprovalGetByIdSample.ts +[accessreviewinstancesassignedformyapprovallistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesAssignedForMyApprovalListSample.ts +[accessreviewinstancescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesCreateSample.ts +[accessreviewinstancesgetbyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesGetByIdSample.ts +[accessreviewinstanceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesListSample.ts +[accessreviewscheduledefinitionsassignedformyapprovallistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsAssignedForMyApprovalListSample.ts +[accessreviewscheduledefinitionscreateorupdatebyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsCreateOrUpdateByIdSample.ts +[accessreviewscheduledefinitionsdeletebyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsDeleteByIdSample.ts +[accessreviewscheduledefinitionsgetbyidsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsGetByIdSample.ts +[accessreviewscheduledefinitionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsListSample.ts +[accessreviewscheduledefinitionsstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsStopSample.ts +[tenantlevelaccessreviewinstancecontactedreviewerslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/tenantLevelAccessReviewInstanceContactedReviewersListSample.ts +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-authorization?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/authorization/arm-authorization/README.md +[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/package.json b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/package.json new file mode 100644 index 000000000000..a38985eeb773 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/package.json @@ -0,0 +1,41 @@ +{ + "name": "@azure-samples/arm-authorization-ts-beta", + "private": true, + "version": "1.0.0", + "description": " client library samples for TypeScript (Beta)", + "engines": { + "node": ">=12.0.0" + }, + "scripts": { + "build": "tsc", + "prebuild": "rimraf dist/" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/Azure/azure-sdk-for-js.git", + "directory": "sdk/authorization/arm-authorization" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "author": "Microsoft Corporation", + "license": "MIT", + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" + }, + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/authorization/arm-authorization", + "dependencies": { + "@azure/arm-authorization": "next", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + }, + "devDependencies": { + "@types/node": "^12.0.0", + "typescript": "~4.4.0", + "rimraf": "latest" + } +} diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/sample.env b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewDefaultSettingsGetSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewDefaultSettingsGetSample.ts new file mode 100644 index 000000000000..a0b0a43a56de --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewDefaultSettingsGetSample.ts @@ -0,0 +1,28 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get access review default settings for the subscription + * + * @summary Get access review default settings for the subscription + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewDefaultSettings.json + */ +async function getAccessReviewDefaultSettings() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewDefaultSettingsOperations.get(); + console.log(result); +} + +getAccessReviewDefaultSettings().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewDefaultSettingsPutSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewDefaultSettingsPutSample.ts new file mode 100644 index 000000000000..50cedccdcf86 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewDefaultSettingsPutSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessReviewScheduleSettings, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get access review default settings for the subscription + * + * @summary Get access review default settings for the subscription + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewDefaultSettings.json + */ +async function putAccessReviewDefaultSettings() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const properties: AccessReviewScheduleSettings = {}; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewDefaultSettingsOperations.put( + properties + ); + console.log(result); +} + +putAccessReviewDefaultSettings().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionCreateSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionCreateSample.ts new file mode 100644 index 000000000000..e39c7cb0970e --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionCreateSample.ts @@ -0,0 +1,36 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessReviewHistoryDefinitionProperties, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create a scheduled or one-time Access Review History Definition + * + * @summary Create a scheduled or one-time Access Review History Definition + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewHistoryDefinition.json + */ +async function putAccessReviewHistoryDefinition() { + const subscriptionId = "129a304b-4aea-4b86-a9f7-ba7e2b23737a"; + const historyDefinitionId = "44724910-d7a5-4c29-b28f-db73e717165a"; + const properties: AccessReviewHistoryDefinitionProperties = {}; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewHistoryDefinitionOperations.create( + historyDefinitionId, + properties + ); + console.log(result); +} + +putAccessReviewHistoryDefinition().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionDeleteByIdSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionDeleteByIdSample.ts new file mode 100644 index 000000000000..69fa585d77b7 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionDeleteByIdSample.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete an access review history definition + * + * @summary Delete an access review history definition + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/DeleteAccessReviewHistoryDefinition.json + */ +async function deleteAccessReview() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const historyDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewHistoryDefinitionOperations.deleteById( + historyDefinitionId + ); + console.log(result); +} + +deleteAccessReview().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionInstanceGenerateDownloadUriSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionInstanceGenerateDownloadUriSample.ts new file mode 100644 index 000000000000..cc30aaaef9c2 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionInstanceGenerateDownloadUriSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Generates a uri which can be used to retrieve review history data. This URI has a TTL of 1 day and can be retrieved by fetching the accessReviewHistoryDefinition object. + * + * @summary Generates a uri which can be used to retrieve review history data. This URI has a TTL of 1 day and can be retrieved by fetching the accessReviewHistoryDefinition object. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PostAccessReviewHistoryDefinitionInstance.json + */ +async function postAccessReviewHistoryDefinitionInstance() { + const subscriptionId = "129a304b-4aea-4b86-a9f7-ba7e2b23737a"; + const historyDefinitionId = "44724910-d7a5-4c29-b28f-db73e717165a"; + const instanceId = "9038f4f3-3d8d-43c3-8ede-669ea082c43b"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewHistoryDefinitionInstance.generateDownloadUri( + historyDefinitionId, + instanceId + ); + console.log(result); +} + +postAccessReviewHistoryDefinitionInstance().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionInstancesListSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionInstancesListSample.ts new file mode 100644 index 000000000000..f58b44160d78 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionInstancesListSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get access review history definition instances by definition Id + * + * @summary Get access review history definition instances by definition Id + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewHistoryDefinitionInstances.json + */ +async function getAccessReviewHistoryDefinitionInstances() { + const subscriptionId = "129a304b-4aea-4b86-a9f7-ba7e2b23737a"; + const historyDefinitionId = "44724910-d7a5-4c29-b28f-db73e717165a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewHistoryDefinitionInstances.list( + historyDefinitionId + )) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewHistoryDefinitionInstances().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionsGetByIdSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionsGetByIdSample.ts new file mode 100644 index 000000000000..b3ac5f469101 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionsGetByIdSample.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get access review history definition by definition Id + * + * @summary Get access review history definition by definition Id + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewHistoryDefinition.json + */ +async function getAccessReviewHistoryDefinition() { + const subscriptionId = "129a304b-4aea-4b86-a9f7-ba7e2b23737a"; + const historyDefinitionId = "44724910-d7a5-4c29-b28f-db73e717165a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewHistoryDefinitions.getById( + historyDefinitionId + ); + console.log(result); +} + +getAccessReviewHistoryDefinition().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionsListSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionsListSample.ts new file mode 100644 index 000000000000..de8ee5a79dbe --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewHistoryDefinitionsListSample.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists the accessReviewHistoryDefinitions available from this provider, definition instances are only available for 30 days after creation. + * + * @summary Lists the accessReviewHistoryDefinitions available from this provider, definition instances are only available for 30 days after creation. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewHistoryDefinitions.json + */ +async function getAccessReviewHistoryDefinitions() { + const subscriptionId = "129a304b-4aea-4b86-a9f7-ba7e2b23737a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewHistoryDefinitions.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewHistoryDefinitions().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceAcceptRecommendationsSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceAcceptRecommendationsSample.ts new file mode 100644 index 000000000000..e881a9757421 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceAcceptRecommendationsSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to An action to accept recommendations for decision in an access review instance. + * + * @summary An action to accept recommendations for decision in an access review instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceAcceptRecommendations.json + */ +async function accessReviewInstanceAcceptRecommmendations() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "488a6d0e-0a63-4946-86e3-1f5bbc934661"; + const id = "d9b9e056-7004-470b-bf21-1635e98487da"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceOperations.acceptRecommendations( + scheduleDefinitionId, + id + ); + console.log(result); +} + +accessReviewInstanceAcceptRecommmendations().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceApplyDecisionsSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceApplyDecisionsSample.ts new file mode 100644 index 000000000000..8ee8addf9757 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceApplyDecisionsSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to An action to apply all decisions for an access review instance. + * + * @summary An action to apply all decisions for an access review instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceApplyDecisions.json + */ +async function accessReviewInstanceApplyDecisions() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const id = "d9b9e056-7004-470b-bf21-1635e98487da"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceOperations.applyDecisions( + scheduleDefinitionId, + id + ); + console.log(result); +} + +accessReviewInstanceApplyDecisions().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceContactedReviewersListSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceContactedReviewersListSample.ts new file mode 100644 index 000000000000..f5545dce25cb --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceContactedReviewersListSample.ts @@ -0,0 +1,36 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get access review instance contacted reviewers + * + * @summary Get access review instance contacted reviewers + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceContactedReviewers.json + */ +async function getAccessReviewInstanceContactedReviewers() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "265785a7-a81f-4201-8a18-bb0db95982b7"; + const id = "f25ed880-9c31-4101-bc57-825d8df3b58c"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewInstanceContactedReviewers.list( + scheduleDefinitionId, + id + )) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewInstanceContactedReviewers().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceDecisionsListSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceDecisionsListSample.ts new file mode 100644 index 000000000000..d308e1577a91 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceDecisionsListSample.ts @@ -0,0 +1,36 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get access review instance decisions + * + * @summary Get access review instance decisions + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceDecisions.json + */ +async function getAccessReviewInstanceDecisions() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "265785a7-a81f-4201-8a18-bb0db95982b7"; + const id = "f25ed880-9c31-4101-bc57-825d8df3b58c"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewInstanceDecisions.list( + scheduleDefinitionId, + id + )) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewInstanceDecisions().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceMyDecisionsGetByIdSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceMyDecisionsGetByIdSample.ts new file mode 100644 index 000000000000..098083ac906b --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceMyDecisionsGetByIdSample.ts @@ -0,0 +1,35 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get my single access review instance decision. + * + * @summary Get my single access review instance decision. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceMyDecisionById.json + */ +async function getAccessReviewMyInstanceDecision() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "488a6d0e-0a63-4946-86e3-1f5bbc934661"; + const id = "4135f961-be78-4005-8101-c72a5af307a2"; + const decisionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceMyDecisions.getById( + scheduleDefinitionId, + id, + decisionId + ); + console.log(result); +} + +getAccessReviewMyInstanceDecision().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceMyDecisionsListSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceMyDecisionsListSample.ts new file mode 100644 index 000000000000..b1e50fddef13 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceMyDecisionsListSample.ts @@ -0,0 +1,36 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get my access review instance decisions. + * + * @summary Get my access review instance decisions. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceMyDecisions.json + */ +async function getAccessReviewMyInstanceDecisions() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "488a6d0e-0a63-4946-86e3-1f5bbc934661"; + const id = "4135f961-be78-4005-8101-c72a5af307a2"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewInstanceMyDecisions.list( + scheduleDefinitionId, + id + )) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewMyInstanceDecisions().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceMyDecisionsPatchSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceMyDecisionsPatchSample.ts new file mode 100644 index 000000000000..de192912a02f --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceMyDecisionsPatchSample.ts @@ -0,0 +1,40 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessReviewDecisionProperties, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Record a decision. + * + * @summary Record a decision. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PatchAccessReviewInstanceMyDecisionById.json + */ +async function patchAccessReviewMyInstanceDecision() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "488a6d0e-0a63-4946-86e3-1f5bbc934661"; + const id = "4135f961-be78-4005-8101-c72a5af307a2"; + const decisionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const properties: AccessReviewDecisionProperties = {}; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceMyDecisions.patch( + scheduleDefinitionId, + id, + decisionId, + properties + ); + console.log(result); +} + +patchAccessReviewMyInstanceDecision().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceResetDecisionsSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceResetDecisionsSample.ts new file mode 100644 index 000000000000..4e3d76961b8d --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceResetDecisionsSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to An action to reset all decisions for an access review instance. + * + * @summary An action to reset all decisions for an access review instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceResetDecisions.json + */ +async function accessReviewInstanceResetDecisions() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const id = "d9b9e056-7004-470b-bf21-1635e98487da"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceOperations.resetDecisions( + scheduleDefinitionId, + id + ); + console.log(result); +} + +accessReviewInstanceResetDecisions().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceSendRemindersSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceSendRemindersSample.ts new file mode 100644 index 000000000000..11ddd932ee2d --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceSendRemindersSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to An action to send reminders for an access review instance. + * + * @summary An action to send reminders for an access review instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/AccessReviewInstanceSendReminders.json + */ +async function accessReviewInstanceSendReminders() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const id = "d9b9e056-7004-470b-bf21-1635e98487da"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceOperations.sendReminders( + scheduleDefinitionId, + id + ); + console.log(result); +} + +accessReviewInstanceSendReminders().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceStopSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceStopSample.ts new file mode 100644 index 000000000000..815e5afc5b27 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstanceStopSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to An action to stop an access review instance. + * + * @summary An action to stop an access review instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/StopAccessReviewInstance.json + */ +async function accessReviewInstanceStop() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const id = "d9b9e056-7004-470b-bf21-1635e98487da"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstanceOperations.stop( + scheduleDefinitionId, + id + ); + console.log(result); +} + +accessReviewInstanceStop().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesAssignedForMyApprovalGetByIdSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesAssignedForMyApprovalGetByIdSample.ts new file mode 100644 index 000000000000..471034e44cfd --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesAssignedForMyApprovalGetByIdSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get single access review instance assigned for my approval. + * + * @summary Get single access review instance assigned for my approval. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstanceAssignedForMyApproval.json + */ +async function getAccessReviewInstanceAssignedForMyApproval() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "488a6d0e-0a63-4946-86e3-1f5bbc934661"; + const id = "4135f961-be78-4005-8101-c72a5af307a2"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstancesAssignedForMyApproval.getById( + scheduleDefinitionId, + id + ); + console.log(result); +} + +getAccessReviewInstanceAssignedForMyApproval().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesAssignedForMyApprovalListSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesAssignedForMyApprovalListSample.ts new file mode 100644 index 000000000000..c4e9d9a65597 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesAssignedForMyApprovalListSample.ts @@ -0,0 +1,42 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessReviewInstancesAssignedForMyApprovalListOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get access review instances assigned for my approval. + * + * @summary Get access review instances assigned for my approval. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstancesAssignedForMyApproval.json + */ +async function getAccessReviewInstancesAssignedForMyApproval() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "488a6d0e-0a63-4946-86e3-1f5bbc934661"; + const filter = "assignedToMeToReview()"; + const options: AccessReviewInstancesAssignedForMyApprovalListOptionalParams = { + filter + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewInstancesAssignedForMyApproval.list( + scheduleDefinitionId, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewInstancesAssignedForMyApproval().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesCreateSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesCreateSample.ts new file mode 100644 index 000000000000..87d00acf9361 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesCreateSample.ts @@ -0,0 +1,38 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessReviewInstanceProperties, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Update access review instance. + * + * @summary Update access review instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewInstance.json + */ +async function putAccessReviewInstance() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const id = "4135f961-be78-4005-8101-c72a5af307a2"; + const properties: AccessReviewInstanceProperties = {}; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstances.create( + scheduleDefinitionId, + id, + properties + ); + console.log(result); +} + +putAccessReviewInstance().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesGetByIdSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesGetByIdSample.ts new file mode 100644 index 000000000000..6ccfa758845e --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesGetByIdSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get access review instances + * + * @summary Get access review instances + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstance.json + */ +async function getAccessReviewInstance() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const id = "4135f961-be78-4005-8101-c72a5af307a2"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewInstances.getById( + scheduleDefinitionId, + id + ); + console.log(result); +} + +getAccessReviewInstance().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesListSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesListSample.ts new file mode 100644 index 000000000000..5b8b8fb65158 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewInstancesListSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get access review instances + * + * @summary Get access review instances + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewInstances.json + */ +async function getAccessReviewInstances() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "265785a7-a81f-4201-8a18-bb0db95982b7"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewInstances.list( + scheduleDefinitionId + )) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewInstances().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsAssignedForMyApprovalListSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsAssignedForMyApprovalListSample.ts new file mode 100644 index 000000000000..30af9e3d7312 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsAssignedForMyApprovalListSample.ts @@ -0,0 +1,40 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessReviewScheduleDefinitionsAssignedForMyApprovalListOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get access review instances assigned for my approval. + * + * @summary Get access review instances assigned for my approval. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewScheduleDefinitionsAssignedForMyApproval.json + */ +async function getAccessReviewScheduleDefinitionsAssignedForMyApproval() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const filter = "assignedToMeToReview()"; + const options: AccessReviewScheduleDefinitionsAssignedForMyApprovalListOptionalParams = { + filter + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewScheduleDefinitionsAssignedForMyApproval.list( + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewScheduleDefinitionsAssignedForMyApproval().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsCreateOrUpdateByIdSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsCreateOrUpdateByIdSample.ts new file mode 100644 index 000000000000..d6be116ded62 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsCreateOrUpdateByIdSample.ts @@ -0,0 +1,36 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessReviewScheduleDefinitionProperties, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or Update access review schedule definition. + * + * @summary Create or Update access review schedule definition. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/PutAccessReviewScheduleDefinition.json + */ +async function putAccessReview() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const properties: AccessReviewScheduleDefinitionProperties = {}; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewScheduleDefinitions.createOrUpdateById( + scheduleDefinitionId, + properties + ); + console.log(result); +} + +putAccessReview().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsDeleteByIdSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsDeleteByIdSample.ts new file mode 100644 index 000000000000..3b8be5f31b06 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsDeleteByIdSample.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete access review schedule definition + * + * @summary Delete access review schedule definition + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/DeleteAccessReviewScheduleDefinition.json + */ +async function deleteAccessReview() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewScheduleDefinitions.deleteById( + scheduleDefinitionId + ); + console.log(result); +} + +deleteAccessReview().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsGetByIdSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsGetByIdSample.ts new file mode 100644 index 000000000000..d6fd1ca463af --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsGetByIdSample.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get single access review definition + * + * @summary Get single access review definition + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewScheduleDefinition.json + */ +async function getAccessReviewScheduleDefinition() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewScheduleDefinitions.getById( + scheduleDefinitionId + ); + console.log(result); +} + +getAccessReviewScheduleDefinition().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsListSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsListSample.ts new file mode 100644 index 000000000000..c65d11e35ed1 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsListSample.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get access review schedule definitions + * + * @summary Get access review schedule definitions + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/GetAccessReviewScheduleDefinitions.json + */ +async function getAccessReviewScheduleDefinitions() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessReviewScheduleDefinitions.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getAccessReviewScheduleDefinitions().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsStopSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsStopSample.ts new file mode 100644 index 000000000000..a0c6c4c55e32 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/accessReviewScheduleDefinitionsStopSample.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Stop access review definition + * + * @summary Stop access review definition + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/StopAccessReviewScheduleDefinition.json + */ +async function accessReviewScheduleDefinitionStop() { + const subscriptionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const scheduleDefinitionId = "fa73e90b-5bf1-45fd-a182-35ce5fc0674d"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const result = await client.accessReviewScheduleDefinitions.stop( + scheduleDefinitionId + ); + console.log(result); +} + +accessReviewScheduleDefinitionStop().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/tenantLevelAccessReviewInstanceContactedReviewersListSample.ts b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/tenantLevelAccessReviewInstanceContactedReviewersListSample.ts new file mode 100644 index 000000000000..208201a4fc3c --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/src/tenantLevelAccessReviewInstanceContactedReviewersListSample.ts @@ -0,0 +1,36 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get access review instance contacted reviewers + * + * @summary Get access review instance contacted reviewers + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/preview/2021-11-16-preview/examples/TenantLevelGetAccessReviewInstanceContactedReviewers.json + */ +async function tenantLevelGetAccessReviewInstanceContactedReviewers() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const scheduleDefinitionId = "265785a7-a81f-4201-8a18-bb0db95982b7"; + const id = "f25ed880-9c31-4101-bc57-825d8df3b58c"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.tenantLevelAccessReviewInstanceContactedReviewers.list( + scheduleDefinitionId, + id + )) { + resArray.push(item); + } + console.log(resArray); +} + +tenantLevelGetAccessReviewInstanceContactedReviewers().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9-beta/typescript/tsconfig.json b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/tsconfig.json new file mode 100644 index 000000000000..416c2dd82e00 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9-beta/typescript/tsconfig.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "target": "ES2018", + "module": "commonjs", + "moduleResolution": "node", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "strict": true, + "alwaysStrict": true, + "outDir": "dist", + "rootDir": "src" + }, + "include": [ + "src/**.ts" + ] +} diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/README.md b/sdk/authorization/arm-authorization/samples/v9/javascript/README.md new file mode 100644 index 000000000000..70843854307e --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/README.md @@ -0,0 +1,102 @@ +# client library samples for JavaScript + +These sample programs show how to use the JavaScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [eligibleChildResourcesGetSample.js][eligiblechildresourcesgetsample] | Get the child resources of a resource on which user has eligible access x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetEligibleChildResourcesByScope.json | +| [roleAssignmentScheduleInstancesGetSample.js][roleassignmentscheduleinstancesgetsample] | Gets the specified role assignment schedule instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstanceByName.json | +| [roleAssignmentScheduleInstancesListForScopeSample.js][roleassignmentscheduleinstanceslistforscopesample] | Gets role assignment schedule instances of a role assignment schedule. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstancesByScope.json | +| [roleAssignmentScheduleRequestsCancelSample.js][roleassignmentschedulerequestscancelsample] | Cancels a pending role assignment schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/CancelRoleAssignmentScheduleRequestByName.json | +| [roleAssignmentScheduleRequestsCreateSample.js][roleassignmentschedulerequestscreatesample] | Creates a role assignment schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleAssignmentScheduleRequest.json | +| [roleAssignmentScheduleRequestsGetSample.js][roleassignmentschedulerequestsgetsample] | Get the specified role assignment schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByName.json | +| [roleAssignmentScheduleRequestsListForScopeSample.js][roleassignmentschedulerequestslistforscopesample] | Gets role assignment schedule requests for a scope. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByScope.json | +| [roleAssignmentScheduleRequestsValidateSample.js][roleassignmentschedulerequestsvalidatesample] | Validates a new role assignment schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/ValidateRoleAssignmentScheduleRequestByName.json | +| [roleAssignmentSchedulesGetSample.js][roleassignmentschedulesgetsample] | Get the specified role assignment schedule for a resource scope x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleByName.json | +| [roleAssignmentSchedulesListForScopeSample.js][roleassignmentscheduleslistforscopesample] | Gets role assignment schedules for a resource scope. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentSchedulesByScope.json | +| [roleEligibilityScheduleInstancesGetSample.js][roleeligibilityscheduleinstancesgetsample] | Gets the specified role eligibility schedule instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstanceByName.json | +| [roleEligibilityScheduleInstancesListForScopeSample.js][roleeligibilityscheduleinstanceslistforscopesample] | Gets role eligibility schedule instances of a role eligibility schedule. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstancesByScope.json | +| [roleEligibilityScheduleRequestsCancelSample.js][roleeligibilityschedulerequestscancelsample] | Cancels a pending role eligibility schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/CancelRoleEligibilityScheduleRequestByName.json | +| [roleEligibilityScheduleRequestsCreateSample.js][roleeligibilityschedulerequestscreatesample] | Creates a role eligibility schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleEligibilityScheduleRequest.json | +| [roleEligibilityScheduleRequestsGetSample.js][roleeligibilityschedulerequestsgetsample] | Get the specified role eligibility schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByName.json | +| [roleEligibilityScheduleRequestsListForScopeSample.js][roleeligibilityschedulerequestslistforscopesample] | Gets role eligibility schedule requests for a scope. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByScope.json | +| [roleEligibilityScheduleRequestsValidateSample.js][roleeligibilityschedulerequestsvalidatesample] | Validates a new role eligibility schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/ValidateRoleEligibilityScheduleRequestByName.json | +| [roleEligibilitySchedulesGetSample.js][roleeligibilityschedulesgetsample] | Get the specified role eligibility schedule for a resource scope x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleByName.json | +| [roleEligibilitySchedulesListForScopeSample.js][roleeligibilityscheduleslistforscopesample] | Gets role eligibility schedules for a resource scope. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilitySchedulesByScope.json | +| [roleManagementPoliciesDeleteSample.js][rolemanagementpoliciesdeletesample] | Delete a role management policy x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/DeleteRoleManagementPolicy.json | +| [roleManagementPoliciesGetSample.js][rolemanagementpoliciesgetsample] | Get the specified role management policy for a resource scope x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByName.json | +| [roleManagementPoliciesListForScopeSample.js][rolemanagementpolicieslistforscopesample] | Gets role management policies for a resource scope. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByScope.json | +| [roleManagementPoliciesUpdateSample.js][rolemanagementpoliciesupdatesample] | Update a role management policy x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PatchPartialRoleManagementPolicy.json | +| [roleManagementPolicyAssignmentsCreateSample.js][rolemanagementpolicyassignmentscreatesample] | Create a role management policy assignment x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleManagementPolicyAssignment.json | +| [roleManagementPolicyAssignmentsDeleteSample.js][rolemanagementpolicyassignmentsdeletesample] | Delete a role management policy assignment x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/DeleteRoleManagementPolicyAssignment.json | +| [roleManagementPolicyAssignmentsGetSample.js][rolemanagementpolicyassignmentsgetsample] | Get the specified role management policy assignment for a resource scope x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByName.json | +| [roleManagementPolicyAssignmentsListForScopeSample.js][rolemanagementpolicyassignmentslistforscopesample] | Gets role management assignment policies for a resource scope. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByScope.json | + +## Prerequisites + +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). + +You need [an Azure subscription][freesub] to run these sample programs. + +Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. + +Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. + +## Setup + +To run the samples using the published version of the package: + +1. Install the dependencies using `npm`: + +```bash +npm install +``` + +2. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. + +3. Run whichever samples you like (note that some samples may require additional setup, see the table above): + +```bash +node eligibleChildResourcesGetSample.js +``` + +Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): + +```bash +npx cross-env node eligibleChildResourcesGetSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[eligiblechildresourcesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/eligibleChildResourcesGetSample.js +[roleassignmentscheduleinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleInstancesGetSample.js +[roleassignmentscheduleinstanceslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleInstancesListForScopeSample.js +[roleassignmentschedulerequestscancelsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsCancelSample.js +[roleassignmentschedulerequestscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsCreateSample.js +[roleassignmentschedulerequestsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsGetSample.js +[roleassignmentschedulerequestslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsListForScopeSample.js +[roleassignmentschedulerequestsvalidatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsValidateSample.js +[roleassignmentschedulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentSchedulesGetSample.js +[roleassignmentscheduleslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentSchedulesListForScopeSample.js +[roleeligibilityscheduleinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleInstancesGetSample.js +[roleeligibilityscheduleinstanceslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleInstancesListForScopeSample.js +[roleeligibilityschedulerequestscancelsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsCancelSample.js +[roleeligibilityschedulerequestscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsCreateSample.js +[roleeligibilityschedulerequestsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsGetSample.js +[roleeligibilityschedulerequestslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsListForScopeSample.js +[roleeligibilityschedulerequestsvalidatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsValidateSample.js +[roleeligibilityschedulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilitySchedulesGetSample.js +[roleeligibilityscheduleslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilitySchedulesListForScopeSample.js +[rolemanagementpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesDeleteSample.js +[rolemanagementpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesGetSample.js +[rolemanagementpolicieslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesListForScopeSample.js +[rolemanagementpoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesUpdateSample.js +[rolemanagementpolicyassignmentscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsCreateSample.js +[rolemanagementpolicyassignmentsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsDeleteSample.js +[rolemanagementpolicyassignmentsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsGetSample.js +[rolemanagementpolicyassignmentslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsListForScopeSample.js +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-authorization?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/authorization/arm-authorization/README.md diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/eligibleChildResourcesGetSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/eligibleChildResourcesGetSample.js new file mode 100644 index 000000000000..1b93fadedb1d --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/eligibleChildResourcesGetSample.js @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get the child resources of a resource on which user has eligible access + * + * @summary Get the child resources of a resource on which user has eligible access + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetEligibleChildResourcesByScope.json + */ +async function getEligibleChildResourcesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "resourceType eq 'resourcegroup'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.eligibleChildResources.list(scope, options)) { + resArray.push(item); + } + console.log(resArray); +} + +getEligibleChildResourcesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/package.json b/sdk/authorization/arm-authorization/samples/v9/javascript/package.json new file mode 100644 index 000000000000..454d3d56916f --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/package.json @@ -0,0 +1,32 @@ +{ + "name": "@azure-samples/arm-authorization-js", + "private": true, + "version": "1.0.0", + "description": " client library samples for JavaScript", + "engines": { + "node": ">=12.0.0" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/Azure/azure-sdk-for-js.git", + "directory": "sdk/authorization/arm-authorization" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "author": "Microsoft Corporation", + "license": "MIT", + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" + }, + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/authorization/arm-authorization", + "dependencies": { + "@azure/arm-authorization": "latest", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + } +} diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleInstancesGetSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleInstancesGetSample.js new file mode 100644 index 000000000000..2e25629c5ff4 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleInstancesGetSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the specified role assignment schedule instance. + * + * @summary Gets the specified role assignment schedule instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstanceByName.json + */ +async function getRoleAssignmentScheduleInstanceByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleInstanceName = "ed9b8180-cef7-4c77-a63c-b8566ecfc412"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleInstances.get( + scope, + roleAssignmentScheduleInstanceName + ); + console.log(result); +} + +getRoleAssignmentScheduleInstanceByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleInstancesListForScopeSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleInstancesListForScopeSample.js new file mode 100644 index 000000000000..170934b21a55 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleInstancesListForScopeSample.js @@ -0,0 +1,36 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets role assignment schedule instances of a role assignment schedule. + * + * @summary Gets role assignment schedule instances of a role assignment schedule. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstancesByScope.json + */ +async function getRoleAssignmentScheduleInstancesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('a3bb8764-cb92-4276-9d2a-ca1e895e55ea')"; + const options = { + filter, + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleAssignmentScheduleInstances.listForScope(scope, options)) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleAssignmentScheduleInstancesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsCancelSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsCancelSample.js new file mode 100644 index 000000000000..42cd5bc7c896 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsCancelSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Cancels a pending role assignment schedule request. + * + * @summary Cancels a pending role assignment schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/CancelRoleAssignmentScheduleRequestByName.json + */ +async function cancelRoleAssignmentScheduleRequestByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleRequestName = "fea7a502-9a96-4806-a26f-eee560e52045"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleRequests.cancel( + scope, + roleAssignmentScheduleRequestName + ); + console.log(result); +} + +cancelRoleAssignmentScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsCreateSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsCreateSample.js new file mode 100644 index 000000000000..ee1591ae73c5 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsCreateSample.js @@ -0,0 +1,52 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates a role assignment schedule request. + * + * @summary Creates a role assignment schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleAssignmentScheduleRequest.json + */ +async function putRoleAssignmentScheduleRequest() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleRequestName = "fea7a502-9a96-4806-a26f-eee560e52045"; + const parameters = { + condition: + "@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'", + conditionVersion: "1.0", + linkedRoleEligibilityScheduleId: "b1477448-2cc6-4ceb-93b4-54a202a89413", + principalId: "a3bb8764-cb92-4276-9d2a-ca1e895e55ea", + requestType: "SelfActivate", + roleDefinitionId: + "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608", + scheduleInfo: { + expiration: { + type: "AfterDuration", + duration: "PT8H", + endDateTime: undefined, + }, + startDateTime: new Date("2020-09-09T21:35:27.91Z"), + }, + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleRequests.create( + scope, + roleAssignmentScheduleRequestName, + parameters + ); + console.log(result); +} + +putRoleAssignmentScheduleRequest().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsGetSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsGetSample.js new file mode 100644 index 000000000000..5b53f8d0a5eb --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsGetSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get the specified role assignment schedule request. + * + * @summary Get the specified role assignment schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByName.json + */ +async function getRoleAssignmentScheduleRequestByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleRequestName = "fea7a502-9a96-4806-a26f-eee560e52045"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleRequests.get( + scope, + roleAssignmentScheduleRequestName + ); + console.log(result); +} + +getRoleAssignmentScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsListForScopeSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsListForScopeSample.js new file mode 100644 index 000000000000..6bcb711b74fd --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsListForScopeSample.js @@ -0,0 +1,36 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets role assignment schedule requests for a scope. + * + * @summary Gets role assignment schedule requests for a scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByScope.json + */ +async function getRoleAssignmentScheduleRequestByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('A3BB8764-CB92-4276-9D2A-CA1E895E55EA')"; + const options = { + filter, + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleAssignmentScheduleRequests.listForScope(scope, options)) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleAssignmentScheduleRequestByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsValidateSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsValidateSample.js new file mode 100644 index 000000000000..bfb67cc6fb29 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentScheduleRequestsValidateSample.js @@ -0,0 +1,51 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Validates a new role assignment schedule request. + * + * @summary Validates a new role assignment schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/ValidateRoleAssignmentScheduleRequestByName.json + */ +async function validateRoleAssignmentScheduleRequestByName() { + const scope = "subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleRequestName = "fea7a502-9a96-4806-a26f-eee560e52045"; + const parameters = { + condition: + "@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'", + conditionVersion: "1.0", + linkedRoleEligibilityScheduleId: "b1477448-2cc6-4ceb-93b4-54a202a89413", + principalId: "a3bb8764-cb92-4276-9d2a-ca1e895e55ea", + requestType: "SelfActivate", + roleDefinitionId: + "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608", + scheduleInfo: { + expiration: { + type: "AfterDuration", + duration: "PT8H", + endDateTime: undefined, + }, + startDateTime: new Date("2020-09-09T21:35:27.91Z"), + }, + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleRequests.validate( + scope, + roleAssignmentScheduleRequestName, + parameters + ); + console.log(result); +} + +validateRoleAssignmentScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentSchedulesGetSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentSchedulesGetSample.js new file mode 100644 index 000000000000..fddaca2411ef --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentSchedulesGetSample.js @@ -0,0 +1,30 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get the specified role assignment schedule for a resource scope + * + * @summary Get the specified role assignment schedule for a resource scope + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleByName.json + */ +async function getRoleAssignmentScheduleByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleName = "c9e264ff-3133-4776-a81a-ebc7c33c8ec6"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentSchedules.get(scope, roleAssignmentScheduleName); + console.log(result); +} + +getRoleAssignmentScheduleByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentSchedulesListForScopeSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentSchedulesListForScopeSample.js new file mode 100644 index 000000000000..03a4ddbbdc99 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleAssignmentSchedulesListForScopeSample.js @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets role assignment schedules for a resource scope. + * + * @summary Gets role assignment schedules for a resource scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentSchedulesByScope.json + */ +async function getRoleAssignmentSchedulesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('a3bb8764-cb92-4276-9d2a-ca1e895e55ea')"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleAssignmentSchedules.listForScope(scope, options)) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleAssignmentSchedulesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleInstancesGetSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleInstancesGetSample.js new file mode 100644 index 000000000000..fe5e2c825262 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleInstancesGetSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the specified role eligibility schedule instance. + * + * @summary Gets the specified role eligibility schedule instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstanceByName.json + */ +async function getRoleEligibilityScheduleInstanceByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleInstanceName = "21e4b59a-0499-4fe0-a3c3-43a3055b773a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleInstances.get( + scope, + roleEligibilityScheduleInstanceName + ); + console.log(result); +} + +getRoleEligibilityScheduleInstanceByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleInstancesListForScopeSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleInstancesListForScopeSample.js new file mode 100644 index 000000000000..5962fb444d3d --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleInstancesListForScopeSample.js @@ -0,0 +1,36 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets role eligibility schedule instances of a role eligibility schedule. + * + * @summary Gets role eligibility schedule instances of a role eligibility schedule. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstancesByScope.json + */ +async function getRoleEligibilityScheduleInstancesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('a3bb8764-cb92-4276-9d2a-ca1e895e55ea')"; + const options = { + filter, + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleEligibilityScheduleInstances.listForScope(scope, options)) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleEligibilityScheduleInstancesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsCancelSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsCancelSample.js new file mode 100644 index 000000000000..90b4b96f5617 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsCancelSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Cancels a pending role eligibility schedule request. + * + * @summary Cancels a pending role eligibility schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/CancelRoleEligibilityScheduleRequestByName.json + */ +async function cancelRoleEligibilityScheduleRequestByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleRequestName = "64caffb6-55c0-4deb-a585-68e948ea1ad6"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleRequests.cancel( + scope, + roleEligibilityScheduleRequestName + ); + console.log(result); +} + +cancelRoleEligibilityScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsCreateSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsCreateSample.js new file mode 100644 index 000000000000..2b3af34400e2 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsCreateSample.js @@ -0,0 +1,51 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates a role eligibility schedule request. + * + * @summary Creates a role eligibility schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleEligibilityScheduleRequest.json + */ +async function putRoleEligibilityScheduleRequest() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleRequestName = "64caffb6-55c0-4deb-a585-68e948ea1ad6"; + const parameters = { + condition: + "@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'", + conditionVersion: "1.0", + principalId: "a3bb8764-cb92-4276-9d2a-ca1e895e55ea", + requestType: "AdminAssign", + roleDefinitionId: + "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608", + scheduleInfo: { + expiration: { + type: "AfterDuration", + duration: "P365D", + endDateTime: undefined, + }, + startDateTime: new Date("2020-09-09T21:31:27.91Z"), + }, + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleRequests.create( + scope, + roleEligibilityScheduleRequestName, + parameters + ); + console.log(result); +} + +putRoleEligibilityScheduleRequest().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsGetSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsGetSample.js new file mode 100644 index 000000000000..a8cdde4ab7e5 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsGetSample.js @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get the specified role eligibility schedule request. + * + * @summary Get the specified role eligibility schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByName.json + */ +async function getRoleEligibilityScheduleRequestByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleRequestName = "64caffb6-55c0-4deb-a585-68e948ea1ad6"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleRequests.get( + scope, + roleEligibilityScheduleRequestName + ); + console.log(result); +} + +getRoleEligibilityScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsListForScopeSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsListForScopeSample.js new file mode 100644 index 000000000000..3dc3b88c29d2 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsListForScopeSample.js @@ -0,0 +1,36 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets role eligibility schedule requests for a scope. + * + * @summary Gets role eligibility schedule requests for a scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByScope.json + */ +async function getRoleEligibilityScheduleRequestByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('A3BB8764-CB92-4276-9D2A-CA1E895E55EA')"; + const options = { + filter, + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleEligibilityScheduleRequests.listForScope(scope, options)) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleEligibilityScheduleRequestByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsValidateSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsValidateSample.js new file mode 100644 index 000000000000..b18a0064feb0 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilityScheduleRequestsValidateSample.js @@ -0,0 +1,50 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Validates a new role eligibility schedule request. + * + * @summary Validates a new role eligibility schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/ValidateRoleEligibilityScheduleRequestByName.json + */ +async function validateRoleEligibilityScheduleRequestByName() { + const scope = "subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleRequestName = "64caffb6-55c0-4deb-a585-68e948ea1ad6"; + const parameters = { + condition: + "@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'", + conditionVersion: "1.0", + principalId: "a3bb8764-cb92-4276-9d2a-ca1e895e55ea", + requestType: "AdminAssign", + roleDefinitionId: + "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608", + scheduleInfo: { + expiration: { + type: "AfterDuration", + duration: "P365D", + endDateTime: undefined, + }, + startDateTime: new Date("2020-09-09T21:31:27.91Z"), + }, + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleRequests.validate( + scope, + roleEligibilityScheduleRequestName, + parameters + ); + console.log(result); +} + +validateRoleEligibilityScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilitySchedulesGetSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilitySchedulesGetSample.js new file mode 100644 index 000000000000..a3e335e8ded7 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilitySchedulesGetSample.js @@ -0,0 +1,30 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get the specified role eligibility schedule for a resource scope + * + * @summary Get the specified role eligibility schedule for a resource scope + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleByName.json + */ +async function getRoleEligibilityScheduleByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleName = "b1477448-2cc6-4ceb-93b4-54a202a89413"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilitySchedules.get(scope, roleEligibilityScheduleName); + console.log(result); +} + +getRoleEligibilityScheduleByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilitySchedulesListForScopeSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilitySchedulesListForScopeSample.js new file mode 100644 index 000000000000..7185a855e72a --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleEligibilitySchedulesListForScopeSample.js @@ -0,0 +1,36 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets role eligibility schedules for a resource scope. + * + * @summary Gets role eligibility schedules for a resource scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilitySchedulesByScope.json + */ +async function getRoleEligibilitySchedulesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('a3bb8764-cb92-4276-9d2a-ca1e895e55ea')"; + const options = { + filter, + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleEligibilitySchedules.listForScope(scope, options)) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleEligibilitySchedulesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesDeleteSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesDeleteSample.js new file mode 100644 index 000000000000..27e44329de58 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesDeleteSample.js @@ -0,0 +1,30 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Delete a role management policy + * + * @summary Delete a role management policy + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/DeleteRoleManagementPolicy.json + */ +async function deleteRoleManagementPolicy() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyName = "570c3619-7688-4b34-b290-2b8bb3ccab2a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicies.delete(scope, roleManagementPolicyName); + console.log(result); +} + +deleteRoleManagementPolicy().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesGetSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesGetSample.js new file mode 100644 index 000000000000..3e7c231cae86 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesGetSample.js @@ -0,0 +1,30 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get the specified role management policy for a resource scope + * + * @summary Get the specified role management policy for a resource scope + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByName.json + */ +async function getRoleManagementPolicyByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyName = "570c3619-7688-4b34-b290-2b8bb3ccab2a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicies.get(scope, roleManagementPolicyName); + console.log(result); +} + +getRoleManagementPolicyByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesListForScopeSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesListForScopeSample.js new file mode 100644 index 000000000000..20e9cb86afbe --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesListForScopeSample.js @@ -0,0 +1,32 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets role management policies for a resource scope. + * + * @summary Gets role management policies for a resource scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByScope.json + */ +async function getRoleManagementPolicyByRoleDefinitionFilter() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleManagementPolicies.listForScope(scope)) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleManagementPolicyByRoleDefinitionFilter().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesUpdateSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesUpdateSample.js new file mode 100644 index 000000000000..73f3c029e5ff --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPoliciesUpdateSample.js @@ -0,0 +1,384 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Update a role management policy + * + * @summary Update a role management policy + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PatchPartialRoleManagementPolicy.json + */ +async function patchPartialRoleManagementPolicy() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyName = "570c3619-7688-4b34-b290-2b8bb3ccab2a"; + const parameters = { + rules: [ + { + id: "Expiration_Admin_Eligibility", + isExpirationRequired: false, + maximumDuration: "P180D", + ruleType: "RoleManagementPolicyExpirationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"], + }, + }, + { + id: "Notification_Admin_Admin_Eligibility", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["admin_admin_eligible@test.com"], + notificationType: "Email", + recipientType: "Admin", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"], + }, + }, + ], + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicies.update( + scope, + roleManagementPolicyName, + parameters + ); + console.log(result); +} + +patchPartialRoleManagementPolicy().catch(console.error); + +/** + * This sample demonstrates how to Update a role management policy + * + * @summary Update a role management policy + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PatchRoleManagementPolicy.json + */ +async function patchRoleManagementPolicy() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyName = "570c3619-7688-4b34-b290-2b8bb3ccab2a"; + const parameters = { + rules: [ + { + id: "Expiration_Admin_Eligibility", + isExpirationRequired: false, + maximumDuration: "P180D", + ruleType: "RoleManagementPolicyExpirationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"], + }, + }, + { + id: "Notification_Admin_Admin_Eligibility", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["admin_admin_eligible@test.com"], + notificationType: "Email", + recipientType: "Admin", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"], + }, + }, + { + id: "Notification_Requestor_Admin_Eligibility", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["requestor_admin_eligible@test.com"], + notificationType: "Email", + recipientType: "Requestor", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"], + }, + }, + { + id: "Notification_Approver_Admin_Eligibility", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["approver_admin_eligible@test.com"], + notificationType: "Email", + recipientType: "Approver", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"], + }, + }, + { + enabledRules: [], + id: "Enablement_Admin_Eligibility", + ruleType: "RoleManagementPolicyEnablementRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"], + }, + }, + { + id: "Expiration_Admin_Assignment", + isExpirationRequired: false, + maximumDuration: "P90D", + ruleType: "RoleManagementPolicyExpirationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"], + }, + }, + { + enabledRules: ["Justification", "MultiFactorAuthentication"], + id: "Enablement_Admin_Assignment", + ruleType: "RoleManagementPolicyEnablementRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"], + }, + }, + { + id: "Notification_Admin_Admin_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["admin_admin_member@test.com"], + notificationType: "Email", + recipientType: "Admin", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"], + }, + }, + { + id: "Notification_Requestor_Admin_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["requestor_admin_member@test.com"], + notificationType: "Email", + recipientType: "Requestor", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"], + }, + }, + { + id: "Notification_Approver_Admin_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["approver_admin_member@test.com"], + notificationType: "Email", + recipientType: "Approver", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"], + }, + }, + { + id: "Expiration_EndUser_Assignment", + isExpirationRequired: true, + maximumDuration: "PT7H", + ruleType: "RoleManagementPolicyExpirationRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"], + }, + }, + { + enabledRules: ["Justification", "MultiFactorAuthentication", "Ticketing"], + id: "Enablement_EndUser_Assignment", + ruleType: "RoleManagementPolicyEnablementRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"], + }, + }, + { + id: "Approval_EndUser_Assignment", + ruleType: "RoleManagementPolicyApprovalRule", + setting: { + approvalMode: "SingleStage", + approvalStages: [ + { + approvalStageTimeOutInDays: 1, + escalationApprovers: [], + escalationTimeInMinutes: 0, + isApproverJustificationRequired: true, + isEscalationEnabled: false, + primaryApprovers: [ + { + description: "amansw_new_group", + id: "2385b0f3-5fa9-43cf-8ca4-b01dc97298cd", + isBackup: false, + userType: "Group", + }, + { + description: "amansw_group", + id: "2f4913c9-d15b-406a-9946-1d66a28f2690", + isBackup: false, + userType: "Group", + }, + ], + }, + ], + isApprovalRequired: true, + isApprovalRequiredForExtension: false, + isRequestorJustificationRequired: true, + }, + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"], + }, + }, + { + claimValue: "", + id: "AuthenticationContext_EndUser_Assignment", + isEnabled: false, + ruleType: "RoleManagementPolicyAuthenticationContextRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"], + }, + }, + { + id: "Notification_Admin_EndUser_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["admin_enduser_member@test.com"], + notificationType: "Email", + recipientType: "Admin", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"], + }, + }, + { + id: "Notification_Requestor_EndUser_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["requestor_enduser_member@test.com"], + notificationType: "Email", + recipientType: "Requestor", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"], + }, + }, + { + id: "Notification_Approver_EndUser_Assignment", + isDefaultRecipientsEnabled: true, + notificationLevel: "Critical", + notificationRecipients: [], + notificationType: "Email", + recipientType: "Approver", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"], + }, + }, + ], + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicies.update( + scope, + roleManagementPolicyName, + parameters + ); + console.log(result); +} + +patchRoleManagementPolicy().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsCreateSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsCreateSample.js new file mode 100644 index 000000000000..cf661b682eb5 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsCreateSample.js @@ -0,0 +1,42 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create a role management policy assignment + * + * @summary Create a role management policy assignment + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleManagementPolicyAssignment.json + */ +async function putRoleManagementPolicyAssignment() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyAssignmentName = + "b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24"; + const parameters = { + policyId: + "/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleManagementPolicies/b959d571-f0b5-4042-88a7-01be6cb22db9", + roleDefinitionId: + "/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleDefinitions/a1705bd2-3a8f-45a5-8683-466fcfd5cc24", + scope: "/subscriptions/129ff972-28f8-46b8-a726-e497be039368", + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicyAssignments.create( + scope, + roleManagementPolicyAssignmentName, + parameters + ); + console.log(result); +} + +putRoleManagementPolicyAssignment().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsDeleteSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsDeleteSample.js new file mode 100644 index 000000000000..3545cc8fa9a5 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsDeleteSample.js @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Delete a role management policy assignment + * + * @summary Delete a role management policy assignment + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/DeleteRoleManagementPolicyAssignment.json + */ +async function deleteRoleManagementPolicyAssignment() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyAssignmentName = + "b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicyAssignments.delete( + scope, + roleManagementPolicyAssignmentName + ); + console.log(result); +} + +deleteRoleManagementPolicyAssignment().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsGetSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsGetSample.js new file mode 100644 index 000000000000..8b9e764df054 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsGetSample.js @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get the specified role management policy assignment for a resource scope + * + * @summary Get the specified role management policy assignment for a resource scope + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByName.json + */ +async function getConfigurations() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyAssignmentName = + "b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicyAssignments.get( + scope, + roleManagementPolicyAssignmentName + ); + console.log(result); +} + +getConfigurations().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsListForScopeSample.js b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsListForScopeSample.js new file mode 100644 index 000000000000..4e706e529569 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/roleManagementPolicyAssignmentsListForScopeSample.js @@ -0,0 +1,32 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { AuthorizationManagementClient } = require("@azure/arm-authorization"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets role management assignment policies for a resource scope. + * + * @summary Gets role management assignment policies for a resource scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByScope.json + */ +async function getRoleManagementPolicyAssignmentByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleManagementPolicyAssignments.listForScope(scope)) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleManagementPolicyAssignmentByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/javascript/sample.env b/sdk/authorization/arm-authorization/samples/v9/javascript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/javascript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/README.md b/sdk/authorization/arm-authorization/samples/v9/typescript/README.md new file mode 100644 index 000000000000..2af45674778c --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/README.md @@ -0,0 +1,115 @@ +# client library samples for TypeScript + +These sample programs show how to use the TypeScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [eligibleChildResourcesGetSample.ts][eligiblechildresourcesgetsample] | Get the child resources of a resource on which user has eligible access x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetEligibleChildResourcesByScope.json | +| [roleAssignmentScheduleInstancesGetSample.ts][roleassignmentscheduleinstancesgetsample] | Gets the specified role assignment schedule instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstanceByName.json | +| [roleAssignmentScheduleInstancesListForScopeSample.ts][roleassignmentscheduleinstanceslistforscopesample] | Gets role assignment schedule instances of a role assignment schedule. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstancesByScope.json | +| [roleAssignmentScheduleRequestsCancelSample.ts][roleassignmentschedulerequestscancelsample] | Cancels a pending role assignment schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/CancelRoleAssignmentScheduleRequestByName.json | +| [roleAssignmentScheduleRequestsCreateSample.ts][roleassignmentschedulerequestscreatesample] | Creates a role assignment schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleAssignmentScheduleRequest.json | +| [roleAssignmentScheduleRequestsGetSample.ts][roleassignmentschedulerequestsgetsample] | Get the specified role assignment schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByName.json | +| [roleAssignmentScheduleRequestsListForScopeSample.ts][roleassignmentschedulerequestslistforscopesample] | Gets role assignment schedule requests for a scope. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByScope.json | +| [roleAssignmentScheduleRequestsValidateSample.ts][roleassignmentschedulerequestsvalidatesample] | Validates a new role assignment schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/ValidateRoleAssignmentScheduleRequestByName.json | +| [roleAssignmentSchedulesGetSample.ts][roleassignmentschedulesgetsample] | Get the specified role assignment schedule for a resource scope x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleByName.json | +| [roleAssignmentSchedulesListForScopeSample.ts][roleassignmentscheduleslistforscopesample] | Gets role assignment schedules for a resource scope. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentSchedulesByScope.json | +| [roleEligibilityScheduleInstancesGetSample.ts][roleeligibilityscheduleinstancesgetsample] | Gets the specified role eligibility schedule instance. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstanceByName.json | +| [roleEligibilityScheduleInstancesListForScopeSample.ts][roleeligibilityscheduleinstanceslistforscopesample] | Gets role eligibility schedule instances of a role eligibility schedule. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstancesByScope.json | +| [roleEligibilityScheduleRequestsCancelSample.ts][roleeligibilityschedulerequestscancelsample] | Cancels a pending role eligibility schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/CancelRoleEligibilityScheduleRequestByName.json | +| [roleEligibilityScheduleRequestsCreateSample.ts][roleeligibilityschedulerequestscreatesample] | Creates a role eligibility schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleEligibilityScheduleRequest.json | +| [roleEligibilityScheduleRequestsGetSample.ts][roleeligibilityschedulerequestsgetsample] | Get the specified role eligibility schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByName.json | +| [roleEligibilityScheduleRequestsListForScopeSample.ts][roleeligibilityschedulerequestslistforscopesample] | Gets role eligibility schedule requests for a scope. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByScope.json | +| [roleEligibilityScheduleRequestsValidateSample.ts][roleeligibilityschedulerequestsvalidatesample] | Validates a new role eligibility schedule request. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/ValidateRoleEligibilityScheduleRequestByName.json | +| [roleEligibilitySchedulesGetSample.ts][roleeligibilityschedulesgetsample] | Get the specified role eligibility schedule for a resource scope x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleByName.json | +| [roleEligibilitySchedulesListForScopeSample.ts][roleeligibilityscheduleslistforscopesample] | Gets role eligibility schedules for a resource scope. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilitySchedulesByScope.json | +| [roleManagementPoliciesDeleteSample.ts][rolemanagementpoliciesdeletesample] | Delete a role management policy x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/DeleteRoleManagementPolicy.json | +| [roleManagementPoliciesGetSample.ts][rolemanagementpoliciesgetsample] | Get the specified role management policy for a resource scope x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByName.json | +| [roleManagementPoliciesListForScopeSample.ts][rolemanagementpolicieslistforscopesample] | Gets role management policies for a resource scope. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByScope.json | +| [roleManagementPoliciesUpdateSample.ts][rolemanagementpoliciesupdatesample] | Update a role management policy x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PatchPartialRoleManagementPolicy.json | +| [roleManagementPolicyAssignmentsCreateSample.ts][rolemanagementpolicyassignmentscreatesample] | Create a role management policy assignment x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleManagementPolicyAssignment.json | +| [roleManagementPolicyAssignmentsDeleteSample.ts][rolemanagementpolicyassignmentsdeletesample] | Delete a role management policy assignment x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/DeleteRoleManagementPolicyAssignment.json | +| [roleManagementPolicyAssignmentsGetSample.ts][rolemanagementpolicyassignmentsgetsample] | Get the specified role management policy assignment for a resource scope x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByName.json | +| [roleManagementPolicyAssignmentsListForScopeSample.ts][rolemanagementpolicyassignmentslistforscopesample] | Gets role management assignment policies for a resource scope. x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByScope.json | + +## Prerequisites + +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). + +Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using: + +```bash +npm install -g typescript +``` + +You need [an Azure subscription][freesub] to run these sample programs. + +Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. + +Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. + +## Setup + +To run the samples using the published version of the package: + +1. Install the dependencies using `npm`: + +```bash +npm install +``` + +2. Compile the samples: + +```bash +npm run build +``` + +3. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. + +4. Run whichever samples you like (note that some samples may require additional setup, see the table above): + +```bash +node dist/eligibleChildResourcesGetSample.js +``` + +Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): + +```bash +npx cross-env node dist/eligibleChildResourcesGetSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[eligiblechildresourcesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/eligibleChildResourcesGetSample.ts +[roleassignmentscheduleinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleInstancesGetSample.ts +[roleassignmentscheduleinstanceslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleInstancesListForScopeSample.ts +[roleassignmentschedulerequestscancelsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsCancelSample.ts +[roleassignmentschedulerequestscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsCreateSample.ts +[roleassignmentschedulerequestsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsGetSample.ts +[roleassignmentschedulerequestslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsListForScopeSample.ts +[roleassignmentschedulerequestsvalidatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsValidateSample.ts +[roleassignmentschedulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentSchedulesGetSample.ts +[roleassignmentscheduleslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentSchedulesListForScopeSample.ts +[roleeligibilityscheduleinstancesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleInstancesGetSample.ts +[roleeligibilityscheduleinstanceslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleInstancesListForScopeSample.ts +[roleeligibilityschedulerequestscancelsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsCancelSample.ts +[roleeligibilityschedulerequestscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsCreateSample.ts +[roleeligibilityschedulerequestsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsGetSample.ts +[roleeligibilityschedulerequestslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsListForScopeSample.ts +[roleeligibilityschedulerequestsvalidatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsValidateSample.ts +[roleeligibilityschedulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilitySchedulesGetSample.ts +[roleeligibilityscheduleslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilitySchedulesListForScopeSample.ts +[rolemanagementpoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesDeleteSample.ts +[rolemanagementpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesGetSample.ts +[rolemanagementpolicieslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesListForScopeSample.ts +[rolemanagementpoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesUpdateSample.ts +[rolemanagementpolicyassignmentscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsCreateSample.ts +[rolemanagementpolicyassignmentsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsDeleteSample.ts +[rolemanagementpolicyassignmentsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsGetSample.ts +[rolemanagementpolicyassignmentslistforscopesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsListForScopeSample.ts +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-authorization?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/authorization/arm-authorization/README.md +[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/package.json b/sdk/authorization/arm-authorization/samples/v9/typescript/package.json new file mode 100644 index 000000000000..986f85487a5d --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/package.json @@ -0,0 +1,41 @@ +{ + "name": "@azure-samples/arm-authorization-ts", + "private": true, + "version": "1.0.0", + "description": " client library samples for TypeScript", + "engines": { + "node": ">=12.0.0" + }, + "scripts": { + "build": "tsc", + "prebuild": "rimraf dist/" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/Azure/azure-sdk-for-js.git", + "directory": "sdk/authorization/arm-authorization" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "author": "Microsoft Corporation", + "license": "MIT", + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" + }, + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/authorization/arm-authorization", + "dependencies": { + "@azure/arm-authorization": "latest", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + }, + "devDependencies": { + "@types/node": "^12.0.0", + "typescript": "~4.4.0", + "rimraf": "latest" + } +} diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/sample.env b/sdk/authorization/arm-authorization/samples/v9/typescript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/eligibleChildResourcesGetSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/eligibleChildResourcesGetSample.ts new file mode 100644 index 000000000000..9417fc31fcce --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/eligibleChildResourcesGetSample.ts @@ -0,0 +1,37 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + EligibleChildResourcesGetOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the child resources of a resource on which user has eligible access + * + * @summary Get the child resources of a resource on which user has eligible access + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetEligibleChildResourcesByScope.json + */ +async function getEligibleChildResourcesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "resourceType eq 'resourcegroup'"; + const options: EligibleChildResourcesGetOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.eligibleChildResources.list(scope, options)) { + resArray.push(item); + } + console.log(resArray); +} + +getEligibleChildResourcesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleInstancesGetSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleInstancesGetSample.ts new file mode 100644 index 000000000000..99dd6277951d --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleInstancesGetSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the specified role assignment schedule instance. + * + * @summary Gets the specified role assignment schedule instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstanceByName.json + */ +async function getRoleAssignmentScheduleInstanceByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleInstanceName = + "ed9b8180-cef7-4c77-a63c-b8566ecfc412"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleInstances.get( + scope, + roleAssignmentScheduleInstanceName + ); + console.log(result); +} + +getRoleAssignmentScheduleInstanceByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleInstancesListForScopeSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleInstancesListForScopeSample.ts new file mode 100644 index 000000000000..a50294bc1457 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleInstancesListForScopeSample.ts @@ -0,0 +1,42 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleAssignmentScheduleInstancesListForScopeOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role assignment schedule instances of a role assignment schedule. + * + * @summary Gets role assignment schedule instances of a role assignment schedule. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstancesByScope.json + */ +async function getRoleAssignmentScheduleInstancesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('a3bb8764-cb92-4276-9d2a-ca1e895e55ea')"; + const options: RoleAssignmentScheduleInstancesListForScopeOptionalParams = { + filter + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleAssignmentScheduleInstances.listForScope( + scope, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleAssignmentScheduleInstancesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsCancelSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsCancelSample.ts new file mode 100644 index 000000000000..c9b10438e7b5 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsCancelSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Cancels a pending role assignment schedule request. + * + * @summary Cancels a pending role assignment schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/CancelRoleAssignmentScheduleRequestByName.json + */ +async function cancelRoleAssignmentScheduleRequestByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleRequestName = + "fea7a502-9a96-4806-a26f-eee560e52045"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleRequests.cancel( + scope, + roleAssignmentScheduleRequestName + ); + console.log(result); +} + +cancelRoleAssignmentScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsCreateSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsCreateSample.ts new file mode 100644 index 000000000000..c350682177a4 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsCreateSample.ts @@ -0,0 +1,56 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleAssignmentScheduleRequest, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a role assignment schedule request. + * + * @summary Creates a role assignment schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleAssignmentScheduleRequest.json + */ +async function putRoleAssignmentScheduleRequest() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleRequestName = + "fea7a502-9a96-4806-a26f-eee560e52045"; + const parameters: RoleAssignmentScheduleRequest = { + condition: + "@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'", + conditionVersion: "1.0", + linkedRoleEligibilityScheduleId: "b1477448-2cc6-4ceb-93b4-54a202a89413", + principalId: "a3bb8764-cb92-4276-9d2a-ca1e895e55ea", + requestType: "SelfActivate", + roleDefinitionId: + "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608", + scheduleInfo: { + expiration: { + type: "AfterDuration", + duration: "PT8H", + endDateTime: undefined + }, + startDateTime: new Date("2020-09-09T21:35:27.91Z") + } + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleRequests.create( + scope, + roleAssignmentScheduleRequestName, + parameters + ); + console.log(result); +} + +putRoleAssignmentScheduleRequest().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsGetSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsGetSample.ts new file mode 100644 index 000000000000..550dbccfc622 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsGetSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the specified role assignment schedule request. + * + * @summary Get the specified role assignment schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByName.json + */ +async function getRoleAssignmentScheduleRequestByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleRequestName = + "fea7a502-9a96-4806-a26f-eee560e52045"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleRequests.get( + scope, + roleAssignmentScheduleRequestName + ); + console.log(result); +} + +getRoleAssignmentScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsListForScopeSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsListForScopeSample.ts new file mode 100644 index 000000000000..98ba5f87ce8a --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsListForScopeSample.ts @@ -0,0 +1,42 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleAssignmentScheduleRequestsListForScopeOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role assignment schedule requests for a scope. + * + * @summary Gets role assignment schedule requests for a scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByScope.json + */ +async function getRoleAssignmentScheduleRequestByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('A3BB8764-CB92-4276-9D2A-CA1E895E55EA')"; + const options: RoleAssignmentScheduleRequestsListForScopeOptionalParams = { + filter + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleAssignmentScheduleRequests.listForScope( + scope, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleAssignmentScheduleRequestByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsValidateSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsValidateSample.ts new file mode 100644 index 000000000000..4f9e836b372c --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentScheduleRequestsValidateSample.ts @@ -0,0 +1,55 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleAssignmentScheduleRequest, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Validates a new role assignment schedule request. + * + * @summary Validates a new role assignment schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/ValidateRoleAssignmentScheduleRequestByName.json + */ +async function validateRoleAssignmentScheduleRequestByName() { + const scope = "subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleRequestName = + "fea7a502-9a96-4806-a26f-eee560e52045"; + const parameters: RoleAssignmentScheduleRequest = { + condition: + "@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'", + conditionVersion: "1.0", + linkedRoleEligibilityScheduleId: "b1477448-2cc6-4ceb-93b4-54a202a89413", + principalId: "a3bb8764-cb92-4276-9d2a-ca1e895e55ea", + requestType: "SelfActivate", + roleDefinitionId: + "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608", + scheduleInfo: { + expiration: { + type: "AfterDuration", + duration: "PT8H", + endDateTime: undefined + }, + startDateTime: new Date("2020-09-09T21:35:27.91Z") + } + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentScheduleRequests.validate( + scope, + roleAssignmentScheduleRequestName, + parameters + ); + console.log(result); +} + +validateRoleAssignmentScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentSchedulesGetSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentSchedulesGetSample.ts new file mode 100644 index 000000000000..bf11f97c5138 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentSchedulesGetSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the specified role assignment schedule for a resource scope + * + * @summary Get the specified role assignment schedule for a resource scope + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleByName.json + */ +async function getRoleAssignmentScheduleByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleAssignmentScheduleName = "c9e264ff-3133-4776-a81a-ebc7c33c8ec6"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleAssignmentSchedules.get( + scope, + roleAssignmentScheduleName + ); + console.log(result); +} + +getRoleAssignmentScheduleByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentSchedulesListForScopeSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentSchedulesListForScopeSample.ts new file mode 100644 index 000000000000..8304680e7542 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleAssignmentSchedulesListForScopeSample.ts @@ -0,0 +1,40 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleAssignmentSchedulesListForScopeOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role assignment schedules for a resource scope. + * + * @summary Gets role assignment schedules for a resource scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentSchedulesByScope.json + */ +async function getRoleAssignmentSchedulesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('a3bb8764-cb92-4276-9d2a-ca1e895e55ea')"; + const options: RoleAssignmentSchedulesListForScopeOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleAssignmentSchedules.listForScope( + scope, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleAssignmentSchedulesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleInstancesGetSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleInstancesGetSample.ts new file mode 100644 index 000000000000..1f53f2dad995 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleInstancesGetSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the specified role eligibility schedule instance. + * + * @summary Gets the specified role eligibility schedule instance. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstanceByName.json + */ +async function getRoleEligibilityScheduleInstanceByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleInstanceName = + "21e4b59a-0499-4fe0-a3c3-43a3055b773a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleInstances.get( + scope, + roleEligibilityScheduleInstanceName + ); + console.log(result); +} + +getRoleEligibilityScheduleInstanceByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleInstancesListForScopeSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleInstancesListForScopeSample.ts new file mode 100644 index 000000000000..6db59a4e6d99 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleInstancesListForScopeSample.ts @@ -0,0 +1,42 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleEligibilityScheduleInstancesListForScopeOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role eligibility schedule instances of a role eligibility schedule. + * + * @summary Gets role eligibility schedule instances of a role eligibility schedule. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstancesByScope.json + */ +async function getRoleEligibilityScheduleInstancesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('a3bb8764-cb92-4276-9d2a-ca1e895e55ea')"; + const options: RoleEligibilityScheduleInstancesListForScopeOptionalParams = { + filter + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleEligibilityScheduleInstances.listForScope( + scope, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleEligibilityScheduleInstancesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsCancelSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsCancelSample.ts new file mode 100644 index 000000000000..9370eb83416c --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsCancelSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Cancels a pending role eligibility schedule request. + * + * @summary Cancels a pending role eligibility schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/CancelRoleEligibilityScheduleRequestByName.json + */ +async function cancelRoleEligibilityScheduleRequestByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleRequestName = + "64caffb6-55c0-4deb-a585-68e948ea1ad6"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleRequests.cancel( + scope, + roleEligibilityScheduleRequestName + ); + console.log(result); +} + +cancelRoleEligibilityScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsCreateSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsCreateSample.ts new file mode 100644 index 000000000000..a46fb4f128de --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsCreateSample.ts @@ -0,0 +1,55 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleEligibilityScheduleRequest, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a role eligibility schedule request. + * + * @summary Creates a role eligibility schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleEligibilityScheduleRequest.json + */ +async function putRoleEligibilityScheduleRequest() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleRequestName = + "64caffb6-55c0-4deb-a585-68e948ea1ad6"; + const parameters: RoleEligibilityScheduleRequest = { + condition: + "@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'", + conditionVersion: "1.0", + principalId: "a3bb8764-cb92-4276-9d2a-ca1e895e55ea", + requestType: "AdminAssign", + roleDefinitionId: + "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608", + scheduleInfo: { + expiration: { + type: "AfterDuration", + duration: "P365D", + endDateTime: undefined + }, + startDateTime: new Date("2020-09-09T21:31:27.91Z") + } + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleRequests.create( + scope, + roleEligibilityScheduleRequestName, + parameters + ); + console.log(result); +} + +putRoleEligibilityScheduleRequest().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsGetSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsGetSample.ts new file mode 100644 index 000000000000..e8c52e4f3116 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsGetSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the specified role eligibility schedule request. + * + * @summary Get the specified role eligibility schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByName.json + */ +async function getRoleEligibilityScheduleRequestByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleRequestName = + "64caffb6-55c0-4deb-a585-68e948ea1ad6"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleRequests.get( + scope, + roleEligibilityScheduleRequestName + ); + console.log(result); +} + +getRoleEligibilityScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsListForScopeSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsListForScopeSample.ts new file mode 100644 index 000000000000..e3057d1809cb --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsListForScopeSample.ts @@ -0,0 +1,42 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleEligibilityScheduleRequestsListForScopeOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role eligibility schedule requests for a scope. + * + * @summary Gets role eligibility schedule requests for a scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByScope.json + */ +async function getRoleEligibilityScheduleRequestByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('A3BB8764-CB92-4276-9D2A-CA1E895E55EA')"; + const options: RoleEligibilityScheduleRequestsListForScopeOptionalParams = { + filter + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleEligibilityScheduleRequests.listForScope( + scope, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleEligibilityScheduleRequestByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsValidateSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsValidateSample.ts new file mode 100644 index 000000000000..6eaed28729d8 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilityScheduleRequestsValidateSample.ts @@ -0,0 +1,54 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleEligibilityScheduleRequest, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Validates a new role eligibility schedule request. + * + * @summary Validates a new role eligibility schedule request. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/ValidateRoleEligibilityScheduleRequestByName.json + */ +async function validateRoleEligibilityScheduleRequestByName() { + const scope = "subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleRequestName = + "64caffb6-55c0-4deb-a585-68e948ea1ad6"; + const parameters: RoleEligibilityScheduleRequest = { + condition: + "@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'", + conditionVersion: "1.0", + principalId: "a3bb8764-cb92-4276-9d2a-ca1e895e55ea", + requestType: "AdminAssign", + roleDefinitionId: + "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608", + scheduleInfo: { + expiration: { + type: "AfterDuration", + duration: "P365D", + endDateTime: undefined + }, + startDateTime: new Date("2020-09-09T21:31:27.91Z") + } + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilityScheduleRequests.validate( + scope, + roleEligibilityScheduleRequestName, + parameters + ); + console.log(result); +} + +validateRoleEligibilityScheduleRequestByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilitySchedulesGetSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilitySchedulesGetSample.ts new file mode 100644 index 000000000000..a846731cc7ed --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilitySchedulesGetSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the specified role eligibility schedule for a resource scope + * + * @summary Get the specified role eligibility schedule for a resource scope + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleByName.json + */ +async function getRoleEligibilityScheduleByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const roleEligibilityScheduleName = "b1477448-2cc6-4ceb-93b4-54a202a89413"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleEligibilitySchedules.get( + scope, + roleEligibilityScheduleName + ); + console.log(result); +} + +getRoleEligibilityScheduleByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilitySchedulesListForScopeSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilitySchedulesListForScopeSample.ts new file mode 100644 index 000000000000..6959c6101893 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleEligibilitySchedulesListForScopeSample.ts @@ -0,0 +1,42 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleEligibilitySchedulesListForScopeOptionalParams, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role eligibility schedules for a resource scope. + * + * @summary Gets role eligibility schedules for a resource scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilitySchedulesByScope.json + */ +async function getRoleEligibilitySchedulesByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f"; + const filter = "assignedTo('a3bb8764-cb92-4276-9d2a-ca1e895e55ea')"; + const options: RoleEligibilitySchedulesListForScopeOptionalParams = { + filter + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleEligibilitySchedules.listForScope( + scope, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleEligibilitySchedulesByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesDeleteSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesDeleteSample.ts new file mode 100644 index 000000000000..00937797ae58 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete a role management policy + * + * @summary Delete a role management policy + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/DeleteRoleManagementPolicy.json + */ +async function deleteRoleManagementPolicy() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyName = "570c3619-7688-4b34-b290-2b8bb3ccab2a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicies.delete( + scope, + roleManagementPolicyName + ); + console.log(result); +} + +deleteRoleManagementPolicy().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesGetSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesGetSample.ts new file mode 100644 index 000000000000..61b7e7b3d9c8 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesGetSample.ts @@ -0,0 +1,33 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the specified role management policy for a resource scope + * + * @summary Get the specified role management policy for a resource scope + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByName.json + */ +async function getRoleManagementPolicyByName() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyName = "570c3619-7688-4b34-b290-2b8bb3ccab2a"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicies.get( + scope, + roleManagementPolicyName + ); + console.log(result); +} + +getRoleManagementPolicyByName().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesListForScopeSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesListForScopeSample.ts new file mode 100644 index 000000000000..713c8296ef9b --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesListForScopeSample.ts @@ -0,0 +1,32 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role management policies for a resource scope. + * + * @summary Gets role management policies for a resource scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByScope.json + */ +async function getRoleManagementPolicyByRoleDefinitionFilter() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleManagementPolicies.listForScope(scope)) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleManagementPolicyByRoleDefinitionFilter().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesUpdateSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesUpdateSample.ts new file mode 100644 index 000000000000..560bab193712 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPoliciesUpdateSample.ts @@ -0,0 +1,391 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleManagementPolicy, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Update a role management policy + * + * @summary Update a role management policy + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PatchPartialRoleManagementPolicy.json + */ +async function patchPartialRoleManagementPolicy() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyName = "570c3619-7688-4b34-b290-2b8bb3ccab2a"; + const parameters: RoleManagementPolicy = { + rules: [ + { + id: "Expiration_Admin_Eligibility", + isExpirationRequired: false, + maximumDuration: "P180D", + ruleType: "RoleManagementPolicyExpirationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Admin_Admin_Eligibility", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["admin_admin_eligible@test.com"], + notificationType: "Email", + recipientType: "Admin", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + } + ] + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicies.update( + scope, + roleManagementPolicyName, + parameters + ); + console.log(result); +} + +patchPartialRoleManagementPolicy().catch(console.error); + +/** + * This sample demonstrates how to Update a role management policy + * + * @summary Update a role management policy + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PatchRoleManagementPolicy.json + */ +async function patchRoleManagementPolicy() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyName = "570c3619-7688-4b34-b290-2b8bb3ccab2a"; + const parameters: RoleManagementPolicy = { + rules: [ + { + id: "Expiration_Admin_Eligibility", + isExpirationRequired: false, + maximumDuration: "P180D", + ruleType: "RoleManagementPolicyExpirationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Admin_Admin_Eligibility", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["admin_admin_eligible@test.com"], + notificationType: "Email", + recipientType: "Admin", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Requestor_Admin_Eligibility", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["requestor_admin_eligible@test.com"], + notificationType: "Email", + recipientType: "Requestor", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Approver_Admin_Eligibility", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["approver_admin_eligible@test.com"], + notificationType: "Email", + recipientType: "Approver", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + }, + { + enabledRules: [], + id: "Enablement_Admin_Eligibility", + ruleType: "RoleManagementPolicyEnablementRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Eligibility", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Expiration_Admin_Assignment", + isExpirationRequired: false, + maximumDuration: "P90D", + ruleType: "RoleManagementPolicyExpirationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + enabledRules: ["Justification", "MultiFactorAuthentication"], + id: "Enablement_Admin_Assignment", + ruleType: "RoleManagementPolicyEnablementRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Admin_Admin_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["admin_admin_member@test.com"], + notificationType: "Email", + recipientType: "Admin", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Requestor_Admin_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["requestor_admin_member@test.com"], + notificationType: "Email", + recipientType: "Requestor", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Approver_Admin_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["approver_admin_member@test.com"], + notificationType: "Email", + recipientType: "Approver", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "Admin", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Expiration_EndUser_Assignment", + isExpirationRequired: true, + maximumDuration: "PT7H", + ruleType: "RoleManagementPolicyExpirationRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + enabledRules: [ + "Justification", + "MultiFactorAuthentication", + "Ticketing" + ], + id: "Enablement_EndUser_Assignment", + ruleType: "RoleManagementPolicyEnablementRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Approval_EndUser_Assignment", + ruleType: "RoleManagementPolicyApprovalRule", + setting: { + approvalMode: "SingleStage", + approvalStages: [ + { + approvalStageTimeOutInDays: 1, + escalationApprovers: [], + escalationTimeInMinutes: 0, + isApproverJustificationRequired: true, + isEscalationEnabled: false, + primaryApprovers: [ + { + description: "amansw_new_group", + id: "2385b0f3-5fa9-43cf-8ca4-b01dc97298cd", + isBackup: false, + userType: "Group" + }, + { + description: "amansw_group", + id: "2f4913c9-d15b-406a-9946-1d66a28f2690", + isBackup: false, + userType: "Group" + } + ] + } + ], + isApprovalRequired: true, + isApprovalRequiredForExtension: false, + isRequestorJustificationRequired: true + }, + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + claimValue: "", + id: "AuthenticationContext_EndUser_Assignment", + isEnabled: false, + ruleType: "RoleManagementPolicyAuthenticationContextRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Admin_EndUser_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["admin_enduser_member@test.com"], + notificationType: "Email", + recipientType: "Admin", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Requestor_EndUser_Assignment", + isDefaultRecipientsEnabled: false, + notificationLevel: "Critical", + notificationRecipients: ["requestor_enduser_member@test.com"], + notificationType: "Email", + recipientType: "Requestor", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + }, + { + id: "Notification_Approver_EndUser_Assignment", + isDefaultRecipientsEnabled: true, + notificationLevel: "Critical", + notificationRecipients: [], + notificationType: "Email", + recipientType: "Approver", + ruleType: "RoleManagementPolicyNotificationRule", + target: { + caller: "EndUser", + enforcedSettings: [], + inheritableSettings: [], + level: "Assignment", + targetObjects: [], + operations: ["All"] + } + } + ] + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicies.update( + scope, + roleManagementPolicyName, + parameters + ); + console.log(result); +} + +patchRoleManagementPolicy().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsCreateSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsCreateSample.ts new file mode 100644 index 000000000000..0f46b3432fa9 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsCreateSample.ts @@ -0,0 +1,45 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RoleManagementPolicyAssignment, + AuthorizationManagementClient +} from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create a role management policy assignment + * + * @summary Create a role management policy assignment + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleManagementPolicyAssignment.json + */ +async function putRoleManagementPolicyAssignment() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyAssignmentName = + "b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24"; + const parameters: RoleManagementPolicyAssignment = { + policyId: + "/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleManagementPolicies/b959d571-f0b5-4042-88a7-01be6cb22db9", + roleDefinitionId: + "/subscriptions/129ff972-28f8-46b8-a726-e497be039368/providers/Microsoft.Authorization/roleDefinitions/a1705bd2-3a8f-45a5-8683-466fcfd5cc24", + scope: "/subscriptions/129ff972-28f8-46b8-a726-e497be039368" + }; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicyAssignments.create( + scope, + roleManagementPolicyAssignmentName, + parameters + ); + console.log(result); +} + +putRoleManagementPolicyAssignment().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsDeleteSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsDeleteSample.ts new file mode 100644 index 000000000000..a09ef112cce5 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsDeleteSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete a role management policy assignment + * + * @summary Delete a role management policy assignment + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/DeleteRoleManagementPolicyAssignment.json + */ +async function deleteRoleManagementPolicyAssignment() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyAssignmentName = + "b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicyAssignments.delete( + scope, + roleManagementPolicyAssignmentName + ); + console.log(result); +} + +deleteRoleManagementPolicyAssignment().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsGetSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsGetSample.ts new file mode 100644 index 000000000000..25d9bc663dd0 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsGetSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the specified role management policy assignment for a resource scope + * + * @summary Get the specified role management policy assignment for a resource scope + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByName.json + */ +async function getConfigurations() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const roleManagementPolicyAssignmentName = + "b959d571-f0b5-4042-88a7-01be6cb22db9_a1705bd2-3a8f-45a5-8683-466fcfd5cc24"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const result = await client.roleManagementPolicyAssignments.get( + scope, + roleManagementPolicyAssignmentName + ); + console.log(result); +} + +getConfigurations().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsListForScopeSample.ts b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsListForScopeSample.ts new file mode 100644 index 000000000000..15cea6984ac1 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/src/roleManagementPolicyAssignmentsListForScopeSample.ts @@ -0,0 +1,34 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AuthorizationManagementClient } from "@azure/arm-authorization"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets role management assignment policies for a resource scope. + * + * @summary Gets role management assignment policies for a resource scope. + * x-ms-original-file: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByScope.json + */ +async function getRoleManagementPolicyAssignmentByScope() { + const scope = + "providers/Microsoft.Subscription/subscriptions/129ff972-28f8-46b8-a726-e497be039368"; + const credential = new DefaultAzureCredential(); + const client = new AuthorizationManagementClient(credential); + const resArray = new Array(); + for await (let item of client.roleManagementPolicyAssignments.listForScope( + scope + )) { + resArray.push(item); + } + console.log(resArray); +} + +getRoleManagementPolicyAssignmentByScope().catch(console.error); diff --git a/sdk/authorization/arm-authorization/samples/v9/typescript/tsconfig.json b/sdk/authorization/arm-authorization/samples/v9/typescript/tsconfig.json new file mode 100644 index 000000000000..416c2dd82e00 --- /dev/null +++ b/sdk/authorization/arm-authorization/samples/v9/typescript/tsconfig.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "target": "ES2018", + "module": "commonjs", + "moduleResolution": "node", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "strict": true, + "alwaysStrict": true, + "outDir": "dist", + "rootDir": "src" + }, + "include": [ + "src/**.ts" + ] +} diff --git a/sdk/authorization/arm-authorization/src/authorizationManagementClient.ts b/sdk/authorization/arm-authorization/src/authorizationManagementClient.ts index 23ac722e0ca1..948e763731e0 100644 --- a/sdk/authorization/arm-authorization/src/authorizationManagementClient.ts +++ b/sdk/authorization/arm-authorization/src/authorizationManagementClient.ts @@ -6,8 +6,10 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +import * as coreClient from "@azure/core-client"; import * as coreAuth from "@azure/core-auth"; import { + EligibleChildResourcesImpl, RoleAssignmentSchedulesImpl, RoleAssignmentScheduleInstancesImpl, RoleAssignmentScheduleRequestsImpl, @@ -15,11 +17,10 @@ import { RoleEligibilityScheduleInstancesImpl, RoleEligibilityScheduleRequestsImpl, RoleManagementPoliciesImpl, - RoleManagementPolicyAssignmentsImpl, - EligibleChildResourcesImpl, - RoleAssignmentsImpl + RoleManagementPolicyAssignmentsImpl } from "./operations"; import { + EligibleChildResources, RoleAssignmentSchedules, RoleAssignmentScheduleInstances, RoleAssignmentScheduleRequests, @@ -27,26 +28,60 @@ import { RoleEligibilityScheduleInstances, RoleEligibilityScheduleRequests, RoleManagementPolicies, - RoleManagementPolicyAssignments, - EligibleChildResources, - RoleAssignments + RoleManagementPolicyAssignments } from "./operationsInterfaces"; -import { AuthorizationManagementClientContext } from "./authorizationManagementClientContext"; import { AuthorizationManagementClientOptionalParams } from "./models"; -export class AuthorizationManagementClient extends AuthorizationManagementClientContext { +export class AuthorizationManagementClient extends coreClient.ServiceClient { + $host: string; + apiVersion: string; + /** * Initializes a new instance of the AuthorizationManagementClient class. * @param credentials Subscription credentials which uniquely identify client subscription. - * @param subscriptionId The ID of the target subscription. * @param options The parameter options */ constructor( credentials: coreAuth.TokenCredential, - subscriptionId: string, options?: AuthorizationManagementClientOptionalParams ) { - super(credentials, subscriptionId, options); + if (credentials === undefined) { + throw new Error("'credentials' cannot be null"); + } + + // Initializing default values for options + if (!options) { + options = {}; + } + const defaults: AuthorizationManagementClientOptionalParams = { + requestContentType: "application/json; charset=utf-8", + credential: credentials + }; + + const packageDetails = `azsdk-js-arm-authorization/9.0.0`; + const userAgentPrefix = + options.userAgentOptions && options.userAgentOptions.userAgentPrefix + ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` + : `${packageDetails}`; + + if (!options.credentialScopes) { + options.credentialScopes = ["https://management.azure.com/.default"]; + } + const optionsWithDefaults = { + ...defaults, + ...options, + userAgentOptions: { + userAgentPrefix + }, + baseUri: + options.endpoint ?? options.baseUri ?? "https://management.azure.com" + }; + super(optionsWithDefaults); + + // Assigning values to Constant parameters + this.$host = options.$host || "https://management.azure.com"; + this.apiVersion = options.apiVersion || "2020-10-01"; + this.eligibleChildResources = new EligibleChildResourcesImpl(this); this.roleAssignmentSchedules = new RoleAssignmentSchedulesImpl(this); this.roleAssignmentScheduleInstances = new RoleAssignmentScheduleInstancesImpl( this @@ -65,10 +100,9 @@ export class AuthorizationManagementClient extends AuthorizationManagementClient this.roleManagementPolicyAssignments = new RoleManagementPolicyAssignmentsImpl( this ); - this.eligibleChildResources = new EligibleChildResourcesImpl(this); - this.roleAssignments = new RoleAssignmentsImpl(this); } + eligibleChildResources: EligibleChildResources; roleAssignmentSchedules: RoleAssignmentSchedules; roleAssignmentScheduleInstances: RoleAssignmentScheduleInstances; roleAssignmentScheduleRequests: RoleAssignmentScheduleRequests; @@ -77,6 +111,4 @@ export class AuthorizationManagementClient extends AuthorizationManagementClient roleEligibilityScheduleRequests: RoleEligibilityScheduleRequests; roleManagementPolicies: RoleManagementPolicies; roleManagementPolicyAssignments: RoleManagementPolicyAssignments; - eligibleChildResources: EligibleChildResources; - roleAssignments: RoleAssignments; } diff --git a/sdk/authorization/arm-authorization/src/authorizationManagementClientContext.ts b/sdk/authorization/arm-authorization/src/authorizationManagementClientContext.ts deleted file mode 100644 index 5cc28f392655..000000000000 --- a/sdk/authorization/arm-authorization/src/authorizationManagementClientContext.ts +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import * as coreClient from "@azure/core-client"; -import * as coreAuth from "@azure/core-auth"; -import { AuthorizationManagementClientOptionalParams } from "./models"; - -export class AuthorizationManagementClientContext extends coreClient.ServiceClient { - $host: string; - apiVersion: string; - subscriptionId: string; - - /** - * Initializes a new instance of the AuthorizationManagementClientContext class. - * @param credentials Subscription credentials which uniquely identify client subscription. - * @param subscriptionId The ID of the target subscription. - * @param options The parameter options - */ - constructor( - credentials: coreAuth.TokenCredential, - subscriptionId: string, - options?: AuthorizationManagementClientOptionalParams - ) { - if (credentials === undefined) { - throw new Error("'credentials' cannot be null"); - } - if (subscriptionId === undefined) { - throw new Error("'subscriptionId' cannot be null"); - } - - // Initializing default values for options - if (!options) { - options = {}; - } - const defaults: AuthorizationManagementClientOptionalParams = { - requestContentType: "application/json; charset=utf-8", - credential: credentials - }; - - const packageDetails = `azsdk-js-arm-authorization/9.0.0-beta.1`; - const userAgentPrefix = - options.userAgentOptions && options.userAgentOptions.userAgentPrefix - ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` - : `${packageDetails}`; - - if (!options.credentialScopes) { - options.credentialScopes = ["https://management.azure.com/.default"]; - } - const optionsWithDefaults = { - ...defaults, - ...options, - userAgentOptions: { - userAgentPrefix - }, - baseUri: options.endpoint || "https://management.azure.com" - }; - super(optionsWithDefaults); - // Parameter assignments - this.subscriptionId = subscriptionId; - - // Assigning values to Constant parameters - this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2020-10-01-preview"; - } -} diff --git a/sdk/authorization/arm-authorization/src/index.ts b/sdk/authorization/arm-authorization/src/index.ts index 4902352993d2..bfd87d5d1ad6 100644 --- a/sdk/authorization/arm-authorization/src/index.ts +++ b/sdk/authorization/arm-authorization/src/index.ts @@ -9,5 +9,4 @@ /// export * from "./models"; export { AuthorizationManagementClient } from "./authorizationManagementClient"; -export { AuthorizationManagementClientContext } from "./authorizationManagementClientContext"; export * from "./operationsInterfaces"; diff --git a/sdk/authorization/arm-authorization/src/models/index.ts b/sdk/authorization/arm-authorization/src/models/index.ts index 2e4c005cd3fc..45fc6f7ad94a 100644 --- a/sdk/authorization/arm-authorization/src/models/index.ts +++ b/sdk/authorization/arm-authorization/src/models/index.ts @@ -16,6 +16,47 @@ export type RoleManagementPolicyRuleUnion = | RoleManagementPolicyExpirationRule | RoleManagementPolicyNotificationRule; +/** Eligible child resources list operation result. */ +export interface EligibleChildResourcesListResult { + /** Eligible child resource list. */ + value?: EligibleChildResource[]; + /** The URL to use for getting the next set of results. */ + nextLink?: string; +} + +/** Eligible child resource */ +export interface EligibleChildResource { + /** + * The resource scope Id. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** + * The resource name. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * The resource type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; +} + +/** An error response from the service. */ +export interface CloudError { + /** An error response from the service. */ + error?: CloudErrorBody; +} + +/** An error response from the service. */ +export interface CloudErrorBody { + /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */ + code?: string; + /** A message describing the error, intended to be suitable for display in a user interface. */ + message?: string; +} + /** Role Assignment schedule */ export interface RoleAssignmentSchedule { /** @@ -108,20 +149,6 @@ export interface ExpandedPropertiesPrincipal { type?: string; } -/** An error response from the service. */ -export interface CloudError { - /** An error response from the service. */ - error?: CloudErrorBody; -} - -/** An error response from the service. */ -export interface CloudErrorBody { - /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */ - code?: string; - /** A message describing the error, intended to be suitable for display in a user interface. */ - message?: string; -} - /** Role assignment schedule list operation result. */ export interface RoleAssignmentScheduleListResult { /** Role assignment schedule list. */ @@ -599,7 +626,7 @@ export interface RoleManagementPolicyRuleTarget { caller?: string; /** The type of operation. */ operations?: string[]; - /** The assignment level to which it is applied. */ + /** The assignment level to which rule is applied. */ level?: string; /** The list of target objects. */ targetObjects?: string[]; @@ -609,6 +636,7 @@ export interface RoleManagementPolicyRuleTarget { enforcedSettings?: string[]; } +/** Expanded info of resource scope */ export interface PolicyProperties { /** * Details of the resource scope @@ -658,6 +686,11 @@ export interface RoleManagementPolicyAssignment { roleDefinitionId?: string; /** The policy id role management policy assignment. */ policyId?: string; + /** + * The readonly computed rule applied to the policy. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly effectiveRules?: RoleManagementPolicyRuleUnion[]; /** * Additional properties of scope, role definition and policy * NOTE: This property will not be serialized. It can only be populated by the server. @@ -665,6 +698,7 @@ export interface RoleManagementPolicyAssignment { readonly policyAssignmentProperties?: PolicyAssignmentProperties; } +/** Expanded info of resource scope, role definition and policy */ export interface PolicyAssignmentProperties { /** Details of the resource scope */ scope?: PolicyAssignmentPropertiesScope; @@ -715,217 +749,58 @@ export interface RoleManagementPolicyAssignmentListResult { nextLink?: string; } -/** Eligible child resources list operation result. */ -export interface EligibleChildResourcesListResult { - /** Eligible child resource list. */ - value?: EligibleChildResource[]; - /** The URL to use for getting the next set of results. */ - nextLink?: string; +/** Role definition permissions. */ +export interface Permission { + /** Allowed actions. */ + actions?: string[]; + /** Denied actions. */ + notActions?: string[]; + /** Allowed Data actions. */ + dataActions?: string[]; + /** Denied Data actions. */ + notDataActions?: string[]; } -/** Eligible child resource */ -export interface EligibleChildResource { - /** - * The resource scope Id. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** - * The resource name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * The resource type. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; -} - -/** Role assignment list operation result. */ -export interface RoleAssignmentListResult { - /** Role assignment list. */ - value?: RoleAssignment[]; - /** - * The URL to use for getting the next set of results. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; -} - -/** Role Assignments */ -export interface RoleAssignment { - /** - * The role assignment ID. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** - * The role assignment name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * The role assignment type. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; - /** - * The role assignment scope. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly scope?: string; - /** The role definition ID. */ - roleDefinitionId?: string; - /** The principal ID. */ - principalId?: string; - /** The principal type of the assigned principal ID. */ - principalType?: PrincipalType; - /** Description of role assignment */ - description?: string; - /** The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container' */ - condition?: string; - /** Version of the condition. Currently accepted value is '2.0' */ - conditionVersion?: string; - /** - * Time it was created - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly createdOn?: Date; - /** - * Time it was updated - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly updatedOn?: Date; - /** - * Id of the user who created the assignment - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly createdBy?: string; - /** - * Id of the user who updated the assignment - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly updatedBy?: string; - /** Id of the delegated managed identity resource */ - delegatedManagedIdentityResourceId?: string; -} - -/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ -export interface ErrorResponse { - /** The error object. */ - error?: ErrorDetail; -} - -/** The error detail. */ -export interface ErrorDetail { - /** - * The error code. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly code?: string; - /** - * The error message. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly message?: string; - /** - * The error target. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly target?: string; - /** - * The error details. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly details?: ErrorDetail[]; - /** - * The error additional info. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly additionalInfo?: ErrorAdditionalInfo[]; +/** The approval settings. */ +export interface ApprovalSettings { + /** Determines whether approval is required or not. */ + isApprovalRequired?: boolean; + /** Determines whether approval is required for assignment extension. */ + isApprovalRequiredForExtension?: boolean; + /** Determine whether requestor justification is required. */ + isRequestorJustificationRequired?: boolean; + /** The type of rule */ + approvalMode?: ApprovalMode; + /** The approval stages of the request. */ + approvalStages?: ApprovalStage[]; } -/** The resource management error additional info. */ -export interface ErrorAdditionalInfo { - /** - * The additional info type. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; - /** - * The additional info. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly info?: Record; +/** The approval stage. */ +export interface ApprovalStage { + /** The time in days when approval request would be timed out */ + approvalStageTimeOutInDays?: number; + /** Determines whether approver need to provide justification for his decision. */ + isApproverJustificationRequired?: boolean; + /** The time in minutes when the approval request would be escalated if the primary approver does not approve */ + escalationTimeInMinutes?: number; + /** The primary approver of the request. */ + primaryApprovers?: UserSet[]; + /** The value determine whether escalation feature is enabled. */ + isEscalationEnabled?: boolean; + /** The escalation approver of the request. */ + escalationApprovers?: UserSet[]; } -/** Role assignment create parameters. */ -export interface RoleAssignmentCreateParameters { - /** - * The role assignment scope. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly scope?: string; - /** The role definition ID. */ - roleDefinitionId: string; - /** The principal ID. */ - principalId: string; - /** The principal type of the assigned principal ID. */ - principalType?: PrincipalType; - /** Description of role assignment */ +/** The detail of a user. */ +export interface UserSet { + /** The type of user. */ + userType?: UserType; + /** The value indicating whether the user is a backup fallback approver */ + isBackup?: boolean; + /** The object id of the user. */ + id?: string; + /** The description of the user. */ description?: string; - /** The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container' */ - condition?: string; - /** Version of the condition. Currently accepted value is '2.0' */ - conditionVersion?: string; - /** - * Time it was created - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly createdOn?: Date; - /** - * Time it was updated - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly updatedOn?: Date; - /** - * Id of the user who created the assignment - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly createdBy?: string; - /** - * Id of the user who updated the assignment - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly updatedBy?: string; - /** Id of the delegated managed identity resource */ - delegatedManagedIdentityResourceId?: string; -} - -/** Validation response */ -export interface ValidationResponse { - /** - * Whether or not validation succeeded - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly isValid?: boolean; - /** Failed validation result details */ - errorInfo?: ValidationResponseErrorInfo; -} - -/** Failed validation result details */ -export interface ValidationResponseErrorInfo { - /** - * Error code indicating why validation failed - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly code?: string; - /** - * Message indicating why validation failed - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly message?: string; } /** Role assignment schedule filter */ @@ -996,55 +871,7 @@ export interface RoleEligibilityScheduleRequestFilter { status?: string; } -/** The approval settings. */ -export interface ApprovalSettings { - /** Determine whether approval is required or not. */ - isApprovalRequired?: boolean; - /** Determine whether approval is required for assignment extension. */ - isApprovalRequiredForExtension?: boolean; - /** Determine whether requestor justification required. */ - isRequestorJustificationRequired?: boolean; - /** The type of rule */ - approvalMode?: ApprovalMode; - /** The approval stages of the request. */ - approvalStages?: ApprovalStage[]; -} - -/** The approval stage. */ -export interface ApprovalStage { - /** The time in days when approval request would be timed out. */ - approvalStageTimeOutInDays?: number; - /** Determine whether approver need to provide justification for his decision. */ - isApproverJustificationRequired?: boolean; - /** The time in minutes when the approval request would be escalated if the primary approver does not approves. */ - escalationTimeInMinutes?: number; - /** The primary approver of the request. */ - primaryApprovers?: UserSet[]; - /** The value determine whether escalation feature is enabled. */ - isEscalationEnabled?: boolean; - /** The escalation approver of the request. */ - escalationApprovers?: UserSet[]; -} - -/** The detail of a user. */ -export interface UserSet { - /** The type of user. */ - userType?: UserType; - /** The value indicating whether the user is a backup fallback approver */ - isBackup?: boolean; - /** The object id of the user. */ - id?: string; - /** The description of the user. */ - description?: string; -} - -/** Role Assignments filter */ -export interface RoleAssignmentFilter { - /** Returns role assignment of the specific principal. */ - principalId?: string; -} - -/** The role management policy rule. */ +/** The role management policy approval rule. */ export type RoleManagementPolicyApprovalRule = RoleManagementPolicyRule & { /** Polymorphic discriminator, which specifies the different types this object can be */ ruleType: "RoleManagementPolicyApprovalRule"; @@ -1052,7 +879,7 @@ export type RoleManagementPolicyApprovalRule = RoleManagementPolicyRule & { setting?: ApprovalSettings; }; -/** The role management policy rule. */ +/** The role management policy authentication context rule. */ export type RoleManagementPolicyAuthenticationContextRule = RoleManagementPolicyRule & { /** Polymorphic discriminator, which specifies the different types this object can be */ ruleType: "RoleManagementPolicyAuthenticationContextRule"; @@ -1062,7 +889,7 @@ export type RoleManagementPolicyAuthenticationContextRule = RoleManagementPolicy claimValue?: string; }; -/** The role management policy rule. */ +/** The role management policy enablement rule. */ export type RoleManagementPolicyEnablementRule = RoleManagementPolicyRule & { /** Polymorphic discriminator, which specifies the different types this object can be */ ruleType: "RoleManagementPolicyEnablementRule"; @@ -1070,7 +897,7 @@ export type RoleManagementPolicyEnablementRule = RoleManagementPolicyRule & { enabledRules?: EnablementRules[]; }; -/** The role management policy rule. */ +/** The role management policy expiration rule. */ export type RoleManagementPolicyExpirationRule = RoleManagementPolicyRule & { /** Polymorphic discriminator, which specifies the different types this object can be */ ruleType: "RoleManagementPolicyExpirationRule"; @@ -1080,7 +907,7 @@ export type RoleManagementPolicyExpirationRule = RoleManagementPolicyRule & { maximumDuration?: string; }; -/** The role management policy rule. */ +/** The role management policy notification rule. */ export type RoleManagementPolicyNotificationRule = RoleManagementPolicyRule & { /** Polymorphic discriminator, which specifies the different types this object can be */ ruleType: "RoleManagementPolicyNotificationRule"; @@ -1090,9 +917,9 @@ export type RoleManagementPolicyNotificationRule = RoleManagementPolicyRule & { notificationLevel?: NotificationLevel; /** The recipient type. */ recipientType?: RecipientType; - /** The list notification recipients. */ + /** The list of notification recipients. */ notificationRecipients?: string[]; - /** Its value determine if the notification need to be sent to the recipient type specified in policy rule. */ + /** Determines if the notification will be sent to the recipient type specified in the policy rule. */ isDefaultRecipientsEnabled?: boolean; }; @@ -1101,13 +928,7 @@ export enum KnownPrincipalType { User = "User", Group = "Group", ServicePrincipal = "ServicePrincipal", - Unknown = "Unknown", - DirectoryRoleTemplate = "DirectoryRoleTemplate", ForeignGroup = "ForeignGroup", - Application = "Application", - MSI = "MSI", - DirectoryObjectOrGroup = "DirectoryObjectOrGroup", - Everyone = "Everyone", Device = "Device" } @@ -1119,13 +940,7 @@ export enum KnownPrincipalType { * **User** \ * **Group** \ * **ServicePrincipal** \ - * **Unknown** \ - * **DirectoryRoleTemplate** \ * **ForeignGroup** \ - * **Application** \ - * **MSI** \ - * **DirectoryObjectOrGroup** \ - * **Everyone** \ * **Device** */ export type PrincipalType = string; @@ -1394,6 +1209,26 @@ export enum KnownRecipientType { */ export type RecipientType = string; +/** Optional parameters. */ +export interface EligibleChildResourcesGetOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. Use $filter=resourceType+eq+'Subscription' to filter on only resource of type = 'Subscription'. Use $filter=resourceType+eq+'subscription'+or+resourceType+eq+'resourcegroup' to filter on resource of type = 'Subscription' or 'ResourceGroup' */ + filter?: string; +} + +/** Contains response data for the get operation. */ +export type EligibleChildResourcesGetResponse = EligibleChildResourcesListResult; + +/** Optional parameters. */ +export interface EligibleChildResourcesGetNextOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. Use $filter=resourceType+eq+'Subscription' to filter on only resource of type = 'Subscription'. Use $filter=resourceType+eq+'subscription'+or+resourceType+eq+'resourcegroup' to filter on resource of type = 'Subscription' or 'ResourceGroup' */ + filter?: string; +} + +/** Contains response data for the getNext operation. */ +export type EligibleChildResourcesGetNextResponse = EligibleChildResourcesListResult; + /** Optional parameters. */ export interface RoleAssignmentSchedulesGetOptionalParams extends coreClient.OperationOptions {} @@ -1476,6 +1311,13 @@ export type RoleAssignmentScheduleRequestsListForScopeResponse = RoleAssignmentS export interface RoleAssignmentScheduleRequestsCancelOptionalParams extends coreClient.OperationOptions {} +/** Optional parameters. */ +export interface RoleAssignmentScheduleRequestsValidateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the validate operation. */ +export type RoleAssignmentScheduleRequestsValidateResponse = RoleAssignmentScheduleRequest; + /** Optional parameters. */ export interface RoleAssignmentScheduleRequestsListForScopeNextOptionalParams extends coreClient.OperationOptions { @@ -1568,6 +1410,13 @@ export type RoleEligibilityScheduleRequestsListForScopeResponse = RoleEligibilit export interface RoleEligibilityScheduleRequestsCancelOptionalParams extends coreClient.OperationOptions {} +/** Optional parameters. */ +export interface RoleEligibilityScheduleRequestsValidateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the validate operation. */ +export type RoleEligibilityScheduleRequestsValidateResponse = RoleEligibilityScheduleRequest; + /** Optional parameters. */ export interface RoleEligibilityScheduleRequestsListForScopeNextOptionalParams extends coreClient.OperationOptions { @@ -1642,190 +1491,6 @@ export interface RoleManagementPolicyAssignmentsListForScopeNextOptionalParams /** Contains response data for the listForScopeNext operation. */ export type RoleManagementPolicyAssignmentsListForScopeNextResponse = RoleManagementPolicyAssignmentListResult; -/** Optional parameters. */ -export interface EligibleChildResourcesGetOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Use $filter=resourceType+eq+'Subscription' to filter on only resource of type = 'Subscription'. Use $filter=resourceType+eq+'subscription'+or+resourceType+eq+'resourcegroup' to filter on resource of type = 'Subscription' or 'ResourceGroup' */ - filter?: string; -} - -/** Contains response data for the get operation. */ -export type EligibleChildResourcesGetResponse = EligibleChildResourcesListResult; - -/** Optional parameters. */ -export interface EligibleChildResourcesGetNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Use $filter=resourceType+eq+'Subscription' to filter on only resource of type = 'Subscription'. Use $filter=resourceType+eq+'subscription'+or+resourceType+eq+'resourcegroup' to filter on resource of type = 'Subscription' or 'ResourceGroup' */ - filter?: string; -} - -/** Contains response data for the getNext operation. */ -export type EligibleChildResourcesGetNextResponse = EligibleChildResourcesListResult; - -/** Optional parameters. */ -export interface RoleAssignmentsListForSubscriptionOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */ - filter?: string; - /** Tenant ID for cross-tenant request */ - tenantId?: string; -} - -/** Contains response data for the listForSubscription operation. */ -export type RoleAssignmentsListForSubscriptionResponse = RoleAssignmentListResult; - -/** Optional parameters. */ -export interface RoleAssignmentsListForResourceGroupOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */ - filter?: string; - /** Tenant ID for cross-tenant request */ - tenantId?: string; -} - -/** Contains response data for the listForResourceGroup operation. */ -export type RoleAssignmentsListForResourceGroupResponse = RoleAssignmentListResult; - -/** Optional parameters. */ -export interface RoleAssignmentsListForResourceOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */ - filter?: string; - /** Tenant ID for cross-tenant request */ - tenantId?: string; -} - -/** Contains response data for the listForResource operation. */ -export type RoleAssignmentsListForResourceResponse = RoleAssignmentListResult; - -/** Optional parameters. */ -export interface RoleAssignmentsGetOptionalParams - extends coreClient.OperationOptions { - /** Tenant ID for cross-tenant request */ - tenantId?: string; -} - -/** Contains response data for the get operation. */ -export type RoleAssignmentsGetResponse = RoleAssignment; - -/** Optional parameters. */ -export interface RoleAssignmentsCreateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the create operation. */ -export type RoleAssignmentsCreateResponse = RoleAssignment; - -/** Optional parameters. */ -export interface RoleAssignmentsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Tenant ID for cross-tenant request */ - tenantId?: string; -} - -/** Contains response data for the delete operation. */ -export type RoleAssignmentsDeleteResponse = RoleAssignment; - -/** Optional parameters. */ -export interface RoleAssignmentsValidateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the validate operation. */ -export type RoleAssignmentsValidateResponse = ValidationResponse; - -/** Optional parameters. */ -export interface RoleAssignmentsListForScopeOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */ - filter?: string; - /** Tenant ID for cross-tenant request */ - tenantId?: string; -} - -/** Contains response data for the listForScope operation. */ -export type RoleAssignmentsListForScopeResponse = RoleAssignmentListResult; - -/** Optional parameters. */ -export interface RoleAssignmentsGetByIdOptionalParams - extends coreClient.OperationOptions { - /** Tenant ID for cross-tenant request */ - tenantId?: string; -} - -/** Contains response data for the getById operation. */ -export type RoleAssignmentsGetByIdResponse = RoleAssignment; - -/** Optional parameters. */ -export interface RoleAssignmentsCreateByIdOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createById operation. */ -export type RoleAssignmentsCreateByIdResponse = RoleAssignment; - -/** Optional parameters. */ -export interface RoleAssignmentsDeleteByIdOptionalParams - extends coreClient.OperationOptions { - /** Tenant ID for cross-tenant request */ - tenantId?: string; -} - -/** Contains response data for the deleteById operation. */ -export type RoleAssignmentsDeleteByIdResponse = RoleAssignment; - -/** Optional parameters. */ -export interface RoleAssignmentsValidateByIdOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the validateById operation. */ -export type RoleAssignmentsValidateByIdResponse = ValidationResponse; - -/** Optional parameters. */ -export interface RoleAssignmentsListForSubscriptionNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */ - filter?: string; - /** Tenant ID for cross-tenant request */ - tenantId?: string; -} - -/** Contains response data for the listForSubscriptionNext operation. */ -export type RoleAssignmentsListForSubscriptionNextResponse = RoleAssignmentListResult; - -/** Optional parameters. */ -export interface RoleAssignmentsListForResourceGroupNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */ - filter?: string; - /** Tenant ID for cross-tenant request */ - tenantId?: string; -} - -/** Contains response data for the listForResourceGroupNext operation. */ -export type RoleAssignmentsListForResourceGroupNextResponse = RoleAssignmentListResult; - -/** Optional parameters. */ -export interface RoleAssignmentsListForResourceNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */ - filter?: string; - /** Tenant ID for cross-tenant request */ - tenantId?: string; -} - -/** Contains response data for the listForResourceNext operation. */ -export type RoleAssignmentsListForResourceNextResponse = RoleAssignmentListResult; - -/** Optional parameters. */ -export interface RoleAssignmentsListForScopeNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */ - filter?: string; - /** Tenant ID for cross-tenant request */ - tenantId?: string; -} - -/** Contains response data for the listForScopeNext operation. */ -export type RoleAssignmentsListForScopeNextResponse = RoleAssignmentListResult; - /** Optional parameters. */ export interface AuthorizationManagementClientOptionalParams extends coreClient.ServiceClientOptions { diff --git a/sdk/authorization/arm-authorization/src/models/mappers.ts b/sdk/authorization/arm-authorization/src/models/mappers.ts index 9c89e14d75ea..fc89f71aa691 100644 --- a/sdk/authorization/arm-authorization/src/models/mappers.ts +++ b/sdk/authorization/arm-authorization/src/models/mappers.ts @@ -8,6 +8,100 @@ import * as coreClient from "@azure/core-client"; +export const EligibleChildResourcesListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EligibleChildResourcesListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EligibleChildResource" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const EligibleChildResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EligibleChildResource", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const CloudError: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CloudError", + modelProperties: { + error: { + serializedName: "error", + type: { + name: "Composite", + className: "CloudErrorBody" + } + } + } + } +}; + +export const CloudErrorBody: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CloudErrorBody", + modelProperties: { + code: { + serializedName: "code", + type: { + name: "String" + } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + } + } + } +}; + export const RoleAssignmentSchedule: coreClient.CompositeMapper = { type: { name: "Composite", @@ -252,43 +346,6 @@ export const ExpandedPropertiesPrincipal: coreClient.CompositeMapper = { } }; -export const CloudError: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CloudError", - modelProperties: { - error: { - serializedName: "error", - type: { - name: "Composite", - className: "CloudErrorBody" - } - } - } - } -}; - -export const CloudErrorBody: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CloudErrorBody", - modelProperties: { - code: { - serializedName: "code", - type: { - name: "String" - } - }, - message: { - serializedName: "message", - type: { - name: "String" - } - } - } - } -}; - export const RoleAssignmentScheduleListResult: coreClient.CompositeMapper = { type: { name: "Composite", @@ -1584,6 +1641,19 @@ export const RoleManagementPolicyAssignment: coreClient.CompositeMapper = { name: "String" } }, + effectiveRules: { + serializedName: "properties.effectiveRules", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RoleManagementPolicyRule" + } + } + } + }, policyAssignmentProperties: { serializedName: "properties.policyAssignmentProperties", type: { @@ -1734,262 +1804,153 @@ export const RoleManagementPolicyAssignmentListResult: coreClient.CompositeMappe } }; -export const EligibleChildResourcesListResult: coreClient.CompositeMapper = { +export const Permission: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EligibleChildResourcesListResult", + className: "Permission", modelProperties: { - value: { - serializedName: "value", + actions: { + serializedName: "actions", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "EligibleChildResource" + name: "String" } } } }, - nextLink: { - serializedName: "nextLink", + notActions: { + serializedName: "notActions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + dataActions: { + serializedName: "dataActions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + notDataActions: { + serializedName: "notDataActions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const EligibleChildResource: coreClient.CompositeMapper = { +export const ApprovalSettings: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EligibleChildResource", + className: "ApprovalSettings", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + isApprovalRequired: { + serializedName: "isApprovalRequired", type: { - name: "String" + name: "Boolean" } }, - name: { - serializedName: "name", - readOnly: true, + isApprovalRequiredForExtension: { + serializedName: "isApprovalRequiredForExtension", type: { - name: "String" + name: "Boolean" } }, - type: { - serializedName: "type", - readOnly: true, + isRequestorJustificationRequired: { + serializedName: "isRequestorJustificationRequired", + type: { + name: "Boolean" + } + }, + approvalMode: { + serializedName: "approvalMode", type: { name: "String" } - } - } - } -}; - -export const RoleAssignmentListResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RoleAssignmentListResult", - modelProperties: { - value: { - serializedName: "value", + }, + approvalStages: { + serializedName: "approvalStages", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RoleAssignment" + className: "ApprovalStage" } } } - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String" - } } } } }; -export const RoleAssignment: coreClient.CompositeMapper = { +export const ApprovalStage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RoleAssignment", + className: "ApprovalStage", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + approvalStageTimeOutInDays: { + serializedName: "approvalStageTimeOutInDays", type: { - name: "String" + name: "Number" } }, - name: { - serializedName: "name", - readOnly: true, + isApproverJustificationRequired: { + serializedName: "isApproverJustificationRequired", type: { - name: "String" + name: "Boolean" } }, - type: { - serializedName: "type", - readOnly: true, + escalationTimeInMinutes: { + serializedName: "escalationTimeInMinutes", type: { - name: "String" + name: "Number" } }, - scope: { - serializedName: "properties.scope", - readOnly: true, - type: { - name: "String" - } - }, - roleDefinitionId: { - serializedName: "properties.roleDefinitionId", - type: { - name: "String" - } - }, - principalId: { - serializedName: "properties.principalId", - type: { - name: "String" - } - }, - principalType: { - serializedName: "properties.principalType", - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - condition: { - serializedName: "properties.condition", - type: { - name: "String" - } - }, - conditionVersion: { - serializedName: "properties.conditionVersion", - type: { - name: "String" - } - }, - createdOn: { - serializedName: "properties.createdOn", - readOnly: true, - type: { - name: "DateTime" - } - }, - updatedOn: { - serializedName: "properties.updatedOn", - readOnly: true, - type: { - name: "DateTime" - } - }, - createdBy: { - serializedName: "properties.createdBy", - readOnly: true, - type: { - name: "String" - } - }, - updatedBy: { - serializedName: "properties.updatedBy", - readOnly: true, - type: { - name: "String" - } - }, - delegatedManagedIdentityResourceId: { - serializedName: "properties.delegatedManagedIdentityResourceId", - type: { - name: "String" - } - } - } - } -}; - -export const ErrorResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ErrorResponse", - modelProperties: { - error: { - serializedName: "error", - type: { - name: "Composite", - className: "ErrorDetail" - } - } - } - } -}; - -export const ErrorDetail: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ErrorDetail", - modelProperties: { - code: { - serializedName: "code", - readOnly: true, - type: { - name: "String" - } - }, - message: { - serializedName: "message", - readOnly: true, - type: { - name: "String" - } - }, - target: { - serializedName: "target", - readOnly: true, - type: { - name: "String" - } - }, - details: { - serializedName: "details", - readOnly: true, + primaryApprovers: { + serializedName: "primaryApprovers", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ErrorDetail" + className: "UserSet" } } } }, - additionalInfo: { - serializedName: "additionalInfo", - readOnly: true, + isEscalationEnabled: { + serializedName: "isEscalationEnabled", + type: { + name: "Boolean" + } + }, + escalationApprovers: { + serializedName: "escalationApprovers", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ErrorAdditionalInfo" + className: "UserSet" } } } @@ -1998,156 +1959,31 @@ export const ErrorDetail: coreClient.CompositeMapper = { } }; -export const ErrorAdditionalInfo: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ErrorAdditionalInfo", - modelProperties: { - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - info: { - serializedName: "info", - readOnly: true, - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } - } - } -}; - -export const RoleAssignmentCreateParameters: coreClient.CompositeMapper = { +export const UserSet: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RoleAssignmentCreateParameters", + className: "UserSet", modelProperties: { - scope: { - serializedName: "properties.scope", - readOnly: true, - type: { - name: "String" - } - }, - roleDefinitionId: { - serializedName: "properties.roleDefinitionId", - required: true, - type: { - name: "String" - } - }, - principalId: { - serializedName: "properties.principalId", - required: true, - type: { - name: "String" - } - }, - principalType: { - serializedName: "properties.principalType", - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - condition: { - serializedName: "properties.condition", - type: { - name: "String" - } - }, - conditionVersion: { - serializedName: "properties.conditionVersion", - type: { - name: "String" - } - }, - createdOn: { - serializedName: "properties.createdOn", - readOnly: true, - type: { - name: "DateTime" - } - }, - updatedOn: { - serializedName: "properties.updatedOn", - readOnly: true, - type: { - name: "DateTime" - } - }, - createdBy: { - serializedName: "properties.createdBy", - readOnly: true, - type: { - name: "String" - } - }, - updatedBy: { - serializedName: "properties.updatedBy", - readOnly: true, + userType: { + serializedName: "userType", type: { name: "String" } }, - delegatedManagedIdentityResourceId: { - serializedName: "properties.delegatedManagedIdentityResourceId", - type: { - name: "String" - } - } - } - } -}; - -export const ValidationResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ValidationResponse", - modelProperties: { - isValid: { - serializedName: "isValid", - readOnly: true, + isBackup: { + serializedName: "isBackup", type: { name: "Boolean" } }, - errorInfo: { - serializedName: "errorInfo", - type: { - name: "Composite", - className: "ValidationResponseErrorInfo" - } - } - } - } -}; - -export const ValidationResponseErrorInfo: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ValidationResponseErrorInfo", - modelProperties: { - code: { - serializedName: "code", - readOnly: true, + id: { + serializedName: "id", type: { name: "String" } }, - message: { - serializedName: "message", - readOnly: true, + description: { + serializedName: "description", type: { name: "String" } @@ -2342,156 +2178,6 @@ export const RoleEligibilityScheduleRequestFilter: coreClient.CompositeMapper = } }; -export const ApprovalSettings: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ApprovalSettings", - modelProperties: { - isApprovalRequired: { - serializedName: "isApprovalRequired", - type: { - name: "Boolean" - } - }, - isApprovalRequiredForExtension: { - serializedName: "isApprovalRequiredForExtension", - type: { - name: "Boolean" - } - }, - isRequestorJustificationRequired: { - serializedName: "isRequestorJustificationRequired", - type: { - name: "Boolean" - } - }, - approvalMode: { - serializedName: "approvalMode", - type: { - name: "String" - } - }, - approvalStages: { - serializedName: "approvalStages", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ApprovalStage" - } - } - } - } - } - } -}; - -export const ApprovalStage: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ApprovalStage", - modelProperties: { - approvalStageTimeOutInDays: { - serializedName: "approvalStageTimeOutInDays", - type: { - name: "Number" - } - }, - isApproverJustificationRequired: { - serializedName: "isApproverJustificationRequired", - type: { - name: "Boolean" - } - }, - escalationTimeInMinutes: { - serializedName: "escalationTimeInMinutes", - type: { - name: "Number" - } - }, - primaryApprovers: { - serializedName: "primaryApprovers", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UserSet" - } - } - } - }, - isEscalationEnabled: { - serializedName: "isEscalationEnabled", - type: { - name: "Boolean" - } - }, - escalationApprovers: { - serializedName: "escalationApprovers", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "UserSet" - } - } - } - } - } - } -}; - -export const UserSet: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UserSet", - modelProperties: { - userType: { - serializedName: "userType", - type: { - name: "String" - } - }, - isBackup: { - serializedName: "isBackup", - type: { - name: "Boolean" - } - }, - id: { - serializedName: "id", - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - -export const RoleAssignmentFilter: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RoleAssignmentFilter", - modelProperties: { - principalId: { - serializedName: "principalId", - type: { - name: "String" - } - } - } - } -}; - export const RoleManagementPolicyApprovalRule: coreClient.CompositeMapper = { serializedName: "RoleManagementPolicyApprovalRule", type: { diff --git a/sdk/authorization/arm-authorization/src/models/parameters.ts b/sdk/authorization/arm-authorization/src/models/parameters.ts index e11ce4a859be..fee85694d879 100644 --- a/sdk/authorization/arm-authorization/src/models/parameters.ts +++ b/sdk/authorization/arm-authorization/src/models/parameters.ts @@ -15,8 +15,7 @@ import { RoleAssignmentScheduleRequest as RoleAssignmentScheduleRequestMapper, RoleEligibilityScheduleRequest as RoleEligibilityScheduleRequestMapper, RoleManagementPolicy as RoleManagementPolicyMapper, - RoleManagementPolicyAssignment as RoleManagementPolicyAssignmentMapper, - RoleAssignmentCreateParameters as RoleAssignmentCreateParametersMapper + RoleManagementPolicyAssignment as RoleManagementPolicyAssignmentMapper } from "../models/mappers"; export const accept: OperationParameter = { @@ -55,11 +54,10 @@ export const scope: OperationURLParameter = { skipEncoding: true }; -export const roleAssignmentScheduleName: OperationURLParameter = { - parameterPath: "roleAssignmentScheduleName", +export const filter: OperationQueryParameter = { + parameterPath: ["options", "filter"], mapper: { - serializedName: "roleAssignmentScheduleName", - required: true, + serializedName: "$filter", type: { name: "String" } @@ -69,7 +67,7 @@ export const roleAssignmentScheduleName: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2020-10-01-preview", + defaultValue: "2020-10-01", isConstant: true, serializedName: "api-version", type: { @@ -78,26 +76,27 @@ export const apiVersion: OperationQueryParameter = { } }; -export const filter: OperationQueryParameter = { - parameterPath: ["options", "filter"], +export const nextLink: OperationURLParameter = { + parameterPath: "nextLink", mapper: { - serializedName: "$filter", + serializedName: "nextLink", + required: true, type: { name: "String" } - } + }, + skipEncoding: true }; -export const nextLink: OperationURLParameter = { - parameterPath: "nextLink", +export const roleAssignmentScheduleName: OperationURLParameter = { + parameterPath: "roleAssignmentScheduleName", mapper: { - serializedName: "nextLink", + serializedName: "roleAssignmentScheduleName", required: true, type: { name: "String" } - }, - skipEncoding: true + } }; export const roleAssignmentScheduleInstanceName: OperationURLParameter = { @@ -208,118 +207,3 @@ export const parameters3: OperationParameter = { parameterPath: "parameters", mapper: RoleManagementPolicyAssignmentMapper }; - -export const subscriptionId: OperationURLParameter = { - parameterPath: "subscriptionId", - mapper: { - constraints: { - MinLength: 1 - }, - serializedName: "subscriptionId", - required: true, - type: { - name: "String" - } - } -}; - -export const filter1: OperationQueryParameter = { - parameterPath: ["options", "filter"], - mapper: { - serializedName: "$filter", - type: { - name: "String" - } - }, - skipEncoding: true -}; - -export const tenantId: OperationQueryParameter = { - parameterPath: ["options", "tenantId"], - mapper: { - serializedName: "tenantId", - type: { - name: "String" - } - } -}; - -export const resourceGroupName: OperationURLParameter = { - parameterPath: "resourceGroupName", - mapper: { - constraints: { - MaxLength: 90, - MinLength: 1 - }, - serializedName: "resourceGroupName", - required: true, - type: { - name: "String" - } - } -}; - -export const resourceProviderNamespace: OperationURLParameter = { - parameterPath: "resourceProviderNamespace", - mapper: { - serializedName: "resourceProviderNamespace", - required: true, - type: { - name: "String" - } - }, - skipEncoding: true -}; - -export const resourceType: OperationURLParameter = { - parameterPath: "resourceType", - mapper: { - serializedName: "resourceType", - required: true, - type: { - name: "String" - } - }, - skipEncoding: true -}; - -export const resourceName: OperationURLParameter = { - parameterPath: "resourceName", - mapper: { - serializedName: "resourceName", - required: true, - type: { - name: "String" - } - }, - skipEncoding: true -}; - -export const roleAssignmentName: OperationURLParameter = { - parameterPath: "roleAssignmentName", - mapper: { - serializedName: "roleAssignmentName", - required: true, - type: { - name: "String" - } - }, - skipEncoding: true -}; - -export const parameters4: OperationParameter = { - parameterPath: "parameters", - mapper: RoleAssignmentCreateParametersMapper -}; - -export const roleAssignmentId: OperationURLParameter = { - parameterPath: "roleAssignmentId", - mapper: { - serializedName: "roleAssignmentId", - required: true, - type: { - name: "String" - } - }, - skipEncoding: true -}; diff --git a/sdk/authorization/arm-authorization/src/operations/eligibleChildResources.ts b/sdk/authorization/arm-authorization/src/operations/eligibleChildResources.ts index 1e98e4feaa3e..d9e0359c041e 100644 --- a/sdk/authorization/arm-authorization/src/operations/eligibleChildResources.ts +++ b/sdk/authorization/arm-authorization/src/operations/eligibleChildResources.ts @@ -6,13 +6,12 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { EligibleChildResources } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AuthorizationManagementClientContext } from "../authorizationManagementClientContext"; +import { AuthorizationManagementClient } from "../authorizationManagementClient"; import { EligibleChildResource, EligibleChildResourcesGetNextOptionalParams, @@ -24,13 +23,13 @@ import { /// /** Class containing EligibleChildResources operations. */ export class EligibleChildResourcesImpl implements EligibleChildResources { - private readonly client: AuthorizationManagementClientContext; + private readonly client: AuthorizationManagementClient; /** * Initialize a new instance of the class EligibleChildResources class. * @param client Reference to the service client */ - constructor(client: AuthorizationManagementClientContext) { + constructor(client: AuthorizationManagementClient) { this.client = client; } @@ -126,7 +125,7 @@ const getOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope], headerParameters: [Parameters.accept], serializer @@ -142,7 +141,7 @@ const getNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/sdk/authorization/arm-authorization/src/operations/index.ts b/sdk/authorization/arm-authorization/src/operations/index.ts index e547e894ea9f..6e3e69a1df5f 100644 --- a/sdk/authorization/arm-authorization/src/operations/index.ts +++ b/sdk/authorization/arm-authorization/src/operations/index.ts @@ -6,6 +6,7 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +export * from "./eligibleChildResources"; export * from "./roleAssignmentSchedules"; export * from "./roleAssignmentScheduleInstances"; export * from "./roleAssignmentScheduleRequests"; @@ -14,5 +15,3 @@ export * from "./roleEligibilityScheduleInstances"; export * from "./roleEligibilityScheduleRequests"; export * from "./roleManagementPolicies"; export * from "./roleManagementPolicyAssignments"; -export * from "./eligibleChildResources"; -export * from "./roleAssignments"; diff --git a/sdk/authorization/arm-authorization/src/operations/roleAssignmentScheduleInstances.ts b/sdk/authorization/arm-authorization/src/operations/roleAssignmentScheduleInstances.ts index 68ee23d55f0c..dfe59da601da 100644 --- a/sdk/authorization/arm-authorization/src/operations/roleAssignmentScheduleInstances.ts +++ b/sdk/authorization/arm-authorization/src/operations/roleAssignmentScheduleInstances.ts @@ -6,13 +6,12 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleAssignmentScheduleInstances } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AuthorizationManagementClientContext } from "../authorizationManagementClientContext"; +import { AuthorizationManagementClient } from "../authorizationManagementClient"; import { RoleAssignmentScheduleInstance, RoleAssignmentScheduleInstancesListForScopeNextOptionalParams, @@ -27,13 +26,13 @@ import { /** Class containing RoleAssignmentScheduleInstances operations. */ export class RoleAssignmentScheduleInstancesImpl implements RoleAssignmentScheduleInstances { - private readonly client: AuthorizationManagementClientContext; + private readonly client: AuthorizationManagementClient; /** * Initialize a new instance of the class RoleAssignmentScheduleInstances class. * @param client Reference to the service client */ - constructor(client: AuthorizationManagementClientContext) { + constructor(client: AuthorizationManagementClient) { this.client = client; } @@ -148,7 +147,7 @@ const listForScopeOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope], headerParameters: [Parameters.accept], serializer @@ -185,7 +184,7 @@ const listForScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/sdk/authorization/arm-authorization/src/operations/roleAssignmentScheduleRequests.ts b/sdk/authorization/arm-authorization/src/operations/roleAssignmentScheduleRequests.ts index 6443fee67f96..e126c5c75ae4 100644 --- a/sdk/authorization/arm-authorization/src/operations/roleAssignmentScheduleRequests.ts +++ b/sdk/authorization/arm-authorization/src/operations/roleAssignmentScheduleRequests.ts @@ -6,13 +6,12 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleAssignmentScheduleRequests } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AuthorizationManagementClientContext } from "../authorizationManagementClientContext"; +import { AuthorizationManagementClient } from "../authorizationManagementClient"; import { RoleAssignmentScheduleRequest, RoleAssignmentScheduleRequestsListForScopeNextOptionalParams, @@ -23,6 +22,8 @@ import { RoleAssignmentScheduleRequestsGetResponse, RoleAssignmentScheduleRequestsListForScopeResponse, RoleAssignmentScheduleRequestsCancelOptionalParams, + RoleAssignmentScheduleRequestsValidateOptionalParams, + RoleAssignmentScheduleRequestsValidateResponse, RoleAssignmentScheduleRequestsListForScopeNextResponse } from "../models"; @@ -30,13 +31,13 @@ import { /** Class containing RoleAssignmentScheduleRequests operations. */ export class RoleAssignmentScheduleRequestsImpl implements RoleAssignmentScheduleRequests { - private readonly client: AuthorizationManagementClientContext; + private readonly client: AuthorizationManagementClient; /** * Initialize a new instance of the class RoleAssignmentScheduleRequests class. * @param client Reference to the service client */ - constructor(client: AuthorizationManagementClientContext) { + constructor(client: AuthorizationManagementClient) { this.client = client; } @@ -89,14 +90,12 @@ export class RoleAssignmentScheduleRequestsImpl /** * Creates a role assignment schedule request. * @param scope The scope of the role assignment schedule request to create. The scope can be any REST - * resource instance. For example, use - * '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/' for a subscription, - * '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' - * for a resource group, and - * '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' + * resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, + * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and + * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' * for a resource. - * @param roleAssignmentScheduleRequestName The name of the role assignment to create. It can be any - * valid GUID. + * @param roleAssignmentScheduleRequestName A GUID for the role assignment to create. The name must be + * unique and different for each role assignment. * @param parameters Parameters for the role assignment schedule request. * @param options The options parameters. */ @@ -162,6 +161,25 @@ export class RoleAssignmentScheduleRequestsImpl ); } + /** + * Validates a new role assignment schedule request. + * @param scope The scope of the role assignment request to validate. + * @param roleAssignmentScheduleRequestName The name of the role assignment request to validate. + * @param parameters Parameters for the role assignment schedule request. + * @param options The options parameters. + */ + validate( + scope: string, + roleAssignmentScheduleRequestName: string, + parameters: RoleAssignmentScheduleRequest, + options?: RoleAssignmentScheduleRequestsValidateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { scope, roleAssignmentScheduleRequestName, parameters, options }, + validateOperationSpec + ); + } + /** * ListForScopeNext * @param scope The scope of the role assignments schedule requests. @@ -238,7 +256,7 @@ const listForScopeOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope], headerParameters: [Parameters.accept], serializer @@ -262,6 +280,29 @@ const cancelOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer }; +const validateOperationSpec: coreClient.OperationSpec = { + path: + "/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}/validate", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.RoleAssignmentScheduleRequest + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.scope, + Parameters.roleAssignmentScheduleRequestName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; const listForScopeNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", @@ -273,7 +314,7 @@ const listForScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/sdk/authorization/arm-authorization/src/operations/roleAssignmentSchedules.ts b/sdk/authorization/arm-authorization/src/operations/roleAssignmentSchedules.ts index f625ac6f3ab2..8028f48c8df2 100644 --- a/sdk/authorization/arm-authorization/src/operations/roleAssignmentSchedules.ts +++ b/sdk/authorization/arm-authorization/src/operations/roleAssignmentSchedules.ts @@ -6,13 +6,12 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleAssignmentSchedules } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AuthorizationManagementClientContext } from "../authorizationManagementClientContext"; +import { AuthorizationManagementClient } from "../authorizationManagementClient"; import { RoleAssignmentSchedule, RoleAssignmentSchedulesListForScopeNextOptionalParams, @@ -26,13 +25,13 @@ import { /// /** Class containing RoleAssignmentSchedules operations. */ export class RoleAssignmentSchedulesImpl implements RoleAssignmentSchedules { - private readonly client: AuthorizationManagementClientContext; + private readonly client: AuthorizationManagementClient; /** * Initialize a new instance of the class RoleAssignmentSchedules class. * @param client Reference to the service client */ - constructor(client: AuthorizationManagementClientContext) { + constructor(client: AuthorizationManagementClient) { this.client = client; } @@ -166,7 +165,7 @@ const listForScopeOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope], headerParameters: [Parameters.accept], serializer @@ -182,7 +181,7 @@ const listForScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/sdk/authorization/arm-authorization/src/operations/roleAssignments.ts b/sdk/authorization/arm-authorization/src/operations/roleAssignments.ts deleted file mode 100644 index 5fbb7b8825d2..000000000000 --- a/sdk/authorization/arm-authorization/src/operations/roleAssignments.ts +++ /dev/null @@ -1,974 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import "@azure/core-paging"; -import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { RoleAssignments } from "../operationsInterfaces"; -import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { AuthorizationManagementClientContext } from "../authorizationManagementClientContext"; -import { - RoleAssignment, - RoleAssignmentsListForSubscriptionNextOptionalParams, - RoleAssignmentsListForSubscriptionOptionalParams, - RoleAssignmentsListForResourceGroupNextOptionalParams, - RoleAssignmentsListForResourceGroupOptionalParams, - RoleAssignmentsListForResourceNextOptionalParams, - RoleAssignmentsListForResourceOptionalParams, - RoleAssignmentsListForScopeNextOptionalParams, - RoleAssignmentsListForScopeOptionalParams, - RoleAssignmentsListForSubscriptionResponse, - RoleAssignmentsListForResourceGroupResponse, - RoleAssignmentsListForResourceResponse, - RoleAssignmentsGetOptionalParams, - RoleAssignmentsGetResponse, - RoleAssignmentCreateParameters, - RoleAssignmentsCreateOptionalParams, - RoleAssignmentsCreateResponse, - RoleAssignmentsDeleteOptionalParams, - RoleAssignmentsDeleteResponse, - RoleAssignmentsValidateOptionalParams, - RoleAssignmentsValidateResponse, - RoleAssignmentsListForScopeResponse, - RoleAssignmentsGetByIdOptionalParams, - RoleAssignmentsGetByIdResponse, - RoleAssignmentsCreateByIdOptionalParams, - RoleAssignmentsCreateByIdResponse, - RoleAssignmentsDeleteByIdOptionalParams, - RoleAssignmentsDeleteByIdResponse, - RoleAssignmentsValidateByIdOptionalParams, - RoleAssignmentsValidateByIdResponse, - RoleAssignmentsListForSubscriptionNextResponse, - RoleAssignmentsListForResourceGroupNextResponse, - RoleAssignmentsListForResourceNextResponse, - RoleAssignmentsListForScopeNextResponse -} from "../models"; - -/// -/** Class containing RoleAssignments operations. */ -export class RoleAssignmentsImpl implements RoleAssignments { - private readonly client: AuthorizationManagementClientContext; - - /** - * Initialize a new instance of the class RoleAssignments class. - * @param client Reference to the service client - */ - constructor(client: AuthorizationManagementClientContext) { - this.client = client; - } - - /** - * List all role assignments that apply to a subscription. - * @param options The options parameters. - */ - public listForSubscription( - options?: RoleAssignmentsListForSubscriptionOptionalParams - ): PagedAsyncIterableIterator { - const iter = this.listForSubscriptionPagingAll(options); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: () => { - return this.listForSubscriptionPagingPage(options); - } - }; - } - - private async *listForSubscriptionPagingPage( - options?: RoleAssignmentsListForSubscriptionOptionalParams - ): AsyncIterableIterator { - let result = await this._listForSubscription(options); - yield result.value || []; - let continuationToken = result.nextLink; - while (continuationToken) { - result = await this._listForSubscriptionNext(continuationToken, options); - continuationToken = result.nextLink; - yield result.value || []; - } - } - - private async *listForSubscriptionPagingAll( - options?: RoleAssignmentsListForSubscriptionOptionalParams - ): AsyncIterableIterator { - for await (const page of this.listForSubscriptionPagingPage(options)) { - yield* page; - } - } - - /** - * List all role assignments that apply to a resource group. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param options The options parameters. - */ - public listForResourceGroup( - resourceGroupName: string, - options?: RoleAssignmentsListForResourceGroupOptionalParams - ): PagedAsyncIterableIterator { - const iter = this.listForResourceGroupPagingAll(resourceGroupName, options); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: () => { - return this.listForResourceGroupPagingPage(resourceGroupName, options); - } - }; - } - - private async *listForResourceGroupPagingPage( - resourceGroupName: string, - options?: RoleAssignmentsListForResourceGroupOptionalParams - ): AsyncIterableIterator { - let result = await this._listForResourceGroup(resourceGroupName, options); - yield result.value || []; - let continuationToken = result.nextLink; - while (continuationToken) { - result = await this._listForResourceGroupNext( - resourceGroupName, - continuationToken, - options - ); - continuationToken = result.nextLink; - yield result.value || []; - } - } - - private async *listForResourceGroupPagingAll( - resourceGroupName: string, - options?: RoleAssignmentsListForResourceGroupOptionalParams - ): AsyncIterableIterator { - for await (const page of this.listForResourceGroupPagingPage( - resourceGroupName, - options - )) { - yield* page; - } - } - - /** - * List all role assignments that apply to a resource. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param resourceProviderNamespace The namespace of the resource provider. - * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from - * Microsoft.Web/sites). - * @param resourceName The resource name. - * @param options The options parameters. - */ - public listForResource( - resourceGroupName: string, - resourceProviderNamespace: string, - resourceType: string, - resourceName: string, - options?: RoleAssignmentsListForResourceOptionalParams - ): PagedAsyncIterableIterator { - const iter = this.listForResourcePagingAll( - resourceGroupName, - resourceProviderNamespace, - resourceType, - resourceName, - options - ); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: () => { - return this.listForResourcePagingPage( - resourceGroupName, - resourceProviderNamespace, - resourceType, - resourceName, - options - ); - } - }; - } - - private async *listForResourcePagingPage( - resourceGroupName: string, - resourceProviderNamespace: string, - resourceType: string, - resourceName: string, - options?: RoleAssignmentsListForResourceOptionalParams - ): AsyncIterableIterator { - let result = await this._listForResource( - resourceGroupName, - resourceProviderNamespace, - resourceType, - resourceName, - options - ); - yield result.value || []; - let continuationToken = result.nextLink; - while (continuationToken) { - result = await this._listForResourceNext( - resourceGroupName, - resourceProviderNamespace, - resourceType, - resourceName, - continuationToken, - options - ); - continuationToken = result.nextLink; - yield result.value || []; - } - } - - private async *listForResourcePagingAll( - resourceGroupName: string, - resourceProviderNamespace: string, - resourceType: string, - resourceName: string, - options?: RoleAssignmentsListForResourceOptionalParams - ): AsyncIterableIterator { - for await (const page of this.listForResourcePagingPage( - resourceGroupName, - resourceProviderNamespace, - resourceType, - resourceName, - options - )) { - yield* page; - } - } - - /** - * List all role assignments that apply to a scope. - * @param scope The scope of the operation or resource. Valid scopes are: subscription (format: - * '/subscriptions/{subscriptionId}'), resource group (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' - * @param options The options parameters. - */ - public listForScope( - scope: string, - options?: RoleAssignmentsListForScopeOptionalParams - ): PagedAsyncIterableIterator { - const iter = this.listForScopePagingAll(scope, options); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: () => { - return this.listForScopePagingPage(scope, options); - } - }; - } - - private async *listForScopePagingPage( - scope: string, - options?: RoleAssignmentsListForScopeOptionalParams - ): AsyncIterableIterator { - let result = await this._listForScope(scope, options); - yield result.value || []; - let continuationToken = result.nextLink; - while (continuationToken) { - result = await this._listForScopeNext(scope, continuationToken, options); - continuationToken = result.nextLink; - yield result.value || []; - } - } - - private async *listForScopePagingAll( - scope: string, - options?: RoleAssignmentsListForScopeOptionalParams - ): AsyncIterableIterator { - for await (const page of this.listForScopePagingPage(scope, options)) { - yield* page; - } - } - - /** - * List all role assignments that apply to a subscription. - * @param options The options parameters. - */ - private _listForSubscription( - options?: RoleAssignmentsListForSubscriptionOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { options }, - listForSubscriptionOperationSpec - ); - } - - /** - * List all role assignments that apply to a resource group. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param options The options parameters. - */ - private _listForResourceGroup( - resourceGroupName: string, - options?: RoleAssignmentsListForResourceGroupOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, options }, - listForResourceGroupOperationSpec - ); - } - - /** - * List all role assignments that apply to a resource. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param resourceProviderNamespace The namespace of the resource provider. - * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from - * Microsoft.Web/sites). - * @param resourceName The resource name. - * @param options The options parameters. - */ - private _listForResource( - resourceGroupName: string, - resourceProviderNamespace: string, - resourceType: string, - resourceName: string, - options?: RoleAssignmentsListForResourceOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - resourceProviderNamespace, - resourceType, - resourceName, - options - }, - listForResourceOperationSpec - ); - } - - /** - * Get a role assignment by scope and name. - * @param scope The scope of the operation or resource. Valid scopes are: subscription (format: - * '/subscriptions/{subscriptionId}'), resource group (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' - * @param roleAssignmentName The name of the role assignment. It can be any valid GUID. - * @param options The options parameters. - */ - get( - scope: string, - roleAssignmentName: string, - options?: RoleAssignmentsGetOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { scope, roleAssignmentName, options }, - getOperationSpec - ); - } - - /** - * Create or update a role assignment by scope and name. - * @param scope The scope of the operation or resource. Valid scopes are: subscription (format: - * '/subscriptions/{subscriptionId}'), resource group (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' - * @param roleAssignmentName The name of the role assignment. It can be any valid GUID. - * @param parameters Parameters for the role assignment. - * @param options The options parameters. - */ - create( - scope: string, - roleAssignmentName: string, - parameters: RoleAssignmentCreateParameters, - options?: RoleAssignmentsCreateOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { scope, roleAssignmentName, parameters, options }, - createOperationSpec - ); - } - - /** - * Delete a role assignment by scope and name. - * @param scope The scope of the operation or resource. Valid scopes are: subscription (format: - * '/subscriptions/{subscriptionId}'), resource group (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' - * @param roleAssignmentName The name of the role assignment. It can be any valid GUID. - * @param options The options parameters. - */ - delete( - scope: string, - roleAssignmentName: string, - options?: RoleAssignmentsDeleteOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { scope, roleAssignmentName, options }, - deleteOperationSpec - ); - } - - /** - * Validate a role assignment create or update operation by scope and name. - * @param scope The scope of the operation or resource. Valid scopes are: subscription (format: - * '/subscriptions/{subscriptionId}'), resource group (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' - * @param roleAssignmentName The name of the role assignment. It can be any valid GUID. - * @param parameters Parameters for the role assignment. - * @param options The options parameters. - */ - validate( - scope: string, - roleAssignmentName: string, - parameters: RoleAssignmentCreateParameters, - options?: RoleAssignmentsValidateOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { scope, roleAssignmentName, parameters, options }, - validateOperationSpec - ); - } - - /** - * List all role assignments that apply to a scope. - * @param scope The scope of the operation or resource. Valid scopes are: subscription (format: - * '/subscriptions/{subscriptionId}'), resource group (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' - * @param options The options parameters. - */ - private _listForScope( - scope: string, - options?: RoleAssignmentsListForScopeOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { scope, options }, - listForScopeOperationSpec - ); - } - - /** - * Get a role assignment by ID. - * @param roleAssignmentId The fully qualified ID of the role assignment including scope, resource - * name, and resource type. Format: - * /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: - * /subscriptions//resourcegroups//providers/Microsoft.Authorization/roleAssignments/ - * @param options The options parameters. - */ - getById( - roleAssignmentId: string, - options?: RoleAssignmentsGetByIdOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { roleAssignmentId, options }, - getByIdOperationSpec - ); - } - - /** - * Create or update a role assignment by ID. - * @param roleAssignmentId The fully qualified ID of the role assignment including scope, resource - * name, and resource type. Format: - * /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: - * /subscriptions//resourcegroups//providers/Microsoft.Authorization/roleAssignments/ - * @param parameters Parameters for the role assignment. - * @param options The options parameters. - */ - createById( - roleAssignmentId: string, - parameters: RoleAssignmentCreateParameters, - options?: RoleAssignmentsCreateByIdOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { roleAssignmentId, parameters, options }, - createByIdOperationSpec - ); - } - - /** - * Delete a role assignment by ID. - * @param roleAssignmentId The fully qualified ID of the role assignment including scope, resource - * name, and resource type. Format: - * /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: - * /subscriptions//resourcegroups//providers/Microsoft.Authorization/roleAssignments/ - * @param options The options parameters. - */ - deleteById( - roleAssignmentId: string, - options?: RoleAssignmentsDeleteByIdOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { roleAssignmentId, options }, - deleteByIdOperationSpec - ); - } - - /** - * Validate a role assignment create or update operation by ID. - * @param roleAssignmentId The fully qualified ID of the role assignment including scope, resource - * name, and resource type. Format: - * /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: - * /subscriptions//resourcegroups//providers/Microsoft.Authorization/roleAssignments/ - * @param parameters Parameters for the role assignment. - * @param options The options parameters. - */ - validateById( - roleAssignmentId: string, - parameters: RoleAssignmentCreateParameters, - options?: RoleAssignmentsValidateByIdOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { roleAssignmentId, parameters, options }, - validateByIdOperationSpec - ); - } - - /** - * ListForSubscriptionNext - * @param nextLink The nextLink from the previous successful call to the ListForSubscription method. - * @param options The options parameters. - */ - private _listForSubscriptionNext( - nextLink: string, - options?: RoleAssignmentsListForSubscriptionNextOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { nextLink, options }, - listForSubscriptionNextOperationSpec - ); - } - - /** - * ListForResourceGroupNext - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param nextLink The nextLink from the previous successful call to the ListForResourceGroup method. - * @param options The options parameters. - */ - private _listForResourceGroupNext( - resourceGroupName: string, - nextLink: string, - options?: RoleAssignmentsListForResourceGroupNextOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { resourceGroupName, nextLink, options }, - listForResourceGroupNextOperationSpec - ); - } - - /** - * ListForResourceNext - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param resourceProviderNamespace The namespace of the resource provider. - * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from - * Microsoft.Web/sites). - * @param resourceName The resource name. - * @param nextLink The nextLink from the previous successful call to the ListForResource method. - * @param options The options parameters. - */ - private _listForResourceNext( - resourceGroupName: string, - resourceProviderNamespace: string, - resourceType: string, - resourceName: string, - nextLink: string, - options?: RoleAssignmentsListForResourceNextOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - resourceProviderNamespace, - resourceType, - resourceName, - nextLink, - options - }, - listForResourceNextOperationSpec - ); - } - - /** - * ListForScopeNext - * @param scope The scope of the operation or resource. Valid scopes are: subscription (format: - * '/subscriptions/{subscriptionId}'), resource group (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' - * @param nextLink The nextLink from the previous successful call to the ListForScope method. - * @param options The options parameters. - */ - private _listForScopeNext( - scope: string, - nextLink: string, - options?: RoleAssignmentsListForScopeNextOptionalParams - ): Promise { - return this.client.sendOperationRequest( - { scope, nextLink, options }, - listForScopeNextOperationSpec - ); - } -} -// Operation Specifications -const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); - -const listForSubscriptionOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/roleAssignments", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignmentListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter1, - Parameters.tenantId - ], - urlParameters: [Parameters.$host, Parameters.subscriptionId], - headerParameters: [Parameters.accept], - serializer -}; -const listForResourceGroupOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/roleAssignments", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignmentListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter1, - Parameters.tenantId - ], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName - ], - headerParameters: [Parameters.accept], - serializer -}; -const listForResourceOperationSpec: coreClient.OperationSpec = { - path: - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/roleAssignments", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignmentListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter1, - Parameters.tenantId - ], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.resourceProviderNamespace, - Parameters.resourceType, - Parameters.resourceName - ], - headerParameters: [Parameters.accept], - serializer -}; -const getOperationSpec: coreClient.OperationSpec = { - path: - "/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignment - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion, Parameters.tenantId], - urlParameters: [ - Parameters.$host, - Parameters.scope, - Parameters.roleAssignmentName - ], - headerParameters: [Parameters.accept], - serializer -}; -const createOperationSpec: coreClient.OperationSpec = { - path: - "/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignment - }, - 201: { - bodyMapper: Mappers.RoleAssignment - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.parameters4, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.scope, - Parameters.roleAssignmentName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const deleteOperationSpec: coreClient.OperationSpec = { - path: - "/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}", - httpMethod: "DELETE", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignment - }, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion, Parameters.tenantId], - urlParameters: [ - Parameters.$host, - Parameters.scope, - Parameters.roleAssignmentName - ], - headerParameters: [Parameters.accept], - serializer -}; -const validateOperationSpec: coreClient.OperationSpec = { - path: - "/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}/validate", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.ValidationResponse - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.parameters4, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.scope, - Parameters.roleAssignmentName - ], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const listForScopeOperationSpec: coreClient.OperationSpec = { - path: "/{scope}/providers/Microsoft.Authorization/roleAssignments", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignmentListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter1, - Parameters.tenantId - ], - urlParameters: [Parameters.$host, Parameters.scope], - headerParameters: [Parameters.accept], - serializer -}; -const getByIdOperationSpec: coreClient.OperationSpec = { - path: "/{roleAssignmentId}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignment - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion, Parameters.tenantId], - urlParameters: [Parameters.$host, Parameters.roleAssignmentId], - headerParameters: [Parameters.accept], - serializer -}; -const createByIdOperationSpec: coreClient.OperationSpec = { - path: "/{roleAssignmentId}", - httpMethod: "PUT", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignment - }, - 201: { - bodyMapper: Mappers.RoleAssignment - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.parameters4, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.roleAssignmentId], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const deleteByIdOperationSpec: coreClient.OperationSpec = { - path: "/{roleAssignmentId}", - httpMethod: "DELETE", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignment - }, - 204: {}, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [Parameters.apiVersion, Parameters.tenantId], - urlParameters: [Parameters.$host, Parameters.roleAssignmentId], - headerParameters: [Parameters.accept], - serializer -}; -const validateByIdOperationSpec: coreClient.OperationSpec = { - path: "/{roleAssignmentId}/validate", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.ValidationResponse - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.parameters4, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.$host, Parameters.roleAssignmentId], - headerParameters: [Parameters.accept, Parameters.contentType], - mediaType: "json", - serializer -}; -const listForSubscriptionNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignmentListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter1, - Parameters.tenantId - ], - urlParameters: [ - Parameters.$host, - Parameters.nextLink, - Parameters.subscriptionId - ], - headerParameters: [Parameters.accept], - serializer -}; -const listForResourceGroupNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignmentListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter1, - Parameters.tenantId - ], - urlParameters: [ - Parameters.$host, - Parameters.nextLink, - Parameters.subscriptionId, - Parameters.resourceGroupName - ], - headerParameters: [Parameters.accept], - serializer -}; -const listForResourceNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignmentListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter1, - Parameters.tenantId - ], - urlParameters: [ - Parameters.$host, - Parameters.nextLink, - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.resourceProviderNamespace, - Parameters.resourceType, - Parameters.resourceName - ], - headerParameters: [Parameters.accept], - serializer -}; -const listForScopeNextOperationSpec: coreClient.OperationSpec = { - path: "{nextLink}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.RoleAssignmentListResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [ - Parameters.apiVersion, - Parameters.filter1, - Parameters.tenantId - ], - urlParameters: [Parameters.$host, Parameters.scope, Parameters.nextLink], - headerParameters: [Parameters.accept], - serializer -}; diff --git a/sdk/authorization/arm-authorization/src/operations/roleEligibilityScheduleInstances.ts b/sdk/authorization/arm-authorization/src/operations/roleEligibilityScheduleInstances.ts index 29ca5e2f75b4..ee592af7ecd1 100644 --- a/sdk/authorization/arm-authorization/src/operations/roleEligibilityScheduleInstances.ts +++ b/sdk/authorization/arm-authorization/src/operations/roleEligibilityScheduleInstances.ts @@ -6,13 +6,12 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleEligibilityScheduleInstances } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AuthorizationManagementClientContext } from "../authorizationManagementClientContext"; +import { AuthorizationManagementClient } from "../authorizationManagementClient"; import { RoleEligibilityScheduleInstance, RoleEligibilityScheduleInstancesListForScopeNextOptionalParams, @@ -27,13 +26,13 @@ import { /** Class containing RoleEligibilityScheduleInstances operations. */ export class RoleEligibilityScheduleInstancesImpl implements RoleEligibilityScheduleInstances { - private readonly client: AuthorizationManagementClientContext; + private readonly client: AuthorizationManagementClient; /** * Initialize a new instance of the class RoleEligibilityScheduleInstances class. * @param client Reference to the service client */ - constructor(client: AuthorizationManagementClientContext) { + constructor(client: AuthorizationManagementClient) { this.client = client; } @@ -148,7 +147,7 @@ const listForScopeOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope], headerParameters: [Parameters.accept], serializer @@ -185,7 +184,7 @@ const listForScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/sdk/authorization/arm-authorization/src/operations/roleEligibilityScheduleRequests.ts b/sdk/authorization/arm-authorization/src/operations/roleEligibilityScheduleRequests.ts index 5c13e3ab412d..c09af0a25a1e 100644 --- a/sdk/authorization/arm-authorization/src/operations/roleEligibilityScheduleRequests.ts +++ b/sdk/authorization/arm-authorization/src/operations/roleEligibilityScheduleRequests.ts @@ -6,13 +6,12 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleEligibilityScheduleRequests } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AuthorizationManagementClientContext } from "../authorizationManagementClientContext"; +import { AuthorizationManagementClient } from "../authorizationManagementClient"; import { RoleEligibilityScheduleRequest, RoleEligibilityScheduleRequestsListForScopeNextOptionalParams, @@ -23,6 +22,8 @@ import { RoleEligibilityScheduleRequestsGetResponse, RoleEligibilityScheduleRequestsListForScopeResponse, RoleEligibilityScheduleRequestsCancelOptionalParams, + RoleEligibilityScheduleRequestsValidateOptionalParams, + RoleEligibilityScheduleRequestsValidateResponse, RoleEligibilityScheduleRequestsListForScopeNextResponse } from "../models"; @@ -30,13 +31,13 @@ import { /** Class containing RoleEligibilityScheduleRequests operations. */ export class RoleEligibilityScheduleRequestsImpl implements RoleEligibilityScheduleRequests { - private readonly client: AuthorizationManagementClientContext; + private readonly client: AuthorizationManagementClient; /** * Initialize a new instance of the class RoleEligibilityScheduleRequests class. * @param client Reference to the service client */ - constructor(client: AuthorizationManagementClientContext) { + constructor(client: AuthorizationManagementClient) { this.client = client; } @@ -89,11 +90,9 @@ export class RoleEligibilityScheduleRequestsImpl /** * Creates a role eligibility schedule request. * @param scope The scope of the role eligibility schedule request to create. The scope can be any REST - * resource instance. For example, use - * '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/' for a subscription, - * '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' - * for a resource group, and - * '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' + * resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, + * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and + * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' * for a resource. * @param roleEligibilityScheduleRequestName The name of the role eligibility to create. It can be any * valid GUID. @@ -162,6 +161,25 @@ export class RoleEligibilityScheduleRequestsImpl ); } + /** + * Validates a new role eligibility schedule request. + * @param scope The scope of the role eligibility request to validate. + * @param roleEligibilityScheduleRequestName The name of the role eligibility request to validate. + * @param parameters Parameters for the role eligibility schedule request. + * @param options The options parameters. + */ + validate( + scope: string, + roleEligibilityScheduleRequestName: string, + parameters: RoleEligibilityScheduleRequest, + options?: RoleEligibilityScheduleRequestsValidateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { scope, roleEligibilityScheduleRequestName, parameters, options }, + validateOperationSpec + ); + } + /** * ListForScopeNext * @param scope The scope of the role eligibility schedule requests. @@ -238,7 +256,7 @@ const listForScopeOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope], headerParameters: [Parameters.accept], serializer @@ -262,6 +280,29 @@ const cancelOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer }; +const validateOperationSpec: coreClient.OperationSpec = { + path: + "/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}/validate", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.RoleEligibilityScheduleRequest + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.scope, + Parameters.roleEligibilityScheduleRequestName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; const listForScopeNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", @@ -273,7 +314,7 @@ const listForScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/sdk/authorization/arm-authorization/src/operations/roleEligibilitySchedules.ts b/sdk/authorization/arm-authorization/src/operations/roleEligibilitySchedules.ts index 3ab81c1dc5ba..5fe490239643 100644 --- a/sdk/authorization/arm-authorization/src/operations/roleEligibilitySchedules.ts +++ b/sdk/authorization/arm-authorization/src/operations/roleEligibilitySchedules.ts @@ -6,13 +6,12 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleEligibilitySchedules } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AuthorizationManagementClientContext } from "../authorizationManagementClientContext"; +import { AuthorizationManagementClient } from "../authorizationManagementClient"; import { RoleEligibilitySchedule, RoleEligibilitySchedulesListForScopeNextOptionalParams, @@ -26,13 +25,13 @@ import { /// /** Class containing RoleEligibilitySchedules operations. */ export class RoleEligibilitySchedulesImpl implements RoleEligibilitySchedules { - private readonly client: AuthorizationManagementClientContext; + private readonly client: AuthorizationManagementClient; /** * Initialize a new instance of the class RoleEligibilitySchedules class. * @param client Reference to the service client */ - constructor(client: AuthorizationManagementClientContext) { + constructor(client: AuthorizationManagementClient) { this.client = client; } @@ -166,7 +165,7 @@ const listForScopeOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope], headerParameters: [Parameters.accept], serializer @@ -182,7 +181,7 @@ const listForScopeNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], + queryParameters: [Parameters.filter, Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.scope, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/sdk/authorization/arm-authorization/src/operations/roleManagementPolicies.ts b/sdk/authorization/arm-authorization/src/operations/roleManagementPolicies.ts index 69f6ca49cf7f..25df44604806 100644 --- a/sdk/authorization/arm-authorization/src/operations/roleManagementPolicies.ts +++ b/sdk/authorization/arm-authorization/src/operations/roleManagementPolicies.ts @@ -6,13 +6,12 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleManagementPolicies } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AuthorizationManagementClientContext } from "../authorizationManagementClientContext"; +import { AuthorizationManagementClient } from "../authorizationManagementClient"; import { RoleManagementPolicy, RoleManagementPoliciesListForScopeNextOptionalParams, @@ -29,13 +28,13 @@ import { /// /** Class containing RoleManagementPolicies operations. */ export class RoleManagementPoliciesImpl implements RoleManagementPolicies { - private readonly client: AuthorizationManagementClientContext; + private readonly client: AuthorizationManagementClient; /** * Initialize a new instance of the class RoleManagementPolicies class. * @param client Reference to the service client */ - constructor(client: AuthorizationManagementClientContext) { + constructor(client: AuthorizationManagementClient) { this.client = client; } diff --git a/sdk/authorization/arm-authorization/src/operations/roleManagementPolicyAssignments.ts b/sdk/authorization/arm-authorization/src/operations/roleManagementPolicyAssignments.ts index e8a8efe0fa3e..6aa52c331b30 100644 --- a/sdk/authorization/arm-authorization/src/operations/roleManagementPolicyAssignments.ts +++ b/sdk/authorization/arm-authorization/src/operations/roleManagementPolicyAssignments.ts @@ -6,13 +6,12 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleManagementPolicyAssignments } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { AuthorizationManagementClientContext } from "../authorizationManagementClientContext"; +import { AuthorizationManagementClient } from "../authorizationManagementClient"; import { RoleManagementPolicyAssignment, RoleManagementPolicyAssignmentsListForScopeNextOptionalParams, @@ -30,13 +29,13 @@ import { /** Class containing RoleManagementPolicyAssignments operations. */ export class RoleManagementPolicyAssignmentsImpl implements RoleManagementPolicyAssignments { - private readonly client: AuthorizationManagementClientContext; + private readonly client: AuthorizationManagementClient; /** * Initialize a new instance of the class RoleManagementPolicyAssignments class. * @param client Reference to the service client */ - constructor(client: AuthorizationManagementClientContext) { + constructor(client: AuthorizationManagementClient) { this.client = client; } diff --git a/sdk/authorization/arm-authorization/src/operationsInterfaces/eligibleChildResources.ts b/sdk/authorization/arm-authorization/src/operationsInterfaces/eligibleChildResources.ts index 0138496ee322..e4d88d125602 100644 --- a/sdk/authorization/arm-authorization/src/operationsInterfaces/eligibleChildResources.ts +++ b/sdk/authorization/arm-authorization/src/operationsInterfaces/eligibleChildResources.ts @@ -6,7 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { EligibleChildResource, diff --git a/sdk/authorization/arm-authorization/src/operationsInterfaces/index.ts b/sdk/authorization/arm-authorization/src/operationsInterfaces/index.ts index e547e894ea9f..6e3e69a1df5f 100644 --- a/sdk/authorization/arm-authorization/src/operationsInterfaces/index.ts +++ b/sdk/authorization/arm-authorization/src/operationsInterfaces/index.ts @@ -6,6 +6,7 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +export * from "./eligibleChildResources"; export * from "./roleAssignmentSchedules"; export * from "./roleAssignmentScheduleInstances"; export * from "./roleAssignmentScheduleRequests"; @@ -14,5 +15,3 @@ export * from "./roleEligibilityScheduleInstances"; export * from "./roleEligibilityScheduleRequests"; export * from "./roleManagementPolicies"; export * from "./roleManagementPolicyAssignments"; -export * from "./eligibleChildResources"; -export * from "./roleAssignments"; diff --git a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignmentScheduleInstances.ts b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignmentScheduleInstances.ts index 7ee590cfbb23..6e839fde6303 100644 --- a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignmentScheduleInstances.ts +++ b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignmentScheduleInstances.ts @@ -6,7 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleAssignmentScheduleInstance, diff --git a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignmentScheduleRequests.ts b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignmentScheduleRequests.ts index c46f3b993eb6..ddf1bb78ef4e 100644 --- a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignmentScheduleRequests.ts +++ b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignmentScheduleRequests.ts @@ -6,7 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleAssignmentScheduleRequest, @@ -15,7 +14,9 @@ import { RoleAssignmentScheduleRequestsCreateResponse, RoleAssignmentScheduleRequestsGetOptionalParams, RoleAssignmentScheduleRequestsGetResponse, - RoleAssignmentScheduleRequestsCancelOptionalParams + RoleAssignmentScheduleRequestsCancelOptionalParams, + RoleAssignmentScheduleRequestsValidateOptionalParams, + RoleAssignmentScheduleRequestsValidateResponse } from "../models"; /// @@ -33,14 +34,12 @@ export interface RoleAssignmentScheduleRequests { /** * Creates a role assignment schedule request. * @param scope The scope of the role assignment schedule request to create. The scope can be any REST - * resource instance. For example, use - * '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/' for a subscription, - * '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' - * for a resource group, and - * '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' + * resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, + * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and + * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' * for a resource. - * @param roleAssignmentScheduleRequestName The name of the role assignment to create. It can be any - * valid GUID. + * @param roleAssignmentScheduleRequestName A GUID for the role assignment to create. The name must be + * unique and different for each role assignment. * @param parameters Parameters for the role assignment schedule request. * @param options The options parameters. */ @@ -73,4 +72,17 @@ export interface RoleAssignmentScheduleRequests { roleAssignmentScheduleRequestName: string, options?: RoleAssignmentScheduleRequestsCancelOptionalParams ): Promise; + /** + * Validates a new role assignment schedule request. + * @param scope The scope of the role assignment request to validate. + * @param roleAssignmentScheduleRequestName The name of the role assignment request to validate. + * @param parameters Parameters for the role assignment schedule request. + * @param options The options parameters. + */ + validate( + scope: string, + roleAssignmentScheduleRequestName: string, + parameters: RoleAssignmentScheduleRequest, + options?: RoleAssignmentScheduleRequestsValidateOptionalParams + ): Promise; } diff --git a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignmentSchedules.ts b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignmentSchedules.ts index c0e5a062a1a6..860f62c3bfda 100644 --- a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignmentSchedules.ts +++ b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignmentSchedules.ts @@ -6,7 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleAssignmentSchedule, diff --git a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignments.ts b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignments.ts deleted file mode 100644 index 718ee54a19bd..000000000000 --- a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleAssignments.ts +++ /dev/null @@ -1,195 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import "@azure/core-paging"; -import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { - RoleAssignment, - RoleAssignmentsListForSubscriptionOptionalParams, - RoleAssignmentsListForResourceGroupOptionalParams, - RoleAssignmentsListForResourceOptionalParams, - RoleAssignmentsListForScopeOptionalParams, - RoleAssignmentsGetOptionalParams, - RoleAssignmentsGetResponse, - RoleAssignmentCreateParameters, - RoleAssignmentsCreateOptionalParams, - RoleAssignmentsCreateResponse, - RoleAssignmentsDeleteOptionalParams, - RoleAssignmentsDeleteResponse, - RoleAssignmentsValidateOptionalParams, - RoleAssignmentsValidateResponse, - RoleAssignmentsGetByIdOptionalParams, - RoleAssignmentsGetByIdResponse, - RoleAssignmentsCreateByIdOptionalParams, - RoleAssignmentsCreateByIdResponse, - RoleAssignmentsDeleteByIdOptionalParams, - RoleAssignmentsDeleteByIdResponse, - RoleAssignmentsValidateByIdOptionalParams, - RoleAssignmentsValidateByIdResponse -} from "../models"; - -/// -/** Interface representing a RoleAssignments. */ -export interface RoleAssignments { - /** - * List all role assignments that apply to a subscription. - * @param options The options parameters. - */ - listForSubscription( - options?: RoleAssignmentsListForSubscriptionOptionalParams - ): PagedAsyncIterableIterator; - /** - * List all role assignments that apply to a resource group. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param options The options parameters. - */ - listForResourceGroup( - resourceGroupName: string, - options?: RoleAssignmentsListForResourceGroupOptionalParams - ): PagedAsyncIterableIterator; - /** - * List all role assignments that apply to a resource. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param resourceProviderNamespace The namespace of the resource provider. - * @param resourceType The resource type name. For example the type name of a web app is 'sites' (from - * Microsoft.Web/sites). - * @param resourceName The resource name. - * @param options The options parameters. - */ - listForResource( - resourceGroupName: string, - resourceProviderNamespace: string, - resourceType: string, - resourceName: string, - options?: RoleAssignmentsListForResourceOptionalParams - ): PagedAsyncIterableIterator; - /** - * List all role assignments that apply to a scope. - * @param scope The scope of the operation or resource. Valid scopes are: subscription (format: - * '/subscriptions/{subscriptionId}'), resource group (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' - * @param options The options parameters. - */ - listForScope( - scope: string, - options?: RoleAssignmentsListForScopeOptionalParams - ): PagedAsyncIterableIterator; - /** - * Get a role assignment by scope and name. - * @param scope The scope of the operation or resource. Valid scopes are: subscription (format: - * '/subscriptions/{subscriptionId}'), resource group (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' - * @param roleAssignmentName The name of the role assignment. It can be any valid GUID. - * @param options The options parameters. - */ - get( - scope: string, - roleAssignmentName: string, - options?: RoleAssignmentsGetOptionalParams - ): Promise; - /** - * Create or update a role assignment by scope and name. - * @param scope The scope of the operation or resource. Valid scopes are: subscription (format: - * '/subscriptions/{subscriptionId}'), resource group (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' - * @param roleAssignmentName The name of the role assignment. It can be any valid GUID. - * @param parameters Parameters for the role assignment. - * @param options The options parameters. - */ - create( - scope: string, - roleAssignmentName: string, - parameters: RoleAssignmentCreateParameters, - options?: RoleAssignmentsCreateOptionalParams - ): Promise; - /** - * Delete a role assignment by scope and name. - * @param scope The scope of the operation or resource. Valid scopes are: subscription (format: - * '/subscriptions/{subscriptionId}'), resource group (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' - * @param roleAssignmentName The name of the role assignment. It can be any valid GUID. - * @param options The options parameters. - */ - delete( - scope: string, - roleAssignmentName: string, - options?: RoleAssignmentsDeleteOptionalParams - ): Promise; - /** - * Validate a role assignment create or update operation by scope and name. - * @param scope The scope of the operation or resource. Valid scopes are: subscription (format: - * '/subscriptions/{subscriptionId}'), resource group (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: - * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' - * @param roleAssignmentName The name of the role assignment. It can be any valid GUID. - * @param parameters Parameters for the role assignment. - * @param options The options parameters. - */ - validate( - scope: string, - roleAssignmentName: string, - parameters: RoleAssignmentCreateParameters, - options?: RoleAssignmentsValidateOptionalParams - ): Promise; - /** - * Get a role assignment by ID. - * @param roleAssignmentId The fully qualified ID of the role assignment including scope, resource - * name, and resource type. Format: - * /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: - * /subscriptions//resourcegroups//providers/Microsoft.Authorization/roleAssignments/ - * @param options The options parameters. - */ - getById( - roleAssignmentId: string, - options?: RoleAssignmentsGetByIdOptionalParams - ): Promise; - /** - * Create or update a role assignment by ID. - * @param roleAssignmentId The fully qualified ID of the role assignment including scope, resource - * name, and resource type. Format: - * /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: - * /subscriptions//resourcegroups//providers/Microsoft.Authorization/roleAssignments/ - * @param parameters Parameters for the role assignment. - * @param options The options parameters. - */ - createById( - roleAssignmentId: string, - parameters: RoleAssignmentCreateParameters, - options?: RoleAssignmentsCreateByIdOptionalParams - ): Promise; - /** - * Delete a role assignment by ID. - * @param roleAssignmentId The fully qualified ID of the role assignment including scope, resource - * name, and resource type. Format: - * /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: - * /subscriptions//resourcegroups//providers/Microsoft.Authorization/roleAssignments/ - * @param options The options parameters. - */ - deleteById( - roleAssignmentId: string, - options?: RoleAssignmentsDeleteByIdOptionalParams - ): Promise; - /** - * Validate a role assignment create or update operation by ID. - * @param roleAssignmentId The fully qualified ID of the role assignment including scope, resource - * name, and resource type. Format: - * /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: - * /subscriptions//resourcegroups//providers/Microsoft.Authorization/roleAssignments/ - * @param parameters Parameters for the role assignment. - * @param options The options parameters. - */ - validateById( - roleAssignmentId: string, - parameters: RoleAssignmentCreateParameters, - options?: RoleAssignmentsValidateByIdOptionalParams - ): Promise; -} diff --git a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleEligibilityScheduleInstances.ts b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleEligibilityScheduleInstances.ts index d59284393a78..a749afd71b39 100644 --- a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleEligibilityScheduleInstances.ts +++ b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleEligibilityScheduleInstances.ts @@ -6,7 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleEligibilityScheduleInstance, diff --git a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleEligibilityScheduleRequests.ts b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleEligibilityScheduleRequests.ts index 70c01dd4e630..469f04796775 100644 --- a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleEligibilityScheduleRequests.ts +++ b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleEligibilityScheduleRequests.ts @@ -6,7 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleEligibilityScheduleRequest, @@ -15,7 +14,9 @@ import { RoleEligibilityScheduleRequestsCreateResponse, RoleEligibilityScheduleRequestsGetOptionalParams, RoleEligibilityScheduleRequestsGetResponse, - RoleEligibilityScheduleRequestsCancelOptionalParams + RoleEligibilityScheduleRequestsCancelOptionalParams, + RoleEligibilityScheduleRequestsValidateOptionalParams, + RoleEligibilityScheduleRequestsValidateResponse } from "../models"; /// @@ -33,11 +34,9 @@ export interface RoleEligibilityScheduleRequests { /** * Creates a role eligibility schedule request. * @param scope The scope of the role eligibility schedule request to create. The scope can be any REST - * resource instance. For example, use - * '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/' for a subscription, - * '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' - * for a resource group, and - * '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' + * resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, + * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and + * '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' * for a resource. * @param roleEligibilityScheduleRequestName The name of the role eligibility to create. It can be any * valid GUID. @@ -73,4 +72,17 @@ export interface RoleEligibilityScheduleRequests { roleEligibilityScheduleRequestName: string, options?: RoleEligibilityScheduleRequestsCancelOptionalParams ): Promise; + /** + * Validates a new role eligibility schedule request. + * @param scope The scope of the role eligibility request to validate. + * @param roleEligibilityScheduleRequestName The name of the role eligibility request to validate. + * @param parameters Parameters for the role eligibility schedule request. + * @param options The options parameters. + */ + validate( + scope: string, + roleEligibilityScheduleRequestName: string, + parameters: RoleEligibilityScheduleRequest, + options?: RoleEligibilityScheduleRequestsValidateOptionalParams + ): Promise; } diff --git a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleEligibilitySchedules.ts b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleEligibilitySchedules.ts index 8722a0e08226..7a8e00368b23 100644 --- a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleEligibilitySchedules.ts +++ b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleEligibilitySchedules.ts @@ -6,7 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleEligibilitySchedule, diff --git a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleManagementPolicies.ts b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleManagementPolicies.ts index 43edadbd4354..1f9ef62fd721 100644 --- a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleManagementPolicies.ts +++ b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleManagementPolicies.ts @@ -6,7 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleManagementPolicy, diff --git a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleManagementPolicyAssignments.ts b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleManagementPolicyAssignments.ts index 4c06af309a19..04743a2ae06d 100644 --- a/sdk/authorization/arm-authorization/src/operationsInterfaces/roleManagementPolicyAssignments.ts +++ b/sdk/authorization/arm-authorization/src/operationsInterfaces/roleManagementPolicyAssignments.ts @@ -6,7 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RoleManagementPolicyAssignment, diff --git a/sdk/authorization/arm-authorization/test/sampleTest.ts b/sdk/authorization/arm-authorization/test/sampleTest.ts new file mode 100644 index 000000000000..7ed89b043e1b --- /dev/null +++ b/sdk/authorization/arm-authorization/test/sampleTest.ts @@ -0,0 +1,48 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + env, + record, + RecorderEnvironmentSetup, + Recorder +} from "@azure-tools/test-recorder"; +import * as assert from "assert"; + +const recorderEnvSetup: RecorderEnvironmentSetup = { + replaceableVariables: { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" + }, + customizationsOnRecordings: [ + (recording: any): any => + recording.replace( + /"access_token":"[^"]*"/g, + `"access_token":"access_token"` + ) + ], + queryParametersToSkip: [] +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function() { + recorder = record(this, recorderEnvSetup); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/authorization/arm-authorization/tsconfig.json b/sdk/authorization/arm-authorization/tsconfig.json index 603440b3a359..bd142baf706d 100644 --- a/sdk/authorization/arm-authorization/tsconfig.json +++ b/sdk/authorization/arm-authorization/tsconfig.json @@ -9,11 +9,25 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true + "importHelpers": true, + "paths": { + "@azure/arm-authorization": [ + "./src/index" + ] + } }, - "include": ["./src/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts", + "samples-dev/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/authorization/ci.mgmt.yml b/sdk/authorization/ci.mgmt.yml index a7561b803ee9..0aa8c51a57b6 100644 --- a/sdk/authorization/ci.mgmt.yml +++ b/sdk/authorization/ci.mgmt.yml @@ -9,8 +9,8 @@ trigger: paths: include: - sdk/authorization/ci.mgmt.yml - - sdk/authorization/arm-authorization/ - sdk/authorization/arm-authorization-profile-2020-09-01-hybrid + - sdk/authorization/arm-authorization pr: branches: include: @@ -23,8 +23,8 @@ pr: paths: include: - sdk/authorization/ci.mgmt.yml - - sdk/authorization/arm-authorization/ - sdk/authorization/arm-authorization-profile-2020-09-01-hybrid + - sdk/authorization/arm-authorization extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: