Function isPretixPipelineDefinition
- isPretixPipelineDefinition(d): d is {
editorUserIds: string[];
id: string;
options: {
alerts?: {
alertOnAtomMismatch?: boolean;
alertOnLogErrors?: boolean;
alertOnLogWarnings?: boolean;
discordAlerts?: boolean;
discordTags?: string[];
errorLogIgnoreRegexes?: string[];
loadIncidentPagePolicy?: Everyone | JustIvan | JustRichard;
pagerduty?: boolean;
warningLogIgnoreRegexes?: string[];
};
autoIssuance?: {
eventId: string;
memberCriteria: {
eventId: string;
productId?: string;
}[];
productId: string;
quantity: number;
schedule: {
endDate?: string;
intervalMs: number;
startDate: string;
};
}[];
enablePODTickets?: boolean;
events: {
externalId: string;
genericIssuanceId: string;
imageOptions?: {
eventLocation?: string;
eventStartDate?: string;
imageUrl: string;
qrCodeOverrideImageUrl?: string;
requireCheckedIn: boolean;
};
name: string;
products: {
externalId: string;
genericIssuanceId: string;
isAddOnItem?: boolean;
isSuperUser: boolean;
name: string;
nameQuestionPretixQuestionIdentitifier?: string;
}[];
skipSettingsValidation?: boolean;
}[];
feedOptions: {
feedDescription: string;
feedDisplayName: string;
feedFolder: string;
feedId: string;
};
important?: boolean;
manualTickets?: {
attendeeEmail: string;
attendeeName: string;
eventId: string;
id: string;
productId: string;
timeCreated?: string;
}[];
name?: string;
notes?: string;
paused?: boolean;
pretixAPIKey: string;
pretixOrgUrl: string;
protected?: boolean;
semaphoreGroups?: {
groupId: string;
memberCriteria: {
eventId: string;
productId?: string;
}[];
name: string;
}[];
userPermissions?: {
canCheckIn: {
eventId: string;
productId?: string;
};
members: {
eventId: string;
productId?: string;
}[];
}[];
};
ownerUserId: string;
timeCreated: string;
timeUpdated: string;
type: Pretix;
} Parameters
- d: {
editorUserIds: string[];
id: string;
options: {
alerts?: {
alertOnAtomMismatch?: boolean;
alertOnLogErrors?: boolean;
alertOnLogWarnings?: boolean;
discordAlerts?: boolean;
discordTags?: string[];
errorLogIgnoreRegexes?: string[];
loadIncidentPagePolicy?: Everyone | JustIvan | JustRichard;
pagerduty?: boolean;
warningLogIgnoreRegexes?: string[];
};
backendUrl: string;
enablePODTickets?: boolean;
events: {
externalId: string;
genericIssuanceEventId: string;
name: string;
ticketTypes: {
externalId: string;
genericIssuanceProductId: string;
isSuperUser: boolean;
name: string;
}[];
}[];
feedOptions: {
feedDescription: string;
feedDisplayName: string;
feedFolder: string;
feedId: string;
};
important?: boolean;
manualTickets?: {
attendeeEmail: string;
attendeeName: string;
eventId: string;
id: string;
productId: string;
timeCreated?: string;
}[];
name?: string;
notes?: string;
oauthAudience: string;
oauthClientId: string;
oauthClientSecret: string;
oauthServerUrl: string;
paused?: boolean;
protected?: boolean;
semaphoreGroups?: {
groupId: string;
memberCriteria: {
eventId: string;
productId?: string;
}[];
name: string;
}[];
superuserEmails?: string[];
ticketActions?: {
badges?: {
choices?: {
eventName: string;
givers?: (...) | (...);
grantOnCheckin?: (...) | (...) | (...);
id: string;
imageUrl: string;
maxPerDay?: (...) | (...);
productName?: (...) | (...);
}[];
enabled?: boolean;
};
contacts?: {
enabled?: boolean;
};
screenConfig?: {
eventBannerUrl?: string;
eventNameConfig?: string;
};
};
};
ownerUserId: string;
timeCreated: string;
timeUpdated: string;
type: Lemonade;
} | {
editorUserIds: string[];
id: string;
options: {
alerts?: {
alertOnAtomMismatch?: boolean;
alertOnLogErrors?: boolean;
alertOnLogWarnings?: boolean;
discordAlerts?: boolean;
discordTags?: string[];
errorLogIgnoreRegexes?: string[];
loadIncidentPagePolicy?: Everyone | JustIvan | JustRichard;
pagerduty?: boolean;
warningLogIgnoreRegexes?: string[];
};
autoIssuance?: {
eventId: string;
memberCriteria: {
eventId: string;
productId?: string;
}[];
productId: string;
quantity: number;
schedule: {
endDate?: string;
intervalMs: number;
startDate: string;
};
}[];
enablePODTickets?: boolean;
events: {
externalId: string;
genericIssuanceId: string;
imageOptions?: {
eventLocation?: string;
eventStartDate?: string;
imageUrl: string;
qrCodeOverrideImageUrl?: string;
requireCheckedIn: boolean;
};
name: string;
products: {
externalId: string;
genericIssuanceId: string;
isAddOnItem?: boolean;
isSuperUser: boolean;
name: string;
nameQuestionPretixQuestionIdentitifier?: string;
}[];
skipSettingsValidation?: boolean;
}[];
feedOptions: {
feedDescription: string;
feedDisplayName: string;
feedFolder: string;
feedId: string;
};
important?: boolean;
manualTickets?: {
attendeeEmail: string;
attendeeName: string;
eventId: string;
id: string;
productId: string;
timeCreated?: string;
}[];
name?: string;
notes?: string;
paused?: boolean;
pretixAPIKey: string;
pretixOrgUrl: string;
protected?: boolean;
semaphoreGroups?: {
groupId: string;
memberCriteria: {
eventId: string;
productId?: string;
}[];
name: string;
}[];
userPermissions?: {
canCheckIn: {
eventId: string;
productId?: string;
};
members: {
eventId: string;
productId?: string;
}[];
}[];
};
ownerUserId: string;
timeCreated: string;
timeUpdated: string;
type: Pretix;
} | {
editorUserIds: string[];
id: string;
options: {
alerts?: {
alertOnAtomMismatch?: boolean;
alertOnLogErrors?: boolean;
alertOnLogWarnings?: boolean;
discordAlerts?: boolean;
discordTags?: string[];
errorLogIgnoreRegexes?: string[];
loadIncidentPagePolicy?: Everyone | JustIvan | JustRichard;
pagerduty?: boolean;
warningLogIgnoreRegexes?: string[];
};
csv: string;
feedOptions: {
feedDescription: string;
feedDisplayName: string;
feedFolder: string;
feedId: string;
};
important?: boolean;
issueToUnmatchedEmail?: boolean;
name?: string;
notes?: string;
outputType?: Message | Ticket | PODTicket;
paused?: boolean;
protected?: boolean;
semaphoreGroupName?: string;
};
ownerUserId: string;
timeCreated: string;
timeUpdated: string;
type: CSV;
} | {
editorUserIds: string[];
id: string;
options: {
alerts?: {
alertOnAtomMismatch?: boolean;
alertOnLogErrors?: boolean;
alertOnLogWarnings?: boolean;
discordAlerts?: boolean;
discordTags?: string[];
errorLogIgnoreRegexes?: string[];
loadIncidentPagePolicy?: Everyone | JustIvan | JustRichard;
pagerduty?: boolean;
warningLogIgnoreRegexes?: string[];
};
feedOptions: {
feedDescription: string;
feedDisplayName: string;
feedFolder: string;
feedId: string;
feedType: "replace" | "deleteAndReplace";
};
important?: boolean;
input: {
columns: Record<string, {
type: PODPipelineInputFieldType;
}>;
csv: string;
type: CSV;
};
name?: string;
notes?: string;
outputs: Record<string, {
entries: Record<string, {
source: ({
name: string;
type: "input";
} | {
type: "credentialSemaphoreID";
} | {
type: "credentialEmail";
} | {
type: "configured";
value: string;
}) & (undefined | {
name: string;
type: "input";
} | {
type: "credentialSemaphoreID";
} | {
type: "credentialEmail";
} | {
type: "configured";
value: string;
});
type: "string" | "int" | "cryptographic" | "eddsa_pubkey";
}>;
match: ({
entry: string;
type: "semaphoreID";
} | {
entry: string;
type: "email";
} | {
type: "none";
}) & (undefined | {
entry: string;
type: "semaphoreID";
} | {
entry: string;
type: "email";
} | {
type: "none";
});
pcdType: PODPipelinePCDTypes;
}>;
paused?: boolean;
protected?: boolean;
};
ownerUserId: string;
timeCreated: string;
timeUpdated: string;
type: POD;
}
Returns d is {
editorUserIds: string[];
id: string;
options: {
alerts?: {
alertOnAtomMismatch?: boolean;
alertOnLogErrors?: boolean;
alertOnLogWarnings?: boolean;
discordAlerts?: boolean;
discordTags?: string[];
errorLogIgnoreRegexes?: string[];
loadIncidentPagePolicy?: Everyone | JustIvan | JustRichard;
pagerduty?: boolean;
warningLogIgnoreRegexes?: string[];
};
autoIssuance?: {
eventId: string;
memberCriteria: {
eventId: string;
productId?: string;
}[];
productId: string;
quantity: number;
schedule: {
endDate?: string;
intervalMs: number;
startDate: string;
};
}[];
enablePODTickets?: boolean;
events: {
externalId: string;
genericIssuanceId: string;
imageOptions?: {
eventLocation?: string;
eventStartDate?: string;
imageUrl: string;
qrCodeOverrideImageUrl?: string;
requireCheckedIn: boolean;
};
name: string;
products: {
externalId: string;
genericIssuanceId: string;
isAddOnItem?: boolean;
isSuperUser: boolean;
name: string;
nameQuestionPretixQuestionIdentitifier?: string;
}[];
skipSettingsValidation?: boolean;
}[];
feedOptions: {
feedDescription: string;
feedDisplayName: string;
feedFolder: string;
feedId: string;
};
important?: boolean;
manualTickets?: {
attendeeEmail: string;
attendeeName: string;
eventId: string;
id: string;
productId: string;
timeCreated?: string;
}[];
name?: string;
notes?: string;
paused?: boolean;
pretixAPIKey: string;
pretixOrgUrl: string;
protected?: boolean;
semaphoreGroups?: {
groupId: string;
memberCriteria: {
eventId: string;
productId?: string;
}[];
name: string;
}[];
userPermissions?: {
canCheckIn: {
eventId: string;
productId?: string;
};
members: {
eventId: string;
productId?: string;
}[];
}[];
};
ownerUserId: string;
timeCreated: string;
timeUpdated: string;
type: Pretix;
}