@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,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Filter deployments by the effect of promoting this release to their channel
|
|
10
|
+
*/
|
|
11
|
+
export const PromotionEffect = {
|
|
12
|
+
Updates: "updates",
|
|
13
|
+
Unconfirmed: "unconfirmed",
|
|
14
|
+
Retries: "retries",
|
|
15
|
+
AlreadyOn: "already-on",
|
|
16
|
+
Pinned: "pinned",
|
|
17
|
+
CustomerApplies: "customer-applies",
|
|
18
|
+
WaitsForApproval: "waits-for-approval",
|
|
19
|
+
WaitsForOwner: "waits-for-owner",
|
|
20
|
+
WaitsForInputs: "waits-for-inputs",
|
|
21
|
+
NotAffected: "not-affected",
|
|
22
|
+
} as const;
|
|
23
|
+
/**
|
|
24
|
+
* Filter deployments by the effect of promoting this release to their channel
|
|
25
|
+
*/
|
|
26
|
+
export type PromotionEffect = ClosedEnum<typeof PromotionEffect>;
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PromotionEffect$outboundSchema: z.ZodEnum<typeof PromotionEffect> =
|
|
30
|
+
z.enum(PromotionEffect);
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type PromotionEffectCounts = {
|
|
12
|
+
updates: number;
|
|
13
|
+
unconfirmed: number;
|
|
14
|
+
retries: number;
|
|
15
|
+
alreadyOn: number;
|
|
16
|
+
pinned: number;
|
|
17
|
+
customerApplies: number;
|
|
18
|
+
waitsForApproval: number;
|
|
19
|
+
waitsForOwner: number;
|
|
20
|
+
waitsForInputs: number;
|
|
21
|
+
notAffected: number;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const PromotionEffectCounts$inboundSchema: z.ZodType<
|
|
26
|
+
PromotionEffectCounts,
|
|
27
|
+
unknown
|
|
28
|
+
> = z.object({
|
|
29
|
+
updates: z.int(),
|
|
30
|
+
unconfirmed: z.int(),
|
|
31
|
+
retries: z.int(),
|
|
32
|
+
"already-on": z.int(),
|
|
33
|
+
pinned: z.int(),
|
|
34
|
+
"customer-applies": z.int(),
|
|
35
|
+
"waits-for-approval": z.int(),
|
|
36
|
+
"waits-for-owner": z.int(),
|
|
37
|
+
"waits-for-inputs": z.int(),
|
|
38
|
+
"not-affected": z.int(),
|
|
39
|
+
}).transform((v) => {
|
|
40
|
+
return remap$(v, {
|
|
41
|
+
"already-on": "alreadyOn",
|
|
42
|
+
"customer-applies": "customerApplies",
|
|
43
|
+
"waits-for-approval": "waitsForApproval",
|
|
44
|
+
"waits-for-owner": "waitsForOwner",
|
|
45
|
+
"waits-for-inputs": "waitsForInputs",
|
|
46
|
+
"not-affected": "notAffected",
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export function promotionEffectCountsFromJSON(
|
|
51
|
+
jsonString: string,
|
|
52
|
+
): SafeParseResult<PromotionEffectCounts, SDKValidationError> {
|
|
53
|
+
return safeParse(
|
|
54
|
+
jsonString,
|
|
55
|
+
(x) => PromotionEffectCounts$inboundSchema.parse(JSON.parse(x)),
|
|
56
|
+
`Failed to parse 'PromotionEffectCounts' from JSON`,
|
|
57
|
+
);
|
|
58
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import {
|
|
9
|
+
DeploymentReleaseInfo,
|
|
10
|
+
DeploymentReleaseInfo$inboundSchema,
|
|
11
|
+
} from "./deploymentreleaseinfo.js";
|
|
12
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
13
|
+
import {
|
|
14
|
+
PromotionEffectCounts,
|
|
15
|
+
PromotionEffectCounts$inboundSchema,
|
|
16
|
+
} from "./promotioneffectcounts.js";
|
|
17
|
+
|
|
18
|
+
export type ReleaseChannelImpact = {
|
|
19
|
+
channel: string;
|
|
20
|
+
currentRelease: DeploymentReleaseInfo | null;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the channel already points to this release
|
|
23
|
+
*/
|
|
24
|
+
runsThisRelease: boolean;
|
|
25
|
+
rollbackRelease: DeploymentReleaseInfo | null;
|
|
26
|
+
/**
|
|
27
|
+
* Deployments that follow the channel
|
|
28
|
+
*/
|
|
29
|
+
deploymentCount: number;
|
|
30
|
+
rolloutEffects: PromotionEffectCounts;
|
|
31
|
+
effects: PromotionEffectCounts;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const ReleaseChannelImpact$inboundSchema: z.ZodType<
|
|
36
|
+
ReleaseChannelImpact,
|
|
37
|
+
unknown
|
|
38
|
+
> = z.object({
|
|
39
|
+
channel: z.string(),
|
|
40
|
+
currentRelease: z.nullable(DeploymentReleaseInfo$inboundSchema),
|
|
41
|
+
runsThisRelease: z.boolean(),
|
|
42
|
+
rollbackRelease: z.nullable(DeploymentReleaseInfo$inboundSchema),
|
|
43
|
+
deploymentCount: z.int(),
|
|
44
|
+
rolloutEffects: PromotionEffectCounts$inboundSchema,
|
|
45
|
+
effects: PromotionEffectCounts$inboundSchema,
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
export function releaseChannelImpactFromJSON(
|
|
49
|
+
jsonString: string,
|
|
50
|
+
): SafeParseResult<ReleaseChannelImpact, SDKValidationError> {
|
|
51
|
+
return safeParse(
|
|
52
|
+
jsonString,
|
|
53
|
+
(x) => ReleaseChannelImpact$inboundSchema.parse(JSON.parse(x)),
|
|
54
|
+
`Failed to parse 'ReleaseChannelImpact' from JSON`,
|
|
55
|
+
);
|
|
56
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
ReleaseChannelImpact,
|
|
11
|
+
ReleaseChannelImpact$inboundSchema,
|
|
12
|
+
} from "./releasechannelimpact.js";
|
|
13
|
+
|
|
14
|
+
export type ReleaseChannelImpactResponse = {
|
|
15
|
+
items: Array<ReleaseChannelImpact>;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const ReleaseChannelImpactResponse$inboundSchema: z.ZodType<
|
|
20
|
+
ReleaseChannelImpactResponse,
|
|
21
|
+
unknown
|
|
22
|
+
> = z.object({
|
|
23
|
+
items: z.array(ReleaseChannelImpact$inboundSchema),
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
export function releaseChannelImpactResponseFromJSON(
|
|
27
|
+
jsonString: string,
|
|
28
|
+
): SafeParseResult<ReleaseChannelImpactResponse, SDKValidationError> {
|
|
29
|
+
return safeParse(
|
|
30
|
+
jsonString,
|
|
31
|
+
(x) => ReleaseChannelImpactResponse$inboundSchema.parse(JSON.parse(x)),
|
|
32
|
+
`Failed to parse 'ReleaseChannelImpactResponse' from JSON`,
|
|
33
|
+
);
|
|
34
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type RequestDeploymentCheckResponse = {
|
|
11
|
+
requestedAt: Date;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const RequestDeploymentCheckResponse$inboundSchema: z.ZodType<
|
|
16
|
+
RequestDeploymentCheckResponse,
|
|
17
|
+
unknown
|
|
18
|
+
> = z.object({
|
|
19
|
+
requestedAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
export function requestDeploymentCheckResponseFromJSON(
|
|
23
|
+
jsonString: string,
|
|
24
|
+
): SafeParseResult<RequestDeploymentCheckResponse, SDKValidationError> {
|
|
25
|
+
return safeParse(
|
|
26
|
+
jsonString,
|
|
27
|
+
(x) => RequestDeploymentCheckResponse$inboundSchema.parse(JSON.parse(x)),
|
|
28
|
+
`Failed to parse 'RequestDeploymentCheckResponse' from JSON`,
|
|
29
|
+
);
|
|
30
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import {
|
|
9
|
+
DeploymentInstallation,
|
|
10
|
+
DeploymentInstallation$inboundSchema,
|
|
11
|
+
} from "./deploymentinstallation.js";
|
|
12
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
13
|
+
|
|
14
|
+
export type ResumeDeploymentInstallationResponse = {
|
|
15
|
+
/**
|
|
16
|
+
* Unique identifier for the deployment.
|
|
17
|
+
*/
|
|
18
|
+
deploymentId: string;
|
|
19
|
+
token: string;
|
|
20
|
+
runtimeEncryptionKey?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* CloudFormation and Terraform installs: the ExternalId the saved launch URL or module configuration leaves out.
|
|
23
|
+
*/
|
|
24
|
+
managementExternalId?: string | undefined;
|
|
25
|
+
installation: DeploymentInstallation;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const ResumeDeploymentInstallationResponse$inboundSchema: z.ZodType<
|
|
30
|
+
ResumeDeploymentInstallationResponse,
|
|
31
|
+
unknown
|
|
32
|
+
> = z.object({
|
|
33
|
+
deploymentId: z.string(),
|
|
34
|
+
token: z.string(),
|
|
35
|
+
runtimeEncryptionKey: z.string().optional(),
|
|
36
|
+
managementExternalId: z.string().optional(),
|
|
37
|
+
installation: DeploymentInstallation$inboundSchema,
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
export function resumeDeploymentInstallationResponseFromJSON(
|
|
41
|
+
jsonString: string,
|
|
42
|
+
): SafeParseResult<ResumeDeploymentInstallationResponse, SDKValidationError> {
|
|
43
|
+
return safeParse(
|
|
44
|
+
jsonString,
|
|
45
|
+
(x) =>
|
|
46
|
+
ResumeDeploymentInstallationResponse$inboundSchema.parse(JSON.parse(x)),
|
|
47
|
+
`Failed to parse 'ResumeDeploymentInstallationResponse' from JSON`,
|
|
48
|
+
);
|
|
49
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
|
|
7
|
+
export type SyncManagementExternalIdRequest = {
|
|
8
|
+
managerId?: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Unique identifier for the deployment.
|
|
11
|
+
*/
|
|
12
|
+
deploymentId: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type SyncManagementExternalIdRequest$Outbound = {
|
|
17
|
+
managerId?: string | undefined;
|
|
18
|
+
deploymentId: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const SyncManagementExternalIdRequest$outboundSchema: z.ZodType<
|
|
23
|
+
SyncManagementExternalIdRequest$Outbound,
|
|
24
|
+
SyncManagementExternalIdRequest
|
|
25
|
+
> = z.object({
|
|
26
|
+
managerId: z.string().optional(),
|
|
27
|
+
deploymentId: z.string(),
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function syncManagementExternalIdRequestToJSON(
|
|
31
|
+
syncManagementExternalIdRequest: SyncManagementExternalIdRequest,
|
|
32
|
+
): string {
|
|
33
|
+
return JSON.stringify(
|
|
34
|
+
SyncManagementExternalIdRequest$outboundSchema.parse(
|
|
35
|
+
syncManagementExternalIdRequest,
|
|
36
|
+
),
|
|
37
|
+
);
|
|
38
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type SyncManagementExternalIdResponse = {
|
|
11
|
+
/**
|
|
12
|
+
* Value to send as sts:ExternalId on AssumeRole.
|
|
13
|
+
*/
|
|
14
|
+
managementExternalId: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const SyncManagementExternalIdResponse$inboundSchema: z.ZodType<
|
|
19
|
+
SyncManagementExternalIdResponse,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
managementExternalId: z.string(),
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
export function syncManagementExternalIdResponseFromJSON(
|
|
26
|
+
jsonString: string,
|
|
27
|
+
): SafeParseResult<SyncManagementExternalIdResponse, SDKValidationError> {
|
|
28
|
+
return safeParse(
|
|
29
|
+
jsonString,
|
|
30
|
+
(x) => SyncManagementExternalIdResponse$inboundSchema.parse(JSON.parse(x)),
|
|
31
|
+
`Failed to parse 'SyncManagementExternalIdResponse' from JSON`,
|
|
32
|
+
);
|
|
33
|
+
}
|
|
@@ -50,6 +50,10 @@ export type UpdateProjectDeploymentPortalAppearance = {
|
|
|
50
50
|
* Optional project-specific avatar override for the deployment portal.
|
|
51
51
|
*/
|
|
52
52
|
avatarUrl?: string | null | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Optional browser icon override for the deployment portal.
|
|
55
|
+
*/
|
|
56
|
+
faviconUrl?: string | null | undefined;
|
|
53
57
|
/**
|
|
54
58
|
* Curated visual style for the deployment portal.
|
|
55
59
|
*/
|
|
@@ -145,6 +149,10 @@ export type UpdateProjectPackagesConfigCloudformation = {
|
|
|
145
149
|
* Human-friendly application name shown in generated install artifacts
|
|
146
150
|
*/
|
|
147
151
|
displayName?: string | null | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* Require AWS External ID. When true, AWS setup templates require the ManagementExternalId parameter (every install and update must enter the deployment group's ExternalId) and, on a hosted manager, accept only its management roles as ManagingRoleArn. Applies to packages built after the change. Missing means false; new projects are created with true.
|
|
154
|
+
*/
|
|
155
|
+
requireManagementExternalId?: boolean | undefined;
|
|
148
156
|
};
|
|
149
157
|
|
|
150
158
|
/**
|
|
@@ -395,6 +403,10 @@ export type PackagesConfigPatchCloudformation = {
|
|
|
395
403
|
* Human-friendly application name shown in generated install artifacts
|
|
396
404
|
*/
|
|
397
405
|
displayName?: string | null | undefined;
|
|
406
|
+
/**
|
|
407
|
+
* Require AWS External ID. When true, AWS setup templates require the ManagementExternalId parameter (every install and update must enter the deployment group's ExternalId) and, on a hosted manager, accept only its management roles as ManagingRoleArn. Applies to packages built after the change. Missing means false; new projects are created with true.
|
|
408
|
+
*/
|
|
409
|
+
requireManagementExternalId?: boolean | undefined;
|
|
398
410
|
};
|
|
399
411
|
|
|
400
412
|
export type PackagesConfigPatchTerraform = {
|
|
@@ -583,6 +595,7 @@ export function updateProjectGitRepositoryToJSON(
|
|
|
583
595
|
/** @internal */
|
|
584
596
|
export type UpdateProjectDeploymentPortalAppearance$Outbound = {
|
|
585
597
|
avatarUrl?: string | null | undefined;
|
|
598
|
+
faviconUrl?: string | null | undefined;
|
|
586
599
|
preset: string;
|
|
587
600
|
accentColor: string;
|
|
588
601
|
title?: string | null | undefined;
|
|
@@ -598,6 +611,7 @@ export const UpdateProjectDeploymentPortalAppearance$outboundSchema: z.ZodType<
|
|
|
598
611
|
UpdateProjectDeploymentPortalAppearance
|
|
599
612
|
> = z.object({
|
|
600
613
|
avatarUrl: z.nullable(z.string()).optional(),
|
|
614
|
+
faviconUrl: z.nullable(z.string()).optional(),
|
|
601
615
|
preset: DeploymentPortalAppearancePreset$outboundSchema.default("clean"),
|
|
602
616
|
accentColor: DeploymentPortalAccentColor$outboundSchema.default("blue"),
|
|
603
617
|
title: z.nullable(z.string()).optional(),
|
|
@@ -657,6 +671,7 @@ export function updateProjectPackagesConfigCliToJSON(
|
|
|
657
671
|
export type UpdateProjectPackagesConfigCloudformation$Outbound = {
|
|
658
672
|
enabled: boolean;
|
|
659
673
|
displayName?: string | null | undefined;
|
|
674
|
+
requireManagementExternalId?: boolean | undefined;
|
|
660
675
|
};
|
|
661
676
|
|
|
662
677
|
/** @internal */
|
|
@@ -667,6 +682,7 @@ export const UpdateProjectPackagesConfigCloudformation$outboundSchema:
|
|
|
667
682
|
> = z.object({
|
|
668
683
|
enabled: z.boolean(),
|
|
669
684
|
displayName: z.nullable(z.string()).optional(),
|
|
685
|
+
requireManagementExternalId: z.boolean().optional(),
|
|
670
686
|
});
|
|
671
687
|
|
|
672
688
|
export function updateProjectPackagesConfigCloudformationToJSON(
|
|
@@ -1074,6 +1090,7 @@ export function packagesConfigPatchCliToJSON(
|
|
|
1074
1090
|
export type PackagesConfigPatchCloudformation$Outbound = {
|
|
1075
1091
|
enabled?: boolean | undefined;
|
|
1076
1092
|
displayName?: string | null | undefined;
|
|
1093
|
+
requireManagementExternalId?: boolean | undefined;
|
|
1077
1094
|
};
|
|
1078
1095
|
|
|
1079
1096
|
/** @internal */
|
|
@@ -1083,6 +1100,7 @@ export const PackagesConfigPatchCloudformation$outboundSchema: z.ZodType<
|
|
|
1083
1100
|
> = z.object({
|
|
1084
1101
|
enabled: z.boolean().optional(),
|
|
1085
1102
|
displayName: z.nullable(z.string()).optional(),
|
|
1103
|
+
requireManagementExternalId: z.boolean().optional(),
|
|
1086
1104
|
});
|
|
1087
1105
|
|
|
1088
1106
|
export function packagesConfigPatchCloudformationToJSON(
|
|
@@ -24,6 +24,10 @@ export type WorkspaceBillingEntitlements = {
|
|
|
24
24
|
limits: BillingLimits;
|
|
25
25
|
syncedAt: Date | null;
|
|
26
26
|
stale: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* What deployment pricing would bill now, by Autumn feature: deployments, capability installs, custom domains and private managers.
|
|
29
|
+
*/
|
|
30
|
+
billableQuantities: { [k: string]: number };
|
|
27
31
|
};
|
|
28
32
|
|
|
29
33
|
/** @internal */
|
|
@@ -39,6 +43,7 @@ export const WorkspaceBillingEntitlements$inboundSchema: z.ZodType<
|
|
|
39
43
|
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
40
44
|
),
|
|
41
45
|
stale: z.boolean(),
|
|
46
|
+
billableQuantities: z.record(z.string(), z.number()),
|
|
42
47
|
});
|
|
43
48
|
|
|
44
49
|
export function workspaceBillingEntitlementsFromJSON(
|
|
@@ -0,0 +1,106 @@
|
|
|
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 { acceptAwsKeySetup } from "../funcs/acceptAwsKeySetup.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 AcceptAwsKeySetupMutationVariables = {
|
|
31
|
+
request?: operations.AcceptAwsKeySetupRequest | undefined;
|
|
32
|
+
options?: RequestOptions;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export type AcceptAwsKeySetupMutationData =
|
|
36
|
+
| operations.AcceptAwsKeySetupResponse
|
|
37
|
+
| undefined;
|
|
38
|
+
|
|
39
|
+
export type AcceptAwsKeySetupMutationError =
|
|
40
|
+
| errors.APIError
|
|
41
|
+
| AlienError
|
|
42
|
+
| ResponseValidationError
|
|
43
|
+
| ConnectionError
|
|
44
|
+
| RequestAbortedError
|
|
45
|
+
| RequestTimeoutError
|
|
46
|
+
| InvalidRequestError
|
|
47
|
+
| UnexpectedClientError
|
|
48
|
+
| SDKValidationError;
|
|
49
|
+
|
|
50
|
+
export function useAcceptAwsKeySetupMutation(
|
|
51
|
+
options?: MutationHookOptions<
|
|
52
|
+
AcceptAwsKeySetupMutationData,
|
|
53
|
+
AcceptAwsKeySetupMutationError,
|
|
54
|
+
AcceptAwsKeySetupMutationVariables
|
|
55
|
+
>,
|
|
56
|
+
): UseMutationResult<
|
|
57
|
+
AcceptAwsKeySetupMutationData,
|
|
58
|
+
AcceptAwsKeySetupMutationError,
|
|
59
|
+
AcceptAwsKeySetupMutationVariables
|
|
60
|
+
> {
|
|
61
|
+
const client = useAlienContext();
|
|
62
|
+
return useMutation({
|
|
63
|
+
...buildAcceptAwsKeySetupMutation(client, options),
|
|
64
|
+
...options,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function mutationKeyAcceptAwsKeySetup(): MutationKey {
|
|
69
|
+
return ["@alienplatform/platform-api", "acceptAwsKeySetup"];
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function buildAcceptAwsKeySetupMutation(
|
|
73
|
+
client$: AlienCore,
|
|
74
|
+
hookOptions?: RequestOptions,
|
|
75
|
+
): {
|
|
76
|
+
mutationKey: MutationKey;
|
|
77
|
+
mutationFn: (
|
|
78
|
+
variables: AcceptAwsKeySetupMutationVariables,
|
|
79
|
+
) => Promise<AcceptAwsKeySetupMutationData>;
|
|
80
|
+
} {
|
|
81
|
+
return {
|
|
82
|
+
mutationKey: mutationKeyAcceptAwsKeySetup(),
|
|
83
|
+
mutationFn: function acceptAwsKeySetupMutationFn({
|
|
84
|
+
request,
|
|
85
|
+
options,
|
|
86
|
+
}): Promise<AcceptAwsKeySetupMutationData> {
|
|
87
|
+
const mergedOptions = {
|
|
88
|
+
...hookOptions,
|
|
89
|
+
...options,
|
|
90
|
+
fetchOptions: {
|
|
91
|
+
...hookOptions?.fetchOptions,
|
|
92
|
+
...options?.fetchOptions,
|
|
93
|
+
signal: combineSignals(
|
|
94
|
+
hookOptions?.fetchOptions?.signal,
|
|
95
|
+
options?.fetchOptions?.signal,
|
|
96
|
+
),
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
return unwrapAsync(acceptAwsKeySetup(
|
|
100
|
+
client$,
|
|
101
|
+
request,
|
|
102
|
+
mergedOptions,
|
|
103
|
+
));
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
UseMutationResult,
|
|
9
9
|
} from "@tanstack/react-query";
|
|
10
10
|
import { AlienCore } from "../core.js";
|
|
11
|
-
import {
|
|
11
|
+
import { billingSync } from "../funcs/billingSync.js";
|
|
12
12
|
import { combineSignals } from "../lib/primitives.js";
|
|
13
13
|
import { RequestOptions } from "../lib/sdks.js";
|
|
14
14
|
import { AlienError } from "../models/errors/alienerror.js";
|
|
@@ -28,15 +28,14 @@ import { unwrapAsync } from "../types/fp.js";
|
|
|
28
28
|
import { useAlienContext } from "./_context.js";
|
|
29
29
|
import { MutationHookOptions } from "./_types.js";
|
|
30
30
|
|
|
31
|
-
export type
|
|
32
|
-
request
|
|
31
|
+
export type BillingSyncMutationVariables = {
|
|
32
|
+
request?: operations.SyncWorkspaceBillingRequest | undefined;
|
|
33
33
|
options?: RequestOptions;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
export type
|
|
37
|
-
models.OperationsPolicyResponse;
|
|
36
|
+
export type BillingSyncMutationData = models.WorkspaceBillingEntitlements;
|
|
38
37
|
|
|
39
|
-
export type
|
|
38
|
+
export type BillingSyncMutationError =
|
|
40
39
|
| errors.APIError
|
|
41
40
|
| AlienError
|
|
42
41
|
| ResponseValidationError
|
|
@@ -48,47 +47,45 @@ export type OperationsUpdatePolicyMutationError =
|
|
|
48
47
|
| SDKValidationError;
|
|
49
48
|
|
|
50
49
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
50
|
+
* Refresh the workspace billing entitlements from Autumn now, for example right after checkout, instead of waiting for Autumn's billing webhook. Workspace admins only. Calls within a few seconds share one refresh.
|
|
54
51
|
*/
|
|
55
|
-
export function
|
|
52
|
+
export function useBillingSyncMutation(
|
|
56
53
|
options?: MutationHookOptions<
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
54
|
+
BillingSyncMutationData,
|
|
55
|
+
BillingSyncMutationError,
|
|
56
|
+
BillingSyncMutationVariables
|
|
60
57
|
>,
|
|
61
58
|
): UseMutationResult<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
BillingSyncMutationData,
|
|
60
|
+
BillingSyncMutationError,
|
|
61
|
+
BillingSyncMutationVariables
|
|
65
62
|
> {
|
|
66
63
|
const client = useAlienContext();
|
|
67
64
|
return useMutation({
|
|
68
|
-
...
|
|
65
|
+
...buildBillingSyncMutation(client, options),
|
|
69
66
|
...options,
|
|
70
67
|
});
|
|
71
68
|
}
|
|
72
69
|
|
|
73
|
-
export function
|
|
74
|
-
return ["@alienplatform/platform-api", "
|
|
70
|
+
export function mutationKeyBillingSync(): MutationKey {
|
|
71
|
+
return ["@alienplatform/platform-api", "billing", "sync"];
|
|
75
72
|
}
|
|
76
73
|
|
|
77
|
-
export function
|
|
74
|
+
export function buildBillingSyncMutation(
|
|
78
75
|
client$: AlienCore,
|
|
79
76
|
hookOptions?: RequestOptions,
|
|
80
77
|
): {
|
|
81
78
|
mutationKey: MutationKey;
|
|
82
79
|
mutationFn: (
|
|
83
|
-
variables:
|
|
84
|
-
) => Promise<
|
|
80
|
+
variables: BillingSyncMutationVariables,
|
|
81
|
+
) => Promise<BillingSyncMutationData>;
|
|
85
82
|
} {
|
|
86
83
|
return {
|
|
87
|
-
mutationKey:
|
|
88
|
-
mutationFn: function
|
|
84
|
+
mutationKey: mutationKeyBillingSync(),
|
|
85
|
+
mutationFn: function billingSyncMutationFn({
|
|
89
86
|
request,
|
|
90
87
|
options,
|
|
91
|
-
}): Promise<
|
|
88
|
+
}): Promise<BillingSyncMutationData> {
|
|
92
89
|
const mergedOptions = {
|
|
93
90
|
...hookOptions,
|
|
94
91
|
...options,
|
|
@@ -101,7 +98,7 @@ export function buildOperationsUpdatePolicyMutation(
|
|
|
101
98
|
),
|
|
102
99
|
},
|
|
103
100
|
};
|
|
104
|
-
return unwrapAsync(
|
|
101
|
+
return unwrapAsync(billingSync(
|
|
105
102
|
client$,
|
|
106
103
|
request,
|
|
107
104
|
mergedOptions,
|