Skip to content

Commit 2334630

Browse files
committed
chore: upgrade to replicated-lib 0.0.1-beta.14
1 parent 0999228 commit 2334630

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+318
-84
lines changed

archive-channel/dist/index.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30409,6 +30409,8 @@ async function archiveChannel(vendorPortalApi, appSlug, channelSlug) {
3040930409
if (archiveChannelRes.message.statusCode != 200) {
3041030410
throw new Error(`Failed to archive channel: Server responded with ${archiveChannelRes.message.statusCode}`);
3041130411
}
30412+
// discard the response body
30413+
await archiveChannelRes.readBody();
3041230414
}
3041330415
exports.archiveChannel = archiveChannel;
3041430416
async function findChannelDetailsInOutput(channels, { slug, name }) {
@@ -30588,6 +30590,8 @@ async function removeCluster(vendorPortalApi, clusterId) {
3058830590
if (res.message.statusCode != 200) {
3058930591
throw new StatusError(`Failed to remove cluster: Server responded with ${res.message.statusCode}`, res.message.statusCode);
3059030592
}
30593+
// discard the response body
30594+
await res.readBody();
3059130595
}
3059230596
exports.removeCluster = removeCluster;
3059330597
async function upgradeCluster(vendorPortalApi, clusterId, k8sVersion) {
@@ -30600,6 +30604,10 @@ async function upgradeCluster(vendorPortalApi, clusterId, k8sVersion) {
3060030604
if (res.message.statusCode != 200) {
3060130605
throw new StatusError(`Failed to upgrade cluster: Server responded with ${res.message.statusCode}`, res.message.statusCode);
3060230606
}
30607+
else {
30608+
// discard the response body
30609+
await res.readBody();
30610+
}
3060330611
return getClusterDetails(vendorPortalApi, clusterId);
3060430612
}
3060530613
exports.upgradeCluster = upgradeCluster;
@@ -30922,6 +30930,10 @@ async function createCustomer(vendorPortalApi, appSlug, name, email, licenseType
3092230930
if (downloadLicenseRes.message.statusCode == 200) {
3092330931
downloadLicenseBody = await downloadLicenseRes.readBody();
3092430932
}
30933+
else {
30934+
// discard the response body
30935+
await downloadLicenseRes.readBody();
30936+
}
3092530937
return { name: name, customerId: createCustomerBody.customer.id, licenseId: createCustomerBody.customer.installationId, license: downloadLicenseBody };
3092630938
}
3092730939
catch (error) {
@@ -30939,6 +30951,8 @@ async function archiveCustomer(vendorPortalApi, customerId) {
3093930951
if (archiveCustomerRes.message.statusCode != 204) {
3094030952
throw new Error(`Failed to archive customer: Server responded with ${archiveCustomerRes.message.statusCode}`);
3094130953
}
30954+
// discard the response body
30955+
await archiveCustomerRes.readBody();
3094230956
}
3094330957
exports.archiveCustomer = archiveCustomer;
3094430958
async function getUsedKubernetesDistributions(vendorPortalApi, appSlug) {
@@ -31209,6 +31223,8 @@ async function promoteReleaseByAppId(vendorPortalApi, appId, channelId, releaseS
3120931223
}
3121031224
throw new Error(`Failed to promote release: Server responded with ${res.message.statusCode}: ${body}`);
3121131225
}
31226+
// discard the response body
31227+
await res.readBody();
3121231228
}
3121331229
async function isReleaseReadyForInstall(vendorPortalApi, appId, releaseSequence) {
3121431230
var _a;
@@ -31296,6 +31312,8 @@ async function reportCompatibilityResultByAppId(vendorPortalApi, appId, releaseS
3129631312
}
3129731313
throw new Error(`Failed to report compatibility results: Server responded with ${res.message.statusCode}: ${body}`);
3129831314
}
31315+
// discard the response body
31316+
await res.readBody();
3129931317
}
3130031318

3130131319

archive-channel/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

archive-channel/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

archive-channel/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dependencies": {
1515
"@actions/core": "^1.10.0",
1616
"esbuild-jest": "^0.5.0",
17-
"replicated-lib": "^0.0.1-beta.13",
17+
"replicated-lib": "^0.0.1-beta.14",
1818
"ts-node": "^10.9.1"
1919
},
2020
"devDependencies": {

archive-customer/dist/index.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30408,6 +30408,8 @@ async function archiveChannel(vendorPortalApi, appSlug, channelSlug) {
3040830408
if (archiveChannelRes.message.statusCode != 200) {
3040930409
throw new Error(`Failed to archive channel: Server responded with ${archiveChannelRes.message.statusCode}`);
3041030410
}
30411+
// discard the response body
30412+
await archiveChannelRes.readBody();
3041130413
}
3041230414
exports.archiveChannel = archiveChannel;
3041330415
async function findChannelDetailsInOutput(channels, { slug, name }) {
@@ -30587,6 +30589,8 @@ async function removeCluster(vendorPortalApi, clusterId) {
3058730589
if (res.message.statusCode != 200) {
3058830590
throw new StatusError(`Failed to remove cluster: Server responded with ${res.message.statusCode}`, res.message.statusCode);
3058930591
}
30592+
// discard the response body
30593+
await res.readBody();
3059030594
}
3059130595
exports.removeCluster = removeCluster;
3059230596
async function upgradeCluster(vendorPortalApi, clusterId, k8sVersion) {
@@ -30599,6 +30603,10 @@ async function upgradeCluster(vendorPortalApi, clusterId, k8sVersion) {
3059930603
if (res.message.statusCode != 200) {
3060030604
throw new StatusError(`Failed to upgrade cluster: Server responded with ${res.message.statusCode}`, res.message.statusCode);
3060130605
}
30606+
else {
30607+
// discard the response body
30608+
await res.readBody();
30609+
}
3060230610
return getClusterDetails(vendorPortalApi, clusterId);
3060330611
}
3060430612
exports.upgradeCluster = upgradeCluster;
@@ -30921,6 +30929,10 @@ async function createCustomer(vendorPortalApi, appSlug, name, email, licenseType
3092130929
if (downloadLicenseRes.message.statusCode == 200) {
3092230930
downloadLicenseBody = await downloadLicenseRes.readBody();
3092330931
}
30932+
else {
30933+
// discard the response body
30934+
await downloadLicenseRes.readBody();
30935+
}
3092430936
return { name: name, customerId: createCustomerBody.customer.id, licenseId: createCustomerBody.customer.installationId, license: downloadLicenseBody };
3092530937
}
3092630938
catch (error) {
@@ -30938,6 +30950,8 @@ async function archiveCustomer(vendorPortalApi, customerId) {
3093830950
if (archiveCustomerRes.message.statusCode != 204) {
3093930951
throw new Error(`Failed to archive customer: Server responded with ${archiveCustomerRes.message.statusCode}`);
3094030952
}
30953+
// discard the response body
30954+
await archiveCustomerRes.readBody();
3094130955
}
3094230956
exports.archiveCustomer = archiveCustomer;
3094330957
async function getUsedKubernetesDistributions(vendorPortalApi, appSlug) {
@@ -31208,6 +31222,8 @@ async function promoteReleaseByAppId(vendorPortalApi, appId, channelId, releaseS
3120831222
}
3120931223
throw new Error(`Failed to promote release: Server responded with ${res.message.statusCode}: ${body}`);
3121031224
}
31225+
// discard the response body
31226+
await res.readBody();
3121131227
}
3121231228
async function isReleaseReadyForInstall(vendorPortalApi, appId, releaseSequence) {
3121331229
var _a;
@@ -31295,6 +31311,8 @@ async function reportCompatibilityResultByAppId(vendorPortalApi, appId, releaseS
3129531311
}
3129631312
throw new Error(`Failed to report compatibility results: Server responded with ${res.message.statusCode}: ${body}`);
3129731313
}
31314+
// discard the response body
31315+
await res.readBody();
3129831316
}
3129931317

3130031318

archive-customer/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

archive-customer/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

archive-customer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dependencies": {
1515
"@actions/core": "^1.10.0",
1616
"esbuild-jest": "^0.5.0",
17-
"replicated-lib": "^0.0.1-beta.13",
17+
"replicated-lib": "^0.0.1-beta.14",
1818
"ts-node": "^10.9.1"
1919
},
2020
"devDependencies": {

create-cluster/dist/index.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30494,6 +30494,8 @@ async function archiveChannel(vendorPortalApi, appSlug, channelSlug) {
3049430494
if (archiveChannelRes.message.statusCode != 200) {
3049530495
throw new Error(`Failed to archive channel: Server responded with ${archiveChannelRes.message.statusCode}`);
3049630496
}
30497+
// discard the response body
30498+
await archiveChannelRes.readBody();
3049730499
}
3049830500
exports.archiveChannel = archiveChannel;
3049930501
async function findChannelDetailsInOutput(channels, { slug, name }) {
@@ -30673,6 +30675,8 @@ async function removeCluster(vendorPortalApi, clusterId) {
3067330675
if (res.message.statusCode != 200) {
3067430676
throw new StatusError(`Failed to remove cluster: Server responded with ${res.message.statusCode}`, res.message.statusCode);
3067530677
}
30678+
// discard the response body
30679+
await res.readBody();
3067630680
}
3067730681
exports.removeCluster = removeCluster;
3067830682
async function upgradeCluster(vendorPortalApi, clusterId, k8sVersion) {
@@ -30685,6 +30689,10 @@ async function upgradeCluster(vendorPortalApi, clusterId, k8sVersion) {
3068530689
if (res.message.statusCode != 200) {
3068630690
throw new StatusError(`Failed to upgrade cluster: Server responded with ${res.message.statusCode}`, res.message.statusCode);
3068730691
}
30692+
else {
30693+
// discard the response body
30694+
await res.readBody();
30695+
}
3068830696
return getClusterDetails(vendorPortalApi, clusterId);
3068930697
}
3069030698
exports.upgradeCluster = upgradeCluster;
@@ -31007,6 +31015,10 @@ async function createCustomer(vendorPortalApi, appSlug, name, email, licenseType
3100731015
if (downloadLicenseRes.message.statusCode == 200) {
3100831016
downloadLicenseBody = await downloadLicenseRes.readBody();
3100931017
}
31018+
else {
31019+
// discard the response body
31020+
await downloadLicenseRes.readBody();
31021+
}
3101031022
return { name: name, customerId: createCustomerBody.customer.id, licenseId: createCustomerBody.customer.installationId, license: downloadLicenseBody };
3101131023
}
3101231024
catch (error) {
@@ -31024,6 +31036,8 @@ async function archiveCustomer(vendorPortalApi, customerId) {
3102431036
if (archiveCustomerRes.message.statusCode != 204) {
3102531037
throw new Error(`Failed to archive customer: Server responded with ${archiveCustomerRes.message.statusCode}`);
3102631038
}
31039+
// discard the response body
31040+
await archiveCustomerRes.readBody();
3102731041
}
3102831042
exports.archiveCustomer = archiveCustomer;
3102931043
async function getUsedKubernetesDistributions(vendorPortalApi, appSlug) {
@@ -31294,6 +31308,8 @@ async function promoteReleaseByAppId(vendorPortalApi, appId, channelId, releaseS
3129431308
}
3129531309
throw new Error(`Failed to promote release: Server responded with ${res.message.statusCode}: ${body}`);
3129631310
}
31311+
// discard the response body
31312+
await res.readBody();
3129731313
}
3129831314
async function isReleaseReadyForInstall(vendorPortalApi, appId, releaseSequence) {
3129931315
var _a;
@@ -31381,6 +31397,8 @@ async function reportCompatibilityResultByAppId(vendorPortalApi, appId, releaseS
3138131397
}
3138231398
throw new Error(`Failed to report compatibility results: Server responded with ${res.message.statusCode}: ${body}`);
3138331399
}
31400+
// discard the response body
31401+
await res.readBody();
3138431402
}
3138531403

3138631404

create-cluster/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

create-cluster/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

create-cluster/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dependencies": {
1515
"@actions/core": "^1.10.0",
1616
"esbuild-jest": "^0.5.0",
17-
"replicated-lib": "^0.0.1-beta.13",
17+
"replicated-lib": "^0.0.1-beta.14",
1818
"ts-node": "^10.9.1"
1919
},
2020
"devDependencies": {

create-customer/dist/index.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30434,6 +30434,8 @@ async function archiveChannel(vendorPortalApi, appSlug, channelSlug) {
3043430434
if (archiveChannelRes.message.statusCode != 200) {
3043530435
throw new Error(`Failed to archive channel: Server responded with ${archiveChannelRes.message.statusCode}`);
3043630436
}
30437+
// discard the response body
30438+
await archiveChannelRes.readBody();
3043730439
}
3043830440
exports.archiveChannel = archiveChannel;
3043930441
async function findChannelDetailsInOutput(channels, { slug, name }) {
@@ -30613,6 +30615,8 @@ async function removeCluster(vendorPortalApi, clusterId) {
3061330615
if (res.message.statusCode != 200) {
3061430616
throw new StatusError(`Failed to remove cluster: Server responded with ${res.message.statusCode}`, res.message.statusCode);
3061530617
}
30618+
// discard the response body
30619+
await res.readBody();
3061630620
}
3061730621
exports.removeCluster = removeCluster;
3061830622
async function upgradeCluster(vendorPortalApi, clusterId, k8sVersion) {
@@ -30625,6 +30629,10 @@ async function upgradeCluster(vendorPortalApi, clusterId, k8sVersion) {
3062530629
if (res.message.statusCode != 200) {
3062630630
throw new StatusError(`Failed to upgrade cluster: Server responded with ${res.message.statusCode}`, res.message.statusCode);
3062730631
}
30632+
else {
30633+
// discard the response body
30634+
await res.readBody();
30635+
}
3062830636
return getClusterDetails(vendorPortalApi, clusterId);
3062930637
}
3063030638
exports.upgradeCluster = upgradeCluster;
@@ -30947,6 +30955,10 @@ async function createCustomer(vendorPortalApi, appSlug, name, email, licenseType
3094730955
if (downloadLicenseRes.message.statusCode == 200) {
3094830956
downloadLicenseBody = await downloadLicenseRes.readBody();
3094930957
}
30958+
else {
30959+
// discard the response body
30960+
await downloadLicenseRes.readBody();
30961+
}
3095030962
return { name: name, customerId: createCustomerBody.customer.id, licenseId: createCustomerBody.customer.installationId, license: downloadLicenseBody };
3095130963
}
3095230964
catch (error) {
@@ -30964,6 +30976,8 @@ async function archiveCustomer(vendorPortalApi, customerId) {
3096430976
if (archiveCustomerRes.message.statusCode != 204) {
3096530977
throw new Error(`Failed to archive customer: Server responded with ${archiveCustomerRes.message.statusCode}`);
3096630978
}
30979+
// discard the response body
30980+
await archiveCustomerRes.readBody();
3096730981
}
3096830982
exports.archiveCustomer = archiveCustomer;
3096930983
async function getUsedKubernetesDistributions(vendorPortalApi, appSlug) {
@@ -31234,6 +31248,8 @@ async function promoteReleaseByAppId(vendorPortalApi, appId, channelId, releaseS
3123431248
}
3123531249
throw new Error(`Failed to promote release: Server responded with ${res.message.statusCode}: ${body}`);
3123631250
}
31251+
// discard the response body
31252+
await res.readBody();
3123731253
}
3123831254
async function isReleaseReadyForInstall(vendorPortalApi, appId, releaseSequence) {
3123931255
var _a;
@@ -31321,6 +31337,8 @@ async function reportCompatibilityResultByAppId(vendorPortalApi, appId, releaseS
3132131337
}
3132231338
throw new Error(`Failed to report compatibility results: Server responded with ${res.message.statusCode}: ${body}`);
3132331339
}
31340+
// discard the response body
31341+
await res.readBody();
3132431342
}
3132531343

3132631344

create-customer/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

create-customer/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)