@debugbundle/cli 1.26.0 → 1.27.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/main.cjs +13 -3
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -51281,6 +51281,13 @@ var OfferGrantInventoryRecordSchema = external_exports.object({
|
|
|
51281
51281
|
admitted_checkout: external_exports.boolean()
|
|
51282
51282
|
}).strict();
|
|
51283
51283
|
|
|
51284
|
+
// ../../packages/referrals/src/offer-choice.ts
|
|
51285
|
+
var OfferPriceSelectionSchema = external_exports.object({ target_plan: PaidOfferPlanSchema, interval: OfferIntervalSchema }).strict();
|
|
51286
|
+
var PublicOfferContextQuerySchema = OfferPriceSelectionSchema.partial().extend({ code: PublicOfferCodeSchema.optional() }).strict().refine(
|
|
51287
|
+
(value) => value.target_plan === void 0 === (value.interval === void 0),
|
|
51288
|
+
"plan_and_interval_required_together"
|
|
51289
|
+
);
|
|
51290
|
+
|
|
51284
51291
|
// ../../packages/referrals/src/payout-countries.ts
|
|
51285
51292
|
var PAYOUT_COUNTRIES = [
|
|
51286
51293
|
"AD",
|
|
@@ -51635,6 +51642,9 @@ var OfferQuoteSelectionSchema = external_exports.object({
|
|
|
51635
51642
|
interval: OfferIntervalSchema,
|
|
51636
51643
|
additional_capacity_units: external_exports.number().int().min(0).max(99).default(0)
|
|
51637
51644
|
}).strict();
|
|
51645
|
+
var OfferQuoteRequestSchema = OfferQuoteSelectionSchema.extend({
|
|
51646
|
+
include_public_offers: external_exports.literal(true).optional()
|
|
51647
|
+
});
|
|
51638
51648
|
var OfferPurchaseQuoteSchema = OfferQuoteSelectionSchema.extend({
|
|
51639
51649
|
claim_id: external_exports.uuid(),
|
|
51640
51650
|
version_id: external_exports.uuid(),
|
|
@@ -51688,7 +51698,7 @@ var OFFER_OPERATIONS = {
|
|
|
51688
51698
|
context: {
|
|
51689
51699
|
method: "GET",
|
|
51690
51700
|
path: "/v2/offers/context",
|
|
51691
|
-
input:
|
|
51701
|
+
input: PublicOfferContextQuerySchema,
|
|
51692
51702
|
response: external_exports.object({ offer: PublicOfferPreviewSchema.nullable() }).strict(),
|
|
51693
51703
|
read: true,
|
|
51694
51704
|
operator: false
|
|
@@ -51734,7 +51744,7 @@ var OFFER_OPERATIONS = {
|
|
|
51734
51744
|
quote: {
|
|
51735
51745
|
method: "POST",
|
|
51736
51746
|
path: "/v2/offers/quote",
|
|
51737
|
-
input:
|
|
51747
|
+
input: OfferQuoteRequestSchema,
|
|
51738
51748
|
response: external_exports.object({ quote: OfferPurchaseQuoteSchema }).strict(),
|
|
51739
51749
|
read: true,
|
|
51740
51750
|
operator: false
|
|
@@ -90647,7 +90657,7 @@ async function handleCaptureRuleCommand2(parsedArgv, dependencies) {
|
|
|
90647
90657
|
// package.json
|
|
90648
90658
|
var package_default = {
|
|
90649
90659
|
name: "@debugbundle/cli",
|
|
90650
|
-
version: "1.
|
|
90660
|
+
version: "1.27.0",
|
|
90651
90661
|
private: false,
|
|
90652
90662
|
description: "Command-line interface for DebugBundle",
|
|
90653
90663
|
license: "Apache-2.0",
|