atmn 1.1.14 → 1.1.15
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/cli.js +148 -44
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +97 -118
package/dist/cli.js
CHANGED
|
@@ -1509,7 +1509,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1509
1509
|
this._exitCallback = (err) => {
|
|
1510
1510
|
if (err.code !== "commander.executeSubCommandAsync") {
|
|
1511
1511
|
throw err;
|
|
1512
|
-
}
|
|
1512
|
+
} else {}
|
|
1513
1513
|
};
|
|
1514
1514
|
}
|
|
1515
1515
|
return this;
|
|
@@ -13062,7 +13062,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
13062
13062
|
offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
|
|
13063
13063
|
wasHidden && !hoistableRoot && !prevOffscreenSubtreeIsHidden && !prevOffscreenSubtreeWasHidden && (finishedWork.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentReappeared(finishedWork, componentEffectStartTime, componentEffectEndTime);
|
|
13064
13064
|
commitReconciliationEffects(finishedWork);
|
|
13065
|
-
if (flags & 8192 && (root = finishedWork.stateNode, root._visibility = hoistableRoot ? root._visibility & ~OffscreenVisible : root._visibility | OffscreenVisible, !hoistableRoot || current2 === null || wasHidden || offscreenSubtreeIsHidden || offscreenSubtreeWasHidden || (recursivelyTraverseDisappearLayoutEffects(finishedWork), (finishedWork.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(finishedWork, componentEffectStartTime, componentEffectEndTime, "Disconnect")), supportsMutation))
|
|
13065
|
+
if (flags & 8192 && (root = finishedWork.stateNode, root._visibility = hoistableRoot ? root._visibility & ~OffscreenVisible : root._visibility | OffscreenVisible, !hoistableRoot || current2 === null || wasHidden || offscreenSubtreeIsHidden || offscreenSubtreeWasHidden || (recursivelyTraverseDisappearLayoutEffects(finishedWork), (finishedWork.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(finishedWork, componentEffectStartTime, componentEffectEndTime, "Disconnect")), supportsMutation))
|
|
13066
13066
|
a:
|
|
13067
13067
|
if (current2 = null, supportsMutation)
|
|
13068
13068
|
for (root = finishedWork;; ) {
|
|
@@ -13112,7 +13112,6 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
13112
13112
|
root.sibling.return = root.return;
|
|
13113
13113
|
root = root.sibling;
|
|
13114
13114
|
}
|
|
13115
|
-
}
|
|
13116
13115
|
flags & 4 && (flags = finishedWork.updateQueue, flags !== null && (current2 = flags.retryQueue, current2 !== null && (flags.retryQueue = null, attachSuspenseRetryListeners(finishedWork, current2))));
|
|
13117
13116
|
break;
|
|
13118
13117
|
case 19:
|
|
@@ -22599,7 +22598,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
22599
22598
|
987: (module2, __unused_webpack_exports, __webpack_require__2) => {
|
|
22600
22599
|
if (true) {
|
|
22601
22600
|
module2.exports = __webpack_require__2(786);
|
|
22602
|
-
}
|
|
22601
|
+
} else {}
|
|
22603
22602
|
},
|
|
22604
22603
|
126: (__unused_webpack_module, exports2, __webpack_require__2) => {
|
|
22605
22604
|
var process6 = __webpack_require__2(169);
|
|
@@ -23059,7 +23058,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
23059
23058
|
189: (module2, __unused_webpack_exports, __webpack_require__2) => {
|
|
23060
23059
|
if (true) {
|
|
23061
23060
|
module2.exports = __webpack_require__2(126);
|
|
23062
|
-
}
|
|
23061
|
+
} else {}
|
|
23063
23062
|
},
|
|
23064
23063
|
206: function(module2, exports2, __webpack_require__2) {
|
|
23065
23064
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
|
|
@@ -23079,7 +23078,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
23079
23078
|
(function(root, factory) {
|
|
23080
23079
|
if (true) {
|
|
23081
23080
|
__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__2(430)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === "function" ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports2, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module2.exports = __WEBPACK_AMD_DEFINE_RESULT__);
|
|
23082
|
-
}
|
|
23081
|
+
} else {}
|
|
23083
23082
|
})(this, function ErrorStackParser(StackFrame) {
|
|
23084
23083
|
var FIREFOX_SAFARI_STACK_REGEXP = /(^|@)\S+:\d+/;
|
|
23085
23084
|
var CHROME_IE_STACK_REGEXP = /^\s*at .*(\S+:\d+|\(native\))/m;
|
|
@@ -23755,7 +23754,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
23755
23754
|
(function(root, factory) {
|
|
23756
23755
|
if (true) {
|
|
23757
23756
|
__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === "function" ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports2, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module2.exports = __WEBPACK_AMD_DEFINE_RESULT__);
|
|
23758
|
-
}
|
|
23757
|
+
} else {}
|
|
23759
23758
|
})(this, function() {
|
|
23760
23759
|
function _isNumber(n) {
|
|
23761
23760
|
return !isNaN(parseFloat(n)) && isFinite(n);
|
|
@@ -28537,7 +28536,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
28537
28536
|
var suffix = "";
|
|
28538
28537
|
if (true) {
|
|
28539
28538
|
suffix = " (<anonymous>)";
|
|
28540
|
-
}
|
|
28539
|
+
} else {}
|
|
28541
28540
|
return `
|
|
28542
28541
|
` + prefix + name + suffix;
|
|
28543
28542
|
}
|
|
@@ -30866,7 +30865,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
30866
30865
|
hasChanges = true;
|
|
30867
30866
|
updateMostRecentlyInspectedElementIfNecessary(devtoolsInstance.id);
|
|
30868
30867
|
}
|
|
30869
|
-
}
|
|
30868
|
+
} else {}
|
|
30870
30869
|
}
|
|
30871
30870
|
} catch (err) {
|
|
30872
30871
|
_iterator2.e(err);
|
|
@@ -34738,7 +34737,7 @@ The error thrown in the component is:
|
|
|
34738
34737
|
rendererInterface = renderer_attach(hook, id, renderer, global2, shouldStartProfilingNow, profilingSettings);
|
|
34739
34738
|
} else if (renderer.ComponentTree) {
|
|
34740
34739
|
rendererInterface = legacy_renderer_attach(hook, id, renderer, global2);
|
|
34741
|
-
}
|
|
34740
|
+
} else {}
|
|
34742
34741
|
}
|
|
34743
34742
|
return rendererInterface;
|
|
34744
34743
|
}
|
|
@@ -48188,7 +48187,7 @@ var init_pull = __esm(() => {
|
|
|
48188
48187
|
});
|
|
48189
48188
|
|
|
48190
48189
|
// src/lib/version.ts
|
|
48191
|
-
var APP_VERSION = "1.1.
|
|
48190
|
+
var APP_VERSION = "1.1.15";
|
|
48192
48191
|
|
|
48193
48192
|
// ../../node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
48194
48193
|
var Subscribable = class {
|
|
@@ -101723,7 +101722,7 @@ class JSONSchemaGenerator {
|
|
|
101723
101722
|
if (val === undefined) {
|
|
101724
101723
|
if (this.unrepresentable === "throw") {
|
|
101725
101724
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
101726
|
-
}
|
|
101725
|
+
} else {}
|
|
101727
101726
|
} else if (typeof val === "bigint") {
|
|
101728
101727
|
if (this.unrepresentable === "throw") {
|
|
101729
101728
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
@@ -105704,7 +105703,7 @@ var init_customerBillingControls = __esm(() => {
|
|
|
105704
105703
|
})
|
|
105705
105704
|
});
|
|
105706
105705
|
AutoTopupResponseSchema = AutoTopupSchema.extend({
|
|
105707
|
-
purchase_limit: exports_external.union([
|
|
105706
|
+
purchase_limit: exports_external.union([ExpandedPurchaseLimitSchema, AutoTopupPurchaseLimitSchema]).optional().meta({
|
|
105708
105707
|
description: "Optional rate limit to cap how often auto top-ups occur. Expand billing_controls.auto_topups.purchase_limit for a count of top ups and the next_reset_at."
|
|
105709
105708
|
})
|
|
105710
105709
|
});
|
|
@@ -107339,11 +107338,53 @@ var init_previewUpdateSubscriptionResponse = __esm(() => {
|
|
|
107339
107338
|
});
|
|
107340
107339
|
});
|
|
107341
107340
|
|
|
107341
|
+
// ../../shared/api/billingControls/billingControlSource.ts
|
|
107342
|
+
var BillingControlSourceSchema;
|
|
107343
|
+
var init_billingControlSource = __esm(() => {
|
|
107344
|
+
init_v4();
|
|
107345
|
+
BillingControlSourceSchema = exports_external.enum(["customer", "plan"]).meta({
|
|
107346
|
+
description: "Response-only: whether the entry is a customer-level override or inherited from an attached plan's defaults."
|
|
107347
|
+
});
|
|
107348
|
+
});
|
|
107349
|
+
|
|
107350
|
+
// ../../shared/api/billingControls/autoTopup.ts
|
|
107351
|
+
var ApiAutoTopupSchema;
|
|
107352
|
+
var init_autoTopup = __esm(() => {
|
|
107353
|
+
init_customerBillingControls();
|
|
107354
|
+
init_billingControlSource();
|
|
107355
|
+
ApiAutoTopupSchema = AutoTopupResponseSchema.extend({
|
|
107356
|
+
source: BillingControlSourceSchema.optional()
|
|
107357
|
+
});
|
|
107358
|
+
});
|
|
107359
|
+
|
|
107360
|
+
// ../../shared/api/billingControls/overageAllowed.ts
|
|
107361
|
+
var ApiOverageAllowedSchema;
|
|
107362
|
+
var init_overageAllowed2 = __esm(() => {
|
|
107363
|
+
init_overageAllowed();
|
|
107364
|
+
init_billingControlSource();
|
|
107365
|
+
ApiOverageAllowedSchema = DbOverageAllowedSchema.extend({
|
|
107366
|
+
source: BillingControlSourceSchema.optional()
|
|
107367
|
+
});
|
|
107368
|
+
});
|
|
107369
|
+
|
|
107342
107370
|
// ../../shared/api/billingControls/spendLimit.ts
|
|
107343
107371
|
var ApiSpendLimitSchema;
|
|
107344
107372
|
var init_spendLimit2 = __esm(() => {
|
|
107345
107373
|
init_spendLimit();
|
|
107346
|
-
|
|
107374
|
+
init_billingControlSource();
|
|
107375
|
+
ApiSpendLimitSchema = DbSpendLimitSchema.extend({
|
|
107376
|
+
source: BillingControlSourceSchema.optional()
|
|
107377
|
+
});
|
|
107378
|
+
});
|
|
107379
|
+
|
|
107380
|
+
// ../../shared/api/billingControls/usageAlert.ts
|
|
107381
|
+
var ApiUsageAlertSchema;
|
|
107382
|
+
var init_usageAlert2 = __esm(() => {
|
|
107383
|
+
init_usageAlert();
|
|
107384
|
+
init_billingControlSource();
|
|
107385
|
+
ApiUsageAlertSchema = DbUsageAlertSchema.extend({
|
|
107386
|
+
source: BillingControlSourceSchema.optional()
|
|
107387
|
+
});
|
|
107347
107388
|
});
|
|
107348
107389
|
|
|
107349
107390
|
// ../../shared/api/billingControls/usageLimit.ts
|
|
@@ -107351,10 +107392,12 @@ var ApiUsageLimitSchema;
|
|
|
107351
107392
|
var init_usageLimit2 = __esm(() => {
|
|
107352
107393
|
init_v4();
|
|
107353
107394
|
init_usageLimit();
|
|
107395
|
+
init_billingControlSource();
|
|
107354
107396
|
ApiUsageLimitSchema = DbUsageLimitSchema.extend({
|
|
107355
107397
|
usage: exports_external.number().min(0).optional().meta({
|
|
107356
107398
|
description: "Current usage already consumed in the active interval. Response-only; not stored on billing controls."
|
|
107357
|
-
})
|
|
107399
|
+
}),
|
|
107400
|
+
source: BillingControlSourceSchema.optional()
|
|
107358
107401
|
});
|
|
107359
107402
|
});
|
|
107360
107403
|
|
|
@@ -107362,11 +107405,13 @@ var init_usageLimit2 = __esm(() => {
|
|
|
107362
107405
|
var CustomerBillingControlsResponseSchema;
|
|
107363
107406
|
var init_customerBillingControls2 = __esm(() => {
|
|
107364
107407
|
init_v4();
|
|
107365
|
-
|
|
107408
|
+
init_autoTopup();
|
|
107409
|
+
init_overageAllowed2();
|
|
107366
107410
|
init_spendLimit2();
|
|
107411
|
+
init_usageAlert2();
|
|
107367
107412
|
init_usageLimit2();
|
|
107368
107413
|
CustomerBillingControlsResponseSchema = exports_external.object({
|
|
107369
|
-
auto_topups: exports_external.array(
|
|
107414
|
+
auto_topups: exports_external.array(ApiAutoTopupSchema).optional().meta({
|
|
107370
107415
|
description: "List of auto top-up configurations per feature."
|
|
107371
107416
|
}),
|
|
107372
107417
|
spend_limits: exports_external.array(ApiSpendLimitSchema).optional().meta({
|
|
@@ -107375,34 +107420,22 @@ var init_customerBillingControls2 = __esm(() => {
|
|
|
107375
107420
|
usage_limits: exports_external.array(ApiUsageLimitSchema).optional().meta({
|
|
107376
107421
|
description: "List of hard usage caps per feature, with current interval usage."
|
|
107377
107422
|
}),
|
|
107378
|
-
usage_alerts: exports_external.array(
|
|
107423
|
+
usage_alerts: exports_external.array(ApiUsageAlertSchema).optional().meta({
|
|
107379
107424
|
description: "List of usage alert configurations per feature."
|
|
107380
107425
|
}),
|
|
107381
|
-
overage_allowed: exports_external.array(
|
|
107426
|
+
overage_allowed: exports_external.array(ApiOverageAllowedSchema).optional().meta({
|
|
107382
107427
|
description: "List of overage allowed controls per feature. When enabled, usage can exceed balance."
|
|
107383
107428
|
})
|
|
107384
107429
|
});
|
|
107385
107430
|
});
|
|
107386
107431
|
|
|
107387
|
-
// ../../shared/api/billingControls/overageAllowed.ts
|
|
107388
|
-
var ApiOverageAllowedSchema;
|
|
107389
|
-
var init_overageAllowed2 = __esm(() => {
|
|
107390
|
-
init_overageAllowed();
|
|
107391
|
-
ApiOverageAllowedSchema = DbOverageAllowedSchema;
|
|
107392
|
-
});
|
|
107393
|
-
|
|
107394
|
-
// ../../shared/api/billingControls/usageAlert.ts
|
|
107395
|
-
var ApiUsageAlertSchema;
|
|
107396
|
-
var init_usageAlert2 = __esm(() => {
|
|
107397
|
-
init_usageAlert();
|
|
107398
|
-
ApiUsageAlertSchema = DbUsageAlertSchema;
|
|
107399
|
-
});
|
|
107400
|
-
|
|
107401
107432
|
// ../../shared/api/billingControls/entityBillingControls.ts
|
|
107402
107433
|
var ApiEntityBillingControlsSchema, ApiEntityBillingControlsParamsBaseSchema, ApiEntityBillingControlsParamsSchema;
|
|
107403
107434
|
var init_entityBillingControls2 = __esm(() => {
|
|
107404
107435
|
init_v4();
|
|
107436
|
+
init_overageAllowed();
|
|
107405
107437
|
init_spendLimit();
|
|
107438
|
+
init_usageAlert();
|
|
107406
107439
|
init_usageLimit();
|
|
107407
107440
|
init_overageAllowed2();
|
|
107408
107441
|
init_spendLimit2();
|
|
@@ -107429,10 +107462,10 @@ var init_entityBillingControls2 = __esm(() => {
|
|
|
107429
107462
|
usage_limits: exports_external.array(DbUsageLimitSchema).optional().meta({
|
|
107430
107463
|
description: "List of hard usage caps per feature for this entity. An entity entry overrides the customer's for that feature."
|
|
107431
107464
|
}),
|
|
107432
|
-
usage_alerts: exports_external.array(
|
|
107465
|
+
usage_alerts: exports_external.array(DbUsageAlertSchema).optional().meta({
|
|
107433
107466
|
description: "List of usage alert configurations per feature."
|
|
107434
107467
|
}),
|
|
107435
|
-
overage_allowed: exports_external.array(
|
|
107468
|
+
overage_allowed: exports_external.array(DbOverageAllowedSchema).optional().meta({
|
|
107436
107469
|
description: "List of overage allowed controls per feature. When enabled, usage can exceed balance."
|
|
107437
107470
|
})
|
|
107438
107471
|
});
|
|
@@ -107485,6 +107518,8 @@ var init_entityBillingControls2 = __esm(() => {
|
|
|
107485
107518
|
|
|
107486
107519
|
// ../../shared/api/billingControls/index.ts
|
|
107487
107520
|
var init_billingControls = __esm(() => {
|
|
107521
|
+
init_autoTopup();
|
|
107522
|
+
init_billingControlSource();
|
|
107488
107523
|
init_customerBillingControls2();
|
|
107489
107524
|
init_entityBillingControls2();
|
|
107490
107525
|
init_overageAllowed2();
|
|
@@ -107594,7 +107629,6 @@ var init_ErrCode = __esm(() => {
|
|
|
107594
107629
|
CreateEntitlementFailed: "create_entitlement_failed",
|
|
107595
107630
|
DeleteEntitlementFailed: "delete_entitlement_failed",
|
|
107596
107631
|
InsufficientBalance: "insufficient_balance",
|
|
107597
|
-
SetUsageNotAllowedWithUsageLimit: "set_usage_not_allowed_with_usage_limit",
|
|
107598
107632
|
CreateInvoiceFailed: "create_invoice_failed",
|
|
107599
107633
|
InvalidEvent: "invalid_event",
|
|
107600
107634
|
CreateEventFailed: "create_event_failed",
|
|
@@ -107938,7 +107972,7 @@ var init_processorSchemas = __esm(() => {
|
|
|
107938
107972
|
});
|
|
107939
107973
|
|
|
107940
107974
|
// ../../shared/api/common/customerData.ts
|
|
107941
|
-
var CreateCustomerInternalOptionsSchema, CustomerDataSchema;
|
|
107975
|
+
var CreateCustomerInternalOptionsSchema, CustomerEmailSchema, CustomerDataSchema;
|
|
107942
107976
|
var init_customerData = __esm(() => {
|
|
107943
107977
|
init_v4();
|
|
107944
107978
|
init_customerBillingControls();
|
|
@@ -107951,14 +107985,15 @@ var init_customerData = __esm(() => {
|
|
|
107951
107985
|
description: "Whether to disable default products"
|
|
107952
107986
|
})
|
|
107953
107987
|
});
|
|
107988
|
+
CustomerEmailSchema = exports_external.email({
|
|
107989
|
+
pattern: exports_external.regexes.unicodeEmail,
|
|
107990
|
+
message: "not a valid email address"
|
|
107991
|
+
});
|
|
107954
107992
|
CustomerDataSchema = exports_external.object({
|
|
107955
107993
|
name: exports_external.string().nullish().meta({
|
|
107956
107994
|
description: "Customer's name"
|
|
107957
107995
|
}),
|
|
107958
|
-
email:
|
|
107959
|
-
pattern: exports_external.regexes.unicodeEmail,
|
|
107960
|
-
message: "not a valid email address"
|
|
107961
|
-
}).nullish().meta({
|
|
107996
|
+
email: CustomerEmailSchema.nullish().meta({
|
|
107962
107997
|
description: "Customer's email address"
|
|
107963
107998
|
}),
|
|
107964
107999
|
fingerprint: exports_external.string().nullish().meta({
|
|
@@ -116708,6 +116743,50 @@ var init_V2_0_CustomerChange = __esm(() => {
|
|
|
116708
116743
|
});
|
|
116709
116744
|
});
|
|
116710
116745
|
|
|
116746
|
+
// ../../shared/api/customers/changes/V2.2_PlanInheritedBillingControls.ts
|
|
116747
|
+
var stripPlanInherited = (entries) => {
|
|
116748
|
+
if (entries === undefined)
|
|
116749
|
+
return;
|
|
116750
|
+
const customerEntries = entries.filter((entry) => entry.source !== "plan").map(({ source: _source, ...rest2 }) => rest2);
|
|
116751
|
+
if (customerEntries.length === 0 && entries.length > 0)
|
|
116752
|
+
return;
|
|
116753
|
+
return customerEntries;
|
|
116754
|
+
}, V2_2_PlanInheritedBillingControls;
|
|
116755
|
+
var init_V2_2_PlanInheritedBillingControls = __esm(() => {
|
|
116756
|
+
init_ApiVersion();
|
|
116757
|
+
init_VersionChange();
|
|
116758
|
+
init_apiCustomerV5();
|
|
116759
|
+
V2_2_PlanInheritedBillingControls = defineVersionChange({
|
|
116760
|
+
name: "V2_2 Plan Inherited Billing Controls",
|
|
116761
|
+
newVersion: "2.3.0" /* V2_3 */,
|
|
116762
|
+
oldVersion: "2.2.0" /* V2_2 */,
|
|
116763
|
+
description: [
|
|
116764
|
+
"2.3.0 merges plan-default billing controls into the customer's billing_controls with a `source` tag; older versions receive customer-level entries only, without `source`"
|
|
116765
|
+
],
|
|
116766
|
+
affectedResources: ["customer" /* Customer */],
|
|
116767
|
+
newSchema: ApiCustomerV5Schema,
|
|
116768
|
+
oldSchema: ApiCustomerV5Schema,
|
|
116769
|
+
affectsResponse: true,
|
|
116770
|
+
transformResponse: ({
|
|
116771
|
+
input
|
|
116772
|
+
}) => {
|
|
116773
|
+
const billingControls = input.billing_controls;
|
|
116774
|
+
if (!billingControls)
|
|
116775
|
+
return input;
|
|
116776
|
+
return {
|
|
116777
|
+
...input,
|
|
116778
|
+
billing_controls: {
|
|
116779
|
+
auto_topups: stripPlanInherited(billingControls.auto_topups),
|
|
116780
|
+
spend_limits: stripPlanInherited(billingControls.spend_limits),
|
|
116781
|
+
usage_limits: stripPlanInherited(billingControls.usage_limits),
|
|
116782
|
+
usage_alerts: stripPlanInherited(billingControls.usage_alerts),
|
|
116783
|
+
overage_allowed: stripPlanInherited(billingControls.overage_allowed)
|
|
116784
|
+
}
|
|
116785
|
+
};
|
|
116786
|
+
}
|
|
116787
|
+
});
|
|
116788
|
+
});
|
|
116789
|
+
|
|
116711
116790
|
// ../../shared/utils/productV3Utils/productItemUtils/productV3ItemUtils.ts
|
|
116712
116791
|
function productV2ToBasePrice({
|
|
116713
116792
|
product
|
|
@@ -118957,6 +119036,7 @@ var init_versionChangeRegistry = __esm(() => {
|
|
|
118957
119036
|
init_V1_2_FeatureParamsChange();
|
|
118958
119037
|
init_V1_2_InvoiceChange();
|
|
118959
119038
|
init_V2_0_CustomerChange();
|
|
119039
|
+
init_V2_2_PlanInheritedBillingControls();
|
|
118960
119040
|
init_V1_2_ProductChanges();
|
|
118961
119041
|
init_V2_0_PlanChanges();
|
|
118962
119042
|
init_V2_1_PlanChanges();
|
|
@@ -118973,7 +119053,9 @@ var init_versionChangeRegistry = __esm(() => {
|
|
|
118973
119053
|
init_V2_0_AggregateEventsChange();
|
|
118974
119054
|
init_ApiVersion();
|
|
118975
119055
|
init_VersionChangeRegistryClass();
|
|
118976
|
-
V2_3_CHANGES = [
|
|
119056
|
+
V2_3_CHANGES = [
|
|
119057
|
+
V2_2_PlanInheritedBillingControls
|
|
119058
|
+
];
|
|
118977
119059
|
V2_2_CHANGES = [
|
|
118978
119060
|
V2_1_PlanChanges
|
|
118979
119061
|
];
|
|
@@ -122516,6 +122598,9 @@ var init_updateBalanceParams = __esm(() => {
|
|
|
122516
122598
|
}),
|
|
122517
122599
|
next_reset_at: exports_external.number().optional().meta({
|
|
122518
122600
|
description: "The next reset time for the balance. If there are multiple breakdowns, this will update the breakdown with the next reset time."
|
|
122601
|
+
}),
|
|
122602
|
+
expires_at: exports_external.number().optional().meta({
|
|
122603
|
+
description: "Unix timestamp (milliseconds) when the balance expires. Targets a specific balance via balance_id / interval when the customer has multiple balances for the same feature."
|
|
122519
122604
|
})
|
|
122520
122605
|
});
|
|
122521
122606
|
UpdateBalanceParamsV0Schema = ExtUpdateBalanceParamsV0Schema.extend({
|
|
@@ -123142,11 +123227,14 @@ var ProcessorTypeSchema, FlashCustomerDataSchema, FlashProcessorIdentitySchema,
|
|
|
123142
123227
|
var init_dfuFlashParams = __esm(() => {
|
|
123143
123228
|
init_entitlementInterval();
|
|
123144
123229
|
init_v4();
|
|
123230
|
+
init_customerData();
|
|
123145
123231
|
init_apiCustomerV5();
|
|
123146
123232
|
ProcessorTypeSchema = exports_external.enum(["stripe", "revenuecat"]);
|
|
123147
123233
|
FlashCustomerDataSchema = exports_external.object({
|
|
123148
123234
|
name: exports_external.string().optional().meta({ description: "Display name for the customer." }),
|
|
123149
|
-
email:
|
|
123235
|
+
email: CustomerEmailSchema.optional().meta({
|
|
123236
|
+
description: "Email address for the customer."
|
|
123237
|
+
}),
|
|
123150
123238
|
fingerprint: exports_external.string().optional().meta({ description: "Anti-fraud fingerprint for the customer." })
|
|
123151
123239
|
});
|
|
123152
123240
|
FlashProcessorIdentitySchema = exports_external.object({
|
|
@@ -131140,6 +131228,13 @@ var init_fullSubjectToCustomerEntitlements = __esm(() => {
|
|
|
131140
131228
|
init_utils11();
|
|
131141
131229
|
});
|
|
131142
131230
|
|
|
131231
|
+
// ../../shared/utils/fullSubjectUtils/buildNormalizeSpendLimitForCompare.ts
|
|
131232
|
+
var init_buildNormalizeSpendLimitForCompare = __esm(() => {
|
|
131233
|
+
init_resolveSpendLimitOverageLimit();
|
|
131234
|
+
init_fullSubjectToCustomerEntitlements();
|
|
131235
|
+
init_planBillingControlUtils();
|
|
131236
|
+
});
|
|
131237
|
+
|
|
131143
131238
|
// ../../shared/utils/fullSubjectUtils/classifyFullSubject.ts
|
|
131144
131239
|
var init_classifyFullSubject = __esm(() => {
|
|
131145
131240
|
init_classifyCusEntUtils();
|
|
@@ -131220,17 +131315,26 @@ var init_mergeCustomerBillingControlsForCheck = __esm(() => {
|
|
|
131220
131315
|
init_fullSubjectToUsageWindowLimits();
|
|
131221
131316
|
init_planBillingControlUtils();
|
|
131222
131317
|
});
|
|
131318
|
+
|
|
131319
|
+
// ../../shared/utils/fullSubjectUtils/mergePlanBillingControlsForResponse.ts
|
|
131320
|
+
var init_mergePlanBillingControlsForResponse = __esm(() => {
|
|
131321
|
+
init_buildNormalizeSpendLimitForCompare();
|
|
131322
|
+
init_mergeCustomerBillingControlsForCheck();
|
|
131323
|
+
init_planBillingControlUtils();
|
|
131324
|
+
});
|
|
131223
131325
|
// ../../shared/utils/fullSubjectUtils/index.ts
|
|
131224
131326
|
var init_fullSubjectUtils = __esm(() => {
|
|
131327
|
+
init_buildNormalizeSpendLimitForCompare();
|
|
131225
131328
|
init_classifyFullSubject();
|
|
131226
131329
|
init_fullCustomerToFullSubject();
|
|
131227
131330
|
init_fullSubjectToApiUsageLimits();
|
|
131228
|
-
init_planBillingControlUtils();
|
|
131229
131331
|
init_fullSubjectToCustomerEntitlements();
|
|
131230
131332
|
init_fullSubjectToOverageAllowed();
|
|
131231
131333
|
init_fullSubjectToSpendLimit();
|
|
131232
131334
|
init_fullSubjectToUsageWindowLimits();
|
|
131233
131335
|
init_mergeCustomerBillingControlsForCheck();
|
|
131336
|
+
init_mergePlanBillingControlsForResponse();
|
|
131337
|
+
init_planBillingControlUtils();
|
|
131234
131338
|
init_aggregatedUtils();
|
|
131235
131339
|
});
|
|
131236
131340
|
// ../../shared/utils/invoices/invoiceLineItems/index.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"7.0.0-dev.20260511.1","root":["../src/cli.tsx","../src/constants.ts","../src/commands/auth/command.ts","../src/commands/auth/constants.ts","../src/commands/auth/oauth.ts","../src/commands/config/command.ts","../src/commands/customers/command.tsx","../src/commands/customers/headless.ts","../src/commands/customers/index.ts","../src/commands/events/command.tsx","../src/commands/events/headless.ts","../src/commands/events/index.ts","../src/commands/events-aggregate-test/command.ts","../src/commands/events-aggregate-test/index.ts","../src/commands/features/command.tsx","../src/commands/features/headless.ts","../src/commands/features/index.ts","../src/commands/nuke/backup.ts","../src/commands/nuke/deletions.ts","../src/commands/nuke/legacynuke.ts","../src/commands/nuke/types.ts","../src/commands/nuke/validation.ts","../src/commands/preview/index.ts","../src/commands/preview/loadconfig.ts","../src/commands/preview/previewplan.ts","../src/commands/products/command.tsx","../src/commands/products/headless.ts","../src/commands/products/index.ts","../src/commands/pull/index.ts","../src/commands/pull/mergeenvironments.ts","../src/commands/pull/pull.ts","../src/commands/pull/pullfromenvironment.ts","../src/commands/pull/sdktypes.ts","../src/commands/pull/types.ts","../src/commands/pull/writeconfig.ts","../src/commands/push/headless.ts","../src/commands/push/index.ts","../src/commands/push/prompts.ts","../src/commands/push/push.ts","../src/commands/push/types.ts","../src/commands/push/validate.ts","../src/commands/push/variantpropagation.ts","../src/commands/test-diff/command.ts","../src/commands/test-diff/index.ts","../src/commands/test-template/command.tsx","../src/compose/index.ts","../src/compose/builders/builderfunctions.ts","../src/compose/builders/variantfunctions.ts","../src/compose/models/featuremodels.ts","../src/compose/models/index.ts","../src/compose/models/planmodels.ts","../src/compose/models/variantmodels.ts","../src/lib/utils.ts","../src/lib/version.ts","../src/lib/writeemptyconfig.ts","../src/lib/animation/explosion.ts","../src/lib/api/client.ts","../src/lib/api/endpoints/catalog.ts","../src/lib/api/endpoints/customers.ts","../src/lib/api/endpoints/events.ts","../src/lib/api/endpoints/features.ts","../src/lib/api/endpoints/index.ts","../src/lib/api/endpoints/organization.ts","../src/lib/api/endpoints/plans.ts","../src/lib/api/types/feature.ts","../src/lib/api/types/index.ts","../src/lib/api/types/organization.ts","../src/lib/api/types/plan.ts","../src/lib/api/types/planitem.ts","../src/lib/auth/headlessauthrecovery.ts","../src/lib/constants/templates.ts","../src/lib/constants/templates/index.ts","../src/lib/constants/templates/linear.config.ts","../src/lib/constants/templates/openai.config.ts","../src/lib/constants/templates/railway.config.ts","../src/lib/constants/templates/t3chat.config.ts","../src/lib/env/clicontext.ts","../src/lib/env/detect.ts","../src/lib/env/dotenv.ts","../src/lib/env/index.ts","../src/lib/env/keys.ts","../src/lib/headless/customerscontroller.ts","../src/lib/headless/featurescontroller.ts","../src/lib/headless/planscontroller.ts","../src/lib/headless/index.ts","../src/lib/headless/types.ts","../src/lib/hooks/index.ts","../src/lib/hooks/useagentsetup.ts","../src/lib/hooks/useauthrecovery.ts","../src/lib/hooks/useclipboard.ts","../src/lib/hooks/useconfigcounts.ts","../src/lib/hooks/usecreateguides.ts","../src/lib/hooks/usecreateskills.ts","../src/lib/hooks/usecustomerexpanded.ts","../src/lib/hooks/usecustomernavigation.ts","../src/lib/hooks/usecustomers.ts","../src/lib/hooks/useenvironmentstore.ts","../src/lib/hooks/useevents.ts","../src/lib/hooks/useeventsaggregate.ts","../src/lib/hooks/useeventsaggregateapi.ts","../src/lib/hooks/useeventsfilter.ts","../src/lib/hooks/usefeatures.ts","../src/lib/hooks/usehascustomers.ts","../src/lib/hooks/useheadlessauth.ts","../src/lib/hooks/uselistnavigation.ts","../src/lib/hooks/uselogin.ts","../src/lib/hooks/usenuke.ts","../src/lib/hooks/usenukedata.ts","../src/lib/hooks/useorganization.ts","../src/lib/hooks/useplans.ts","../src/lib/hooks/usepull.ts","../src/lib/hooks/usepush.ts","../src/lib/hooks/useterminalsize.ts","../src/lib/hooks/usevisiblerowcount.ts","../src/lib/hooks/usewritetemplateconfig.ts","../src/lib/transforms/index.ts","../src/lib/transforms/apitosdk/transformer.test.ts","../src/lib/transforms/apitosdk/transformer.ts","../src/lib/transforms/apitosdk/feature.ts","../src/lib/transforms/apitosdk/helpers.ts","../src/lib/transforms/apitosdk/index.ts","../src/lib/transforms/apitosdk/plan.ts","../src/lib/transforms/apitosdk/planitem.ts","../src/lib/transforms/inplaceupdate/index.ts","../src/lib/transforms/inplaceupdate/parseconfig.ts","../src/lib/transforms/inplaceupdate/updateconfig.ts","../src/lib/transforms/sdktoapi/feature.ts","../src/lib/transforms/sdktoapi/index.ts","../src/lib/transforms/sdktoapi/plan.ts","../src/lib/transforms/sdktocode/configfile.ts","../src/lib/transforms/sdktocode/feature.ts","../src/lib/transforms/sdktocode/helpers.test.ts","../src/lib/transforms/sdktocode/helpers.ts","../src/lib/transforms/sdktocode/imports.ts","../src/lib/transforms/sdktocode/index.ts","../src/lib/transforms/sdktocode/plan.ts","../src/lib/transforms/sdktocode/planitem.ts","../src/lib/transforms/sdktocode/variant.ts","../src/lib/utils/index.ts","../src/lib/utils/monorepo.ts","../src/prompts/skills/autumn-billing-page.ts","../src/prompts/skills/autumn-gating.ts","../src/prompts/skills/autumn-modelling-pricing-plans.ts","../src/prompts/skills/autumn-setup.ts","../src/prompts/skills/index.ts","../src/views/app.tsx","../src/views/html/oauth-callback.ts","../src/views/react/test-agent.tsx","../src/views/react/components/authrecoveryboundary.tsx","../src/views/react/components/card.tsx","../src/views/react/components/keyvalue.tsx","../src/views/react/components/loadingtext.tsx","../src/views/react/components/multiselect.tsx","../src/views/react/components/progressbar.tsx","../src/views/react/components/promptcard.tsx","../src/views/react/components/selectmenu.tsx","../src/views/react/components/statusline.tsx","../src/views/react/components/statusrow.tsx","../src/views/react/components/stepheader.tsx","../src/views/react/components/index.ts","../src/views/react/components/providers/cardwidthcontext.tsx","../src/views/react/components/providers/queryprovider.tsx","../src/views/react/components/providers/index.ts","../src/views/react/customers/customersview.tsx","../src/views/react/customers/types.ts","../src/views/react/customers/components/customerrow.tsx","../src/views/react/customers/components/customersheet.tsx","../src/views/react/customers/components/customerstable.tsx","../src/views/react/customers/components/emptystate.tsx","../src/views/react/customers/components/errorstate.tsx","../src/views/react/customers/components/keybindhints.tsx","../src/views/react/customers/components/loadingstate.tsx","../src/views/react/customers/components/searchinput.tsx","../src/views/react/customers/components/titlebar.tsx","../src/views/react/customers/components/index.ts","../src/views/react/customers/components/sections/balancessection.tsx","../src/views/react/customers/components/sections/entitiessection.tsx","../src/views/react/customers/components/sections/invoicessection.tsx","../src/views/react/customers/components/sections/referralssection.tsx","../src/views/react/customers/components/sections/rewardssection.tsx","../src/views/react/customers/components/sections/subscriptionssection.tsx","../src/views/react/customers/components/sections/index.ts","../src/views/react/events/eventsview.tsx","../src/views/react/events/index.ts","../src/views/react/events/components/eventsheet.tsx","../src/views/react/events/components/eventsaggregateview.tsx","../src/views/react/events/components/eventsfiltersheet.tsx","../src/views/react/events/components/index.ts","../src/views/react/features/featuresview.tsx","../src/views/react/features/index.ts","../src/views/react/features/components/featuresheet.tsx","../src/views/react/features/components/index.ts","../src/views/react/init/headlessinitflow.tsx","../src/views/react/init/initflow.tsx","../src/views/react/init/steps/agentstep.tsx","../src/views/react/init/steps/authstep.tsx","../src/views/react/init/steps/configstep.tsx","../src/views/react/init/steps/handoffstep.tsx","../src/views/react/init/steps/pathinputstep.tsx","../src/views/react/init/steps/stripestep.tsx","../src/views/react/login/loginview.tsx","../src/views/react/nuke/inlinenukeflow.tsx","../src/views/react/nuke/nukeanimation.tsx","../src/views/react/nuke/nukeview.tsx","../src/views/react/nuke/components/backupprompt.tsx","../src/views/react/nuke/components/confirmscreen.tsx","../src/views/react/nuke/components/deletionprogress.tsx","../src/views/react/nuke/components/finalsummary.tsx","../src/views/react/nuke/components/successscreen.tsx","../src/views/react/nuke/components/warningscreen.tsx","../src/views/react/preview/planpreviewcard.tsx","../src/views/react/preview/previewview.tsx","../src/views/react/preview/index.ts","../src/views/react/primitives/index.ts","../src/views/react/primitives/input/searchinput.tsx","../src/views/react/primitives/input/index.ts","../src/views/react/primitives/layout/bottombar.tsx","../src/views/react/primitives/layout/listviewlayout.tsx","../src/views/react/primitives/layout/splitpane.tsx","../src/views/react/primitives/layout/titlebar.tsx","../src/views/react/primitives/layout/index.ts","../src/views/react/primitives/sheet/detailsheet.tsx","../src/views/react/primitives/sheet/sheetsection.tsx","../src/views/react/primitives/sheet/index.ts","../src/views/react/primitives/states/emptystate.tsx","../src/views/react/primitives/states/errorstate.tsx","../src/views/react/primitives/states/loadingstate.tsx","../src/views/react/primitives/states/index.ts","../src/views/react/primitives/table/datatable.tsx","../src/views/react/primitives/table/tablerow.tsx","../src/views/react/primitives/table/index.ts","../src/views/react/primitives/utils/formatdate.ts","../src/views/react/primitives/utils/index.ts","../src/views/react/primitives/utils/pagination.ts","../src/views/react/primitives/utils/truncate.ts","../src/views/react/products/productsview.tsx","../src/views/react/products/index.ts","../src/views/react/products/components/productsheet.tsx","../src/views/react/products/components/index.ts","../src/views/react/pull/pull.tsx","../src/views/react/pull/components/featurerow.tsx","../src/views/react/pull/components/filerow.tsx","../src/views/react/pull/components/planrow.tsx","../src/views/react/pull/components/index.ts","../src/views/react/push/push.tsx","../src/views/react/push/index.ts","../src/views/react/push/components/completionmessage.tsx","../src/views/react/push/components/errorcard.tsx","../src/views/react/push/components/featurescard.tsx","../src/views/react/push/components/nochangescard.tsx","../src/views/react/push/components/orgcard.tsx","../src/views/react/push/components/overviewcard.tsx","../src/views/react/push/components/planscard.tsx","../src/views/react/push/components/pushpromptcard.tsx","../src/views/react/push/components/index.ts","../src/views/react/template/templateselector.tsx","../src/views/react/template2/badge.tsx","../src/views/react/template2/plancard.tsx","../src/views/react/template2/templaterow.tsx","../src/views/react/template2/templateselector2.tsx","../src/views/react/template2/data.ts","../src/views/react/template2/index.ts"]}
|
|
1
|
+
{"version":"7.0.0-dev.20260511.1","root":["../src/cli.tsx","../src/constants.ts","../src/commands/auth/command.ts","../src/commands/auth/constants.ts","../src/commands/auth/oauth.ts","../src/commands/config/command.ts","../src/commands/customers/command.tsx","../src/commands/customers/headless.ts","../src/commands/customers/index.ts","../src/commands/events/command.tsx","../src/commands/events/headless.ts","../src/commands/events/index.ts","../src/commands/events-aggregate-test/command.ts","../src/commands/events-aggregate-test/index.ts","../src/commands/features/command.tsx","../src/commands/features/headless.ts","../src/commands/features/index.ts","../src/commands/nuke/backup.ts","../src/commands/nuke/deletions.ts","../src/commands/nuke/legacyNuke.ts","../src/commands/nuke/types.ts","../src/commands/nuke/validation.ts","../src/commands/preview/index.ts","../src/commands/preview/loadConfig.ts","../src/commands/preview/previewPlan.ts","../src/commands/products/command.tsx","../src/commands/products/headless.ts","../src/commands/products/index.ts","../src/commands/pull/index.ts","../src/commands/pull/mergeEnvironments.ts","../src/commands/pull/pull.ts","../src/commands/pull/pullFromEnvironment.ts","../src/commands/pull/sdkTypes.ts","../src/commands/pull/types.ts","../src/commands/pull/writeConfig.ts","../src/commands/push/headless.ts","../src/commands/push/index.ts","../src/commands/push/prompts.ts","../src/commands/push/push.ts","../src/commands/push/types.ts","../src/commands/push/validate.ts","../src/commands/push/variantPropagation.ts","../src/commands/test-diff/command.ts","../src/commands/test-diff/index.ts","../src/commands/test-template/command.tsx","../src/compose/index.ts","../src/compose/builders/builderFunctions.ts","../src/compose/builders/variantFunctions.ts","../src/compose/models/featureModels.ts","../src/compose/models/index.ts","../src/compose/models/planModels.ts","../src/compose/models/variantModels.ts","../src/lib/utils.ts","../src/lib/version.ts","../src/lib/writeEmptyConfig.ts","../src/lib/animation/explosion.ts","../src/lib/api/client.ts","../src/lib/api/endpoints/catalog.ts","../src/lib/api/endpoints/customers.ts","../src/lib/api/endpoints/events.ts","../src/lib/api/endpoints/features.ts","../src/lib/api/endpoints/index.ts","../src/lib/api/endpoints/organization.ts","../src/lib/api/endpoints/plans.ts","../src/lib/api/types/feature.ts","../src/lib/api/types/index.ts","../src/lib/api/types/organization.ts","../src/lib/api/types/plan.ts","../src/lib/api/types/planItem.ts","../src/lib/auth/headlessAuthRecovery.ts","../src/lib/constants/templates.ts","../src/lib/constants/templates/index.ts","../src/lib/constants/templates/linear.config.ts","../src/lib/constants/templates/openai.config.ts","../src/lib/constants/templates/railway.config.ts","../src/lib/constants/templates/t3chat.config.ts","../src/lib/env/cliContext.ts","../src/lib/env/detect.ts","../src/lib/env/dotenv.ts","../src/lib/env/index.ts","../src/lib/env/keys.ts","../src/lib/headless/CustomersController.ts","../src/lib/headless/FeaturesController.ts","../src/lib/headless/PlansController.ts","../src/lib/headless/index.ts","../src/lib/headless/types.ts","../src/lib/hooks/index.ts","../src/lib/hooks/useAgentSetup.ts","../src/lib/hooks/useAuthRecovery.ts","../src/lib/hooks/useClipboard.ts","../src/lib/hooks/useConfigCounts.ts","../src/lib/hooks/useCreateGuides.ts","../src/lib/hooks/useCreateSkills.ts","../src/lib/hooks/useCustomerExpanded.ts","../src/lib/hooks/useCustomerNavigation.ts","../src/lib/hooks/useCustomers.ts","../src/lib/hooks/useEnvironmentStore.ts","../src/lib/hooks/useEvents.ts","../src/lib/hooks/useEventsAggregate.ts","../src/lib/hooks/useEventsAggregateApi.ts","../src/lib/hooks/useEventsFilter.ts","../src/lib/hooks/useFeatures.ts","../src/lib/hooks/useHasCustomers.ts","../src/lib/hooks/useHeadlessAuth.ts","../src/lib/hooks/useListNavigation.ts","../src/lib/hooks/useLogin.ts","../src/lib/hooks/useNuke.ts","../src/lib/hooks/useNukeData.ts","../src/lib/hooks/useOrganization.ts","../src/lib/hooks/usePlans.ts","../src/lib/hooks/usePull.ts","../src/lib/hooks/usePush.ts","../src/lib/hooks/useTerminalSize.ts","../src/lib/hooks/useVisibleRowCount.ts","../src/lib/hooks/useWriteTemplateConfig.ts","../src/lib/transforms/index.ts","../src/lib/transforms/apiToSdk/Transformer.test.ts","../src/lib/transforms/apiToSdk/Transformer.ts","../src/lib/transforms/apiToSdk/feature.ts","../src/lib/transforms/apiToSdk/helpers.ts","../src/lib/transforms/apiToSdk/index.ts","../src/lib/transforms/apiToSdk/plan.ts","../src/lib/transforms/apiToSdk/planItem.ts","../src/lib/transforms/inPlaceUpdate/index.ts","../src/lib/transforms/inPlaceUpdate/parseConfig.ts","../src/lib/transforms/inPlaceUpdate/updateConfig.ts","../src/lib/transforms/sdkToApi/feature.ts","../src/lib/transforms/sdkToApi/index.ts","../src/lib/transforms/sdkToApi/plan.ts","../src/lib/transforms/sdkToCode/configFile.ts","../src/lib/transforms/sdkToCode/feature.ts","../src/lib/transforms/sdkToCode/helpers.test.ts","../src/lib/transforms/sdkToCode/helpers.ts","../src/lib/transforms/sdkToCode/imports.ts","../src/lib/transforms/sdkToCode/index.ts","../src/lib/transforms/sdkToCode/plan.ts","../src/lib/transforms/sdkToCode/planItem.ts","../src/lib/transforms/sdkToCode/variant.ts","../src/lib/utils/index.ts","../src/lib/utils/monorepo.ts","../src/prompts/skills/autumn-billing-page.ts","../src/prompts/skills/autumn-gating.ts","../src/prompts/skills/autumn-modelling-pricing-plans.ts","../src/prompts/skills/autumn-setup.ts","../src/prompts/skills/index.ts","../src/views/App.tsx","../src/views/html/oauth-callback.ts","../src/views/react/test-agent.tsx","../src/views/react/components/AuthRecoveryBoundary.tsx","../src/views/react/components/Card.tsx","../src/views/react/components/KeyValue.tsx","../src/views/react/components/LoadingText.tsx","../src/views/react/components/MultiSelect.tsx","../src/views/react/components/ProgressBar.tsx","../src/views/react/components/PromptCard.tsx","../src/views/react/components/SelectMenu.tsx","../src/views/react/components/StatusLine.tsx","../src/views/react/components/StatusRow.tsx","../src/views/react/components/StepHeader.tsx","../src/views/react/components/index.ts","../src/views/react/components/providers/CardWidthContext.tsx","../src/views/react/components/providers/QueryProvider.tsx","../src/views/react/components/providers/index.ts","../src/views/react/customers/CustomersView.tsx","../src/views/react/customers/types.ts","../src/views/react/customers/components/CustomerRow.tsx","../src/views/react/customers/components/CustomerSheet.tsx","../src/views/react/customers/components/CustomersTable.tsx","../src/views/react/customers/components/EmptyState.tsx","../src/views/react/customers/components/ErrorState.tsx","../src/views/react/customers/components/KeybindHints.tsx","../src/views/react/customers/components/LoadingState.tsx","../src/views/react/customers/components/SearchInput.tsx","../src/views/react/customers/components/TitleBar.tsx","../src/views/react/customers/components/index.ts","../src/views/react/customers/components/sections/BalancesSection.tsx","../src/views/react/customers/components/sections/EntitiesSection.tsx","../src/views/react/customers/components/sections/InvoicesSection.tsx","../src/views/react/customers/components/sections/ReferralsSection.tsx","../src/views/react/customers/components/sections/RewardsSection.tsx","../src/views/react/customers/components/sections/SubscriptionsSection.tsx","../src/views/react/customers/components/sections/index.ts","../src/views/react/events/EventsView.tsx","../src/views/react/events/index.ts","../src/views/react/events/components/EventSheet.tsx","../src/views/react/events/components/EventsAggregateView.tsx","../src/views/react/events/components/EventsFilterSheet.tsx","../src/views/react/events/components/index.ts","../src/views/react/features/FeaturesView.tsx","../src/views/react/features/index.ts","../src/views/react/features/components/FeatureSheet.tsx","../src/views/react/features/components/index.ts","../src/views/react/init/HeadlessInitFlow.tsx","../src/views/react/init/InitFlow.tsx","../src/views/react/init/steps/AgentStep.tsx","../src/views/react/init/steps/AuthStep.tsx","../src/views/react/init/steps/ConfigStep.tsx","../src/views/react/init/steps/HandoffStep.tsx","../src/views/react/init/steps/PathInputStep.tsx","../src/views/react/init/steps/StripeStep.tsx","../src/views/react/login/LoginView.tsx","../src/views/react/nuke/InlineNukeFlow.tsx","../src/views/react/nuke/NukeAnimation.tsx","../src/views/react/nuke/NukeView.tsx","../src/views/react/nuke/components/BackupPrompt.tsx","../src/views/react/nuke/components/ConfirmScreen.tsx","../src/views/react/nuke/components/DeletionProgress.tsx","../src/views/react/nuke/components/FinalSummary.tsx","../src/views/react/nuke/components/SuccessScreen.tsx","../src/views/react/nuke/components/WarningScreen.tsx","../src/views/react/preview/PlanPreviewCard.tsx","../src/views/react/preview/PreviewView.tsx","../src/views/react/preview/index.ts","../src/views/react/primitives/index.ts","../src/views/react/primitives/input/SearchInput.tsx","../src/views/react/primitives/input/index.ts","../src/views/react/primitives/layout/BottomBar.tsx","../src/views/react/primitives/layout/ListViewLayout.tsx","../src/views/react/primitives/layout/SplitPane.tsx","../src/views/react/primitives/layout/TitleBar.tsx","../src/views/react/primitives/layout/index.ts","../src/views/react/primitives/sheet/DetailSheet.tsx","../src/views/react/primitives/sheet/SheetSection.tsx","../src/views/react/primitives/sheet/index.ts","../src/views/react/primitives/states/EmptyState.tsx","../src/views/react/primitives/states/ErrorState.tsx","../src/views/react/primitives/states/LoadingState.tsx","../src/views/react/primitives/states/index.ts","../src/views/react/primitives/table/DataTable.tsx","../src/views/react/primitives/table/TableRow.tsx","../src/views/react/primitives/table/index.ts","../src/views/react/primitives/utils/formatDate.ts","../src/views/react/primitives/utils/index.ts","../src/views/react/primitives/utils/pagination.ts","../src/views/react/primitives/utils/truncate.ts","../src/views/react/products/ProductsView.tsx","../src/views/react/products/index.ts","../src/views/react/products/components/ProductSheet.tsx","../src/views/react/products/components/index.ts","../src/views/react/pull/Pull.tsx","../src/views/react/pull/components/FeatureRow.tsx","../src/views/react/pull/components/FileRow.tsx","../src/views/react/pull/components/PlanRow.tsx","../src/views/react/pull/components/index.ts","../src/views/react/push/Push.tsx","../src/views/react/push/index.ts","../src/views/react/push/components/CompletionMessage.tsx","../src/views/react/push/components/ErrorCard.tsx","../src/views/react/push/components/FeaturesCard.tsx","../src/views/react/push/components/NoChangesCard.tsx","../src/views/react/push/components/OrgCard.tsx","../src/views/react/push/components/OverviewCard.tsx","../src/views/react/push/components/PlansCard.tsx","../src/views/react/push/components/PushPromptCard.tsx","../src/views/react/push/components/index.ts","../src/views/react/template/TemplateSelector.tsx","../src/views/react/template2/Badge.tsx","../src/views/react/template2/PlanCard.tsx","../src/views/react/template2/TemplateRow.tsx","../src/views/react/template2/TemplateSelector2.tsx","../src/views/react/template2/data.ts","../src/views/react/template2/index.ts"]}
|
package/package.json
CHANGED
|
@@ -1,120 +1,99 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"tsup": "^8.5.0",
|
|
100
|
-
"typescript": "^5.0.3",
|
|
101
|
-
"xo": "^0.53.1"
|
|
102
|
-
},
|
|
103
|
-
"ava": {
|
|
104
|
-
"extensions": {
|
|
105
|
-
"ts": "module",
|
|
106
|
-
"tsx": "module"
|
|
107
|
-
},
|
|
108
|
-
"nodeArguments": [
|
|
109
|
-
"--loader=ts-node/esm"
|
|
110
|
-
]
|
|
111
|
-
},
|
|
112
|
-
"xo": {
|
|
113
|
-
"extends": "xo-react",
|
|
114
|
-
"prettier": true,
|
|
115
|
-
"rules": {
|
|
116
|
-
"react/prop-types": "off"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"prettier": "@vdemedes/prettier-config"
|
|
2
|
+
"name": "atmn",
|
|
3
|
+
"version": "1.1.15",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"bin": {
|
|
6
|
+
"atmn": "dist/cli.js"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/useautumn/autumn.git",
|
|
11
|
+
"directory": "packages/atmn"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://docs.useautumn.com/api-reference/cli/getting-started",
|
|
14
|
+
"main": "dist/compose/index.js",
|
|
15
|
+
"types": "dist/src/compose/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/src/compose/index.d.ts",
|
|
19
|
+
"import": "./dist/compose/index.js",
|
|
20
|
+
"default": "./dist/compose/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./skills": {
|
|
23
|
+
"types": "./src/prompts/skills/index.ts",
|
|
24
|
+
"import": "./src/prompts/skills/index.ts",
|
|
25
|
+
"default": "./src/prompts/skills/index.ts"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"type": "module",
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=16"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"ts": "bunx tsgo --build --noEmit",
|
|
34
|
+
"build": "bun run bun.config.ts",
|
|
35
|
+
"dev": "nodemon -e ts,tsx --watch src --ignore dist --exec \"bun run bun.config.ts\"",
|
|
36
|
+
"dev:bun": "bun run dev.ts",
|
|
37
|
+
"test": "bun test test/*.test.ts test/codegen test/nuke test/pull test/push test/workflow",
|
|
38
|
+
"test:integration": "cd ../../server && ENV_FILE=.env infisical run --env=dev --recursive -- bun test --timeout 0 ../packages/atmn/test/integration",
|
|
39
|
+
"test:integration:cli": "cd ../../server && ENV_FILE=.env infisical run --env=dev --recursive -- bun ../packages/atmn/test/integration/cli.ts",
|
|
40
|
+
"test:unit": "bun test test/codegen",
|
|
41
|
+
"test:watch": "bun test --watch",
|
|
42
|
+
"test2": "prettier --check . && xo && ava",
|
|
43
|
+
"test-cli": "node --trace-deprecation -- ./dist/cli.js"
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"dist",
|
|
47
|
+
"package.json",
|
|
48
|
+
"README.md"
|
|
49
|
+
],
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@inquirer/prompts": "^7.6.0",
|
|
52
|
+
"@mishieck/ink-titled-box": "^0.3.0",
|
|
53
|
+
"@tanstack/react-query": "^5.90.17",
|
|
54
|
+
"@types/prettier": "^3.0.0",
|
|
55
|
+
"arctic": "^3.7.0",
|
|
56
|
+
"axios": "^1.10.0",
|
|
57
|
+
"cfonts": "^3.3.1",
|
|
58
|
+
"chalk": "^5.2.0",
|
|
59
|
+
"clipboardy": "^5.0.2",
|
|
60
|
+
"commander": "^14.0.0",
|
|
61
|
+
"dotenv": "^17.2.0",
|
|
62
|
+
"ervy": "^1.0.7",
|
|
63
|
+
"ink": "^6.6.0",
|
|
64
|
+
"ink-big-text": "^2.0.0",
|
|
65
|
+
"ink-chart": "^0.1.1",
|
|
66
|
+
"ink-confirm-input": "^2.0.0",
|
|
67
|
+
"ink-scroll-list": "^0.4.1",
|
|
68
|
+
"ink-scroll-view": "^0.3.5",
|
|
69
|
+
"ink-select-input": "^6.2.0",
|
|
70
|
+
"ink-spinner": "^5.0.0",
|
|
71
|
+
"ink-table": "^3.1.0",
|
|
72
|
+
"ink-text-input": "^6.0.0",
|
|
73
|
+
"inquirer": "^12.7.0",
|
|
74
|
+
"jiti": "^2.4.2",
|
|
75
|
+
"open": "^10.1.2",
|
|
76
|
+
"prettier": "^3.6.2",
|
|
77
|
+
"react": "^19.2.3",
|
|
78
|
+
"yocto-spinner": "^1.0.0",
|
|
79
|
+
"zod": "^4.0.0",
|
|
80
|
+
"conf": "^13.0.1"
|
|
81
|
+
},
|
|
82
|
+
"ava": {
|
|
83
|
+
"extensions": {
|
|
84
|
+
"ts": "module",
|
|
85
|
+
"tsx": "module"
|
|
86
|
+
},
|
|
87
|
+
"nodeArguments": [
|
|
88
|
+
"--loader=ts-node/esm"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"xo": {
|
|
92
|
+
"extends": "xo-react",
|
|
93
|
+
"prettier": true,
|
|
94
|
+
"rules": {
|
|
95
|
+
"react/prop-types": "off"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"prettier": "@vdemedes/prettier-config"
|
|
120
99
|
}
|