@azure/arm-healthbot 1.0.0 → 2.0.1-alpha.20220113.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/LICENSE +21 -0
  3. package/README.md +70 -74
  4. package/dist/index.js +1301 -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/healthbotClient.d.ts +19 -0
  9. package/dist-esm/src/healthbotClient.d.ts.map +1 -0
  10. package/dist-esm/src/healthbotClient.js +52 -0
  11. package/dist-esm/src/healthbotClient.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 +309 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +16 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +19 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +252 -199
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +12 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +112 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/bots.d.ts +99 -0
  33. package/dist-esm/src/operations/bots.d.ts.map +1 -0
  34. package/dist-esm/src/operations/bots.js +454 -0
  35. package/dist-esm/src/operations/bots.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/{esm → dist-esm/src}/operations/index.js +1 -2
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/operations.d.ts +32 -0
  41. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/operations.js +120 -0
  43. package/dist-esm/src/operations/operations.js.map +1 -0
  44. package/dist-esm/src/operationsInterfaces/bots.d.ts +63 -0
  45. package/dist-esm/src/operationsInterfaces/bots.d.ts.map +1 -0
  46. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/bots.js} +2 -1
  47. package/dist-esm/src/operationsInterfaces/bots.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  49. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  50. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/index.js} +3 -2
  51. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  53. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  55. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  56. package/dist-esm/test/sampleTest.d.ts +2 -0
  57. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  58. package/dist-esm/test/sampleTest.js +40 -0
  59. package/dist-esm/test/sampleTest.js.map +1 -0
  60. package/package.json +65 -21
  61. package/review/arm-healthbot.api.md +271 -0
  62. package/rollup.config.js +181 -30
  63. package/src/healthbotClient.ts +62 -28
  64. package/src/index.ts +12 -0
  65. package/src/lroImpl.ts +34 -0
  66. package/src/models/index.ts +239 -394
  67. package/src/models/mappers.ts +260 -204
  68. package/src/models/parameters.ts +81 -33
  69. package/src/operations/bots.ts +424 -322
  70. package/src/operations/index.ts +1 -2
  71. package/src/operations/operations.ts +87 -75
  72. package/src/operationsInterfaces/bots.ts +116 -0
  73. package/src/{models/operationsMappers.ts → operationsInterfaces/index.ts} +2 -8
  74. package/src/operationsInterfaces/operations.ts +22 -0
  75. package/tsconfig.json +3 -3
  76. package/types/arm-healthbot.d.ts +439 -0
  77. package/types/tsdoc-metadata.json +11 -0
  78. package/dist/arm-healthbot.js +0 -1133
  79. package/dist/arm-healthbot.js.map +0 -1
  80. package/dist/arm-healthbot.min.js +0 -1
  81. package/dist/arm-healthbot.min.js.map +0 -1
  82. package/esm/healthbotClient.d.ts +0 -19
  83. package/esm/healthbotClient.d.ts.map +0 -1
  84. package/esm/healthbotClient.js +0 -33
  85. package/esm/healthbotClient.js.map +0 -1
  86. package/esm/healthbotClientContext.d.ts +0 -16
  87. package/esm/healthbotClientContext.d.ts.map +0 -1
  88. package/esm/healthbotClientContext.js +0 -55
  89. package/esm/healthbotClientContext.js.map +0 -1
  90. package/esm/models/botsMappers.d.ts +0 -2
  91. package/esm/models/botsMappers.d.ts.map +0 -1
  92. package/esm/models/botsMappers.js +0 -9
  93. package/esm/models/botsMappers.js.map +0 -1
  94. package/esm/models/index.d.ts +0 -464
  95. package/esm/models/index.d.ts.map +0 -1
  96. package/esm/models/index.js.map +0 -1
  97. package/esm/models/mappers.d.ts +0 -19
  98. package/esm/models/mappers.d.ts.map +0 -1
  99. package/esm/models/mappers.js.map +0 -1
  100. package/esm/models/operationsMappers.d.ts +0 -2
  101. package/esm/models/operationsMappers.d.ts.map +0 -1
  102. package/esm/models/operationsMappers.js.map +0 -1
  103. package/esm/models/parameters.d.ts +0 -8
  104. package/esm/models/parameters.d.ts.map +0 -1
  105. package/esm/models/parameters.js +0 -80
  106. package/esm/models/parameters.js.map +0 -1
  107. package/esm/operations/bots.d.ts +0 -162
  108. package/esm/operations/bots.d.ts.map +0 -1
  109. package/esm/operations/bots.js +0 -319
  110. package/esm/operations/bots.js.map +0 -1
  111. package/esm/operations/index.d.ts.map +0 -1
  112. package/esm/operations/index.js.map +0 -1
  113. package/esm/operations/operations.d.ts +0 -46
  114. package/esm/operations/operations.d.ts.map +0 -1
  115. package/esm/operations/operations.js +0 -79
  116. package/esm/operations/operations.js.map +0 -1
  117. package/src/healthbotClientContext.ts +0 -61
  118. package/src/models/botsMappers.ts +0 -22
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bots.js","sourceRoot":"","sources":["../../../src/operations/bots.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAqBrC,4CAA4C;AAC5C,wCAAwC;AACxC,MAAM,OAAO,QAAQ;IAGnB;;;OAGG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAA+C;QAE/C,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,6BAA6B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;YACxE,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,6BAA6B,CAC1C,iBAAyB,EACzB,OAA+C;;YAE/C,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA,CAAC;YACzE,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AAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
@@ -3,8 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
7
  */
9
8
  export * from "./bots";
10
9
  export * from "./operations";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces";
3
+ import { HealthbotClient } from "../healthbotClient";
4
+ import { OperationDetail, OperationsListOptionalParams } from "../models";
5
+ /** Class containing Operations operations. */
6
+ export declare class OperationsImpl implements Operations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Operations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: HealthbotClient);
13
+ /**
14
+ * Lists all the available Azure Health Bot operations.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationDetail>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Lists all the available Azure Health Bot operations.
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ /**
26
+ * ListNext
27
+ * @param nextLink The nextLink from the previous successful call to the List method.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listNext;
31
+ }
32
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,eAAe,EAEf,4BAA4B,EAG7B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;;OAGG;gBACS,MAAM,EAAE,eAAe;IAInC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,eAAe,CAAC;YAe/B,cAAc;YAad,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -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 Operations operations. */
14
+ export class OperationsImpl {
15
+ /**
16
+ * Initialize a new instance of the class Operations class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists all the available Azure Health Bot 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 Azure Health Bot 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.HealthBot/operations",
90
+ httpMethod: "GET",
91
+ responses: {
92
+ 200: {
93
+ bodyMapper: Mappers.AvailableOperations
94
+ },
95
+ default: {
96
+ bodyMapper: Mappers.ErrorModel
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.AvailableOperations
110
+ },
111
+ default: {
112
+ bodyMapper: Mappers.ErrorModel
113
+ }
114
+ },
115
+ queryParameters: [Parameters.apiVersion],
116
+ urlParameters: [Parameters.$host, Parameters.nextLink],
117
+ headerParameters: [Parameters.accept],
118
+ serializer
119
+ };
120
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,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3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,2CAA2C;IACjD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,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,63 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { HealthBot, BotsListByResourceGroupOptionalParams, BotsListOptionalParams, BotsCreateOptionalParams, BotsCreateResponse, BotsGetOptionalParams, BotsGetResponse, HealthBotUpdateParameters, BotsUpdateOptionalParams, BotsUpdateResponse, BotsDeleteOptionalParams } from "../models";
4
+ /** Interface representing a Bots. */
5
+ export interface Bots {
6
+ /**
7
+ * Returns all the resources of a particular type belonging to a resource group
8
+ * @param resourceGroupName The name of the Bot resource group in the user subscription.
9
+ * @param options The options parameters.
10
+ */
11
+ listByResourceGroup(resourceGroupName: string, options?: BotsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<HealthBot>;
12
+ /**
13
+ * Returns all the resources of a particular type belonging to a subscription.
14
+ * @param options The options parameters.
15
+ */
16
+ list(options?: BotsListOptionalParams): PagedAsyncIterableIterator<HealthBot>;
17
+ /**
18
+ * Create a new Azure Health Bot.
19
+ * @param resourceGroupName The name of the Bot resource group in the user subscription.
20
+ * @param botName The name of the Bot resource.
21
+ * @param parameters The parameters to provide for the created Azure Health Bot.
22
+ * @param options The options parameters.
23
+ */
24
+ beginCreate(resourceGroupName: string, botName: string, parameters: HealthBot, options?: BotsCreateOptionalParams): Promise<PollerLike<PollOperationState<BotsCreateResponse>, BotsCreateResponse>>;
25
+ /**
26
+ * Create a new Azure Health Bot.
27
+ * @param resourceGroupName The name of the Bot resource group in the user subscription.
28
+ * @param botName The name of the Bot resource.
29
+ * @param parameters The parameters to provide for the created Azure Health Bot.
30
+ * @param options The options parameters.
31
+ */
32
+ beginCreateAndWait(resourceGroupName: string, botName: string, parameters: HealthBot, options?: BotsCreateOptionalParams): Promise<BotsCreateResponse>;
33
+ /**
34
+ * Get a HealthBot.
35
+ * @param resourceGroupName The name of the Bot resource group in the user subscription.
36
+ * @param botName The name of the Bot resource.
37
+ * @param options The options parameters.
38
+ */
39
+ get(resourceGroupName: string, botName: string, options?: BotsGetOptionalParams): Promise<BotsGetResponse>;
40
+ /**
41
+ * Patch a HealthBot.
42
+ * @param resourceGroupName The name of the Bot resource group in the user subscription.
43
+ * @param botName The name of the Bot resource.
44
+ * @param parameters The parameters to provide for the required Azure Health Bot.
45
+ * @param options The options parameters.
46
+ */
47
+ update(resourceGroupName: string, botName: string, parameters: HealthBotUpdateParameters, options?: BotsUpdateOptionalParams): Promise<BotsUpdateResponse>;
48
+ /**
49
+ * Delete a HealthBot.
50
+ * @param resourceGroupName The name of the Bot resource group in the user subscription.
51
+ * @param botName The name of the Bot resource.
52
+ * @param options The options parameters.
53
+ */
54
+ beginDelete(resourceGroupName: string, botName: string, options?: BotsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
55
+ /**
56
+ * Delete a HealthBot.
57
+ * @param resourceGroupName The name of the Bot resource group in the user subscription.
58
+ * @param botName The name of the Bot resource.
59
+ * @param options The options parameters.
60
+ */
61
+ beginDeleteAndWait(resourceGroupName: string, botName: string, options?: BotsDeleteOptionalParams): Promise<void>;
62
+ }
63
+ //# sourceMappingURL=bots.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bots.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/bots.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,SAAS,EACT,qCAAqC,EACrC,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,WAAW,CAAC;AAGnB,qCAAqC;AACrC,MAAM,WAAW,IAAI;IACnB;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,sBAAsB,GAAG,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAC9E;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,SAAS,EACrB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CACR,UAAU,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,CACvE,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,SAAS,EACrB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC/B;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,qBAAqB,GAC9B,OAAO,CAAC,eAAe,CAAC,CAAC;IAC5B;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC/B;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -5,4 +5,5 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- //# sourceMappingURL=index.js.map
8
+ export {};
9
+ //# sourceMappingURL=bots.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bots.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/bots.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,3 @@
1
+ export * from "./bots";
2
+ export * from "./operations";
3
+ //# 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,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
@@ -5,5 +5,6 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export { AvailableOperations, ErrorAdditionalInfo, ErrorError, ErrorModel, OperationDetail, OperationDisplay } from "../models/mappers";
9
- //# sourceMappingURL=operationsMappers.js.map
8
+ export * from "./bots";
9
+ export * from "./operations";
10
+ //# 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,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { OperationDetail, OperationsListOptionalParams } from "../models";
3
+ /** Interface representing a Operations. */
4
+ export interface Operations {
5
+ /**
6
+ * Lists all the available Azure Health Bot operations.
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationDetail>;
10
+ }
11
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AAG1E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,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=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.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,12 +1,20 @@
1
1
  {
2
2
  "name": "@azure/arm-healthbot",
3
+ "sdk-type": "mgmt",
3
4
  "author": "Microsoft Corporation",
4
- "description": "HealthbotClient Library with typescript type definitions for node.js and browser.",
5
- "version": "1.0.0",
5
+ "description": "A generated SDK for HealthbotClient.",
6
+ "version": "2.0.1-alpha.20220113.4",
7
+ "engines": {
8
+ "node": ">=12.0.0"
9
+ },
6
10
  "dependencies": {
7
- "@azure/ms-rest-azure-js": "^2.0.1",
8
- "@azure/ms-rest-js": "^2.0.4",
9
- "tslib": "^1.10.0"
11
+ "@azure/core-lro": "^2.2.0",
12
+ "@azure/abort-controller": "^1.0.0",
13
+ "@azure/core-paging": "^1.2.0",
14
+ "@azure/core-client": "^1.0.0",
15
+ "@azure/core-auth": "^1.3.0",
16
+ "@azure/core-rest-pipeline": "^1.1.0",
17
+ "tslib": "^2.2.0"
10
18
  },
11
19
  "keywords": [
12
20
  "node",
@@ -16,17 +24,27 @@
16
24
  "isomorphic"
17
25
  ],
18
26
  "license": "MIT",
19
- "main": "./dist/arm-healthbot.js",
20
- "module": "./esm/healthbotClient.js",
21
- "types": "./esm/healthbotClient.d.ts",
27
+ "main": "./dist/index.js",
28
+ "module": "./dist-esm/src/index.js",
29
+ "types": "./types/arm-healthbot.d.ts",
22
30
  "devDependencies": {
23
- "typescript": "^3.5.3",
24
- "rollup": "^1.18.0",
25
- "rollup-plugin-node-resolve": "^5.2.0",
31
+ "@microsoft/api-extractor": "^7.18.11",
32
+ "@rollup/plugin-commonjs": "11.0.2",
33
+ "@rollup/plugin-json": "^4.0.0",
34
+ "@rollup/plugin-multi-entry": "^3.0.0",
35
+ "@rollup/plugin-node-resolve": "^8.0.0",
36
+ "mkdirp": "^1.0.4",
37
+ "rollup": "^1.16.3",
26
38
  "rollup-plugin-sourcemaps": "^0.4.2",
27
- "uglify-js": "^3.6.0"
39
+ "typescript": "~4.2.0",
40
+ "uglify-js": "^3.4.9",
41
+ "rimraf": "^3.0.0",
42
+ "@azure/identity": "^2.0.1",
43
+ "@azure-tools/test-recorder": "^1.0.0",
44
+ "mocha": "^7.1.1",
45
+ "cross-env": "^7.0.2"
28
46
  },
29
- "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/healthbot/arm-healthbot",
47
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/healthbot/arm-healthbot",
30
48
  "repository": {
31
49
  "type": "git",
32
50
  "url": "https://github.com/Azure/azure-sdk-for-js.git"
@@ -39,19 +57,45 @@
39
57
  "dist/**/*.js.map",
40
58
  "dist/**/*.d.ts",
41
59
  "dist/**/*.d.ts.map",
42
- "esm/**/*.js",
43
- "esm/**/*.js.map",
44
- "esm/**/*.d.ts",
45
- "esm/**/*.d.ts.map",
60
+ "dist-esm/**/*.js",
61
+ "dist-esm/**/*.js.map",
62
+ "dist-esm/**/*.d.ts",
63
+ "dist-esm/**/*.d.ts.map",
46
64
  "src/**/*.ts",
47
65
  "README.md",
66
+ "LICENSE",
48
67
  "rollup.config.js",
49
- "tsconfig.json"
68
+ "tsconfig.json",
69
+ "review/*",
70
+ "CHANGELOG.md",
71
+ "types/*"
50
72
  ],
51
73
  "scripts": {
52
- "build": "tsc && rollup -c rollup.config.js && npm run minify",
53
- "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-healthbot.js.map'\" -o ./dist/arm-healthbot.min.js ./dist/arm-healthbot.js",
54
- "prepack": "npm install && npm run build"
74
+ "build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
75
+ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
76
+ "prepack": "npm run build",
77
+ "pack": "npm pack 2>&1",
78
+ "extract-api": "api-extractor run --local",
79
+ "lint": "echo skipped",
80
+ "audit": "echo skipped",
81
+ "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
82
+ "build:node": "echo skipped",
83
+ "build:browser": "echo skipped",
84
+ "build:test": "echo skipped",
85
+ "build:samples": "echo skipped.",
86
+ "check-format": "echo skipped",
87
+ "execute:samples": "echo skipped",
88
+ "format": "echo skipped",
89
+ "test": "npm run integration-test",
90
+ "test:node": "echo skipped",
91
+ "test:browser": "echo skipped",
92
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
93
+ "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
94
+ "unit-test:browser": "echo skipped",
95
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
96
+ "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
97
+ "integration-test:browser": "echo skipped",
98
+ "docs": "echo skipped"
55
99
  },
56
100
  "sideEffects": false,
57
101
  "autoPublish": true