Phase8: Auto bill credit card
All checks were successful
Build and Push / build (push) Successful in 1m45s
All checks were successful
Build and Push / build (push) Successful in 1m45s
This commit is contained in:
@@ -84,6 +84,21 @@ export interface PackageDef {
|
||||
* stays opt-in.
|
||||
*/
|
||||
recommended?: boolean;
|
||||
/**
|
||||
* Phase 9b: when true, the onboarding wizard collects the
|
||||
* customer's own user id for this channel (e.g. their Telegram
|
||||
* numeric id, their Threema ID) at request time. The collected
|
||||
* id is forwarded with the tenant request, stored on the row,
|
||||
* and applied on admin approval:
|
||||
* - spec.channelUsers[<channel>] gets the id seeded so the
|
||||
* operator's first reconcile already has it
|
||||
* - for Threema specifically, the approve handler additionally
|
||||
* calls the relay's createRoute() so inbound messages from
|
||||
* that id reach the new tenant
|
||||
* Customers can add more ids later via the channel-users page.
|
||||
* Help copy and label come from channelUsers.<id>IdHelp.
|
||||
*/
|
||||
collectsChannelUserId?: boolean;
|
||||
}
|
||||
|
||||
export const PACKAGE_CATALOG: PackageDef[] = [
|
||||
@@ -137,6 +152,7 @@ export const PACKAGE_CATALOG: PackageDef[] = [
|
||||
instructionsKey: "packages.telegram.instructions",
|
||||
disclaimerKey: "packages.telegram.disclaimer",
|
||||
category: "channel",
|
||||
collectsChannelUserId: true,
|
||||
},
|
||||
{
|
||||
id: "discord",
|
||||
@@ -166,6 +182,7 @@ export const PACKAGE_CATALOG: PackageDef[] = [
|
||||
instructionsKey: "packages.discord.instructions",
|
||||
disclaimerKey: "packages.discord.disclaimer",
|
||||
category: "channel",
|
||||
collectsChannelUserId: true,
|
||||
},
|
||||
{
|
||||
id: "threema",
|
||||
@@ -182,6 +199,7 @@ export const PACKAGE_CATALOG: PackageDef[] = [
|
||||
disclaimerKey: "packages.threema.disclaimer",
|
||||
category: "channel",
|
||||
recommended: true,
|
||||
collectsChannelUserId: true,
|
||||
},
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user