@haakco/hostingctl 1.0.685 → 1.0.689
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 +1 -0
- package/dist/main.js +387 -38
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
- package/platform/darwin-arm64/hostingctl +0 -0
- package/platform/darwin-x64/hostingctl +0 -0
- package/platform/linux-arm64/hostingctl +0 -0
- package/platform/linux-x64/hostingctl +0 -0
- package/platform/windows-x64/hostingctl.exe +0 -0
package/dist/main.js
CHANGED
|
@@ -32941,6 +32941,8 @@ function hostingBackupDestinationStore(options) {
|
|
|
32941
32941
|
}));
|
|
32942
32942
|
}
|
|
32943
32943
|
/**
|
|
32944
|
+
* @description It takes the copy lock so the destination cannot be removed between a pass's read of it and that pass's
|
|
32945
|
+
* record of what reached it.
|
|
32944
32946
|
* @summary The destination is removed; copies already written to it are the client's to keep or expire
|
|
32945
32947
|
* {@link /c/:company/hosting/backup-destination}
|
|
32946
32948
|
*/
|
|
@@ -32958,6 +32960,54 @@ function hostingBackupDestinationDestroy(options) {
|
|
|
32958
32960
|
}));
|
|
32959
32961
|
}
|
|
32960
32962
|
/**
|
|
32963
|
+
* {@link /c/:company/hosting/environments/:environmentUuid/backup-requests}
|
|
32964
|
+
*/
|
|
32965
|
+
function hostingBackupRequestsIndex(options) {
|
|
32966
|
+
const { client: request = client, ...config } = options;
|
|
32967
|
+
return withUnwrap(request({
|
|
32968
|
+
method: "GET",
|
|
32969
|
+
url: "/c/{company}/hosting/environments/{environmentUuid}/backup-requests",
|
|
32970
|
+
security: [{
|
|
32971
|
+
type: "http",
|
|
32972
|
+
scheme: "bearer"
|
|
32973
|
+
}],
|
|
32974
|
+
...config,
|
|
32975
|
+
throwOnError: config.throwOnError ?? true
|
|
32976
|
+
}));
|
|
32977
|
+
}
|
|
32978
|
+
/**
|
|
32979
|
+
* {@link /c/:company/hosting/environments/:environmentUuid/backup-requests}
|
|
32980
|
+
*/
|
|
32981
|
+
function hostingBackupRequestsStore(options) {
|
|
32982
|
+
const { client: request = client, ...config } = options;
|
|
32983
|
+
return withUnwrap(request({
|
|
32984
|
+
method: "POST",
|
|
32985
|
+
url: "/c/{company}/hosting/environments/{environmentUuid}/backup-requests",
|
|
32986
|
+
security: [{
|
|
32987
|
+
type: "http",
|
|
32988
|
+
scheme: "bearer"
|
|
32989
|
+
}],
|
|
32990
|
+
...config,
|
|
32991
|
+
throwOnError: config.throwOnError ?? true
|
|
32992
|
+
}));
|
|
32993
|
+
}
|
|
32994
|
+
/**
|
|
32995
|
+
* {@link /c/:company/hosting/environments/:environmentUuid/backup-requests/:backupRequestUuid}
|
|
32996
|
+
*/
|
|
32997
|
+
function hostingBackupRequestsShow(options) {
|
|
32998
|
+
const { client: request = client, ...config } = options;
|
|
32999
|
+
return withUnwrap(request({
|
|
33000
|
+
method: "GET",
|
|
33001
|
+
url: "/c/{company}/hosting/environments/{environmentUuid}/backup-requests/{backupRequestUuid}",
|
|
33002
|
+
security: [{
|
|
33003
|
+
type: "http",
|
|
33004
|
+
scheme: "bearer"
|
|
33005
|
+
}],
|
|
33006
|
+
...config,
|
|
33007
|
+
throwOnError: config.throwOnError ?? true
|
|
33008
|
+
}));
|
|
33009
|
+
}
|
|
33010
|
+
/**
|
|
32961
33011
|
* {@link /c/:company/hosting/environments/:environmentUuid/applications/:workloadUuid/builds/:buildUuid/log}
|
|
32962
33012
|
*/
|
|
32963
33013
|
function hostingDeploymentBuildLog(options) {
|
|
@@ -39527,7 +39577,7 @@ function notificationsText(page) {
|
|
|
39527
39577
|
return ` ${one.createdAt} ${read} ${one.title} ${one.id}`;
|
|
39528
39578
|
}).join("\n");
|
|
39529
39579
|
}
|
|
39530
|
-
function statusText$
|
|
39580
|
+
function statusText$3(report) {
|
|
39531
39581
|
const lines = [
|
|
39532
39582
|
`Profile "${report.profile}" → ${report.apiUrl}`,
|
|
39533
39583
|
` client ${report.clientId}`,
|
|
@@ -39554,7 +39604,7 @@ function authText(report) {
|
|
|
39554
39604
|
if ("kind" in report && report.kind === "push-token") return authPushText(report);
|
|
39555
39605
|
if (isProfiles(report)) return profilesText(report);
|
|
39556
39606
|
if (isLogin(report)) return loginText(report);
|
|
39557
|
-
if (isStatus(report)) return statusText$
|
|
39607
|
+
if (isStatus(report)) return statusText$3(report);
|
|
39558
39608
|
if (isLogout(report)) return logoutText(report);
|
|
39559
39609
|
if (isImpersonation(report)) return impersonationText(report);
|
|
39560
39610
|
if ("kind" in report && (report.kind === "sent-emails" || report.kind === "sent-email")) return sentEmailText(report);
|
|
@@ -40062,13 +40112,13 @@ function isSessionlessMailboxCommand(argv) {
|
|
|
40062
40112
|
async function runMailboxRecovery(context, rest) {
|
|
40063
40113
|
const [action, extra] = rest;
|
|
40064
40114
|
if (extra !== void 0) throw new UsageError(USAGE$54);
|
|
40065
|
-
if (action === "request") return await request$
|
|
40115
|
+
if (action === "request") return await request$2(context);
|
|
40066
40116
|
if (action === "verify") return await verify$1(context);
|
|
40067
40117
|
if (action === "reset") return await reset(context);
|
|
40068
40118
|
throw new UsageError(USAGE$54);
|
|
40069
40119
|
}
|
|
40070
40120
|
/** `request`: the answer is deliberately identical whether or not an eligible mailbox exists. */
|
|
40071
|
-
async function request$
|
|
40121
|
+
async function request$2(context) {
|
|
40072
40122
|
const address = context.flags.get("--address");
|
|
40073
40123
|
if (address === void 0 || address === "") throw new UsageError(USAGE$54);
|
|
40074
40124
|
return await confirmableWrite(context, `Request a mailbox recovery link for ${address}. The answer is the same for an unknown mailbox, one with no confirmed fallback, and an eligible one.`, async () => (await emailMailboxRecoveryRequest({ body: { address } })).data);
|
|
@@ -44489,22 +44539,38 @@ function destinationText(destination) {
|
|
|
44489
44539
|
//#endregion
|
|
44490
44540
|
//#region src/commands/backups-metadata.ts
|
|
44491
44541
|
/**
|
|
44492
|
-
* `backups` — the state of one environment's backup tracks.
|
|
44542
|
+
* `backups` — the state of one environment's backup tracks, and the fresh backup a client can ask for.
|
|
44493
44543
|
*
|
|
44494
|
-
* The tracks are read whole, so the command
|
|
44544
|
+
* The tracks are read whole, so the read command takes no flag of its own beyond the global `--company`. The
|
|
44545
|
+
* request writes through the shared `--confirm`/`--dry-run` contract, and the two request reads take the
|
|
44546
|
+
* environment or the request's own UUID.
|
|
44495
44547
|
*/
|
|
44496
44548
|
var BACKUPS_USAGE = [
|
|
44497
44549
|
"Usage: hostingctl backups <environment-uuid> --company <slug>",
|
|
44550
|
+
" hostingctl backups requests <environment-uuid> --company <slug>",
|
|
44551
|
+
" hostingctl backups request-show <environment-uuid> <request-uuid> --company <slug>",
|
|
44552
|
+
" hostingctl backups request <environment-uuid> --company <slug>",
|
|
44553
|
+
"",
|
|
44554
|
+
" (bare) Each backup track's state and the newest restore point across them.",
|
|
44555
|
+
" requests The fresh backups this environment has asked for, newest first.",
|
|
44556
|
+
" request-show One fresh backup request, with its state and any actionable failure.",
|
|
44557
|
+
" request Ask for a fresh backup of the application files and managed databases, copied to the",
|
|
44558
|
+
" company's own armed bucket. Writing needs --confirm; --dry-run describes it.",
|
|
44498
44559
|
"",
|
|
44499
|
-
"The
|
|
44500
|
-
"
|
|
44560
|
+
"The company's own bucket is reported separately: it is a second copy, written after ours. A request is",
|
|
44561
|
+
"reported queued, in progress, complete or failed from the request's own state; asking while one is still",
|
|
44562
|
+
"open is refused by name."
|
|
44501
44563
|
].join("\n");
|
|
44502
44564
|
var BACKUPS_METADATA = {
|
|
44503
44565
|
name: "backups",
|
|
44504
|
-
summary: "Backup states and the newest restore point for one environment.",
|
|
44566
|
+
summary: "Backup states and the newest restore point for one environment, and the fresh backup a client can ask for.",
|
|
44505
44567
|
usage: BACKUPS_USAGE,
|
|
44506
44568
|
flags: [],
|
|
44507
|
-
subcommands: [
|
|
44569
|
+
subcommands: [
|
|
44570
|
+
"requests",
|
|
44571
|
+
"request-show",
|
|
44572
|
+
"request"
|
|
44573
|
+
]
|
|
44508
44574
|
};
|
|
44509
44575
|
//#endregion
|
|
44510
44576
|
//#region src/commands/backups.ts
|
|
@@ -44516,34 +44582,111 @@ function clientCopyLine(copy) {
|
|
|
44516
44582
|
const when = copy.completedAt ?? copy.attemptedAt ?? "never";
|
|
44517
44583
|
return `own bucket ${copy.state} ${progress} ${when}${copy.failure === null ? "" : ` — ${copy.failure}`}`;
|
|
44518
44584
|
}
|
|
44585
|
+
/** The API's own status words in the words a request means to a client. */
|
|
44586
|
+
var STATUS_LABEL = {
|
|
44587
|
+
pending: "queued",
|
|
44588
|
+
running: "in progress",
|
|
44589
|
+
completed: "complete",
|
|
44590
|
+
failed: "failed",
|
|
44591
|
+
cancelled: "cancelled"
|
|
44592
|
+
};
|
|
44519
44593
|
/**
|
|
44520
44594
|
* `backups <uuid>`: what is protected, and from when.
|
|
44521
44595
|
*
|
|
44522
44596
|
* The spec's row asks for "backup states and the newest restore point". The newest restore point is the
|
|
44523
44597
|
* latest success among the tracks, falling back to the status's own `lastSuccessAt`, and `recovery` says what
|
|
44524
44598
|
* that can actually recover from. Each of those is the API's own field; none is derived here.
|
|
44599
|
+
*
|
|
44600
|
+
* Beside it, `request` asks for a fresh capture of both tracks to the company's own armed bucket,
|
|
44601
|
+
* `requests` lists what this environment has asked for, and `request-show` reads one of those requests.
|
|
44602
|
+
* A bare first argument that is not one of those words is still the environment UUID, so the existing read
|
|
44603
|
+
* keeps working unchanged.
|
|
44525
44604
|
*/
|
|
44526
44605
|
var backups = {
|
|
44527
44606
|
...BACKUPS_METADATA,
|
|
44528
44607
|
async run(context) {
|
|
44529
|
-
const [
|
|
44530
|
-
if (
|
|
44608
|
+
const [first, ...rest] = context.positional;
|
|
44609
|
+
if (first === "requests") return await requests(context, rest);
|
|
44610
|
+
if (first === "request-show") return await requestShow(context, rest);
|
|
44611
|
+
if (first === "request") return await request$1(context, rest);
|
|
44612
|
+
if (first === void 0 || rest.length > 0) throw new UsageError(BACKUPS_USAGE);
|
|
44531
44613
|
return (await hostingBackupShow({ path: {
|
|
44532
44614
|
company: await requireCompany(context.flags),
|
|
44533
|
-
environmentUuid:
|
|
44615
|
+
environmentUuid: first
|
|
44534
44616
|
} })).data;
|
|
44535
44617
|
},
|
|
44536
44618
|
human(report) {
|
|
44537
|
-
|
|
44538
|
-
|
|
44539
|
-
|
|
44540
|
-
|
|
44541
|
-
|
|
44542
|
-
|
|
44543
|
-
clientCopyLine(report.clientCopy)
|
|
44544
|
-
].join("\n");
|
|
44619
|
+
if ("kind" in report) {
|
|
44620
|
+
if (report.kind === "requests") return requestsText(report.page);
|
|
44621
|
+
if (report.kind === "request") return requestLine(report.request);
|
|
44622
|
+
return renderWriteOutcome(report.outcome, requestLine);
|
|
44623
|
+
}
|
|
44624
|
+
return statusText$2(report);
|
|
44545
44625
|
}
|
|
44546
44626
|
};
|
|
44627
|
+
/** `requests <environment-uuid>`: the fresh backups this environment has asked for, newest first. */
|
|
44628
|
+
async function requests(context, rest) {
|
|
44629
|
+
const [uuid] = rest;
|
|
44630
|
+
if (uuid === void 0 || rest.length > 1) throw new UsageError(BACKUPS_USAGE);
|
|
44631
|
+
return {
|
|
44632
|
+
kind: "requests",
|
|
44633
|
+
page: (await hostingBackupRequestsIndex({ path: {
|
|
44634
|
+
company: await requireCompany(context.flags),
|
|
44635
|
+
environmentUuid: uuid
|
|
44636
|
+
} })).data
|
|
44637
|
+
};
|
|
44638
|
+
}
|
|
44639
|
+
/** `request-show <environment-uuid> <request-uuid>`: one request's state. */
|
|
44640
|
+
async function requestShow(context, rest) {
|
|
44641
|
+
const [environmentUuid, requestUuid] = rest;
|
|
44642
|
+
if (environmentUuid === void 0 || requestUuid === void 0 || rest.length > 2) throw new UsageError(BACKUPS_USAGE);
|
|
44643
|
+
return {
|
|
44644
|
+
kind: "request",
|
|
44645
|
+
request: (await hostingBackupRequestsShow({ path: {
|
|
44646
|
+
company: await requireCompany(context.flags),
|
|
44647
|
+
environmentUuid,
|
|
44648
|
+
backupRequestUuid: requestUuid
|
|
44649
|
+
} })).data
|
|
44650
|
+
};
|
|
44651
|
+
}
|
|
44652
|
+
/** `request <environment-uuid>`: ask for a fresh backup, copied to the company's own armed bucket. */
|
|
44653
|
+
async function request$1(context, rest) {
|
|
44654
|
+
const [uuid] = rest;
|
|
44655
|
+
if (uuid === void 0 || rest.length > 1) throw new UsageError(BACKUPS_USAGE);
|
|
44656
|
+
const company = await requireCompany(context.flags);
|
|
44657
|
+
return {
|
|
44658
|
+
kind: "request-write",
|
|
44659
|
+
outcome: await confirmableWrite(context, `Ask for a fresh backup of environment ${uuid}: a new capture of its application files and managed databases, copied to the company's own armed bucket.`, async () => (await hostingBackupRequestsStore({ path: {
|
|
44660
|
+
company,
|
|
44661
|
+
environmentUuid: uuid
|
|
44662
|
+
} })).data)
|
|
44663
|
+
};
|
|
44664
|
+
}
|
|
44665
|
+
/** The backup status as a few readable lines: recovery, the newest restore point, each track and the own copy. */
|
|
44666
|
+
function statusText$2(report) {
|
|
44667
|
+
const newest = report.tracks.map((track) => track.lastSuccessAt).filter((at) => at !== null).sort().at(-1) ?? report.lastSuccessAt ?? "never";
|
|
44668
|
+
const tracks = report.tracks.map((track) => ` ${track.kind} ${track.name} ${track.state} last success ${track.lastSuccessAt ?? "never"}`);
|
|
44669
|
+
return [
|
|
44670
|
+
`recovery ${report.recovery}`,
|
|
44671
|
+
`newest restore point ${newest}`,
|
|
44672
|
+
...tracks.length === 0 ? [" no backup tracks are recorded for this environment"] : tracks,
|
|
44673
|
+
clientCopyLine(report.clientCopy)
|
|
44674
|
+
].join("\n");
|
|
44675
|
+
}
|
|
44676
|
+
/** Every request in the page, one line each; an empty history says so rather than printing nothing. */
|
|
44677
|
+
function requestsText(page) {
|
|
44678
|
+
if (page.requests.length === 0) return "No fresh backups have been asked for from this environment.";
|
|
44679
|
+
return page.requests.map(requestLine).join("\n");
|
|
44680
|
+
}
|
|
44681
|
+
/** One request: its state, when it was asked for, and when it finished. */
|
|
44682
|
+
function requestLine(request) {
|
|
44683
|
+
const finished = request.completedAt ?? "not yet";
|
|
44684
|
+
return [
|
|
44685
|
+
`request ${request.uuid} ${STATUS_LABEL[request.status]}`,
|
|
44686
|
+
` asked ${request.requestedAt} finished ${finished}`,
|
|
44687
|
+
...request.failureReason === null ? [] : [` ${request.failureReason}`]
|
|
44688
|
+
].join("\n");
|
|
44689
|
+
}
|
|
44547
44690
|
//#endregion
|
|
44548
44691
|
//#region src/commands/billing-text-money.ts
|
|
44549
44692
|
/**
|
|
@@ -46645,8 +46788,8 @@ var CANCELLATION_USAGE = [
|
|
|
46645
46788
|
"so a value read from the cancellation would be stale. --digest is the review's inventoryDigest.",
|
|
46646
46789
|
"Every write needs --confirm; --dry-run describes the change and sends nothing at all.",
|
|
46647
46790
|
"",
|
|
46648
|
-
"
|
|
46649
|
-
"
|
|
46791
|
+
"Any cancellation's deletion destroys the environment, its applications, its databases and its volumes, so its",
|
|
46792
|
+
"live persistent storage is irreversibly removed rather than retained; the retained restore points are the only way back, and purge destroys those too."
|
|
46650
46793
|
].join("\n");
|
|
46651
46794
|
/** Render one `cancellation` answer to a person, never to a value the payload does not carry. */
|
|
46652
46795
|
function cancellationText(report) {
|
|
@@ -46680,8 +46823,9 @@ function requestDescription(terms) {
|
|
|
46680
46823
|
].join("\n");
|
|
46681
46824
|
return [
|
|
46682
46825
|
`${opening} — service ends ${terms.serviceEnd ?? "(no date)"}.`,
|
|
46683
|
-
" The environment keeps serving until that date
|
|
46684
|
-
"
|
|
46826
|
+
" The environment keeps serving until that date. When deletion runs, its live persistent storage is",
|
|
46827
|
+
" irreversibly removed rather than retained; the retained restore points are the only way back, and they are",
|
|
46828
|
+
" gone after the review's recoverable-until date. The request can still be withdrawn until deletion starts."
|
|
46685
46829
|
].join("\n");
|
|
46686
46830
|
}
|
|
46687
46831
|
/** What a withdrawal does, including the case where service had already ended. */
|
|
@@ -46709,8 +46853,8 @@ function reconfirmDescription(environmentUuid, cancellationUuid, reviewGeneratio
|
|
|
46709
46853
|
`Re-confirm the approved deletion scope of environment ${environmentUuid} (cancellation ${cancellationUuid}) at generation ${String(reviewGeneration)}, digest ${inventoryDigest}.`,
|
|
46710
46854
|
" Deletion was approved against a scope that no longer describes this environment, so this states that the",
|
|
46711
46855
|
" scope as it now stands is the scope to delete; the ordinary deletion then continues against it.",
|
|
46712
|
-
" The
|
|
46713
|
-
" recoverable-until date. This cannot be withdrawn."
|
|
46856
|
+
" The environment, its applications, its databases and its volumes are destroyed, so its live persistent storage is irreversibly removed rather than retained;",
|
|
46857
|
+
" the retained restore points are the only way back, and they are gone after the review's recoverable-until date. This cannot be withdrawn."
|
|
46714
46858
|
].join("\n");
|
|
46715
46859
|
}
|
|
46716
46860
|
/** The recorded status in the API's own words, or the absence of an episode said plainly. */
|
|
@@ -47003,6 +47147,7 @@ async function request(context, environmentUuid) {
|
|
|
47003
47147
|
reviewGeneration,
|
|
47004
47148
|
effectiveAt: serviceEnd ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
47005
47149
|
accepted: true,
|
|
47150
|
+
liveStorageDisposalAcknowledged: true,
|
|
47006
47151
|
...timing === "now" ? { deletionAcknowledged: true } : {},
|
|
47007
47152
|
deletionTiming: timing
|
|
47008
47153
|
};
|
|
@@ -60344,7 +60489,7 @@ var authoritativeDnsAnswerDataSchema = object({
|
|
|
60344
60489
|
recursion_available: boolean(),
|
|
60345
60490
|
authentic_data: boolean()
|
|
60346
60491
|
});
|
|
60347
|
-
object({
|
|
60492
|
+
var authorizationCodeDataSchema = object({
|
|
60348
60493
|
code: string(),
|
|
60349
60494
|
redirectUri: string(),
|
|
60350
60495
|
state: string().nullable(),
|
|
@@ -61318,11 +61463,13 @@ var faviconUrlsDataSchema = object({
|
|
|
61318
61463
|
androidIcon512Url: string(),
|
|
61319
61464
|
expiresAt: string()
|
|
61320
61465
|
});
|
|
61466
|
+
var companyStrongAuthModeEnumSchema = _enum(["off", "required"]);
|
|
61321
61467
|
object({ company: object({
|
|
61322
61468
|
slug: string(),
|
|
61323
61469
|
name: string(),
|
|
61324
61470
|
logo: union([companyLogoUrlsDataSchema, _null()]),
|
|
61325
|
-
favicon: union([faviconUrlsDataSchema, _null()])
|
|
61471
|
+
favicon: union([faviconUrlsDataSchema, _null()]),
|
|
61472
|
+
strongAuthMode: companyStrongAuthModeEnumSchema
|
|
61326
61473
|
}) });
|
|
61327
61474
|
object({ items: array(object({
|
|
61328
61475
|
uuid: string(),
|
|
@@ -61337,7 +61484,8 @@ object({ token: string().min(64).max(64) });
|
|
|
61337
61484
|
var companyMemberDataSchema = object({
|
|
61338
61485
|
user: userDataSchema,
|
|
61339
61486
|
role: string(),
|
|
61340
|
-
joinedAt: string()
|
|
61487
|
+
joinedAt: string(),
|
|
61488
|
+
strongAuthEnrolled: boolean()
|
|
61341
61489
|
});
|
|
61342
61490
|
object({
|
|
61343
61491
|
slug: string(),
|
|
@@ -61425,6 +61573,7 @@ var confirmPortableSiteRequestSchema = object({
|
|
|
61425
61573
|
previewHash: string().min(64).max(64),
|
|
61426
61574
|
expiresAt: int()
|
|
61427
61575
|
}).describe("The confirmed import carries the same reviewed digest as preparation.\n\nA separate class keeps the confirmation's documented contract distinct from preparation's even\nthough the fields are identical: they are different operations against different state, and a\nfuture field that belongs to only one of them must not silently become part of both.");
|
|
61576
|
+
var confirmTotpRequestSchema = object({ code: string().max(10) }).describe("The code that finishes an authenticator-app enrolment for the caller's own account.\n\nThere is no subject field: the account being changed is the one the presented credential\nauthenticated, so no caller can name somebody else's enrolment.");
|
|
61428
61577
|
var consentScopeDataSchema = object({
|
|
61429
61578
|
id: string(),
|
|
61430
61579
|
description: string()
|
|
@@ -61498,9 +61647,10 @@ var createHostingCancellationRequestSchema = object({
|
|
|
61498
61647
|
effectiveAt: datetime(),
|
|
61499
61648
|
accepted: boolean().describe("`boolean` rather than `accepted`, for the reason recorded on\nResetHostingAdministratorPasswordRequest: the accepted rule's value set is\ninferred into the generated client as an enum OpenAPI cannot express.\n\"Must be true\" is asserted in HostingCancellationService, the single writer of\na cancellation row, so a direct caller cannot skip it either."),
|
|
61500
61649
|
deletionAcknowledged: boolean().optional().describe("The destructive choice carries its own acknowledgement, checked authoritatively by the\nrecorder; the boundary only has to accept the field."),
|
|
61650
|
+
liveStorageDisposalAcknowledged: boolean().optional().describe("Irreversible live-storage removal is its own confirmation, checked authoritatively by the\nrecorder; the boundary only has to accept the field. An older client that omits it records\nno consent, and that episode is refused at approval rather than granted the newer meaning."),
|
|
61501
61651
|
deletionTiming: union([hostingCancellationDeletionTimingEnumSchema, _null()]).optional(),
|
|
61502
61652
|
finalCopyOrder: union([hostingFinalCopyOrderEnumSchema, _null()]).optional()
|
|
61503
|
-
}).describe("A Company Admin's cancellation request.\n\nThe effective date is submitted as what it is — the date service ends — and the\nserver decides whether it is allowed. `accepted` must be present and true, so a\nconfirmation is a deliberate act rather than the absence of a rejection.\n\n`deletionTiming` is the one optional member: it states whether the environment is deleted at the\nagreed service end or now, and omitting it keeps the legacy episode that records no timing at all.");
|
|
61653
|
+
}).describe("A Company Admin's cancellation request.\n\nThe effective date is submitted as what it is — the date service ends — and the\nserver decides whether it is allowed. `accepted` must be present and true, so a\nconfirmation is a deliberate act rather than the absence of a rejection.\n\n`deletionTiming` is the one optional member: it states whether the environment is deleted at the\nagreed service end or now, and omitting it keeps the legacy episode that records no timing at all.\n\n`liveStorageDisposalAcknowledged` is optional at the boundary because copy shown before it existed\ncould not have offered it; the recorder decides whether the episode carries consent, and an episode\nwithout it is refused at approval.");
|
|
61504
61654
|
var createHostingDatabaseRequestSchema = object({
|
|
61505
61655
|
key: string().max(63).regex(/^[a-z][a-z0-9_]{0,62}$/),
|
|
61506
61656
|
engine: _enum([
|
|
@@ -61713,6 +61863,10 @@ var diagnosticsUnreadyEnvironmentsDataSchema = object({
|
|
|
61713
61863
|
total: int(),
|
|
61714
61864
|
environments: array(diagnosticsUnreadyEnvironmentDataSchema)
|
|
61715
61865
|
});
|
|
61866
|
+
var discoverablePasskeyAssertRequestSchema = object({
|
|
61867
|
+
challengeId: string().max(100),
|
|
61868
|
+
credential: string()
|
|
61869
|
+
}).describe("The browser's signed assertion answering a passwordless start.\n\n`challengeId` names the one challenge the options minted and `credential` is the WebAuthn JSON the\nbrowser returned for it. Neither can name an origin: that is stored with the challenge.");
|
|
61716
61870
|
object({
|
|
61717
61871
|
retainedOperationId: string().regex(/^[a-z0-9][a-z0-9-]{3,40}$/),
|
|
61718
61872
|
retainedGeneration: int().min(0),
|
|
@@ -62446,6 +62600,14 @@ var firstPartyAuthorizeRequestSchema = object({
|
|
|
62446
62600
|
scope: string().max(255).optional(),
|
|
62447
62601
|
state: string().max(255).optional()
|
|
62448
62602
|
}).describe("Credential-to-code exchange for an approved first-party public client.\nThe client ID, redirect URI and PKCE challenge are all required; nothing is\ntrusted from the caller beyond the credentials themselves.");
|
|
62603
|
+
var firstPartyPasskeyStartRequestSchema = object({
|
|
62604
|
+
client_id: string().max(100),
|
|
62605
|
+
redirect_uri: string().max(2048),
|
|
62606
|
+
code_challenge: string().min(43).max(128),
|
|
62607
|
+
code_challenge_method: _enum(["S256"]),
|
|
62608
|
+
scope: string().max(255).optional(),
|
|
62609
|
+
state: string().max(255).optional()
|
|
62610
|
+
}).describe("The first half of a passwordless first-party login: only the authorization frame it is for.\n\nThere is deliberately no email, password or other account identifier, because the member is not\nknown until the assertion answering these options verifies.");
|
|
62449
62611
|
object({ email: email().max(255) });
|
|
62450
62612
|
object({
|
|
62451
62613
|
configured: boolean(),
|
|
@@ -63366,6 +63528,20 @@ object({
|
|
|
63366
63528
|
accessKeyHint: string().nullable(),
|
|
63367
63529
|
updatedAt: string().nullable()
|
|
63368
63530
|
});
|
|
63531
|
+
var hostingOperationStatusEnumSchema = _enum([
|
|
63532
|
+
"running",
|
|
63533
|
+
"completed",
|
|
63534
|
+
"failed",
|
|
63535
|
+
"pending",
|
|
63536
|
+
"cancelled"
|
|
63537
|
+
]).describe("How one operation run or one of its stages ended, or that it has not ended. Deliberately not `HostingStatusEnum`: an environment is `ready`, a stage is `completed`, and a stage that threw a readiness wait is `pending` rather than `failed`. Reusing the environment lifecycle words here would let one report call a healthy wait a fault — the distinction the journal was changed to make on 2026-10-02.\n");
|
|
63538
|
+
object({ requests: array(object({
|
|
63539
|
+
uuid: string(),
|
|
63540
|
+
status: hostingOperationStatusEnumSchema.describe("How one operation run or one of its stages ended, or that it has not ended. Deliberately not `HostingStatusEnum`: an environment is `ready`, a stage is `completed`, and a stage that threw a readiness wait is `pending` rather than `failed`. Reusing the environment lifecycle words here would let one report call a healthy wait a fault — the distinction the journal was changed to make on 2026-10-02.\n"),
|
|
63541
|
+
requestedAt: string(),
|
|
63542
|
+
completedAt: string().nullable(),
|
|
63543
|
+
failureReason: string().nullable()
|
|
63544
|
+
})) });
|
|
63369
63545
|
var hostingBackupTrackDataSchema = object({
|
|
63370
63546
|
kind: string(),
|
|
63371
63547
|
name: string(),
|
|
@@ -65735,6 +65911,29 @@ var linkHostingExternalSecretReferenceRequestSchema = object({
|
|
|
65735
65911
|
remotePath: string().max(255),
|
|
65736
65912
|
remoteKey: string().max(255)
|
|
65737
65913
|
}).describe("Mapping one remote key onto one declared secret name.\n\nThe name is a local secret a process declares, and the path and key are the\ncustomer's own naming inside their secret manager. Nothing here is a value.");
|
|
65914
|
+
var loginContinuationStageEnumSchema = _enum(["challenge", "enrol"]).describe("What a login continuation is still waiting for: proving an existing factor, or establishing one because a company the member belongs to requires strong authentication.\n");
|
|
65915
|
+
var strongAuthMethodEnumSchema = _enum(["totp", "passkey"]);
|
|
65916
|
+
var loginContinuationDataSchema = object({
|
|
65917
|
+
continuation: string(),
|
|
65918
|
+
expiresAt: string(),
|
|
65919
|
+
stage: loginContinuationStageEnumSchema.describe("What a login continuation is still waiting for: proving an existing factor, or establishing one because a company the member belongs to requires strong authentication.\n"),
|
|
65920
|
+
availableMethods: array(strongAuthMethodEnumSchema)
|
|
65921
|
+
});
|
|
65922
|
+
var loginContinuationEnrolRequestSchema = object({ continuation: string().max(100) }).describe("The first half of an enrolment: a pending login asking to begin the factor it owes.\n\nThere is no member field, so a secret or a set of creation options can only be minted for the\naccount the continuation already belongs to.");
|
|
65923
|
+
var loginContinuationPasskeyOptionsRequestSchema = object({ continuation: string().max(100) }).describe("The first half of a passkey ceremony: the pending login asking for assertion options.\n\nThere is no member field, so the options can only be minted for the account the continuation\nbelongs to.");
|
|
65924
|
+
var loginContinuationPasskeyRequestSchema = object({
|
|
65925
|
+
continuation: string().max(100),
|
|
65926
|
+
challengeId: string().max(100),
|
|
65927
|
+
credential: string()
|
|
65928
|
+
}).describe("The second half of a passkey ceremony: the browser's signed assertion for the pending login.\n\n`challengeId` names the one challenge the options answer minted for this login, and `credential` is\nthe WebAuthn JSON the browser returned for it. Neither can name a member or a credential the\ncontinuation does not already belong to.");
|
|
65929
|
+
var loginContinuationRecoveryCodeRequestSchema = object({
|
|
65930
|
+
continuation: string().max(100),
|
|
65931
|
+
recoveryCode: string().max(64)
|
|
65932
|
+
}).describe("One ceremony step: a recovery code offered to the login continuation that is waiting.\n\nA recovery code replaces a lost factor, so this step is refused a stage where nothing is pending\nand it never returns access — only the replacement stage.");
|
|
65933
|
+
var loginContinuationTotpRequestSchema = object({
|
|
65934
|
+
continuation: string().max(100),
|
|
65935
|
+
code: string().max(10)
|
|
65936
|
+
}).describe("One ceremony step: an authenticator-app code for the login continuation that asked for it.\n\nThe continuation is the whole capability. There is no email, password, user id or client field to\nsubmit, so a caller can only finish the stage that is actually pending.");
|
|
65738
65937
|
var mailQueueSnapshotDataSchema = object({
|
|
65739
65938
|
state: string(),
|
|
65740
65939
|
reason: string().nullable(),
|
|
@@ -65804,6 +66003,20 @@ var orphanedNamespaceDataSchema = object({
|
|
|
65804
66003
|
protected: boolean(),
|
|
65805
66004
|
owned: boolean()
|
|
65806
66005
|
});
|
|
66006
|
+
var passkeyAssertionOptionsDataSchema = object({
|
|
66007
|
+
challengeId: string(),
|
|
66008
|
+
publicKey: string()
|
|
66009
|
+
});
|
|
66010
|
+
var passkeyCredentialDataSchema = object({
|
|
66011
|
+
uuid: string(),
|
|
66012
|
+
label: string(),
|
|
66013
|
+
createdAt: string(),
|
|
66014
|
+
lastUsedAt: string().nullable()
|
|
66015
|
+
});
|
|
66016
|
+
var passkeyRegistrationOptionsDataSchema = object({
|
|
66017
|
+
challengeId: string(),
|
|
66018
|
+
publicKey: string()
|
|
66019
|
+
});
|
|
65807
66020
|
var platformAlertDeliveryStatusEnumSchema = _enum([
|
|
65808
66021
|
"pending",
|
|
65809
66022
|
"accepted",
|
|
@@ -66128,6 +66341,7 @@ var recordBillingProviderSettlementRequestSchema = object({
|
|
|
66128
66341
|
note: string().max(255).nullish()
|
|
66129
66342
|
}).describe("An operator transcribes the provider's amounts; this request neither moves nor verifies money.");
|
|
66130
66343
|
var recordHostingCustdAudienceRequestSchema = object({ audience: string().regex(/^[a-z0-9][a-z0-9._-]{2,199}$/) }).describe("The shape of one application workload's CustD realm audience name.\n\nAn audience name is the only input. Provider client id and redirect URIs belong to the realm\nintent's registration settings, never to the recorded audience binding, so this request cannot\nleak them into the binding. The alphabet is the same one the binding service records with.");
|
|
66344
|
+
var recoveryCodeSetDataSchema = object({ codes: array(string()) });
|
|
66131
66345
|
var redeemBillingDiscountCodeRequestSchema = object({ code: string().max(64) }).describe("Redeeming a code.\n\nThe code is the only field: the account is the one the route resolved, never a value in the body, so a caller\ncannot redeem a code against somebody else's account.");
|
|
66132
66346
|
var redeemMailboxRecoveryRequestSchema = object({
|
|
66133
66347
|
token: string().max(200),
|
|
@@ -66152,6 +66366,11 @@ var registerHostingStorageClassRequestSchema = object({
|
|
|
66152
66366
|
enabled: boolean().optional(),
|
|
66153
66367
|
restricted: boolean().optional()
|
|
66154
66368
|
}).describe("Register one cluster's Kubernetes StorageClass in the catalogue.\n\nThe name is validated as a Kubernetes object name and unique per cluster, because it names an\nobject that already exists: a second row for the same class would let two records disagree about\none pool. Nothing here contacts the cluster; registration records intent.");
|
|
66369
|
+
var registerPasskeyRequestSchema = object({
|
|
66370
|
+
challengeId: string().max(100),
|
|
66371
|
+
credential: string(),
|
|
66372
|
+
label: string().max(100).nullish()
|
|
66373
|
+
}).describe("The attestation a browser produced for a passkey registration it was offered.\n\n`challengeId` names the one cached ceremony the service minted for this caller; the credential is\nthe WebAuthn JSON the browser returned for it. The label is only what the member will call the key.");
|
|
66155
66374
|
object({
|
|
66156
66375
|
name: string().max(255),
|
|
66157
66376
|
email: email().max(255).describe("Live rows only. A closed account keeps its address as retained\nhistory, so the address is registrable again as a new person — which\nis the only reason this is not the whole-table rule it used to be."),
|
|
@@ -66516,7 +66735,8 @@ object({
|
|
|
66516
66735
|
authenticated: boolean(),
|
|
66517
66736
|
user: union([userDataSchema, _null()]),
|
|
66518
66737
|
csrfToken: string(),
|
|
66519
|
-
redirectUrl: string().nullable()
|
|
66738
|
+
redirectUrl: string().nullable(),
|
|
66739
|
+
continuation: union([loginContinuationDataSchema, _null()])
|
|
66520
66740
|
});
|
|
66521
66741
|
var setEmailAliasDestinationsRequestSchema = object({}).describe("Aliases share mailbox forwarding syntax, normalization, duplicates and bounds, but cannot be empty.");
|
|
66522
66742
|
var setEmailMailboxFallbackRequestSchema = object({ address: email().max(254) }).describe("Setting or replacing one mailbox's fallback address.\n\nThe candidate is validated with Laravel's standard syntax rules; normalization is owned by\n{@see CanonicalEmailService}. Setting a fallback never marks it verified, so no\ncaller-supplied flag can enable self-service recovery: only completing the verification link does.");
|
|
@@ -66948,6 +67168,12 @@ var storePlatformHostingEnvironmentRequestSchema = object({
|
|
|
66948
67168
|
postgresRestoreSource: object({ sourceEnvironmentUuid: uuid().optional() }).nullish(),
|
|
66949
67169
|
configuration: string().max(65536).optional()
|
|
66950
67170
|
}).describe("One client's environment, submitted by a staff operator who holds no membership in that client.\n\nEvery field rule is the customer's own, including the preset merge and the package allowlist: only the source of the\ncompany differs, because this request has no company middleware and names the client in the URL. A rule restated\nhere would be a second definition of what an environment may be.");
|
|
67171
|
+
var strongAuthFactorInventoryDataSchema = object({
|
|
67172
|
+
totpEnrolled: boolean(),
|
|
67173
|
+
totpConfirmedAt: string().nullable(),
|
|
67174
|
+
passkeys: array(passkeyCredentialDataSchema),
|
|
67175
|
+
unusedRecoveryCodes: int()
|
|
67176
|
+
});
|
|
66951
67177
|
var systemOrphansHolderDataSchema = object({
|
|
66952
67178
|
name: string(),
|
|
66953
67179
|
run: string().nullable(),
|
|
@@ -66968,6 +67194,11 @@ object({
|
|
|
66968
67194
|
tenantSecretFolders: array(tenantSecretFolderDataSchema),
|
|
66969
67195
|
namespaces: array(orphanedNamespaceDataSchema)
|
|
66970
67196
|
});
|
|
67197
|
+
var totpEnrolmentDataSchema = object({
|
|
67198
|
+
secret: string(),
|
|
67199
|
+
provisioningUri: string(),
|
|
67200
|
+
expiresAt: string()
|
|
67201
|
+
});
|
|
66971
67202
|
var updateBillingCustomerProfileRequestSchema = object({
|
|
66972
67203
|
legalName: string().max(255).nullish(),
|
|
66973
67204
|
tradingName: string().max(255).nullish(),
|
|
@@ -67036,7 +67267,10 @@ var updateBillingPaymentStateRequestSchema = object({
|
|
|
67036
67267
|
}).describe("Recording a manual payment state: one invoice, or an explicit list of a company's invoices.\n\nTwo bodies, one route file apart: a single invoice names a `state` and an optional `note`, while a\ncompany action names `invoices`, an explicit array of UUIDs. The shape is what separates them — a\ncompany action that could also be read as a single-invoice write would be a way to mark an unnamed\nset unpaid, which is exactly what this surface refuses to do.");
|
|
67037
67268
|
var updateCompanyAssetRequestSchema = object({ image: _instanceof(File).describe("Maximum file size: 16384 kilobytes.") }).describe("Company logo or favicon upload. Accepted types, byte size and minimum\ndimensions come from config/media.php; SVG is not accepted.");
|
|
67038
67269
|
object({ role: _enum(["Company Admin", "Company Member"]) });
|
|
67039
|
-
object({
|
|
67270
|
+
object({
|
|
67271
|
+
name: string().max(255).describe("The slug is stable when the name changes; it is never accepted here."),
|
|
67272
|
+
strongAuthMode: companyStrongAuthModeEnumSchema.optional().describe("One of the catalogue's modes: never a boolean, never a free string.")
|
|
67273
|
+
});
|
|
67040
67274
|
var updateDnsZoneTemplateRequestSchema = object({
|
|
67041
67275
|
name: string().max(100),
|
|
67042
67276
|
description: string().max(1e3).nullish(),
|
|
@@ -68203,8 +68437,18 @@ union([
|
|
|
68203
68437
|
]);
|
|
68204
68438
|
union([object({ message: string().describe("Error overview.") }), messageDataSchema]);
|
|
68205
68439
|
union([object({ message: string().describe("Error overview.") }), messageDataSchema]);
|
|
68440
|
+
union([loginContinuationDataSchema, authorizationCodeDataSchema]);
|
|
68206
68441
|
union([messageDataSchema, messageDataSchema]);
|
|
68207
68442
|
firstPartyAuthorizeRequestSchema.describe("Credential-to-code exchange for an approved first-party public client.\nThe client ID, redirect URI and PKCE challenge are all required; nothing is\ntrusted from the caller beyond the credentials themselves.");
|
|
68443
|
+
var authPasskeyAuthorizeStatus200Schema = passkeyAssertionOptionsDataSchema;
|
|
68444
|
+
var authPasskeyAuthorizeStatus201Schema = string();
|
|
68445
|
+
var authPasskeyAuthorizeStatus422Schema = messageDataSchema;
|
|
68446
|
+
var authPasskeyAuthorizeStatus429Schema = messageDataSchema;
|
|
68447
|
+
union([authPasskeyAuthorizeStatus200Schema, authPasskeyAuthorizeStatus201Schema]);
|
|
68448
|
+
union([authPasskeyAuthorizeStatus422Schema, authPasskeyAuthorizeStatus429Schema]);
|
|
68449
|
+
firstPartyPasskeyStartRequestSchema.describe("The first half of a passwordless first-party login: only the authorization frame it is for.\n\nThere is deliberately no email, password or other account identifier, because the member is not\nknown until the assertion answering these options verifies.");
|
|
68450
|
+
union([messageDataSchema, messageDataSchema]);
|
|
68451
|
+
discoverablePasskeyAssertRequestSchema.describe("The browser's signed assertion answering a passwordless start.\n\n`challengeId` names the one challenge the options minted and `credential` is the WebAuthn JSON the\nbrowser returned for it. Neither can name an origin: that is stored with the challenge.");
|
|
68208
68452
|
union([object({ message: string().describe("Error overview.") }), object({ message: string().describe("Error overview.") })]);
|
|
68209
68453
|
union([
|
|
68210
68454
|
messageDataSchema,
|
|
@@ -68625,10 +68869,31 @@ union([object({ message: string().describe("Error overview.") }), object({ messa
|
|
|
68625
68869
|
union([
|
|
68626
68870
|
object({ message: string().describe("Error overview.") }),
|
|
68627
68871
|
object({ message: string().describe("Error overview.") }),
|
|
68872
|
+
messageDataSchema,
|
|
68628
68873
|
messageDataSchema
|
|
68629
68874
|
]);
|
|
68630
68875
|
storeHostingBackupDestinationRequestSchema.describe("The one write that records a company's own backup destination.\n\nThe rules are the boundary of a credential the platform will later use to reach a client's bucket, so\nthey are stricter than \"it is a string\": the endpoint must be a real HTTPS URL (a plaintext endpoint\nwould carry the secret in the clear), the bucket and region must be the shapes S3 accepts, and the\nprefix must be a relative folder without a `..` segment because it decides where copies land.\n\nA local endpoint is allowed over HTTP only when its host is loopback, which is how a client tests\nagainst MinIO on their own machine. Everything else is refused here rather than discovered when a\nbackup fails weeks later.");
|
|
68631
|
-
union([
|
|
68876
|
+
union([
|
|
68877
|
+
object({ message: string().describe("Error overview.") }),
|
|
68878
|
+
object({ message: string().describe("Error overview.") }),
|
|
68879
|
+
messageDataSchema
|
|
68880
|
+
]);
|
|
68881
|
+
union([
|
|
68882
|
+
object({ message: string().describe("Error overview.") }),
|
|
68883
|
+
object({ message: string().describe("Error overview.") }),
|
|
68884
|
+
messageDataSchema
|
|
68885
|
+
]);
|
|
68886
|
+
union([
|
|
68887
|
+
object({ message: string().describe("Error overview.") }),
|
|
68888
|
+
object({ message: string().describe("Error overview.") }),
|
|
68889
|
+
messageDataSchema,
|
|
68890
|
+
messageDataSchema
|
|
68891
|
+
]);
|
|
68892
|
+
union([
|
|
68893
|
+
object({ message: string().describe("Error overview.") }),
|
|
68894
|
+
object({ message: string().describe("Error overview.") }),
|
|
68895
|
+
messageDataSchema
|
|
68896
|
+
]);
|
|
68632
68897
|
union([
|
|
68633
68898
|
object({ message: string().describe("Error overview.") }),
|
|
68634
68899
|
object({ message: string().describe("Error overview.") }),
|
|
@@ -68665,7 +68930,7 @@ union([
|
|
|
68665
68930
|
messageDataSchema,
|
|
68666
68931
|
messageDataSchema
|
|
68667
68932
|
]);
|
|
68668
|
-
createHostingCancellationRequestSchema.describe("A Company Admin's cancellation request.\n\nThe effective date is submitted as what it is — the date service ends — and the\nserver decides whether it is allowed. `accepted` must be present and true, so a\nconfirmation is a deliberate act rather than the absence of a rejection.\n\n`deletionTiming` is the one optional member: it states whether the environment is deleted at the\nagreed service end or now, and omitting it keeps the legacy episode that records no timing at all.");
|
|
68933
|
+
createHostingCancellationRequestSchema.describe("A Company Admin's cancellation request.\n\nThe effective date is submitted as what it is — the date service ends — and the\nserver decides whether it is allowed. `accepted` must be present and true, so a\nconfirmation is a deliberate act rather than the absence of a rejection.\n\n`deletionTiming` is the one optional member: it states whether the environment is deleted at the\nagreed service end or now, and omitting it keeps the legacy episode that records no timing at all.\n\n`liveStorageDisposalAcknowledged` is optional at the boundary because copy shown before it existed\ncould not have offered it; the recorder decides whether the episode carries consent, and an episode\nwithout it is refused at approval.");
|
|
68669
68934
|
union([
|
|
68670
68935
|
object({ message: string().describe("Error overview.") }),
|
|
68671
68936
|
object({ message: string().describe("Error overview.") }),
|
|
@@ -70075,6 +70340,37 @@ union([
|
|
|
70075
70340
|
object({ message: string().describe("Error overview.") }),
|
|
70076
70341
|
messageDataSchema
|
|
70077
70342
|
]);
|
|
70343
|
+
union([messageDataSchema, messageDataSchema]);
|
|
70344
|
+
loginContinuationTotpRequestSchema.describe("One ceremony step: an authenticator-app code for the login continuation that asked for it.\n\nThe continuation is the whole capability. There is no email, password, user id or client field to\nsubmit, so a caller can only finish the stage that is actually pending.");
|
|
70345
|
+
union([messageDataSchema, messageDataSchema]);
|
|
70346
|
+
loginContinuationRecoveryCodeRequestSchema.describe("One ceremony step: a recovery code offered to the login continuation that is waiting.\n\nA recovery code replaces a lost factor, so this step is refused a stage where nothing is pending\nand it never returns access — only the replacement stage.");
|
|
70347
|
+
var authContinuationPasskeyOptionsStatus200Schema = passkeyAssertionOptionsDataSchema;
|
|
70348
|
+
var authContinuationPasskeyOptionsStatus201Schema = string();
|
|
70349
|
+
var authContinuationPasskeyOptionsStatus422Schema = messageDataSchema;
|
|
70350
|
+
var authContinuationPasskeyOptionsStatus429Schema = messageDataSchema;
|
|
70351
|
+
union([authContinuationPasskeyOptionsStatus200Schema, authContinuationPasskeyOptionsStatus201Schema]);
|
|
70352
|
+
union([authContinuationPasskeyOptionsStatus422Schema, authContinuationPasskeyOptionsStatus429Schema]);
|
|
70353
|
+
loginContinuationPasskeyOptionsRequestSchema.describe("The first half of a passkey ceremony: the pending login asking for assertion options.\n\nThere is no member field, so the options can only be minted for the account the continuation\nbelongs to.");
|
|
70354
|
+
union([messageDataSchema, messageDataSchema]);
|
|
70355
|
+
loginContinuationPasskeyRequestSchema.describe("The second half of a passkey ceremony: the browser's signed assertion for the pending login.\n\n`challengeId` names the one challenge the options answer minted for this login, and `credential` is\nthe WebAuthn JSON the browser returned for it. Neither can name a member or a credential the\ncontinuation does not already belong to.");
|
|
70356
|
+
var authContinuationEnrolTotpStatus200Schema = totpEnrolmentDataSchema;
|
|
70357
|
+
var authContinuationEnrolTotpStatus201Schema = string();
|
|
70358
|
+
var authContinuationEnrolTotpStatus422Schema = messageDataSchema;
|
|
70359
|
+
var authContinuationEnrolTotpStatus429Schema = messageDataSchema;
|
|
70360
|
+
union([authContinuationEnrolTotpStatus200Schema, authContinuationEnrolTotpStatus201Schema]);
|
|
70361
|
+
union([authContinuationEnrolTotpStatus422Schema, authContinuationEnrolTotpStatus429Schema]);
|
|
70362
|
+
loginContinuationEnrolRequestSchema.describe("The first half of an enrolment: a pending login asking to begin the factor it owes.\n\nThere is no member field, so a secret or a set of creation options can only be minted for the\naccount the continuation already belongs to.");
|
|
70363
|
+
union([messageDataSchema, messageDataSchema]);
|
|
70364
|
+
loginContinuationTotpRequestSchema.describe("One ceremony step: an authenticator-app code for the login continuation that asked for it.\n\nThe continuation is the whole capability. There is no email, password, user id or client field to\nsubmit, so a caller can only finish the stage that is actually pending.");
|
|
70365
|
+
var authContinuationEnrolPasskeyOptionsStatus200Schema = passkeyRegistrationOptionsDataSchema;
|
|
70366
|
+
var authContinuationEnrolPasskeyOptionsStatus201Schema = string();
|
|
70367
|
+
var authContinuationEnrolPasskeyOptionsStatus422Schema = messageDataSchema;
|
|
70368
|
+
var authContinuationEnrolPasskeyOptionsStatus429Schema = messageDataSchema;
|
|
70369
|
+
union([authContinuationEnrolPasskeyOptionsStatus200Schema, authContinuationEnrolPasskeyOptionsStatus201Schema]);
|
|
70370
|
+
union([authContinuationEnrolPasskeyOptionsStatus422Schema, authContinuationEnrolPasskeyOptionsStatus429Schema]);
|
|
70371
|
+
loginContinuationEnrolRequestSchema.describe("The first half of an enrolment: a pending login asking to begin the factor it owes.\n\nThere is no member field, so a secret or a set of creation options can only be minted for the\naccount the continuation already belongs to.");
|
|
70372
|
+
union([messageDataSchema, messageDataSchema]);
|
|
70373
|
+
loginContinuationPasskeyRequestSchema.describe("The second half of a passkey ceremony: the browser's signed assertion for the pending login.\n\n`challengeId` names the one challenge the options answer minted for this login, and `credential` is\nthe WebAuthn JSON the browser returned for it. Neither can name a member or a credential the\ncontinuation does not already belong to.");
|
|
70078
70374
|
requestMailboxRecoveryRequestSchema.describe("An unauthenticated self-service recovery request for one mailbox address.\n\nThe address is only the lookup key: the response is identical whether the mailbox is unknown, has\nno verified fallback, or is eligible, so this request neither authorizes nor reveals anything.");
|
|
70079
70375
|
verifyMailboxFallbackRequestSchema.describe("Confirming control of a candidate fallback address with the token from the verification link.\n\nThe token is taken in the POST body so a mail scanner following a GET cannot consume the grant. A\nsuccessful confirmation only marks the stored fallback verified; it changes no password.");
|
|
70080
70376
|
redeemMailboxRecoveryRequestSchema.describe("Completing one mailbox password reset with the capability token from the link.\n\nThe token is taken in the POST body, never in a URL a scanner could follow, and it authorizes only\nthis one mailbox password change. The new password uses the same policy owner as every other\npassword (`Password::defaults()`) and must be confirmed.");
|
|
@@ -70970,6 +71266,59 @@ union([
|
|
|
70970
71266
|
stateManagerCallbackRefusalDataSchema
|
|
70971
71267
|
]);
|
|
70972
71268
|
stateManagerIntentRequestSchema.describe("The manager's intent-resolution request.\n\nThe run reference is the exact manager tuple the callback must bind and echo.\nThe intent reference is the Laravel-owned record it must resolve. Neither a\ncompany, an actor nor a credential is accepted: the handler resolves those\nserver-side and a caller-supplied identity grants no authority.\n\nThe callback is a Laravel/HTTP boundary, so its own fields are camelCase like\nthe rest of the API. The complete unfiltered payload is checked against the one\nshared callback schema, so a superseded snake_case, mixed or unknown-field body\nis refused rather than silently coerced by Laravel's field filtering.");
|
|
71269
|
+
object({ message: string().describe("Error overview.") });
|
|
71270
|
+
var strongAuthFactorBeginTotpStatus200Schema = totpEnrolmentDataSchema;
|
|
71271
|
+
var strongAuthFactorBeginTotpStatus201Schema = string();
|
|
71272
|
+
var strongAuthFactorBeginTotpStatus401Schema = object({ message: string().describe("Error overview.") });
|
|
71273
|
+
var strongAuthFactorBeginTotpStatus403Schema = messageDataSchema;
|
|
71274
|
+
union([strongAuthFactorBeginTotpStatus200Schema, strongAuthFactorBeginTotpStatus201Schema]);
|
|
71275
|
+
union([strongAuthFactorBeginTotpStatus401Schema, strongAuthFactorBeginTotpStatus403Schema]);
|
|
71276
|
+
union([
|
|
71277
|
+
object({ message: string().describe("Error overview.") }),
|
|
71278
|
+
messageDataSchema,
|
|
71279
|
+
messageDataSchema
|
|
71280
|
+
]);
|
|
71281
|
+
var strongAuthFactorConfirmTotpStatus200Schema = strongAuthFactorInventoryDataSchema;
|
|
71282
|
+
var strongAuthFactorConfirmTotpStatus201Schema = string();
|
|
71283
|
+
var strongAuthFactorConfirmTotpStatus401Schema = object({ message: string().describe("Error overview.") });
|
|
71284
|
+
var strongAuthFactorConfirmTotpStatus403Schema = messageDataSchema;
|
|
71285
|
+
var strongAuthFactorConfirmTotpStatus422Schema = messageDataSchema;
|
|
71286
|
+
union([strongAuthFactorConfirmTotpStatus200Schema, strongAuthFactorConfirmTotpStatus201Schema]);
|
|
71287
|
+
union([
|
|
71288
|
+
strongAuthFactorConfirmTotpStatus401Schema,
|
|
71289
|
+
strongAuthFactorConfirmTotpStatus403Schema,
|
|
71290
|
+
strongAuthFactorConfirmTotpStatus422Schema
|
|
71291
|
+
]);
|
|
71292
|
+
confirmTotpRequestSchema.describe("The code that finishes an authenticator-app enrolment for the caller's own account.\n\nThere is no subject field: the account being changed is the one the presented credential\nauthenticated, so no caller can name somebody else's enrolment.");
|
|
71293
|
+
var strongAuthFactorIssueRecoveryCodesStatus200Schema = recoveryCodeSetDataSchema;
|
|
71294
|
+
var strongAuthFactorIssueRecoveryCodesStatus201Schema = string();
|
|
71295
|
+
var strongAuthFactorIssueRecoveryCodesStatus401Schema = object({ message: string().describe("Error overview.") });
|
|
71296
|
+
var strongAuthFactorIssueRecoveryCodesStatus403Schema = messageDataSchema;
|
|
71297
|
+
union([strongAuthFactorIssueRecoveryCodesStatus200Schema, strongAuthFactorIssueRecoveryCodesStatus201Schema]);
|
|
71298
|
+
union([strongAuthFactorIssueRecoveryCodesStatus401Schema, strongAuthFactorIssueRecoveryCodesStatus403Schema]);
|
|
71299
|
+
var strongAuthPasskeyOptionsStatus200Schema = passkeyRegistrationOptionsDataSchema;
|
|
71300
|
+
var strongAuthPasskeyOptionsStatus201Schema = string();
|
|
71301
|
+
var strongAuthPasskeyOptionsStatus401Schema = object({ message: string().describe("Error overview.") });
|
|
71302
|
+
var strongAuthPasskeyOptionsStatus403Schema = messageDataSchema;
|
|
71303
|
+
union([strongAuthPasskeyOptionsStatus200Schema, strongAuthPasskeyOptionsStatus201Schema]);
|
|
71304
|
+
union([strongAuthPasskeyOptionsStatus401Schema, strongAuthPasskeyOptionsStatus403Schema]);
|
|
71305
|
+
var strongAuthPasskeyStoreStatus200Schema = passkeyCredentialDataSchema;
|
|
71306
|
+
var strongAuthPasskeyStoreStatus201Schema = string();
|
|
71307
|
+
var strongAuthPasskeyStoreStatus401Schema = object({ message: string().describe("Error overview.") });
|
|
71308
|
+
var strongAuthPasskeyStoreStatus403Schema = messageDataSchema;
|
|
71309
|
+
var strongAuthPasskeyStoreStatus422Schema = messageDataSchema;
|
|
71310
|
+
union([strongAuthPasskeyStoreStatus200Schema, strongAuthPasskeyStoreStatus201Schema]);
|
|
71311
|
+
union([
|
|
71312
|
+
strongAuthPasskeyStoreStatus401Schema,
|
|
71313
|
+
strongAuthPasskeyStoreStatus403Schema,
|
|
71314
|
+
strongAuthPasskeyStoreStatus422Schema
|
|
71315
|
+
]);
|
|
71316
|
+
registerPasskeyRequestSchema.describe("The attestation a browser produced for a passkey registration it was offered.\n\n`challengeId` names the one cached ceremony the service minted for this caller; the credential is\nthe WebAuthn JSON the browser returned for it. The label is only what the member will call the key.");
|
|
71317
|
+
union([
|
|
71318
|
+
object({ message: string().describe("Error overview.") }),
|
|
71319
|
+
messageDataSchema,
|
|
71320
|
+
messageDataSchema
|
|
71321
|
+
]);
|
|
70973
71322
|
union([messageDataSchema, messageDataSchema]);
|
|
70974
71323
|
union([object({ message: string().describe("Error overview.") }), object({ message: string().describe("Error overview.") })]);
|
|
70975
71324
|
union([
|
|
@@ -79390,7 +79739,7 @@ function writeUpdateState(state, env = process.env) {
|
|
|
79390
79739
|
}
|
|
79391
79740
|
//#endregion
|
|
79392
79741
|
//#region src/version.ts
|
|
79393
|
-
var VERSION = "1.0.
|
|
79742
|
+
var VERSION = "1.0.689";
|
|
79394
79743
|
//#endregion
|
|
79395
79744
|
//#region src/commands/update.ts
|
|
79396
79745
|
/**
|
|
@@ -79465,7 +79814,7 @@ var update = {
|
|
|
79465
79814
|
}, process.env);
|
|
79466
79815
|
return {
|
|
79467
79816
|
...known,
|
|
79468
|
-
current: after ?? "1.0.
|
|
79817
|
+
current: after ?? "1.0.689",
|
|
79469
79818
|
latest: after ?? latest,
|
|
79470
79819
|
upToDate: after !== null && (latest === null || !isNewerVersion(latest, after)),
|
|
79471
79820
|
action: "run",
|
|
@@ -79747,7 +80096,7 @@ async function printUpdateNotice(options) {
|
|
|
79747
80096
|
}, env, { waitMs: NOTICE_LOCK_WAIT_MS });
|
|
79748
80097
|
} catch {}
|
|
79749
80098
|
if (latest === null) return;
|
|
79750
|
-
if (!isNewerVersion(latest, "1.0.
|
|
80099
|
+
if (!isNewerVersion(latest, "1.0.689")) return;
|
|
79751
80100
|
process.stderr.write(`A newer hostingctl is published: ${latest} (this copy is ${VERSION}). Run \`hostingctl update\` to update.\n`);
|
|
79752
80101
|
}
|
|
79753
80102
|
/** Whether an environment variable is set to something, which is how CI and the opt-out are read. */
|