gitpod/components/gitpod-protocol/src/payment-protocol.ts
2022-03-14 21:42:21 +05:30

21 lines
493 B
TypeScript

/**
* Copyright (c) 2021 Gitpod GmbH. All rights reserved.
* Licensed under the GNU Affero General Public License (AGPL).
* See License-AGPL.txt in the project root for license information.
*/
export namespace PaymentProtocol {
export const UPDATE_GITPOD_SUBSCRIPTION_PATH = "/payment/chargebee";
}
export interface PlanCoupon {
chargebeePlanID: string;
newPrice: number;
description: string;
}
export interface GithubUpgradeURL {
url: string;
planID: number;
}