@isaacthoman/pulpo 0.169.2 → 0.170.0
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.js +27 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24711,7 +24711,9 @@ var mobileConfigSchema = external_exports.object({
|
|
|
24711
24711
|
* The app offers purchases only when its own environment is listed. Null or omitted: no purchases.
|
|
24712
24712
|
*/
|
|
24713
24713
|
appStoreBilling: external_exports.object({
|
|
24714
|
-
environments: external_exports.array(external_exports.enum(["production", "sandbox"])).min(1)
|
|
24714
|
+
environments: external_exports.array(external_exports.enum(["production", "sandbox"])).min(1),
|
|
24715
|
+
/** App Store product IDs for each plan. Servers that omit them offer no purchases. */
|
|
24716
|
+
products: external_exports.object({ eight: external_exports.string().min(1), fat: external_exports.string().min(1) }).optional()
|
|
24715
24717
|
}).nullable().optional().default(null)
|
|
24716
24718
|
})
|
|
24717
24719
|
});
|
|
@@ -24732,8 +24734,31 @@ var customUsageLimitSchema = usageLimitPercentagesSchema.extend({
|
|
|
24732
24734
|
/** Names of the models the limit covers; empty when it covers every model. */
|
|
24733
24735
|
models: external_exports.array(external_exports.string())
|
|
24734
24736
|
});
|
|
24737
|
+
var usageLimitsSubscriptionSchema = external_exports.object({
|
|
24738
|
+
provider: external_exports.enum(["stripe", "app_store"]),
|
|
24739
|
+
/** The plan in effect now. */
|
|
24740
|
+
plan: external_exports.enum(["eight", "fat"]),
|
|
24741
|
+
/** The plan the next renewal bills, when it differs. */
|
|
24742
|
+
pendingPlan: external_exports.enum(["eight", "fat"]).nullable(),
|
|
24743
|
+
status: external_exports.enum(["active", "past_due"]),
|
|
24744
|
+
cancelAtPeriodEnd: external_exports.boolean(),
|
|
24745
|
+
currentPeriodEnd: isoDateSchema.nullable()
|
|
24746
|
+
});
|
|
24747
|
+
var usageLimitsPlansSchema = external_exports.object({
|
|
24748
|
+
storageLimitBytes: external_exports.object({
|
|
24749
|
+
baby: external_exports.number().int().nonnegative(),
|
|
24750
|
+
eight: external_exports.number().int().nonnegative(),
|
|
24751
|
+
fat: external_exports.number().int().nonnegative()
|
|
24752
|
+
}),
|
|
24753
|
+
/** The share of a Pulpo Fat owner's weekly usage their Pool can draw on. */
|
|
24754
|
+
fatSharedWeeklyPercent: external_exports.number().int().min(0).max(100)
|
|
24755
|
+
});
|
|
24735
24756
|
var usageLimitsSchema = external_exports.object({
|
|
24736
24757
|
plan: external_exports.enum(["baby", "eight", "fat"]),
|
|
24758
|
+
/** Null with no subscription, and from servers older than App Store billing. */
|
|
24759
|
+
subscription: usageLimitsSubscriptionSchema.nullable().optional().default(null),
|
|
24760
|
+
/** Null from servers older than App Store billing. */
|
|
24761
|
+
plans: usageLimitsPlansSchema.nullable().optional().default(null),
|
|
24737
24762
|
weekly: usageLimitPercentagesSchema.nullable(),
|
|
24738
24763
|
fiveHour: usageLimitPercentagesSchema.nullable(),
|
|
24739
24764
|
/** Admin-defined allowances the account spends first. */
|
|
@@ -36625,7 +36650,7 @@ async function runModelTest(input2) {
|
|
|
36625
36650
|
}
|
|
36626
36651
|
|
|
36627
36652
|
// src/index.ts
|
|
36628
|
-
var CLI_VERSION = true ? "0.
|
|
36653
|
+
var CLI_VERSION = true ? "0.170.0" : "0.1.0";
|
|
36629
36654
|
var CLI_BUNDLED = true;
|
|
36630
36655
|
var commandIo = /* @__PURE__ */ new WeakMap();
|
|
36631
36656
|
var commandClientFactory = /* @__PURE__ */ new WeakMap();
|