@poolzfinance/api4 1.11.58 → 1.11.59

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.
@@ -175,6 +175,16 @@ declare const documents: {
175
175
  "\n mutation ProjectSignUpV2($projectId: Int!) {\n projectSignUpV2(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n": DocumentNode<types.ProjectSignUpV2Mutation, types.Exact<{
176
176
  projectId: number;
177
177
  }>>;
178
+ "\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n": DocumentNode<types.MySignUpV3Query, types.Exact<{
179
+ projectIDs: string | string[];
180
+ }>>;
181
+ "\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n": DocumentNode<types.AdminSignUpV3Query, types.Exact<{
182
+ projectId: string;
183
+ minPoolxAmount: number;
184
+ }>>;
185
+ "\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n": DocumentNode<types.ProjectSignUpV3Mutation, types.Exact<{
186
+ projectId: string;
187
+ }>>;
178
188
  "\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}": DocumentNode<types.SimpleUrlShortenerQuery, types.Exact<{
179
189
  input: types.TxHashChainIdInput;
180
190
  }>>;
@@ -391,6 +401,18 @@ export declare function gql(source: "\n query AdminSignUpV2($projectId: Int!, $
391
401
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
392
402
  */
393
403
  export declare function gql(source: "\n mutation ProjectSignUpV2($projectId: Int!) {\n projectSignUpV2(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n"): (typeof documents)["\n mutation ProjectSignUpV2($projectId: Int!) {\n projectSignUpV2(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n"];
404
+ /**
405
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
406
+ */
407
+ export declare function gql(source: "\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n"): (typeof documents)["\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n"];
408
+ /**
409
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
410
+ */
411
+ export declare function gql(source: "\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n"): (typeof documents)["\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n"];
412
+ /**
413
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
414
+ */
415
+ export declare function gql(source: "\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n"): (typeof documents)["\n mutation ProjectSignUpV3($projectId: String!) {\n projectSignUpV3(projectId: $projectId) {\n ProjectId\n UserAddress\n JoinedTime\n }\n }\n"];
394
416
  /**
395
417
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
396
418
  */
@@ -135,6 +135,11 @@ export type AdminSignUpV2 = {
135
135
  Address: Scalars['String']['output'];
136
136
  Amount: Scalars['Float']['output'];
137
137
  };
138
+ export type AdminSignUpV3 = {
139
+ __typename?: 'AdminSignUpV3';
140
+ Address: Scalars['String']['output'];
141
+ Amount: Scalars['Float']['output'];
142
+ };
138
143
  export type AdminUsers = {
139
144
  __typename?: 'AdminUsers';
140
145
  Note?: Maybe<Scalars['String']['output']>;
@@ -336,6 +341,7 @@ export type Mutation = {
336
341
  onboardingCheckTx: OnboardingMutationsResponse;
337
342
  onboardingSetAllocation: OnboardingMutationsResponse;
338
343
  projectSignUpV2: ProjectSignUpV2;
344
+ projectSignUpV3: ProjectSignUpV3;
339
345
  sendToMonitor: Scalars['Int']['output'];
340
346
  setMyAgree: Scalars['Boolean']['output'];
341
347
  updateAutoSignUp: AdminAutoSignUp;
@@ -423,6 +429,9 @@ export type MutationOnboardingSetAllocationArgs = {
423
429
  export type MutationProjectSignUpV2Args = {
424
430
  projectId: Scalars['Int']['input'];
425
431
  };
432
+ export type MutationProjectSignUpV3Args = {
433
+ projectId: Scalars['String']['input'];
434
+ };
426
435
  export type MutationSendToMonitorArgs = {
427
436
  input: Scalars['String']['input'];
428
437
  };
@@ -521,6 +530,11 @@ export type MySignUpV2 = {
521
530
  ProjectId: Scalars['Int']['output'];
522
531
  SignedUp: Scalars['Boolean']['output'];
523
532
  };
533
+ export type MySignUpV3 = {
534
+ __typename?: 'MySignUpV3';
535
+ ProjectId: Scalars['String']['output'];
536
+ SignedUp: Scalars['Boolean']['output'];
537
+ };
524
538
  export type NonEvmWallet = {
525
539
  __typename?: 'NonEvmWallet';
526
540
  ChainName: Scalars['String']['output'];
@@ -602,6 +616,12 @@ export type ProjectSignUpV2 = {
602
616
  ProjectId: Scalars['Int']['output'];
603
617
  UserAddress: Scalars['String']['output'];
604
618
  };
619
+ export type ProjectSignUpV3 = {
620
+ __typename?: 'ProjectSignUpV3';
621
+ JoinedTime: Scalars['Int']['output'];
622
+ ProjectId: Scalars['String']['output'];
623
+ UserAddress: Scalars['String']['output'];
624
+ };
605
625
  export type PutMyDataNonEvmWallet = {
606
626
  ChainName: Scalars['String']['input'];
607
627
  NonEvmWallet: Scalars['String']['input'];
@@ -619,6 +639,7 @@ export type Query = {
619
639
  adminReadAssets: ReadAssetsResponse;
620
640
  adminRpcWallets: Array<RpcWallet>;
621
641
  adminSignUpV2: Array<AdminSignUpV2>;
642
+ adminSignUpV3: Array<AdminSignUpV3>;
622
643
  adminUsers: Array<AdminUsers>;
623
644
  approvedContracts: Array<ApprovedContracts>;
624
645
  boostProxy: Array<BoostProxy>;
@@ -639,6 +660,7 @@ export type Query = {
639
660
  /** @deprecated Old system. Please use new endpoints from API4.SignUp. */
640
661
  mySignUpCheck: Array<SignUpCheck>;
641
662
  mySignUpV2: Array<MySignUpV2>;
663
+ mySignUpV3: Array<MySignUpV3>;
642
664
  /** @deprecated Old system. Please use new endpoints from API4.SignUp. */
643
665
  mySignup: Array<MySignUp>;
644
666
  onboardingData: Array<OnboardingData_Data>;
@@ -708,6 +730,10 @@ export type QueryAdminSignUpV2Args = {
708
730
  minPoolxAmount: Scalars['Int']['input'];
709
731
  projectId: Scalars['Int']['input'];
710
732
  };
733
+ export type QueryAdminSignUpV3Args = {
734
+ minPoolxAmount: Scalars['Int']['input'];
735
+ projectId: Scalars['String']['input'];
736
+ };
711
737
  export type QueryAdminUsersArgs = {
712
738
  address?: InputMaybe<Scalars['String']['input']>;
713
739
  };
@@ -747,6 +773,9 @@ export type QueryMySignUpCheckArgs = {
747
773
  export type QueryMySignUpV2Args = {
748
774
  projectIDs: Array<Scalars['Int']['input']>;
749
775
  };
776
+ export type QueryMySignUpV3Args = {
777
+ projectIDs: Array<Scalars['String']['input']>;
778
+ };
750
779
  export type QueryOnboardingDataArgs = {
751
780
  chatId: Scalars['Long']['input'];
752
781
  dataOnAuth: DataOnAuth;
@@ -1694,6 +1723,41 @@ export type ProjectSignUpV2Mutation = {
1694
1723
  JoinedTime: number;
1695
1724
  };
1696
1725
  };
1726
+ export type MySignUpV3QueryVariables = Exact<{
1727
+ projectIDs: Array<Scalars['String']['input']> | Scalars['String']['input'];
1728
+ }>;
1729
+ export type MySignUpV3Query = {
1730
+ __typename?: 'Query';
1731
+ mySignUpV3: Array<{
1732
+ __typename?: 'MySignUpV3';
1733
+ ProjectId: string;
1734
+ SignedUp: boolean;
1735
+ }>;
1736
+ };
1737
+ export type AdminSignUpV3QueryVariables = Exact<{
1738
+ projectId: Scalars['String']['input'];
1739
+ minPoolxAmount: Scalars['Int']['input'];
1740
+ }>;
1741
+ export type AdminSignUpV3Query = {
1742
+ __typename?: 'Query';
1743
+ adminSignUpV3: Array<{
1744
+ __typename?: 'AdminSignUpV3';
1745
+ Address: string;
1746
+ Amount: number;
1747
+ }>;
1748
+ };
1749
+ export type ProjectSignUpV3MutationVariables = Exact<{
1750
+ projectId: Scalars['String']['input'];
1751
+ }>;
1752
+ export type ProjectSignUpV3Mutation = {
1753
+ __typename?: 'Mutation';
1754
+ projectSignUpV3: {
1755
+ __typename?: 'ProjectSignUpV3';
1756
+ ProjectId: string;
1757
+ UserAddress: string;
1758
+ JoinedTime: number;
1759
+ };
1760
+ };
1697
1761
  export type SimpleUrlShortenerQueryVariables = Exact<{
1698
1762
  input: TxHashChainIdInput;
1699
1763
  }>;
@@ -1959,6 +2023,16 @@ export declare const AdminSignUpV2Document: DocumentNode<AdminSignUpV2Query, Exa
1959
2023
  export declare const ProjectSignUpV2Document: DocumentNode<ProjectSignUpV2Mutation, Exact<{
1960
2024
  projectId: Scalars['Int']['input'];
1961
2025
  }>>;
2026
+ export declare const MySignUpV3Document: DocumentNode<MySignUpV3Query, Exact<{
2027
+ projectIDs: Array<Scalars['String']['input']> | Scalars['String']['input'];
2028
+ }>>;
2029
+ export declare const AdminSignUpV3Document: DocumentNode<AdminSignUpV3Query, Exact<{
2030
+ projectId: Scalars['String']['input'];
2031
+ minPoolxAmount: Scalars['Int']['input'];
2032
+ }>>;
2033
+ export declare const ProjectSignUpV3Document: DocumentNode<ProjectSignUpV3Mutation, Exact<{
2034
+ projectId: Scalars['String']['input'];
2035
+ }>>;
1962
2036
  export declare const SimpleUrlShortenerDocument: DocumentNode<SimpleUrlShortenerQuery, Exact<{
1963
2037
  input: TxHashChainIdInput;
1964
2038
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.58",
3
+ "version": "1.11.59",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",