@@ -36,6 +36,12 @@ export const AllTypesProps: Record<string,any> = {
3636 AdminQuery :{
3737 users :{
3838 page :"PageInput"
39+ } ,
40+ userById :{
41+
42+ } ,
43+ storedTranslationById :{
44+
3945 }
4046 } ,
4147 AdminMutation :{
@@ -48,6 +54,11 @@ export const AllTypesProps: Record<string,any> = {
4854 tokens :"BigInt"
4955 }
5056 } ,
57+ StripeMutation :{
58+ buyProduct :{
59+
60+ }
61+ } ,
5162 AuthorizedUserMutation :{
5263 createApiKey :{
5364 apiKey :"CreateApiKey"
@@ -68,6 +79,9 @@ export const AllTypesProps: Record<string,any> = {
6879 User :{
6980 translations :{
7081 page :"PageInput"
82+ } ,
83+ purchases :{
84+ page :"PageInput"
7185 }
7286 } ,
7387 PublicUsersQuery :{
@@ -187,7 +201,13 @@ export const ReturnTypes: Record<string,any> = {
187201 _id :"String" ,
188202 name :"String" ,
189203 inputSize :"BigInt" ,
190- consumedTokens :"BigInt"
204+ consumedTokens :"BigInt" ,
205+ format :"Format" ,
206+ formality :"Formality" ,
207+ context :"String" ,
208+ excludePhrases :"String" ,
209+ excludeRegex :"String" ,
210+ cacheTokens :"BigInt"
191211 } ,
192212 PageInfo :{
193213 hasNext :"Boolean" ,
@@ -211,14 +231,40 @@ export const ReturnTypes: Record<string,any> = {
211231 cached :"BigInt"
212232 } ,
213233 AdminQuery :{
214- users :"UsersConnection"
234+ users :"UsersConnection" ,
235+ userById :"User" ,
236+ storedTranslationById :"StoredTranslation"
215237 } ,
216238 AdminMutation :{
217239 userOps :"UserOps"
218240 } ,
219241 UserOps :{
220242 changeUserTokens :"Boolean"
221243 } ,
244+ StripeQuery :{
245+ packages :"StripePackage" ,
246+ freePlanTokenLimit :"Int"
247+ } ,
248+ StripePackage :{
249+ name :"String" ,
250+ price :"Float" ,
251+ tokens :"Int" ,
252+ stripeLinkId :"String"
253+ } ,
254+ StripeMutation :{
255+ buyProduct :"String"
256+ } ,
257+ Purchase :{
258+ boughtTokens :"BigInt" ,
259+ tokenPrice :"Int" ,
260+ createdAt :"String" ,
261+ _id :"String" ,
262+ user :"User"
263+ } ,
264+ PurchaseConnection :{
265+ items :"Purchase" ,
266+ pageInfo :"PageInfo"
267+ } ,
222268 Mutation :{
223269 webhook :"String" ,
224270 api :"ApiMutation" ,
@@ -229,6 +275,7 @@ export const ReturnTypes: Record<string,any> = {
229275 revokeApiKey :"Boolean" ,
230276 api :"ApiMutation" ,
231277 admin :"AdminMutation" ,
278+ stripe :"StripeMutation" ,
232279 changePasswordWhenLogged :"ChangePasswordWhenLoggedResponse" ,
233280 editUser :"EditUserResponse" ,
234281 integrateSocialAccount :"IntegrateSocialAccountResponse"
@@ -237,6 +284,7 @@ export const ReturnTypes: Record<string,any> = {
237284 apiKeys :"ApiKey" ,
238285 api :"ApiQuery" ,
239286 admin :"AdminQuery" ,
287+ billingPortalLink :"String" ,
240288 me :"User"
241289 } ,
242290 User :{
@@ -248,11 +296,14 @@ export const ReturnTypes: Record<string,any> = {
248296 fullName :"String" ,
249297 avatarUrl :"String" ,
250298 translations :"StoredTranslationConnection" ,
251- boughtTokens :"BigInt"
299+ boughtTokens :"BigInt" ,
300+ purchases :"PurchaseConnection" ,
301+ stripeCustomerId :"String"
252302 } ,
253303 Query :{
254304 users :"UsersQuery" ,
255- api :"ApiQuery"
305+ api :"ApiQuery" ,
306+ stripe :"StripeQuery"
256307 } ,
257308 UsersQuery :{
258309 user :"AuthorizedUserQuery" ,
0 commit comments