@azure/arm-healthbot 1.1.1 → 2.0.1-alpha.20220131.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/LICENSE +21 -0
- package/README.md +69 -83
- package/dist/index.js +1301 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/healthbotClient.d.ts +19 -0
- package/dist-esm/src/healthbotClient.d.ts.map +1 -0
- package/dist-esm/src/healthbotClient.js +52 -0
- package/dist-esm/src/healthbotClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +309 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +16 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +19 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +252 -199
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +12 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +112 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/bots.d.ts +99 -0
- package/dist-esm/src/operations/bots.d.ts.map +1 -0
- package/dist-esm/src/operations/bots.js +454 -0
- package/dist-esm/src/operations/bots.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/bots.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/bots.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/bots.js} +2 -1
- package/dist-esm/src/operationsInterfaces/bots.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/index.js} +3 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -22
- package/review/arm-healthbot.api.md +271 -0
- package/rollup.config.js +181 -30
- package/src/healthbotClient.ts +62 -34
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +239 -394
- package/src/models/mappers.ts +260 -204
- package/src/models/parameters.ts +81 -33
- package/src/operations/bots.ts +424 -322
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +87 -75
- package/src/operationsInterfaces/bots.ts +116 -0
- package/src/{models/operationsMappers.ts → operationsInterfaces/index.ts} +2 -8
- package/src/operationsInterfaces/operations.ts +22 -0
- package/tsconfig.json +3 -3
- package/types/arm-healthbot.d.ts +439 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-healthbot.js +0 -1143
- package/dist/arm-healthbot.js.map +0 -1
- package/dist/arm-healthbot.min.js +0 -1
- package/dist/arm-healthbot.min.js.map +0 -1
- package/esm/healthbotClient.d.ts +0 -25
- package/esm/healthbotClient.d.ts.map +0 -1
- package/esm/healthbotClient.js +0 -38
- package/esm/healthbotClient.js.map +0 -1
- package/esm/healthbotClientContext.d.ts +0 -22
- package/esm/healthbotClientContext.d.ts.map +0 -1
- package/esm/healthbotClientContext.js +0 -60
- package/esm/healthbotClientContext.js.map +0 -1
- package/esm/models/botsMappers.d.ts +0 -2
- package/esm/models/botsMappers.d.ts.map +0 -1
- package/esm/models/botsMappers.js +0 -9
- package/esm/models/botsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -464
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -19
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -80
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/bots.d.ts +0 -162
- package/esm/operations/bots.d.ts.map +0 -1
- package/esm/operations/bots.js +0 -319
- package/esm/operations/bots.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/src/healthbotClientContext.ts +0 -67
- package/src/models/botsMappers.ts +0 -22
package/src/models/parameters.ts
CHANGED
|
@@ -3,80 +3,128 @@
|
|
|
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
|
|
|
10
|
-
import
|
|
9
|
+
import {
|
|
10
|
+
OperationParameter,
|
|
11
|
+
OperationURLParameter,
|
|
12
|
+
OperationQueryParameter
|
|
13
|
+
} from "@azure/core-client";
|
|
14
|
+
import {
|
|
15
|
+
HealthBot as HealthBotMapper,
|
|
16
|
+
HealthBotUpdateParameters as HealthBotUpdateParametersMapper
|
|
17
|
+
} from "../models/mappers";
|
|
11
18
|
|
|
12
|
-
export const
|
|
13
|
-
parameterPath: "
|
|
19
|
+
export const contentType: OperationParameter = {
|
|
20
|
+
parameterPath: ["options", "contentType"],
|
|
14
21
|
mapper: {
|
|
15
|
-
|
|
16
|
-
|
|
22
|
+
defaultValue: "application/json",
|
|
23
|
+
isConstant: true,
|
|
24
|
+
serializedName: "Content-Type",
|
|
17
25
|
type: {
|
|
18
26
|
name: "String"
|
|
19
27
|
}
|
|
20
28
|
}
|
|
21
29
|
};
|
|
22
|
-
|
|
23
|
-
|
|
30
|
+
|
|
31
|
+
export const parameters: OperationParameter = {
|
|
32
|
+
parameterPath: "parameters",
|
|
33
|
+
mapper: HealthBotMapper
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export const accept: OperationParameter = {
|
|
37
|
+
parameterPath: "accept",
|
|
24
38
|
mapper: {
|
|
25
|
-
|
|
26
|
-
|
|
39
|
+
defaultValue: "application/json",
|
|
40
|
+
isConstant: true,
|
|
41
|
+
serializedName: "Accept",
|
|
27
42
|
type: {
|
|
28
43
|
name: "String"
|
|
29
44
|
}
|
|
30
45
|
}
|
|
31
46
|
};
|
|
32
|
-
|
|
33
|
-
|
|
47
|
+
|
|
48
|
+
export const $host: OperationURLParameter = {
|
|
49
|
+
parameterPath: "$host",
|
|
34
50
|
mapper: {
|
|
51
|
+
serializedName: "$host",
|
|
35
52
|
required: true,
|
|
36
|
-
serializedName: "botName",
|
|
37
|
-
constraints: {
|
|
38
|
-
MaxLength: 64,
|
|
39
|
-
MinLength: 2,
|
|
40
|
-
Pattern: /^[a-zA-Z0-9][a-zA-Z0-9_.-]*$/
|
|
41
|
-
},
|
|
42
53
|
type: {
|
|
43
54
|
name: "String"
|
|
44
55
|
}
|
|
45
|
-
}
|
|
56
|
+
},
|
|
57
|
+
skipEncoding: true
|
|
46
58
|
};
|
|
47
|
-
|
|
48
|
-
|
|
59
|
+
|
|
60
|
+
export const subscriptionId: OperationURLParameter = {
|
|
61
|
+
parameterPath: "subscriptionId",
|
|
49
62
|
mapper: {
|
|
63
|
+
serializedName: "subscriptionId",
|
|
50
64
|
required: true,
|
|
51
|
-
serializedName: "nextLink",
|
|
52
65
|
type: {
|
|
53
66
|
name: "String"
|
|
54
67
|
}
|
|
55
|
-
}
|
|
56
|
-
skipEncoding: true
|
|
68
|
+
}
|
|
57
69
|
};
|
|
58
|
-
|
|
70
|
+
|
|
71
|
+
export const resourceGroupName: OperationURLParameter = {
|
|
59
72
|
parameterPath: "resourceGroupName",
|
|
60
73
|
mapper: {
|
|
61
|
-
required: true,
|
|
62
|
-
serializedName: "resourceGroupName",
|
|
63
74
|
constraints: {
|
|
75
|
+
Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"),
|
|
64
76
|
MaxLength: 64,
|
|
65
|
-
MinLength: 2
|
|
66
|
-
Pattern: /^[a-zA-Z0-9][a-zA-Z0-9_.-]*$/
|
|
77
|
+
MinLength: 2
|
|
67
78
|
},
|
|
79
|
+
serializedName: "resourceGroupName",
|
|
80
|
+
required: true,
|
|
68
81
|
type: {
|
|
69
82
|
name: "String"
|
|
70
83
|
}
|
|
71
84
|
}
|
|
72
85
|
};
|
|
73
|
-
|
|
74
|
-
|
|
86
|
+
|
|
87
|
+
export const botName: OperationURLParameter = {
|
|
88
|
+
parameterPath: "botName",
|
|
75
89
|
mapper: {
|
|
90
|
+
constraints: {
|
|
91
|
+
Pattern: new RegExp("^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"),
|
|
92
|
+
MaxLength: 64,
|
|
93
|
+
MinLength: 2
|
|
94
|
+
},
|
|
95
|
+
serializedName: "botName",
|
|
76
96
|
required: true,
|
|
77
|
-
serializedName: "subscriptionId",
|
|
78
97
|
type: {
|
|
79
98
|
name: "String"
|
|
80
99
|
}
|
|
81
100
|
}
|
|
82
101
|
};
|
|
102
|
+
|
|
103
|
+
export const apiVersion: OperationQueryParameter = {
|
|
104
|
+
parameterPath: "apiVersion",
|
|
105
|
+
mapper: {
|
|
106
|
+
defaultValue: "2021-06-10",
|
|
107
|
+
isConstant: true,
|
|
108
|
+
serializedName: "api-version",
|
|
109
|
+
type: {
|
|
110
|
+
name: "String"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
export const parameters1: OperationParameter = {
|
|
116
|
+
parameterPath: "parameters",
|
|
117
|
+
mapper: HealthBotUpdateParametersMapper
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
export const nextLink: OperationURLParameter = {
|
|
121
|
+
parameterPath: "nextLink",
|
|
122
|
+
mapper: {
|
|
123
|
+
serializedName: "nextLink",
|
|
124
|
+
required: true,
|
|
125
|
+
type: {
|
|
126
|
+
name: "String"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
skipEncoding: true
|
|
130
|
+
};
|