@alienplatform/platform-api 3.3.40 → 3.3.42
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.
- package/README.md +48 -30
- package/esm/funcs/acceptAwsKeySetup.d.ts +12 -0
- package/esm/funcs/acceptAwsKeySetup.d.ts.map +1 -0
- package/esm/funcs/acceptAwsKeySetup.js +79 -0
- package/esm/funcs/acceptAwsKeySetup.js.map +1 -0
- package/esm/funcs/{operationsGetPolicy.d.ts → billingSync.d.ts} +3 -5
- package/esm/funcs/billingSync.d.ts.map +1 -0
- package/esm/funcs/billingSync.js +75 -0
- package/esm/funcs/billingSync.js.map +1 -0
- package/esm/funcs/claimAwsXksStoreRetirement.d.ts +12 -0
- package/esm/funcs/claimAwsXksStoreRetirement.d.ts.map +1 -0
- package/esm/funcs/claimAwsXksStoreRetirement.js +82 -0
- package/esm/funcs/claimAwsXksStoreRetirement.js.map +1 -0
- package/esm/funcs/{operationsUpdatePolicy.d.ts → completeAwsXksStoreRetirement.d.ts} +2 -8
- package/esm/funcs/completeAwsXksStoreRetirement.d.ts.map +1 -0
- package/esm/funcs/completeAwsXksStoreRetirement.js +87 -0
- package/esm/funcs/completeAwsXksStoreRetirement.js.map +1 -0
- package/esm/funcs/deploymentGroupsGetDeploymentGroupManagementExternalId.d.ts +19 -0
- package/esm/funcs/deploymentGroupsGetDeploymentGroupManagementExternalId.d.ts.map +1 -0
- package/esm/funcs/{operationsSetPluginEnabled.js → deploymentGroupsGetDeploymentGroupManagementExternalId.js} +14 -16
- package/esm/funcs/deploymentGroupsGetDeploymentGroupManagementExternalId.js.map +1 -0
- package/esm/funcs/getDeploymentMetricsHistory.d.ts +15 -0
- package/esm/funcs/getDeploymentMetricsHistory.d.ts.map +1 -0
- package/esm/funcs/getDeploymentMetricsHistory.js +93 -0
- package/esm/funcs/getDeploymentMetricsHistory.js.map +1 -0
- package/esm/funcs/{billingListAuditLog.d.ts → listAwsKeySetupCleanup.d.ts} +3 -5
- package/esm/funcs/listAwsKeySetupCleanup.d.ts.map +1 -0
- package/esm/funcs/{billingListAuditLog.js → listAwsKeySetupCleanup.js} +11 -12
- package/esm/funcs/listAwsKeySetupCleanup.js.map +1 -0
- package/esm/funcs/packagesList.js +1 -0
- package/esm/funcs/packagesList.js.map +1 -1
- package/esm/funcs/projectsGetActiveRelease.d.ts +2 -1
- package/esm/funcs/projectsGetActiveRelease.d.ts.map +1 -1
- package/esm/funcs/projectsGetActiveRelease.js +2 -2
- package/esm/funcs/projectsGetActiveRelease.js.map +1 -1
- package/esm/funcs/releasesListAuthors.d.ts +1 -1
- package/esm/funcs/releasesListAuthors.js +1 -1
- package/esm/funcs/releasesListBranches.d.ts +1 -1
- package/esm/funcs/releasesListBranches.js +1 -1
- package/esm/funcs/releasesListChannelImpact.d.ts +16 -0
- package/esm/funcs/releasesListChannelImpact.d.ts.map +1 -0
- package/esm/funcs/{operationsSetBuiltinPlugins.js → releasesListChannelImpact.js} +16 -16
- package/esm/funcs/releasesListChannelImpact.js.map +1 -0
- package/esm/funcs/releasesListDeployments.js +3 -0
- package/esm/funcs/releasesListDeployments.js.map +1 -1
- package/esm/funcs/requestDeploymentCheck.d.ts +13 -0
- package/esm/funcs/{operationsUpdatePolicy.d.ts.map → requestDeploymentCheck.d.ts.map} +1 -1
- package/esm/funcs/{operationsGetPolicy.js → requestDeploymentCheck.js} +14 -14
- package/esm/funcs/requestDeploymentCheck.js.map +1 -0
- package/esm/funcs/resumeDeploymentInstallation.d.ts +13 -0
- package/esm/funcs/resumeDeploymentInstallation.d.ts.map +1 -0
- package/esm/funcs/resumeDeploymentInstallation.js +87 -0
- package/esm/funcs/resumeDeploymentInstallation.js.map +1 -0
- package/esm/funcs/{operationsSetBuiltinPlugins.d.ts → syncManagementExternalId.d.ts} +3 -6
- package/esm/funcs/syncManagementExternalId.d.ts.map +1 -0
- package/esm/funcs/{operationsUpdatePolicy.js → syncManagementExternalId.js} +11 -15
- package/esm/funcs/syncManagementExternalId.js.map +1 -0
- package/esm/funcs/workspacesDelete.d.ts +1 -1
- package/esm/funcs/workspacesDelete.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/billinglimits.d.ts +3 -0
- package/esm/models/billinglimits.d.ts.map +1 -1
- package/esm/models/billinglimits.js.map +1 -1
- package/esm/models/createaccessrequest.d.ts +15 -4
- package/esm/models/createaccessrequest.d.ts.map +1 -1
- package/esm/models/createaccessrequest.js +6 -3
- package/esm/models/createaccessrequest.js.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.d.ts +5 -0
- package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.js +1 -0
- package/esm/models/createsetupregistrationoperationrequest.js.map +1 -1
- package/esm/models/deploymentgroupmanagementexternalidresponse.d.ts +13 -0
- package/esm/models/deploymentgroupmanagementexternalidresponse.d.ts.map +1 -0
- package/esm/models/deploymentgroupmanagementexternalidresponse.js +13 -0
- package/esm/models/deploymentgroupmanagementexternalidresponse.js.map +1 -0
- package/esm/models/deploymentinfo.d.ts +4 -0
- package/esm/models/deploymentinfo.d.ts.map +1 -1
- package/esm/models/deploymentinfo.js +1 -0
- package/esm/models/deploymentinfo.js.map +1 -1
- package/esm/models/deploymentinstallation.d.ts +50 -0
- package/esm/models/deploymentinstallation.d.ts.map +1 -0
- package/esm/models/deploymentinstallation.js +53 -0
- package/esm/models/deploymentinstallation.js.map +1 -0
- package/esm/models/deploymentportalappearance.d.ts +4 -0
- package/esm/models/deploymentportalappearance.d.ts.map +1 -1
- package/esm/models/deploymentportalappearance.js +1 -0
- package/esm/models/deploymentportalappearance.js.map +1 -1
- package/esm/models/externalbindingunion.d.ts +103 -18
- package/esm/models/externalbindingunion.d.ts.map +1 -1
- package/esm/models/externalbindingunion.js +83 -14
- package/esm/models/externalbindingunion.js.map +1 -1
- package/esm/models/index.d.ts +29 -25
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +29 -25
- package/esm/models/index.js.map +1 -1
- package/esm/models/keyprefixsecretref1.d.ts +13 -0
- package/esm/models/keyprefixsecretref1.d.ts.map +1 -1
- package/esm/models/keyprefixsecretref1.js +4 -0
- package/esm/models/keyprefixsecretref1.js.map +1 -1
- package/esm/models/operations/acceptawskeysetup.d.ts +64 -0
- package/esm/models/operations/acceptawskeysetup.d.ts.map +1 -0
- package/esm/models/operations/acceptawskeysetup.js +44 -0
- package/esm/models/operations/acceptawskeysetup.js.map +1 -0
- package/esm/models/operations/claimawsxksstoreretirement.d.ts +32 -0
- package/esm/models/operations/claimawsxksstoreretirement.d.ts.map +1 -0
- package/esm/models/operations/claimawsxksstoreretirement.js +28 -0
- package/esm/models/operations/claimawsxksstoreretirement.js.map +1 -0
- package/esm/models/operations/completeawsxksstoreretirement.d.ts +38 -0
- package/esm/models/operations/completeawsxksstoreretirement.d.ts.map +1 -0
- package/esm/models/operations/completeawsxksstoreretirement.js +33 -0
- package/esm/models/operations/completeawsxksstoreretirement.js.map +1 -0
- package/esm/models/operations/configureprojectsource.d.ts +8 -0
- package/esm/models/operations/configureprojectsource.d.ts.map +1 -1
- package/esm/models/operations/configureprojectsource.js +2 -0
- package/esm/models/operations/configureprojectsource.js.map +1 -1
- package/esm/models/operations/createproject.d.ts +13 -0
- package/esm/models/operations/createproject.d.ts.map +1 -1
- package/esm/models/operations/createproject.js +3 -0
- package/esm/models/operations/createproject.js.map +1 -1
- package/esm/models/operations/createprojectfromtemplate.d.ts +13 -0
- package/esm/models/operations/createprojectfromtemplate.d.ts.map +1 -1
- package/esm/models/operations/createprojectfromtemplate.js +3 -0
- package/esm/models/operations/createprojectfromtemplate.js.map +1 -1
- package/esm/models/operations/getdeploymentgroupmanagementexternalid.d.ts +21 -0
- package/esm/models/operations/getdeploymentgroupmanagementexternalid.d.ts.map +1 -0
- package/esm/models/operations/getdeploymentgroupmanagementexternalid.js +12 -0
- package/esm/models/operations/getdeploymentgroupmanagementexternalid.js.map +1 -0
- package/esm/models/operations/getdeploymentmetricshistory.d.ts +104 -0
- package/esm/models/operations/getdeploymentmetricshistory.d.ts.map +1 -0
- package/esm/models/operations/getdeploymentmetricshistory.js +71 -0
- package/esm/models/operations/getdeploymentmetricshistory.js.map +1 -0
- package/esm/models/operations/getdynamiccontainerlogs.d.ts +10 -0
- package/esm/models/operations/getdynamiccontainerlogs.d.ts.map +1 -1
- package/esm/models/operations/getdynamiccontainerlogs.js +1 -0
- package/esm/models/operations/getdynamiccontainerlogs.js.map +1 -1
- package/esm/models/operations/index.d.ts +11 -5
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +11 -5
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/listawskeysetupcleanup.d.ts +30 -0
- package/esm/models/operations/listawskeysetupcleanup.d.ts.map +1 -0
- package/esm/models/operations/listawskeysetupcleanup.js +28 -0
- package/esm/models/operations/listawskeysetupcleanup.js.map +1 -0
- package/esm/models/operations/listpackages.d.ts +5 -0
- package/esm/models/operations/listpackages.d.ts.map +1 -1
- package/esm/models/operations/listpackages.js +1 -0
- package/esm/models/operations/listpackages.js.map +1 -1
- package/esm/models/operations/listreleasechannelimpact.d.ts +21 -0
- package/esm/models/operations/listreleasechannelimpact.d.ts.map +1 -0
- package/esm/models/operations/listreleasechannelimpact.js +12 -0
- package/esm/models/operations/listreleasechannelimpact.js.map +1 -0
- package/esm/models/operations/listreleasedeployments.d.ts +29 -0
- package/esm/models/operations/listreleasedeployments.d.ts.map +1 -1
- package/esm/models/operations/listreleasedeployments.js +12 -0
- package/esm/models/operations/listreleasedeployments.js.map +1 -1
- package/esm/models/operations/requestdeploymentcheck.d.ts +21 -0
- package/esm/models/operations/requestdeploymentcheck.d.ts.map +1 -0
- package/esm/models/operations/requestdeploymentcheck.js +12 -0
- package/esm/models/operations/requestdeploymentcheck.js.map +1 -0
- package/esm/models/operations/resumedeploymentinstallation.d.ts +21 -0
- package/esm/models/operations/resumedeploymentinstallation.d.ts.map +1 -0
- package/esm/models/operations/resumedeploymentinstallation.js +12 -0
- package/esm/models/operations/resumedeploymentinstallation.js.map +1 -0
- package/esm/models/operations/syncmanagementexternalid.d.ts +7 -0
- package/esm/models/operations/syncmanagementexternalid.d.ts.map +1 -0
- package/esm/models/operations/syncmanagementexternalid.js +5 -0
- package/esm/models/operations/syncmanagementexternalid.js.map +1 -0
- package/esm/models/operations/syncworkspacebilling.d.ts +14 -0
- package/esm/models/operations/syncworkspacebilling.d.ts.map +1 -0
- package/esm/models/operations/syncworkspacebilling.js +10 -0
- package/esm/models/operations/syncworkspacebilling.js.map +1 -0
- package/esm/models/operationsawspermissiondiffstatement.d.ts +1 -18
- package/esm/models/operationsawspermissiondiffstatement.d.ts.map +1 -1
- package/esm/models/operationsawspermissiondiffstatement.js +1 -14
- package/esm/models/operationsawspermissiondiffstatement.js.map +1 -1
- package/esm/models/operationsgcppermissiondiffgrant.d.ts +1 -12
- package/esm/models/operationsgcppermissiondiffgrant.d.ts.map +1 -1
- package/esm/models/operationsgcppermissiondiffgrant.js +1 -12
- package/esm/models/operationsgcppermissiondiffgrant.js.map +1 -1
- package/esm/models/operationskubernetespermissiondiffgrant.d.ts +1 -13
- package/esm/models/operationskubernetespermissiondiffgrant.d.ts.map +1 -1
- package/esm/models/operationskubernetespermissiondiffgrant.js +1 -13
- package/esm/models/operationskubernetespermissiondiffgrant.js.map +1 -1
- package/esm/models/operationspermissiondiff.d.ts +3 -37
- package/esm/models/operationspermissiondiff.d.ts.map +1 -1
- package/esm/models/operationspermissiondiff.js +3 -37
- package/esm/models/operationspermissiondiff.js.map +1 -1
- package/esm/models/operationspermissiondiffsource.d.ts +0 -9
- package/esm/models/operationspermissiondiffsource.d.ts.map +1 -1
- package/esm/models/operationspermissiondiffsource.js +0 -9
- package/esm/models/operationspermissiondiffsource.js.map +1 -1
- package/esm/models/package.d.ts +55 -0
- package/esm/models/package.d.ts.map +1 -1
- package/esm/models/package.js +21 -0
- package/esm/models/package.js.map +1 -1
- package/esm/models/planid.d.ts +1 -1
- package/esm/models/planid.js +1 -1
- package/esm/models/planid.js.map +1 -1
- package/esm/models/project.d.ts +8 -0
- package/esm/models/project.d.ts.map +1 -1
- package/esm/models/project.js +2 -0
- package/esm/models/project.js.map +1 -1
- package/esm/models/projectlistitemresponse.d.ts +8 -0
- package/esm/models/projectlistitemresponse.d.ts.map +1 -1
- package/esm/models/projectlistitemresponse.js +2 -0
- package/esm/models/projectlistitemresponse.js.map +1 -1
- package/esm/models/promotioneffect.d.ts +24 -0
- package/esm/models/promotioneffect.d.ts.map +1 -0
- package/esm/models/promotioneffect.js +22 -0
- package/esm/models/promotioneffect.js.map +1 -0
- package/esm/models/promotioneffectcounts.d.ts +19 -0
- package/esm/models/promotioneffectcounts.d.ts.map +1 -0
- package/esm/models/promotioneffectcounts.js +32 -0
- package/esm/models/promotioneffectcounts.js.map +1 -0
- package/esm/models/releasechannelimpact.d.ts +24 -0
- package/esm/models/releasechannelimpact.d.ts.map +1 -0
- package/esm/models/releasechannelimpact.js +21 -0
- package/esm/models/releasechannelimpact.js.map +1 -0
- package/esm/models/releasechannelimpactresponse.d.ts +11 -0
- package/esm/models/releasechannelimpactresponse.d.ts.map +1 -0
- package/esm/models/releasechannelimpactresponse.js +14 -0
- package/esm/models/releasechannelimpactresponse.js.map +1 -0
- package/esm/models/requestdeploymentcheckresponse.d.ts +10 -0
- package/esm/models/requestdeploymentcheckresponse.d.ts.map +1 -0
- package/esm/models/requestdeploymentcheckresponse.js +13 -0
- package/esm/models/requestdeploymentcheckresponse.js.map +1 -0
- package/esm/models/resumedeploymentinstallationresponse.d.ts +21 -0
- package/esm/models/resumedeploymentinstallationresponse.d.ts.map +1 -0
- package/esm/models/resumedeploymentinstallationresponse.js +18 -0
- package/esm/models/resumedeploymentinstallationresponse.js.map +1 -0
- package/esm/models/syncmanagementexternalidrequest.d.ts +17 -0
- package/esm/models/syncmanagementexternalidrequest.d.ts.map +1 -0
- package/esm/models/syncmanagementexternalidrequest.js +13 -0
- package/esm/models/syncmanagementexternalidrequest.js.map +1 -0
- package/esm/models/syncmanagementexternalidresponse.d.ts +13 -0
- package/esm/models/syncmanagementexternalidresponse.d.ts.map +1 -0
- package/esm/models/syncmanagementexternalidresponse.js +13 -0
- package/esm/models/syncmanagementexternalidresponse.js.map +1 -0
- package/esm/models/updateproject.d.ts +15 -0
- package/esm/models/updateproject.d.ts.map +1 -1
- package/esm/models/updateproject.js +3 -0
- package/esm/models/updateproject.js.map +1 -1
- package/esm/models/workspacebillingentitlements.d.ts +6 -0
- package/esm/models/workspacebillingentitlements.d.ts.map +1 -1
- package/esm/models/workspacebillingentitlements.js +1 -0
- package/esm/models/workspacebillingentitlements.js.map +1 -1
- package/esm/react-query/acceptAwsKeySetup.d.ts +23 -0
- package/esm/react-query/acceptAwsKeySetup.d.ts.map +1 -0
- package/esm/react-query/acceptAwsKeySetup.js +36 -0
- package/esm/react-query/acceptAwsKeySetup.js.map +1 -0
- package/esm/react-query/billingSync.d.ts +27 -0
- package/esm/react-query/billingSync.d.ts.map +1 -0
- package/esm/react-query/billingSync.js +39 -0
- package/esm/react-query/billingSync.js.map +1 -0
- package/esm/react-query/claimAwsXksStoreRetirement.d.ts +23 -0
- package/esm/react-query/claimAwsXksStoreRetirement.d.ts.map +1 -0
- package/esm/react-query/claimAwsXksStoreRetirement.js +36 -0
- package/esm/react-query/claimAwsXksStoreRetirement.js.map +1 -0
- package/esm/react-query/completeAwsXksStoreRetirement.d.ts +24 -0
- package/esm/react-query/completeAwsXksStoreRetirement.d.ts.map +1 -0
- package/esm/react-query/completeAwsXksStoreRetirement.js +36 -0
- package/esm/react-query/completeAwsXksStoreRetirement.js.map +1 -0
- package/esm/react-query/deploymentGroupsGetDeploymentGroupManagementExternalId.core.d.ts +13 -0
- package/esm/react-query/deploymentGroupsGetDeploymentGroupManagementExternalId.core.d.ts.map +1 -0
- package/esm/react-query/deploymentGroupsGetDeploymentGroupManagementExternalId.core.js +34 -0
- package/esm/react-query/deploymentGroupsGetDeploymentGroupManagementExternalId.core.js.map +1 -0
- package/esm/react-query/deploymentGroupsGetDeploymentGroupManagementExternalId.d.ts +29 -0
- package/esm/react-query/deploymentGroupsGetDeploymentGroupManagementExternalId.d.ts.map +1 -0
- package/esm/react-query/deploymentGroupsGetDeploymentGroupManagementExternalId.js +59 -0
- package/esm/react-query/deploymentGroupsGetDeploymentGroupManagementExternalId.js.map +1 -0
- package/esm/react-query/getDeploymentMetricsHistory.core.d.ts +17 -0
- package/esm/react-query/getDeploymentMetricsHistory.core.d.ts.map +1 -0
- package/esm/react-query/getDeploymentMetricsHistory.core.js +39 -0
- package/esm/react-query/getDeploymentMetricsHistory.core.js.map +1 -0
- package/esm/react-query/getDeploymentMetricsHistory.d.ts +39 -0
- package/esm/react-query/getDeploymentMetricsHistory.d.ts.map +1 -0
- package/esm/react-query/getDeploymentMetricsHistory.js +48 -0
- package/esm/react-query/getDeploymentMetricsHistory.js.map +1 -0
- package/esm/react-query/index.d.ts +11 -5
- package/esm/react-query/index.d.ts.map +1 -1
- package/esm/react-query/index.js +11 -5
- package/esm/react-query/index.js.map +1 -1
- package/esm/react-query/listAwsKeySetupCleanup.core.d.ts +14 -0
- package/esm/react-query/listAwsKeySetupCleanup.core.d.ts.map +1 -0
- package/esm/react-query/listAwsKeySetupCleanup.core.js +31 -0
- package/esm/react-query/listAwsKeySetupCleanup.core.js.map +1 -0
- package/esm/react-query/listAwsKeySetupCleanup.d.ts +21 -0
- package/esm/react-query/listAwsKeySetupCleanup.d.ts.map +1 -0
- package/esm/react-query/listAwsKeySetupCleanup.js +42 -0
- package/esm/react-query/listAwsKeySetupCleanup.js.map +1 -0
- package/esm/react-query/packagesList.core.d.ts +1 -0
- package/esm/react-query/packagesList.core.d.ts.map +1 -1
- package/esm/react-query/packagesList.core.js +1 -0
- package/esm/react-query/packagesList.core.js.map +1 -1
- package/esm/react-query/packagesList.d.ts +2 -0
- package/esm/react-query/packagesList.d.ts.map +1 -1
- package/esm/react-query/packagesList.js.map +1 -1
- package/esm/react-query/projectsGetActiveRelease.core.d.ts +2 -1
- package/esm/react-query/projectsGetActiveRelease.core.d.ts.map +1 -1
- package/esm/react-query/projectsGetActiveRelease.core.js.map +1 -1
- package/esm/react-query/releasesListAuthors.d.ts +2 -2
- package/esm/react-query/releasesListAuthors.js +2 -2
- package/esm/react-query/releasesListBranches.d.ts +2 -2
- package/esm/react-query/releasesListBranches.js +2 -2
- package/esm/react-query/releasesListChannelImpact.core.d.ts +13 -0
- package/esm/react-query/releasesListChannelImpact.core.d.ts.map +1 -0
- package/esm/react-query/releasesListChannelImpact.core.js +29 -0
- package/esm/react-query/releasesListChannelImpact.core.js.map +1 -0
- package/esm/react-query/releasesListChannelImpact.d.ts +23 -0
- package/esm/react-query/releasesListChannelImpact.d.ts.map +1 -0
- package/esm/react-query/releasesListChannelImpact.js +49 -0
- package/esm/react-query/releasesListChannelImpact.js.map +1 -0
- package/esm/react-query/releasesListDeployments.core.d.ts +3 -0
- package/esm/react-query/releasesListDeployments.core.d.ts.map +1 -1
- package/esm/react-query/releasesListDeployments.core.js +3 -0
- package/esm/react-query/releasesListDeployments.core.js.map +1 -1
- package/esm/react-query/releasesListDeployments.d.ts +6 -0
- package/esm/react-query/releasesListDeployments.d.ts.map +1 -1
- package/esm/react-query/releasesListDeployments.js.map +1 -1
- package/esm/react-query/requestDeploymentCheck.d.ts +24 -0
- package/esm/react-query/{operationsUpdatePolicy.d.ts.map → requestDeploymentCheck.d.ts.map} +1 -1
- package/esm/react-query/requestDeploymentCheck.js +36 -0
- package/esm/react-query/requestDeploymentCheck.js.map +1 -0
- package/esm/react-query/resumeDeploymentInstallation.d.ts +24 -0
- package/esm/react-query/resumeDeploymentInstallation.d.ts.map +1 -0
- package/esm/react-query/resumeDeploymentInstallation.js +36 -0
- package/esm/react-query/resumeDeploymentInstallation.js.map +1 -0
- package/esm/react-query/syncManagementExternalId.d.ts +26 -0
- package/esm/react-query/syncManagementExternalId.d.ts.map +1 -0
- package/esm/react-query/syncManagementExternalId.js +39 -0
- package/esm/react-query/syncManagementExternalId.js.map +1 -0
- package/esm/react-query/workspacesDelete.d.ts +1 -1
- package/esm/react-query/workspacesDelete.js +1 -1
- package/esm/sdk/billing.d.ts +4 -4
- package/esm/sdk/billing.d.ts.map +1 -1
- package/esm/sdk/billing.js +7 -7
- package/esm/sdk/billing.js.map +1 -1
- package/esm/sdk/deploymentgroups.d.ts +7 -0
- package/esm/sdk/deploymentgroups.d.ts.map +1 -1
- package/esm/sdk/deploymentgroups.js +10 -0
- package/esm/sdk/deploymentgroups.js.map +1 -1
- package/esm/sdk/operations.d.ts +0 -24
- package/esm/sdk/operations.d.ts.map +1 -1
- package/esm/sdk/operations.js +0 -36
- package/esm/sdk/operations.js.map +1 -1
- package/esm/sdk/projects.d.ts +1 -1
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/releases.d.ts +6 -2
- package/esm/sdk/releases.d.ts.map +1 -1
- package/esm/sdk/releases.js +9 -2
- package/esm/sdk/releases.js.map +1 -1
- package/esm/sdk/sdk.d.ts +10 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +31 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/sync.d.ts +4 -0
- package/esm/sdk/sync.d.ts.map +1 -1
- package/esm/sdk/sync.js +7 -0
- package/esm/sdk/sync.js.map +1 -1
- package/esm/sdk/workspaces.d.ts +1 -1
- package/esm/sdk/workspaces.js +1 -1
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/funcs/acceptAwsKeySetup.ts +172 -0
- package/src/funcs/{billingListAuditLog.ts → billingSync.ts} +24 -31
- package/src/funcs/claimAwsXksStoreRetirement.ts +174 -0
- package/src/funcs/completeAwsXksStoreRetirement.ts +185 -0
- package/src/funcs/{operationsSetPluginEnabled.ts → deploymentGroupsGetDeploymentGroupManagementExternalId.ts} +24 -22
- package/src/funcs/getDeploymentMetricsHistory.ts +184 -0
- package/src/funcs/{operationsGetPolicy.ts → listAwsKeySetupCleanup.ts} +12 -18
- package/src/funcs/packagesList.ts +1 -0
- package/src/funcs/projectsGetActiveRelease.ts +5 -5
- package/src/funcs/releasesListAuthors.ts +1 -1
- package/src/funcs/releasesListBranches.ts +1 -1
- package/src/funcs/{operationsSetBuiltinPlugins.ts → releasesListChannelImpact.ts} +21 -21
- package/src/funcs/releasesListDeployments.ts +3 -0
- package/src/funcs/{operationsUpdatePolicy.ts → requestDeploymentCheck.ts} +20 -23
- package/src/funcs/resumeDeploymentInstallation.ts +180 -0
- package/src/funcs/syncManagementExternalId.ts +178 -0
- package/src/funcs/workspacesDelete.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/billinglimits.ts +3 -0
- package/src/models/createaccessrequest.ts +12 -9
- package/src/models/createsetupregistrationoperationrequest.ts +6 -0
- package/src/models/deploymentgroupmanagementexternalidresponse.ts +37 -0
- package/src/models/deploymentinfo.ts +5 -0
- package/src/models/deploymentinstallation.ts +124 -0
- package/src/models/deploymentportalappearance.ts +5 -0
- package/src/models/externalbindingunion.ts +228 -34
- package/src/models/index.ts +29 -25
- package/src/models/keyprefixsecretref1.ts +17 -0
- package/src/models/operations/acceptawskeysetup.ts +128 -0
- package/src/models/operations/claimawsxksstoreretirement.ts +84 -0
- package/src/models/operations/completeawsxksstoreretirement.ts +102 -0
- package/src/models/operations/configureprojectsource.ts +10 -0
- package/src/models/operations/createproject.ts +16 -0
- package/src/models/operations/createprojectfromtemplate.ts +16 -0
- package/src/models/operations/getdeploymentgroupmanagementexternalid.ts +44 -0
- package/src/models/operations/getdeploymentmetricshistory.ts +218 -0
- package/src/models/operations/getdynamiccontainerlogs.ts +11 -0
- package/src/models/operations/index.ts +11 -5
- package/src/models/operations/listawskeysetupcleanup.ts +84 -0
- package/src/models/operations/listpackages.ts +6 -0
- package/src/models/operations/listreleasechannelimpact.ts +42 -0
- package/src/models/operations/listreleasedeployments.ts +36 -0
- package/src/models/operations/requestdeploymentcheck.ts +42 -0
- package/src/models/operations/resumedeploymentinstallation.ts +42 -0
- package/src/models/operations/syncmanagementexternalid.ts +10 -0
- package/src/models/operations/syncworkspacebilling.ts +33 -0
- package/src/models/operationsawspermissiondiffstatement.ts +0 -35
- package/src/models/operationsgcppermissiondiffgrant.ts +0 -31
- package/src/models/operationskubernetespermissiondiffgrant.ts +0 -34
- package/src/models/operationspermissiondiff.ts +0 -100
- package/src/models/operationspermissiondiffsource.ts +0 -25
- package/src/models/package.ts +91 -0
- package/src/models/planid.ts +1 -1
- package/src/models/project.ts +10 -0
- package/src/models/projectlistitemresponse.ts +10 -0
- package/src/models/promotioneffect.ts +30 -0
- package/src/models/promotioneffectcounts.ts +58 -0
- package/src/models/releasechannelimpact.ts +56 -0
- package/src/models/releasechannelimpactresponse.ts +34 -0
- package/src/models/requestdeploymentcheckresponse.ts +30 -0
- package/src/models/resumedeploymentinstallationresponse.ts +49 -0
- package/src/models/syncmanagementexternalidrequest.ts +38 -0
- package/src/models/syncmanagementexternalidresponse.ts +33 -0
- package/src/models/updateproject.ts +18 -0
- package/src/models/workspacebillingentitlements.ts +5 -0
- package/src/react-query/acceptAwsKeySetup.ts +106 -0
- package/src/react-query/{operationsUpdatePolicy.ts → billingSync.ts} +23 -26
- package/src/react-query/claimAwsXksStoreRetirement.ts +105 -0
- package/src/react-query/completeAwsXksStoreRetirement.ts +108 -0
- package/src/react-query/deploymentGroupsGetDeploymentGroupManagementExternalId.core.ts +86 -0
- package/src/react-query/deploymentGroupsGetDeploymentGroupManagementExternalId.ts +151 -0
- package/src/react-query/getDeploymentMetricsHistory.core.ts +89 -0
- package/src/react-query/getDeploymentMetricsHistory.ts +154 -0
- package/src/react-query/index.ts +11 -5
- package/src/react-query/{billingListAuditLog.core.ts → listAwsKeySetupCleanup.core.ts} +17 -18
- package/src/react-query/{billingListAuditLog.ts → listAwsKeySetupCleanup.ts} +39 -45
- package/src/react-query/packagesList.core.ts +2 -0
- package/src/react-query/packagesList.ts +2 -0
- package/src/react-query/projectsGetActiveRelease.core.ts +2 -1
- package/src/react-query/releasesListAuthors.ts +2 -2
- package/src/react-query/releasesListBranches.ts +2 -2
- package/src/react-query/{operationsGetPolicy.core.ts → releasesListChannelImpact.core.ts} +15 -16
- package/src/react-query/releasesListChannelImpact.ts +137 -0
- package/src/react-query/releasesListDeployments.core.ts +6 -0
- package/src/react-query/releasesListDeployments.ts +6 -0
- package/src/react-query/{operationsSetBuiltinPlugins.ts → requestDeploymentCheck.ts} +23 -28
- package/src/react-query/{operationsSetPluginEnabled.ts → resumeDeploymentInstallation.ts} +23 -28
- package/src/react-query/syncManagementExternalId.ts +108 -0
- package/src/react-query/workspacesDelete.ts +1 -1
- package/src/sdk/billing.ts +10 -10
- package/src/sdk/deploymentgroups.ts +18 -0
- package/src/sdk/operations.ts +0 -68
- package/src/sdk/projects.ts +1 -1
- package/src/sdk/releases.ts +17 -2
- package/src/sdk/sdk.ts +91 -0
- package/src/sdk/sync.ts +15 -0
- package/src/sdk/workspaces.ts +1 -1
- package/esm/funcs/billingListAuditLog.d.ts.map +0 -1
- package/esm/funcs/billingListAuditLog.js.map +0 -1
- package/esm/funcs/operationsGetPolicy.d.ts.map +0 -1
- package/esm/funcs/operationsGetPolicy.js.map +0 -1
- package/esm/funcs/operationsSetBuiltinPlugins.d.ts.map +0 -1
- package/esm/funcs/operationsSetBuiltinPlugins.js.map +0 -1
- package/esm/funcs/operationsSetPluginEnabled.d.ts +0 -18
- package/esm/funcs/operationsSetPluginEnabled.d.ts.map +0 -1
- package/esm/funcs/operationsSetPluginEnabled.js.map +0 -1
- package/esm/funcs/operationsUpdatePolicy.js.map +0 -1
- package/esm/models/billingauditlogrow.d.ts +0 -14
- package/esm/models/billingauditlogrow.d.ts.map +0 -1
- package/esm/models/billingauditlogrow.js +0 -17
- package/esm/models/billingauditlogrow.js.map +0 -1
- package/esm/models/operations/getoperationspolicy.d.ts +0 -21
- package/esm/models/operations/getoperationspolicy.d.ts.map +0 -1
- package/esm/models/operations/getoperationspolicy.js +0 -12
- package/esm/models/operations/getoperationspolicy.js.map +0 -1
- package/esm/models/operations/listbillingauditlog.d.ts +0 -36
- package/esm/models/operations/listbillingauditlog.d.ts.map +0 -1
- package/esm/models/operations/listbillingauditlog.js +0 -23
- package/esm/models/operations/listbillingauditlog.js.map +0 -1
- package/esm/models/operations/setbuiltinoperationsplugins.d.ts +0 -24
- package/esm/models/operations/setbuiltinoperationsplugins.d.ts.map +0 -1
- package/esm/models/operations/setbuiltinoperationsplugins.js +0 -20
- package/esm/models/operations/setbuiltinoperationsplugins.js.map +0 -1
- package/esm/models/operations/setoperationspluginenabled.d.ts +0 -29
- package/esm/models/operations/setoperationspluginenabled.d.ts.map +0 -1
- package/esm/models/operations/setoperationspluginenabled.js +0 -21
- package/esm/models/operations/setoperationspluginenabled.js.map +0 -1
- package/esm/models/operations/updateoperationspolicy.d.ts +0 -24
- package/esm/models/operations/updateoperationspolicy.d.ts.map +0 -1
- package/esm/models/operations/updateoperationspolicy.js +0 -20
- package/esm/models/operations/updateoperationspolicy.js.map +0 -1
- package/esm/models/operationspolicyresponse.d.ts +0 -29
- package/esm/models/operationspolicyresponse.d.ts.map +0 -1
- package/esm/models/operationspolicyresponse.js +0 -24
- package/esm/models/operationspolicyresponse.js.map +0 -1
- package/esm/models/operationspolicyrule.d.ts +0 -62
- package/esm/models/operationspolicyrule.d.ts.map +0 -1
- package/esm/models/operationspolicyrule.js +0 -47
- package/esm/models/operationspolicyrule.js.map +0 -1
- package/esm/models/setbuiltinoperationspluginsrequest.d.ts +0 -15
- package/esm/models/setbuiltinoperationspluginsrequest.d.ts.map +0 -1
- package/esm/models/setbuiltinoperationspluginsrequest.js +0 -12
- package/esm/models/setbuiltinoperationspluginsrequest.js.map +0 -1
- package/esm/models/setbuiltinoperationspluginsresponse.d.ts +0 -15
- package/esm/models/setbuiltinoperationspluginsresponse.d.ts.map +0 -1
- package/esm/models/setbuiltinoperationspluginsresponse.js +0 -15
- package/esm/models/setbuiltinoperationspluginsresponse.js.map +0 -1
- package/esm/models/setoperationspluginenabledrequest.d.ts +0 -23
- package/esm/models/setoperationspluginenabledrequest.d.ts.map +0 -1
- package/esm/models/setoperationspluginenabledrequest.js +0 -15
- package/esm/models/setoperationspluginenabledrequest.js.map +0 -1
- package/esm/models/setoperationspluginenabledresponse.d.ts +0 -17
- package/esm/models/setoperationspluginenabledresponse.d.ts.map +0 -1
- package/esm/models/setoperationspluginenabledresponse.js +0 -17
- package/esm/models/setoperationspluginenabledresponse.js.map +0 -1
- package/esm/models/updateoperationspolicyrequest.d.ts +0 -16
- package/esm/models/updateoperationspolicyrequest.d.ts.map +0 -1
- package/esm/models/updateoperationspolicyrequest.js +0 -13
- package/esm/models/updateoperationspolicyrequest.js.map +0 -1
- package/esm/react-query/billingListAuditLog.core.d.ts +0 -15
- package/esm/react-query/billingListAuditLog.core.d.ts.map +0 -1
- package/esm/react-query/billingListAuditLog.core.js +0 -32
- package/esm/react-query/billingListAuditLog.core.js.map +0 -1
- package/esm/react-query/billingListAuditLog.d.ts +0 -32
- package/esm/react-query/billingListAuditLog.d.ts.map +0 -1
- package/esm/react-query/billingListAuditLog.js +0 -49
- package/esm/react-query/billingListAuditLog.js.map +0 -1
- package/esm/react-query/operationsGetPolicy.core.d.ts +0 -15
- package/esm/react-query/operationsGetPolicy.core.d.ts.map +0 -1
- package/esm/react-query/operationsGetPolicy.core.js +0 -29
- package/esm/react-query/operationsGetPolicy.core.js.map +0 -1
- package/esm/react-query/operationsGetPolicy.d.ts +0 -31
- package/esm/react-query/operationsGetPolicy.d.ts.map +0 -1
- package/esm/react-query/operationsGetPolicy.js +0 -53
- package/esm/react-query/operationsGetPolicy.js.map +0 -1
- package/esm/react-query/operationsSetBuiltinPlugins.d.ts +0 -29
- package/esm/react-query/operationsSetBuiltinPlugins.d.ts.map +0 -1
- package/esm/react-query/operationsSetBuiltinPlugins.js +0 -41
- package/esm/react-query/operationsSetBuiltinPlugins.js.map +0 -1
- package/esm/react-query/operationsSetPluginEnabled.d.ts +0 -29
- package/esm/react-query/operationsSetPluginEnabled.d.ts.map +0 -1
- package/esm/react-query/operationsSetPluginEnabled.js +0 -41
- package/esm/react-query/operationsSetPluginEnabled.js.map +0 -1
- package/esm/react-query/operationsUpdatePolicy.d.ts +0 -29
- package/esm/react-query/operationsUpdatePolicy.js +0 -41
- package/esm/react-query/operationsUpdatePolicy.js.map +0 -1
- package/src/models/billingauditlogrow.ts +0 -38
- package/src/models/operations/getoperationspolicy.ts +0 -40
- package/src/models/operations/listbillingauditlog.ts +0 -74
- package/src/models/operations/setbuiltinoperationsplugins.ts +0 -56
- package/src/models/operations/setoperationspluginenabled.ts +0 -62
- package/src/models/operations/updateoperationspolicy.ts +0 -56
- package/src/models/operationspolicyresponse.ts +0 -57
- package/src/models/operationspolicyrule.ts +0 -114
- package/src/models/setbuiltinoperationspluginsrequest.ts +0 -35
- package/src/models/setbuiltinoperationspluginsresponse.ts +0 -40
- package/src/models/setoperationspluginenabledrequest.ts +0 -49
- package/src/models/setoperationspluginenabledresponse.ts +0 -44
- package/src/models/updateoperationspolicyrequest.ts +0 -40
- package/src/react-query/operationsGetPolicy.ts +0 -138
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
MutationKey,
|
|
7
|
+
useMutation,
|
|
8
|
+
UseMutationResult,
|
|
9
|
+
} from "@tanstack/react-query";
|
|
10
|
+
import { AlienCore } from "../core.js";
|
|
11
|
+
import { claimAwsXksStoreRetirement } from "../funcs/claimAwsXksStoreRetirement.js";
|
|
12
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
13
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
+
import { AlienError } from "../models/errors/alienerror.js";
|
|
15
|
+
import {
|
|
16
|
+
ConnectionError,
|
|
17
|
+
InvalidRequestError,
|
|
18
|
+
RequestAbortedError,
|
|
19
|
+
RequestTimeoutError,
|
|
20
|
+
UnexpectedClientError,
|
|
21
|
+
} from "../models/errors/httpclienterrors.js";
|
|
22
|
+
import * as errors from "../models/errors/index.js";
|
|
23
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
24
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
25
|
+
import * as operations from "../models/operations/index.js";
|
|
26
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
27
|
+
import { useAlienContext } from "./_context.js";
|
|
28
|
+
import { MutationHookOptions } from "./_types.js";
|
|
29
|
+
|
|
30
|
+
export type ClaimAwsXksStoreRetirementMutationVariables = {
|
|
31
|
+
request: operations.ClaimAwsXksStoreRetirementRequest;
|
|
32
|
+
options?: RequestOptions;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export type ClaimAwsXksStoreRetirementMutationData =
|
|
36
|
+
operations.ClaimAwsXksStoreRetirementResponse;
|
|
37
|
+
|
|
38
|
+
export type ClaimAwsXksStoreRetirementMutationError =
|
|
39
|
+
| errors.APIError
|
|
40
|
+
| AlienError
|
|
41
|
+
| ResponseValidationError
|
|
42
|
+
| ConnectionError
|
|
43
|
+
| RequestAbortedError
|
|
44
|
+
| RequestTimeoutError
|
|
45
|
+
| InvalidRequestError
|
|
46
|
+
| UnexpectedClientError
|
|
47
|
+
| SDKValidationError;
|
|
48
|
+
|
|
49
|
+
export function useClaimAwsXksStoreRetirementMutation(
|
|
50
|
+
options?: MutationHookOptions<
|
|
51
|
+
ClaimAwsXksStoreRetirementMutationData,
|
|
52
|
+
ClaimAwsXksStoreRetirementMutationError,
|
|
53
|
+
ClaimAwsXksStoreRetirementMutationVariables
|
|
54
|
+
>,
|
|
55
|
+
): UseMutationResult<
|
|
56
|
+
ClaimAwsXksStoreRetirementMutationData,
|
|
57
|
+
ClaimAwsXksStoreRetirementMutationError,
|
|
58
|
+
ClaimAwsXksStoreRetirementMutationVariables
|
|
59
|
+
> {
|
|
60
|
+
const client = useAlienContext();
|
|
61
|
+
return useMutation({
|
|
62
|
+
...buildClaimAwsXksStoreRetirementMutation(client, options),
|
|
63
|
+
...options,
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function mutationKeyClaimAwsXksStoreRetirement(): MutationKey {
|
|
68
|
+
return ["@alienplatform/platform-api", "claimAwsXksStoreRetirement"];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function buildClaimAwsXksStoreRetirementMutation(
|
|
72
|
+
client$: AlienCore,
|
|
73
|
+
hookOptions?: RequestOptions,
|
|
74
|
+
): {
|
|
75
|
+
mutationKey: MutationKey;
|
|
76
|
+
mutationFn: (
|
|
77
|
+
variables: ClaimAwsXksStoreRetirementMutationVariables,
|
|
78
|
+
) => Promise<ClaimAwsXksStoreRetirementMutationData>;
|
|
79
|
+
} {
|
|
80
|
+
return {
|
|
81
|
+
mutationKey: mutationKeyClaimAwsXksStoreRetirement(),
|
|
82
|
+
mutationFn: function claimAwsXksStoreRetirementMutationFn({
|
|
83
|
+
request,
|
|
84
|
+
options,
|
|
85
|
+
}): Promise<ClaimAwsXksStoreRetirementMutationData> {
|
|
86
|
+
const mergedOptions = {
|
|
87
|
+
...hookOptions,
|
|
88
|
+
...options,
|
|
89
|
+
fetchOptions: {
|
|
90
|
+
...hookOptions?.fetchOptions,
|
|
91
|
+
...options?.fetchOptions,
|
|
92
|
+
signal: combineSignals(
|
|
93
|
+
hookOptions?.fetchOptions?.signal,
|
|
94
|
+
options?.fetchOptions?.signal,
|
|
95
|
+
),
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
return unwrapAsync(claimAwsXksStoreRetirement(
|
|
99
|
+
client$,
|
|
100
|
+
request,
|
|
101
|
+
mergedOptions,
|
|
102
|
+
));
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
MutationKey,
|
|
7
|
+
useMutation,
|
|
8
|
+
UseMutationResult,
|
|
9
|
+
} from "@tanstack/react-query";
|
|
10
|
+
import { AlienCore } from "../core.js";
|
|
11
|
+
import { completeAwsXksStoreRetirement } from "../funcs/completeAwsXksStoreRetirement.js";
|
|
12
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
13
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
+
import { AlienError } from "../models/errors/alienerror.js";
|
|
15
|
+
import {
|
|
16
|
+
ConnectionError,
|
|
17
|
+
InvalidRequestError,
|
|
18
|
+
RequestAbortedError,
|
|
19
|
+
RequestTimeoutError,
|
|
20
|
+
UnexpectedClientError,
|
|
21
|
+
} from "../models/errors/httpclienterrors.js";
|
|
22
|
+
import * as errors from "../models/errors/index.js";
|
|
23
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
24
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
25
|
+
import * as operations from "../models/operations/index.js";
|
|
26
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
27
|
+
import { useAlienContext } from "./_context.js";
|
|
28
|
+
import { MutationHookOptions } from "./_types.js";
|
|
29
|
+
|
|
30
|
+
export type CompleteAwsXksStoreRetirementMutationVariables = {
|
|
31
|
+
id: string;
|
|
32
|
+
requestBody?: operations.CompleteAwsXksStoreRetirementRequestBody | undefined;
|
|
33
|
+
options?: RequestOptions;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export type CompleteAwsXksStoreRetirementMutationData =
|
|
37
|
+
operations.CompleteAwsXksStoreRetirementResponse;
|
|
38
|
+
|
|
39
|
+
export type CompleteAwsXksStoreRetirementMutationError =
|
|
40
|
+
| errors.APIError
|
|
41
|
+
| AlienError
|
|
42
|
+
| ResponseValidationError
|
|
43
|
+
| ConnectionError
|
|
44
|
+
| RequestAbortedError
|
|
45
|
+
| RequestTimeoutError
|
|
46
|
+
| InvalidRequestError
|
|
47
|
+
| UnexpectedClientError
|
|
48
|
+
| SDKValidationError;
|
|
49
|
+
|
|
50
|
+
export function useCompleteAwsXksStoreRetirementMutation(
|
|
51
|
+
options?: MutationHookOptions<
|
|
52
|
+
CompleteAwsXksStoreRetirementMutationData,
|
|
53
|
+
CompleteAwsXksStoreRetirementMutationError,
|
|
54
|
+
CompleteAwsXksStoreRetirementMutationVariables
|
|
55
|
+
>,
|
|
56
|
+
): UseMutationResult<
|
|
57
|
+
CompleteAwsXksStoreRetirementMutationData,
|
|
58
|
+
CompleteAwsXksStoreRetirementMutationError,
|
|
59
|
+
CompleteAwsXksStoreRetirementMutationVariables
|
|
60
|
+
> {
|
|
61
|
+
const client = useAlienContext();
|
|
62
|
+
return useMutation({
|
|
63
|
+
...buildCompleteAwsXksStoreRetirementMutation(client, options),
|
|
64
|
+
...options,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function mutationKeyCompleteAwsXksStoreRetirement(): MutationKey {
|
|
69
|
+
return ["@alienplatform/platform-api", "completeAwsXksStoreRetirement"];
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function buildCompleteAwsXksStoreRetirementMutation(
|
|
73
|
+
client$: AlienCore,
|
|
74
|
+
hookOptions?: RequestOptions,
|
|
75
|
+
): {
|
|
76
|
+
mutationKey: MutationKey;
|
|
77
|
+
mutationFn: (
|
|
78
|
+
variables: CompleteAwsXksStoreRetirementMutationVariables,
|
|
79
|
+
) => Promise<CompleteAwsXksStoreRetirementMutationData>;
|
|
80
|
+
} {
|
|
81
|
+
return {
|
|
82
|
+
mutationKey: mutationKeyCompleteAwsXksStoreRetirement(),
|
|
83
|
+
mutationFn: function completeAwsXksStoreRetirementMutationFn({
|
|
84
|
+
id,
|
|
85
|
+
requestBody,
|
|
86
|
+
options,
|
|
87
|
+
}): Promise<CompleteAwsXksStoreRetirementMutationData> {
|
|
88
|
+
const mergedOptions = {
|
|
89
|
+
...hookOptions,
|
|
90
|
+
...options,
|
|
91
|
+
fetchOptions: {
|
|
92
|
+
...hookOptions?.fetchOptions,
|
|
93
|
+
...options?.fetchOptions,
|
|
94
|
+
signal: combineSignals(
|
|
95
|
+
hookOptions?.fetchOptions?.signal,
|
|
96
|
+
options?.fetchOptions?.signal,
|
|
97
|
+
),
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
return unwrapAsync(completeAwsXksStoreRetirement(
|
|
101
|
+
client$,
|
|
102
|
+
id,
|
|
103
|
+
requestBody,
|
|
104
|
+
mergedOptions,
|
|
105
|
+
));
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
QueryClient,
|
|
7
|
+
QueryFunctionContext,
|
|
8
|
+
QueryKey,
|
|
9
|
+
} from "@tanstack/react-query";
|
|
10
|
+
import { AlienCore } from "../core.js";
|
|
11
|
+
import { deploymentGroupsGetDeploymentGroupManagementExternalId } from "../funcs/deploymentGroupsGetDeploymentGroupManagementExternalId.js";
|
|
12
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
13
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
+
import * as models from "../models/index.js";
|
|
15
|
+
import * as operations from "../models/operations/index.js";
|
|
16
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
17
|
+
export type DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryData =
|
|
18
|
+
models.DeploymentGroupManagementExternalIdResponse;
|
|
19
|
+
|
|
20
|
+
export function prefetchDeploymentGroupsGetDeploymentGroupManagementExternalId(
|
|
21
|
+
queryClient: QueryClient,
|
|
22
|
+
client$: AlienCore,
|
|
23
|
+
request: operations.GetDeploymentGroupManagementExternalIdRequest,
|
|
24
|
+
options?: RequestOptions,
|
|
25
|
+
): Promise<void> {
|
|
26
|
+
return queryClient.prefetchQuery({
|
|
27
|
+
...buildDeploymentGroupsGetDeploymentGroupManagementExternalIdQuery(
|
|
28
|
+
client$,
|
|
29
|
+
request,
|
|
30
|
+
options,
|
|
31
|
+
),
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function buildDeploymentGroupsGetDeploymentGroupManagementExternalIdQuery(
|
|
36
|
+
client$: AlienCore,
|
|
37
|
+
request: operations.GetDeploymentGroupManagementExternalIdRequest,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): {
|
|
40
|
+
queryKey: QueryKey;
|
|
41
|
+
queryFn: (
|
|
42
|
+
context: QueryFunctionContext,
|
|
43
|
+
) => Promise<DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryData>;
|
|
44
|
+
} {
|
|
45
|
+
return {
|
|
46
|
+
queryKey: queryKeyDeploymentGroupsGetDeploymentGroupManagementExternalId(
|
|
47
|
+
request.id,
|
|
48
|
+
),
|
|
49
|
+
queryFn:
|
|
50
|
+
async function deploymentGroupsGetDeploymentGroupManagementExternalIdQueryFn(
|
|
51
|
+
ctx,
|
|
52
|
+
): Promise<
|
|
53
|
+
DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryData
|
|
54
|
+
> {
|
|
55
|
+
const sig = combineSignals(
|
|
56
|
+
ctx.signal,
|
|
57
|
+
options?.signal,
|
|
58
|
+
options?.fetchOptions?.signal,
|
|
59
|
+
);
|
|
60
|
+
const mergedOptions = {
|
|
61
|
+
...options?.fetchOptions,
|
|
62
|
+
...options,
|
|
63
|
+
signal: sig,
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
return unwrapAsync(
|
|
67
|
+
deploymentGroupsGetDeploymentGroupManagementExternalId(
|
|
68
|
+
client$,
|
|
69
|
+
request,
|
|
70
|
+
mergedOptions,
|
|
71
|
+
),
|
|
72
|
+
);
|
|
73
|
+
},
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function queryKeyDeploymentGroupsGetDeploymentGroupManagementExternalId(
|
|
78
|
+
id: string,
|
|
79
|
+
): QueryKey {
|
|
80
|
+
return [
|
|
81
|
+
"@alienplatform/platform-api",
|
|
82
|
+
"deployment-groups",
|
|
83
|
+
"getDeploymentGroupManagementExternalId",
|
|
84
|
+
id,
|
|
85
|
+
];
|
|
86
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
InvalidateQueryFilters,
|
|
7
|
+
QueryClient,
|
|
8
|
+
useQuery,
|
|
9
|
+
UseQueryResult,
|
|
10
|
+
useSuspenseQuery,
|
|
11
|
+
UseSuspenseQueryResult,
|
|
12
|
+
} from "@tanstack/react-query";
|
|
13
|
+
import { AlienError } from "../models/errors/alienerror.js";
|
|
14
|
+
import {
|
|
15
|
+
ConnectionError,
|
|
16
|
+
InvalidRequestError,
|
|
17
|
+
RequestAbortedError,
|
|
18
|
+
RequestTimeoutError,
|
|
19
|
+
UnexpectedClientError,
|
|
20
|
+
} from "../models/errors/httpclienterrors.js";
|
|
21
|
+
import * as errors from "../models/errors/index.js";
|
|
22
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
23
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
|
+
import * as operations from "../models/operations/index.js";
|
|
25
|
+
import { useAlienContext } from "./_context.js";
|
|
26
|
+
import {
|
|
27
|
+
QueryHookOptions,
|
|
28
|
+
SuspenseQueryHookOptions,
|
|
29
|
+
TupleToPrefixes,
|
|
30
|
+
} from "./_types.js";
|
|
31
|
+
import {
|
|
32
|
+
buildDeploymentGroupsGetDeploymentGroupManagementExternalIdQuery,
|
|
33
|
+
DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryData,
|
|
34
|
+
prefetchDeploymentGroupsGetDeploymentGroupManagementExternalId,
|
|
35
|
+
queryKeyDeploymentGroupsGetDeploymentGroupManagementExternalId,
|
|
36
|
+
} from "./deploymentGroupsGetDeploymentGroupManagementExternalId.core.js";
|
|
37
|
+
export {
|
|
38
|
+
buildDeploymentGroupsGetDeploymentGroupManagementExternalIdQuery,
|
|
39
|
+
type DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryData,
|
|
40
|
+
prefetchDeploymentGroupsGetDeploymentGroupManagementExternalId,
|
|
41
|
+
queryKeyDeploymentGroupsGetDeploymentGroupManagementExternalId,
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export type DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryError =
|
|
45
|
+
| errors.APIError
|
|
46
|
+
| AlienError
|
|
47
|
+
| ResponseValidationError
|
|
48
|
+
| ConnectionError
|
|
49
|
+
| RequestAbortedError
|
|
50
|
+
| RequestTimeoutError
|
|
51
|
+
| InvalidRequestError
|
|
52
|
+
| UnexpectedClientError
|
|
53
|
+
| SDKValidationError;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Get the AWS ExternalId for this deployment group
|
|
57
|
+
*
|
|
58
|
+
* @remarks
|
|
59
|
+
* Returns the value to enter as the ManagementExternalId parameter when installing or updating this group's CloudFormation or Terraform setup from a template file. The management roles require it as sts:ExternalId. Requires the same permission as creating a setup link.
|
|
60
|
+
*/
|
|
61
|
+
export function useDeploymentGroupsGetDeploymentGroupManagementExternalId(
|
|
62
|
+
request: operations.GetDeploymentGroupManagementExternalIdRequest,
|
|
63
|
+
options?: QueryHookOptions<
|
|
64
|
+
DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryData,
|
|
65
|
+
DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryError
|
|
66
|
+
>,
|
|
67
|
+
): UseQueryResult<
|
|
68
|
+
DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryData,
|
|
69
|
+
DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryError
|
|
70
|
+
> {
|
|
71
|
+
const client = useAlienContext();
|
|
72
|
+
return useQuery({
|
|
73
|
+
...buildDeploymentGroupsGetDeploymentGroupManagementExternalIdQuery(
|
|
74
|
+
client,
|
|
75
|
+
request,
|
|
76
|
+
options,
|
|
77
|
+
),
|
|
78
|
+
...options,
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Get the AWS ExternalId for this deployment group
|
|
84
|
+
*
|
|
85
|
+
* @remarks
|
|
86
|
+
* Returns the value to enter as the ManagementExternalId parameter when installing or updating this group's CloudFormation or Terraform setup from a template file. The management roles require it as sts:ExternalId. Requires the same permission as creating a setup link.
|
|
87
|
+
*/
|
|
88
|
+
export function useDeploymentGroupsGetDeploymentGroupManagementExternalIdSuspense(
|
|
89
|
+
request: operations.GetDeploymentGroupManagementExternalIdRequest,
|
|
90
|
+
options?: SuspenseQueryHookOptions<
|
|
91
|
+
DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryData,
|
|
92
|
+
DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryError
|
|
93
|
+
>,
|
|
94
|
+
): UseSuspenseQueryResult<
|
|
95
|
+
DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryData,
|
|
96
|
+
DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryError
|
|
97
|
+
> {
|
|
98
|
+
const client = useAlienContext();
|
|
99
|
+
return useSuspenseQuery({
|
|
100
|
+
...buildDeploymentGroupsGetDeploymentGroupManagementExternalIdQuery(
|
|
101
|
+
client,
|
|
102
|
+
request,
|
|
103
|
+
options,
|
|
104
|
+
),
|
|
105
|
+
...options,
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function setDeploymentGroupsGetDeploymentGroupManagementExternalIdData(
|
|
110
|
+
client: QueryClient,
|
|
111
|
+
queryKeyBase: [id: string],
|
|
112
|
+
data: DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryData,
|
|
113
|
+
): DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryData | undefined {
|
|
114
|
+
const key = queryKeyDeploymentGroupsGetDeploymentGroupManagementExternalId(
|
|
115
|
+
...queryKeyBase,
|
|
116
|
+
);
|
|
117
|
+
|
|
118
|
+
return client.setQueryData<
|
|
119
|
+
DeploymentGroupsGetDeploymentGroupManagementExternalIdQueryData
|
|
120
|
+
>(key, data);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function invalidateDeploymentGroupsGetDeploymentGroupManagementExternalId(
|
|
124
|
+
client: QueryClient,
|
|
125
|
+
queryKeyBase: TupleToPrefixes<[id: string]>,
|
|
126
|
+
filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
|
|
127
|
+
): Promise<void> {
|
|
128
|
+
return client.invalidateQueries({
|
|
129
|
+
...filters,
|
|
130
|
+
queryKey: [
|
|
131
|
+
"@alienplatform/platform-api",
|
|
132
|
+
"deployment-groups",
|
|
133
|
+
"getDeploymentGroupManagementExternalId",
|
|
134
|
+
...queryKeyBase,
|
|
135
|
+
],
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export function invalidateAllDeploymentGroupsGetDeploymentGroupManagementExternalId(
|
|
140
|
+
client: QueryClient,
|
|
141
|
+
filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
|
|
142
|
+
): Promise<void> {
|
|
143
|
+
return client.invalidateQueries({
|
|
144
|
+
...filters,
|
|
145
|
+
queryKey: [
|
|
146
|
+
"@alienplatform/platform-api",
|
|
147
|
+
"deployment-groups",
|
|
148
|
+
"getDeploymentGroupManagementExternalId",
|
|
149
|
+
],
|
|
150
|
+
});
|
|
151
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
QueryClient,
|
|
7
|
+
QueryFunctionContext,
|
|
8
|
+
QueryKey,
|
|
9
|
+
} from "@tanstack/react-query";
|
|
10
|
+
import { AlienCore } from "../core.js";
|
|
11
|
+
import { getDeploymentMetricsHistory } from "../funcs/getDeploymentMetricsHistory.js";
|
|
12
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
13
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
+
import * as operations from "../models/operations/index.js";
|
|
15
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
16
|
+
export type GetDeploymentMetricsHistoryQueryData =
|
|
17
|
+
operations.GetDeploymentMetricsHistoryResponse;
|
|
18
|
+
|
|
19
|
+
export function prefetchGetDeploymentMetricsHistory(
|
|
20
|
+
queryClient: QueryClient,
|
|
21
|
+
client$: AlienCore,
|
|
22
|
+
request: operations.GetDeploymentMetricsHistoryRequest,
|
|
23
|
+
options?: RequestOptions,
|
|
24
|
+
): Promise<void> {
|
|
25
|
+
return queryClient.prefetchQuery({
|
|
26
|
+
...buildGetDeploymentMetricsHistoryQuery(
|
|
27
|
+
client$,
|
|
28
|
+
request,
|
|
29
|
+
options,
|
|
30
|
+
),
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function buildGetDeploymentMetricsHistoryQuery(
|
|
35
|
+
client$: AlienCore,
|
|
36
|
+
request: operations.GetDeploymentMetricsHistoryRequest,
|
|
37
|
+
options?: RequestOptions,
|
|
38
|
+
): {
|
|
39
|
+
queryKey: QueryKey;
|
|
40
|
+
queryFn: (
|
|
41
|
+
context: QueryFunctionContext,
|
|
42
|
+
) => Promise<GetDeploymentMetricsHistoryQueryData>;
|
|
43
|
+
} {
|
|
44
|
+
return {
|
|
45
|
+
queryKey: queryKeyGetDeploymentMetricsHistory(request.id, {
|
|
46
|
+
from: request.from,
|
|
47
|
+
to: request.to,
|
|
48
|
+
service: request.service,
|
|
49
|
+
replica: request.replica,
|
|
50
|
+
}),
|
|
51
|
+
queryFn: async function getDeploymentMetricsHistoryQueryFn(
|
|
52
|
+
ctx,
|
|
53
|
+
): Promise<GetDeploymentMetricsHistoryQueryData> {
|
|
54
|
+
const sig = combineSignals(
|
|
55
|
+
ctx.signal,
|
|
56
|
+
options?.signal,
|
|
57
|
+
options?.fetchOptions?.signal,
|
|
58
|
+
);
|
|
59
|
+
const mergedOptions = {
|
|
60
|
+
...options?.fetchOptions,
|
|
61
|
+
...options,
|
|
62
|
+
signal: sig,
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
return unwrapAsync(getDeploymentMetricsHistory(
|
|
66
|
+
client$,
|
|
67
|
+
request,
|
|
68
|
+
mergedOptions,
|
|
69
|
+
));
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function queryKeyGetDeploymentMetricsHistory(
|
|
75
|
+
id: string,
|
|
76
|
+
parameters: {
|
|
77
|
+
from: Date;
|
|
78
|
+
to: Date;
|
|
79
|
+
service?: string | undefined;
|
|
80
|
+
replica?: string | undefined;
|
|
81
|
+
},
|
|
82
|
+
): QueryKey {
|
|
83
|
+
return [
|
|
84
|
+
"@alienplatform/platform-api",
|
|
85
|
+
"getDeploymentMetricsHistory",
|
|
86
|
+
id,
|
|
87
|
+
parameters,
|
|
88
|
+
];
|
|
89
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
InvalidateQueryFilters,
|
|
7
|
+
QueryClient,
|
|
8
|
+
useQuery,
|
|
9
|
+
UseQueryResult,
|
|
10
|
+
useSuspenseQuery,
|
|
11
|
+
UseSuspenseQueryResult,
|
|
12
|
+
} from "@tanstack/react-query";
|
|
13
|
+
import { AlienError } from "../models/errors/alienerror.js";
|
|
14
|
+
import {
|
|
15
|
+
ConnectionError,
|
|
16
|
+
InvalidRequestError,
|
|
17
|
+
RequestAbortedError,
|
|
18
|
+
RequestTimeoutError,
|
|
19
|
+
UnexpectedClientError,
|
|
20
|
+
} from "../models/errors/httpclienterrors.js";
|
|
21
|
+
import * as errors from "../models/errors/index.js";
|
|
22
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
23
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
|
+
import * as operations from "../models/operations/index.js";
|
|
25
|
+
import { useAlienContext } from "./_context.js";
|
|
26
|
+
import {
|
|
27
|
+
QueryHookOptions,
|
|
28
|
+
SuspenseQueryHookOptions,
|
|
29
|
+
TupleToPrefixes,
|
|
30
|
+
} from "./_types.js";
|
|
31
|
+
import {
|
|
32
|
+
buildGetDeploymentMetricsHistoryQuery,
|
|
33
|
+
GetDeploymentMetricsHistoryQueryData,
|
|
34
|
+
prefetchGetDeploymentMetricsHistory,
|
|
35
|
+
queryKeyGetDeploymentMetricsHistory,
|
|
36
|
+
} from "./getDeploymentMetricsHistory.core.js";
|
|
37
|
+
export {
|
|
38
|
+
buildGetDeploymentMetricsHistoryQuery,
|
|
39
|
+
type GetDeploymentMetricsHistoryQueryData,
|
|
40
|
+
prefetchGetDeploymentMetricsHistory,
|
|
41
|
+
queryKeyGetDeploymentMetricsHistory,
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export type GetDeploymentMetricsHistoryQueryError =
|
|
45
|
+
| errors.APIError
|
|
46
|
+
| AlienError
|
|
47
|
+
| ResponseValidationError
|
|
48
|
+
| ConnectionError
|
|
49
|
+
| RequestAbortedError
|
|
50
|
+
| RequestTimeoutError
|
|
51
|
+
| InvalidRequestError
|
|
52
|
+
| UnexpectedClientError
|
|
53
|
+
| SDKValidationError;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Metrics Horizon reported for each replica, from the deployment's heartbeats in [from, to): the latest sample per replica per bucket, with empty buckets as null. Kept for 30 days, best effort.
|
|
57
|
+
*/
|
|
58
|
+
export function useGetDeploymentMetricsHistory(
|
|
59
|
+
request: operations.GetDeploymentMetricsHistoryRequest,
|
|
60
|
+
options?: QueryHookOptions<
|
|
61
|
+
GetDeploymentMetricsHistoryQueryData,
|
|
62
|
+
GetDeploymentMetricsHistoryQueryError
|
|
63
|
+
>,
|
|
64
|
+
): UseQueryResult<
|
|
65
|
+
GetDeploymentMetricsHistoryQueryData,
|
|
66
|
+
GetDeploymentMetricsHistoryQueryError
|
|
67
|
+
> {
|
|
68
|
+
const client = useAlienContext();
|
|
69
|
+
return useQuery({
|
|
70
|
+
...buildGetDeploymentMetricsHistoryQuery(
|
|
71
|
+
client,
|
|
72
|
+
request,
|
|
73
|
+
options,
|
|
74
|
+
),
|
|
75
|
+
...options,
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Metrics Horizon reported for each replica, from the deployment's heartbeats in [from, to): the latest sample per replica per bucket, with empty buckets as null. Kept for 30 days, best effort.
|
|
81
|
+
*/
|
|
82
|
+
export function useGetDeploymentMetricsHistorySuspense(
|
|
83
|
+
request: operations.GetDeploymentMetricsHistoryRequest,
|
|
84
|
+
options?: SuspenseQueryHookOptions<
|
|
85
|
+
GetDeploymentMetricsHistoryQueryData,
|
|
86
|
+
GetDeploymentMetricsHistoryQueryError
|
|
87
|
+
>,
|
|
88
|
+
): UseSuspenseQueryResult<
|
|
89
|
+
GetDeploymentMetricsHistoryQueryData,
|
|
90
|
+
GetDeploymentMetricsHistoryQueryError
|
|
91
|
+
> {
|
|
92
|
+
const client = useAlienContext();
|
|
93
|
+
return useSuspenseQuery({
|
|
94
|
+
...buildGetDeploymentMetricsHistoryQuery(
|
|
95
|
+
client,
|
|
96
|
+
request,
|
|
97
|
+
options,
|
|
98
|
+
),
|
|
99
|
+
...options,
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function setGetDeploymentMetricsHistoryData(
|
|
104
|
+
client: QueryClient,
|
|
105
|
+
queryKeyBase: [
|
|
106
|
+
id: string,
|
|
107
|
+
parameters: {
|
|
108
|
+
from: Date;
|
|
109
|
+
to: Date;
|
|
110
|
+
service?: string | undefined;
|
|
111
|
+
replica?: string | undefined;
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
data: GetDeploymentMetricsHistoryQueryData,
|
|
115
|
+
): GetDeploymentMetricsHistoryQueryData | undefined {
|
|
116
|
+
const key = queryKeyGetDeploymentMetricsHistory(...queryKeyBase);
|
|
117
|
+
|
|
118
|
+
return client.setQueryData<GetDeploymentMetricsHistoryQueryData>(key, data);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export function invalidateGetDeploymentMetricsHistory(
|
|
122
|
+
client: QueryClient,
|
|
123
|
+
queryKeyBase: TupleToPrefixes<
|
|
124
|
+
[
|
|
125
|
+
id: string,
|
|
126
|
+
parameters: {
|
|
127
|
+
from: Date;
|
|
128
|
+
to: Date;
|
|
129
|
+
service?: string | undefined;
|
|
130
|
+
replica?: string | undefined;
|
|
131
|
+
},
|
|
132
|
+
]
|
|
133
|
+
>,
|
|
134
|
+
filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
|
|
135
|
+
): Promise<void> {
|
|
136
|
+
return client.invalidateQueries({
|
|
137
|
+
...filters,
|
|
138
|
+
queryKey: [
|
|
139
|
+
"@alienplatform/platform-api",
|
|
140
|
+
"getDeploymentMetricsHistory",
|
|
141
|
+
...queryKeyBase,
|
|
142
|
+
],
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export function invalidateAllGetDeploymentMetricsHistory(
|
|
147
|
+
client: QueryClient,
|
|
148
|
+
filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
|
|
149
|
+
): Promise<void> {
|
|
150
|
+
return client.invalidateQueries({
|
|
151
|
+
...filters,
|
|
152
|
+
queryKey: ["@alienplatform/platform-api", "getDeploymentMetricsHistory"],
|
|
153
|
+
});
|
|
154
|
+
}
|