@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.
Files changed (151) hide show
  1. package/CHANGELOG.md +14 -10
  2. package/LICENSE +1 -1
  3. package/dist/index.js +1345 -1235
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js +10 -3
  8. package/dist-esm/samples-dev/dicomServicesCreateOrUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/dicomServicesDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/dicomServicesGetSample.js +1 -1
  11. package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js +1 -1
  12. package/dist-esm/samples-dev/dicomServicesUpdateSample.js +3 -3
  13. package/dist-esm/samples-dev/dicomServicesUpdateSample.js.map +1 -1
  14. package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js +1 -1
  15. package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js +23 -11
  16. package/dist-esm/samples-dev/fhirServicesCreateOrUpdateSample.js.map +1 -1
  17. package/dist-esm/samples-dev/fhirServicesDeleteSample.js +1 -1
  18. package/dist-esm/samples-dev/fhirServicesGetSample.js +1 -1
  19. package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js +1 -1
  20. package/dist-esm/samples-dev/fhirServicesUpdateSample.js +3 -3
  21. package/dist-esm/samples-dev/fhirServicesUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js +11 -11
  23. package/dist-esm/samples-dev/iotConnectorFhirDestinationCreateOrUpdateSample.js.map +1 -1
  24. package/dist-esm/samples-dev/iotConnectorFhirDestinationDeleteSample.js +1 -1
  25. package/dist-esm/samples-dev/iotConnectorFhirDestinationGetSample.js +1 -1
  26. package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js +12 -12
  27. package/dist-esm/samples-dev/iotConnectorsCreateOrUpdateSample.js.map +1 -1
  28. package/dist-esm/samples-dev/iotConnectorsDeleteSample.js +1 -1
  29. package/dist-esm/samples-dev/iotConnectorsGetSample.js +1 -1
  30. package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js +1 -1
  31. package/dist-esm/samples-dev/iotConnectorsUpdateSample.js +4 -4
  32. package/dist-esm/samples-dev/iotConnectorsUpdateSample.js.map +1 -1
  33. package/dist-esm/samples-dev/operationResultsGetSample.js +1 -1
  34. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  35. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +4 -4
  36. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
  37. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  38. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  39. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +1 -1
  40. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  41. package/dist-esm/samples-dev/privateLinkResourcesListByServiceSample.js +1 -1
  42. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +3 -3
  43. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +1 -1
  44. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +18 -18
  45. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -1
  46. package/dist-esm/samples-dev/servicesDeleteSample.js +1 -1
  47. package/dist-esm/samples-dev/servicesGetSample.js +2 -2
  48. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +1 -1
  49. package/dist-esm/samples-dev/servicesListSample.js +1 -1
  50. package/dist-esm/samples-dev/servicesUpdateSample.js +3 -3
  51. package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -1
  52. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js +4 -4
  53. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
  54. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js +1 -1
  55. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsDeleteSample.js.map +1 -1
  56. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsGetSample.js +1 -1
  57. package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js +1 -1
  58. package/dist-esm/samples-dev/workspacePrivateLinkResourcesGetSample.js +1 -1
  59. package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js +1 -1
  60. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +2 -2
  61. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
  62. package/dist-esm/samples-dev/workspacesDeleteSample.js +1 -1
  63. package/dist-esm/samples-dev/workspacesGetSample.js +1 -1
  64. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +1 -1
  65. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +1 -1
  66. package/dist-esm/samples-dev/workspacesUpdateSample.js +3 -3
  67. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
  68. package/dist-esm/src/healthcareApisManagementClient.js +11 -10
  69. package/dist-esm/src/healthcareApisManagementClient.js.map +1 -1
  70. package/dist-esm/src/lroImpl.js +1 -1
  71. package/dist-esm/src/models/index.d.ts +42 -0
  72. package/dist-esm/src/models/index.d.ts.map +1 -1
  73. package/dist-esm/src/models/index.js +6 -0
  74. package/dist-esm/src/models/index.js.map +1 -1
  75. package/dist-esm/src/models/mappers.d.ts +3 -0
  76. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  77. package/dist-esm/src/models/mappers.js +833 -733
  78. package/dist-esm/src/models/mappers.js.map +1 -1
  79. package/dist-esm/src/models/parameters.js +75 -75
  80. package/dist-esm/src/models/parameters.js.map +1 -1
  81. package/dist-esm/src/operations/dicomServices.d.ts.map +1 -1
  82. package/dist-esm/src/operations/dicomServices.js +51 -51
  83. package/dist-esm/src/operations/dicomServices.js.map +1 -1
  84. package/dist-esm/src/operations/fhirDestinations.js +11 -11
  85. package/dist-esm/src/operations/fhirDestinations.js.map +1 -1
  86. package/dist-esm/src/operations/fhirServices.d.ts.map +1 -1
  87. package/dist-esm/src/operations/fhirServices.js +51 -51
  88. package/dist-esm/src/operations/fhirServices.js.map +1 -1
  89. package/dist-esm/src/operations/iotConnectorFhirDestination.d.ts.map +1 -1
  90. package/dist-esm/src/operations/iotConnectorFhirDestination.js +29 -29
  91. package/dist-esm/src/operations/iotConnectorFhirDestination.js.map +1 -1
  92. package/dist-esm/src/operations/iotConnectors.d.ts.map +1 -1
  93. package/dist-esm/src/operations/iotConnectors.js +51 -51
  94. package/dist-esm/src/operations/iotConnectors.js.map +1 -1
  95. package/dist-esm/src/operations/operationResults.js +5 -5
  96. package/dist-esm/src/operations/operationResults.js.map +1 -1
  97. package/dist-esm/src/operations/operations.js +9 -9
  98. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  99. package/dist-esm/src/operations/privateEndpointConnections.js +35 -35
  100. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  101. package/dist-esm/src/operations/privateLinkResources.js +10 -10
  102. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  103. package/dist-esm/src/operations/services.d.ts.map +1 -1
  104. package/dist-esm/src/operations/services.js +64 -64
  105. package/dist-esm/src/operations/services.js.map +1 -1
  106. package/dist-esm/src/operations/workspacePrivateEndpointConnections.d.ts.map +1 -1
  107. package/dist-esm/src/operations/workspacePrivateEndpointConnections.js +35 -35
  108. package/dist-esm/src/operations/workspacePrivateEndpointConnections.js.map +1 -1
  109. package/dist-esm/src/operations/workspacePrivateLinkResources.d.ts.map +1 -1
  110. package/dist-esm/src/operations/workspacePrivateLinkResources.js +11 -11
  111. package/dist-esm/src/operations/workspacePrivateLinkResources.js.map +1 -1
  112. package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
  113. package/dist-esm/src/operations/workspaces.js +60 -60
  114. package/dist-esm/src/operations/workspaces.js.map +1 -1
  115. package/dist-esm/test/healthcareapis_operations_test.spec.js +1 -1
  116. package/dist-esm/test/healthcareapis_operations_test.spec.js.map +1 -1
  117. package/package.json +3 -4
  118. package/review/arm-healthcareapis.api.md +30 -0
  119. package/src/healthcareApisManagementClient.ts +22 -22
  120. package/src/lroImpl.ts +3 -3
  121. package/src/models/index.ts +88 -27
  122. package/src/models/mappers.ts +973 -860
  123. package/src/models/parameters.ts +76 -76
  124. package/src/operations/dicomServices.ts +101 -109
  125. package/src/operations/fhirDestinations.ts +25 -26
  126. package/src/operations/fhirServices.ts +101 -109
  127. package/src/operations/iotConnectorFhirDestination.ts +57 -61
  128. package/src/operations/iotConnectors.ts +101 -109
  129. package/src/operations/operationResults.ts +9 -10
  130. package/src/operations/operations.ts +16 -16
  131. package/src/operations/privateEndpointConnections.ts +73 -78
  132. package/src/operations/privateLinkResources.ts +17 -19
  133. package/src/operations/services.ts +122 -132
  134. package/src/operations/workspacePrivateEndpointConnections.ts +73 -78
  135. package/src/operations/workspacePrivateLinkResources.ts +27 -28
  136. package/src/operations/workspaces.ts +116 -125
  137. package/src/operationsInterfaces/dicomServices.ts +9 -9
  138. package/src/operationsInterfaces/fhirDestinations.ts +2 -2
  139. package/src/operationsInterfaces/fhirServices.ts +9 -9
  140. package/src/operationsInterfaces/iotConnectorFhirDestination.ts +6 -6
  141. package/src/operationsInterfaces/iotConnectors.ts +9 -9
  142. package/src/operationsInterfaces/operationResults.ts +2 -2
  143. package/src/operationsInterfaces/operations.ts +1 -1
  144. package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
  145. package/src/operationsInterfaces/privateLinkResources.ts +3 -3
  146. package/src/operationsInterfaces/services.ts +11 -11
  147. package/src/operationsInterfaces/workspacePrivateEndpointConnections.ts +7 -7
  148. package/src/operationsInterfaces/workspacePrivateLinkResources.ts +3 -3
  149. package/src/operationsInterfaces/workspaces.ts +10 -10
  150. package/src/pagingHelper.ts +1 -1
  151. package/types/arm-healthcareapis.d.ts +47 -0
@@ -18,7 +18,7 @@ import {
18
18
  FhirDestinationsListByIotConnectorNextOptionalParams,
19
19
  FhirDestinationsListByIotConnectorOptionalParams,
20
20
  FhirDestinationsListByIotConnectorResponse,
21
- FhirDestinationsListByIotConnectorNextResponse
21
+ FhirDestinationsListByIotConnectorNextResponse,
22
22
  } from "../models";
23
23
 
24
24
  /// <reference lib="esnext.asynciterable" />
@@ -45,13 +45,13 @@ export class FhirDestinationsImpl implements FhirDestinations {
45
45
  resourceGroupName: string,
46
46
  workspaceName: string,
47
47
  iotConnectorName: string,
48
- options?: FhirDestinationsListByIotConnectorOptionalParams
48
+ options?: FhirDestinationsListByIotConnectorOptionalParams,
49
49
  ): PagedAsyncIterableIterator<IotFhirDestination> {
50
50
  const iter = this.listByIotConnectorPagingAll(
51
51
  resourceGroupName,
52
52
  workspaceName,
53
53
  iotConnectorName,
54
- options
54
+ options,
55
55
  );
56
56
  return {
57
57
  next() {
@@ -69,9 +69,9 @@ export class FhirDestinationsImpl implements FhirDestinations {
69
69
  workspaceName,
70
70
  iotConnectorName,
71
71
  options,
72
- settings
72
+ settings,
73
73
  );
74
- }
74
+ },
75
75
  };
76
76
  }
77
77
 
@@ -80,7 +80,7 @@ export class FhirDestinationsImpl implements FhirDestinations {
80
80
  workspaceName: string,
81
81
  iotConnectorName: string,
82
82
  options?: FhirDestinationsListByIotConnectorOptionalParams,
83
- settings?: PageSettings
83
+ settings?: PageSettings,
84
84
  ): AsyncIterableIterator<IotFhirDestination[]> {
85
85
  let result: FhirDestinationsListByIotConnectorResponse;
86
86
  let continuationToken = settings?.continuationToken;
@@ -89,7 +89,7 @@ export class FhirDestinationsImpl implements FhirDestinations {
89
89
  resourceGroupName,
90
90
  workspaceName,
91
91
  iotConnectorName,
92
- options
92
+ options,
93
93
  );
94
94
  let page = result.value || [];
95
95
  continuationToken = result.nextLink;
@@ -102,7 +102,7 @@ export class FhirDestinationsImpl implements FhirDestinations {
102
102
  workspaceName,
103
103
  iotConnectorName,
104
104
  continuationToken,
105
- options
105
+ options,
106
106
  );
107
107
  continuationToken = result.nextLink;
108
108
  let page = result.value || [];
@@ -115,13 +115,13 @@ export class FhirDestinationsImpl implements FhirDestinations {
115
115
  resourceGroupName: string,
116
116
  workspaceName: string,
117
117
  iotConnectorName: string,
118
- options?: FhirDestinationsListByIotConnectorOptionalParams
118
+ options?: FhirDestinationsListByIotConnectorOptionalParams,
119
119
  ): AsyncIterableIterator<IotFhirDestination> {
120
120
  for await (const page of this.listByIotConnectorPagingPage(
121
121
  resourceGroupName,
122
122
  workspaceName,
123
123
  iotConnectorName,
124
- options
124
+ options,
125
125
  )) {
126
126
  yield* page;
127
127
  }
@@ -138,11 +138,11 @@ export class FhirDestinationsImpl implements FhirDestinations {
138
138
  resourceGroupName: string,
139
139
  workspaceName: string,
140
140
  iotConnectorName: string,
141
- options?: FhirDestinationsListByIotConnectorOptionalParams
141
+ options?: FhirDestinationsListByIotConnectorOptionalParams,
142
142
  ): Promise<FhirDestinationsListByIotConnectorResponse> {
143
143
  return this.client.sendOperationRequest(
144
144
  { resourceGroupName, workspaceName, iotConnectorName, options },
145
- listByIotConnectorOperationSpec
145
+ listByIotConnectorOperationSpec,
146
146
  );
147
147
  }
148
148
 
@@ -159,11 +159,11 @@ export class FhirDestinationsImpl implements FhirDestinations {
159
159
  workspaceName: string,
160
160
  iotConnectorName: string,
161
161
  nextLink: string,
162
- options?: FhirDestinationsListByIotConnectorNextOptionalParams
162
+ options?: FhirDestinationsListByIotConnectorNextOptionalParams,
163
163
  ): Promise<FhirDestinationsListByIotConnectorNextResponse> {
164
164
  return this.client.sendOperationRequest(
165
165
  { resourceGroupName, workspaceName, iotConnectorName, nextLink, options },
166
- listByIotConnectorNextOperationSpec
166
+ listByIotConnectorNextOperationSpec,
167
167
  );
168
168
  }
169
169
  }
@@ -171,16 +171,15 @@ export class FhirDestinationsImpl implements FhirDestinations {
171
171
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
172
172
 
173
173
  const listByIotConnectorOperationSpec: coreClient.OperationSpec = {
174
- path:
175
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations",
174
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations",
176
175
  httpMethod: "GET",
177
176
  responses: {
178
177
  200: {
179
- bodyMapper: Mappers.IotFhirDestinationCollection
178
+ bodyMapper: Mappers.IotFhirDestinationCollection,
180
179
  },
181
180
  default: {
182
- bodyMapper: Mappers.ErrorDetails
183
- }
181
+ bodyMapper: Mappers.ErrorDetails,
182
+ },
184
183
  },
185
184
  queryParameters: [Parameters.apiVersion],
186
185
  urlParameters: [
@@ -188,21 +187,21 @@ const listByIotConnectorOperationSpec: coreClient.OperationSpec = {
188
187
  Parameters.subscriptionId,
189
188
  Parameters.resourceGroupName,
190
189
  Parameters.workspaceName,
191
- Parameters.iotConnectorName
190
+ Parameters.iotConnectorName,
192
191
  ],
193
192
  headerParameters: [Parameters.accept],
194
- serializer
193
+ serializer,
195
194
  };
196
195
  const listByIotConnectorNextOperationSpec: coreClient.OperationSpec = {
197
196
  path: "{nextLink}",
198
197
  httpMethod: "GET",
199
198
  responses: {
200
199
  200: {
201
- bodyMapper: Mappers.IotFhirDestinationCollection
200
+ bodyMapper: Mappers.IotFhirDestinationCollection,
202
201
  },
203
202
  default: {
204
- bodyMapper: Mappers.ErrorDetails
205
- }
203
+ bodyMapper: Mappers.ErrorDetails,
204
+ },
206
205
  },
207
206
  urlParameters: [
208
207
  Parameters.$host,
@@ -210,8 +209,8 @@ const listByIotConnectorNextOperationSpec: coreClient.OperationSpec = {
210
209
  Parameters.resourceGroupName,
211
210
  Parameters.nextLink,
212
211
  Parameters.workspaceName,
213
- Parameters.iotConnectorName
212
+ Parameters.iotConnectorName,
214
213
  ],
215
214
  headerParameters: [Parameters.accept],
216
- serializer
215
+ serializer,
217
216
  };