diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-17 17:38:33 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-17 17:44:30 +1100 |
commit | e7a6be0639cfbe94ce1afcfb9fef8c58147d69a2 (patch) | |
tree | fb8a2ed2f6758dde4c797d3c357d221fd062ce8e /src/api | |
parent | Remove Slowcord demo user restrictions (diff) | |
download | server-e7a6be0639cfbe94ce1afcfb9fef8c58147d69a2.tar.xz |
Premium tier 0 SKU from staging
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/routes/store/published-listings/skus/#sku_id/subscription-plans.ts | 255 |
1 files changed, 205 insertions, 50 deletions
diff --git a/src/api/routes/store/published-listings/skus/#sku_id/subscription-plans.ts b/src/api/routes/store/published-listings/skus/#sku_id/subscription-plans.ts index 33151056..7c544921 100644 --- a/src/api/routes/store/published-listings/skus/#sku_id/subscription-plans.ts +++ b/src/api/routes/store/published-listings/skus/#sku_id/subscription-plans.ts @@ -5,142 +5,297 @@ const router: Router = Router(); const skus = new Map([ [ - "978380684370378762", - [ - { - id: "978380692553465866", - name: "Nitro Lite Monthly", - interval: 1, - interval_count: 1, - tag_inclusive: true, - sku_id: "978380684370378762", - currency: "usd", - price: 0, - price_tier: null, - }, - ], - ], - [ "521842865731534868", [ { id: "511651856145973248", - name: "Premium Monthly (Legacy)", + name: "Individual Premium Tier 3 Monthly (Legacy)", interval: 1, interval_count: 1, tax_inclusive: true, sku_id: "521842865731534868", - currency: "usd", + currency: "eur", price: 0, - price_tier: null, + price_tier: null }, { id: "511651860671627264", - name: "Premium Yearly (Legacy)", + name: "Individiual Premium Tier 3 Yearly (Legacy)", interval: 2, interval_count: 1, tax_inclusive: true, sku_id: "521842865731534868", - currency: "usd", + currency: "eur", price: 0, - price_tier: null, - }, - ], + price_tier: null + } + ] ], [ "521846918637420545", [ { id: "511651871736201216", - name: "Premium Classic Monthly", + name: "Individual Premium Tier 2 Monthly", interval: 1, interval_count: 1, tax_inclusive: true, sku_id: "521846918637420545", - currency: "usd", + currency: "eur", price: 0, - price_tier: null, + price_tier: null }, { id: "511651876987469824", - name: "Premium Classic Yearly", + name: "Individual Premum Tier 2 Yearly", interval: 2, interval_count: 1, tax_inclusive: true, sku_id: "521846918637420545", - currency: "usd", + currency: "eur", price: 0, - price_tier: null, + price_tier: null }, - ], + { + id: "978380684370378761", + name: "Individual Premum Tier 1", + interval: 2, + interval_count: 1, + tax_inclusive: true, + sku_id: "521846918637420545", + currency: "eur", + price: 0, + price_tier: null + } + ] ], [ "521847234246082599", [ { id: "642251038925127690", - name: "Premium Quarterly", + name: "Individual Premium Tier 3 Quarterly", interval: 1, interval_count: 3, tax_inclusive: true, sku_id: "521847234246082599", - currency: "usd", + currency: "eur", price: 0, - price_tier: null, + price_tier: null }, { id: "511651880837840896", - name: "Premium Monthly", + name: "Individual Premium Tier 3 Monthly", interval: 1, interval_count: 1, tax_inclusive: true, sku_id: "521847234246082599", - currency: "usd", + currency: "eur", price: 0, - price_tier: null, + price_tier: null }, { id: "511651885459963904", - name: "Premium Yearly", + name: "Individual Premium Tier 3 Yearly", interval: 2, interval_count: 1, tax_inclusive: true, sku_id: "521847234246082599", - currency: "usd", + currency: "eur", price: 0, - price_tier: null, - }, - ], + price_tier: null + } + ] ], [ "590663762298667008", [ { id: "590665532894740483", - name: "Server Boost Monthly", + name: "Crowd Premium Monthly", interval: 1, interval_count: 1, tax_inclusive: true, sku_id: "590663762298667008", discount_price: 0, - currency: "usd", + currency: "eur", price: 0, - price_tier: null, + price_tier: null }, { id: "590665538238152709", - name: "Server Boost Yearly", + name: "Crowd Premium Yearly", interval: 2, interval_count: 1, tax_inclusive: true, sku_id: "590663762298667008", discount_price: 0, - currency: "usd", + currency: "eur", price: 0, - price_tier: null, - }, - ], + price_tier: null + } + ] ], + [ + "978380684370378762", + [ + [ + { + id: "978380692553465866", + name: "Premium Tier 0 Monthly", + interval: 1, + interval_count: 1, + tax_inclusive: true, + sku_id: "978380684370378762", + currency: "usd", + price: 299, + price_tier: null, + prices: { + "0": { + country_prices: { + country_code: "US", + prices: [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ] + }, + payment_source_prices: { + "775487223059316758": [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ], + "736345864146255982": [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ], + "683074999590060249": [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ] + } + }, + "3": { + country_prices: { + country_code: "US", + prices: [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ] + }, + payment_source_prices: { + "775487223059316758": [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ], + "736345864146255982": [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ], + "683074999590060249": [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ] + } + }, + "4": { + country_prices: { + country_code: "US", + prices: [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ] + }, + payment_source_prices: { + "775487223059316758": [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ], + "736345864146255982": [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ], + "683074999590060249": [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ] + } + }, + "1": { + country_prices: { + country_code: "US", + prices: [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ] + }, + payment_source_prices: { + "775487223059316758": [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ], + "736345864146255982": [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ], + "683074999590060249": [ + { + currency: "usd", + amount: 0, + exponent: 2 + } + ] + } + } + } + } + ] + ] + ] ]); router.get("/", route({}), async (req: Request, res: Response) => { |