Files
speckle-server/packages/server/test/graphql/gatekeeper.ts
T
Gergő Jedlicska 61ca128ce2 gergo/multiCurrency (#4379)
* feat(gatekeeper): support multiple currencies

* feat(helm): add new currency based prices to helm chart

* chore(env): add example currency based pricing values

* fix(ci): update price ids to the proper values

* feat(helm): rename price ids to fit multi currency

* feat(gatekeeper): currency input for checkout session

* Updated prices in the FE

* chore(gatekeeper): remove old checkout session flow

* Updated prices in the FE

* Fix FE

* Fix pipeline

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2025-04-11 17:37:47 +02:00

97 lines
1.9 KiB
TypeScript

import gql from 'graphql-tag'
export const getWorkspacePlanPrices = gql`
query GetWorkspacePlanPrices {
serverInfo {
workspaces {
planPrices {
usd {
team {
monthly {
amount
currency
}
yearly {
amount
currency
}
}
teamUnlimited {
monthly {
amount
currency
}
yearly {
amount
currency
}
}
pro {
monthly {
amount
currency
}
yearly {
amount
currency
}
}
proUnlimited {
monthly {
amount
currency
}
yearly {
amount
currency
}
}
}
gbp {
team {
monthly {
amount
currency
}
yearly {
amount
currency
}
}
teamUnlimited {
monthly {
amount
currency
}
yearly {
amount
currency
}
}
pro {
monthly {
amount
currency
}
yearly {
amount
currency
}
}
proUnlimited {
monthly {
amount
currency
}
yearly {
amount
currency
}
}
}
}
}
}
}
`