@moneypot/hub 1.5.2 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/README.md +5 -1
  2. package/dist/dashboard/assets/{index-DuFZbLfp.js → index-D5u-RqBs.js} +1 -1
  3. package/dist/dashboard/index.html +1 -1
  4. package/dist/src/__generated__/gql.d.ts +16 -4
  5. package/dist/src/__generated__/gql.js +8 -2
  6. package/dist/src/__generated__/graphql.d.ts +475 -140
  7. package/dist/src/__generated__/graphql.js +34 -2
  8. package/dist/src/db/index.d.ts +2 -2
  9. package/dist/src/db/index.js +9 -6
  10. package/dist/src/graphql-queries.d.ts +0 -5
  11. package/dist/src/graphql-queries.js +0 -61
  12. package/dist/src/index.js +15 -11
  13. package/dist/src/plugins/hub-add-casino.js +2 -2
  14. package/dist/src/process-transfers/graphql.d.ts +1 -0
  15. package/dist/src/process-transfers/graphql.js +39 -0
  16. package/dist/src/process-transfers/index.d.ts +9 -0
  17. package/dist/src/process-transfers/index.js +89 -0
  18. package/dist/src/process-transfers/polling-processor.d.ts +10 -0
  19. package/dist/src/{process-transfers.js → process-transfers/polling-processor.js} +154 -345
  20. package/dist/src/process-transfers/process-transfer.d.ts +13 -0
  21. package/dist/src/process-transfers/process-transfer.js +151 -0
  22. package/dist/src/process-transfers/websocket-processor.d.ts +7 -0
  23. package/dist/src/process-transfers/websocket-processor.js +129 -0
  24. package/dist/src/server/index.js +0 -1
  25. package/dist/src/services/jwt-service.js +0 -4
  26. package/dist/src/take-request/process-take-request.d.ts +9 -0
  27. package/dist/src/take-request/process-take-request.js +43 -15
  28. package/package.json +3 -2
  29. package/dist/src/process-transfers.d.ts +0 -10
@@ -277,6 +277,7 @@ export declare enum AuthnRequestOrderBy {
277
277
  PrimaryKeyDesc = "PRIMARY_KEY_DESC"
278
278
  }
279
279
  export declare enum AuthnRequestType {
280
+ DemoUser = "DEMO_USER",
280
281
  Login = "LOGIN",
281
282
  Register = "REGISTER"
282
283
  }
@@ -385,6 +386,7 @@ export type Controller = Holder & {
385
386
  apiKeysByControllerId: ApiKeyConnection;
386
387
  balanceByCurrency?: Maybe<Scalars['Float']['output']>;
387
388
  deletedAt?: Maybe<Scalars['Datetime']['output']>;
389
+ experiencesByControllerId: ExperienceConnection;
388
390
  faucetClaimsByHolderId: FaucetClaimConnection;
389
391
  id: Scalars['UUID']['output'];
390
392
  kind: HolderKind;
@@ -420,6 +422,16 @@ export type ControllerApiKeysByControllerIdArgs = {
420
422
  export type ControllerBalanceByCurrencyArgs = {
421
423
  currency: Scalars['String']['input'];
422
424
  };
425
+ export type ControllerExperiencesByControllerIdArgs = {
426
+ after?: InputMaybe<Scalars['Cursor']['input']>;
427
+ before?: InputMaybe<Scalars['Cursor']['input']>;
428
+ condition?: InputMaybe<ExperienceCondition>;
429
+ first?: InputMaybe<Scalars['Int']['input']>;
430
+ includeDeleted?: InputMaybe<IncludeDeletedOption>;
431
+ last?: InputMaybe<Scalars['Int']['input']>;
432
+ offset?: InputMaybe<Scalars['Int']['input']>;
433
+ orderBy?: InputMaybe<Array<ExperienceOrderBy>>;
434
+ };
423
435
  export type ControllerFaucetClaimsByHolderIdArgs = {
424
436
  after?: InputMaybe<Scalars['Cursor']['input']>;
425
437
  before?: InputMaybe<Scalars['Cursor']['input']>;
@@ -560,9 +572,10 @@ export type CreateApiKeyInput = {
560
572
  };
561
573
  export type CreateApiKeyPayload = {
562
574
  __typename?: 'CreateApiKeyPayload';
563
- apiKey?: Maybe<ApiKey>;
575
+ apiKey: ApiKey;
564
576
  clientMutationId?: Maybe<Scalars['String']['output']>;
565
577
  query?: Maybe<Query>;
578
+ secretKey: Scalars['String']['output'];
566
579
  };
567
580
  export type CreateControllerInput = {
568
581
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
@@ -574,9 +587,14 @@ export type CreateControllerPayload = {
574
587
  controller?: Maybe<Controller>;
575
588
  query?: Maybe<Query>;
576
589
  };
590
+ export type CreateDemoUserPayload = {
591
+ __typename?: 'CreateDemoUserPayload';
592
+ sessionKey: Scalars['String']['output'];
593
+ };
577
594
  export type CreateExperienceInput = {
578
595
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
579
- controllerId: Scalars['UUID']['input'];
596
+ controllerId: Scalars['String']['input'];
597
+ iframeUrl?: InputMaybe<Scalars['String']['input']>;
580
598
  name: Scalars['String']['input'];
581
599
  };
582
600
  export type CreateExperiencePayload = {
@@ -585,6 +603,15 @@ export type CreateExperiencePayload = {
585
603
  experience?: Maybe<Experience>;
586
604
  query?: Maybe<Query>;
587
605
  };
606
+ export type CreateSupportTicketInput = {
607
+ email: Scalars['String']['input'];
608
+ message: Scalars['String']['input'];
609
+ token: Scalars['String']['input'];
610
+ };
611
+ export type CreateSupportTicketPayload = {
612
+ __typename?: 'CreateSupportTicketPayload';
613
+ success: Scalars['Boolean']['output'];
614
+ };
588
615
  export type CreateTakeRequestInput = {
589
616
  amount?: InputMaybe<Scalars['Float']['input']>;
590
617
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
@@ -616,6 +643,7 @@ export type Currency = {
616
643
  faucetClaimsByCurrencyKey: FaucetClaimConnection;
617
644
  id: Scalars['String']['output'];
618
645
  invoicesByCurrencyKey: InvoiceConnection;
646
+ minWithdrawal: Scalars['Int']['output'];
619
647
  takeRequestsByCurrencyKey: TakeRequestConnection;
620
648
  transfersByCurrency: TransferConnection;
621
649
  wholeUnitScale: Scalars['Float']['output'];
@@ -763,23 +791,55 @@ export type EmailChangeRequest = {
763
791
  userId: Scalars['UUID']['output'];
764
792
  verifiedAt?: Maybe<Scalars['Datetime']['output']>;
765
793
  };
794
+ export type EmailChangeRequestCondition = {
795
+ id?: InputMaybe<Scalars['UUID']['input']>;
796
+ userId?: InputMaybe<Scalars['UUID']['input']>;
797
+ };
798
+ export type EmailChangeRequestConnection = {
799
+ __typename?: 'EmailChangeRequestConnection';
800
+ edges: Array<Maybe<EmailChangeRequestEdge>>;
801
+ nodes: Array<Maybe<EmailChangeRequest>>;
802
+ pageInfo: PageInfo;
803
+ totalCount: Scalars['Int']['output'];
804
+ };
805
+ export type EmailChangeRequestEdge = {
806
+ __typename?: 'EmailChangeRequestEdge';
807
+ cursor?: Maybe<Scalars['Cursor']['output']>;
808
+ node?: Maybe<EmailChangeRequest>;
809
+ };
810
+ export declare enum EmailChangeRequestOrderBy {
811
+ IdAsc = "ID_ASC",
812
+ IdDesc = "ID_DESC",
813
+ Natural = "NATURAL",
814
+ PrimaryKeyAsc = "PRIMARY_KEY_ASC",
815
+ PrimaryKeyDesc = "PRIMARY_KEY_DESC",
816
+ UserIdAsc = "USER_ID_ASC",
817
+ UserIdDesc = "USER_ID_DESC"
818
+ }
766
819
  export declare enum EmailStepResult {
767
820
  AllDone = "ALL_DONE",
768
821
  AlreadyDone = "ALREADY_DONE",
769
822
  StepDone = "STEP_DONE"
770
823
  }
824
+ export type EmailTakenError = {
825
+ __typename?: 'EmailTakenError';
826
+ message: Scalars['String']['output'];
827
+ };
771
828
  export type Experience = {
772
829
  __typename?: 'Experience';
773
830
  controllerByControllerId?: Maybe<Controller>;
774
831
  controllerId: Scalars['UUID']['output'];
775
832
  deletedAt?: Maybe<Scalars['Datetime']['output']>;
776
833
  experienceTransfersByExperienceId: ExperienceTransferConnection;
834
+ favoritedByUserId: Scalars['Boolean']['output'];
777
835
  id: Scalars['UUID']['output'];
778
836
  iframeUrl?: Maybe<Scalars['String']['output']>;
779
837
  name: Scalars['String']['output'];
838
+ slug?: Maybe<Scalars['String']['output']>;
780
839
  takeRequestsByExperienceId: TakeRequestConnection;
781
840
  userByUserId?: Maybe<User>;
782
841
  userId: Scalars['UUID']['output'];
842
+ userOncePut: Scalars['Boolean']['output'];
783
843
  };
784
844
  export type ExperienceExperienceTransfersByExperienceIdArgs = {
785
845
  after?: InputMaybe<Scalars['Cursor']['input']>;
@@ -790,6 +850,9 @@ export type ExperienceExperienceTransfersByExperienceIdArgs = {
790
850
  offset?: InputMaybe<Scalars['Int']['input']>;
791
851
  orderBy?: InputMaybe<Array<ExperienceTransferOrderBy>>;
792
852
  };
853
+ export type ExperienceFavoritedByUserIdArgs = {
854
+ userId: Scalars['UUID']['input'];
855
+ };
793
856
  export type ExperienceTakeRequestsByExperienceIdArgs = {
794
857
  after?: InputMaybe<Scalars['Cursor']['input']>;
795
858
  before?: InputMaybe<Scalars['Cursor']['input']>;
@@ -799,7 +862,12 @@ export type ExperienceTakeRequestsByExperienceIdArgs = {
799
862
  offset?: InputMaybe<Scalars['Int']['input']>;
800
863
  orderBy?: InputMaybe<Array<TakeRequestOrderBy>>;
801
864
  };
865
+ export type ExperienceUserOncePutArgs = {
866
+ userId: Scalars['UUID']['input'];
867
+ };
802
868
  export type ExperienceCondition = {
869
+ controllerId?: InputMaybe<Scalars['UUID']['input']>;
870
+ favoritedByUserId?: InputMaybe<Scalars['UUID']['input']>;
803
871
  id?: InputMaybe<Scalars['UUID']['input']>;
804
872
  userId?: InputMaybe<Scalars['UUID']['input']>;
805
873
  };
@@ -816,6 +884,8 @@ export type ExperienceEdge = {
816
884
  node?: Maybe<Experience>;
817
885
  };
818
886
  export declare enum ExperienceOrderBy {
887
+ ControllerIdAsc = "CONTROLLER_ID_ASC",
888
+ ControllerIdDesc = "CONTROLLER_ID_DESC",
819
889
  IdAsc = "ID_ASC",
820
890
  IdDesc = "ID_DESC",
821
891
  Natural = "NATURAL",
@@ -827,6 +897,7 @@ export declare enum ExperienceOrderBy {
827
897
  export type ExperiencePatch = {
828
898
  iframeUrl?: InputMaybe<Scalars['String']['input']>;
829
899
  name?: InputMaybe<Scalars['String']['input']>;
900
+ slug?: InputMaybe<Scalars['String']['input']>;
830
901
  };
831
902
  export type ExperienceTransfer = Transfer & {
832
903
  __typename?: 'ExperienceTransfer';
@@ -848,6 +919,7 @@ export type ExperienceTransfer = Transfer & {
848
919
  status: TransferStatusKind;
849
920
  statusAt: Scalars['Datetime']['output'];
850
921
  takeRequest?: Maybe<TakeRequest>;
922
+ takeRequestByTakeRequestId?: Maybe<TakeRequest>;
851
923
  takeRequestId?: Maybe<Scalars['UUID']['output']>;
852
924
  toAccountId: Scalars['UUID']['output'];
853
925
  toHolderId: Scalars['UUID']['output'];
@@ -946,6 +1018,16 @@ export declare enum FaucetClaimOrderBy {
946
1018
  PrimaryKeyAsc = "PRIMARY_KEY_ASC",
947
1019
  PrimaryKeyDesc = "PRIMARY_KEY_DESC"
948
1020
  }
1021
+ export type FavoriteExperienceInput = {
1022
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
1023
+ experienceId: Scalars['UUID']['input'];
1024
+ favorite: Scalars['Boolean']['input'];
1025
+ };
1026
+ export type FavoriteExperiencePayload = {
1027
+ __typename?: 'FavoriteExperiencePayload';
1028
+ clientMutationId?: Maybe<Scalars['String']['output']>;
1029
+ experience: Experience;
1030
+ };
949
1031
  export type GenerateKeyPairError = {
950
1032
  __typename?: 'GenerateKeyPairError';
951
1033
  message: Scalars['String']['output'];
@@ -1182,18 +1264,22 @@ export type Mutation = {
1182
1264
  confirmEmailToken?: Maybe<ConfirmEmailTokenPayload>;
1183
1265
  createApiKey?: Maybe<CreateApiKeyPayload>;
1184
1266
  createController?: Maybe<CreateControllerPayload>;
1267
+ createDemoUser: CreateDemoUserPayload;
1185
1268
  createExperience?: Maybe<CreateExperiencePayload>;
1186
1269
  createMatrixLoginToken?: Maybe<Scalars['String']['output']>;
1187
1270
  createOidcAuthorizationCode?: Maybe<Scalars['String']['output']>;
1271
+ createSupportTicket: CreateSupportTicketPayload;
1188
1272
  createTakeRequest: CreateTakeRequestPayload;
1189
1273
  createUserToken?: Maybe<CreateUserTokenPayload>;
1190
1274
  deleteApiKeyById: DeleteApiKeyByIdPayload;
1191
1275
  deleteControllerById?: Maybe<DeleteControllerPayload>;
1192
1276
  deleteExperienceById?: Maybe<DeleteExperiencePayload>;
1277
+ favoriteExperience: FavoriteExperiencePayload;
1193
1278
  generateKeyPair?: Maybe<GenerateKeyPairPayload>;
1194
1279
  loginMagicToken?: Maybe<LoginMagicTokenPayload>;
1195
1280
  loginOneTimeCode?: Maybe<LoginOneTimeCodePayload>;
1196
- registerUser?: Maybe<RegisterUserPayload>;
1281
+ optOutEmail: OptOutEmailPayload;
1282
+ registerUser: RegisterUserPayload;
1197
1283
  rejectTakeRequest: RejectTakeRequestPayload;
1198
1284
  resendEmailConfirmation?: Maybe<ResendEmailConfirmationPayload>;
1199
1285
  resendEmailVerification?: Maybe<ResendEmailVerificationPayload>;
@@ -1201,6 +1287,7 @@ export type Mutation = {
1201
1287
  revokeKeyPair?: Maybe<RevokeKeyPairPayload>;
1202
1288
  revokeSession?: Maybe<RevokeSessionPayload>;
1203
1289
  sendOneTimeLoginCode?: Maybe<SendOneTimeLoginCodePayload>;
1290
+ startDemoUserUpgrade?: Maybe<StartDemoUserUpgradePayload>;
1204
1291
  startEmailChange?: Maybe<StartEmailChangePayload>;
1205
1292
  startLogin?: Maybe<StartLoginPayload>;
1206
1293
  startPayout: StartPayoutPayload;
@@ -1208,7 +1295,7 @@ export type Mutation = {
1208
1295
  transferCurrencyExperienceToUser?: Maybe<TransferCurrencyExperienceToUserPayload>;
1209
1296
  transferCurrencyFromController?: Maybe<TransferCurrencyFromControllerPayload>;
1210
1297
  transferCurrencyToController?: Maybe<TransferCurrencyToControllerPayload>;
1211
- transferCurrencyToExperience?: Maybe<TransferCurrencyToExperiencePayload>;
1298
+ transferCurrencyToExperience: TransferCurrencyToExperiencePayload;
1212
1299
  transferCurrencyUserToUname?: Maybe<TransferCurrencyUserToUnamePayload>;
1213
1300
  updateControllerById?: Maybe<UpdateControllerPayload>;
1214
1301
  updateExperienceById?: Maybe<UpdateExperiencePayload>;
@@ -1255,6 +1342,9 @@ export type MutationCreateOidcAuthorizationCodeArgs = {
1255
1342
  nonce?: InputMaybe<Scalars['String']['input']>;
1256
1343
  userId: Scalars['UUID']['input'];
1257
1344
  };
1345
+ export type MutationCreateSupportTicketArgs = {
1346
+ input: CreateSupportTicketInput;
1347
+ };
1258
1348
  export type MutationCreateTakeRequestArgs = {
1259
1349
  input: CreateTakeRequestInput;
1260
1350
  };
@@ -1270,6 +1360,9 @@ export type MutationDeleteControllerByIdArgs = {
1270
1360
  export type MutationDeleteExperienceByIdArgs = {
1271
1361
  input: DeleteExperienceByIdInput;
1272
1362
  };
1363
+ export type MutationFavoriteExperienceArgs = {
1364
+ input: FavoriteExperienceInput;
1365
+ };
1273
1366
  export type MutationGenerateKeyPairArgs = {
1274
1367
  input?: InputMaybe<GenerateKeyPairInput>;
1275
1368
  };
@@ -1279,6 +1372,9 @@ export type MutationLoginMagicTokenArgs = {
1279
1372
  export type MutationLoginOneTimeCodeArgs = {
1280
1373
  input: LoginOneTimeCodeInput;
1281
1374
  };
1375
+ export type MutationOptOutEmailArgs = {
1376
+ input: OptOutEmailInput;
1377
+ };
1282
1378
  export type MutationRegisterUserArgs = {
1283
1379
  input: RegisterUserInput;
1284
1380
  };
@@ -1303,6 +1399,9 @@ export type MutationRevokeSessionArgs = {
1303
1399
  export type MutationSendOneTimeLoginCodeArgs = {
1304
1400
  input: SendOneTimeLoginCodeInput;
1305
1401
  };
1402
+ export type MutationStartDemoUserUpgradeArgs = {
1403
+ input: StartDemoUserUpgradeInput;
1404
+ };
1306
1405
  export type MutationStartEmailChangeArgs = {
1307
1406
  input: StartEmailChangeInput;
1308
1407
  };
@@ -1346,6 +1445,21 @@ export declare enum Network {
1346
1445
  Mainnet = "mainnet",
1347
1446
  Testnet = "testnet"
1348
1447
  }
1448
+ export type NewExperienceTransferPayload = {
1449
+ __typename?: 'NewExperienceTransferPayload';
1450
+ id: Scalars['UUID']['output'];
1451
+ };
1452
+ export type NewTakeRequestPayload = {
1453
+ __typename?: 'NewTakeRequestPayload';
1454
+ id: Scalars['UUID']['output'];
1455
+ };
1456
+ export type OptOutEmailInput = {
1457
+ emailEventId: Scalars['UUID']['input'];
1458
+ };
1459
+ export type OptOutEmailPayload = {
1460
+ __typename?: 'OptOutEmailPayload';
1461
+ success: Scalars['Boolean']['output'];
1462
+ };
1349
1463
  export type PageInfo = {
1350
1464
  __typename?: 'PageInfo';
1351
1465
  endCursor?: Maybe<Scalars['Cursor']['output']>;
@@ -1602,6 +1716,7 @@ export type Query = {
1602
1716
  allControllers?: Maybe<ControllerConnection>;
1603
1717
  allCurrencies?: Maybe<CurrencyConnection>;
1604
1718
  allDeposits?: Maybe<DepositConnection>;
1719
+ allEmailChangeRequests?: Maybe<EmailChangeRequestConnection>;
1605
1720
  allExperienceTransfers?: Maybe<ExperienceTransferConnection>;
1606
1721
  allExperiences?: Maybe<ExperienceConnection>;
1607
1722
  allFaucetClaims?: Maybe<FaucetClaimConnection>;
@@ -1614,6 +1729,7 @@ export type Query = {
1614
1729
  allPendingPayoutStatusChanges?: Maybe<PendingPayoutStatusChangeConnection>;
1615
1730
  allPendingPayouts?: Maybe<PendingPayoutConnection>;
1616
1731
  allSessions?: Maybe<SessionConnection>;
1732
+ allSupportTickets?: Maybe<SupportTicketConnection>;
1617
1733
  allTakeRequests?: Maybe<TakeRequestConnection>;
1618
1734
  allTransactionStatusChanges?: Maybe<TransactionStatusChangeConnection>;
1619
1735
  allTransactions?: Maybe<TransactionConnection>;
@@ -1635,6 +1751,7 @@ export type Query = {
1635
1751
  currentSession?: Maybe<Session>;
1636
1752
  currentUser?: Maybe<User>;
1637
1753
  depositById?: Maybe<Deposit>;
1754
+ emailChangeRequestById?: Maybe<EmailChangeRequest>;
1638
1755
  experienceById?: Maybe<Experience>;
1639
1756
  experienceTransferById?: Maybe<ExperienceTransfer>;
1640
1757
  faucetClaimById?: Maybe<FaucetClaim>;
@@ -1655,6 +1772,7 @@ export type Query = {
1655
1772
  query: Query;
1656
1773
  sessionById?: Maybe<Session>;
1657
1774
  sessionByKey?: Maybe<Session>;
1775
+ supportTicketById?: Maybe<SupportTicket>;
1658
1776
  takeRequestById?: Maybe<TakeRequest>;
1659
1777
  transactionByChillId?: Maybe<Transaction>;
1660
1778
  transactionById?: Maybe<Transaction>;
@@ -1771,6 +1889,15 @@ export type QueryAllDepositsArgs = {
1771
1889
  offset?: InputMaybe<Scalars['Int']['input']>;
1772
1890
  orderBy?: InputMaybe<Array<DepositOrderBy>>;
1773
1891
  };
1892
+ export type QueryAllEmailChangeRequestsArgs = {
1893
+ after?: InputMaybe<Scalars['Cursor']['input']>;
1894
+ before?: InputMaybe<Scalars['Cursor']['input']>;
1895
+ condition?: InputMaybe<EmailChangeRequestCondition>;
1896
+ first?: InputMaybe<Scalars['Int']['input']>;
1897
+ last?: InputMaybe<Scalars['Int']['input']>;
1898
+ offset?: InputMaybe<Scalars['Int']['input']>;
1899
+ orderBy?: InputMaybe<Array<EmailChangeRequestOrderBy>>;
1900
+ };
1774
1901
  export type QueryAllExperienceTransfersArgs = {
1775
1902
  after?: InputMaybe<Scalars['Cursor']['input']>;
1776
1903
  before?: InputMaybe<Scalars['Cursor']['input']>;
@@ -1884,6 +2011,15 @@ export type QueryAllSessionsArgs = {
1884
2011
  offset?: InputMaybe<Scalars['Int']['input']>;
1885
2012
  orderBy?: InputMaybe<Array<SessionOrderBy>>;
1886
2013
  };
2014
+ export type QueryAllSupportTicketsArgs = {
2015
+ after?: InputMaybe<Scalars['Cursor']['input']>;
2016
+ before?: InputMaybe<Scalars['Cursor']['input']>;
2017
+ condition?: InputMaybe<SupportTicketCondition>;
2018
+ first?: InputMaybe<Scalars['Int']['input']>;
2019
+ last?: InputMaybe<Scalars['Int']['input']>;
2020
+ offset?: InputMaybe<Scalars['Int']['input']>;
2021
+ orderBy?: InputMaybe<Array<SupportTicketOrderBy>>;
2022
+ };
1887
2023
  export type QueryAllTakeRequestsArgs = {
1888
2024
  after?: InputMaybe<Scalars['Cursor']['input']>;
1889
2025
  before?: InputMaybe<Scalars['Cursor']['input']>;
@@ -1993,6 +2129,9 @@ export type QueryCurrencyByIdArgs = {
1993
2129
  export type QueryDepositByIdArgs = {
1994
2130
  id: Scalars['UUID']['input'];
1995
2131
  };
2132
+ export type QueryEmailChangeRequestByIdArgs = {
2133
+ id: Scalars['UUID']['input'];
2134
+ };
1996
2135
  export type QueryExperienceByIdArgs = {
1997
2136
  id: Scalars['UUID']['input'];
1998
2137
  };
@@ -2044,6 +2183,9 @@ export type QuerySessionByIdArgs = {
2044
2183
  export type QuerySessionByKeyArgs = {
2045
2184
  key: Scalars['UUID']['input'];
2046
2185
  };
2186
+ export type QuerySupportTicketByIdArgs = {
2187
+ id: Scalars['UUID']['input'];
2188
+ };
2047
2189
  export type QueryTakeRequestByIdArgs = {
2048
2190
  id: Scalars['UUID']['input'];
2049
2191
  };
@@ -2084,16 +2226,19 @@ export type QueryWithdrawalByPayoutIdArgs = {
2084
2226
  payoutId: Scalars['UUID']['input'];
2085
2227
  };
2086
2228
  export type RegisterUserInput = {
2087
- clientMutationId?: InputMaybe<Scalars['String']['input']>;
2088
2229
  email: Scalars['String']['input'];
2230
+ token: Scalars['String']['input'];
2089
2231
  uname: Scalars['String']['input'];
2090
2232
  };
2091
2233
  export type RegisterUserPayload = {
2092
2234
  __typename?: 'RegisterUserPayload';
2093
- authnRequestId: Scalars['UUID']['output'];
2094
- clientMutationId?: Maybe<Scalars['String']['output']>;
2095
- devLoginUrl?: Maybe<Scalars['String']['output']>;
2096
2235
  query?: Maybe<Query>;
2236
+ result?: Maybe<RegisterUserResult>;
2237
+ };
2238
+ export type RegisterUserResult = EmailTakenError | RegisterUserSuccess | UnameTakenError;
2239
+ export type RegisterUserSuccess = {
2240
+ __typename?: 'RegisterUserSuccess';
2241
+ authnRequestId: Scalars['UUID']['output'];
2097
2242
  };
2098
2243
  export type RejectTakeRequestInput = {
2099
2244
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
@@ -2173,10 +2318,12 @@ export type SendOneTimeLoginCodePayload = {
2173
2318
  };
2174
2319
  export type Session = {
2175
2320
  __typename?: 'Session';
2321
+ country?: Maybe<Scalars['String']['output']>;
2176
2322
  expiredAt: Scalars['Datetime']['output'];
2177
2323
  id: Scalars['UUID']['output'];
2178
2324
  key: Scalars['UUID']['output'];
2179
2325
  lastUsedAt?: Maybe<Scalars['Datetime']['output']>;
2326
+ realIp?: Maybe<Scalars['String']['output']>;
2180
2327
  revokedAt?: Maybe<Scalars['Datetime']['output']>;
2181
2328
  trackingId: Scalars['UUID']['output'];
2182
2329
  userAgent?: Maybe<Scalars['String']['output']>;
@@ -2211,6 +2358,21 @@ export declare enum SessionOrderBy {
2211
2358
  UserIdAsc = "USER_ID_ASC",
2212
2359
  UserIdDesc = "USER_ID_DESC"
2213
2360
  }
2361
+ export type StartDemoUserUpgradeInput = {
2362
+ email: Scalars['String']['input'];
2363
+ token: Scalars['String']['input'];
2364
+ uname: Scalars['String']['input'];
2365
+ };
2366
+ export type StartDemoUserUpgradePayload = {
2367
+ __typename?: 'StartDemoUserUpgradePayload';
2368
+ query?: Maybe<Query>;
2369
+ result?: Maybe<StartDemoUserUpgradeResult>;
2370
+ };
2371
+ export type StartDemoUserUpgradeResult = EmailTakenError | StartDemoUserUpgradeSuccess | UnameTakenError;
2372
+ export type StartDemoUserUpgradeSuccess = {
2373
+ __typename?: 'StartDemoUserUpgradeSuccess';
2374
+ authnRequestId: Scalars['UUID']['output'];
2375
+ };
2214
2376
  export type StartEmailChangeInput = {
2215
2377
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
2216
2378
  newEmail: Scalars['String']['input'];
@@ -2245,8 +2407,45 @@ export type StartPayoutPayload = {
2245
2407
  export type Subscription = {
2246
2408
  __typename?: 'Subscription';
2247
2409
  balanceAlert: BalanceAlertPayload;
2410
+ newExperienceTransfer?: Maybe<NewExperienceTransferPayload>;
2411
+ newTakeRequest?: Maybe<NewTakeRequestPayload>;
2412
+ takeRequestAlert?: Maybe<TakeRequestAlertPayload>;
2248
2413
  transferAlert?: Maybe<TransferAlertPayload>;
2249
2414
  };
2415
+ export type SupportTicket = {
2416
+ __typename?: 'SupportTicket';
2417
+ email: Scalars['String']['output'];
2418
+ id: Scalars['UUID']['output'];
2419
+ isOpen: Scalars['Boolean']['output'];
2420
+ message: Scalars['String']['output'];
2421
+ userByUserId?: Maybe<User>;
2422
+ userId?: Maybe<Scalars['UUID']['output']>;
2423
+ };
2424
+ export type SupportTicketCondition = {
2425
+ id?: InputMaybe<Scalars['UUID']['input']>;
2426
+ userId?: InputMaybe<Scalars['UUID']['input']>;
2427
+ };
2428
+ export type SupportTicketConnection = {
2429
+ __typename?: 'SupportTicketConnection';
2430
+ edges: Array<Maybe<SupportTicketEdge>>;
2431
+ nodes: Array<Maybe<SupportTicket>>;
2432
+ pageInfo: PageInfo;
2433
+ totalCount: Scalars['Int']['output'];
2434
+ };
2435
+ export type SupportTicketEdge = {
2436
+ __typename?: 'SupportTicketEdge';
2437
+ cursor?: Maybe<Scalars['Cursor']['output']>;
2438
+ node?: Maybe<SupportTicket>;
2439
+ };
2440
+ export declare enum SupportTicketOrderBy {
2441
+ IdAsc = "ID_ASC",
2442
+ IdDesc = "ID_DESC",
2443
+ Natural = "NATURAL",
2444
+ PrimaryKeyAsc = "PRIMARY_KEY_ASC",
2445
+ PrimaryKeyDesc = "PRIMARY_KEY_DESC",
2446
+ UserIdAsc = "USER_ID_ASC",
2447
+ UserIdDesc = "USER_ID_DESC"
2448
+ }
2250
2449
  export type TakeRequest = {
2251
2450
  __typename?: 'TakeRequest';
2252
2451
  amount?: Maybe<Scalars['Float']['output']>;
@@ -2255,12 +2454,26 @@ export type TakeRequest = {
2255
2454
  experienceByExperienceId?: Maybe<Experience>;
2256
2455
  experienceId: Scalars['UUID']['output'];
2257
2456
  experienceTransfer?: Maybe<ExperienceTransfer>;
2457
+ experienceTransfersByTakeRequestId: ExperienceTransferConnection;
2258
2458
  id: Scalars['UUID']['output'];
2259
2459
  status: TakeRequestStatus;
2260
2460
  statusAt: Scalars['Datetime']['output'];
2261
2461
  userByUserId?: Maybe<User>;
2262
2462
  userId: Scalars['UUID']['output'];
2263
2463
  };
2464
+ export type TakeRequestExperienceTransfersByTakeRequestIdArgs = {
2465
+ after?: InputMaybe<Scalars['Cursor']['input']>;
2466
+ before?: InputMaybe<Scalars['Cursor']['input']>;
2467
+ condition?: InputMaybe<ExperienceTransferCondition>;
2468
+ first?: InputMaybe<Scalars['Int']['input']>;
2469
+ last?: InputMaybe<Scalars['Int']['input']>;
2470
+ offset?: InputMaybe<Scalars['Int']['input']>;
2471
+ orderBy?: InputMaybe<Array<ExperienceTransferOrderBy>>;
2472
+ };
2473
+ export type TakeRequestAlertPayload = {
2474
+ __typename?: 'TakeRequestAlertPayload';
2475
+ experienceId: Scalars['UUID']['output'];
2476
+ };
2264
2477
  export type TakeRequestAlreadyTerminal = {
2265
2478
  __typename?: 'TakeRequestAlreadyTerminal';
2266
2479
  takeRequest: TakeRequest;
@@ -2511,7 +2724,7 @@ export type TransferCurrencyToExperiencePayload = {
2511
2724
  __typename?: 'TransferCurrencyToExperiencePayload';
2512
2725
  clientMutationId?: Maybe<Scalars['String']['output']>;
2513
2726
  query?: Maybe<Query>;
2514
- transferId?: Maybe<Scalars['String']['output']>;
2727
+ transferId: Scalars['String']['output'];
2515
2728
  };
2516
2729
  export type TransferCurrencyUserToUnameInput = {
2517
2730
  amount: Scalars['Int']['input'];
@@ -2659,6 +2872,10 @@ export type TransfersByHolderPageInfo = {
2659
2872
  endCursor?: Maybe<Scalars['Cursor']['output']>;
2660
2873
  hasNextPage: Scalars['Boolean']['output'];
2661
2874
  };
2875
+ export type UnameTakenError = {
2876
+ __typename?: 'UnameTakenError';
2877
+ message: Scalars['String']['output'];
2878
+ };
2662
2879
  export type UnpaidDepositFeeInput = {
2663
2880
  currency: Scalars['String']['input'];
2664
2881
  };
@@ -2706,6 +2923,8 @@ export type User = Holder & {
2706
2923
  controllersByUserId: ControllerConnection;
2707
2924
  deletedAt?: Maybe<Scalars['Datetime']['output']>;
2708
2925
  email?: Maybe<Scalars['String']['output']>;
2926
+ emailChangeRequestsByUserId: EmailChangeRequestConnection;
2927
+ experienceBySlug?: Maybe<Experience>;
2709
2928
  experiencesByUserId: ExperienceConnection;
2710
2929
  faucetClaimsByHolderId: FaucetClaimConnection;
2711
2930
  id: Scalars['UUID']['output'];
@@ -2716,6 +2935,7 @@ export type User = Holder & {
2716
2935
  pendingPayoutsByUserId: PendingPayoutConnection;
2717
2936
  role: UserRole;
2718
2937
  sessionsByUserId: SessionConnection;
2938
+ supportTicketsByUserId: SupportTicketConnection;
2719
2939
  takeRequestsByUserId: TakeRequestConnection;
2720
2940
  transactions: TransactionConnection;
2721
2941
  transfers: TransferConnection;
@@ -2760,6 +2980,18 @@ export type UserControllersByUserIdArgs = {
2760
2980
  offset?: InputMaybe<Scalars['Int']['input']>;
2761
2981
  orderBy?: InputMaybe<Array<ControllerOrderBy>>;
2762
2982
  };
2983
+ export type UserEmailChangeRequestsByUserIdArgs = {
2984
+ after?: InputMaybe<Scalars['Cursor']['input']>;
2985
+ before?: InputMaybe<Scalars['Cursor']['input']>;
2986
+ condition?: InputMaybe<EmailChangeRequestCondition>;
2987
+ first?: InputMaybe<Scalars['Int']['input']>;
2988
+ last?: InputMaybe<Scalars['Int']['input']>;
2989
+ offset?: InputMaybe<Scalars['Int']['input']>;
2990
+ orderBy?: InputMaybe<Array<EmailChangeRequestOrderBy>>;
2991
+ };
2992
+ export type UserExperienceBySlugArgs = {
2993
+ slug: Scalars['String']['input'];
2994
+ };
2763
2995
  export type UserExperiencesByUserIdArgs = {
2764
2996
  after?: InputMaybe<Scalars['Cursor']['input']>;
2765
2997
  before?: InputMaybe<Scalars['Cursor']['input']>;
@@ -2820,6 +3052,15 @@ export type UserSessionsByUserIdArgs = {
2820
3052
  offset?: InputMaybe<Scalars['Int']['input']>;
2821
3053
  orderBy?: InputMaybe<Array<SessionOrderBy>>;
2822
3054
  };
3055
+ export type UserSupportTicketsByUserIdArgs = {
3056
+ after?: InputMaybe<Scalars['Cursor']['input']>;
3057
+ before?: InputMaybe<Scalars['Cursor']['input']>;
3058
+ condition?: InputMaybe<SupportTicketCondition>;
3059
+ first?: InputMaybe<Scalars['Int']['input']>;
3060
+ last?: InputMaybe<Scalars['Int']['input']>;
3061
+ offset?: InputMaybe<Scalars['Int']['input']>;
3062
+ orderBy?: InputMaybe<Array<SupportTicketOrderBy>>;
3063
+ };
2823
3064
  export type UserTakeRequestsByUserIdArgs = {
2824
3065
  after?: InputMaybe<Scalars['Cursor']['input']>;
2825
3066
  before?: InputMaybe<Scalars['Cursor']['input']>;
@@ -2886,6 +3127,7 @@ export type UserUserTransfersByToUserIdArgs = {
2886
3127
  };
2887
3128
  export type UserCondition = {
2888
3129
  id?: InputMaybe<Scalars['UUID']['input']>;
3130
+ role?: InputMaybe<UserRole>;
2889
3131
  };
2890
3132
  export type UserConnection = {
2891
3133
  __typename?: 'UserConnection';
@@ -2947,11 +3189,14 @@ export declare enum UserOrderBy {
2947
3189
  Natural = "NATURAL",
2948
3190
  PrimaryKeyAsc = "PRIMARY_KEY_ASC",
2949
3191
  PrimaryKeyDesc = "PRIMARY_KEY_DESC",
3192
+ RoleAsc = "ROLE_ASC",
3193
+ RoleDesc = "ROLE_DESC",
2950
3194
  UnameAsc = "UNAME_ASC",
2951
3195
  UnameDesc = "UNAME_DESC"
2952
3196
  }
2953
3197
  export declare enum UserRole {
2954
3198
  Admin = "ADMIN",
3199
+ Demo = "DEMO",
2955
3200
  Member = "MEMBER"
2956
3201
  }
2957
3202
  export type UserTransfer = Transfer & {
@@ -3157,123 +3402,6 @@ export type StartPendingExperienceTransferMutation = {
3157
3402
  } | null;
3158
3403
  } | null;
3159
3404
  };
3160
- export type PaginateTransfersQueryVariables = Exact<{
3161
- controllerId: Scalars['UUID']['input'];
3162
- after?: InputMaybe<Scalars['Cursor']['input']>;
3163
- limit?: InputMaybe<Scalars['Int']['input']>;
3164
- }>;
3165
- export type PaginateTransfersQuery = {
3166
- __typename?: 'Query';
3167
- transfersByHolder?: {
3168
- __typename?: 'TransfersByHolderConnection';
3169
- pageInfo: {
3170
- __typename?: 'TransfersByHolderPageInfo';
3171
- endCursor?: string | null;
3172
- hasNextPage: boolean;
3173
- };
3174
- edges: Array<{
3175
- __typename?: 'TransfersByHolderEdge';
3176
- cursor: string;
3177
- node: {
3178
- __typename: 'ControllerTransfer';
3179
- id: string;
3180
- amount: number;
3181
- status: TransferStatusKind;
3182
- statusAt: string;
3183
- fromHolderId: string;
3184
- toHolderId: string;
3185
- currencyByCurrency?: {
3186
- __typename?: 'Currency';
3187
- id: string;
3188
- displayUnitName: string;
3189
- displayUnitScale: number;
3190
- } | null;
3191
- holderByFromHolderId?: {
3192
- __typename: 'Controller';
3193
- id: string;
3194
- } | {
3195
- __typename: 'User';
3196
- uname: string;
3197
- id: string;
3198
- } | null;
3199
- holderByToHolderId?: {
3200
- __typename: 'Controller';
3201
- id: string;
3202
- } | {
3203
- __typename: 'User';
3204
- uname: string;
3205
- id: string;
3206
- } | null;
3207
- } | {
3208
- __typename: 'ExperienceTransfer';
3209
- id: string;
3210
- experienceId: string;
3211
- amount: number;
3212
- status: TransferStatusKind;
3213
- statusAt: string;
3214
- fromHolderId: string;
3215
- toHolderId: string;
3216
- experienceByExperienceId?: {
3217
- __typename?: 'Experience';
3218
- id: string;
3219
- name: string;
3220
- } | null;
3221
- currencyByCurrency?: {
3222
- __typename?: 'Currency';
3223
- id: string;
3224
- displayUnitName: string;
3225
- displayUnitScale: number;
3226
- } | null;
3227
- holderByFromHolderId?: {
3228
- __typename: 'Controller';
3229
- id: string;
3230
- } | {
3231
- __typename: 'User';
3232
- uname: string;
3233
- id: string;
3234
- } | null;
3235
- holderByToHolderId?: {
3236
- __typename: 'Controller';
3237
- id: string;
3238
- } | {
3239
- __typename: 'User';
3240
- uname: string;
3241
- id: string;
3242
- } | null;
3243
- } | {
3244
- __typename: 'UserTransfer';
3245
- id: string;
3246
- amount: number;
3247
- status: TransferStatusKind;
3248
- statusAt: string;
3249
- fromHolderId: string;
3250
- toHolderId: string;
3251
- currencyByCurrency?: {
3252
- __typename?: 'Currency';
3253
- id: string;
3254
- displayUnitName: string;
3255
- displayUnitScale: number;
3256
- } | null;
3257
- holderByFromHolderId?: {
3258
- __typename: 'Controller';
3259
- id: string;
3260
- } | {
3261
- __typename: 'User';
3262
- uname: string;
3263
- id: string;
3264
- } | null;
3265
- holderByToHolderId?: {
3266
- __typename: 'Controller';
3267
- id: string;
3268
- } | {
3269
- __typename: 'User';
3270
- uname: string;
3271
- id: string;
3272
- } | null;
3273
- };
3274
- }>;
3275
- } | null;
3276
- };
3277
3405
  export type GetCurrenciesQueryVariables = Exact<{
3278
3406
  [key: string]: never;
3279
3407
  }>;
@@ -3308,6 +3436,151 @@ export type GetCurrentControllerQuery = {
3308
3436
  } | null>;
3309
3437
  } | null;
3310
3438
  };
3439
+ type TransferFields_ControllerTransfer_Fragment = {
3440
+ __typename: 'ControllerTransfer';
3441
+ id: string;
3442
+ amount: number;
3443
+ status: TransferStatusKind;
3444
+ statusAt: string;
3445
+ fromHolderId: string;
3446
+ toHolderId: string;
3447
+ currencyByCurrency?: {
3448
+ __typename?: 'Currency';
3449
+ id: string;
3450
+ displayUnitName: string;
3451
+ displayUnitScale: number;
3452
+ } | null;
3453
+ holderByFromHolderId?: {
3454
+ __typename: 'Controller';
3455
+ id: string;
3456
+ } | {
3457
+ __typename: 'User';
3458
+ uname: string;
3459
+ id: string;
3460
+ } | null;
3461
+ holderByToHolderId?: {
3462
+ __typename: 'Controller';
3463
+ id: string;
3464
+ } | {
3465
+ __typename: 'User';
3466
+ uname: string;
3467
+ id: string;
3468
+ } | null;
3469
+ } & {
3470
+ ' $fragmentName'?: 'TransferFields_ControllerTransfer_Fragment';
3471
+ };
3472
+ type TransferFields_ExperienceTransfer_Fragment = {
3473
+ __typename: 'ExperienceTransfer';
3474
+ id: string;
3475
+ experienceId: string;
3476
+ amount: number;
3477
+ status: TransferStatusKind;
3478
+ statusAt: string;
3479
+ fromHolderId: string;
3480
+ toHolderId: string;
3481
+ experienceByExperienceId?: {
3482
+ __typename?: 'Experience';
3483
+ id: string;
3484
+ name: string;
3485
+ } | null;
3486
+ currencyByCurrency?: {
3487
+ __typename?: 'Currency';
3488
+ id: string;
3489
+ displayUnitName: string;
3490
+ displayUnitScale: number;
3491
+ } | null;
3492
+ holderByFromHolderId?: {
3493
+ __typename: 'Controller';
3494
+ id: string;
3495
+ } | {
3496
+ __typename: 'User';
3497
+ uname: string;
3498
+ id: string;
3499
+ } | null;
3500
+ holderByToHolderId?: {
3501
+ __typename: 'Controller';
3502
+ id: string;
3503
+ } | {
3504
+ __typename: 'User';
3505
+ uname: string;
3506
+ id: string;
3507
+ } | null;
3508
+ } & {
3509
+ ' $fragmentName'?: 'TransferFields_ExperienceTransfer_Fragment';
3510
+ };
3511
+ type TransferFields_UserTransfer_Fragment = {
3512
+ __typename: 'UserTransfer';
3513
+ id: string;
3514
+ amount: number;
3515
+ status: TransferStatusKind;
3516
+ statusAt: string;
3517
+ fromHolderId: string;
3518
+ toHolderId: string;
3519
+ currencyByCurrency?: {
3520
+ __typename?: 'Currency';
3521
+ id: string;
3522
+ displayUnitName: string;
3523
+ displayUnitScale: number;
3524
+ } | null;
3525
+ holderByFromHolderId?: {
3526
+ __typename: 'Controller';
3527
+ id: string;
3528
+ } | {
3529
+ __typename: 'User';
3530
+ uname: string;
3531
+ id: string;
3532
+ } | null;
3533
+ holderByToHolderId?: {
3534
+ __typename: 'Controller';
3535
+ id: string;
3536
+ } | {
3537
+ __typename: 'User';
3538
+ uname: string;
3539
+ id: string;
3540
+ } | null;
3541
+ } & {
3542
+ ' $fragmentName'?: 'TransferFields_UserTransfer_Fragment';
3543
+ };
3544
+ export type TransferFieldsFragment = TransferFields_ControllerTransfer_Fragment | TransferFields_ExperienceTransfer_Fragment | TransferFields_UserTransfer_Fragment;
3545
+ export type PaginateTransfersQueryVariables = Exact<{
3546
+ controllerId: Scalars['UUID']['input'];
3547
+ after?: InputMaybe<Scalars['Cursor']['input']>;
3548
+ limit?: InputMaybe<Scalars['Int']['input']>;
3549
+ }>;
3550
+ export type PaginateTransfersQuery = {
3551
+ __typename?: 'Query';
3552
+ transfersByHolder?: {
3553
+ __typename?: 'TransfersByHolderConnection';
3554
+ pageInfo: {
3555
+ __typename?: 'TransfersByHolderPageInfo';
3556
+ endCursor?: string | null;
3557
+ hasNextPage: boolean;
3558
+ };
3559
+ edges: Array<{
3560
+ __typename?: 'TransfersByHolderEdge';
3561
+ cursor: string;
3562
+ node: ({
3563
+ __typename?: 'ControllerTransfer';
3564
+ } & {
3565
+ ' $fragmentRefs'?: {
3566
+ 'TransferFields_ControllerTransfer_Fragment': TransferFields_ControllerTransfer_Fragment;
3567
+ };
3568
+ }) | ({
3569
+ __typename?: 'ExperienceTransfer';
3570
+ } & {
3571
+ ' $fragmentRefs'?: {
3572
+ 'TransferFields_ExperienceTransfer_Fragment': TransferFields_ExperienceTransfer_Fragment;
3573
+ };
3574
+ }) | ({
3575
+ __typename?: 'UserTransfer';
3576
+ } & {
3577
+ ' $fragmentRefs'?: {
3578
+ 'TransferFields_UserTransfer_Fragment': TransferFields_UserTransfer_Fragment;
3579
+ };
3580
+ });
3581
+ }>;
3582
+ } | null;
3583
+ };
3311
3584
  export type CompleteTransferMutationVariables = Exact<{
3312
3585
  mpTransferId: Scalars['UUID']['input'];
3313
3586
  }>;
@@ -3362,6 +3635,39 @@ export type ClaimTransferMutation = {
3362
3635
  };
3363
3636
  } | null;
3364
3637
  };
3638
+ export type MpNewExperienceTransferSubscriptionVariables = Exact<{
3639
+ [key: string]: never;
3640
+ }>;
3641
+ export type MpNewExperienceTransferSubscription = {
3642
+ __typename?: 'Subscription';
3643
+ newExperienceTransfer?: {
3644
+ __typename?: 'NewExperienceTransferPayload';
3645
+ id: string;
3646
+ } | null;
3647
+ };
3648
+ export type MpGetExperienceTransferQueryVariables = Exact<{
3649
+ id: Scalars['UUID']['input'];
3650
+ }>;
3651
+ export type MpGetExperienceTransferQuery = {
3652
+ __typename?: 'Query';
3653
+ experienceTransferById?: ({
3654
+ __typename?: 'ExperienceTransfer';
3655
+ } & {
3656
+ ' $fragmentRefs'?: {
3657
+ 'TransferFields_ExperienceTransfer_Fragment': TransferFields_ExperienceTransfer_Fragment;
3658
+ };
3659
+ }) | null;
3660
+ };
3661
+ export type MpNewTakeRequestSubscriptionVariables = Exact<{
3662
+ [key: string]: never;
3663
+ }>;
3664
+ export type MpNewTakeRequestSubscription = {
3665
+ __typename?: 'Subscription';
3666
+ newTakeRequest?: {
3667
+ __typename?: 'NewTakeRequestPayload';
3668
+ id: string;
3669
+ } | null;
3670
+ };
3365
3671
  export type GetCasinoJwksQueryVariables = Exact<{
3366
3672
  [key: string]: never;
3367
3673
  }>;
@@ -3369,6 +3675,35 @@ export type GetCasinoJwksQuery = {
3369
3675
  __typename?: 'Query';
3370
3676
  jwks: any;
3371
3677
  };
3678
+ export type MpTakeRequestFieldsFragment = {
3679
+ __typename?: 'TakeRequest';
3680
+ id: string;
3681
+ status: TakeRequestStatus;
3682
+ amount?: number | null;
3683
+ currencyKey: string;
3684
+ userId: string;
3685
+ experienceId: string;
3686
+ experienceTransfer?: {
3687
+ __typename?: 'ExperienceTransfer';
3688
+ id: string;
3689
+ amount: number;
3690
+ } | null;
3691
+ } & {
3692
+ ' $fragmentName'?: 'MpTakeRequestFieldsFragment';
3693
+ };
3694
+ export type MpGetTakeRequestQueryVariables = Exact<{
3695
+ id: Scalars['UUID']['input'];
3696
+ }>;
3697
+ export type MpGetTakeRequestQuery = {
3698
+ __typename?: 'Query';
3699
+ takeRequestById?: ({
3700
+ __typename?: 'TakeRequest';
3701
+ } & {
3702
+ ' $fragmentRefs'?: {
3703
+ 'MpTakeRequestFieldsFragment': MpTakeRequestFieldsFragment;
3704
+ };
3705
+ }) | null;
3706
+ };
3372
3707
  export type MpPaginatedPendingTakeRequestsQueryVariables = Exact<{
3373
3708
  controllerId: Scalars['UUID']['input'];
3374
3709
  after?: InputMaybe<Scalars['Cursor']['input']>;
@@ -3385,20 +3720,13 @@ export type MpPaginatedPendingTakeRequestsQuery = {
3385
3720
  edges: Array<{
3386
3721
  __typename?: 'TakeRequestEdge';
3387
3722
  cursor?: string | null;
3388
- node?: {
3723
+ node?: ({
3389
3724
  __typename?: 'TakeRequest';
3390
- id: string;
3391
- status: TakeRequestStatus;
3392
- amount?: number | null;
3393
- currencyKey: string;
3394
- userId: string;
3395
- experienceId: string;
3396
- experienceTransfer?: {
3397
- __typename?: 'ExperienceTransfer';
3398
- id: string;
3399
- amount: number;
3400
- } | null;
3401
- } | null;
3725
+ } & {
3726
+ ' $fragmentRefs'?: {
3727
+ 'MpTakeRequestFieldsFragment': MpTakeRequestFieldsFragment;
3728
+ };
3729
+ }) | null;
3402
3730
  } | null>;
3403
3731
  } | null;
3404
3732
  };
@@ -3528,16 +3856,23 @@ export type CompleteTransfer2Mutation = {
3528
3856
  };
3529
3857
  } | null;
3530
3858
  };
3859
+ export declare const TransferFieldsFragmentDoc: DocumentNode<TransferFieldsFragment, unknown>;
3860
+ export declare const MpTakeRequestFieldsFragmentDoc: DocumentNode<MpTakeRequestFieldsFragment, unknown>;
3531
3861
  export declare const AddCasino_GetCurrentControllerDocument: DocumentNode<AddCasino_GetCurrentControllerQuery, AddCasino_GetCurrentControllerQueryVariables>;
3532
3862
  export declare const GetUserFromUserTokenDocument: DocumentNode<GetUserFromUserTokenMutation, GetUserFromUserTokenMutationVariables>;
3533
3863
  export declare const StartPendingExperienceTransferDocument: DocumentNode<StartPendingExperienceTransferMutation, StartPendingExperienceTransferMutationVariables>;
3534
- export declare const PaginateTransfersDocument: DocumentNode<PaginateTransfersQuery, PaginateTransfersQueryVariables>;
3535
3864
  export declare const GetCurrenciesDocument: DocumentNode<GetCurrenciesQuery, GetCurrenciesQueryVariables>;
3536
3865
  export declare const GetCurrentControllerDocument: DocumentNode<GetCurrentControllerQuery, GetCurrentControllerQueryVariables>;
3866
+ export declare const PaginateTransfersDocument: DocumentNode<PaginateTransfersQuery, PaginateTransfersQueryVariables>;
3537
3867
  export declare const CompleteTransferDocument: DocumentNode<CompleteTransferMutation, CompleteTransferMutationVariables>;
3538
3868
  export declare const ClaimTransferDocument: DocumentNode<ClaimTransferMutation, ClaimTransferMutationVariables>;
3869
+ export declare const MpNewExperienceTransferDocument: DocumentNode<MpNewExperienceTransferSubscription, MpNewExperienceTransferSubscriptionVariables>;
3870
+ export declare const MpGetExperienceTransferDocument: DocumentNode<MpGetExperienceTransferQuery, MpGetExperienceTransferQueryVariables>;
3871
+ export declare const MpNewTakeRequestDocument: DocumentNode<MpNewTakeRequestSubscription, MpNewTakeRequestSubscriptionVariables>;
3539
3872
  export declare const GetCasinoJwksDocument: DocumentNode<GetCasinoJwksQuery, GetCasinoJwksQueryVariables>;
3873
+ export declare const MpGetTakeRequestDocument: DocumentNode<MpGetTakeRequestQuery, MpGetTakeRequestQueryVariables>;
3540
3874
  export declare const MpPaginatedPendingTakeRequestsDocument: DocumentNode<MpPaginatedPendingTakeRequestsQuery, MpPaginatedPendingTakeRequestsQueryVariables>;
3541
3875
  export declare const MpRejectTakeRequestDocument: DocumentNode<MpRejectTakeRequestMutation, MpRejectTakeRequestMutationVariables>;
3542
3876
  export declare const MpTransferTakeRequestDocument: DocumentNode<MpTransferTakeRequestMutation, MpTransferTakeRequestMutationVariables>;
3543
3877
  export declare const CompleteTransfer2Document: DocumentNode<CompleteTransfer2Mutation, CompleteTransfer2MutationVariables>;
3878
+ export {};