@distilled.cloud/mongodb-atlas 0.19.2 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/lib/credentials.d.ts +1 -1
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +2 -4
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/operations/acceptGroupStreamVpcPeeringConnection.d.ts +1 -1
  6. package/lib/operations/acknowledgeGroupAlert.d.ts +1 -1
  7. package/lib/operations/addGroupApiKey.d.ts +1 -1
  8. package/lib/operations/addGroupTeams.d.ts +1 -1
  9. package/lib/operations/addGroupUserRole.d.ts +2 -2
  10. package/lib/operations/addGroupUsers.d.ts +1 -1
  11. package/lib/operations/addOrgTeamUser.d.ts +2 -2
  12. package/lib/operations/addOrgUserRole.d.ts +2 -2
  13. package/lib/operations/authorizeGroupCloudProviderAccessRole.d.ts +2 -2
  14. package/lib/operations/cancelGroupClusterBackupRestoreJob.d.ts +2 -2
  15. package/lib/operations/createFederationSettingConnectedOrgConfigRoleMapping.d.ts +1 -1
  16. package/lib/operations/createFederationSettingIdentityProvider.d.ts +1 -1
  17. package/lib/operations/createGroupAccessListEntry.d.ts +1 -1
  18. package/lib/operations/createGroupAlertConfig.d.ts +1 -1
  19. package/lib/operations/createGroupApiKey.d.ts +1 -1
  20. package/lib/operations/createGroupBackupExportBucket.d.ts +1 -1
  21. package/lib/operations/createGroupBackupPrivateEndpoint.d.ts +2 -2
  22. package/lib/operations/createGroupCloudProviderAccess.d.ts +1 -1
  23. package/lib/operations/createGroupCluster.d.ts +1 -1
  24. package/lib/operations/createGroupClusterBackupExport.d.ts +1 -1
  25. package/lib/operations/createGroupClusterBackupRestoreJob.d.ts +1 -1
  26. package/lib/operations/createGroupClusterGlobalWriteCustomZoneMapping.d.ts +1 -1
  27. package/lib/operations/createGroupClusterGlobalWriteManagedNamespace.d.ts +1 -1
  28. package/lib/operations/createGroupClusterIndexRollingIndex.d.ts +1 -1
  29. package/lib/operations/createGroupClusterOnlineArchive.d.ts +1 -1
  30. package/lib/operations/createGroupClusterSearchDeployment.d.ts +1 -1
  31. package/lib/operations/createGroupClusterSearchIndex.d.ts +1 -1
  32. package/lib/operations/createGroupContainer.d.ts +1 -1
  33. package/lib/operations/createGroupCustomDbRoleRole.d.ts +1 -1
  34. package/lib/operations/createGroupDataFederation.d.ts +1 -1
  35. package/lib/operations/createGroupDatabaseUser.d.ts +1 -1
  36. package/lib/operations/createGroupDatabaseUserCert.d.ts +2 -2
  37. package/lib/operations/createGroupEncryptionAtRestPrivateEndpoint.d.ts +1 -1
  38. package/lib/operations/createGroupFlexCluster.d.ts +1 -1
  39. package/lib/operations/createGroupFlexClusterBackupRestoreJob.d.ts +1 -1
  40. package/lib/operations/createGroupIntegration.d.ts +2 -2
  41. package/lib/operations/createGroupLiveMigration.d.ts +1 -1
  42. package/lib/operations/createGroupLogIntegration.d.ts +1 -1
  43. package/lib/operations/createGroupPeer.d.ts +1 -1
  44. package/lib/operations/createGroupPrivateEndpointEndpointService.d.ts +1 -1
  45. package/lib/operations/createGroupPrivateEndpointEndpointServiceEndpoint.d.ts +1 -1
  46. package/lib/operations/createGroupPrivateNetworkSettingEndpointId.d.ts +1 -1
  47. package/lib/operations/createGroupServiceAccount.d.ts +1 -1
  48. package/lib/operations/createGroupServiceAccountAccessList.d.ts +1 -1
  49. package/lib/operations/createGroupServiceAccountSecret.d.ts +1 -1
  50. package/lib/operations/createGroupStreamConnection.d.ts +2 -2
  51. package/lib/operations/createGroupStreamPrivateLinkConnection.d.ts +1 -1
  52. package/lib/operations/createGroupStreamProcessor.d.ts +2 -2
  53. package/lib/operations/createGroupStreamWorkspace.d.ts +1 -1
  54. package/lib/operations/createOrgApiKey.d.ts +1 -1
  55. package/lib/operations/createOrgApiKeyAccessListEntry.d.ts +1 -1
  56. package/lib/operations/createOrgBillingCostExplorerUsageProcess.d.ts +1 -1
  57. package/lib/operations/createOrgLiveMigrationLinkToken.d.ts +1 -1
  58. package/lib/operations/createOrgResourcePolicy.d.ts +1 -1
  59. package/lib/operations/createOrgServiceAccount.d.ts +1 -1
  60. package/lib/operations/createOrgServiceAccountAccessList.d.ts +1 -1
  61. package/lib/operations/createOrgServiceAccountSecret.d.ts +1 -1
  62. package/lib/operations/createOrgTeam.d.ts +1 -1
  63. package/lib/operations/createOrgUser.d.ts +1 -1
  64. package/lib/operations/cutoverGroupLiveMigration.d.ts +1 -1
  65. package/lib/operations/deauthorizeGroupCloudProviderAccessRole.d.ts +2 -2
  66. package/lib/operations/deferGroupMaintenanceWindow.d.ts +1 -1
  67. package/lib/operations/deleteFederationSettingConnectedOrgConfigRoleMapping.d.ts +1 -1
  68. package/lib/operations/deleteFederationSettingIdentityProvider.d.ts +1 -1
  69. package/lib/operations/deleteGroup.d.ts +1 -1
  70. package/lib/operations/deleteGroupAccessListEntry.d.ts +1 -1
  71. package/lib/operations/deleteGroupAlertConfig.d.ts +1 -1
  72. package/lib/operations/deleteGroupBackupExportBucket.d.ts +2 -2
  73. package/lib/operations/deleteGroupBackupPrivateEndpoint.d.ts +2 -2
  74. package/lib/operations/deleteGroupCluster.d.ts +1 -1
  75. package/lib/operations/deleteGroupClusterBackupSchedule.d.ts +1 -1
  76. package/lib/operations/deleteGroupClusterBackupSnapshot.d.ts +2 -2
  77. package/lib/operations/deleteGroupClusterBackupSnapshotShardedCluster.d.ts +2 -2
  78. package/lib/operations/deleteGroupClusterGlobalWriteCustomZoneMapping.d.ts +1 -1
  79. package/lib/operations/deleteGroupClusterGlobalWriteManagedNamespaces.d.ts +3 -3
  80. package/lib/operations/deleteGroupClusterOnlineArchive.d.ts +1 -1
  81. package/lib/operations/deleteGroupClusterSearchDeployment.d.ts +1 -1
  82. package/lib/operations/deleteGroupClusterSearchIndex.d.ts +2 -2
  83. package/lib/operations/deleteGroupClusterSearchIndexByName.d.ts +2 -2
  84. package/lib/operations/deleteGroupContainer.d.ts +1 -1
  85. package/lib/operations/deleteGroupCustomDbRoleRole.d.ts +2 -2
  86. package/lib/operations/deleteGroupDataFederation.d.ts +2 -2
  87. package/lib/operations/deleteGroupDataFederationLimit.d.ts +2 -2
  88. package/lib/operations/deleteGroupDatabaseUser.d.ts +2 -2
  89. package/lib/operations/deleteGroupFlexCluster.d.ts +1 -1
  90. package/lib/operations/deleteGroupIntegration.d.ts +2 -2
  91. package/lib/operations/deleteGroupLimit.d.ts +2 -2
  92. package/lib/operations/deleteGroupLogIntegration.d.ts +1 -1
  93. package/lib/operations/deleteGroupPeer.d.ts +1 -1
  94. package/lib/operations/deleteGroupPrivateEndpointEndpointService.d.ts +1 -1
  95. package/lib/operations/deleteGroupPrivateEndpointEndpointServiceEndpoint.d.ts +1 -1
  96. package/lib/operations/deleteGroupPrivateNetworkSettingEndpointId.d.ts +1 -1
  97. package/lib/operations/deleteGroupServiceAccount.d.ts +1 -1
  98. package/lib/operations/deleteGroupServiceAccountAccessListEntry.d.ts +2 -2
  99. package/lib/operations/deleteGroupServiceAccountSecret.d.ts +2 -2
  100. package/lib/operations/deleteGroupStreamConnection.d.ts +2 -2
  101. package/lib/operations/deleteGroupStreamPrivateLinkConnection.d.ts +1 -1
  102. package/lib/operations/deleteGroupStreamProcessor.d.ts +3 -3
  103. package/lib/operations/deleteGroupStreamVpcPeeringConnection.d.ts +1 -1
  104. package/lib/operations/deleteGroupStreamWorkspace.d.ts +2 -2
  105. package/lib/operations/deleteGroupUserSecurityLdapUserToDnMapping.d.ts +1 -1
  106. package/lib/operations/deleteOrg.d.ts +1 -1
  107. package/lib/operations/deleteOrgApiKey.d.ts +1 -1
  108. package/lib/operations/deleteOrgApiKeyAccessListEntry.d.ts +2 -2
  109. package/lib/operations/deleteOrgLiveMigrationLinkTokens.d.ts +1 -1
  110. package/lib/operations/deleteOrgResourcePolicy.d.ts +2 -2
  111. package/lib/operations/deleteOrgServiceAccount.d.ts +1 -1
  112. package/lib/operations/deleteOrgServiceAccountAccessListEntry.d.ts +2 -2
  113. package/lib/operations/deleteOrgServiceAccountSecret.d.ts +2 -2
  114. package/lib/operations/deleteOrgTeam.d.ts +2 -2
  115. package/lib/operations/disableGroupBackupCompliancePolicy.d.ts +1 -1
  116. package/lib/operations/disableGroupManagedSlowMs.d.ts +1 -1
  117. package/lib/operations/disableGroupUserSecurityCustomerX509.d.ts +1 -1
  118. package/lib/operations/downloadGroupClusterLog.d.ts +2 -2
  119. package/lib/operations/downloadGroupClusterOnlineArchiveQueryLogs.d.ts +3 -3
  120. package/lib/operations/downloadGroupDataFederationQueryLogs.d.ts +2 -2
  121. package/lib/operations/downloadGroupFlexClusterBackup.d.ts +2 -2
  122. package/lib/operations/downloadGroupStreamAuditLogs.d.ts +4 -4
  123. package/lib/operations/downloadGroupStreamOperationalLogs.d.ts +4 -4
  124. package/lib/operations/enableGroupManagedSlowMs.d.ts +1 -1
  125. package/lib/operations/endGroupClusterOutageSimulation.d.ts +1 -1
  126. package/lib/operations/getFederationSettingConnectedOrgConfig.d.ts +1 -1
  127. package/lib/operations/getFederationSettingConnectedOrgConfigRoleMapping.d.ts +1 -1
  128. package/lib/operations/getFederationSettingIdentityProvider.d.ts +1 -1
  129. package/lib/operations/getGroup.d.ts +1 -1
  130. package/lib/operations/getGroupAccessListEntry.d.ts +1 -1
  131. package/lib/operations/getGroupAccessListStatus.d.ts +1 -1
  132. package/lib/operations/getGroupActivityFeed.d.ts +3 -3
  133. package/lib/operations/getGroupAlert.d.ts +1 -1
  134. package/lib/operations/getGroupAlertAlertConfigs.d.ts +2 -2
  135. package/lib/operations/getGroupAlertConfig.d.ts +1 -1
  136. package/lib/operations/getGroupAlertConfigAlerts.d.ts +1 -1
  137. package/lib/operations/getGroupAuditLog.d.ts +1 -1
  138. package/lib/operations/getGroupAwsCustomDns.d.ts +1 -1
  139. package/lib/operations/getGroupBackupCompliancePolicy.d.ts +1 -1
  140. package/lib/operations/getGroupBackupExportBucket.d.ts +2 -2
  141. package/lib/operations/getGroupBackupPrivateEndpoint.d.ts +2 -2
  142. package/lib/operations/getGroupByName.d.ts +1 -1
  143. package/lib/operations/getGroupCloudProviderAccess.d.ts +2 -2
  144. package/lib/operations/getGroupCluster.d.ts +1 -1
  145. package/lib/operations/getGroupClusterBackupExport.d.ts +2 -2
  146. package/lib/operations/getGroupClusterBackupRestoreJob.d.ts +2 -2
  147. package/lib/operations/getGroupClusterBackupSchedule.d.ts +1 -1
  148. package/lib/operations/getGroupClusterBackupSnapshot.d.ts +2 -2
  149. package/lib/operations/getGroupClusterBackupSnapshotShardedCluster.d.ts +2 -2
  150. package/lib/operations/getGroupClusterCollStatNamespaces.d.ts +3 -3
  151. package/lib/operations/getGroupClusterGlobalWrites.d.ts +1 -1
  152. package/lib/operations/getGroupClusterOnlineArchive.d.ts +1 -1
  153. package/lib/operations/getGroupClusterOutageSimulation.d.ts +1 -1
  154. package/lib/operations/getGroupClusterProcessArgs.d.ts +1 -1
  155. package/lib/operations/getGroupClusterQueryShape.d.ts +2 -2
  156. package/lib/operations/getGroupClusterQueryShapeInsightDetails.d.ts +3 -3
  157. package/lib/operations/getGroupClusterSearchDeployment.d.ts +1 -1
  158. package/lib/operations/getGroupClusterSearchIndex.d.ts +2 -2
  159. package/lib/operations/getGroupClusterSearchIndexByName.d.ts +2 -2
  160. package/lib/operations/getGroupClusterStatus.d.ts +1 -1
  161. package/lib/operations/getGroupContainer.d.ts +1 -1
  162. package/lib/operations/getGroupCustomDbRoleRole.d.ts +2 -2
  163. package/lib/operations/getGroupDataFederation.d.ts +1 -1
  164. package/lib/operations/getGroupDataFederationLimit.d.ts +2 -2
  165. package/lib/operations/getGroupDatabaseUser.d.ts +2 -2
  166. package/lib/operations/getGroupDbAccessHistoryCluster.d.ts +4 -4
  167. package/lib/operations/getGroupDbAccessHistoryProcess.d.ts +4 -4
  168. package/lib/operations/getGroupEncryptionAtRest.d.ts +1 -1
  169. package/lib/operations/getGroupEncryptionAtRestPrivateEndpoint.d.ts +1 -1
  170. package/lib/operations/getGroupEvent.d.ts +3 -3
  171. package/lib/operations/getGroupFlexCluster.d.ts +1 -1
  172. package/lib/operations/getGroupFlexClusterBackupRestoreJob.d.ts +2 -2
  173. package/lib/operations/getGroupFlexClusterBackupSnapshot.d.ts +1 -1
  174. package/lib/operations/getGroupHostFtsMetricIndexMeasurements.d.ts +7 -7
  175. package/lib/operations/getGroupIntegration.d.ts +1 -1
  176. package/lib/operations/getGroupIpAddresses.d.ts +1 -1
  177. package/lib/operations/getGroupLimit.d.ts +2 -2
  178. package/lib/operations/getGroupLiveMigration.d.ts +1 -1
  179. package/lib/operations/getGroupLiveMigrationValidateStatus.d.ts +1 -1
  180. package/lib/operations/getGroupLogIntegration.d.ts +1 -1
  181. package/lib/operations/getGroupMaintenanceWindow.d.ts +1 -1
  182. package/lib/operations/getGroupManagedSlowMs.d.ts +1 -1
  183. package/lib/operations/getGroupMongoDbVersions.d.ts +4 -4
  184. package/lib/operations/getGroupPeer.d.ts +1 -1
  185. package/lib/operations/getGroupPrivateEndpointEndpointService.d.ts +1 -1
  186. package/lib/operations/getGroupPrivateEndpointEndpointServiceEndpoint.d.ts +1 -1
  187. package/lib/operations/getGroupPrivateEndpointRegionalMode.d.ts +1 -1
  188. package/lib/operations/getGroupPrivateNetworkSettingEndpointId.d.ts +1 -1
  189. package/lib/operations/getGroupProcess.d.ts +2 -2
  190. package/lib/operations/getGroupProcessCollStatNamespaces.d.ts +3 -3
  191. package/lib/operations/getGroupProcessDatabase.d.ts +2 -2
  192. package/lib/operations/getGroupProcessDatabaseMeasurements.d.ts +5 -5
  193. package/lib/operations/getGroupProcessDisk.d.ts +2 -2
  194. package/lib/operations/getGroupProcessDiskMeasurements.d.ts +6 -6
  195. package/lib/operations/getGroupProcessMeasurements.d.ts +5 -5
  196. package/lib/operations/getGroupSampleDatasetLoad.d.ts +1 -1
  197. package/lib/operations/getGroupServiceAccount.d.ts +1 -1
  198. package/lib/operations/getGroupSettings.d.ts +1 -1
  199. package/lib/operations/getGroupStreamAccountDetails.d.ts +2 -2
  200. package/lib/operations/getGroupStreamConnection.d.ts +2 -2
  201. package/lib/operations/getGroupStreamPrivateLinkConnection.d.ts +1 -1
  202. package/lib/operations/getGroupStreamProcessor.d.ts +3 -3
  203. package/lib/operations/getGroupStreamProcessors.d.ts +4 -4
  204. package/lib/operations/getGroupStreamWorkspace.d.ts +2 -2
  205. package/lib/operations/getGroupTeam.d.ts +2 -2
  206. package/lib/operations/getGroupUser.d.ts +2 -2
  207. package/lib/operations/getGroupUserSecurity.d.ts +1 -1
  208. package/lib/operations/getGroupUserSecurityLdapVerify.d.ts +2 -2
  209. package/lib/operations/getOrg.d.ts +1 -1
  210. package/lib/operations/getOrgActivityFeed.d.ts +2 -2
  211. package/lib/operations/getOrgApiKey.d.ts +1 -1
  212. package/lib/operations/getOrgApiKeyAccessListEntry.d.ts +2 -2
  213. package/lib/operations/getOrgBillingCostExplorerUsage.d.ts +1 -1
  214. package/lib/operations/getOrgEvent.d.ts +3 -3
  215. package/lib/operations/getOrgFederationSettings.d.ts +1 -1
  216. package/lib/operations/getOrgGroups.d.ts +2 -2
  217. package/lib/operations/getOrgInvoice.d.ts +2 -2
  218. package/lib/operations/getOrgInvoiceCsv.d.ts +2 -2
  219. package/lib/operations/getOrgNonCompliantResources.d.ts +1 -1
  220. package/lib/operations/getOrgResourcePolicy.d.ts +2 -2
  221. package/lib/operations/getOrgServiceAccount.d.ts +1 -1
  222. package/lib/operations/getOrgServiceAccountGroups.d.ts +2 -2
  223. package/lib/operations/getOrgSettings.d.ts +1 -1
  224. package/lib/operations/getOrgTeam.d.ts +2 -2
  225. package/lib/operations/getOrgTeamByName.d.ts +2 -2
  226. package/lib/operations/getOrgUser.d.ts +2 -2
  227. package/lib/operations/getRateLimit.d.ts +2 -2
  228. package/lib/operations/getSku.d.ts +1 -1
  229. package/lib/operations/grantGroupClusterMongoDbEmployeeAccess.d.ts +1 -1
  230. package/lib/operations/inviteGroupServiceAccount.d.ts +1 -1
  231. package/lib/operations/listFederationSettingConnectedOrgConfigRoleMappings.d.ts +1 -1
  232. package/lib/operations/listFederationSettingConnectedOrgConfigs.d.ts +1 -1
  233. package/lib/operations/listFederationSettingIdentityProviders.d.ts +2 -2
  234. package/lib/operations/listGroupAccessListEntries.d.ts +1 -1
  235. package/lib/operations/listGroupAlertConfigs.d.ts +1 -1
  236. package/lib/operations/listGroupAlerts.d.ts +1 -1
  237. package/lib/operations/listGroupApiKeys.d.ts +1 -1
  238. package/lib/operations/listGroupBackupExportBuckets.d.ts +1 -1
  239. package/lib/operations/listGroupBackupPrivateEndpoints.d.ts +2 -2
  240. package/lib/operations/listGroupCloudProviderAccess.d.ts +1 -1
  241. package/lib/operations/listGroupClusterBackupExports.d.ts +2 -2
  242. package/lib/operations/listGroupClusterBackupRestoreJobs.d.ts +1 -1
  243. package/lib/operations/listGroupClusterBackupSnapshotShardedClusters.d.ts +1 -1
  244. package/lib/operations/listGroupClusterBackupSnapshots.d.ts +1 -1
  245. package/lib/operations/listGroupClusterCollStatMeasurements.d.ts +4 -4
  246. package/lib/operations/listGroupClusterCollStatPinnedNamespaces.d.ts +1 -1
  247. package/lib/operations/listGroupClusterOnlineArchives.d.ts +1 -1
  248. package/lib/operations/listGroupClusterPerformanceAdvisorDropIndexSuggestions.d.ts +1 -1
  249. package/lib/operations/listGroupClusterPerformanceAdvisorSchemaAdvice.d.ts +1 -1
  250. package/lib/operations/listGroupClusterPerformanceAdvisorSuggestedIndexes.d.ts +2 -2
  251. package/lib/operations/listGroupClusterProviderRegions.d.ts +1 -1
  252. package/lib/operations/listGroupClusterQueryShapeInsightSummaries.d.ts +8 -8
  253. package/lib/operations/listGroupClusterQueryShapes.d.ts +2 -2
  254. package/lib/operations/listGroupClusterSearchIndex.d.ts +1 -1
  255. package/lib/operations/listGroupClusterSearchIndexes.d.ts +1 -1
  256. package/lib/operations/listGroupClusters.d.ts +2 -2
  257. package/lib/operations/listGroupCollStatMetrics.d.ts +1 -1
  258. package/lib/operations/listGroupContainerAll.d.ts +1 -1
  259. package/lib/operations/listGroupContainers.d.ts +1 -1
  260. package/lib/operations/listGroupCustomDbRoleRoles.d.ts +1 -1
  261. package/lib/operations/listGroupDataFederation.d.ts +1 -1
  262. package/lib/operations/listGroupDataFederationLimits.d.ts +2 -2
  263. package/lib/operations/listGroupDatabaseUserCerts.d.ts +2 -2
  264. package/lib/operations/listGroupDatabaseUsers.d.ts +1 -1
  265. package/lib/operations/listGroupEncryptionAtRestPrivateEndpoints.d.ts +2 -2
  266. package/lib/operations/listGroupEvents.d.ts +6 -6
  267. package/lib/operations/listGroupFlexClusterBackupRestoreJobs.d.ts +2 -2
  268. package/lib/operations/listGroupFlexClusterBackupSnapshots.d.ts +3 -3
  269. package/lib/operations/listGroupFlexClusters.d.ts +1 -1
  270. package/lib/operations/listGroupHostFtsMetricIndexMeasurements.d.ts +6 -6
  271. package/lib/operations/listGroupHostFtsMetricMeasurements.d.ts +5 -5
  272. package/lib/operations/listGroupHostFtsMetrics.d.ts +2 -2
  273. package/lib/operations/listGroupIntegrations.d.ts +1 -1
  274. package/lib/operations/listGroupLimits.d.ts +1 -1
  275. package/lib/operations/listGroupLogIntegrations.d.ts +2 -2
  276. package/lib/operations/listGroupPeers.d.ts +1 -1
  277. package/lib/operations/listGroupPrivateEndpointEndpointService.d.ts +1 -1
  278. package/lib/operations/listGroupPrivateNetworkSettingEndpointIds.d.ts +1 -1
  279. package/lib/operations/listGroupProcessCollStatMeasurements.d.ts +5 -5
  280. package/lib/operations/listGroupProcessDatabases.d.ts +2 -2
  281. package/lib/operations/listGroupProcessDisks.d.ts +2 -2
  282. package/lib/operations/listGroupProcessPerformanceAdvisorNamespaces.d.ts +3 -3
  283. package/lib/operations/listGroupProcessPerformanceAdvisorSlowQueryLogs.d.ts +8 -8
  284. package/lib/operations/listGroupProcessPerformanceAdvisorSuggestedIndexes.d.ts +6 -6
  285. package/lib/operations/listGroupProcesses.d.ts +1 -1
  286. package/lib/operations/listGroupServiceAccountAccessList.d.ts +1 -1
  287. package/lib/operations/listGroupServiceAccounts.d.ts +1 -1
  288. package/lib/operations/listGroupStreamActiveVpcPeeringConnections.d.ts +1 -1
  289. package/lib/operations/listGroupStreamConnections.d.ts +2 -2
  290. package/lib/operations/listGroupStreamPrivateLinkConnections.d.ts +1 -1
  291. package/lib/operations/listGroupStreamVpcPeeringConnections.d.ts +2 -2
  292. package/lib/operations/listGroupStreamWorkspaces.d.ts +1 -1
  293. package/lib/operations/listGroupTeams.d.ts +2 -2
  294. package/lib/operations/listGroupUsers.d.ts +4 -4
  295. package/lib/operations/listOrgApiKeyAccessListEntries.d.ts +1 -1
  296. package/lib/operations/listOrgApiKeys.d.ts +1 -1
  297. package/lib/operations/listOrgEvents.d.ts +5 -5
  298. package/lib/operations/listOrgInvoicePending.d.ts +1 -1
  299. package/lib/operations/listOrgInvoices.d.ts +5 -5
  300. package/lib/operations/listOrgLiveMigrationAvailableProjects.d.ts +1 -1
  301. package/lib/operations/listOrgResourcePolicies.d.ts +1 -1
  302. package/lib/operations/listOrgServiceAccountAccessList.d.ts +1 -1
  303. package/lib/operations/listOrgServiceAccounts.d.ts +2 -2
  304. package/lib/operations/listOrgTeamUsers.d.ts +4 -4
  305. package/lib/operations/listOrgTeams.d.ts +2 -2
  306. package/lib/operations/listOrgUsers.d.ts +3 -3
  307. package/lib/operations/listOrgs.d.ts +1 -1
  308. package/lib/operations/listRateLimits.d.ts +6 -6
  309. package/lib/operations/migrateGroup.d.ts +1 -1
  310. package/lib/operations/pinGroupClusterCollStatPinnedNamespaces.d.ts +1 -1
  311. package/lib/operations/pinGroupClusterFeatureCompatibilityVersion.d.ts +1 -1
  312. package/lib/operations/rejectGroupStreamVpcPeeringConnection.d.ts +1 -1
  313. package/lib/operations/removeFederationSettingConnectedOrgConfig.d.ts +1 -1
  314. package/lib/operations/removeGroupApiKey.d.ts +1 -1
  315. package/lib/operations/removeGroupTeam.d.ts +1 -1
  316. package/lib/operations/removeGroupUser.d.ts +2 -2
  317. package/lib/operations/removeGroupUserRole.d.ts +2 -2
  318. package/lib/operations/removeOrgTeamUser.d.ts +2 -2
  319. package/lib/operations/removeOrgUser.d.ts +2 -2
  320. package/lib/operations/removeOrgUserRole.d.ts +2 -2
  321. package/lib/operations/renameOrgTeam.d.ts +2 -2
  322. package/lib/operations/requestGroupEncryptionAtRestPrivateEndpointDeletion.d.ts +1 -1
  323. package/lib/operations/requestGroupSampleDatasetLoad.d.ts +1 -1
  324. package/lib/operations/resetGroupMaintenanceWindow.d.ts +1 -1
  325. package/lib/operations/restartGroupClusterPrimaries.d.ts +1 -1
  326. package/lib/operations/revokeFederationSettingIdentityProviderJwks.d.ts +1 -1
  327. package/lib/operations/revokeGroupClusterMongoDbEmployeeAccess.d.ts +1 -1
  328. package/lib/operations/searchOrgInvoiceLineItems.d.ts +2 -2
  329. package/lib/operations/setGroupDataFederationLimit.d.ts +2 -2
  330. package/lib/operations/setGroupLimit.d.ts +2 -2
  331. package/lib/operations/startGroupClusterOutageSimulation.d.ts +1 -1
  332. package/lib/operations/startGroupStreamProcessor.d.ts +3 -3
  333. package/lib/operations/startGroupStreamProcessorWith.d.ts +3 -3
  334. package/lib/operations/stopGroupStreamProcessor.d.ts +3 -3
  335. package/lib/operations/takeGroupClusterBackupSnapshots.d.ts +1 -1
  336. package/lib/operations/tenantGroupFlexClusterUpgrade.d.ts +1 -1
  337. package/lib/operations/toggleGroupAlertConfig.d.ts +1 -1
  338. package/lib/operations/toggleGroupAwsCustomDns.d.ts +1 -1
  339. package/lib/operations/toggleGroupMaintenanceWindowAutoDefer.d.ts +1 -1
  340. package/lib/operations/toggleGroupPrivateEndpointRegionalMode.d.ts +1 -1
  341. package/lib/operations/unpinGroupClusterCollStatUnpinNamespaces.d.ts +1 -1
  342. package/lib/operations/unpinGroupClusterFeatureCompatibilityVersion.d.ts +1 -1
  343. package/lib/operations/updateFederationSettingConnectedOrgConfig.d.ts +1 -1
  344. package/lib/operations/updateFederationSettingConnectedOrgConfigRoleMapping.d.ts +1 -1
  345. package/lib/operations/updateFederationSettingIdentityProvider.d.ts +1 -1
  346. package/lib/operations/updateGroup.d.ts +1 -1
  347. package/lib/operations/updateGroupAlertConfig.d.ts +1 -1
  348. package/lib/operations/updateGroupApiKeyRoles.d.ts +4 -4
  349. package/lib/operations/updateGroupAuditLog.d.ts +1 -1
  350. package/lib/operations/updateGroupBackupCompliancePolicy.d.ts +1 -1
  351. package/lib/operations/updateGroupBackupExportBucket.d.ts +2 -2
  352. package/lib/operations/updateGroupCluster.d.ts +1 -1
  353. package/lib/operations/updateGroupClusterBackupSchedule.d.ts +1 -1
  354. package/lib/operations/updateGroupClusterBackupSnapshot.d.ts +2 -2
  355. package/lib/operations/updateGroupClusterCollStatPinnedNamespaces.d.ts +1 -1
  356. package/lib/operations/updateGroupClusterOnlineArchive.d.ts +1 -1
  357. package/lib/operations/updateGroupClusterProcessArgs.d.ts +1 -1
  358. package/lib/operations/updateGroupClusterQueryShape.d.ts +2 -2
  359. package/lib/operations/updateGroupClusterSearchDeployment.d.ts +1 -1
  360. package/lib/operations/updateGroupClusterSearchIndex.d.ts +2 -2
  361. package/lib/operations/updateGroupClusterSearchIndexByName.d.ts +2 -2
  362. package/lib/operations/updateGroupContainer.d.ts +1 -1
  363. package/lib/operations/updateGroupCustomDbRoleRole.d.ts +2 -2
  364. package/lib/operations/updateGroupDataFederation.d.ts +2 -2
  365. package/lib/operations/updateGroupDatabaseUser.d.ts +2 -2
  366. package/lib/operations/updateGroupEncryptionAtRest.d.ts +1 -1
  367. package/lib/operations/updateGroupFlexCluster.d.ts +1 -1
  368. package/lib/operations/updateGroupIntegration.d.ts +2 -2
  369. package/lib/operations/updateGroupLogIntegration.d.ts +1 -1
  370. package/lib/operations/updateGroupMaintenanceWindow.d.ts +1 -1
  371. package/lib/operations/updateGroupPeer.d.ts +1 -1
  372. package/lib/operations/updateGroupPrivateEndpointEndpointService.d.ts +1 -1
  373. package/lib/operations/updateGroupServiceAccount.d.ts +1 -1
  374. package/lib/operations/updateGroupSettings.d.ts +1 -1
  375. package/lib/operations/updateGroupStreamConnection.d.ts +2 -2
  376. package/lib/operations/updateGroupStreamProcessor.d.ts +3 -3
  377. package/lib/operations/updateGroupStreamWorkspace.d.ts +2 -2
  378. package/lib/operations/updateGroupTeam.d.ts +2 -2
  379. package/lib/operations/updateGroupUserSecurity.d.ts +1 -1
  380. package/lib/operations/updateOrg.d.ts +1 -1
  381. package/lib/operations/updateOrgApiKey.d.ts +1 -1
  382. package/lib/operations/updateOrgResourcePolicy.d.ts +2 -2
  383. package/lib/operations/updateOrgServiceAccount.d.ts +1 -1
  384. package/lib/operations/updateOrgSettings.d.ts +1 -1
  385. package/lib/operations/updateOrgUser.d.ts +2 -2
  386. package/lib/operations/upgradeGroupClusterTenantUpgrade.d.ts +1 -1
  387. package/lib/operations/validateGroupLiveMigrations.d.ts +1 -1
  388. package/lib/operations/validateOrgResourcePolicies.d.ts +1 -1
  389. package/lib/operations/verifyGroupUserSecurityLdap.d.ts +1 -1
  390. package/lib/operations/withGroupStreamSampleConnections.d.ts +1 -1
  391. package/package.json +3 -3
  392. package/src/credentials.ts +10 -12
@@ -18,7 +18,7 @@ export type UpdateGroupMaintenanceWindowOutput = typeof UpdateGroupMaintenanceWi
18
18
  **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups.
19
19
  */
20
20
  export declare const updateGroupMaintenanceWindow: import("@distilled.cloud/core/client").OperationMethod<{
21
- readonly envelope?: boolean | undefined;
22
21
  readonly groupId: string;
22
+ readonly envelope?: boolean | undefined;
23
23
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
24
24
  //# sourceMappingURL=updateGroupMaintenanceWindow.d.ts.map
@@ -22,9 +22,9 @@ export type UpdateGroupPeerOutput = typeof UpdateGroupPeerOutput.Type;
22
22
  * @param peerId - Unique 24-hexadecimal digit string that identifies the network peering connection that you want to update.
23
23
  */
24
24
  export declare const updateGroupPeer: import("@distilled.cloud/core/client").OperationMethod<{
25
- readonly envelope?: boolean | undefined;
26
25
  readonly groupId: string;
27
26
  readonly peerId: string;
27
+ readonly envelope?: boolean | undefined;
28
28
  readonly pretty?: boolean | undefined;
29
29
  }, void, BadRequest | Conflict | Forbidden | NotFound, import("../credentials.ts").Credentials>;
30
30
  //# sourceMappingURL=updateGroupPeer.d.ts.map
@@ -22,9 +22,9 @@ export type UpdateGroupPrivateEndpointEndpointServiceOutput = typeof UpdateGroup
22
22
  * @param endpointServiceId - Unique 24-hexadecimal digit string that identifies the private endpoint service that you want to update.
23
23
  */
24
24
  export declare const updateGroupPrivateEndpointEndpointService: import("@distilled.cloud/core/client").OperationMethod<{
25
+ readonly groupId: string;
25
26
  readonly endpointServiceId: string;
26
27
  readonly envelope?: boolean | undefined;
27
- readonly groupId: string;
28
28
  readonly pretty?: boolean | undefined;
29
29
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
30
30
  //# sourceMappingURL=updateGroupPrivateEndpointEndpointService.d.ts.map
@@ -23,8 +23,8 @@ export type UpdateGroupServiceAccountOutput = typeof UpdateGroupServiceAccountOu
23
23
  */
24
24
  export declare const updateGroupServiceAccount: import("@distilled.cloud/core/client").OperationMethod<{
25
25
  readonly clientId: string;
26
- readonly envelope?: boolean | undefined;
27
26
  readonly groupId: string;
27
+ readonly envelope?: boolean | undefined;
28
28
  readonly pretty?: boolean | undefined;
29
29
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
30
30
  //# sourceMappingURL=updateGroupServiceAccount.d.ts.map
@@ -20,8 +20,8 @@ export type UpdateGroupSettingsOutput = typeof UpdateGroupSettingsOutput.Type;
20
20
  * @param pretty - Flag that indicates whether the response body should be in the prettyprint format.
21
21
  */
22
22
  export declare const updateGroupSettings: import("@distilled.cloud/core/client").OperationMethod<{
23
- readonly envelope?: boolean | undefined;
24
23
  readonly groupId: string;
24
+ readonly envelope?: boolean | undefined;
25
25
  readonly pretty?: boolean | undefined;
26
26
  }, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
27
27
  //# sourceMappingURL=updateGroupSettings.d.ts.map
@@ -24,10 +24,10 @@ export type UpdateGroupStreamConnectionOutput = typeof UpdateGroupStreamConnecti
24
24
  * @param connectionName - Label that identifies the stream connection.
25
25
  */
26
26
  export declare const updateGroupStreamConnection: import("@distilled.cloud/core/client").OperationMethod<{
27
+ readonly groupId: string;
28
+ readonly tenantName: string;
27
29
  readonly connectionName: string;
28
30
  readonly envelope?: boolean | undefined;
29
- readonly groupId: string;
30
31
  readonly pretty?: boolean | undefined;
31
- readonly tenantName: string;
32
32
  }, void, BadRequest | Conflict | Forbidden | NotFound, import("../credentials.ts").Credentials>;
33
33
  //# sourceMappingURL=updateGroupStreamConnection.d.ts.map
@@ -24,10 +24,10 @@ export type UpdateGroupStreamProcessorOutput = typeof UpdateGroupStreamProcessor
24
24
  * @param processorName - Label that identifies the stream processor.
25
25
  */
26
26
  export declare const updateGroupStreamProcessor: import("@distilled.cloud/core/client").OperationMethod<{
27
- readonly envelope?: boolean | undefined;
28
27
  readonly groupId: string;
29
- readonly pretty?: boolean | undefined;
30
- readonly processorName: string;
31
28
  readonly tenantName: string;
29
+ readonly processorName: string;
30
+ readonly envelope?: boolean | undefined;
31
+ readonly pretty?: boolean | undefined;
32
32
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
33
33
  //# sourceMappingURL=updateGroupStreamProcessor.d.ts.map
@@ -22,9 +22,9 @@ export type UpdateGroupStreamWorkspaceOutput = typeof UpdateGroupStreamWorkspace
22
22
  * @param tenantName - Label that identifies the stream workspace to update.
23
23
  */
24
24
  export declare const updateGroupStreamWorkspace: import("@distilled.cloud/core/client").OperationMethod<{
25
- readonly envelope?: boolean | undefined;
26
25
  readonly groupId: string;
27
- readonly pretty?: boolean | undefined;
28
26
  readonly tenantName: string;
27
+ readonly envelope?: boolean | undefined;
28
+ readonly pretty?: boolean | undefined;
29
29
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
30
30
  //# sourceMappingURL=updateGroupStreamWorkspace.d.ts.map
@@ -22,9 +22,9 @@ export type UpdateGroupTeamOutput = typeof UpdateGroupTeamOutput.Type;
22
22
  * @param teamId - Unique 24-hexadecimal digit string that identifies the team for which you want to update roles.
23
23
  */
24
24
  export declare const updateGroupTeam: import("@distilled.cloud/core/client").OperationMethod<{
25
- readonly envelope?: boolean | undefined;
26
25
  readonly groupId: string;
27
- readonly pretty?: boolean | undefined;
28
26
  readonly teamId: string;
27
+ readonly envelope?: boolean | undefined;
28
+ readonly pretty?: boolean | undefined;
29
29
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
30
30
  //# sourceMappingURL=updateGroupTeam.d.ts.map
@@ -21,8 +21,8 @@ export type UpdateGroupUserSecurityOutput = typeof UpdateGroupUserSecurityOutput
21
21
  * @param pretty - Flag that indicates whether the response body should be in the prettyprint format.
22
22
  */
23
23
  export declare const updateGroupUserSecurity: import("@distilled.cloud/core/client").OperationMethod<{
24
- readonly envelope?: boolean | undefined;
25
24
  readonly groupId: string;
25
+ readonly envelope?: boolean | undefined;
26
26
  readonly pretty?: boolean | undefined;
27
27
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
28
28
  //# sourceMappingURL=updateGroupUserSecurity.d.ts.map
@@ -18,8 +18,8 @@ export type UpdateOrgOutput = typeof UpdateOrgOutput.Type;
18
18
  * @param pretty - Flag that indicates whether the response body should be in the prettyprint format.
19
19
  */
20
20
  export declare const updateOrg: import("@distilled.cloud/core/client").OperationMethod<{
21
- readonly envelope?: boolean | undefined;
22
21
  readonly orgId: string;
22
+ readonly envelope?: boolean | undefined;
23
23
  readonly pretty?: boolean | undefined;
24
24
  }, void, BadRequest | Conflict | Forbidden | NotFound, import("../credentials.ts").Credentials>;
25
25
  //# sourceMappingURL=updateOrg.d.ts.map
@@ -20,9 +20,9 @@ export type UpdateOrgApiKeyOutput = typeof UpdateOrgApiKeyOutput.Type;
20
20
  * @param apiUserId - Unique 24-hexadecimal digit string that identifies this organization API key you want to update.
21
21
  */
22
22
  export declare const updateOrgApiKey: import("@distilled.cloud/core/client").OperationMethod<{
23
+ readonly orgId: string;
23
24
  readonly apiUserId: string;
24
25
  readonly envelope?: boolean | undefined;
25
- readonly orgId: string;
26
26
  readonly pretty?: boolean | undefined;
27
27
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
28
28
  //# sourceMappingURL=updateOrgApiKey.d.ts.map
@@ -20,9 +20,9 @@ export type UpdateOrgResourcePolicyOutput = typeof UpdateOrgResourcePolicyOutput
20
20
  * @param resourcePolicyId - Unique 24-hexadecimal digit string that identifies an atlas resource policy.
21
21
  */
22
22
  export declare const updateOrgResourcePolicy: import("@distilled.cloud/core/client").OperationMethod<{
23
- readonly envelope?: boolean | undefined;
24
23
  readonly orgId: string;
25
- readonly pretty?: boolean | undefined;
26
24
  readonly resourcePolicyId: string;
25
+ readonly envelope?: boolean | undefined;
26
+ readonly pretty?: boolean | undefined;
27
27
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
28
28
  //# sourceMappingURL=updateOrgResourcePolicy.d.ts.map
@@ -21,8 +21,8 @@ export type UpdateOrgServiceAccountOutput = typeof UpdateOrgServiceAccountOutput
21
21
  */
22
22
  export declare const updateOrgServiceAccount: import("@distilled.cloud/core/client").OperationMethod<{
23
23
  readonly clientId: string;
24
- readonly envelope?: boolean | undefined;
25
24
  readonly orgId: string;
25
+ readonly envelope?: boolean | undefined;
26
26
  readonly pretty?: boolean | undefined;
27
27
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
28
28
  //# sourceMappingURL=updateOrgServiceAccount.d.ts.map
@@ -18,8 +18,8 @@ export type UpdateOrgSettingsOutput = typeof UpdateOrgSettingsOutput.Type;
18
18
  * @param pretty - Flag that indicates whether the response body should be in the prettyprint format.
19
19
  */
20
20
  export declare const updateOrgSettings: import("@distilled.cloud/core/client").OperationMethod<{
21
- readonly envelope?: boolean | undefined;
22
21
  readonly orgId: string;
22
+ readonly envelope?: boolean | undefined;
23
23
  readonly pretty?: boolean | undefined;
24
24
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
25
25
  //# sourceMappingURL=updateOrgSettings.d.ts.map
@@ -22,9 +22,9 @@ export type UpdateOrgUserOutput = typeof UpdateOrgUserOutput.Type;
22
22
  * @param userId - Unique 24-hexadecimal digit string that identifies the pending or active user in the organization. If you need to lookup a user's `userId` or verify a user's status in the organization, use the Return All MongoDB Cloud Users in One Organization resource and filter by `username`.
23
23
  */
24
24
  export declare const updateOrgUser: import("@distilled.cloud/core/client").OperationMethod<{
25
- readonly envelope?: boolean | undefined;
26
25
  readonly orgId: string;
27
- readonly pretty?: boolean | undefined;
28
26
  readonly userId: string;
27
+ readonly envelope?: boolean | undefined;
28
+ readonly pretty?: boolean | undefined;
29
29
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
30
30
  //# sourceMappingURL=updateOrgUser.d.ts.map
@@ -21,8 +21,8 @@ export type UpgradeGroupClusterTenantUpgradeOutput = typeof UpgradeGroupClusterT
21
21
  * @param pretty - Flag that indicates whether the response body should be in the prettyprint format.
22
22
  */
23
23
  export declare const upgradeGroupClusterTenantUpgrade: import("@distilled.cloud/core/client").OperationMethod<{
24
- readonly envelope?: boolean | undefined;
25
24
  readonly groupId: string;
25
+ readonly envelope?: boolean | undefined;
26
26
  readonly pretty?: boolean | undefined;
27
27
  }, void, BadRequest | Conflict | Forbidden | NotFound | PaymentRequired, import("../credentials.ts").Credentials>;
28
28
  //# sourceMappingURL=upgradeGroupClusterTenantUpgrade.d.ts.map
@@ -20,8 +20,8 @@ export type ValidateGroupLiveMigrationsOutput = typeof ValidateGroupLiveMigratio
20
20
  * @param pretty - Flag that indicates whether the response body should be in the prettyprint format.
21
21
  */
22
22
  export declare const validateGroupLiveMigrations: import("@distilled.cloud/core/client").OperationMethod<{
23
- readonly envelope?: boolean | undefined;
24
23
  readonly groupId: string;
24
+ readonly envelope?: boolean | undefined;
25
25
  readonly pretty?: boolean | undefined;
26
26
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
27
27
  //# sourceMappingURL=validateGroupLiveMigrations.d.ts.map
@@ -18,8 +18,8 @@ export type ValidateOrgResourcePoliciesOutput = typeof ValidateOrgResourcePolici
18
18
  * @param orgId - Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the [`/orgs`](#tag/Organizations/operation/listOrganizations) endpoint to retrieve all organizations to which the authenticated user has access.
19
19
  */
20
20
  export declare const validateOrgResourcePolicies: import("@distilled.cloud/core/client").OperationMethod<{
21
- readonly envelope?: boolean | undefined;
22
21
  readonly orgId: string;
22
+ readonly envelope?: boolean | undefined;
23
23
  readonly pretty?: boolean | undefined;
24
24
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
25
25
  //# sourceMappingURL=validateOrgResourcePolicies.d.ts.map
@@ -20,8 +20,8 @@ export type VerifyGroupUserSecurityLdapOutput = typeof VerifyGroupUserSecurityLd
20
20
  * @param pretty - Flag that indicates whether the response body should be in the prettyprint format.
21
21
  */
22
22
  export declare const verifyGroupUserSecurityLdap: import("@distilled.cloud/core/client").OperationMethod<{
23
- readonly envelope?: boolean | undefined;
24
23
  readonly groupId: string;
24
+ readonly envelope?: boolean | undefined;
25
25
  readonly pretty?: boolean | undefined;
26
26
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
27
27
  //# sourceMappingURL=verifyGroupUserSecurityLdap.d.ts.map
@@ -20,8 +20,8 @@ export type WithGroupStreamSampleConnectionsOutput = typeof WithGroupStreamSampl
20
20
  **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups.
21
21
  */
22
22
  export declare const withGroupStreamSampleConnections: import("@distilled.cloud/core/client").OperationMethod<{
23
- readonly envelope?: boolean | undefined;
24
23
  readonly groupId: string;
24
+ readonly envelope?: boolean | undefined;
25
25
  readonly pretty?: boolean | undefined;
26
26
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
27
27
  //# sourceMappingURL=withGroupStreamSampleConnections.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distilled.cloud/mongodb-atlas",
3
- "version": "0.19.2",
3
+ "version": "0.20.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/alchemy-run/distilled",
@@ -74,7 +74,7 @@
74
74
  "specs:update": "git -C specs/distilled-spec-mongodb-atlas fetch && git -C specs/distilled-spec-mongodb-atlas checkout main && git -C specs/distilled-spec-mongodb-atlas pull"
75
75
  },
76
76
  "dependencies": {
77
- "@distilled.cloud/core": "0.19.2"
77
+ "@distilled.cloud/core": "0.20.1"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@types/bun": "^1.3.0",
@@ -83,6 +83,6 @@
83
83
  "vitest": "^3.2.3"
84
84
  },
85
85
  "peerDependencies": {
86
- "effect": ">=4.0.0-beta.60 || >=4.0.0"
86
+ "effect": ">=4.0.0-beta.66 || >=4.0.0"
87
87
  }
88
88
  }
@@ -1,9 +1,9 @@
1
+ import { ConfigError } from "@distilled.cloud/core/errors";
1
2
  import * as EffectConfig from "effect/Config";
2
3
  import * as Context from "effect/Context";
3
4
  import * as Effect from "effect/Effect";
4
5
  import * as Layer from "effect/Layer";
5
6
  import * as Redacted from "effect/Redacted";
6
- import { ConfigError } from "@distilled.cloud/core/errors";
7
7
 
8
8
  export const DEFAULT_API_BASE_URL = "https://cloud.mongodb.com";
9
9
 
@@ -27,17 +27,15 @@ const envConfig = EffectConfig.all({
27
27
  export const CredentialsFromEnv = Layer.effect(
28
28
  Credentials,
29
29
  Effect.gen(function* () {
30
- const { clientId, clientSecret, apiBaseUrl } = yield* envConfig
31
- .asEffect()
32
- .pipe(
33
- Effect.mapError(
34
- () =>
35
- new ConfigError({
36
- message:
37
- "MONGODB_ATLAS_CLIENT_ID and MONGODB_ATLAS_CLIENT_SECRET environment variables are required",
38
- }),
39
- ),
40
- );
30
+ const { clientId, clientSecret, apiBaseUrl } = yield* envConfig.pipe(
31
+ Effect.mapError(
32
+ () =>
33
+ new ConfigError({
34
+ message:
35
+ "MONGODB_ATLAS_CLIENT_ID and MONGODB_ATLAS_CLIENT_SECRET environment variables are required",
36
+ }),
37
+ ),
38
+ );
41
39
 
42
40
  // Exchange service account credentials for OAuth2 access token
43
41
  const res = yield* Effect.tryPromise(() =>