@azure/web-pubsub 1.1.4-alpha.20241119.1 → 1.1.4-alpha.20241120.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. package/dist/commonjs/generated/generatedClient.d.ts +19 -0
  2. package/dist/commonjs/generated/generatedClient.d.ts.map +1 -0
  3. package/dist/commonjs/generated/generatedClient.js +76 -0
  4. package/dist/commonjs/generated/generatedClient.js.map +1 -0
  5. package/dist/commonjs/generated/generatedClientContext.d.ts +14 -0
  6. package/dist/commonjs/generated/generatedClientContext.d.ts.map +1 -0
  7. package/dist/commonjs/generated/generatedClientContext.js +46 -0
  8. package/dist/commonjs/generated/generatedClientContext.js.map +1 -0
  9. package/dist/commonjs/generated/index.d.ts +4 -0
  10. package/dist/commonjs/generated/index.d.ts.map +1 -0
  11. package/dist/commonjs/generated/index.js +16 -0
  12. package/dist/commonjs/generated/index.js.map +1 -0
  13. package/dist/commonjs/generated/models/index.d.ts +323 -0
  14. package/dist/commonjs/generated/models/index.d.ts.map +1 -0
  15. package/dist/commonjs/generated/models/index.js +27 -0
  16. package/dist/commonjs/generated/models/index.js.map +1 -0
  17. package/dist/commonjs/generated/models/mappers.d.ts +30 -0
  18. package/dist/commonjs/generated/models/mappers.d.ts.map +1 -0
  19. package/dist/commonjs/generated/models/mappers.js +463 -0
  20. package/dist/commonjs/generated/models/mappers.js.map +1 -0
  21. package/dist/commonjs/generated/models/parameters.d.ts +31 -0
  22. package/dist/commonjs/generated/models/parameters.d.ts.map +1 -0
  23. package/dist/commonjs/generated/models/parameters.js +335 -0
  24. package/dist/commonjs/generated/models/parameters.js.map +1 -0
  25. package/dist/commonjs/generated/operations/healthApi.d.ts +18 -0
  26. package/dist/commonjs/generated/operations/healthApi.d.ts.map +1 -0
  27. package/dist/commonjs/generated/operations/healthApi.js +43 -0
  28. package/dist/commonjs/generated/operations/healthApi.js.map +1 -0
  29. package/dist/commonjs/generated/operations/index.d.ts +3 -0
  30. package/dist/commonjs/generated/operations/index.d.ts.map +1 -0
  31. package/dist/commonjs/generated/operations/index.js +13 -0
  32. package/dist/commonjs/generated/operations/index.js.map +1 -0
  33. package/dist/commonjs/generated/operations/webPubSub.d.ts +249 -0
  34. package/dist/commonjs/generated/operations/webPubSub.d.ts.map +1 -0
  35. package/dist/commonjs/generated/operations/webPubSub.js +874 -0
  36. package/dist/commonjs/generated/operations/webPubSub.js.map +1 -0
  37. package/dist/commonjs/generated/operationsInterfaces/healthApi.d.ts +10 -0
  38. package/dist/commonjs/generated/operationsInterfaces/healthApi.d.ts.map +1 -0
  39. package/dist/commonjs/generated/operationsInterfaces/healthApi.js +10 -0
  40. package/dist/commonjs/generated/operationsInterfaces/healthApi.js.map +1 -0
  41. package/dist/commonjs/generated/operationsInterfaces/index.d.ts +3 -0
  42. package/dist/commonjs/generated/operationsInterfaces/index.d.ts.map +1 -0
  43. package/dist/commonjs/generated/operationsInterfaces/index.js +13 -0
  44. package/dist/commonjs/generated/operationsInterfaces/index.js.map +1 -0
  45. package/dist/commonjs/generated/operationsInterfaces/webPubSub.d.ts +224 -0
  46. package/dist/commonjs/generated/operationsInterfaces/webPubSub.d.ts.map +1 -0
  47. package/dist/commonjs/generated/operationsInterfaces/webPubSub.js +10 -0
  48. package/dist/commonjs/generated/operationsInterfaces/webPubSub.js.map +1 -0
  49. package/dist/commonjs/groupClient.d.ts +232 -0
  50. package/dist/commonjs/groupClient.d.ts.map +1 -0
  51. package/dist/commonjs/groupClient.js +101 -0
  52. package/dist/commonjs/groupClient.js.map +1 -0
  53. package/dist/commonjs/hubClient.d.ts +478 -0
  54. package/dist/commonjs/hubClient.d.ts.map +1 -0
  55. package/dist/commonjs/hubClient.js +372 -0
  56. package/dist/commonjs/hubClient.js.map +1 -0
  57. package/dist/commonjs/index.d.ts +5 -0
  58. package/dist/commonjs/index.d.ts.map +1 -0
  59. package/dist/commonjs/index.js +12 -0
  60. package/dist/commonjs/index.js.map +1 -0
  61. package/dist/commonjs/logger.d.ts +5 -0
  62. package/dist/commonjs/logger.d.ts.map +1 -0
  63. package/dist/commonjs/logger.js +11 -0
  64. package/dist/commonjs/logger.js.map +1 -0
  65. package/dist/commonjs/package.json +3 -0
  66. package/dist/commonjs/parseConnectionString.d.ts +8 -0
  67. package/dist/commonjs/parseConnectionString.d.ts.map +1 -0
  68. package/dist/commonjs/parseConnectionString.js +34 -0
  69. package/dist/commonjs/parseConnectionString.js.map +1 -0
  70. package/dist/commonjs/reverseProxyPolicy.d.ts +9 -0
  71. package/dist/commonjs/reverseProxyPolicy.d.ts.map +1 -0
  72. package/dist/commonjs/reverseProxyPolicy.js +25 -0
  73. package/dist/commonjs/reverseProxyPolicy.js.map +1 -0
  74. package/dist/commonjs/tracing.d.ts +3 -0
  75. package/dist/commonjs/tracing.d.ts.map +1 -0
  76. package/dist/commonjs/tracing.js +12 -0
  77. package/dist/commonjs/tracing.js.map +1 -0
  78. package/dist/commonjs/tsdoc-metadata.json +11 -0
  79. package/dist/commonjs/utils.d.ts +29 -0
  80. package/dist/commonjs/utils.d.ts.map +1 -0
  81. package/dist/commonjs/utils.js +73 -0
  82. package/dist/commonjs/utils.js.map +1 -0
  83. package/dist/commonjs/webPubSubCredentialPolicy.d.ts +13 -0
  84. package/dist/commonjs/webPubSubCredentialPolicy.d.ts.map +1 -0
  85. package/dist/commonjs/webPubSubCredentialPolicy.js +32 -0
  86. package/dist/commonjs/webPubSubCredentialPolicy.js.map +1 -0
  87. package/dist/esm/generated/generatedClient.d.ts +19 -0
  88. package/dist/esm/generated/generatedClient.d.ts.map +1 -0
  89. package/{dist-esm/src → dist/esm}/generated/generatedClient.js +1 -1
  90. package/dist/esm/generated/generatedClient.js.map +1 -0
  91. package/dist/esm/generated/generatedClientContext.d.ts +14 -0
  92. package/dist/esm/generated/generatedClientContext.d.ts.map +1 -0
  93. package/dist/esm/generated/generatedClientContext.js.map +1 -0
  94. package/dist/esm/generated/index.d.ts +4 -0
  95. package/dist/esm/generated/index.d.ts.map +1 -0
  96. package/{dist-esm/src → dist/esm}/generated/index.js +3 -3
  97. package/dist/esm/generated/index.js.map +1 -0
  98. package/dist/esm/generated/models/index.d.ts +323 -0
  99. package/dist/esm/generated/models/index.d.ts.map +1 -0
  100. package/dist/esm/generated/models/mappers.d.ts +30 -0
  101. package/dist/esm/generated/models/mappers.d.ts.map +1 -0
  102. package/dist/esm/generated/models/parameters.d.ts +31 -0
  103. package/dist/esm/generated/models/parameters.d.ts.map +1 -0
  104. package/{dist-esm/src → dist/esm}/generated/models/parameters.js +1 -1
  105. package/dist/esm/generated/models/parameters.js.map +1 -0
  106. package/dist/esm/generated/operations/healthApi.d.ts +18 -0
  107. package/dist/esm/generated/operations/healthApi.d.ts.map +1 -0
  108. package/{dist-esm/src → dist/esm}/generated/operations/healthApi.js +2 -2
  109. package/dist/esm/generated/operations/healthApi.js.map +1 -0
  110. package/dist/esm/generated/operations/index.d.ts +3 -0
  111. package/dist/esm/generated/operations/index.d.ts.map +1 -0
  112. package/{dist-esm/src/generated/operationsInterfaces → dist/esm/generated/operations}/index.js +2 -2
  113. package/dist/esm/generated/operations/index.js.map +1 -0
  114. package/dist/esm/generated/operations/webPubSub.d.ts +249 -0
  115. package/dist/esm/generated/operations/webPubSub.d.ts.map +1 -0
  116. package/{dist-esm/src → dist/esm}/generated/operations/webPubSub.js +2 -2
  117. package/dist/esm/generated/operations/webPubSub.js.map +1 -0
  118. package/dist/esm/generated/operationsInterfaces/healthApi.d.ts +10 -0
  119. package/dist/esm/generated/operationsInterfaces/healthApi.d.ts.map +1 -0
  120. package/{dist-esm/src → dist/esm}/generated/operationsInterfaces/healthApi.js.map +1 -1
  121. package/dist/esm/generated/operationsInterfaces/index.d.ts +3 -0
  122. package/dist/esm/generated/operationsInterfaces/index.d.ts.map +1 -0
  123. package/{dist-esm/src/generated/operations → dist/esm/generated/operationsInterfaces}/index.js +2 -2
  124. package/dist/esm/generated/operationsInterfaces/index.js.map +1 -0
  125. package/dist/esm/generated/operationsInterfaces/webPubSub.d.ts +224 -0
  126. package/dist/esm/generated/operationsInterfaces/webPubSub.d.ts.map +1 -0
  127. package/dist/esm/generated/operationsInterfaces/webPubSub.js.map +1 -0
  128. package/dist/esm/groupClient.d.ts +232 -0
  129. package/dist/esm/groupClient.d.ts.map +1 -0
  130. package/{dist-esm/src → dist/esm}/groupClient.js +2 -2
  131. package/dist/esm/groupClient.js.map +1 -0
  132. package/dist/esm/hubClient.d.ts +478 -0
  133. package/dist/esm/hubClient.d.ts.map +1 -0
  134. package/{dist-esm/src → dist/esm}/hubClient.js +9 -9
  135. package/dist/esm/hubClient.js.map +1 -0
  136. package/dist/esm/index.d.ts +5 -0
  137. package/dist/esm/index.d.ts.map +1 -0
  138. package/{dist-esm/src → dist/esm}/index.js +2 -2
  139. package/dist/esm/index.js.map +1 -0
  140. package/dist/esm/logger.d.ts +5 -0
  141. package/dist/esm/logger.d.ts.map +1 -0
  142. package/dist/esm/package.json +3 -0
  143. package/dist/esm/parseConnectionString.d.ts +8 -0
  144. package/dist/esm/parseConnectionString.d.ts.map +1 -0
  145. package/dist/esm/reverseProxyPolicy.d.ts +9 -0
  146. package/dist/esm/reverseProxyPolicy.d.ts.map +1 -0
  147. package/dist/esm/tracing.d.ts +3 -0
  148. package/dist/esm/tracing.d.ts.map +1 -0
  149. package/dist/esm/utils.d.ts +29 -0
  150. package/dist/esm/utils.d.ts.map +1 -0
  151. package/dist/esm/webPubSubCredentialPolicy.d.ts +13 -0
  152. package/dist/esm/webPubSubCredentialPolicy.d.ts.map +1 -0
  153. package/package.json +56 -52
  154. package/dist/index.js +0 -2441
  155. package/dist/index.js.map +0 -1
  156. package/dist-esm/samples-dev/broadcasting.js +0 -27
  157. package/dist-esm/samples-dev/broadcasting.js.map +0 -1
  158. package/dist-esm/samples-dev/directMessage.js +0 -20
  159. package/dist-esm/samples-dev/directMessage.js.map +0 -1
  160. package/dist-esm/samples-dev/managingGroups.js +0 -23
  161. package/dist-esm/samples-dev/managingGroups.js.map +0 -1
  162. package/dist-esm/src/generated/generatedClient.js.map +0 -1
  163. package/dist-esm/src/generated/generatedClientContext.js.map +0 -1
  164. package/dist-esm/src/generated/index.js.map +0 -1
  165. package/dist-esm/src/generated/models/parameters.js.map +0 -1
  166. package/dist-esm/src/generated/operations/healthApi.js.map +0 -1
  167. package/dist-esm/src/generated/operations/index.js.map +0 -1
  168. package/dist-esm/src/generated/operations/webPubSub.js.map +0 -1
  169. package/dist-esm/src/generated/operationsInterfaces/index.js.map +0 -1
  170. package/dist-esm/src/generated/operationsInterfaces/webPubSub.js.map +0 -1
  171. package/dist-esm/src/groupClient.js.map +0 -1
  172. package/dist-esm/src/hubClient.js.map +0 -1
  173. package/dist-esm/src/index.js.map +0 -1
  174. package/dist-esm/test/conn.spec.js +0 -23
  175. package/dist-esm/test/conn.spec.js.map +0 -1
  176. package/dist-esm/test/groups.spec.js +0 -138
  177. package/dist-esm/test/groups.spec.js.map +0 -1
  178. package/dist-esm/test/hubs.spec.js +0 -270
  179. package/dist-esm/test/hubs.spec.js.map +0 -1
  180. package/dist-esm/test/integration.spec.js +0 -299
  181. package/dist-esm/test/integration.spec.js.map +0 -1
  182. package/dist-esm/test/odata.spec.js +0 -15
  183. package/dist-esm/test/odata.spec.js.map +0 -1
  184. package/dist-esm/test/testEnv.js +0 -23
  185. package/dist-esm/test/testEnv.js.map +0 -1
  186. /package/{dist-esm/src → dist/esm}/generated/generatedClientContext.js +0 -0
  187. /package/{dist-esm/src → dist/esm}/generated/models/index.js +0 -0
  188. /package/{dist-esm/src → dist/esm}/generated/models/index.js.map +0 -0
  189. /package/{dist-esm/src → dist/esm}/generated/models/mappers.js +0 -0
  190. /package/{dist-esm/src → dist/esm}/generated/models/mappers.js.map +0 -0
  191. /package/{dist-esm/src → dist/esm}/generated/operationsInterfaces/healthApi.js +0 -0
  192. /package/{dist-esm/src → dist/esm}/generated/operationsInterfaces/webPubSub.js +0 -0
  193. /package/{dist-esm/src → dist/esm}/logger.js +0 -0
  194. /package/{dist-esm/src → dist/esm}/logger.js.map +0 -0
  195. /package/{dist-esm/src → dist/esm}/parseConnectionString.js +0 -0
  196. /package/{dist-esm/src → dist/esm}/parseConnectionString.js.map +0 -0
  197. /package/{dist-esm/src → dist/esm}/reverseProxyPolicy.js +0 -0
  198. /package/{dist-esm/src → dist/esm}/reverseProxyPolicy.js.map +0 -0
  199. /package/{dist-esm/src → dist/esm}/tracing.js +0 -0
  200. /package/{dist-esm/src → dist/esm}/tracing.js.map +0 -0
  201. /package/{dist-esm/src → dist/esm}/utils.js +0 -0
  202. /package/{dist-esm/src → dist/esm}/utils.js.map +0 -0
  203. /package/{dist-esm/src → dist/esm}/webPubSubCredentialPolicy.js +0 -0
  204. /package/{dist-esm/src → dist/esm}/webPubSubCredentialPolicy.js.map +0 -0
  205. /package/{types → dist}/web-pubsub.d.ts +0 -0
@@ -0,0 +1,335 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.userId1 = exports.targetName = exports.permission = exports.group = exports.connectionId = exports.messageTtlSeconds = exports.filter = exports.excludedConnections = exports.accept3 = exports.message1 = exports.contentType2 = exports.accept2 = exports.message = exports.contentType1 = exports.groupsToRemove = exports.clientType = exports.groups = exports.expirationTimeInMinutes = exports.roles = exports.userId = exports.accept1 = exports.reason = exports.excluded = exports.hub = exports.accept = exports.groupsToAdd = exports.contentType = exports.apiVersion = exports.endpoint = void 0;
11
+ const mappers_js_1 = require("../models/mappers.js");
12
+ exports.endpoint = {
13
+ parameterPath: "endpoint",
14
+ mapper: {
15
+ serializedName: "endpoint",
16
+ required: true,
17
+ type: {
18
+ name: "String",
19
+ },
20
+ },
21
+ skipEncoding: true,
22
+ };
23
+ exports.apiVersion = {
24
+ parameterPath: "apiVersion",
25
+ mapper: {
26
+ defaultValue: "2024-01-01",
27
+ isConstant: true,
28
+ serializedName: "api-version",
29
+ type: {
30
+ name: "String",
31
+ },
32
+ },
33
+ };
34
+ exports.contentType = {
35
+ parameterPath: ["options", "contentType"],
36
+ mapper: {
37
+ defaultValue: "application/json",
38
+ isConstant: true,
39
+ serializedName: "Content-Type",
40
+ type: {
41
+ name: "String",
42
+ },
43
+ },
44
+ };
45
+ exports.groupsToAdd = {
46
+ parameterPath: "groupsToAdd",
47
+ mapper: mappers_js_1.AddToGroupsRequest,
48
+ };
49
+ exports.accept = {
50
+ parameterPath: "accept",
51
+ mapper: {
52
+ defaultValue: "application/json",
53
+ isConstant: true,
54
+ serializedName: "Accept",
55
+ type: {
56
+ name: "String",
57
+ },
58
+ },
59
+ };
60
+ exports.hub = {
61
+ parameterPath: "hub",
62
+ mapper: {
63
+ constraints: {
64
+ Pattern: new RegExp("^[A-Za-z][A-Za-z0-9_`,.[\\]]{0,127}$"),
65
+ },
66
+ serializedName: "hub",
67
+ required: true,
68
+ type: {
69
+ name: "String",
70
+ },
71
+ },
72
+ };
73
+ exports.excluded = {
74
+ parameterPath: ["options", "excluded"],
75
+ mapper: {
76
+ serializedName: "excluded",
77
+ type: {
78
+ name: "Sequence",
79
+ element: {
80
+ type: {
81
+ name: "String",
82
+ },
83
+ },
84
+ },
85
+ },
86
+ collectionFormat: "Multi",
87
+ };
88
+ exports.reason = {
89
+ parameterPath: ["options", "reason"],
90
+ mapper: {
91
+ serializedName: "reason",
92
+ type: {
93
+ name: "String",
94
+ },
95
+ },
96
+ };
97
+ exports.accept1 = {
98
+ parameterPath: "accept",
99
+ mapper: {
100
+ defaultValue: "application/json, text/json",
101
+ isConstant: true,
102
+ serializedName: "Accept",
103
+ type: {
104
+ name: "String",
105
+ },
106
+ },
107
+ };
108
+ exports.userId = {
109
+ parameterPath: ["options", "userId"],
110
+ mapper: {
111
+ serializedName: "userId",
112
+ type: {
113
+ name: "String",
114
+ },
115
+ },
116
+ };
117
+ exports.roles = {
118
+ parameterPath: ["options", "roles"],
119
+ mapper: {
120
+ serializedName: "role",
121
+ type: {
122
+ name: "Sequence",
123
+ element: {
124
+ type: {
125
+ name: "String",
126
+ },
127
+ },
128
+ },
129
+ },
130
+ collectionFormat: "Multi",
131
+ };
132
+ exports.expirationTimeInMinutes = {
133
+ parameterPath: ["options", "expirationTimeInMinutes"],
134
+ mapper: {
135
+ defaultValue: 60,
136
+ constraints: {
137
+ InclusiveMinimum: 1,
138
+ },
139
+ serializedName: "minutesToExpire",
140
+ type: {
141
+ name: "Number",
142
+ },
143
+ },
144
+ };
145
+ exports.groups = {
146
+ parameterPath: ["options", "groups"],
147
+ mapper: {
148
+ serializedName: "group",
149
+ type: {
150
+ name: "Sequence",
151
+ element: {
152
+ type: {
153
+ name: "String",
154
+ },
155
+ },
156
+ },
157
+ },
158
+ collectionFormat: "Multi",
159
+ };
160
+ exports.clientType = {
161
+ parameterPath: ["options", "clientType"],
162
+ mapper: {
163
+ defaultValue: "Default",
164
+ serializedName: "clientType",
165
+ type: {
166
+ name: "String",
167
+ },
168
+ },
169
+ };
170
+ exports.groupsToRemove = {
171
+ parameterPath: "groupsToRemove",
172
+ mapper: mappers_js_1.RemoveFromGroupsRequest,
173
+ };
174
+ exports.contentType1 = {
175
+ parameterPath: "contentType",
176
+ mapper: {
177
+ serializedName: "Content-Type",
178
+ required: true,
179
+ type: {
180
+ name: "Enum",
181
+ allowedValues: ["application/json", "application/octet-stream"],
182
+ },
183
+ },
184
+ };
185
+ exports.message = {
186
+ parameterPath: "message",
187
+ mapper: {
188
+ serializedName: "message",
189
+ required: true,
190
+ type: {
191
+ name: "Stream",
192
+ },
193
+ },
194
+ };
195
+ exports.accept2 = {
196
+ parameterPath: "accept",
197
+ mapper: {
198
+ defaultValue: "application/json",
199
+ isConstant: true,
200
+ serializedName: "Accept",
201
+ type: {
202
+ name: "String",
203
+ },
204
+ },
205
+ };
206
+ exports.contentType2 = {
207
+ parameterPath: "contentType",
208
+ mapper: {
209
+ defaultValue: "text/plain",
210
+ isConstant: true,
211
+ serializedName: "Content-Type",
212
+ type: {
213
+ name: "String",
214
+ },
215
+ },
216
+ };
217
+ exports.message1 = {
218
+ parameterPath: "message",
219
+ mapper: {
220
+ serializedName: "message",
221
+ required: true,
222
+ type: {
223
+ name: "String",
224
+ },
225
+ },
226
+ };
227
+ exports.accept3 = {
228
+ parameterPath: "accept",
229
+ mapper: {
230
+ defaultValue: "application/json",
231
+ isConstant: true,
232
+ serializedName: "Accept",
233
+ type: {
234
+ name: "String",
235
+ },
236
+ },
237
+ };
238
+ exports.excludedConnections = {
239
+ parameterPath: ["options", "excludedConnections"],
240
+ mapper: {
241
+ serializedName: "excluded",
242
+ type: {
243
+ name: "Sequence",
244
+ element: {
245
+ type: {
246
+ name: "String",
247
+ },
248
+ },
249
+ },
250
+ },
251
+ collectionFormat: "Multi",
252
+ };
253
+ exports.filter = {
254
+ parameterPath: ["options", "filter"],
255
+ mapper: {
256
+ serializedName: "filter",
257
+ type: {
258
+ name: "String",
259
+ },
260
+ },
261
+ };
262
+ exports.messageTtlSeconds = {
263
+ parameterPath: ["options", "messageTtlSeconds"],
264
+ mapper: {
265
+ constraints: {
266
+ InclusiveMaximum: 300,
267
+ InclusiveMinimum: 0,
268
+ },
269
+ serializedName: "messageTtlSeconds",
270
+ type: {
271
+ name: "Number",
272
+ },
273
+ },
274
+ };
275
+ exports.connectionId = {
276
+ parameterPath: "connectionId",
277
+ mapper: {
278
+ constraints: {
279
+ MinLength: 1,
280
+ },
281
+ serializedName: "connectionId",
282
+ required: true,
283
+ type: {
284
+ name: "String",
285
+ },
286
+ },
287
+ };
288
+ exports.group = {
289
+ parameterPath: "group",
290
+ mapper: {
291
+ constraints: {
292
+ Pattern: new RegExp("^(?!\\s+$).+$"),
293
+ MaxLength: 1024,
294
+ MinLength: 1,
295
+ },
296
+ serializedName: "group",
297
+ required: true,
298
+ type: {
299
+ name: "String",
300
+ },
301
+ },
302
+ };
303
+ exports.permission = {
304
+ parameterPath: "permission",
305
+ mapper: {
306
+ serializedName: "permission",
307
+ required: true,
308
+ type: {
309
+ name: "String",
310
+ },
311
+ },
312
+ };
313
+ exports.targetName = {
314
+ parameterPath: ["options", "targetName"],
315
+ mapper: {
316
+ serializedName: "targetName",
317
+ type: {
318
+ name: "String",
319
+ },
320
+ },
321
+ };
322
+ exports.userId1 = {
323
+ parameterPath: "userId",
324
+ mapper: {
325
+ constraints: {
326
+ MinLength: 1,
327
+ },
328
+ serializedName: "userId",
329
+ required: true,
330
+ type: {
331
+ name: "String",
332
+ },
333
+ },
334
+ };
335
+ //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAG8B;AAEjB,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,QAAA,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE,+BAAwB;CACjC,CAAC;AAEW,QAAA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C3B,MAAM,EAAE;QACN,cAAc,EAAE,YAAY;QAC5B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,UAAU,GAA4B;IACjD,aAAa,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;IACxC,MAAM,EAAE;QACN,cAAc,EAAE,YAAY;QAC5B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,OAAO,GAA0B;IAC5C,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,WAAW,EAAE;YACX,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,QAAQ;QACxB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationURLParameter,\n OperationQueryParameter,\n OperationParameter,\n} from \"@azure/core-client\";\nimport {\n AddToGroupsRequest as AddToGroupsRequestMapper,\n RemoveFromGroupsRequest as RemoveFromGroupsRequestMapper,\n} from \"../models/mappers.js\";\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-01-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const groupsToAdd: OperationParameter = {\n parameterPath: \"groupsToAdd\",\n mapper: AddToGroupsRequestMapper,\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const hub: OperationURLParameter = {\n parameterPath: \"hub\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z][A-Za-z0-9_`,.[\\\\]]{0,127}$\"),\n },\n serializedName: \"hub\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const excluded: OperationQueryParameter = {\n parameterPath: [\"options\", \"excluded\"],\n mapper: {\n serializedName: \"excluded\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n collectionFormat: \"Multi\",\n};\n\nexport const reason: OperationQueryParameter = {\n parameterPath: [\"options\", \"reason\"],\n mapper: {\n serializedName: \"reason\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const accept1: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json, text/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const userId: OperationQueryParameter = {\n parameterPath: [\"options\", \"userId\"],\n mapper: {\n serializedName: \"userId\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const roles: OperationQueryParameter = {\n parameterPath: [\"options\", \"roles\"],\n mapper: {\n serializedName: \"role\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n collectionFormat: \"Multi\",\n};\n\nexport const expirationTimeInMinutes: OperationQueryParameter = {\n parameterPath: [\"options\", \"expirationTimeInMinutes\"],\n mapper: {\n defaultValue: 60,\n constraints: {\n InclusiveMinimum: 1,\n },\n serializedName: \"minutesToExpire\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const groups: OperationQueryParameter = {\n parameterPath: [\"options\", \"groups\"],\n mapper: {\n serializedName: \"group\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n collectionFormat: \"Multi\",\n};\n\nexport const clientType: OperationQueryParameter = {\n parameterPath: [\"options\", \"clientType\"],\n mapper: {\n defaultValue: \"Default\",\n serializedName: \"clientType\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const groupsToRemove: OperationParameter = {\n parameterPath: \"groupsToRemove\",\n mapper: RemoveFromGroupsRequestMapper,\n};\n\nexport const contentType1: OperationParameter = {\n parameterPath: \"contentType\",\n mapper: {\n serializedName: \"Content-Type\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"application/json\", \"application/octet-stream\"],\n },\n },\n};\n\nexport const message: OperationParameter = {\n parameterPath: \"message\",\n mapper: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"Stream\",\n },\n },\n};\n\nexport const accept2: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType2: OperationParameter = {\n parameterPath: \"contentType\",\n mapper: {\n defaultValue: \"text/plain\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const message1: OperationParameter = {\n parameterPath: \"message\",\n mapper: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const accept3: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const excludedConnections: OperationQueryParameter = {\n parameterPath: [\"options\", \"excludedConnections\"],\n mapper: {\n serializedName: \"excluded\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n collectionFormat: \"Multi\",\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"filter\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const messageTtlSeconds: OperationQueryParameter = {\n parameterPath: [\"options\", \"messageTtlSeconds\"],\n mapper: {\n constraints: {\n InclusiveMaximum: 300,\n InclusiveMinimum: 0,\n },\n serializedName: \"messageTtlSeconds\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const connectionId: OperationURLParameter = {\n parameterPath: \"connectionId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"connectionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const group: OperationURLParameter = {\n parameterPath: \"group\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^(?!\\\\s+$).+$\"),\n MaxLength: 1024,\n MinLength: 1,\n },\n serializedName: \"group\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const permission: OperationURLParameter = {\n parameterPath: \"permission\",\n mapper: {\n serializedName: \"permission\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const targetName: OperationQueryParameter = {\n parameterPath: [\"options\", \"targetName\"],\n mapper: {\n serializedName: \"targetName\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const userId1: OperationURLParameter = {\n parameterPath: \"userId\",\n mapper: {\n constraints: {\n MinLength: 1,\n },\n serializedName: \"userId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
@@ -0,0 +1,18 @@
1
+ import { HealthApi } from "../operationsInterfaces/index.js";
2
+ import { GeneratedClient } from "../generatedClient.js";
3
+ import { HealthApiGetServiceStatusOptionalParams } from "../models/index.js";
4
+ /** Class containing HealthApi operations. */
5
+ export declare class HealthApiImpl implements HealthApi {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class HealthApi class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: GeneratedClient);
12
+ /**
13
+ * Get service health status.
14
+ * @param options The options parameters.
15
+ */
16
+ getServiceStatus(options?: HealthApiGetServiceStatusOptionalParams): Promise<void>;
17
+ }
18
+ //# sourceMappingURL=healthApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"healthApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/operations/healthApi.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAI7D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,uCAAuC,EAAE,MAAM,oBAAoB,CAAC;AAE7E,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;;OAGG;gBACS,MAAM,EAAE,eAAe;IAInC;;;OAGG;IACH,gBAAgB,CACd,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,IAAI,CAAC;CAMjB"}
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.HealthApiImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
+ /** Class containing HealthApi operations. */
16
+ class HealthApiImpl {
17
+ /**
18
+ * Initialize a new instance of the class HealthApi class.
19
+ * @param client Reference to the service client
20
+ */
21
+ constructor(client) {
22
+ this.client = client;
23
+ }
24
+ /**
25
+ * Get service health status.
26
+ * @param options The options parameters.
27
+ */
28
+ getServiceStatus(options) {
29
+ return this.client.sendOperationRequest({ options }, getServiceStatusOperationSpec);
30
+ }
31
+ }
32
+ exports.HealthApiImpl = HealthApiImpl;
33
+ // Operation Specifications
34
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
35
+ const getServiceStatusOperationSpec = {
36
+ path: "/api/health",
37
+ httpMethod: "HEAD",
38
+ responses: { 200: {}, default: {} },
39
+ queryParameters: [Parameters.apiVersion],
40
+ urlParameters: [Parameters.endpoint],
41
+ serializer,
42
+ };
43
+ //# sourceMappingURL=healthApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"healthApi.js","sourceRoot":"","sources":["../../../../src/generated/operations/healthApi.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAItD,6CAA6C;AAC7C,MAAa,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,gBAAgB,CACd,OAAiD;QAEjD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,6BAA6B,CAC9B,CAAC;IACJ,CAAC;CACF;AAvBD,sCAuBC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EAAE,aAAa;IACnB,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IACnC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { HealthApi } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { GeneratedClient } from \"../generatedClient.js\";\nimport { HealthApiGetServiceStatusOptionalParams } from \"../models/index.js\";\n\n/** Class containing HealthApi operations. */\nexport class HealthApiImpl implements HealthApi {\n private readonly client: GeneratedClient;\n\n /**\n * Initialize a new instance of the class HealthApi class.\n * @param client Reference to the service client\n */\n constructor(client: GeneratedClient) {\n this.client = client;\n }\n\n /**\n * Get service health status.\n * @param options The options parameters.\n */\n getServiceStatus(\n options?: HealthApiGetServiceStatusOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { options },\n getServiceStatusOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getServiceStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/api/health\",\n httpMethod: \"HEAD\",\n responses: { 200: {}, default: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n serializer,\n};\n"]}
@@ -0,0 +1,3 @@
1
+ export * from "./healthApi.js";
2
+ export * from "./webPubSub.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ const tslib_1 = require("tslib");
11
+ tslib_1.__exportStar(require("./healthApi.js"), exports);
12
+ tslib_1.__exportStar(require("./webPubSub.js"), exports);
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,yDAA+B;AAC/B,yDAA+B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./healthApi.js\";\nexport * from \"./webPubSub.js\";\n"]}