@poolzfinance/api4 1.11.35 → 1.11.36

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.
@@ -130,16 +130,16 @@ declare const documents: {
130
130
  "\n query SeasonPass {\n seasonPass {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": DocumentNode<types.SeasonPassQuery, types.Exact<{
131
131
  [key: string]: never;
132
132
  }>>;
133
- "\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: String!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": DocumentNode<types.CreateSeasonPassMutation, types.Exact<{
133
+ "\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": DocumentNode<types.CreateSeasonPassMutation, types.Exact<{
134
134
  Owner: string;
135
135
  Amount: number;
136
- ValidUntil: string;
136
+ ValidUntil: number;
137
137
  Note: string;
138
138
  }>>;
139
- "\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: String!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": DocumentNode<types.UpdateSeasonPassMutation, types.Exact<{
139
+ "\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": DocumentNode<types.UpdateSeasonPassMutation, types.Exact<{
140
140
  Owner: string;
141
141
  Amount: number;
142
- ValidUntil: string;
142
+ ValidUntil: number;
143
143
  Note: string;
144
144
  }>>;
145
145
  "\n mutation DeleteSeasonPass($owner: String!) {\n deleteSeasonPass(owner: $owner) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": DocumentNode<types.DeleteSeasonPassMutation, types.Exact<{
@@ -322,11 +322,11 @@ export declare function gql(source: "\n query SeasonPass {\n seasonPass {\n
322
322
  /**
323
323
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
324
324
  */
325
- export declare function gql(source: "\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: String!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: String!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
325
+ export declare function gql(source: "\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
326
326
  /**
327
327
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
328
328
  */
329
- export declare function gql(source: "\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: String!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: String!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
329
+ export declare function gql(source: "\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
330
330
  /**
331
331
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
332
332
  */
@@ -142,6 +142,7 @@ export type AdminSignUpV2 = {
142
142
  };
143
143
  export type AdminUsers = {
144
144
  __typename?: 'AdminUsers';
145
+ Note?: Maybe<Scalars['String']['output']>;
145
146
  RoleId: Scalars['Int']['output'];
146
147
  Wallet: Scalars['String']['output'];
147
148
  };
@@ -284,24 +285,6 @@ export type KolInvestedErc20 = {
284
285
  TokenOut: Scalars['Float']['output'];
285
286
  Wallet: Scalars['String']['output'];
286
287
  };
287
- export type Kyc = {
288
- __typename?: 'Kyc';
289
- data: KycData;
290
- name: Scalars['String']['output'];
291
- status: Scalars['String']['output'];
292
- };
293
- export type KycData = {
294
- __typename?: 'KycData';
295
- approvedDate?: Maybe<Scalars['String']['output']>;
296
- blockPassID?: Maybe<Scalars['String']['output']>;
297
- inreviewDate?: Maybe<Scalars['String']['output']>;
298
- isArchived?: Maybe<Scalars['Boolean']['output']>;
299
- recordId?: Maybe<Scalars['String']['output']>;
300
- refId?: Maybe<Scalars['String']['output']>;
301
- status: Scalars['String']['output'];
302
- submitCount?: Maybe<Scalars['Int']['output']>;
303
- waitingDate?: Maybe<Scalars['String']['output']>;
304
- };
305
288
  export type KycProxy = {
306
289
  __typename?: 'KycProxy';
307
290
  Proxy?: Maybe<Scalars['String']['output']>;
@@ -397,6 +380,7 @@ export type MutationAddNonEvmWalletArgs = {
397
380
  wallet: Scalars['String']['input'];
398
381
  };
399
382
  export type MutationAddUserArgs = {
383
+ note?: InputMaybe<Scalars['String']['input']>;
400
384
  roleId: Scalars['Int']['input'];
401
385
  wallet: Scalars['String']['input'];
402
386
  };
@@ -485,6 +469,7 @@ export type MutationUpdateSeasonPassArgs = {
485
469
  seasonPass: SeasonPassInput;
486
470
  };
487
471
  export type MutationUpdateUserArgs = {
472
+ note?: InputMaybe<Scalars['String']['input']>;
488
473
  roleId: Scalars['Int']['input'];
489
474
  wallet: Scalars['String']['input'];
490
475
  };
@@ -555,12 +540,6 @@ export type OnboardingData_TokenTransfer = {
555
540
  Timestamp: Scalars['Long']['output'];
556
541
  TxHash: Scalars['String']['output'];
557
542
  };
558
- export type OnboardingData_Tokens = {
559
- __typename?: 'OnboardingData_Tokens';
560
- Amount: Scalars['Float']['output'];
561
- ChainId: Scalars['Long']['output'];
562
- TokenAddress: Scalars['String']['output'];
563
- };
564
543
  export type OnboardingMutationsResponse = {
565
544
  __typename?: 'OnboardingMutationsResponse';
566
545
  ErrorMessage?: Maybe<Scalars['String']['output']>;
@@ -644,8 +623,6 @@ export type Query = {
644
623
  myInvestSum: MyInvestSum;
645
624
  myInvestmentsETH: Array<MyInvestmentsEth>;
646
625
  myInvestmentsErc20: Array<MyInvestmentsErc20>;
647
- /** @deprecated Use a new query 'myProxyKYC'. */
648
- myKYC: Kyc;
649
626
  myProxyKYC: KycProxy;
650
627
  myRole: Scalars['String']['output'];
651
628
  mySignUpCheck: Array<SignUpCheck>;
@@ -794,13 +771,13 @@ export type SeasonPass = {
794
771
  Amount: Scalars['Float']['output'];
795
772
  Note?: Maybe<Scalars['String']['output']>;
796
773
  Owner: Scalars['String']['output'];
797
- ValidUntil: Scalars['String']['output'];
774
+ ValidUntil: Scalars['Int']['output'];
798
775
  };
799
776
  export type SeasonPassInput = {
800
777
  Amount: Scalars['Float']['input'];
801
778
  Note?: InputMaybe<Scalars['String']['input']>;
802
779
  Owner: Scalars['String']['input'];
803
- ValidUntil: Scalars['String']['input'];
780
+ ValidUntil: Scalars['Int']['input'];
804
781
  };
805
782
  export type SignUp = {
806
783
  __typename?: 'SignUp';
@@ -1445,14 +1422,14 @@ export type SeasonPassQuery = {
1445
1422
  __typename?: 'SeasonPass';
1446
1423
  Owner: string;
1447
1424
  Amount: number;
1448
- ValidUntil: string;
1425
+ ValidUntil: number;
1449
1426
  Note?: string | null;
1450
1427
  }>;
1451
1428
  };
1452
1429
  export type CreateSeasonPassMutationVariables = Exact<{
1453
1430
  Owner: Scalars['String']['input'];
1454
1431
  Amount: Scalars['Float']['input'];
1455
- ValidUntil: Scalars['String']['input'];
1432
+ ValidUntil: Scalars['Int']['input'];
1456
1433
  Note: Scalars['String']['input'];
1457
1434
  }>;
1458
1435
  export type CreateSeasonPassMutation = {
@@ -1461,14 +1438,14 @@ export type CreateSeasonPassMutation = {
1461
1438
  __typename?: 'SeasonPass';
1462
1439
  Owner: string;
1463
1440
  Amount: number;
1464
- ValidUntil: string;
1441
+ ValidUntil: number;
1465
1442
  Note?: string | null;
1466
1443
  };
1467
1444
  };
1468
1445
  export type UpdateSeasonPassMutationVariables = Exact<{
1469
1446
  Owner: Scalars['String']['input'];
1470
1447
  Amount: Scalars['Float']['input'];
1471
- ValidUntil: Scalars['String']['input'];
1448
+ ValidUntil: Scalars['Int']['input'];
1472
1449
  Note: Scalars['String']['input'];
1473
1450
  }>;
1474
1451
  export type UpdateSeasonPassMutation = {
@@ -1477,7 +1454,7 @@ export type UpdateSeasonPassMutation = {
1477
1454
  __typename?: 'SeasonPass';
1478
1455
  Owner: string;
1479
1456
  Amount: number;
1480
- ValidUntil: string;
1457
+ ValidUntil: number;
1481
1458
  Note?: string | null;
1482
1459
  };
1483
1460
  };
@@ -1490,7 +1467,7 @@ export type DeleteSeasonPassMutation = {
1490
1467
  __typename?: 'SeasonPass';
1491
1468
  Owner: string;
1492
1469
  Amount: number;
1493
- ValidUntil: string;
1470
+ ValidUntil: number;
1494
1471
  Note?: string | null;
1495
1472
  };
1496
1473
  };
@@ -1715,13 +1692,13 @@ export declare const SeasonPassDocument: DocumentNode<SeasonPassQuery, Exact<{
1715
1692
  export declare const CreateSeasonPassDocument: DocumentNode<CreateSeasonPassMutation, Exact<{
1716
1693
  Owner: Scalars['String']['input'];
1717
1694
  Amount: Scalars['Float']['input'];
1718
- ValidUntil: Scalars['String']['input'];
1695
+ ValidUntil: Scalars['Int']['input'];
1719
1696
  Note: Scalars['String']['input'];
1720
1697
  }>>;
1721
1698
  export declare const UpdateSeasonPassDocument: DocumentNode<UpdateSeasonPassMutation, Exact<{
1722
1699
  Owner: Scalars['String']['input'];
1723
1700
  Amount: Scalars['Float']['input'];
1724
- ValidUntil: Scalars['String']['input'];
1701
+ ValidUntil: Scalars['Int']['input'];
1725
1702
  Note: Scalars['String']['input'];
1726
1703
  }>>;
1727
1704
  export declare const DeleteSeasonPassDocument: DocumentNode<DeleteSeasonPassMutation, Exact<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.35",
3
+ "version": "1.11.36",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",