trainfabric 0.1.62 → 0.1.64
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/dist/index.cjs +6 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -9364,7 +9364,7 @@ function buildComputeSpec(options) {
|
|
|
9364
9364
|
|
|
9365
9365
|
// src/index.ts
|
|
9366
9366
|
var DEFAULT_TRAINFABRIC_API_URL2 = "https://api.trainfabric.com";
|
|
9367
|
-
var CLI_VERSION = "0.1.
|
|
9367
|
+
var CLI_VERSION = "0.1.64";
|
|
9368
9368
|
var CONFIG_DIR = import_node_path3.default.join(import_node_os2.default.homedir(), ".trainfabric");
|
|
9369
9369
|
var CONFIG_PATH = import_node_path3.default.join(CONFIG_DIR, "config.json");
|
|
9370
9370
|
var FALLBACK_SECRET_PATH = import_node_path3.default.join(CONFIG_DIR, "session.enc");
|
|
@@ -10470,19 +10470,19 @@ program2.command("billing:invoices").option("--json", "print raw JSON output; th
|
|
|
10470
10470
|
program2.command("billing:margin").option("--json", "print raw JSON output; this is the default").description("Fetch margin summary").action(async () => {
|
|
10471
10471
|
printJson(await createClient(loadConfig()).billing.getMarginSummary());
|
|
10472
10472
|
});
|
|
10473
|
-
program2.command("treasury:suppliers").option("--json", "print raw JSON output; this is the default").description("
|
|
10473
|
+
program2.command("treasury:suppliers").option("--json", "print raw JSON output; this is the default").description("Admin/internal: list provider-payables supplier adapters").action(async () => {
|
|
10474
10474
|
printJson(await createClient(loadConfig()).treasury.listSuppliers());
|
|
10475
10475
|
});
|
|
10476
|
-
program2.command("treasury:verifications").option("--json", "print raw JSON output; this is the default").description("
|
|
10476
|
+
program2.command("treasury:verifications").option("--json", "print raw JSON output; this is the default").description("Admin/internal: list provider-payables supplier verifications").action(async () => {
|
|
10477
10477
|
printJson(await createClient(loadConfig()).treasury.listSupplierVerifications());
|
|
10478
10478
|
});
|
|
10479
|
-
program2.command("treasury:billing").option("--json", "print raw JSON output; this is the default").description("
|
|
10479
|
+
program2.command("treasury:billing").option("--json", "print raw JSON output; this is the default").description("Admin/internal: list provider-payables billing records").action(async () => {
|
|
10480
10480
|
printJson(await createClient(loadConfig()).treasury.listSupplierBillings());
|
|
10481
10481
|
});
|
|
10482
|
-
program2.command("treasury:funding").option("--json", "print raw JSON output; this is the default").description("
|
|
10482
|
+
program2.command("treasury:funding").option("--json", "print raw JSON output; this is the default").description("Admin/internal: list provider-payables funding summaries").action(async () => {
|
|
10483
10483
|
printJson(await createClient(loadConfig()).treasury.listSupplierFunding());
|
|
10484
10484
|
});
|
|
10485
|
-
program2.command("treasury:funding-preview").requiredOption("--estimated-supplier-cost <usd>").option("--supplier <supplierId>").option("--pool <poolId>").option("--json", "print raw JSON output; this is the default").description("
|
|
10485
|
+
program2.command("treasury:funding-preview").requiredOption("--estimated-supplier-cost <usd>").option("--supplier <supplierId>").option("--pool <poolId>").option("--json", "print raw JSON output; this is the default").description("Admin/internal: preview provider-payables funding readiness for a supplier-backed launch").action(async (options) => {
|
|
10486
10486
|
printJson(
|
|
10487
10487
|
await createClient(loadConfig()).treasury.previewFunding({
|
|
10488
10488
|
estimatedSupplierCostUsd: normalizePositiveUsd(options.estimatedSupplierCost, "Estimated supplier cost"),
|