@azure/arm-healthcareapis 3.0.1-alpha.20240423.1 → 3.1.0-alpha.20240425.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -10
- package/LICENSE +1 -1
- package/dist/index.js +1345 -1235
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js +10 -3
- package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/dicomServicesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/dicomServicesGetSample.js +1 -1
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js +1 -1
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js +3 -3
- package/dist-esm/samples-dev/dicomServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js +1 -1
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js +23 -11
- package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/fhirServicesGetSample.js +1 -1
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js +1 -1
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js +3 -3
- package/dist-esm/samples-dev/fhirServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js +11 -11
- package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js +1 -1
- package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js +1 -1
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js +12 -12
- package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/iotConnectorsGetSample.js +1 -1
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js +1 -1
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js +4 -4
- package/dist-esm/samples-dev/iotConnectorsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js +1 -1
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +3 -3
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +18 -18
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/servicesGetSample.js +2 -2
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/servicesListSample.js +1 -1
- package/dist-esm/samples-dev/servicesUpdateSample.js +3 -3
- package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js +1 -1
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js +1 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +1 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +3 -3
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
- package/dist-esm/src/healthcareApisManagementClient.js +11 -10
- package/dist-esm/src/healthcareApisManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +42 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +6 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +833 -733
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +75 -75
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/dicomServices.d.ts.map +1 -1
- package/dist-esm/src/operations/dicomServices.js +51 -51
- package/dist-esm/src/operations/dicomServices.js.map +1 -1
- package/dist-esm/src/operations/fhirDestinations.js +11 -11
- package/dist-esm/src/operations/fhirDestinations.js.map +1 -1
- package/dist-esm/src/operations/fhirServices.d.ts.map +1 -1
- package/dist-esm/src/operations/fhirServices.js +51 -51
- package/dist-esm/src/operations/fhirServices.js.map +1 -1
- package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts.map +1 -1
- package/dist-esm/src/operations/iotConnectorFhirDestination.js +29 -29
- package/dist-esm/src/operations/iotConnectorFhirDestination.js.map +1 -1
- package/dist-esm/src/operations/iotConnectors.d.ts.map +1 -1
- package/dist-esm/src/operations/iotConnectors.js +51 -51
- package/dist-esm/src/operations/iotConnectors.js.map +1 -1
- package/dist-esm/src/operations/operationResults.js +5 -5
- package/dist-esm/src/operations/operationResults.js.map +1 -1
- package/dist-esm/src/operations/operations.js +9 -9
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +35 -35
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +10 -10
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/services.d.ts.map +1 -1
- package/dist-esm/src/operations/services.js +64 -64
- package/dist-esm/src/operations/services.js.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js +35 -35
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/workspacePrivateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/workspacePrivateLinkResources.js +11 -11
- package/dist-esm/src/operations/workspacePrivateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
- package/dist-esm/src/operations/workspaces.js +60 -60
- package/dist-esm/src/operations/workspaces.js.map +1 -1
- package/dist-esm/test/healthcareapis_operations_test.spec.js +1 -1
- package/dist-esm/test/healthcareapis_operations_test.spec.js.map +1 -1
- package/package.json +3 -4
- package/review/arm-healthcareapis.api.md +30 -0
- package/src/healthcareApisManagementClient.ts +22 -22
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +88 -27
- package/src/models/mappers.ts +973 -860
- package/src/models/parameters.ts +76 -76
- package/src/operations/dicomServices.ts +101 -109
- package/src/operations/fhirDestinations.ts +25 -26
- package/src/operations/fhirServices.ts +101 -109
- package/src/operations/iotConnectorFhirDestination.ts +57 -61
- package/src/operations/iotConnectors.ts +101 -109
- package/src/operations/operationResults.ts +9 -10
- package/src/operations/operations.ts +16 -16
- package/src/operations/privateEndpointConnections.ts +73 -78
- package/src/operations/privateLinkResources.ts +17 -19
- package/src/operations/services.ts +122 -132
- package/src/operations/workspacePrivateEndpointConnections.ts +73 -78
- package/src/operations/workspacePrivateLinkResources.ts +27 -28
- package/src/operations/workspaces.ts +116 -125
- package/src/operationsInterfaces/dicomServices.ts +9 -9
- package/src/operationsInterfaces/fhirDestinations.ts +2 -2
- package/src/operationsInterfaces/fhirServices.ts +9 -9
- package/src/operationsInterfaces/iotConnectorFhirDestination.ts +6 -6
- package/src/operationsInterfaces/iotConnectors.ts +9 -9
- package/src/operationsInterfaces/operationResults.ts +2 -2
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
- package/src/operationsInterfaces/privateLinkResources.ts +3 -3
- package/src/operationsInterfaces/services.ts +11 -11
- package/src/operationsInterfaces/workspacePrivateEndpointConnections.ts +7 -7
- package/src/operationsInterfaces/workspacePrivateLinkResources.ts +3 -3
- package/src/operationsInterfaces/workspaces.ts +10 -10
- package/src/pagingHelper.ts +1 -1
- package/types/arm-healthcareapis.d.ts +47 -0
@@ -14,7 +14,7 @@ import { HealthcareApisManagementClient } from "../healthcareApisManagementClien
|
|
14
14
|
import {
|
15
15
|
SimplePollerLike,
|
16
16
|
OperationState,
|
17
|
-
createHttpPoller
|
17
|
+
createHttpPoller,
|
18
18
|
} from "@azure/core-lro";
|
19
19
|
import { createLroSpec } from "../lroImpl";
|
20
20
|
import {
|
@@ -23,12 +23,13 @@ import {
|
|
23
23
|
IotFhirDestination,
|
24
24
|
IotConnectorFhirDestinationCreateOrUpdateOptionalParams,
|
25
25
|
IotConnectorFhirDestinationCreateOrUpdateResponse,
|
26
|
-
IotConnectorFhirDestinationDeleteOptionalParams
|
26
|
+
IotConnectorFhirDestinationDeleteOptionalParams,
|
27
27
|
} from "../models";
|
28
28
|
|
29
29
|
/** Class containing IotConnectorFhirDestination operations. */
|
30
30
|
export class IotConnectorFhirDestinationImpl
|
31
|
-
implements IotConnectorFhirDestination
|
31
|
+
implements IotConnectorFhirDestination
|
32
|
+
{
|
32
33
|
private readonly client: HealthcareApisManagementClient;
|
33
34
|
|
34
35
|
/**
|
@@ -52,7 +53,7 @@ export class IotConnectorFhirDestinationImpl
|
|
52
53
|
workspaceName: string,
|
53
54
|
iotConnectorName: string,
|
54
55
|
fhirDestinationName: string,
|
55
|
-
options?: IotConnectorFhirDestinationGetOptionalParams
|
56
|
+
options?: IotConnectorFhirDestinationGetOptionalParams,
|
56
57
|
): Promise<IotConnectorFhirDestinationGetResponse> {
|
57
58
|
return this.client.sendOperationRequest(
|
58
59
|
{
|
@@ -60,9 +61,9 @@ export class IotConnectorFhirDestinationImpl
|
|
60
61
|
workspaceName,
|
61
62
|
iotConnectorName,
|
62
63
|
fhirDestinationName,
|
63
|
-
options
|
64
|
+
options,
|
64
65
|
},
|
65
|
-
getOperationSpec
|
66
|
+
getOperationSpec,
|
66
67
|
);
|
67
68
|
}
|
68
69
|
|
@@ -82,7 +83,7 @@ export class IotConnectorFhirDestinationImpl
|
|
82
83
|
iotConnectorName: string,
|
83
84
|
fhirDestinationName: string,
|
84
85
|
iotFhirDestination: IotFhirDestination,
|
85
|
-
options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams
|
86
|
+
options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams,
|
86
87
|
): Promise<
|
87
88
|
SimplePollerLike<
|
88
89
|
OperationState<IotConnectorFhirDestinationCreateOrUpdateResponse>,
|
@@ -91,21 +92,20 @@ export class IotConnectorFhirDestinationImpl
|
|
91
92
|
> {
|
92
93
|
const directSendOperation = async (
|
93
94
|
args: coreClient.OperationArguments,
|
94
|
-
spec: coreClient.OperationSpec
|
95
|
+
spec: coreClient.OperationSpec,
|
95
96
|
): Promise<IotConnectorFhirDestinationCreateOrUpdateResponse> => {
|
96
97
|
return this.client.sendOperationRequest(args, spec);
|
97
98
|
};
|
98
99
|
const sendOperationFn = async (
|
99
100
|
args: coreClient.OperationArguments,
|
100
|
-
spec: coreClient.OperationSpec
|
101
|
+
spec: coreClient.OperationSpec,
|
101
102
|
) => {
|
102
|
-
let currentRawResponse:
|
103
|
-
|
104
|
-
| undefined = undefined;
|
103
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
104
|
+
undefined;
|
105
105
|
const providedCallback = args.options?.onResponse;
|
106
106
|
const callback: coreClient.RawResponseCallback = (
|
107
107
|
rawResponse: coreClient.FullOperationResponse,
|
108
|
-
flatResponse: unknown
|
108
|
+
flatResponse: unknown,
|
109
109
|
) => {
|
110
110
|
currentRawResponse = rawResponse;
|
111
111
|
providedCallback?.(rawResponse, flatResponse);
|
@@ -114,8 +114,8 @@ export class IotConnectorFhirDestinationImpl
|
|
114
114
|
...args,
|
115
115
|
options: {
|
116
116
|
...args.options,
|
117
|
-
onResponse: callback
|
118
|
-
}
|
117
|
+
onResponse: callback,
|
118
|
+
},
|
119
119
|
};
|
120
120
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
121
121
|
return {
|
@@ -123,8 +123,8 @@ export class IotConnectorFhirDestinationImpl
|
|
123
123
|
rawResponse: {
|
124
124
|
statusCode: currentRawResponse!.status,
|
125
125
|
body: currentRawResponse!.parsedBody,
|
126
|
-
headers: currentRawResponse!.headers.toJSON()
|
127
|
-
}
|
126
|
+
headers: currentRawResponse!.headers.toJSON(),
|
127
|
+
},
|
128
128
|
};
|
129
129
|
};
|
130
130
|
|
@@ -136,16 +136,16 @@ export class IotConnectorFhirDestinationImpl
|
|
136
136
|
iotConnectorName,
|
137
137
|
fhirDestinationName,
|
138
138
|
iotFhirDestination,
|
139
|
-
options
|
139
|
+
options,
|
140
140
|
},
|
141
|
-
spec: createOrUpdateOperationSpec
|
141
|
+
spec: createOrUpdateOperationSpec,
|
142
142
|
});
|
143
143
|
const poller = await createHttpPoller<
|
144
144
|
IotConnectorFhirDestinationCreateOrUpdateResponse,
|
145
145
|
OperationState<IotConnectorFhirDestinationCreateOrUpdateResponse>
|
146
146
|
>(lro, {
|
147
147
|
restoreFrom: options?.resumeFrom,
|
148
|
-
intervalInMs: options?.updateIntervalInMs
|
148
|
+
intervalInMs: options?.updateIntervalInMs,
|
149
149
|
});
|
150
150
|
await poller.poll();
|
151
151
|
return poller;
|
@@ -167,7 +167,7 @@ export class IotConnectorFhirDestinationImpl
|
|
167
167
|
iotConnectorName: string,
|
168
168
|
fhirDestinationName: string,
|
169
169
|
iotFhirDestination: IotFhirDestination,
|
170
|
-
options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams
|
170
|
+
options?: IotConnectorFhirDestinationCreateOrUpdateOptionalParams,
|
171
171
|
): Promise<IotConnectorFhirDestinationCreateOrUpdateResponse> {
|
172
172
|
const poller = await this.beginCreateOrUpdate(
|
173
173
|
resourceGroupName,
|
@@ -175,7 +175,7 @@ export class IotConnectorFhirDestinationImpl
|
|
175
175
|
iotConnectorName,
|
176
176
|
fhirDestinationName,
|
177
177
|
iotFhirDestination,
|
178
|
-
options
|
178
|
+
options,
|
179
179
|
);
|
180
180
|
return poller.pollUntilDone();
|
181
181
|
}
|
@@ -193,25 +193,24 @@ export class IotConnectorFhirDestinationImpl
|
|
193
193
|
workspaceName: string,
|
194
194
|
iotConnectorName: string,
|
195
195
|
fhirDestinationName: string,
|
196
|
-
options?: IotConnectorFhirDestinationDeleteOptionalParams
|
196
|
+
options?: IotConnectorFhirDestinationDeleteOptionalParams,
|
197
197
|
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
198
198
|
const directSendOperation = async (
|
199
199
|
args: coreClient.OperationArguments,
|
200
|
-
spec: coreClient.OperationSpec
|
200
|
+
spec: coreClient.OperationSpec,
|
201
201
|
): Promise<void> => {
|
202
202
|
return this.client.sendOperationRequest(args, spec);
|
203
203
|
};
|
204
204
|
const sendOperationFn = async (
|
205
205
|
args: coreClient.OperationArguments,
|
206
|
-
spec: coreClient.OperationSpec
|
206
|
+
spec: coreClient.OperationSpec,
|
207
207
|
) => {
|
208
|
-
let currentRawResponse:
|
209
|
-
|
210
|
-
| undefined = undefined;
|
208
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
209
|
+
undefined;
|
211
210
|
const providedCallback = args.options?.onResponse;
|
212
211
|
const callback: coreClient.RawResponseCallback = (
|
213
212
|
rawResponse: coreClient.FullOperationResponse,
|
214
|
-
flatResponse: unknown
|
213
|
+
flatResponse: unknown,
|
215
214
|
) => {
|
216
215
|
currentRawResponse = rawResponse;
|
217
216
|
providedCallback?.(rawResponse, flatResponse);
|
@@ -220,8 +219,8 @@ export class IotConnectorFhirDestinationImpl
|
|
220
219
|
...args,
|
221
220
|
options: {
|
222
221
|
...args.options,
|
223
|
-
onResponse: callback
|
224
|
-
}
|
222
|
+
onResponse: callback,
|
223
|
+
},
|
225
224
|
};
|
226
225
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
227
226
|
return {
|
@@ -229,8 +228,8 @@ export class IotConnectorFhirDestinationImpl
|
|
229
228
|
rawResponse: {
|
230
229
|
statusCode: currentRawResponse!.status,
|
231
230
|
body: currentRawResponse!.parsedBody,
|
232
|
-
headers: currentRawResponse!.headers.toJSON()
|
233
|
-
}
|
231
|
+
headers: currentRawResponse!.headers.toJSON(),
|
232
|
+
},
|
234
233
|
};
|
235
234
|
};
|
236
235
|
|
@@ -241,13 +240,13 @@ export class IotConnectorFhirDestinationImpl
|
|
241
240
|
workspaceName,
|
242
241
|
iotConnectorName,
|
243
242
|
fhirDestinationName,
|
244
|
-
options
|
243
|
+
options,
|
245
244
|
},
|
246
|
-
spec: deleteOperationSpec
|
245
|
+
spec: deleteOperationSpec,
|
247
246
|
});
|
248
247
|
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
249
248
|
restoreFrom: options?.resumeFrom,
|
250
|
-
intervalInMs: options?.updateIntervalInMs
|
249
|
+
intervalInMs: options?.updateIntervalInMs,
|
251
250
|
});
|
252
251
|
await poller.poll();
|
253
252
|
return poller;
|
@@ -266,14 +265,14 @@ export class IotConnectorFhirDestinationImpl
|
|
266
265
|
workspaceName: string,
|
267
266
|
iotConnectorName: string,
|
268
267
|
fhirDestinationName: string,
|
269
|
-
options?: IotConnectorFhirDestinationDeleteOptionalParams
|
268
|
+
options?: IotConnectorFhirDestinationDeleteOptionalParams,
|
270
269
|
): Promise<void> {
|
271
270
|
const poller = await this.beginDelete(
|
272
271
|
resourceGroupName,
|
273
272
|
workspaceName,
|
274
273
|
iotConnectorName,
|
275
274
|
fhirDestinationName,
|
276
|
-
options
|
275
|
+
options,
|
277
276
|
);
|
278
277
|
return poller.pollUntilDone();
|
279
278
|
}
|
@@ -282,16 +281,15 @@ export class IotConnectorFhirDestinationImpl
|
|
282
281
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
283
282
|
|
284
283
|
const getOperationSpec: coreClient.OperationSpec = {
|
285
|
-
path:
|
286
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations/{fhirDestinationName}",
|
284
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations/{fhirDestinationName}",
|
287
285
|
httpMethod: "GET",
|
288
286
|
responses: {
|
289
287
|
200: {
|
290
|
-
bodyMapper: Mappers.IotFhirDestination
|
288
|
+
bodyMapper: Mappers.IotFhirDestination,
|
291
289
|
},
|
292
290
|
default: {
|
293
|
-
bodyMapper: Mappers.ErrorDetails
|
294
|
-
}
|
291
|
+
bodyMapper: Mappers.ErrorDetails,
|
292
|
+
},
|
295
293
|
},
|
296
294
|
queryParameters: [Parameters.apiVersion],
|
297
295
|
urlParameters: [
|
@@ -300,31 +298,30 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
300
298
|
Parameters.resourceGroupName,
|
301
299
|
Parameters.workspaceName,
|
302
300
|
Parameters.iotConnectorName,
|
303
|
-
Parameters.fhirDestinationName
|
301
|
+
Parameters.fhirDestinationName,
|
304
302
|
],
|
305
303
|
headerParameters: [Parameters.accept],
|
306
|
-
serializer
|
304
|
+
serializer,
|
307
305
|
};
|
308
306
|
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
309
|
-
path:
|
310
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations/{fhirDestinationName}",
|
307
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations/{fhirDestinationName}",
|
311
308
|
httpMethod: "PUT",
|
312
309
|
responses: {
|
313
310
|
200: {
|
314
|
-
bodyMapper: Mappers.IotFhirDestination
|
311
|
+
bodyMapper: Mappers.IotFhirDestination,
|
315
312
|
},
|
316
313
|
201: {
|
317
|
-
bodyMapper: Mappers.IotFhirDestination
|
314
|
+
bodyMapper: Mappers.IotFhirDestination,
|
318
315
|
},
|
319
316
|
202: {
|
320
|
-
bodyMapper: Mappers.IotFhirDestination
|
317
|
+
bodyMapper: Mappers.IotFhirDestination,
|
321
318
|
},
|
322
319
|
204: {
|
323
|
-
bodyMapper: Mappers.IotFhirDestination
|
320
|
+
bodyMapper: Mappers.IotFhirDestination,
|
324
321
|
},
|
325
322
|
default: {
|
326
|
-
bodyMapper: Mappers.ErrorDetails
|
327
|
-
}
|
323
|
+
bodyMapper: Mappers.ErrorDetails,
|
324
|
+
},
|
328
325
|
},
|
329
326
|
requestBody: Parameters.iotFhirDestination,
|
330
327
|
queryParameters: [Parameters.apiVersion],
|
@@ -334,15 +331,14 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
334
331
|
Parameters.resourceGroupName,
|
335
332
|
Parameters.workspaceName,
|
336
333
|
Parameters.iotConnectorName,
|
337
|
-
Parameters.fhirDestinationName
|
334
|
+
Parameters.fhirDestinationName,
|
338
335
|
],
|
339
336
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
340
337
|
mediaType: "json",
|
341
|
-
serializer
|
338
|
+
serializer,
|
342
339
|
};
|
343
340
|
const deleteOperationSpec: coreClient.OperationSpec = {
|
344
|
-
path:
|
345
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations/{fhirDestinationName}",
|
341
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations/{fhirDestinationName}",
|
346
342
|
httpMethod: "DELETE",
|
347
343
|
responses: {
|
348
344
|
200: {},
|
@@ -350,8 +346,8 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
350
346
|
202: {},
|
351
347
|
204: {},
|
352
348
|
default: {
|
353
|
-
bodyMapper: Mappers.ErrorModel
|
354
|
-
}
|
349
|
+
bodyMapper: Mappers.ErrorModel,
|
350
|
+
},
|
355
351
|
},
|
356
352
|
queryParameters: [Parameters.apiVersion],
|
357
353
|
urlParameters: [
|
@@ -360,8 +356,8 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
360
356
|
Parameters.resourceGroupName,
|
361
357
|
Parameters.workspaceName,
|
362
358
|
Parameters.iotConnectorName,
|
363
|
-
Parameters.fhirDestinationName
|
359
|
+
Parameters.fhirDestinationName,
|
364
360
|
],
|
365
361
|
headerParameters: [Parameters.accept],
|
366
|
-
serializer
|
362
|
+
serializer,
|
367
363
|
};
|