@azure/arm-healthcareapis 3.0.1-alpha.20240424.1 → 3.1.0

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 +5 -6
  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
@@ -19,7 +19,7 @@ import {
19
19
  WorkspacePatchResource,
20
20
  WorkspacesUpdateOptionalParams,
21
21
  WorkspacesUpdateResponse,
22
- WorkspacesDeleteOptionalParams
22
+ WorkspacesDeleteOptionalParams,
23
23
  } from "../models";
24
24
 
25
25
  /// <reference lib="esnext.asynciterable" />
@@ -30,7 +30,7 @@ export interface Workspaces {
30
30
  * @param options The options parameters.
31
31
  */
32
32
  listBySubscription(
33
- options?: WorkspacesListBySubscriptionOptionalParams
33
+ options?: WorkspacesListBySubscriptionOptionalParams,
34
34
  ): PagedAsyncIterableIterator<Workspace>;
35
35
  /**
36
36
  * Lists all the available workspaces under the specified resource group.
@@ -39,7 +39,7 @@ export interface Workspaces {
39
39
  */
40
40
  listByResourceGroup(
41
41
  resourceGroupName: string,
42
- options?: WorkspacesListByResourceGroupOptionalParams
42
+ options?: WorkspacesListByResourceGroupOptionalParams,
43
43
  ): PagedAsyncIterableIterator<Workspace>;
44
44
  /**
45
45
  * Gets the properties of the specified workspace.
@@ -50,7 +50,7 @@ export interface Workspaces {
50
50
  get(
51
51
  resourceGroupName: string,
52
52
  workspaceName: string,
53
- options?: WorkspacesGetOptionalParams
53
+ options?: WorkspacesGetOptionalParams,
54
54
  ): Promise<WorkspacesGetResponse>;
55
55
  /**
56
56
  * Creates or updates a workspace resource with the specified parameters.
@@ -63,7 +63,7 @@ export interface Workspaces {
63
63
  resourceGroupName: string,
64
64
  workspaceName: string,
65
65
  workspace: Workspace,
66
- options?: WorkspacesCreateOrUpdateOptionalParams
66
+ options?: WorkspacesCreateOrUpdateOptionalParams,
67
67
  ): Promise<
68
68
  SimplePollerLike<
69
69
  OperationState<WorkspacesCreateOrUpdateResponse>,
@@ -81,7 +81,7 @@ export interface Workspaces {
81
81
  resourceGroupName: string,
82
82
  workspaceName: string,
83
83
  workspace: Workspace,
84
- options?: WorkspacesCreateOrUpdateOptionalParams
84
+ options?: WorkspacesCreateOrUpdateOptionalParams,
85
85
  ): Promise<WorkspacesCreateOrUpdateResponse>;
86
86
  /**
87
87
  * Patch workspace details.
@@ -94,7 +94,7 @@ export interface Workspaces {
94
94
  resourceGroupName: string,
95
95
  workspaceName: string,
96
96
  workspacePatchResource: WorkspacePatchResource,
97
- options?: WorkspacesUpdateOptionalParams
97
+ options?: WorkspacesUpdateOptionalParams,
98
98
  ): Promise<
99
99
  SimplePollerLike<
100
100
  OperationState<WorkspacesUpdateResponse>,
@@ -112,7 +112,7 @@ export interface Workspaces {
112
112
  resourceGroupName: string,
113
113
  workspaceName: string,
114
114
  workspacePatchResource: WorkspacePatchResource,
115
- options?: WorkspacesUpdateOptionalParams
115
+ options?: WorkspacesUpdateOptionalParams,
116
116
  ): Promise<WorkspacesUpdateResponse>;
117
117
  /**
118
118
  * Deletes a specified workspace.
@@ -123,7 +123,7 @@ export interface Workspaces {
123
123
  beginDelete(
124
124
  resourceGroupName: string,
125
125
  workspaceName: string,
126
- options?: WorkspacesDeleteOptionalParams
126
+ options?: WorkspacesDeleteOptionalParams,
127
127
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
128
128
  /**
129
129
  * Deletes a specified workspace.
@@ -134,6 +134,6 @@ export interface Workspaces {
134
134
  beginDeleteAndWait(
135
135
  resourceGroupName: string,
136
136
  workspaceName: string,
137
- options?: WorkspacesDeleteOptionalParams
137
+ options?: WorkspacesDeleteOptionalParams,
138
138
  ): Promise<void>;
139
139
  }
@@ -28,7 +28,7 @@ export function getContinuationToken(page: unknown): string | undefined {
28
28
 
29
29
  export function setContinuationToken(
30
30
  page: unknown,
31
- continuationToken: string | undefined
31
+ continuationToken: string | undefined,
32
32
  ): void {
33
33
  if (typeof page !== "object" || page === null || !continuationToken) {
34
34
  return;
@@ -82,6 +82,10 @@ export declare interface DicomService extends TaggedResource, ServiceManagedIden
82
82
  readonly eventState?: ServiceEventState;
83
83
  /** The encryption settings of the DICOM service */
84
84
  encryption?: Encryption;
85
+ /** The configuration of external storage account */
86
+ storageConfiguration?: StorageConfiguration;
87
+ /** If data partitions is enabled or not. */
88
+ enableDataPartitions?: boolean;
85
89
  }
86
90
 
87
91
  /** Authentication configuration information */
@@ -372,6 +376,8 @@ export declare interface FhirServiceAuthenticationConfiguration {
372
376
  audience?: string;
373
377
  /** If the SMART on FHIR proxy is enabled */
374
378
  smartProxyEnabled?: boolean;
379
+ /** The array of identity provider configurations for SMART on FHIR authentication. */
380
+ smartIdentityProviders?: SmartIdentityProviderConfiguration[];
375
381
  }
376
382
 
377
383
  /** A collection of Fhir services. */
@@ -1056,6 +1062,12 @@ export declare enum KnownServiceManagedIdentityType {
1056
1062
  SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
1057
1063
  }
1058
1064
 
1065
+ /** Known values of {@link SmartDataActions} that the service accepts. */
1066
+ export declare enum KnownSmartDataActions {
1067
+ /** Read */
1068
+ Read = "Read"
1069
+ }
1070
+
1059
1071
  /** Available operations of the service */
1060
1072
  export declare interface ListOperations {
1061
1073
  /**
@@ -2005,6 +2017,41 @@ export declare interface ServicesUpdateOptionalParams extends coreClient.Operati
2005
2017
  /** Contains response data for the update operation. */
2006
2018
  export declare type ServicesUpdateResponse = ServicesDescription;
2007
2019
 
2020
+ /**
2021
+ * Defines values for SmartDataActions. \
2022
+ * {@link KnownSmartDataActions} can be used interchangeably with SmartDataActions,
2023
+ * this enum contains the known values that the service supports.
2024
+ * ### Known values supported by the service
2025
+ * **Read**
2026
+ */
2027
+ export declare type SmartDataActions = string;
2028
+
2029
+ /** An Application configured in the Identity Provider used to access FHIR resources. */
2030
+ export declare interface SmartIdentityProviderApplication {
2031
+ /** The application client id defined in the identity provider. This value will be used to validate bearer tokens against the given authority. */
2032
+ clientId?: string;
2033
+ /** The audience that will be used to validate bearer tokens against the given authority. */
2034
+ audience?: string;
2035
+ /** The actions that are permitted to be performed on FHIR resources for the application. */
2036
+ allowedDataActions?: SmartDataActions[];
2037
+ }
2038
+
2039
+ /** An object to configure an identity provider for use with SMART on FHIR authentication. */
2040
+ export declare interface SmartIdentityProviderConfiguration {
2041
+ /** The identity provider token authority also known as the token issuing authority. */
2042
+ authority?: string;
2043
+ /** The array of identity provider applications for SMART on FHIR authentication. */
2044
+ applications?: SmartIdentityProviderApplication[];
2045
+ }
2046
+
2047
+ /** The configuration of connected storage */
2048
+ export declare interface StorageConfiguration {
2049
+ /** The resource id of connected storage account. */
2050
+ storageResourceId?: string;
2051
+ /** The filesystem name of connected storage account. */
2052
+ fileSystemName?: string;
2053
+ }
2054
+
2008
2055
  /** Metadata pertaining to creation and last modification of the resource. */
2009
2056
  export declare interface SystemData {
2010
2057
  /** The identity that created the resource. */