@amerged/ohmyhost-cli 0.1.21 → 0.1.23
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
CHANGED
package/dist/bin.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __ohmyhostCreateRequire } from "node:module"; const require = __ohmyhostCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
runProductionCli
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-74DROG4F.js";
|
|
6
6
|
import "./chunk-7D2RFLWM.js";
|
|
7
7
|
|
|
8
8
|
// apps/product-cli/dist/bin.js
|
|
@@ -18609,7 +18609,7 @@ function exact2(v, keys) {
|
|
|
18609
18609
|
// apps/product-cli/package.json
|
|
18610
18610
|
var package_default = {
|
|
18611
18611
|
name: "@ohmyhost/product-cli",
|
|
18612
|
-
version: "0.1.
|
|
18612
|
+
version: "0.1.23",
|
|
18613
18613
|
private: true,
|
|
18614
18614
|
ohmyhost: {
|
|
18615
18615
|
deployment: "production",
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amerged/ohmyhost-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.23",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22"
|
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"homepage": "https://docs.ohmyho.st/",
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://docs.ohmyho.st/support"
|
|
30
|
+
},
|
|
28
31
|
"description": "ohmyho.st cli client",
|
|
29
32
|
"publishConfig": {
|
|
30
33
|
"access": "public",
|
|
@@ -1024,7 +1024,7 @@ export const createOrganization = <ThrowOnError extends boolean = true>(
|
|
|
1024
1024
|
/**
|
|
1025
1025
|
* Create or resume an owner's hosted Stripe Checkout
|
|
1026
1026
|
*
|
|
1027
|
-
* Returns a human payment URL, never charges a saved card. Paid is USD 10/month; each top-up pack is USD 10 before tax; a purchase grants 100 credits per dollar up to USD 100 and 125 credits per dollar for the part above, so 10 packs grant 10000 and 20 packs grant 22500
|
|
1027
|
+
* Returns a human payment URL, never charges a saved card. Paid is USD 10/month; each top-up pack is USD 10 before tax; a purchase grants 100 credits per dollar up to USD 100 and 125 credits per dollar for the part above, so 10 packs grant 10000 and 20 packs grant 22500 credits. Top-ups require active Paid access and have no time limit during uninterrupted Paid membership; remaining top-ups expire when the workspace returns to Free. Monthly Paid credits expire at billing-period end without rollover. Retry the same offer, packs and Idempotency-Key after uncertainty. Browser return is not payment proof; read this checkout and the organization balance. A conflicting or existing subscription returns billing_purchase_conflict (409); read the original checkout or request an owner billing portal URL instead of another purchase. Works at zero credits.
|
|
1028
1028
|
*/
|
|
1029
1029
|
export const createBillingCheckout = <ThrowOnError extends boolean = true>(
|
|
1030
1030
|
parameters: {
|
|
@@ -1199,7 +1199,7 @@ export const getBillingRecharge = <ThrowOnError extends boolean = true>(
|
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Enable or disable explicitly authorized auto-recharge
|
|
1201
1201
|
*
|
|
1202
|
-
* Owner-only. An agent must obtain explicit approval for off-session charges and the gross monthly spending cap before enabling. Each refill costs USD 9 before tax for 1000
|
|
1202
|
+
* Owner-only. An agent must obtain explicit approval for off-session charges and the gross monthly spending cap before enabling. Each refill costs USD 9 before tax for 1000 top-up credits when available credits fall below 100. Active Paid access is required to enable recharge and initiate a payment; remaining refill credits expire on downgrade to Free. A saved Stripe card is required; follow setup_url if returned. Current revision prevents stale edits; retry the original Idempotency-Key and payload after uncertainty. Disable prevents new charge initiation; already initiated payments may complete. No subscription or Paid features are created.
|
|
1203
1203
|
*/
|
|
1204
1204
|
export const configureBillingRecharge = <ThrowOnError extends boolean = true>(
|
|
1205
1205
|
parameters: {
|
|
@@ -2530,6 +2530,10 @@ export type CreateBillingCheckoutErrors = {
|
|
|
2530
2530
|
* The request failed.
|
|
2531
2531
|
*/
|
|
2532
2532
|
401: ProblemDetails;
|
|
2533
|
+
/**
|
|
2534
|
+
* The request failed.
|
|
2535
|
+
*/
|
|
2536
|
+
402: ProblemDetails;
|
|
2533
2537
|
/**
|
|
2534
2538
|
* The resource does not exist or is not visible to the authenticated principal.
|
|
2535
2539
|
*/
|
|
@@ -2769,6 +2773,10 @@ export type ConfigureBillingRechargeErrors = {
|
|
|
2769
2773
|
* The request failed.
|
|
2770
2774
|
*/
|
|
2771
2775
|
401: ProblemDetails;
|
|
2776
|
+
/**
|
|
2777
|
+
* The request failed.
|
|
2778
|
+
*/
|
|
2779
|
+
402: ProblemDetails;
|
|
2772
2780
|
/**
|
|
2773
2781
|
* The resource does not exist or is not visible to the authenticated principal.
|
|
2774
2782
|
*/
|