@secrecy/lib 1.0.0-dev.51 → 1.0.0-dev.54

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.
@@ -1,7 +1,6 @@
1
1
  import { Ops } from "./const.js";
2
2
  export declare const HOST = "http://localhost:4000/graphql";
3
3
  export declare const HEADERS: {};
4
- export declare const apiFetch: (options: [input: RequestInfo | URL, init?: RequestInit | undefined]) => (query: string, variables?: Record<string, unknown>) => Promise<Record<string, any> | undefined>;
5
4
  export declare const apiSubscription: (options: chainOptions) => (query: string) => {
6
5
  ws: WebSocket;
7
6
  on: (e: (args: any) => void) => void;
@@ -9,6 +8,7 @@ export declare const apiSubscription: (options: chainOptions) => (query: string)
9
8
  error: (e: (args: any) => void) => void;
10
9
  open: (e: () => void) => void;
11
10
  };
11
+ export declare const apiFetch: (options: [input: RequestInfo | URL, init?: RequestInit | undefined]) => (query: string, variables?: Record<string, unknown>) => Promise<Record<string, any> | undefined>;
12
12
  export declare const InternalsBuildQuery: ({ ops, props, returns, options, scalars }: {
13
13
  props: AllTypesPropsType;
14
14
  returns: ReturnTypesType;
@@ -233,7 +233,7 @@ export declare type ScalarCoders = {
233
233
  Json?: ScalarResolver;
234
234
  Bytes?: ScalarResolver;
235
235
  };
236
- declare type ZEUS_UNIONS = GraphQLTypes["AppNotificationsResult"] | GraphQLTypes["BlogResult"] | GraphQLTypes["DbConfigResult"] | GraphQLTypes["DbGetResult"] | GraphQLTypes["DbSearchResult"] | GraphQLTypes["DeletedMailsResult"] | GraphQLTypes["DeletedNodesResult"] | GraphQLTypes["FaqResult"] | GraphQLTypes["FileResult"] | GraphQLTypes["FileContentResult"] | GraphQLTypes["FilesContentResult"] | GraphQLTypes["GetJwtResult"] | GraphQLTypes["LimitsResult"] | GraphQLTypes["MailResult"] | GraphQLTypes["NodeResult"] | GraphQLTypes["NodesSharedWithMeResult"] | GraphQLTypes["PaymentInfosResult"] | GraphQLTypes["PlansResult"] | GraphQLTypes["SharedNodesResult"] | GraphQLTypes["UnreadReceivedMailsCountResult"] | GraphQLTypes["UserResult"] | GraphQLTypes["UserListResult"] | GraphQLTypes["AddFileToHistoryResult"] | GraphQLTypes["CancelPaymentResult"] | GraphQLTypes["CreateApplicationResult"] | GraphQLTypes["CreateDraftMailResult"] | GraphQLTypes["CreateFolderResult"] | GraphQLTypes["DbConfigMutationResult"] | GraphQLTypes["DbSetResult"] | GraphQLTypes["DeleteDraftMailResult"] | GraphQLTypes["DeleteFileResult"] | GraphQLTypes["DeleteMailResult"] | GraphQLTypes["DeleteMailTrashResult"] | GraphQLTypes["DeleteNodeResult"] | GraphQLTypes["DeleteNodeCloudTrashResult"] | GraphQLTypes["DeleteNodeSharingResult"] | GraphQLTypes["DeleteUserResult"] | GraphQLTypes["DuplicateNodeResult"] | GraphQLTypes["EmptyCloudTrashResult"] | GraphQLTypes["EmptyMailTrashResult"] | GraphQLTypes["LogoutResult"] | GraphQLTypes["MoveNodesResult"] | GraphQLTypes["PayResult"] | GraphQLTypes["ReadMailResult"] | GraphQLTypes["RecoverMailResult"] | GraphQLTypes["RecoverNodeResult"] | GraphQLTypes["SaveInCloudResult"] | GraphQLTypes["SendAppMailResult"] | GraphQLTypes["SendDraftMailResult"] | GraphQLTypes["SendOneMailResult"] | GraphQLTypes["SendReportResult"] | GraphQLTypes["ShareFileInHistoryResult"] | GraphQLTypes["ShareNodeResult"] | GraphQLTypes["ShareNodeFinishResult"] | GraphQLTypes["UnreadMailResult"] | GraphQLTypes["UpdateAppNotificationsResult"] | GraphQLTypes["UpdateAppSettingsResult"] | GraphQLTypes["UpdateAutoDisconnectDelayResult"] | GraphQLTypes["UpdateDraftMailResult"] | GraphQLTypes["UpdateNodeResult"] | GraphQLTypes["UpdateProfileResult"] | GraphQLTypes["UploadFileResult"] | GraphQLTypes["UploadFileEndResult"] | GraphQLTypes["UploadFilePartEndResult"] | GraphQLTypes["UploadLiteFileResult"] | GraphQLTypes["ChangeUserPlanResult"] | GraphQLTypes["Error"] | GraphQLTypes["FileContent"];
236
+ declare type ZEUS_UNIONS = GraphQLTypes["AppNotificationsResult"] | GraphQLTypes["BlogResult"] | GraphQLTypes["DbConfigResult"] | GraphQLTypes["DbGetResult"] | GraphQLTypes["DbSearchResult"] | GraphQLTypes["DeletedMailsResult"] | GraphQLTypes["DeletedNodesResult"] | GraphQLTypes["FaqResult"] | GraphQLTypes["FileResult"] | GraphQLTypes["FileContentResult"] | GraphQLTypes["FilesContentResult"] | GraphQLTypes["GetJwtResult"] | GraphQLTypes["IsCryptoTransactionDoneResult"] | GraphQLTypes["LimitsResult"] | GraphQLTypes["MailResult"] | GraphQLTypes["NodeResult"] | GraphQLTypes["NodesSharedWithMeResult"] | GraphQLTypes["PaymentInfosResult"] | GraphQLTypes["PlansResult"] | GraphQLTypes["SharedNodesResult"] | GraphQLTypes["UnreadReceivedMailsCountResult"] | GraphQLTypes["UserResult"] | GraphQLTypes["UserListResult"] | GraphQLTypes["AddFileToHistoryResult"] | GraphQLTypes["CancelPaymentResult"] | GraphQLTypes["CreateApplicationResult"] | GraphQLTypes["CreateCryptoWalletResult"] | GraphQLTypes["CreateDraftMailResult"] | GraphQLTypes["CreateFolderResult"] | GraphQLTypes["DbConfigMutationResult"] | GraphQLTypes["DbSetResult"] | GraphQLTypes["DeleteDraftMailResult"] | GraphQLTypes["DeleteFileResult"] | GraphQLTypes["DeleteMailResult"] | GraphQLTypes["DeleteMailTrashResult"] | GraphQLTypes["DeleteNodeResult"] | GraphQLTypes["DeleteNodeCloudTrashResult"] | GraphQLTypes["DeleteNodeSharingResult"] | GraphQLTypes["DeleteUserResult"] | GraphQLTypes["DuplicateNodeResult"] | GraphQLTypes["EmptyCloudTrashResult"] | GraphQLTypes["EmptyMailTrashResult"] | GraphQLTypes["LogoutResult"] | GraphQLTypes["MoveNodesResult"] | GraphQLTypes["PayResult"] | GraphQLTypes["ReadMailResult"] | GraphQLTypes["RecoverMailResult"] | GraphQLTypes["RecoverNodeResult"] | GraphQLTypes["SaveInCloudResult"] | GraphQLTypes["SendAppMailResult"] | GraphQLTypes["SendCryptoTransactionResult"] | GraphQLTypes["SendDraftMailResult"] | GraphQLTypes["SendOneMailResult"] | GraphQLTypes["SendReportResult"] | GraphQLTypes["ShareFileInHistoryResult"] | GraphQLTypes["ShareNodeResult"] | GraphQLTypes["ShareNodeFinishResult"] | GraphQLTypes["UnreadMailResult"] | GraphQLTypes["UpdateAppNotificationsResult"] | GraphQLTypes["UpdateAppSettingsResult"] | GraphQLTypes["UpdateAutoDisconnectDelayResult"] | GraphQLTypes["UpdateDraftMailResult"] | GraphQLTypes["UpdateNodeResult"] | GraphQLTypes["UpdateProfileResult"] | GraphQLTypes["UploadFileResult"] | GraphQLTypes["UploadFileEndResult"] | GraphQLTypes["UploadFilePartEndResult"] | GraphQLTypes["UploadLiteFileResult"] | GraphQLTypes["ChangeUserPlanResult"] | GraphQLTypes["Error"] | GraphQLTypes["FileContent"];
237
237
  export declare type ValueTypes = {
238
238
  ["BigInt"]: unknown;
239
239
  ["DateTime"]: unknown;
@@ -315,6 +315,11 @@ export declare type ValueTypes = {
315
315
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
316
316
  __typename?: boolean | `@${string}`;
317
317
  }>;
318
+ ["IsCryptoTransactionDoneResult"]: AliasType<{
319
+ ["...on IsCryptoTransactionDoneResponse"]: ValueTypes["IsCryptoTransactionDoneResponse"];
320
+ ["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
321
+ __typename?: boolean | `@${string}`;
322
+ }>;
318
323
  ["LimitsResult"]: AliasType<{
319
324
  ["...on QueryLimits"]: ValueTypes["QueryLimits"];
320
325
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
@@ -383,6 +388,11 @@ export declare type ValueTypes = {
383
388
  ["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
384
389
  __typename?: boolean | `@${string}`;
385
390
  }>;
391
+ ["CreateCryptoWalletResult"]: AliasType<{
392
+ ["...on CreateCryptoWalletResponse"]: ValueTypes["CreateCryptoWalletResponse"];
393
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
394
+ __typename?: boolean | `@${string}`;
395
+ }>;
386
396
  ["CreateDraftMailResult"]: AliasType<{
387
397
  ["...on CreateDraftMailResponse"]: ValueTypes["CreateDraftMailResponse"];
388
398
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
@@ -514,6 +524,13 @@ export declare type ValueTypes = {
514
524
  ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
515
525
  __typename?: boolean | `@${string}`;
516
526
  }>;
527
+ ["SendCryptoTransactionResult"]: AliasType<{
528
+ ["...on SendCryptoTransactionResponse"]: ValueTypes["SendCryptoTransactionResponse"];
529
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
530
+ ["...on ErrorBasic"]: ValueTypes["ErrorBasic"];
531
+ ["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
532
+ __typename?: boolean | `@${string}`;
533
+ }>;
517
534
  ["SendDraftMailResult"]: AliasType<{
518
535
  ["...on SendDraftMailResponse"]: ValueTypes["SendDraftMailResponse"];
519
536
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
@@ -698,6 +715,11 @@ export declare type ValueTypes = {
698
715
  maxCount?: boolean | `@${string}`;
699
716
  __typename?: boolean | `@${string}`;
700
717
  }>;
718
+ ["CryptoWallet"]: AliasType<{
719
+ address?: boolean | `@${string}`;
720
+ privateKeyEncrypted?: boolean | `@${string}`;
721
+ __typename?: boolean | `@${string}`;
722
+ }>;
701
723
  ["Error"]: AliasType<{
702
724
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
703
725
  ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
@@ -927,6 +949,7 @@ export declare type ValueTypes = {
927
949
  mail?: ValueTypes["Mail"];
928
950
  __typename?: boolean | `@${string}`;
929
951
  }>;
952
+ ["InfuraNetwork"]: InfuraNetwork;
930
953
  ["MailFileInput"]: {
931
954
  id: string | Variable<any, string>;
932
955
  name: string | Variable<any, string>;
@@ -1135,6 +1158,10 @@ export declare type ValueTypes = {
1135
1158
  createApplication?: boolean | `@${string}`;
1136
1159
  __typename?: boolean | `@${string}`;
1137
1160
  }>;
1161
+ ["CreateCryptoWalletResponse"]: AliasType<{
1162
+ createCryptoWallet?: ValueTypes["CryptoWallet"];
1163
+ __typename?: boolean | `@${string}`;
1164
+ }>;
1138
1165
  ["CreateDraftMailResponse"]: AliasType<{
1139
1166
  createDraftMail?: ValueTypes["Mail"];
1140
1167
  __typename?: boolean | `@${string}`;
@@ -1299,6 +1326,11 @@ export declare type ValueTypes = {
1299
1326
  uploadLiteFile?: ValueTypes["LiteFileResponse"];
1300
1327
  __typename?: boolean | `@${string}`;
1301
1328
  }>;
1329
+ ["SendCryptoTransactionResponse"]: AliasType<{
1330
+ id?: boolean | `@${string}`;
1331
+ hash?: boolean | `@${string}`;
1332
+ __typename?: boolean | `@${string}`;
1333
+ }>;
1302
1334
  ["BlogResponse"]: AliasType<{
1303
1335
  blogItems?: ValueTypes["BlogItem"];
1304
1336
  __typename?: boolean | `@${string}`;
@@ -1339,6 +1371,10 @@ export declare type ValueTypes = {
1339
1371
  jwt?: boolean | `@${string}`;
1340
1372
  __typename?: boolean | `@${string}`;
1341
1373
  }>;
1374
+ ["IsCryptoTransactionDoneResponse"]: AliasType<{
1375
+ done?: boolean | `@${string}`;
1376
+ __typename?: boolean | `@${string}`;
1377
+ }>;
1342
1378
  ["QueryMailResponse"]: AliasType<{
1343
1379
  mail?: ValueTypes["Mail"];
1344
1380
  __typename?: boolean | `@${string}`;
@@ -1386,6 +1422,7 @@ export declare type ValueTypes = {
1386
1422
  id?: boolean | `@${string}`;
1387
1423
  deletedAt?: boolean | `@${string}`;
1388
1424
  lang?: boolean | `@${string}`;
1425
+ cryptoWallets?: ValueTypes["CryptoWallet"];
1389
1426
  reportSent?: ValueTypes["Report"];
1390
1427
  godFather?: ValueTypes["User"];
1391
1428
  godChildren?: ValueTypes["User"];
@@ -1418,8 +1455,7 @@ export declare type ValueTypes = {
1418
1455
  }>;
1419
1456
  ["UserAppSettings"]: AliasType<{
1420
1457
  id?: boolean | `@${string}`;
1421
- cloudFileDaysForDelete?: boolean | `@${string}`;
1422
- cloudFolderDaysForDelete?: boolean | `@${string}`;
1458
+ cloudNodeDaysForDelete?: boolean | `@${string}`;
1423
1459
  historyFileDaysForDelete?: boolean | `@${string}`;
1424
1460
  historyMaxFileCount?: boolean | `@${string}`;
1425
1461
  __typename?: boolean | `@${string}`;
@@ -1561,6 +1597,13 @@ export declare type ValueTypes = {
1561
1597
  },
1562
1598
  ValueTypes["GetJwtResult"]
1563
1599
  ];
1600
+ isCryptoTransactionDone?: [
1601
+ {
1602
+ idOrHash: string | Variable<any, string>;
1603
+ network?: ValueTypes["InfuraNetwork"] | undefined | null | Variable<any, string>;
1604
+ },
1605
+ ValueTypes["IsCryptoTransactionDoneResult"]
1606
+ ];
1564
1607
  limits?: ValueTypes["LimitsResult"];
1565
1608
  mail?: [{
1566
1609
  id: string | Variable<any, string>;
@@ -1614,6 +1657,13 @@ export declare type ValueTypes = {
1614
1657
  },
1615
1658
  ValueTypes["CreateApplicationResult"]
1616
1659
  ];
1660
+ createCryptoWallet?: [
1661
+ {
1662
+ address: string | Variable<any, string>;
1663
+ privateKeyEncrypted: string | Variable<any, string>;
1664
+ },
1665
+ ValueTypes["CreateCryptoWalletResult"]
1666
+ ];
1617
1667
  createDraftMail?: [
1618
1668
  {
1619
1669
  hash: string | Variable<any, string>;
@@ -1766,6 +1816,15 @@ export declare type ValueTypes = {
1766
1816
  },
1767
1817
  ValueTypes["SendAppMailResult"]
1768
1818
  ];
1819
+ sendCryptoTransaction?: [
1820
+ {
1821
+ network?: ValueTypes["InfuraNetwork"] | undefined | null | Variable<any, string>;
1822
+ address: string | Variable<any, string>;
1823
+ rawTransaction: string | Variable<any, string>;
1824
+ appSession: string | Variable<any, string>;
1825
+ },
1826
+ ValueTypes["SendCryptoTransactionResult"]
1827
+ ];
1769
1828
  sendDraftMail?: [
1770
1829
  {
1771
1830
  draftMailId: string | Variable<any, string>;
@@ -1828,8 +1887,7 @@ export declare type ValueTypes = {
1828
1887
  ];
1829
1888
  updateAppSettings?: [
1830
1889
  {
1831
- cloudFileDaysForDelete?: number | undefined | null | Variable<any, string>;
1832
- cloudFolderDaysForDelete?: number | undefined | null | Variable<any, string>;
1890
+ cloudNodeDaysForDelete?: number | undefined | null | Variable<any, string>;
1833
1891
  historyFileDaysForDelete?: number | undefined | null | Variable<any, string>;
1834
1892
  historyMaxFileCount?: number | undefined | null | Variable<any, string>;
1835
1893
  },
@@ -2013,6 +2071,11 @@ export declare type ResolverInputTypes = {
2013
2071
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
2014
2072
  __typename?: boolean | `@${string}`;
2015
2073
  }>;
2074
+ ["IsCryptoTransactionDoneResult"]: AliasType<{
2075
+ IsCryptoTransactionDoneResponse?: ResolverInputTypes["IsCryptoTransactionDoneResponse"];
2076
+ ErrorNotExist?: ResolverInputTypes["ErrorNotExist"];
2077
+ __typename?: boolean | `@${string}`;
2078
+ }>;
2016
2079
  ["LimitsResult"]: AliasType<{
2017
2080
  QueryLimits?: ResolverInputTypes["QueryLimits"];
2018
2081
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
@@ -2081,6 +2144,11 @@ export declare type ResolverInputTypes = {
2081
2144
  ErrorNotExist?: ResolverInputTypes["ErrorNotExist"];
2082
2145
  __typename?: boolean | `@${string}`;
2083
2146
  }>;
2147
+ ["CreateCryptoWalletResult"]: AliasType<{
2148
+ CreateCryptoWalletResponse?: ResolverInputTypes["CreateCryptoWalletResponse"];
2149
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
2150
+ __typename?: boolean | `@${string}`;
2151
+ }>;
2084
2152
  ["CreateDraftMailResult"]: AliasType<{
2085
2153
  CreateDraftMailResponse?: ResolverInputTypes["CreateDraftMailResponse"];
2086
2154
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
@@ -2212,6 +2280,13 @@ export declare type ResolverInputTypes = {
2212
2280
  ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
2213
2281
  __typename?: boolean | `@${string}`;
2214
2282
  }>;
2283
+ ["SendCryptoTransactionResult"]: AliasType<{
2284
+ SendCryptoTransactionResponse?: ResolverInputTypes["SendCryptoTransactionResponse"];
2285
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
2286
+ ErrorBasic?: ResolverInputTypes["ErrorBasic"];
2287
+ ErrorNotExist?: ResolverInputTypes["ErrorNotExist"];
2288
+ __typename?: boolean | `@${string}`;
2289
+ }>;
2215
2290
  ["SendDraftMailResult"]: AliasType<{
2216
2291
  SendDraftMailResponse?: ResolverInputTypes["SendDraftMailResponse"];
2217
2292
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
@@ -2396,6 +2471,11 @@ export declare type ResolverInputTypes = {
2396
2471
  maxCount?: boolean | `@${string}`;
2397
2472
  __typename?: boolean | `@${string}`;
2398
2473
  }>;
2474
+ ["CryptoWallet"]: AliasType<{
2475
+ address?: boolean | `@${string}`;
2476
+ privateKeyEncrypted?: boolean | `@${string}`;
2477
+ __typename?: boolean | `@${string}`;
2478
+ }>;
2399
2479
  ["Error"]: AliasType<{
2400
2480
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
2401
2481
  ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
@@ -2625,6 +2705,7 @@ export declare type ResolverInputTypes = {
2625
2705
  mail?: ResolverInputTypes["Mail"];
2626
2706
  __typename?: boolean | `@${string}`;
2627
2707
  }>;
2708
+ ["InfuraNetwork"]: InfuraNetwork;
2628
2709
  ["MailFileInput"]: {
2629
2710
  id: string;
2630
2711
  name: string;
@@ -2833,6 +2914,10 @@ export declare type ResolverInputTypes = {
2833
2914
  createApplication?: boolean | `@${string}`;
2834
2915
  __typename?: boolean | `@${string}`;
2835
2916
  }>;
2917
+ ["CreateCryptoWalletResponse"]: AliasType<{
2918
+ createCryptoWallet?: ResolverInputTypes["CryptoWallet"];
2919
+ __typename?: boolean | `@${string}`;
2920
+ }>;
2836
2921
  ["CreateDraftMailResponse"]: AliasType<{
2837
2922
  createDraftMail?: ResolverInputTypes["Mail"];
2838
2923
  __typename?: boolean | `@${string}`;
@@ -2997,6 +3082,11 @@ export declare type ResolverInputTypes = {
2997
3082
  uploadLiteFile?: ResolverInputTypes["LiteFileResponse"];
2998
3083
  __typename?: boolean | `@${string}`;
2999
3084
  }>;
3085
+ ["SendCryptoTransactionResponse"]: AliasType<{
3086
+ id?: boolean | `@${string}`;
3087
+ hash?: boolean | `@${string}`;
3088
+ __typename?: boolean | `@${string}`;
3089
+ }>;
3000
3090
  ["BlogResponse"]: AliasType<{
3001
3091
  blogItems?: ResolverInputTypes["BlogItem"];
3002
3092
  __typename?: boolean | `@${string}`;
@@ -3037,6 +3127,10 @@ export declare type ResolverInputTypes = {
3037
3127
  jwt?: boolean | `@${string}`;
3038
3128
  __typename?: boolean | `@${string}`;
3039
3129
  }>;
3130
+ ["IsCryptoTransactionDoneResponse"]: AliasType<{
3131
+ done?: boolean | `@${string}`;
3132
+ __typename?: boolean | `@${string}`;
3133
+ }>;
3040
3134
  ["QueryMailResponse"]: AliasType<{
3041
3135
  mail?: ResolverInputTypes["Mail"];
3042
3136
  __typename?: boolean | `@${string}`;
@@ -3084,6 +3178,7 @@ export declare type ResolverInputTypes = {
3084
3178
  id?: boolean | `@${string}`;
3085
3179
  deletedAt?: boolean | `@${string}`;
3086
3180
  lang?: boolean | `@${string}`;
3181
+ cryptoWallets?: ResolverInputTypes["CryptoWallet"];
3087
3182
  reportSent?: ResolverInputTypes["Report"];
3088
3183
  godFather?: ResolverInputTypes["User"];
3089
3184
  godChildren?: ResolverInputTypes["User"];
@@ -3116,8 +3211,7 @@ export declare type ResolverInputTypes = {
3116
3211
  }>;
3117
3212
  ["UserAppSettings"]: AliasType<{
3118
3213
  id?: boolean | `@${string}`;
3119
- cloudFileDaysForDelete?: boolean | `@${string}`;
3120
- cloudFolderDaysForDelete?: boolean | `@${string}`;
3214
+ cloudNodeDaysForDelete?: boolean | `@${string}`;
3121
3215
  historyFileDaysForDelete?: boolean | `@${string}`;
3122
3216
  historyMaxFileCount?: boolean | `@${string}`;
3123
3217
  __typename?: boolean | `@${string}`;
@@ -3253,6 +3347,13 @@ export declare type ResolverInputTypes = {
3253
3347
  },
3254
3348
  ResolverInputTypes["GetJwtResult"]
3255
3349
  ];
3350
+ isCryptoTransactionDone?: [
3351
+ {
3352
+ idOrHash: string;
3353
+ network?: ResolverInputTypes["InfuraNetwork"] | undefined | null;
3354
+ },
3355
+ ResolverInputTypes["IsCryptoTransactionDoneResult"]
3356
+ ];
3256
3357
  limits?: ResolverInputTypes["LimitsResult"];
3257
3358
  mail?: [{
3258
3359
  id: string;
@@ -3306,6 +3407,13 @@ export declare type ResolverInputTypes = {
3306
3407
  },
3307
3408
  ResolverInputTypes["CreateApplicationResult"]
3308
3409
  ];
3410
+ createCryptoWallet?: [
3411
+ {
3412
+ address: string;
3413
+ privateKeyEncrypted: string;
3414
+ },
3415
+ ResolverInputTypes["CreateCryptoWalletResult"]
3416
+ ];
3309
3417
  createDraftMail?: [
3310
3418
  {
3311
3419
  hash: string;
@@ -3443,6 +3551,15 @@ export declare type ResolverInputTypes = {
3443
3551
  },
3444
3552
  ResolverInputTypes["SendAppMailResult"]
3445
3553
  ];
3554
+ sendCryptoTransaction?: [
3555
+ {
3556
+ network?: ResolverInputTypes["InfuraNetwork"] | undefined | null;
3557
+ address: string;
3558
+ rawTransaction: string;
3559
+ appSession: string;
3560
+ },
3561
+ ResolverInputTypes["SendCryptoTransactionResult"]
3562
+ ];
3446
3563
  sendDraftMail?: [
3447
3564
  {
3448
3565
  draftMailId: string;
@@ -3502,8 +3619,7 @@ export declare type ResolverInputTypes = {
3502
3619
  ];
3503
3620
  updateAppSettings?: [
3504
3621
  {
3505
- cloudFileDaysForDelete?: number | undefined | null;
3506
- cloudFolderDaysForDelete?: number | undefined | null;
3622
+ cloudNodeDaysForDelete?: number | undefined | null;
3507
3623
  historyFileDaysForDelete?: number | undefined | null;
3508
3624
  historyMaxFileCount?: number | undefined | null;
3509
3625
  },
@@ -3629,6 +3745,7 @@ export declare type ModelTypes = {
3629
3745
  ["FileContentResult"]: ModelTypes["FileContentResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
3630
3746
  ["FilesContentResult"]: ModelTypes["FilesContentResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"] | ModelTypes["ErrorNotFound"];
3631
3747
  ["GetJwtResult"]: ModelTypes["JwtResponse"] | ModelTypes["ErrorAccessDenied"];
3748
+ ["IsCryptoTransactionDoneResult"]: ModelTypes["IsCryptoTransactionDoneResponse"] | ModelTypes["ErrorNotExist"];
3632
3749
  ["LimitsResult"]: ModelTypes["QueryLimits"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorLimit"];
3633
3750
  ["MailResult"]: ModelTypes["QueryMailResponse"] | ModelTypes["ErrorAccessDenied"];
3634
3751
  ["NodeResult"]: ModelTypes["NodeResponse"] | ModelTypes["ErrorAccessDenied"];
@@ -3642,6 +3759,7 @@ export declare type ModelTypes = {
3642
3759
  ["AddFileToHistoryResult"]: ModelTypes["AddFileToHistoryResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"];
3643
3760
  ["CancelPaymentResult"]: ModelTypes["CancelPaymentResponse"] | ModelTypes["ErrorAccessDenied"];
3644
3761
  ["CreateApplicationResult"]: ModelTypes["CreateApplicationResponse"] | ModelTypes["ErrorNotExist"];
3762
+ ["CreateCryptoWalletResult"]: ModelTypes["CreateCryptoWalletResponse"] | ModelTypes["ErrorAccessDenied"];
3645
3763
  ["CreateDraftMailResult"]: ModelTypes["CreateDraftMailResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
3646
3764
  ["CreateFolderResult"]: ModelTypes["CreateFolderResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"];
3647
3765
  ["DbConfigMutationResult"]: ModelTypes["DbConfigMutationResponse"] | ModelTypes["ErrorAccessDenied"];
@@ -3665,6 +3783,7 @@ export declare type ModelTypes = {
3665
3783
  ["RecoverNodeResult"]: ModelTypes["RecoverNodeResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"];
3666
3784
  ["SaveInCloudResult"]: ModelTypes["SaveInCloudResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorBasic"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorLimit"];
3667
3785
  ["SendAppMailResult"]: ModelTypes["SendAppMailResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"] | ModelTypes["ErrorNotFound"];
3786
+ ["SendCryptoTransactionResult"]: ModelTypes["SendCryptoTransactionResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"] | ModelTypes["ErrorNotExist"];
3668
3787
  ["SendDraftMailResult"]: ModelTypes["SendDraftMailResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
3669
3788
  ["SendOneMailResult"]: ModelTypes["RecoverNodeResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
3670
3789
  ["SendReportResult"]: ModelTypes["SendReportResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
@@ -3749,6 +3868,10 @@ export declare type ModelTypes = {
3749
3868
  count: ModelTypes["BigInt"];
3750
3869
  maxCount?: ModelTypes["BigInt"] | undefined;
3751
3870
  };
3871
+ ["CryptoWallet"]: {
3872
+ address: string;
3873
+ privateKeyEncrypted: string;
3874
+ };
3752
3875
  ["Error"]: ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorUpgradePlan"] | ModelTypes["ErrorLangNotExist"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorLimit"] | ModelTypes["ErrorBasic"];
3753
3876
  ["ErrorAccessDenied"]: {
3754
3877
  message: string;
@@ -3917,6 +4040,7 @@ export declare type ModelTypes = {
3917
4040
  filename: string;
3918
4041
  mail: ModelTypes["Mail"];
3919
4042
  };
4043
+ ["InfuraNetwork"]: InfuraNetwork;
3920
4044
  ["MailFileInput"]: {
3921
4045
  id: string;
3922
4046
  name: string;
@@ -4106,6 +4230,9 @@ export declare type ModelTypes = {
4106
4230
  ["CreateApplicationResponse"]: {
4107
4231
  createApplication?: string | undefined;
4108
4232
  };
4233
+ ["CreateCryptoWalletResponse"]: {
4234
+ createCryptoWallet: ModelTypes["CryptoWallet"];
4235
+ };
4109
4236
  ["CreateDraftMailResponse"]: {
4110
4237
  createDraftMail?: ModelTypes["Mail"] | undefined;
4111
4238
  };
@@ -4229,6 +4356,10 @@ export declare type ModelTypes = {
4229
4356
  ["UploadLiteFileResponse"]: {
4230
4357
  uploadLiteFile: ModelTypes["LiteFileResponse"];
4231
4358
  };
4359
+ ["SendCryptoTransactionResponse"]: {
4360
+ id: string;
4361
+ hash: string;
4362
+ };
4232
4363
  ["BlogResponse"]: {
4233
4364
  blogItems: Array<ModelTypes["BlogItem"]>;
4234
4365
  };
@@ -4259,6 +4390,9 @@ export declare type ModelTypes = {
4259
4390
  ["JwtResponse"]: {
4260
4391
  jwt: string;
4261
4392
  };
4393
+ ["IsCryptoTransactionDoneResponse"]: {
4394
+ done: boolean;
4395
+ };
4262
4396
  ["QueryMailResponse"]: {
4263
4397
  mail?: ModelTypes["Mail"] | undefined;
4264
4398
  };
@@ -4296,6 +4430,7 @@ export declare type ModelTypes = {
4296
4430
  id: string;
4297
4431
  deletedAt?: ModelTypes["DateTime"] | undefined;
4298
4432
  lang: ModelTypes["Lang"];
4433
+ cryptoWallets: Array<ModelTypes["CryptoWallet"]>;
4299
4434
  reportSent: Array<ModelTypes["Report"]>;
4300
4435
  godFather?: ModelTypes["User"] | undefined;
4301
4436
  godChildren: Array<ModelTypes["User"]>;
@@ -4326,8 +4461,7 @@ export declare type ModelTypes = {
4326
4461
  };
4327
4462
  ["UserAppSettings"]: {
4328
4463
  id: string;
4329
- cloudFileDaysForDelete: number;
4330
- cloudFolderDaysForDelete: number;
4464
+ cloudNodeDaysForDelete: number;
4331
4465
  historyFileDaysForDelete?: number | undefined;
4332
4466
  historyMaxFileCount: number;
4333
4467
  };
@@ -4407,6 +4541,7 @@ export declare type ModelTypes = {
4407
4541
  filesContent?: ModelTypes["FilesContentResult"] | undefined;
4408
4542
  filesSharedWithMe: Array<ModelTypes["FileSharedContent"]>;
4409
4543
  getJwt?: ModelTypes["GetJwtResult"] | undefined;
4544
+ isCryptoTransactionDone?: ModelTypes["IsCryptoTransactionDoneResult"] | undefined;
4410
4545
  limits?: ModelTypes["LimitsResult"] | undefined;
4411
4546
  mail?: ModelTypes["MailResult"] | undefined;
4412
4547
  node?: ModelTypes["NodeResult"] | undefined;
@@ -4423,6 +4558,7 @@ export declare type ModelTypes = {
4423
4558
  addFileToHistory?: ModelTypes["AddFileToHistoryResult"] | undefined;
4424
4559
  cancelPayment?: ModelTypes["CancelPaymentResult"] | undefined;
4425
4560
  createApplication?: ModelTypes["CreateApplicationResult"] | undefined;
4561
+ createCryptoWallet?: ModelTypes["CreateCryptoWalletResult"] | undefined;
4426
4562
  createDraftMail?: ModelTypes["CreateDraftMailResult"] | undefined;
4427
4563
  createFolder?: ModelTypes["CreateFolderResult"] | undefined;
4428
4564
  dbConfigMutation?: ModelTypes["DbConfigMutationResult"] | undefined;
@@ -4447,6 +4583,7 @@ export declare type ModelTypes = {
4447
4583
  recoverNode?: ModelTypes["RecoverNodeResult"] | undefined;
4448
4584
  saveInCloud?: ModelTypes["SaveInCloudResult"] | undefined;
4449
4585
  sendAppMail?: ModelTypes["SendAppMailResult"] | undefined;
4586
+ sendCryptoTransaction?: ModelTypes["SendCryptoTransactionResult"] | undefined;
4450
4587
  sendDraftMail?: ModelTypes["SendDraftMailResult"] | undefined;
4451
4588
  sendOneMail?: ModelTypes["SendOneMailResult"] | undefined;
4452
4589
  sendReport?: ModelTypes["SendReportResult"] | undefined;
@@ -4560,6 +4697,11 @@ export declare type GraphQLTypes = {
4560
4697
  ["...on JwtResponse"]: "__union" & GraphQLTypes["JwtResponse"];
4561
4698
  ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
4562
4699
  };
4700
+ ["IsCryptoTransactionDoneResult"]: {
4701
+ __typename: "IsCryptoTransactionDoneResponse" | "ErrorNotExist";
4702
+ ["...on IsCryptoTransactionDoneResponse"]: "__union" & GraphQLTypes["IsCryptoTransactionDoneResponse"];
4703
+ ["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
4704
+ };
4563
4705
  ["LimitsResult"]: {
4564
4706
  __typename: "QueryLimits" | "ErrorAccessDenied" | "ErrorNotFound" | "ErrorNotExist" | "ErrorLimit";
4565
4707
  ["...on QueryLimits"]: "__union" & GraphQLTypes["QueryLimits"];
@@ -4628,6 +4770,11 @@ export declare type GraphQLTypes = {
4628
4770
  ["...on CreateApplicationResponse"]: "__union" & GraphQLTypes["CreateApplicationResponse"];
4629
4771
  ["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
4630
4772
  };
4773
+ ["CreateCryptoWalletResult"]: {
4774
+ __typename: "CreateCryptoWalletResponse" | "ErrorAccessDenied";
4775
+ ["...on CreateCryptoWalletResponse"]: "__union" & GraphQLTypes["CreateCryptoWalletResponse"];
4776
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
4777
+ };
4631
4778
  ["CreateDraftMailResult"]: {
4632
4779
  __typename: "CreateDraftMailResponse" | "ErrorAccessDenied" | "ErrorBasic";
4633
4780
  ["...on CreateDraftMailResponse"]: "__union" & GraphQLTypes["CreateDraftMailResponse"];
@@ -4759,6 +4906,13 @@ export declare type GraphQLTypes = {
4759
4906
  ["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
4760
4907
  ["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
4761
4908
  };
4909
+ ["SendCryptoTransactionResult"]: {
4910
+ __typename: "SendCryptoTransactionResponse" | "ErrorAccessDenied" | "ErrorBasic" | "ErrorNotExist";
4911
+ ["...on SendCryptoTransactionResponse"]: "__union" & GraphQLTypes["SendCryptoTransactionResponse"];
4912
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
4913
+ ["...on ErrorBasic"]: "__union" & GraphQLTypes["ErrorBasic"];
4914
+ ["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
4915
+ };
4762
4916
  ["SendDraftMailResult"]: {
4763
4917
  __typename: "SendDraftMailResponse" | "ErrorAccessDenied" | "ErrorBasic";
4764
4918
  ["...on SendDraftMailResponse"]: "__union" & GraphQLTypes["SendDraftMailResponse"];
@@ -4943,6 +5097,11 @@ export declare type GraphQLTypes = {
4943
5097
  count: GraphQLTypes["BigInt"];
4944
5098
  maxCount?: GraphQLTypes["BigInt"] | undefined;
4945
5099
  };
5100
+ ["CryptoWallet"]: {
5101
+ __typename: "CryptoWallet";
5102
+ address: string;
5103
+ privateKeyEncrypted: string;
5104
+ };
4946
5105
  ["Error"]: {
4947
5106
  __typename: "ErrorAccessDenied" | "ErrorNotFound" | "ErrorUpgradePlan" | "ErrorLangNotExist" | "ErrorNotExist" | "ErrorLimit" | "ErrorBasic";
4948
5107
  ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
@@ -5172,6 +5331,7 @@ export declare type GraphQLTypes = {
5172
5331
  filename: string;
5173
5332
  mail: GraphQLTypes["Mail"];
5174
5333
  };
5334
+ ["InfuraNetwork"]: InfuraNetwork;
5175
5335
  ["MailFileInput"]: {
5176
5336
  id: string;
5177
5337
  name: string;
@@ -5380,6 +5540,10 @@ export declare type GraphQLTypes = {
5380
5540
  __typename: "CreateApplicationResponse";
5381
5541
  createApplication?: string | undefined;
5382
5542
  };
5543
+ ["CreateCryptoWalletResponse"]: {
5544
+ __typename: "CreateCryptoWalletResponse";
5545
+ createCryptoWallet: GraphQLTypes["CryptoWallet"];
5546
+ };
5383
5547
  ["CreateDraftMailResponse"]: {
5384
5548
  __typename: "CreateDraftMailResponse";
5385
5549
  createDraftMail?: GraphQLTypes["Mail"] | undefined;
@@ -5544,6 +5708,11 @@ export declare type GraphQLTypes = {
5544
5708
  __typename: "UploadLiteFileResponse";
5545
5709
  uploadLiteFile: GraphQLTypes["LiteFileResponse"];
5546
5710
  };
5711
+ ["SendCryptoTransactionResponse"]: {
5712
+ __typename: "SendCryptoTransactionResponse";
5713
+ id: string;
5714
+ hash: string;
5715
+ };
5547
5716
  ["BlogResponse"]: {
5548
5717
  __typename: "BlogResponse";
5549
5718
  blogItems: Array<GraphQLTypes["BlogItem"]>;
@@ -5584,6 +5753,10 @@ export declare type GraphQLTypes = {
5584
5753
  __typename: "JwtResponse";
5585
5754
  jwt: string;
5586
5755
  };
5756
+ ["IsCryptoTransactionDoneResponse"]: {
5757
+ __typename: "IsCryptoTransactionDoneResponse";
5758
+ done: boolean;
5759
+ };
5587
5760
  ["QueryMailResponse"]: {
5588
5761
  __typename: "QueryMailResponse";
5589
5762
  mail?: GraphQLTypes["Mail"] | undefined;
@@ -5632,6 +5805,7 @@ export declare type GraphQLTypes = {
5632
5805
  id: string;
5633
5806
  deletedAt?: GraphQLTypes["DateTime"] | undefined;
5634
5807
  lang: GraphQLTypes["Lang"];
5808
+ cryptoWallets: Array<GraphQLTypes["CryptoWallet"]>;
5635
5809
  reportSent: Array<GraphQLTypes["Report"]>;
5636
5810
  godFather?: GraphQLTypes["User"] | undefined;
5637
5811
  godChildren: Array<GraphQLTypes["User"]>;
@@ -5664,8 +5838,7 @@ export declare type GraphQLTypes = {
5664
5838
  ["UserAppSettings"]: {
5665
5839
  __typename: "UserAppSettings";
5666
5840
  id: string;
5667
- cloudFileDaysForDelete: number;
5668
- cloudFolderDaysForDelete: number;
5841
+ cloudNodeDaysForDelete: number;
5669
5842
  historyFileDaysForDelete?: number | undefined;
5670
5843
  historyMaxFileCount: number;
5671
5844
  };
@@ -5753,6 +5926,7 @@ export declare type GraphQLTypes = {
5753
5926
  filesContent?: GraphQLTypes["FilesContentResult"] | undefined;
5754
5927
  filesSharedWithMe: Array<GraphQLTypes["FileSharedContent"]>;
5755
5928
  getJwt?: GraphQLTypes["GetJwtResult"] | undefined;
5929
+ isCryptoTransactionDone?: GraphQLTypes["IsCryptoTransactionDoneResult"] | undefined;
5756
5930
  limits?: GraphQLTypes["LimitsResult"] | undefined;
5757
5931
  mail?: GraphQLTypes["MailResult"] | undefined;
5758
5932
  node?: GraphQLTypes["NodeResult"] | undefined;
@@ -5770,6 +5944,7 @@ export declare type GraphQLTypes = {
5770
5944
  addFileToHistory?: GraphQLTypes["AddFileToHistoryResult"] | undefined;
5771
5945
  cancelPayment?: GraphQLTypes["CancelPaymentResult"] | undefined;
5772
5946
  createApplication?: GraphQLTypes["CreateApplicationResult"] | undefined;
5947
+ createCryptoWallet?: GraphQLTypes["CreateCryptoWalletResult"] | undefined;
5773
5948
  createDraftMail?: GraphQLTypes["CreateDraftMailResult"] | undefined;
5774
5949
  createFolder?: GraphQLTypes["CreateFolderResult"] | undefined;
5775
5950
  dbConfigMutation?: GraphQLTypes["DbConfigMutationResult"] | undefined;
@@ -5794,6 +5969,7 @@ export declare type GraphQLTypes = {
5794
5969
  recoverNode?: GraphQLTypes["RecoverNodeResult"] | undefined;
5795
5970
  saveInCloud?: GraphQLTypes["SaveInCloudResult"] | undefined;
5796
5971
  sendAppMail?: GraphQLTypes["SendAppMailResult"] | undefined;
5972
+ sendCryptoTransaction?: GraphQLTypes["SendCryptoTransactionResult"] | undefined;
5797
5973
  sendDraftMail?: GraphQLTypes["SendDraftMailResult"] | undefined;
5798
5974
  sendOneMail?: GraphQLTypes["SendOneMailResult"] | undefined;
5799
5975
  sendReport?: GraphQLTypes["SendReportResult"] | undefined;
@@ -5865,6 +6041,15 @@ export declare enum FileContentType {
5865
6041
  sent_mail = "sent_mail",
5866
6042
  received_mail = "received_mail"
5867
6043
  }
6044
+ export declare enum InfuraNetwork {
6045
+ mainnet = "mainnet",
6046
+ ropsten = "ropsten",
6047
+ rinkeby = "rinkeby",
6048
+ goerli = "goerli",
6049
+ kovan = "kovan",
6050
+ polygon_mainnet = "polygon_mainnet",
6051
+ polygon_mumbai = "polygon_mumbai"
6052
+ }
5868
6053
  export declare enum PayInputType {
5869
6054
  secure = "secure",
5870
6055
  classic = "classic"
@@ -5881,6 +6066,7 @@ declare type ZEUS_VARIABLES = {
5881
6066
  ["Rights"]: ValueTypes["Rights"];
5882
6067
  ["NodeType"]: ValueTypes["NodeType"];
5883
6068
  ["FileContentType"]: ValueTypes["FileContentType"];
6069
+ ["InfuraNetwork"]: ValueTypes["InfuraNetwork"];
5884
6070
  ["MailFileInput"]: ValueTypes["MailFileInput"];
5885
6071
  ["MailRecipientInput"]: ValueTypes["MailRecipientInput"];
5886
6072
  ["NameKeyInput"]: ValueTypes["NameKeyInput"];