@azure/arm-domainservices 3.2.1 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +2502 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/domainServicesResourceProvider.d.ts +22 -0
  9. package/dist-esm/src/domainServicesResourceProvider.d.ts.map +1 -0
  10. package/dist-esm/src/domainServicesResourceProvider.js +55 -0
  11. package/dist-esm/src/domainServicesResourceProvider.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +768 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +98 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +27 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/dist-esm/src/models/mappers.js +1015 -0
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +13 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +117 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/domainServiceOperations.d.ts +32 -0
  33. package/dist-esm/src/operations/domainServiceOperations.d.ts.map +1 -0
  34. package/dist-esm/src/operations/domainServiceOperations.js +120 -0
  35. package/dist-esm/src/operations/domainServiceOperations.js.map +1 -0
  36. package/dist-esm/src/operations/domainServices.d.ts +127 -0
  37. package/dist-esm/src/operations/domainServices.d.ts.map +1 -0
  38. package/dist-esm/src/operations/domainServices.js +520 -0
  39. package/dist-esm/src/operations/domainServices.js.map +1 -0
  40. package/dist-esm/src/operations/index.d.ts +5 -0
  41. package/dist-esm/src/operations/index.d.ts.map +1 -0
  42. package/dist-esm/src/operations/index.js +12 -0
  43. package/dist-esm/src/operations/index.js.map +1 -0
  44. package/dist-esm/src/operations/ouContainerOperationGrp.d.ts +111 -0
  45. package/dist-esm/src/operations/ouContainerOperationGrp.d.ts.map +1 -0
  46. package/dist-esm/src/operations/ouContainerOperationGrp.js +441 -0
  47. package/dist-esm/src/operations/ouContainerOperationGrp.js.map +1 -0
  48. package/dist-esm/src/operations/ouContainerOperations.d.ts +32 -0
  49. package/dist-esm/src/operations/ouContainerOperations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/ouContainerOperations.js +120 -0
  51. package/dist-esm/src/operations/ouContainerOperations.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/domainServiceOperations.d.ts +11 -0
  53. package/dist-esm/src/operationsInterfaces/domainServiceOperations.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/domainServiceOperations.js +9 -0
  55. package/dist-esm/src/operationsInterfaces/domainServiceOperations.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/domainServices.d.ts +87 -0
  57. package/dist-esm/src/operationsInterfaces/domainServices.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/domainServices.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/domainServices.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  61. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/index.js +12 -0
  63. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.d.ts +84 -0
  65. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/ouContainerOperations.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/ouContainerOperations.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/ouContainerOperations.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/ouContainerOperations.js.map +1 -0
  72. package/dist-esm/test/sampleTest.d.ts +2 -0
  73. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  74. package/dist-esm/test/sampleTest.js +40 -0
  75. package/dist-esm/test/sampleTest.js.map +1 -0
  76. package/package.json +68 -33
  77. package/review/arm-domainservices.api.md +591 -0
  78. package/rollup.config.js +184 -27
  79. package/src/domainServicesResourceProvider.ts +92 -0
  80. package/src/index.ts +12 -0
  81. package/src/lroImpl.ts +34 -0
  82. package/src/models/index.ts +689 -557
  83. package/src/models/mappers.ts +760 -217
  84. package/src/models/parameters.ts +87 -29
  85. package/src/operations/domainServiceOperations.ts +87 -73
  86. package/src/operations/domainServices.ts +519 -342
  87. package/src/operations/index.ts +5 -5
  88. package/src/operations/ouContainerOperationGrp.ts +632 -0
  89. package/src/operations/ouContainerOperations.ts +137 -0
  90. package/src/operationsInterfaces/domainServiceOperations.ts +25 -0
  91. package/src/operationsInterfaces/domainServices.ts +154 -0
  92. package/src/operationsInterfaces/index.ts +12 -0
  93. package/src/operationsInterfaces/ouContainerOperationGrp.ts +157 -0
  94. package/src/operationsInterfaces/ouContainerOperations.ts +25 -0
  95. package/tsconfig.json +4 -4
  96. package/types/arm-domainservices.d.ts +1062 -0
  97. package/types/tsdoc-metadata.json +11 -0
  98. package/dist/arm-domainservices.js +0 -1233
  99. package/dist/arm-domainservices.js.map +0 -1
  100. package/dist/arm-domainservices.min.js +0 -1
  101. package/dist/arm-domainservices.min.js.map +0 -1
  102. package/esm/domainservicesManagementClient.d.ts +0 -26
  103. package/esm/domainservicesManagementClient.d.ts.map +0 -1
  104. package/esm/domainservicesManagementClient.js +0 -40
  105. package/esm/domainservicesManagementClient.js.map +0 -1
  106. package/esm/domainservicesManagementClientContext.d.ts +0 -23
  107. package/esm/domainservicesManagementClientContext.d.ts.map +0 -1
  108. package/esm/domainservicesManagementClientContext.js +0 -62
  109. package/esm/domainservicesManagementClientContext.js.map +0 -1
  110. package/esm/models/domainServiceOperationsMappers.d.ts +0 -2
  111. package/esm/models/domainServiceOperationsMappers.d.ts.map +0 -1
  112. package/esm/models/domainServiceOperationsMappers.js +0 -11
  113. package/esm/models/domainServiceOperationsMappers.js.map +0 -1
  114. package/esm/models/domainServicesMappers.d.ts +0 -2
  115. package/esm/models/domainServicesMappers.d.ts.map +0 -1
  116. package/esm/models/domainServicesMappers.js +0 -11
  117. package/esm/models/domainServicesMappers.js.map +0 -1
  118. package/esm/models/index.d.ts +0 -693
  119. package/esm/models/index.d.ts.map +0 -1
  120. package/esm/models/index.js +0 -10
  121. package/esm/models/index.js.map +0 -1
  122. package/esm/models/mappers.d.ts +0 -15
  123. package/esm/models/mappers.d.ts.map +0 -1
  124. package/esm/models/mappers.js +0 -498
  125. package/esm/models/mappers.js.map +0 -1
  126. package/esm/models/parameters.d.ts +0 -8
  127. package/esm/models/parameters.d.ts.map +0 -1
  128. package/esm/models/parameters.js +0 -76
  129. package/esm/models/parameters.js.map +0 -1
  130. package/esm/operations/domainServiceOperations.d.ts +0 -46
  131. package/esm/operations/domainServiceOperations.d.ts.map +0 -1
  132. package/esm/operations/domainServiceOperations.js +0 -77
  133. package/esm/operations/domainServiceOperations.js.map +0 -1
  134. package/esm/operations/domainServices.d.ts +0 -189
  135. package/esm/operations/domainServices.d.ts.map +0 -1
  136. package/esm/operations/domainServices.js +0 -356
  137. package/esm/operations/domainServices.js.map +0 -1
  138. package/esm/operations/index.d.ts +0 -3
  139. package/esm/operations/index.d.ts.map +0 -1
  140. package/esm/operations/index.js +0 -12
  141. package/esm/operations/index.js.map +0 -1
  142. package/src/domainservicesManagementClient.ts +0 -51
  143. package/src/domainservicesManagementClientContext.ts +0 -69
  144. package/src/models/domainServiceOperationsMappers.ts +0 -17
  145. package/src/models/domainServicesMappers.ts +0 -23
@@ -0,0 +1,120 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing OuContainerOperations operations. */
14
+ export class OuContainerOperationsImpl {
15
+ /**
16
+ * Initialize a new instance of the class OuContainerOperations class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists all the available OuContainer operations.
24
+ * @param options The options parameters.
25
+ */
26
+ list(options) {
27
+ const iter = this.listPagingAll(options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: () => {
36
+ return this.listPagingPage(options);
37
+ }
38
+ };
39
+ }
40
+ listPagingPage(options) {
41
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
42
+ let result = yield __await(this._list(options));
43
+ yield yield __await(result.value || []);
44
+ let continuationToken = result.nextLink;
45
+ while (continuationToken) {
46
+ result = yield __await(this._listNext(continuationToken, options));
47
+ continuationToken = result.nextLink;
48
+ yield yield __await(result.value || []);
49
+ }
50
+ });
51
+ }
52
+ listPagingAll(options) {
53
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
54
+ var e_1, _a;
55
+ try {
56
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
57
+ const page = _c.value;
58
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
59
+ }
60
+ }
61
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
62
+ finally {
63
+ try {
64
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
65
+ }
66
+ finally { if (e_1) throw e_1.error; }
67
+ }
68
+ });
69
+ }
70
+ /**
71
+ * Lists all the available OuContainer operations.
72
+ * @param options The options parameters.
73
+ */
74
+ _list(options) {
75
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
76
+ }
77
+ /**
78
+ * ListNext
79
+ * @param nextLink The nextLink from the previous successful call to the List method.
80
+ * @param options The options parameters.
81
+ */
82
+ _listNext(nextLink, options) {
83
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
84
+ }
85
+ }
86
+ // Operation Specifications
87
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
88
+ const listOperationSpec = {
89
+ path: "/providers/Microsoft.Aad/operations",
90
+ httpMethod: "GET",
91
+ responses: {
92
+ 200: {
93
+ bodyMapper: Mappers.OperationEntityListResult
94
+ },
95
+ default: {
96
+ bodyMapper: Mappers.CloudError
97
+ }
98
+ },
99
+ queryParameters: [Parameters.apiVersion],
100
+ urlParameters: [Parameters.$host],
101
+ headerParameters: [Parameters.accept],
102
+ serializer
103
+ };
104
+ const listNextOperationSpec = {
105
+ path: "{nextLink}",
106
+ httpMethod: "GET",
107
+ responses: {
108
+ 200: {
109
+ bodyMapper: Mappers.OperationEntityListResult
110
+ },
111
+ default: {
112
+ bodyMapper: Mappers.CloudError
113
+ }
114
+ },
115
+ queryParameters: [Parameters.apiVersion],
116
+ urlParameters: [Parameters.$host, Parameters.nextLink],
117
+ headerParameters: [Parameters.accept],
118
+ serializer
119
+ };
120
+ //# sourceMappingURL=ouContainerOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ouContainerOperations.js","sourceRoot":"","sources":["../../../src/operations/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C,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { OperationEntity, DomainServiceOperationsListOptionalParams } from "../models";
3
+ /** Interface representing a DomainServiceOperations. */
4
+ export interface DomainServiceOperations {
5
+ /**
6
+ * Lists all the available Domain Services operations.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: DomainServiceOperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
10
+ }
11
+ //# sourceMappingURL=domainServiceOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainServiceOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/domainServiceOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,eAAe,EACf,yCAAyC,EAC1C,MAAM,WAAW,CAAC;AAGnB,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,eAAe,CAAC,CAAC;CAChD"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=domainServiceOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainServiceOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/domainServiceOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,87 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { DomainService, DomainServicesListOptionalParams, DomainServicesListByResourceGroupOptionalParams, DomainServicesCreateOrUpdateOptionalParams, DomainServicesCreateOrUpdateResponse, DomainServicesGetOptionalParams, DomainServicesGetResponse, DomainServicesDeleteOptionalParams, DomainServicesUpdateOptionalParams, DomainServicesUpdateResponse } from "../models";
4
+ /** Interface representing a DomainServices. */
5
+ export interface DomainServices {
6
+ /**
7
+ * The List Domain Services in Subscription operation lists all the domain services available under the
8
+ * given subscription (and across all resource groups within that subscription).
9
+ * @param options The options parameters.
10
+ */
11
+ list(options?: DomainServicesListOptionalParams): PagedAsyncIterableIterator<DomainService>;
12
+ /**
13
+ * The List Domain Services in Resource Group operation lists all the domain services available under
14
+ * the given resource group.
15
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
16
+ * case insensitive.
17
+ * @param options The options parameters.
18
+ */
19
+ listByResourceGroup(resourceGroupName: string, options?: DomainServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DomainService>;
20
+ /**
21
+ * The Create Domain Service operation creates a new domain service with the specified parameters. If
22
+ * the specific service already exists, then any patchable properties will be updated and any immutable
23
+ * properties will remain unchanged.
24
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
25
+ * case insensitive.
26
+ * @param domainServiceName The name of the domain service.
27
+ * @param domainService Properties supplied to the Create or Update a Domain Service operation.
28
+ * @param options The options parameters.
29
+ */
30
+ beginCreateOrUpdate(resourceGroupName: string, domainServiceName: string, domainService: DomainService, options?: DomainServicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DomainServicesCreateOrUpdateResponse>, DomainServicesCreateOrUpdateResponse>>;
31
+ /**
32
+ * The Create Domain Service operation creates a new domain service with the specified parameters. If
33
+ * the specific service already exists, then any patchable properties will be updated and any immutable
34
+ * properties will remain unchanged.
35
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
36
+ * case insensitive.
37
+ * @param domainServiceName The name of the domain service.
38
+ * @param domainService Properties supplied to the Create or Update a Domain Service operation.
39
+ * @param options The options parameters.
40
+ */
41
+ beginCreateOrUpdateAndWait(resourceGroupName: string, domainServiceName: string, domainService: DomainService, options?: DomainServicesCreateOrUpdateOptionalParams): Promise<DomainServicesCreateOrUpdateResponse>;
42
+ /**
43
+ * The Get Domain Service operation retrieves a json representation of the Domain Service.
44
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
45
+ * case insensitive.
46
+ * @param domainServiceName The name of the domain service.
47
+ * @param options The options parameters.
48
+ */
49
+ get(resourceGroupName: string, domainServiceName: string, options?: DomainServicesGetOptionalParams): Promise<DomainServicesGetResponse>;
50
+ /**
51
+ * The Delete Domain Service operation deletes an existing Domain Service.
52
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
53
+ * case insensitive.
54
+ * @param domainServiceName The name of the domain service.
55
+ * @param options The options parameters.
56
+ */
57
+ beginDelete(resourceGroupName: string, domainServiceName: string, options?: DomainServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
58
+ /**
59
+ * The Delete Domain Service operation deletes an existing Domain Service.
60
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
61
+ * case insensitive.
62
+ * @param domainServiceName The name of the domain service.
63
+ * @param options The options parameters.
64
+ */
65
+ beginDeleteAndWait(resourceGroupName: string, domainServiceName: string, options?: DomainServicesDeleteOptionalParams): Promise<void>;
66
+ /**
67
+ * The Update Domain Service operation can be used to update the existing deployment. The update call
68
+ * only supports the properties listed in the PATCH body.
69
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
70
+ * case insensitive.
71
+ * @param domainServiceName The name of the domain service.
72
+ * @param domainService Properties supplied to the Update a Domain Service operation.
73
+ * @param options The options parameters.
74
+ */
75
+ beginUpdate(resourceGroupName: string, domainServiceName: string, domainService: DomainService, options?: DomainServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<DomainServicesUpdateResponse>, DomainServicesUpdateResponse>>;
76
+ /**
77
+ * The Update Domain Service operation can be used to update the existing deployment. The update call
78
+ * only supports the properties listed in the PATCH body.
79
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
80
+ * case insensitive.
81
+ * @param domainServiceName The name of the domain service.
82
+ * @param domainService Properties supplied to the Update a Domain Service operation.
83
+ * @param options The options parameters.
84
+ */
85
+ beginUpdateAndWait(resourceGroupName: string, domainServiceName: string, domainService: DomainService, options?: DomainServicesUpdateOptionalParams): Promise<DomainServicesUpdateResponse>;
86
+ }
87
+ //# sourceMappingURL=domainServices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainServices.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/domainServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,aAAa,EACb,gCAAgC,EAChC,+CAA+C,EAC/C,0CAA0C,EAC1C,oCAAoC,EACpC,+BAA+B,EAC/B,yBAAyB,EACzB,kCAAkC,EAClC,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,WAAW,CAAC;AAGnB,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;;;;;;;OASG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,aAAa,EAC5B,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,oCAAoC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
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=domainServices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domainServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/domainServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,5 @@
1
+ export * from "./domainServiceOperations";
2
+ export * from "./domainServices";
3
+ export * from "./ouContainerOperations";
4
+ export * from "./ouContainerOperationGrp";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,12 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./domainServiceOperations";
9
+ export * from "./domainServices";
10
+ export * from "./ouContainerOperations";
11
+ export * from "./ouContainerOperationGrp";
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,84 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { OuContainer, OuContainerListOptionalParams, OuContainerGetOptionalParams, OuContainerGetResponse, ContainerAccount, OuContainerCreateOptionalParams, OuContainerCreateResponse, OuContainerDeleteOptionalParams, OuContainerUpdateOptionalParams, OuContainerUpdateResponse } from "../models";
4
+ /** Interface representing a OuContainerOperationGrp. */
5
+ export interface OuContainerOperationGrp {
6
+ /**
7
+ * The List of OuContainers in DomainService instance.
8
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
9
+ * case insensitive.
10
+ * @param domainServiceName The name of the domain service.
11
+ * @param options The options parameters.
12
+ */
13
+ list(resourceGroupName: string, domainServiceName: string, options?: OuContainerListOptionalParams): PagedAsyncIterableIterator<OuContainer>;
14
+ /**
15
+ * Get OuContainer in DomainService instance.
16
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
17
+ * case insensitive.
18
+ * @param domainServiceName The name of the domain service.
19
+ * @param ouContainerName The name of the OuContainer.
20
+ * @param options The options parameters.
21
+ */
22
+ get(resourceGroupName: string, domainServiceName: string, ouContainerName: string, options?: OuContainerGetOptionalParams): Promise<OuContainerGetResponse>;
23
+ /**
24
+ * The Create OuContainer operation creates a new OuContainer under the specified Domain Service
25
+ * instance.
26
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
27
+ * case insensitive.
28
+ * @param domainServiceName The name of the domain service.
29
+ * @param ouContainerName The name of the OuContainer.
30
+ * @param containerAccount Container Account Description.
31
+ * @param options The options parameters.
32
+ */
33
+ beginCreate(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerCreateOptionalParams): Promise<PollerLike<PollOperationState<OuContainerCreateResponse>, OuContainerCreateResponse>>;
34
+ /**
35
+ * The Create OuContainer operation creates a new OuContainer under the specified Domain Service
36
+ * instance.
37
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
38
+ * case insensitive.
39
+ * @param domainServiceName The name of the domain service.
40
+ * @param ouContainerName The name of the OuContainer.
41
+ * @param containerAccount Container Account Description.
42
+ * @param options The options parameters.
43
+ */
44
+ beginCreateAndWait(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerCreateOptionalParams): Promise<OuContainerCreateResponse>;
45
+ /**
46
+ * The Delete OuContainer operation deletes specified OuContainer.
47
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
48
+ * case insensitive.
49
+ * @param domainServiceName The name of the domain service.
50
+ * @param ouContainerName The name of the OuContainer.
51
+ * @param options The options parameters.
52
+ */
53
+ beginDelete(resourceGroupName: string, domainServiceName: string, ouContainerName: string, options?: OuContainerDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
54
+ /**
55
+ * The Delete OuContainer operation deletes specified OuContainer.
56
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
57
+ * case insensitive.
58
+ * @param domainServiceName The name of the domain service.
59
+ * @param ouContainerName The name of the OuContainer.
60
+ * @param options The options parameters.
61
+ */
62
+ beginDeleteAndWait(resourceGroupName: string, domainServiceName: string, ouContainerName: string, options?: OuContainerDeleteOptionalParams): Promise<void>;
63
+ /**
64
+ * The Update OuContainer operation can be used to update the existing OuContainers.
65
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
66
+ * case insensitive.
67
+ * @param domainServiceName The name of the domain service.
68
+ * @param ouContainerName The name of the OuContainer.
69
+ * @param containerAccount Container Account Description.
70
+ * @param options The options parameters.
71
+ */
72
+ beginUpdate(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerUpdateOptionalParams): Promise<PollerLike<PollOperationState<OuContainerUpdateResponse>, OuContainerUpdateResponse>>;
73
+ /**
74
+ * The Update OuContainer operation can be used to update the existing OuContainers.
75
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
76
+ * case insensitive.
77
+ * @param domainServiceName The name of the domain service.
78
+ * @param ouContainerName The name of the OuContainer.
79
+ * @param containerAccount Container Account Description.
80
+ * @param options The options parameters.
81
+ */
82
+ beginUpdateAndWait(resourceGroupName: string, domainServiceName: string, ouContainerName: string, containerAccount: ContainerAccount, options?: OuContainerUpdateOptionalParams): Promise<OuContainerUpdateResponse>;
83
+ }
84
+ //# sourceMappingURL=ouContainerOperationGrp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ouContainerOperationGrp.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/ouContainerOperationGrp.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,WAAW,EACX,6BAA6B,EAC7B,4BAA4B,EAC5B,sBAAsB,EACtB,gBAAgB,EAChB,+BAA+B,EAC/B,yBAAyB,EACzB,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EAC1B,MAAM,WAAW,CAAC;AAGnB,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC;;;;;;OAMG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC3C;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;;;;OASG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,yBAAyB,CAAC,EAC7C,yBAAyB,CAC1B,CACF,CAAC;IACF;;;;;;;;;OASG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,yBAAyB,CAAC,EAC7C,yBAAyB,CAC1B,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=ouContainerOperationGrp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ouContainerOperationGrp.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/ouContainerOperationGrp.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { OperationEntity, OuContainerOperationsListOptionalParams } from "../models";
3
+ /** Interface representing a OuContainerOperations. */
4
+ export interface OuContainerOperations {
5
+ /**
6
+ * Lists all the available OuContainer operations.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: OuContainerOperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
10
+ }
11
+ //# sourceMappingURL=ouContainerOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ouContainerOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/ouContainerOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,eAAe,EACf,uCAAuC,EACxC,MAAM,WAAW,CAAC;AAGnB,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,uCAAuC,GAChD,0BAA0B,CAAC,eAAe,CAAC,CAAC;CAChD"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=ouContainerOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ouContainerOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/ouContainerOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sampleTest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ import { record } from "@azure-tools/test-recorder";
10
+ const recorderEnvSetup = {
11
+ replaceableVariables: {
12
+ AZURE_CLIENT_ID: "azure_client_id",
13
+ AZURE_CLIENT_SECRET: "azure_client_secret",
14
+ AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
15
+ SUBSCRIPTION_ID: "azure_subscription_id"
16
+ },
17
+ customizationsOnRecordings: [
18
+ (recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
19
+ ],
20
+ queryParametersToSkip: []
21
+ };
22
+ describe("My test", () => {
23
+ let recorder;
24
+ beforeEach(function () {
25
+ return __awaiter(this, void 0, void 0, function* () {
26
+ recorder = record(this, recorderEnvSetup);
27
+ });
28
+ });
29
+ afterEach(function () {
30
+ return __awaiter(this, void 0, void 0, function* () {
31
+ yield recorder.stop();
32
+ });
33
+ });
34
+ it("sample test", function () {
35
+ return __awaiter(this, void 0, void 0, function* () {
36
+ console.log("Hi, I'm a test!");
37
+ });
38
+ });
39
+ });
40
+ //# sourceMappingURL=sampleTest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAEL,MAAM,EAGP,MAAM,4BAA4B,CAAC;AAGpC,MAAM,gBAAgB,GAA6B;IACjD,oBAAoB,EAAE;QACpB,eAAe,EAAE,iBAAiB;QAClC,mBAAmB,EAAE,qBAAqB;QAC1C,eAAe,EAAE,sCAAsC;QACvD,eAAe,EAAE,uBAAuB;KACzC;IACD,0BAA0B,EAAE;QAC1B,CAAC,SAAc,EAAO,EAAE,CACtB,SAAS,CAAC,OAAO,CACf,yBAAyB,EACzB,+BAA+B,CAChC;KACJ;IACD,qBAAqB,EAAE,EAAE;CAC1B,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAC5C,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,56 +1,91 @@
1
1
  {
2
2
  "name": "@azure/arm-domainservices",
3
+ "sdk-type": "mgmt",
3
4
  "author": "Microsoft Corporation",
4
- "description": "DomainservicesManagementClient Library with typescript type definitions for node.js and browser.",
5
- "version": "3.2.1",
5
+ "description": "A generated SDK for DomainServicesResourceProvider.",
6
+ "version": "4.0.0",
7
+ "engines": { "node": ">=12.0.0" },
6
8
  "dependencies": {
7
- "@azure/ms-rest-azure-js": "^1.4.0",
8
- "@azure/ms-rest-js": "^1.11.0",
9
- "@azure/core-auth": "^1.1.4",
10
- "tslib": "^1.9.3"
9
+ "@azure/core-lro": "^2.2.0",
10
+ "@azure/abort-controller": "^1.0.0",
11
+ "@azure/core-paging": "^1.2.0",
12
+ "@azure/core-client": "^1.0.0",
13
+ "@azure/core-auth": "^1.3.0",
14
+ "@azure/core-rest-pipeline": "^1.1.0",
15
+ "tslib": "^2.2.0"
11
16
  },
12
- "keywords": [
13
- "node",
14
- "azure",
15
- "typescript",
16
- "browser",
17
- "isomorphic"
18
- ],
17
+ "keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
19
18
  "license": "MIT",
20
- "main": "./dist/arm-domainservices.js",
21
- "module": "./esm/domainservicesManagementClient.js",
22
- "types": "./esm/domainservicesManagementClient.d.ts",
19
+ "main": "./dist/index.js",
20
+ "module": "./dist-esm/src/index.js",
21
+ "types": "./types/arm-domainservices.d.ts",
23
22
  "devDependencies": {
24
- "typescript": "^3.6.0",
25
- "rollup": "^0.66.2",
26
- "rollup-plugin-node-resolve": "^3.4.0",
27
- "uglify-js": "^3.4.9"
23
+ "@microsoft/api-extractor": "^7.18.11",
24
+ "@rollup/plugin-commonjs": "11.0.2",
25
+ "@rollup/plugin-json": "^4.0.0",
26
+ "@rollup/plugin-multi-entry": "^3.0.0",
27
+ "@rollup/plugin-node-resolve": "^8.0.0",
28
+ "mkdirp": "^1.0.4",
29
+ "rollup": "^1.16.3",
30
+ "rollup-plugin-sourcemaps": "^0.4.2",
31
+ "typescript": "~4.2.0",
32
+ "uglify-js": "^3.4.9",
33
+ "rimraf": "^3.0.0",
34
+ "@azure/identity": "^2.0.1",
35
+ "@azure-tools/test-recorder": "^1.0.0",
36
+ "mocha": "^7.1.1",
37
+ "cross-env": "^7.0.2"
28
38
  },
29
- "homepage": "https://github.com/azure/azure-sdk-for-js/tree/feature/v4/sdk/domainservices/arm-domainservices",
39
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/domainservices/arm-domainservices",
30
40
  "repository": {
31
41
  "type": "git",
32
- "url": "https://github.com/azure/azure-sdk-for-js.git"
33
- },
34
- "bugs": {
35
- "url": "https://github.com/azure/azure-sdk-for-js/issues"
42
+ "url": "https://github.com/Azure/azure-sdk-for-js.git"
36
43
  },
44
+ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
37
45
  "files": [
38
46
  "dist/**/*.js",
39
47
  "dist/**/*.js.map",
40
48
  "dist/**/*.d.ts",
41
49
  "dist/**/*.d.ts.map",
42
- "esm/**/*.js",
43
- "esm/**/*.js.map",
44
- "esm/**/*.d.ts",
45
- "esm/**/*.d.ts.map",
50
+ "dist-esm/**/*.js",
51
+ "dist-esm/**/*.js.map",
52
+ "dist-esm/**/*.d.ts",
53
+ "dist-esm/**/*.d.ts.map",
46
54
  "src/**/*.ts",
55
+ "README.md",
56
+ "LICENSE",
47
57
  "rollup.config.js",
48
- "tsconfig.json"
58
+ "tsconfig.json",
59
+ "review/*",
60
+ "CHANGELOG.md",
61
+ "types/*"
49
62
  ],
50
63
  "scripts": {
51
- "build": "tsc && rollup -c rollup.config.js && npm run minify",
52
- "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-domainservices.js.map'\" -o ./dist/arm-domainservices.min.js ./dist/arm-domainservices.js",
53
- "prepack": "npm install && npm run build"
64
+ "build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
65
+ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
66
+ "prepack": "npm run build",
67
+ "pack": "npm pack 2>&1",
68
+ "extract-api": "api-extractor run --local",
69
+ "lint": "echo skipped",
70
+ "audit": "echo skipped",
71
+ "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
72
+ "build:node": "echo skipped",
73
+ "build:browser": "echo skipped",
74
+ "build:test": "echo skipped",
75
+ "build:samples": "echo skipped.",
76
+ "check-format": "echo skipped",
77
+ "execute:samples": "echo skipped",
78
+ "format": "echo skipped",
79
+ "test": "npm run integration-test",
80
+ "test:node": "echo skipped",
81
+ "test:browser": "echo skipped",
82
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
83
+ "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
84
+ "unit-test:browser": "echo skipped",
85
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
86
+ "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
87
+ "integration-test:browser": "echo skipped",
88
+ "docs": "echo skipped"
54
89
  },
55
90
  "sideEffects": false,
56
91
  "autoPublish": true