Skip to main content

TypeAlias.MissionVersion

type MissionVersion = {
brief: string;
contentDigest: string;
createdAt: string;
currency: string;
digest: string;
durationDays: number;
endpoints: string[] | null;
envelopeRef: string;
exemptFromWalletBudgets: boolean;
frequency: | {
count: number;
period: "day" | "week" | "month";
}
| null;
id: string;
maxActiveRunsPerWallet: number;
maxPaymentRef: string | null;
mode: "on_demand" | "auto" | "frequency";
number: number;
overrides: {
applicationId?: string;
channel?: "x402" | "relay";
kind: "budget" | "destination" | "payment_cap";
scope?: "application" | "organization";
value?: string;
}[];
overridesApproval: | {
approvedAt: string;
approvedBy: string;
digest: string;
}
| null;
publishedAt: string | null;
publishedBy: string | null;
recipients: string[] | null;
sharing: "application" | "organization" | "wallet";
status: "draft" | "published" | "superseded" | "discarded";
title: string;
totalBudgetRef: string | null;
unitCount: number | null;
unitLabel: string | null;
unitPriceRef: string | null;
updatedAt: string;
walletId: string;
};

Type Declaration​

NameType
briefstring
contentDigeststring
createdAtstring
currencystring
digeststring
durationDaysnumber
endpointsstring[]
envelopeRefstring
exemptFromWalletBudgetsboolean
frequency
idstring
maxActiveRunsPerWalletnumber
maxPaymentRefstring
mode"on_demand"
numbernumber
overrides{ applicationId?: string; channel?: "x402"
overridesApproval
publishedAtstring
publishedBystring
recipientsstring[]
sharing"application"
status"draft"
titlestring
totalBudgetRefstring
unitCountnumber
unitLabelstring
unitPriceRefstring
updatedAtstring
walletIdstring