Skip to main content

TypeAlias.CreateMission

type CreateMission = {
brief: string;
durationDays: number;
endpoints?: string[] | null;
envelopeRef?: string;
exemptFromWalletBudgets?: boolean;
frequency?: | {
count: number;
period: "day" | "week" | "month";
}
| null;
key: string;
maxActiveRunsPerWallet?: number;
maxPaymentRef?: string | null;
mode: "on_demand" | "auto" | "frequency";
recipients?: string[] | null;
sharing: "application" | "organization" | "wallet";
title: string;
totalBudgetRef?: string | null;
unitCount?: number | null;
unitLabel?: string | null;
unitPriceRef?: string | null;
walletId: string;
};

Type Declaration​

NameType
briefstring
durationDaysnumber
endpoints?string[]
envelopeRef?string
exemptFromWalletBudgets?boolean
frequency?
keystring
maxActiveRunsPerWallet?number
maxPaymentRef?string
mode"on_demand"
recipients?string[]
sharing"application"
titlestring
totalBudgetRef?string
unitCount?number
unitLabel?string
unitPriceRef?string
walletIdstring