✨ Allow user to share a flow publicly and make it duplicatable
Closes #360
This commit is contained in:
@@ -11,7 +11,7 @@ export const createCheckoutSession = authenticatedProcedure
|
||||
.meta({
|
||||
openapi: {
|
||||
method: 'POST',
|
||||
path: '/billing/subscription/checkout',
|
||||
path: '/v1/billing/subscription/checkout',
|
||||
protect: true,
|
||||
summary: 'Create checkout session to create a new subscription',
|
||||
tags: ['Billing'],
|
||||
|
||||
@@ -11,7 +11,7 @@ export const createCustomCheckoutSession = authenticatedProcedure
|
||||
.meta({
|
||||
openapi: {
|
||||
method: 'POST',
|
||||
path: '/billing/subscription/custom-checkout',
|
||||
path: '/v1/billing/subscription/custom-checkout',
|
||||
protect: true,
|
||||
summary:
|
||||
'Create custom checkout session to make a workspace pay for a custom plan',
|
||||
|
||||
@@ -10,7 +10,7 @@ export const getBillingPortalUrl = authenticatedProcedure
|
||||
.meta({
|
||||
openapi: {
|
||||
method: 'GET',
|
||||
path: '/billing/subscription/portal',
|
||||
path: '/v1/billing/subscription/portal',
|
||||
protect: true,
|
||||
summary: 'Get Stripe billing portal URL',
|
||||
tags: ['Billing'],
|
||||
|
||||
@@ -11,7 +11,7 @@ export const getSubscription = authenticatedProcedure
|
||||
.meta({
|
||||
openapi: {
|
||||
method: 'GET',
|
||||
path: '/billing/subscription',
|
||||
path: '/v1/billing/subscription',
|
||||
protect: true,
|
||||
summary: 'List invoices',
|
||||
tags: ['Billing'],
|
||||
|
||||
@@ -10,7 +10,7 @@ export const getUsage = authenticatedProcedure
|
||||
.meta({
|
||||
openapi: {
|
||||
method: 'GET',
|
||||
path: '/billing/usage',
|
||||
path: '/v1/billing/usage',
|
||||
protect: true,
|
||||
summary: 'Get current plan usage',
|
||||
tags: ['Billing'],
|
||||
|
||||
@@ -12,7 +12,7 @@ export const listInvoices = authenticatedProcedure
|
||||
.meta({
|
||||
openapi: {
|
||||
method: 'GET',
|
||||
path: '/billing/invoices',
|
||||
path: '/v1/billing/invoices',
|
||||
protect: true,
|
||||
summary: 'List invoices',
|
||||
tags: ['Billing'],
|
||||
|
||||
@@ -14,7 +14,7 @@ export const updateSubscription = authenticatedProcedure
|
||||
.meta({
|
||||
openapi: {
|
||||
method: 'PATCH',
|
||||
path: '/billing/subscription',
|
||||
path: '/v1/billing/subscription',
|
||||
protect: true,
|
||||
summary: 'Update subscription',
|
||||
tags: ['Billing'],
|
||||
|
||||
Reference in New Issue
Block a user