@azure/web-pubsub 1.1.3-alpha.20240528.1 → 1.1.4-alpha.20240814.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +393 -375
- package/dist/index.js.map +1 -1
- package/dist-esm/src/generated/generatedClient.js +4 -4
- package/dist-esm/src/generated/generatedClient.js.map +1 -1
- package/dist-esm/src/generated/generatedClientContext.js +1 -1
- package/dist-esm/src/generated/generatedClientContext.js.map +1 -1
- package/dist-esm/src/generated/models/index.js +8 -0
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +160 -160
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/models/parameters.js +106 -96
- package/dist-esm/src/generated/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/operations/healthApi.js +1 -1
- package/dist-esm/src/generated/operations/healthApi.js.map +1 -1
- package/dist-esm/src/generated/operations/webPubSub.js +108 -107
- package/dist-esm/src/generated/operations/webPubSub.js.map +1 -1
- package/dist-esm/src/generated/operationsInterfaces/healthApi.js.map +1 -1
- package/dist-esm/src/generated/operationsInterfaces/webPubSub.js.map +1 -1
- package/dist-esm/src/hubClient.js +15 -8
- package/dist-esm/src/hubClient.js.map +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/test/hubs.spec.js +11 -0
- package/dist-esm/test/hubs.spec.js.map +1 -1
- package/dist-esm/test/integration.spec.js +3 -3
- package/dist-esm/test/integration.spec.js.map +1 -1
- package/dist-esm/test/testEnv.js +0 -3
- package/dist-esm/test/testEnv.js.map +1 -1
- package/package.json +5 -5
- package/types/web-pubsub.d.ts +11 -0
@@ -5,28 +5,28 @@
|
|
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
|
-
import { AddToGroupsRequest as AddToGroupsRequestMapper, RemoveFromGroupsRequest as RemoveFromGroupsRequestMapper } from "../models/mappers";
|
8
|
+
import { AddToGroupsRequest as AddToGroupsRequestMapper, RemoveFromGroupsRequest as RemoveFromGroupsRequestMapper, } from "../models/mappers";
|
9
9
|
export const endpoint = {
|
10
10
|
parameterPath: "endpoint",
|
11
11
|
mapper: {
|
12
12
|
serializedName: "endpoint",
|
13
13
|
required: true,
|
14
14
|
type: {
|
15
|
-
name: "String"
|
16
|
-
}
|
15
|
+
name: "String",
|
16
|
+
},
|
17
17
|
},
|
18
|
-
skipEncoding: true
|
18
|
+
skipEncoding: true,
|
19
19
|
};
|
20
20
|
export const apiVersion = {
|
21
21
|
parameterPath: "apiVersion",
|
22
22
|
mapper: {
|
23
|
-
defaultValue: "
|
23
|
+
defaultValue: "2024-01-01",
|
24
24
|
isConstant: true,
|
25
25
|
serializedName: "api-version",
|
26
26
|
type: {
|
27
|
-
name: "String"
|
28
|
-
}
|
29
|
-
}
|
27
|
+
name: "String",
|
28
|
+
},
|
29
|
+
},
|
30
30
|
};
|
31
31
|
export const contentType = {
|
32
32
|
parameterPath: ["options", "contentType"],
|
@@ -35,13 +35,13 @@ export const contentType = {
|
|
35
35
|
isConstant: true,
|
36
36
|
serializedName: "Content-Type",
|
37
37
|
type: {
|
38
|
-
name: "String"
|
39
|
-
}
|
40
|
-
}
|
38
|
+
name: "String",
|
39
|
+
},
|
40
|
+
},
|
41
41
|
};
|
42
42
|
export const groupsToAdd = {
|
43
43
|
parameterPath: "groupsToAdd",
|
44
|
-
mapper: AddToGroupsRequestMapper
|
44
|
+
mapper: AddToGroupsRequestMapper,
|
45
45
|
};
|
46
46
|
export const accept = {
|
47
47
|
parameterPath: "accept",
|
@@ -50,22 +50,22 @@ export const accept = {
|
|
50
50
|
isConstant: true,
|
51
51
|
serializedName: "Accept",
|
52
52
|
type: {
|
53
|
-
name: "String"
|
54
|
-
}
|
55
|
-
}
|
53
|
+
name: "String",
|
54
|
+
},
|
55
|
+
},
|
56
56
|
};
|
57
57
|
export const hub = {
|
58
58
|
parameterPath: "hub",
|
59
59
|
mapper: {
|
60
60
|
constraints: {
|
61
|
-
Pattern: new RegExp("^[A-Za-z][A-Za-z0-9_`,.[\\]]{0,127}$")
|
61
|
+
Pattern: new RegExp("^[A-Za-z][A-Za-z0-9_`,.[\\]]{0,127}$"),
|
62
62
|
},
|
63
63
|
serializedName: "hub",
|
64
64
|
required: true,
|
65
65
|
type: {
|
66
|
-
name: "String"
|
67
|
-
}
|
68
|
-
}
|
66
|
+
name: "String",
|
67
|
+
},
|
68
|
+
},
|
69
69
|
};
|
70
70
|
export const excluded = {
|
71
71
|
parameterPath: ["options", "excluded"],
|
@@ -75,21 +75,21 @@ export const excluded = {
|
|
75
75
|
name: "Sequence",
|
76
76
|
element: {
|
77
77
|
type: {
|
78
|
-
name: "String"
|
79
|
-
}
|
80
|
-
}
|
81
|
-
}
|
78
|
+
name: "String",
|
79
|
+
},
|
80
|
+
},
|
81
|
+
},
|
82
82
|
},
|
83
|
-
collectionFormat: "Multi"
|
83
|
+
collectionFormat: "Multi",
|
84
84
|
};
|
85
85
|
export const reason = {
|
86
86
|
parameterPath: ["options", "reason"],
|
87
87
|
mapper: {
|
88
88
|
serializedName: "reason",
|
89
89
|
type: {
|
90
|
-
name: "String"
|
91
|
-
}
|
92
|
-
}
|
90
|
+
name: "String",
|
91
|
+
},
|
92
|
+
},
|
93
93
|
};
|
94
94
|
export const accept1 = {
|
95
95
|
parameterPath: "accept",
|
@@ -98,18 +98,18 @@ export const accept1 = {
|
|
98
98
|
isConstant: true,
|
99
99
|
serializedName: "Accept",
|
100
100
|
type: {
|
101
|
-
name: "String"
|
102
|
-
}
|
103
|
-
}
|
101
|
+
name: "String",
|
102
|
+
},
|
103
|
+
},
|
104
104
|
};
|
105
105
|
export const userId = {
|
106
106
|
parameterPath: ["options", "userId"],
|
107
107
|
mapper: {
|
108
108
|
serializedName: "userId",
|
109
109
|
type: {
|
110
|
-
name: "String"
|
111
|
-
}
|
112
|
-
}
|
110
|
+
name: "String",
|
111
|
+
},
|
112
|
+
},
|
113
113
|
};
|
114
114
|
export const roles = {
|
115
115
|
parameterPath: ["options", "roles"],
|
@@ -119,25 +119,25 @@ export const roles = {
|
|
119
119
|
name: "Sequence",
|
120
120
|
element: {
|
121
121
|
type: {
|
122
|
-
name: "String"
|
123
|
-
}
|
124
|
-
}
|
125
|
-
}
|
122
|
+
name: "String",
|
123
|
+
},
|
124
|
+
},
|
125
|
+
},
|
126
126
|
},
|
127
|
-
collectionFormat: "Multi"
|
127
|
+
collectionFormat: "Multi",
|
128
128
|
};
|
129
129
|
export const expirationTimeInMinutes = {
|
130
130
|
parameterPath: ["options", "expirationTimeInMinutes"],
|
131
131
|
mapper: {
|
132
132
|
defaultValue: 60,
|
133
133
|
constraints: {
|
134
|
-
InclusiveMinimum: 1
|
134
|
+
InclusiveMinimum: 1,
|
135
135
|
},
|
136
136
|
serializedName: "minutesToExpire",
|
137
137
|
type: {
|
138
|
-
name: "Number"
|
139
|
-
}
|
140
|
-
}
|
138
|
+
name: "Number",
|
139
|
+
},
|
140
|
+
},
|
141
141
|
};
|
142
142
|
export const groups = {
|
143
143
|
parameterPath: ["options", "groups"],
|
@@ -147,16 +147,26 @@ export const groups = {
|
|
147
147
|
name: "Sequence",
|
148
148
|
element: {
|
149
149
|
type: {
|
150
|
-
name: "String"
|
151
|
-
}
|
152
|
-
}
|
153
|
-
}
|
150
|
+
name: "String",
|
151
|
+
},
|
152
|
+
},
|
153
|
+
},
|
154
|
+
},
|
155
|
+
collectionFormat: "Multi",
|
156
|
+
};
|
157
|
+
export const clientType = {
|
158
|
+
parameterPath: ["options", "clientType"],
|
159
|
+
mapper: {
|
160
|
+
defaultValue: "Default",
|
161
|
+
serializedName: "clientType",
|
162
|
+
type: {
|
163
|
+
name: "String",
|
164
|
+
},
|
154
165
|
},
|
155
|
-
collectionFormat: "Multi"
|
156
166
|
};
|
157
167
|
export const groupsToRemove = {
|
158
168
|
parameterPath: "groupsToRemove",
|
159
|
-
mapper: RemoveFromGroupsRequestMapper
|
169
|
+
mapper: RemoveFromGroupsRequestMapper,
|
160
170
|
};
|
161
171
|
export const contentType1 = {
|
162
172
|
parameterPath: "contentType",
|
@@ -165,9 +175,9 @@ export const contentType1 = {
|
|
165
175
|
required: true,
|
166
176
|
type: {
|
167
177
|
name: "Enum",
|
168
|
-
allowedValues: ["application/json", "application/octet-stream"]
|
169
|
-
}
|
170
|
-
}
|
178
|
+
allowedValues: ["application/json", "application/octet-stream"],
|
179
|
+
},
|
180
|
+
},
|
171
181
|
};
|
172
182
|
export const message = {
|
173
183
|
parameterPath: "message",
|
@@ -175,9 +185,9 @@ export const message = {
|
|
175
185
|
serializedName: "message",
|
176
186
|
required: true,
|
177
187
|
type: {
|
178
|
-
name: "Stream"
|
179
|
-
}
|
180
|
-
}
|
188
|
+
name: "Stream",
|
189
|
+
},
|
190
|
+
},
|
181
191
|
};
|
182
192
|
export const accept2 = {
|
183
193
|
parameterPath: "accept",
|
@@ -186,9 +196,9 @@ export const accept2 = {
|
|
186
196
|
isConstant: true,
|
187
197
|
serializedName: "Accept",
|
188
198
|
type: {
|
189
|
-
name: "String"
|
190
|
-
}
|
191
|
-
}
|
199
|
+
name: "String",
|
200
|
+
},
|
201
|
+
},
|
192
202
|
};
|
193
203
|
export const contentType2 = {
|
194
204
|
parameterPath: "contentType",
|
@@ -197,9 +207,9 @@ export const contentType2 = {
|
|
197
207
|
isConstant: true,
|
198
208
|
serializedName: "Content-Type",
|
199
209
|
type: {
|
200
|
-
name: "String"
|
201
|
-
}
|
202
|
-
}
|
210
|
+
name: "String",
|
211
|
+
},
|
212
|
+
},
|
203
213
|
};
|
204
214
|
export const message1 = {
|
205
215
|
parameterPath: "message",
|
@@ -207,9 +217,9 @@ export const message1 = {
|
|
207
217
|
serializedName: "message",
|
208
218
|
required: true,
|
209
219
|
type: {
|
210
|
-
name: "String"
|
211
|
-
}
|
212
|
-
}
|
220
|
+
name: "String",
|
221
|
+
},
|
222
|
+
},
|
213
223
|
};
|
214
224
|
export const accept3 = {
|
215
225
|
parameterPath: "accept",
|
@@ -218,9 +228,9 @@ export const accept3 = {
|
|
218
228
|
isConstant: true,
|
219
229
|
serializedName: "Accept",
|
220
230
|
type: {
|
221
|
-
name: "String"
|
222
|
-
}
|
223
|
-
}
|
231
|
+
name: "String",
|
232
|
+
},
|
233
|
+
},
|
224
234
|
};
|
225
235
|
export const excludedConnections = {
|
226
236
|
parameterPath: ["options", "excludedConnections"],
|
@@ -230,47 +240,47 @@ export const excludedConnections = {
|
|
230
240
|
name: "Sequence",
|
231
241
|
element: {
|
232
242
|
type: {
|
233
|
-
name: "String"
|
234
|
-
}
|
235
|
-
}
|
236
|
-
}
|
243
|
+
name: "String",
|
244
|
+
},
|
245
|
+
},
|
246
|
+
},
|
237
247
|
},
|
238
|
-
collectionFormat: "Multi"
|
248
|
+
collectionFormat: "Multi",
|
239
249
|
};
|
240
250
|
export const filter = {
|
241
251
|
parameterPath: ["options", "filter"],
|
242
252
|
mapper: {
|
243
253
|
serializedName: "filter",
|
244
254
|
type: {
|
245
|
-
name: "String"
|
246
|
-
}
|
247
|
-
}
|
255
|
+
name: "String",
|
256
|
+
},
|
257
|
+
},
|
248
258
|
};
|
249
259
|
export const messageTtlSeconds = {
|
250
260
|
parameterPath: ["options", "messageTtlSeconds"],
|
251
261
|
mapper: {
|
252
262
|
constraints: {
|
253
263
|
InclusiveMaximum: 300,
|
254
|
-
InclusiveMinimum: 0
|
264
|
+
InclusiveMinimum: 0,
|
255
265
|
},
|
256
266
|
serializedName: "messageTtlSeconds",
|
257
267
|
type: {
|
258
|
-
name: "Number"
|
259
|
-
}
|
260
|
-
}
|
268
|
+
name: "Number",
|
269
|
+
},
|
270
|
+
},
|
261
271
|
};
|
262
272
|
export const connectionId = {
|
263
273
|
parameterPath: "connectionId",
|
264
274
|
mapper: {
|
265
275
|
constraints: {
|
266
|
-
MinLength: 1
|
276
|
+
MinLength: 1,
|
267
277
|
},
|
268
278
|
serializedName: "connectionId",
|
269
279
|
required: true,
|
270
280
|
type: {
|
271
|
-
name: "String"
|
272
|
-
}
|
273
|
-
}
|
281
|
+
name: "String",
|
282
|
+
},
|
283
|
+
},
|
274
284
|
};
|
275
285
|
export const group = {
|
276
286
|
parameterPath: "group",
|
@@ -278,14 +288,14 @@ export const group = {
|
|
278
288
|
constraints: {
|
279
289
|
Pattern: new RegExp("^(?!\\s+$).+$"),
|
280
290
|
MaxLength: 1024,
|
281
|
-
MinLength: 1
|
291
|
+
MinLength: 1,
|
282
292
|
},
|
283
293
|
serializedName: "group",
|
284
294
|
required: true,
|
285
295
|
type: {
|
286
|
-
name: "String"
|
287
|
-
}
|
288
|
-
}
|
296
|
+
name: "String",
|
297
|
+
},
|
298
|
+
},
|
289
299
|
};
|
290
300
|
export const permission = {
|
291
301
|
parameterPath: "permission",
|
@@ -293,30 +303,30 @@ export const permission = {
|
|
293
303
|
serializedName: "permission",
|
294
304
|
required: true,
|
295
305
|
type: {
|
296
|
-
name: "String"
|
297
|
-
}
|
298
|
-
}
|
306
|
+
name: "String",
|
307
|
+
},
|
308
|
+
},
|
299
309
|
};
|
300
310
|
export const targetName = {
|
301
311
|
parameterPath: ["options", "targetName"],
|
302
312
|
mapper: {
|
303
313
|
serializedName: "targetName",
|
304
314
|
type: {
|
305
|
-
name: "String"
|
306
|
-
}
|
307
|
-
}
|
315
|
+
name: "String",
|
316
|
+
},
|
317
|
+
},
|
308
318
|
};
|
309
319
|
export const userId1 = {
|
310
320
|
parameterPath: "userId",
|
311
321
|
mapper: {
|
312
322
|
constraints: {
|
313
|
-
MinLength: 1
|
323
|
+
MinLength: 1,
|
314
324
|
},
|
315
325
|
serializedName: "userId",
|
316
326
|
required: true,
|
317
327
|
type: {
|
318
|
-
name: "String"
|
319
|
-
}
|
320
|
-
}
|
328
|
+
name: "String",
|
329
|
+
},
|
330
|
+
},
|
321
331
|
};
|
322
332
|
//# sourceMappingURL=parameters.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/models/parameters.ts"],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AAY;QAC5B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,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\";\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: \"2023-07-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 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"]}
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,kBAAkB,IAAI,wBAAwB,EAC9C,uBAAuB,IAAI,6BAA6B,GACzD,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;Q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ACN,WAAW,EAAE;YACX,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,cAAc;QAC9B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,eAAe,CAAC;YACpC,SAAS,EAAE,IAAI;YACf,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA0B;IAC/C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,cAAc,EAAE,YAAY;QAC5B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,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;AAEF,MAAM,CAAC,MAAM,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\";\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"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"healthApi.js","sourceRoot":"","sources":["../../../../src/generated/operations/healthApi.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAInD,6CAA6C;AAC7C,MAAM,OAAO,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;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\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { GeneratedClient } from \"../generatedClient\";\nimport { HealthApiGetServiceStatusOptionalParams } from \"../models\";\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
|
1
|
+
{"version":3,"file":"healthApi.js","sourceRoot":"","sources":["../../../../src/generated/operations/healthApi.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAInD,6CAA6C;AAC7C,MAAM,OAAO,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;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\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { GeneratedClient } from \"../generatedClient\";\nimport { HealthApiGetServiceStatusOptionalParams } from \"../models\";\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"]}
|