@secrecy/lib 1.0.1 → 1.2.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.
@@ -154,8 +154,10 @@ type BaseZeusResolver = boolean | 1 | string | Variable<any, string>;
154
154
  type IsInterfaced<SRC extends DeepAnify<DST>, DST, SCLR extends ScalarDefinition> = FlattenArray<SRC> extends ZEUS_INTERFACES | ZEUS_UNIONS ? {
155
155
  [P in keyof SRC]: SRC[P] extends "__union" & infer R ? P extends keyof DST ? IsArray<R, "__typename" extends keyof DST ? DST[P] & {
156
156
  __typename: true;
157
- } : DST[P], SCLR> : Record<string, unknown> : never;
158
- }[keyof DST] & {
157
+ } : DST[P], SCLR> : IsArray<R, "__typename" extends keyof DST ? {
158
+ __typename: true;
159
+ } : never, SCLR> : never;
160
+ }[keyof SRC] & {
159
161
  [P in keyof Omit<Pick<SRC, {
160
162
  [P in keyof DST]: SRC[P] extends "__union" ? never : P;
161
163
  }[keyof DST]>, "__typename">]: IsPayLoad<DST[P]> extends BaseZeusResolver ? IsScalar<SRC[P], SCLR> : IsArray<SRC[P], DST[P], SCLR>;
@@ -233,7 +235,7 @@ export type ScalarCoders = {
233
235
  Json?: ScalarResolver;
234
236
  Bytes?: ScalarResolver;
235
237
  };
236
- 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["MyCryptoBalanceResult"] | GraphQLTypes["NodeResult"] | GraphQLTypes["NodesSharedWithMeResult"] | GraphQLTypes["PaymentInfosResult"] | GraphQLTypes["PlansResult"] | GraphQLTypes["SharedNodesResult"] | GraphQLTypes["UnreadReceivedMailsCountResult"] | GraphQLTypes["UserResult"] | GraphQLTypes["UserListResult"] | GraphQLTypes["GetCardIdentificationResult"] | GraphQLTypes["GetStripeBalanceResult"] | GraphQLTypes["GetStripeBalanceTransactionResult"] | GraphQLTypes["GetStripeTransactionResult"] | GraphQLTypes["HasStripeAccountResult"] | GraphQLTypes["KycStripeCompletedResult"] | GraphQLTypes["GetAllStripeTransferResult"] | GraphQLTypes["GetStripeTransferResult"] | GraphQLTypes["GetAllStripePayoutResult"] | GraphQLTypes["GetStripePayoutResult"] | GraphQLTypes["GetAllPaymentRequestToCollectResult"] | GraphQLTypes["GetAllPaymentRequestToPayResult"] | GraphQLTypes["GetPaymentRequestToCollectResult"] | GraphQLTypes["GetPaymentRequestToPayResult"] | GraphQLTypes["IsValidPaymentIntentResult"] | 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["CreateCardTokenResult"] | GraphQLTypes["CreateStripeTransferResult"] | GraphQLTypes["DeleteCardTokenResult"] | GraphQLTypes["StripeOnBoardingResult"] | GraphQLTypes["CancelStripePayoutResult"] | GraphQLTypes["CreateStripePayoutResult"] | GraphQLTypes["AddCartToPaymentIntentResult"] | GraphQLTypes["CancelPaymentIntentResult"] | GraphQLTypes["ConfirmPaymentIntentResult"] | GraphQLTypes["CreatePaymentIntentResult"] | GraphQLTypes["Error"] | GraphQLTypes["FileContent"];
238
+ type ZEUS_UNIONS = GraphQLTypes["AppNotificationsResult"] | GraphQLTypes["ApplicationsResult"] | 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["MyCryptoBalanceResult"] | GraphQLTypes["NodeResult"] | GraphQLTypes["NodesSharedWithMeResult"] | GraphQLTypes["PaymentInfosResult"] | GraphQLTypes["PlansResult"] | GraphQLTypes["SharedNodesResult"] | GraphQLTypes["UnreadReceivedMailsCountResult"] | GraphQLTypes["UserResult"] | GraphQLTypes["UserListResult"] | GraphQLTypes["GetCardIdentificationResult"] | GraphQLTypes["GetStripeBalanceResult"] | GraphQLTypes["GetStripeBalanceTransactionResult"] | GraphQLTypes["GetStripeTransactionResult"] | GraphQLTypes["HasStripeAccountResult"] | GraphQLTypes["KycStripeCompletedResult"] | GraphQLTypes["GetAllStripeTransferResult"] | GraphQLTypes["GetStripeTransferResult"] | GraphQLTypes["GetAllStripePayoutResult"] | GraphQLTypes["GetStripePayoutResult"] | GraphQLTypes["GetAllPaymentRequestToCollectResult"] | GraphQLTypes["GetAllPaymentRequestToPayResult"] | GraphQLTypes["GetPaymentRequestToCollectResult"] | GraphQLTypes["GetPaymentRequestToPayResult"] | GraphQLTypes["IsValidPaymentIntentResult"] | GraphQLTypes["AddFileToHistoryResult"] | GraphQLTypes["CancelPaymentResult"] | 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["CreateCardTokenResult"] | GraphQLTypes["CreateStripeTransferResult"] | GraphQLTypes["DeleteCardTokenResult"] | GraphQLTypes["StripeOnBoardingResult"] | GraphQLTypes["CancelStripePayoutResult"] | GraphQLTypes["CreateStripePayoutResult"] | GraphQLTypes["AddCartToPaymentIntentResult"] | GraphQLTypes["CancelPaymentIntentResult"] | GraphQLTypes["ConfirmPaymentIntentResult"] | GraphQLTypes["CreatePaymentIntentResult"] | GraphQLTypes["RenewAppCodeResult"] | GraphQLTypes["UpdateOriginUrlResult"] | GraphQLTypes["CreateApplicationResult"] | GraphQLTypes["DeleteApplicationResult"] | GraphQLTypes["EditColorsResult"] | GraphQLTypes["EditLogoResult"] | GraphQLTypes["EditNameResult"] | GraphQLTypes["AddDeveloperResult"] | GraphQLTypes["DeleteDeveloperResult"] | GraphQLTypes["EditDeveloperResult"] | GraphQLTypes["Error"] | GraphQLTypes["FileContent"];
237
239
  export type ValueTypes = {
238
240
  ["BigInt"]: unknown;
239
241
  ["DateTime"]: unknown;
@@ -252,6 +254,11 @@ export type ValueTypes = {
252
254
  ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
253
255
  __typename?: boolean | `@${string}`;
254
256
  }>;
257
+ ["ApplicationsResult"]: AliasType<{
258
+ ["...on ApplicationsResponse"]: ValueTypes["ApplicationsResponse"];
259
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
260
+ __typename?: boolean | `@${string}`;
261
+ }>;
255
262
  ["BlogResult"]: AliasType<{
256
263
  ["...on BlogResponse"]: ValueTypes["BlogResponse"];
257
264
  ["...on ErrorLangNotExist"]: ValueTypes["ErrorLangNotExist"];
@@ -488,11 +495,6 @@ export type ValueTypes = {
488
495
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
489
496
  __typename?: boolean | `@${string}`;
490
497
  }>;
491
- ["CreateApplicationResult"]: AliasType<{
492
- ["...on CreateApplicationResponse"]: ValueTypes["CreateApplicationResponse"];
493
- ["...on ErrorNotExist"]: ValueTypes["ErrorNotExist"];
494
- __typename?: boolean | `@${string}`;
495
- }>;
496
498
  ["CreateCryptoWalletResult"]: AliasType<{
497
499
  ["...on CreateCryptoWalletResponse"]: ValueTypes["CreateCryptoWalletResponse"];
498
500
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
@@ -813,6 +815,56 @@ export type ValueTypes = {
813
815
  ["...on ErrorNotFound"]: ValueTypes["ErrorNotFound"];
814
816
  __typename?: boolean | `@${string}`;
815
817
  }>;
818
+ ["RenewAppCodeResult"]: AliasType<{
819
+ ["...on RenewAppCodeResponse"]: ValueTypes["RenewAppCodeResponse"];
820
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
821
+ __typename?: boolean | `@${string}`;
822
+ }>;
823
+ ["UpdateOriginUrlResult"]: AliasType<{
824
+ ["...on UpdateOriginUrlResponse"]: ValueTypes["UpdateOriginUrlResponse"];
825
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
826
+ __typename?: boolean | `@${string}`;
827
+ }>;
828
+ ["CreateApplicationResult"]: AliasType<{
829
+ ["...on CreateApplicationResponse"]: ValueTypes["CreateApplicationResponse"];
830
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
831
+ __typename?: boolean | `@${string}`;
832
+ }>;
833
+ ["DeleteApplicationResult"]: AliasType<{
834
+ ["...on EditProjectResponse"]: ValueTypes["EditProjectResponse"];
835
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
836
+ __typename?: boolean | `@${string}`;
837
+ }>;
838
+ ["EditColorsResult"]: AliasType<{
839
+ ["...on EditProjectResponse"]: ValueTypes["EditProjectResponse"];
840
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
841
+ __typename?: boolean | `@${string}`;
842
+ }>;
843
+ ["EditLogoResult"]: AliasType<{
844
+ ["...on EditProjectResponse"]: ValueTypes["EditProjectResponse"];
845
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
846
+ __typename?: boolean | `@${string}`;
847
+ }>;
848
+ ["EditNameResult"]: AliasType<{
849
+ ["...on EditProjectResponse"]: ValueTypes["EditProjectResponse"];
850
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
851
+ __typename?: boolean | `@${string}`;
852
+ }>;
853
+ ["AddDeveloperResult"]: AliasType<{
854
+ ["...on EditDeveloperResponse"]: ValueTypes["EditDeveloperResponse"];
855
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
856
+ __typename?: boolean | `@${string}`;
857
+ }>;
858
+ ["DeleteDeveloperResult"]: AliasType<{
859
+ ["...on EditDeveloperResponse"]: ValueTypes["EditDeveloperResponse"];
860
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
861
+ __typename?: boolean | `@${string}`;
862
+ }>;
863
+ ["EditDeveloperResult"]: AliasType<{
864
+ ["...on EditDeveloperResponse"]: ValueTypes["EditDeveloperResponse"];
865
+ ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
866
+ __typename?: boolean | `@${string}`;
867
+ }>;
816
868
  ["AppKeyPair"]: AliasType<{
817
869
  pub?: boolean | `@${string}`;
818
870
  __typename?: boolean | `@${string}`;
@@ -833,7 +885,14 @@ export type ValueTypes = {
833
885
  id?: boolean | `@${string}`;
834
886
  name?: boolean | `@${string}`;
835
887
  logo?: boolean | `@${string}`;
888
+ color?: boolean | `@${string}`;
836
889
  origin?: boolean | `@${string}`;
890
+ owner?: ValueTypes["Developer"];
891
+ ownerId?: boolean | `@${string}`;
892
+ developers?: ValueTypes["DevelopersOnApplications"];
893
+ users?: ValueTypes["ApplicationsOnUsers"];
894
+ createdAt?: boolean | `@${string}`;
895
+ updatedAt?: boolean | `@${string}`;
837
896
  __typename?: boolean | `@${string}`;
838
897
  }>;
839
898
  ["ApplicationsOnUsers"]: AliasType<{
@@ -894,6 +953,24 @@ export type ValueTypes = {
894
953
  privateKeyEncrypted?: boolean | `@${string}`;
895
954
  __typename?: boolean | `@${string}`;
896
955
  }>;
956
+ ["Developer"]: AliasType<{
957
+ id?: boolean | `@${string}`;
958
+ applications?: ValueTypes["Application"];
959
+ developersOnApplications?: ValueTypes["DevelopersOnApplications"];
960
+ __typename?: boolean | `@${string}`;
961
+ }>;
962
+ ["DevelopersOnApplications"]: AliasType<{
963
+ developer?: ValueTypes["Developer"];
964
+ developerId?: boolean | `@${string}`;
965
+ app?: ValueTypes["Application"];
966
+ appId?: boolean | `@${string}`;
967
+ createdAt?: boolean | `@${string}`;
968
+ updatedAt?: boolean | `@${string}`;
969
+ role?: boolean | `@${string}`;
970
+ rights?: boolean | `@${string}`;
971
+ __typename?: boolean | `@${string}`;
972
+ }>;
973
+ ["SortByDate"]: SortByDate;
897
974
  ["Error"]: AliasType<{
898
975
  ["...on ErrorStripe"]: ValueTypes["ErrorStripe"];
899
976
  ["...on ErrorAccessDenied"]: ValueTypes["ErrorAccessDenied"];
@@ -1551,6 +1628,26 @@ export type ValueTypes = {
1551
1628
  created?: boolean | `@${string}`;
1552
1629
  __typename?: boolean | `@${string}`;
1553
1630
  }>;
1631
+ ["RenewAppCodeResponse"]: AliasType<{
1632
+ renew?: boolean | `@${string}`;
1633
+ __typename?: boolean | `@${string}`;
1634
+ }>;
1635
+ ["UpdateOriginUrlResponse"]: AliasType<{
1636
+ update?: boolean | `@${string}`;
1637
+ __typename?: boolean | `@${string}`;
1638
+ }>;
1639
+ ["EditDeveloperResponse"]: AliasType<{
1640
+ edited?: boolean | `@${string}`;
1641
+ __typename?: boolean | `@${string}`;
1642
+ }>;
1643
+ ["EditProjectResponse"]: AliasType<{
1644
+ edited?: boolean | `@${string}`;
1645
+ __typename?: boolean | `@${string}`;
1646
+ }>;
1647
+ ["ApplicationsResponse"]: AliasType<{
1648
+ applications?: ValueTypes["Application"];
1649
+ __typename?: boolean | `@${string}`;
1650
+ }>;
1554
1651
  ["BlogResponse"]: AliasType<{
1555
1652
  blogItems?: ValueTypes["BlogItem"];
1556
1653
  __typename?: boolean | `@${string}`;
@@ -1845,12 +1942,12 @@ export type ValueTypes = {
1845
1942
  id?: boolean | `@${string}`;
1846
1943
  deletedAt?: boolean | `@${string}`;
1847
1944
  lang?: boolean | `@${string}`;
1945
+ infosId?: boolean | `@${string}`;
1848
1946
  cryptoWallets?: ValueTypes["CryptoWallet"];
1849
1947
  reportSent?: ValueTypes["Report"];
1850
1948
  godFather?: ValueTypes["User"];
1851
1949
  godChildren?: ValueTypes["User"];
1852
1950
  infos?: ValueTypes["UserInfos"];
1853
- infosId?: boolean | `@${string}`;
1854
1951
  firstname?: boolean | `@${string}`;
1855
1952
  lastname?: boolean | `@${string}`;
1856
1953
  email?: boolean | `@${string}`;
@@ -1952,8 +2049,18 @@ export type ValueTypes = {
1952
2049
  nodes?: boolean | `@${string}`;
1953
2050
  __typename?: boolean | `@${string}`;
1954
2051
  }>;
2052
+ ["ApplicationsCollaborators"]: {
2053
+ email: string | Variable<any, string>;
2054
+ rights: ValueTypes["Rights"] | Variable<any, string>;
2055
+ };
1955
2056
  ["Query"]: AliasType<{
1956
2057
  appNotifications?: ValueTypes["AppNotificationsResult"];
2058
+ applications?: [
2059
+ {
2060
+ sortBy: ValueTypes["SortByDate"] | Variable<any, string>;
2061
+ },
2062
+ ValueTypes["ApplicationsResult"]
2063
+ ];
1957
2064
  blog?: [
1958
2065
  {
1959
2066
  lang?: ValueTypes["Lang"] | undefined | null | Variable<any, string>;
@@ -2144,14 +2251,6 @@ export type ValueTypes = {
2144
2251
  ValueTypes["AddFileToHistoryResult"]
2145
2252
  ];
2146
2253
  cancelPayment?: ValueTypes["CancelPaymentResult"];
2147
- createApplication?: [
2148
- {
2149
- name: string | Variable<any, string>;
2150
- origin: string | Variable<any, string>;
2151
- developerId: string | Variable<any, string>;
2152
- },
2153
- ValueTypes["CreateApplicationResult"]
2154
- ];
2155
2254
  createCryptoWallet?: [
2156
2255
  {
2157
2256
  address: string | Variable<any, string>;
@@ -2544,6 +2643,81 @@ export type ValueTypes = {
2544
2643
  },
2545
2644
  ValueTypes["CreatePaymentIntentResult"]
2546
2645
  ];
2646
+ renewAppCode?: [
2647
+ {
2648
+ actualAppCode: string | Variable<any, string>;
2649
+ },
2650
+ ValueTypes["RenewAppCodeResult"]
2651
+ ];
2652
+ updateOriginUrl?: [
2653
+ {
2654
+ appCode: string | Variable<any, string>;
2655
+ originUrl: Array<string> | Variable<any, string>;
2656
+ },
2657
+ ValueTypes["UpdateOriginUrlResult"]
2658
+ ];
2659
+ createApplication?: [
2660
+ {
2661
+ name: string | Variable<any, string>;
2662
+ origin: string | Variable<any, string>;
2663
+ color?: string | undefined | null | Variable<any, string>;
2664
+ logo?: string | undefined | null | Variable<any, string>;
2665
+ collaborators?: Array<ValueTypes["ApplicationsCollaborators"]> | undefined | null | Variable<any, string>;
2666
+ },
2667
+ ValueTypes["CreateApplicationResult"]
2668
+ ];
2669
+ deleteApplication?: [
2670
+ {
2671
+ appCode: string | Variable<any, string>;
2672
+ },
2673
+ ValueTypes["DeleteApplicationResult"]
2674
+ ];
2675
+ editColors?: [
2676
+ {
2677
+ appCode: string | Variable<any, string>;
2678
+ newColors?: string | undefined | null | Variable<any, string>;
2679
+ },
2680
+ ValueTypes["EditColorsResult"]
2681
+ ];
2682
+ editLogo?: [
2683
+ {
2684
+ appCode: string | Variable<any, string>;
2685
+ newLogo?: string | undefined | null | Variable<any, string>;
2686
+ },
2687
+ ValueTypes["EditLogoResult"]
2688
+ ];
2689
+ editName?: [
2690
+ {
2691
+ appCode: string | Variable<any, string>;
2692
+ newName: string | Variable<any, string>;
2693
+ },
2694
+ ValueTypes["EditNameResult"]
2695
+ ];
2696
+ addDeveloper?: [
2697
+ {
2698
+ appCode: string | Variable<any, string>;
2699
+ userId: string | Variable<any, string>;
2700
+ userRole: ValueTypes["UserRole"] | Variable<any, string>;
2701
+ userRights: ValueTypes["Rights"] | Variable<any, string>;
2702
+ },
2703
+ ValueTypes["AddDeveloperResult"]
2704
+ ];
2705
+ deleteDeveloper?: [
2706
+ {
2707
+ appCode: string | Variable<any, string>;
2708
+ userId: string | Variable<any, string>;
2709
+ },
2710
+ ValueTypes["DeleteDeveloperResult"]
2711
+ ];
2712
+ editDeveloper?: [
2713
+ {
2714
+ appCode: string | Variable<any, string>;
2715
+ userId: string | Variable<any, string>;
2716
+ userRole: ValueTypes["UserRole"] | Variable<any, string>;
2717
+ userRights: ValueTypes["Rights"] | Variable<any, string>;
2718
+ },
2719
+ ValueTypes["EditDeveloperResult"]
2720
+ ];
2547
2721
  __typename?: boolean | `@${string}`;
2548
2722
  }>;
2549
2723
  ["Subscription"]: AliasType<{
@@ -2569,6 +2743,11 @@ export type ResolverInputTypes = {
2569
2743
  ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
2570
2744
  __typename?: boolean | `@${string}`;
2571
2745
  }>;
2746
+ ["ApplicationsResult"]: AliasType<{
2747
+ ApplicationsResponse?: ResolverInputTypes["ApplicationsResponse"];
2748
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
2749
+ __typename?: boolean | `@${string}`;
2750
+ }>;
2572
2751
  ["BlogResult"]: AliasType<{
2573
2752
  BlogResponse?: ResolverInputTypes["BlogResponse"];
2574
2753
  ErrorLangNotExist?: ResolverInputTypes["ErrorLangNotExist"];
@@ -2805,11 +2984,6 @@ export type ResolverInputTypes = {
2805
2984
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
2806
2985
  __typename?: boolean | `@${string}`;
2807
2986
  }>;
2808
- ["CreateApplicationResult"]: AliasType<{
2809
- CreateApplicationResponse?: ResolverInputTypes["CreateApplicationResponse"];
2810
- ErrorNotExist?: ResolverInputTypes["ErrorNotExist"];
2811
- __typename?: boolean | `@${string}`;
2812
- }>;
2813
2987
  ["CreateCryptoWalletResult"]: AliasType<{
2814
2988
  CreateCryptoWalletResponse?: ResolverInputTypes["CreateCryptoWalletResponse"];
2815
2989
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
@@ -3130,6 +3304,56 @@ export type ResolverInputTypes = {
3130
3304
  ErrorNotFound?: ResolverInputTypes["ErrorNotFound"];
3131
3305
  __typename?: boolean | `@${string}`;
3132
3306
  }>;
3307
+ ["RenewAppCodeResult"]: AliasType<{
3308
+ RenewAppCodeResponse?: ResolverInputTypes["RenewAppCodeResponse"];
3309
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3310
+ __typename?: boolean | `@${string}`;
3311
+ }>;
3312
+ ["UpdateOriginUrlResult"]: AliasType<{
3313
+ UpdateOriginUrlResponse?: ResolverInputTypes["UpdateOriginUrlResponse"];
3314
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3315
+ __typename?: boolean | `@${string}`;
3316
+ }>;
3317
+ ["CreateApplicationResult"]: AliasType<{
3318
+ CreateApplicationResponse?: ResolverInputTypes["CreateApplicationResponse"];
3319
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3320
+ __typename?: boolean | `@${string}`;
3321
+ }>;
3322
+ ["DeleteApplicationResult"]: AliasType<{
3323
+ EditProjectResponse?: ResolverInputTypes["EditProjectResponse"];
3324
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3325
+ __typename?: boolean | `@${string}`;
3326
+ }>;
3327
+ ["EditColorsResult"]: AliasType<{
3328
+ EditProjectResponse?: ResolverInputTypes["EditProjectResponse"];
3329
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3330
+ __typename?: boolean | `@${string}`;
3331
+ }>;
3332
+ ["EditLogoResult"]: AliasType<{
3333
+ EditProjectResponse?: ResolverInputTypes["EditProjectResponse"];
3334
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3335
+ __typename?: boolean | `@${string}`;
3336
+ }>;
3337
+ ["EditNameResult"]: AliasType<{
3338
+ EditProjectResponse?: ResolverInputTypes["EditProjectResponse"];
3339
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3340
+ __typename?: boolean | `@${string}`;
3341
+ }>;
3342
+ ["AddDeveloperResult"]: AliasType<{
3343
+ EditDeveloperResponse?: ResolverInputTypes["EditDeveloperResponse"];
3344
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3345
+ __typename?: boolean | `@${string}`;
3346
+ }>;
3347
+ ["DeleteDeveloperResult"]: AliasType<{
3348
+ EditDeveloperResponse?: ResolverInputTypes["EditDeveloperResponse"];
3349
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3350
+ __typename?: boolean | `@${string}`;
3351
+ }>;
3352
+ ["EditDeveloperResult"]: AliasType<{
3353
+ EditDeveloperResponse?: ResolverInputTypes["EditDeveloperResponse"];
3354
+ ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
3355
+ __typename?: boolean | `@${string}`;
3356
+ }>;
3133
3357
  ["AppKeyPair"]: AliasType<{
3134
3358
  pub?: boolean | `@${string}`;
3135
3359
  __typename?: boolean | `@${string}`;
@@ -3150,7 +3374,14 @@ export type ResolverInputTypes = {
3150
3374
  id?: boolean | `@${string}`;
3151
3375
  name?: boolean | `@${string}`;
3152
3376
  logo?: boolean | `@${string}`;
3377
+ color?: boolean | `@${string}`;
3153
3378
  origin?: boolean | `@${string}`;
3379
+ owner?: ResolverInputTypes["Developer"];
3380
+ ownerId?: boolean | `@${string}`;
3381
+ developers?: ResolverInputTypes["DevelopersOnApplications"];
3382
+ users?: ResolverInputTypes["ApplicationsOnUsers"];
3383
+ createdAt?: boolean | `@${string}`;
3384
+ updatedAt?: boolean | `@${string}`;
3154
3385
  __typename?: boolean | `@${string}`;
3155
3386
  }>;
3156
3387
  ["ApplicationsOnUsers"]: AliasType<{
@@ -3211,6 +3442,24 @@ export type ResolverInputTypes = {
3211
3442
  privateKeyEncrypted?: boolean | `@${string}`;
3212
3443
  __typename?: boolean | `@${string}`;
3213
3444
  }>;
3445
+ ["Developer"]: AliasType<{
3446
+ id?: boolean | `@${string}`;
3447
+ applications?: ResolverInputTypes["Application"];
3448
+ developersOnApplications?: ResolverInputTypes["DevelopersOnApplications"];
3449
+ __typename?: boolean | `@${string}`;
3450
+ }>;
3451
+ ["DevelopersOnApplications"]: AliasType<{
3452
+ developer?: ResolverInputTypes["Developer"];
3453
+ developerId?: boolean | `@${string}`;
3454
+ app?: ResolverInputTypes["Application"];
3455
+ appId?: boolean | `@${string}`;
3456
+ createdAt?: boolean | `@${string}`;
3457
+ updatedAt?: boolean | `@${string}`;
3458
+ role?: boolean | `@${string}`;
3459
+ rights?: boolean | `@${string}`;
3460
+ __typename?: boolean | `@${string}`;
3461
+ }>;
3462
+ ["SortByDate"]: SortByDate;
3214
3463
  ["Error"]: AliasType<{
3215
3464
  ErrorStripe?: ResolverInputTypes["ErrorStripe"];
3216
3465
  ErrorAccessDenied?: ResolverInputTypes["ErrorAccessDenied"];
@@ -3868,6 +4117,26 @@ export type ResolverInputTypes = {
3868
4117
  created?: boolean | `@${string}`;
3869
4118
  __typename?: boolean | `@${string}`;
3870
4119
  }>;
4120
+ ["RenewAppCodeResponse"]: AliasType<{
4121
+ renew?: boolean | `@${string}`;
4122
+ __typename?: boolean | `@${string}`;
4123
+ }>;
4124
+ ["UpdateOriginUrlResponse"]: AliasType<{
4125
+ update?: boolean | `@${string}`;
4126
+ __typename?: boolean | `@${string}`;
4127
+ }>;
4128
+ ["EditDeveloperResponse"]: AliasType<{
4129
+ edited?: boolean | `@${string}`;
4130
+ __typename?: boolean | `@${string}`;
4131
+ }>;
4132
+ ["EditProjectResponse"]: AliasType<{
4133
+ edited?: boolean | `@${string}`;
4134
+ __typename?: boolean | `@${string}`;
4135
+ }>;
4136
+ ["ApplicationsResponse"]: AliasType<{
4137
+ applications?: ResolverInputTypes["Application"];
4138
+ __typename?: boolean | `@${string}`;
4139
+ }>;
3871
4140
  ["BlogResponse"]: AliasType<{
3872
4141
  blogItems?: ResolverInputTypes["BlogItem"];
3873
4142
  __typename?: boolean | `@${string}`;
@@ -4162,12 +4431,12 @@ export type ResolverInputTypes = {
4162
4431
  id?: boolean | `@${string}`;
4163
4432
  deletedAt?: boolean | `@${string}`;
4164
4433
  lang?: boolean | `@${string}`;
4434
+ infosId?: boolean | `@${string}`;
4165
4435
  cryptoWallets?: ResolverInputTypes["CryptoWallet"];
4166
4436
  reportSent?: ResolverInputTypes["Report"];
4167
4437
  godFather?: ResolverInputTypes["User"];
4168
4438
  godChildren?: ResolverInputTypes["User"];
4169
4439
  infos?: ResolverInputTypes["UserInfos"];
4170
- infosId?: boolean | `@${string}`;
4171
4440
  firstname?: boolean | `@${string}`;
4172
4441
  lastname?: boolean | `@${string}`;
4173
4442
  email?: boolean | `@${string}`;
@@ -4269,8 +4538,18 @@ export type ResolverInputTypes = {
4269
4538
  nodes?: boolean | `@${string}`;
4270
4539
  __typename?: boolean | `@${string}`;
4271
4540
  }>;
4541
+ ["ApplicationsCollaborators"]: {
4542
+ email: string;
4543
+ rights: ResolverInputTypes["Rights"];
4544
+ };
4272
4545
  ["Query"]: AliasType<{
4273
4546
  appNotifications?: ResolverInputTypes["AppNotificationsResult"];
4547
+ applications?: [
4548
+ {
4549
+ sortBy: ResolverInputTypes["SortByDate"];
4550
+ },
4551
+ ResolverInputTypes["ApplicationsResult"]
4552
+ ];
4274
4553
  blog?: [
4275
4554
  {
4276
4555
  lang?: ResolverInputTypes["Lang"] | undefined | null;
@@ -4455,14 +4734,6 @@ export type ResolverInputTypes = {
4455
4734
  ResolverInputTypes["AddFileToHistoryResult"]
4456
4735
  ];
4457
4736
  cancelPayment?: ResolverInputTypes["CancelPaymentResult"];
4458
- createApplication?: [
4459
- {
4460
- name: string;
4461
- origin: string;
4462
- developerId: string;
4463
- },
4464
- ResolverInputTypes["CreateApplicationResult"]
4465
- ];
4466
4737
  createCryptoWallet?: [
4467
4738
  {
4468
4739
  address: string;
@@ -4837,6 +5108,81 @@ export type ResolverInputTypes = {
4837
5108
  },
4838
5109
  ResolverInputTypes["CreatePaymentIntentResult"]
4839
5110
  ];
5111
+ renewAppCode?: [
5112
+ {
5113
+ actualAppCode: string;
5114
+ },
5115
+ ResolverInputTypes["RenewAppCodeResult"]
5116
+ ];
5117
+ updateOriginUrl?: [
5118
+ {
5119
+ appCode: string;
5120
+ originUrl: Array<string>;
5121
+ },
5122
+ ResolverInputTypes["UpdateOriginUrlResult"]
5123
+ ];
5124
+ createApplication?: [
5125
+ {
5126
+ name: string;
5127
+ origin: string;
5128
+ color?: string | undefined | null;
5129
+ logo?: string | undefined | null;
5130
+ collaborators?: Array<ResolverInputTypes["ApplicationsCollaborators"]> | undefined | null;
5131
+ },
5132
+ ResolverInputTypes["CreateApplicationResult"]
5133
+ ];
5134
+ deleteApplication?: [
5135
+ {
5136
+ appCode: string;
5137
+ },
5138
+ ResolverInputTypes["DeleteApplicationResult"]
5139
+ ];
5140
+ editColors?: [
5141
+ {
5142
+ appCode: string;
5143
+ newColors?: string | undefined | null;
5144
+ },
5145
+ ResolverInputTypes["EditColorsResult"]
5146
+ ];
5147
+ editLogo?: [
5148
+ {
5149
+ appCode: string;
5150
+ newLogo?: string | undefined | null;
5151
+ },
5152
+ ResolverInputTypes["EditLogoResult"]
5153
+ ];
5154
+ editName?: [
5155
+ {
5156
+ appCode: string;
5157
+ newName: string;
5158
+ },
5159
+ ResolverInputTypes["EditNameResult"]
5160
+ ];
5161
+ addDeveloper?: [
5162
+ {
5163
+ appCode: string;
5164
+ userId: string;
5165
+ userRole: ResolverInputTypes["UserRole"];
5166
+ userRights: ResolverInputTypes["Rights"];
5167
+ },
5168
+ ResolverInputTypes["AddDeveloperResult"]
5169
+ ];
5170
+ deleteDeveloper?: [
5171
+ {
5172
+ appCode: string;
5173
+ userId: string;
5174
+ },
5175
+ ResolverInputTypes["DeleteDeveloperResult"]
5176
+ ];
5177
+ editDeveloper?: [
5178
+ {
5179
+ appCode: string;
5180
+ userId: string;
5181
+ userRole: ResolverInputTypes["UserRole"];
5182
+ userRights: ResolverInputTypes["Rights"];
5183
+ },
5184
+ ResolverInputTypes["EditDeveloperResult"]
5185
+ ];
4840
5186
  __typename?: boolean | `@${string}`;
4841
5187
  }>;
4842
5188
  ["Subscription"]: AliasType<{
@@ -4857,6 +5203,7 @@ export type ModelTypes = {
4857
5203
  ["NodeType"]: NodeType;
4858
5204
  ["PaymentMethod"]: PaymentMethod;
4859
5205
  ["AppNotificationsResult"]: ModelTypes["UserAppNotifications"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"];
5206
+ ["ApplicationsResult"]: ModelTypes["ApplicationsResponse"] | ModelTypes["ErrorAccessDenied"];
4860
5207
  ["BlogResult"]: ModelTypes["BlogResponse"] | ModelTypes["ErrorLangNotExist"];
4861
5208
  ["DbConfigResult"]: ModelTypes["DbConfigResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorNotFound"];
4862
5209
  ["DbGetResult"]: ModelTypes["DbGetResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorNotExist"];
@@ -4897,7 +5244,6 @@ export type ModelTypes = {
4897
5244
  ["IsValidPaymentIntentResult"]: ModelTypes["ValidPaymentIntentResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorStripe"];
4898
5245
  ["AddFileToHistoryResult"]: ModelTypes["AddFileToHistoryResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"];
4899
5246
  ["CancelPaymentResult"]: ModelTypes["CancelPaymentResponse"] | ModelTypes["ErrorAccessDenied"];
4900
- ["CreateApplicationResult"]: ModelTypes["CreateApplicationResponse"] | ModelTypes["ErrorNotExist"];
4901
5247
  ["CreateCryptoWalletResult"]: ModelTypes["CreateCryptoWalletResponse"] | ModelTypes["ErrorAccessDenied"];
4902
5248
  ["CreateDraftMailResult"]: ModelTypes["CreateDraftMailResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorBasic"];
4903
5249
  ["CreateFolderResult"]: ModelTypes["CreateFolderResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotExist"];
@@ -4951,6 +5297,16 @@ export type ModelTypes = {
4951
5297
  ["CancelPaymentIntentResult"]: ModelTypes["CancelPaymentIntentResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorStripe"] | ModelTypes["ErrorNotFound"];
4952
5298
  ["ConfirmPaymentIntentResult"]: ModelTypes["ConfirmPaymentIntentResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorStripe"] | ModelTypes["ErrorNotFound"];
4953
5299
  ["CreatePaymentIntentResult"]: ModelTypes["CreatePaymentIntentResponse"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorStripe"] | ModelTypes["ErrorNotFound"];
5300
+ ["RenewAppCodeResult"]: ModelTypes["RenewAppCodeResponse"] | ModelTypes["ErrorAccessDenied"];
5301
+ ["UpdateOriginUrlResult"]: ModelTypes["UpdateOriginUrlResponse"] | ModelTypes["ErrorAccessDenied"];
5302
+ ["CreateApplicationResult"]: ModelTypes["CreateApplicationResponse"] | ModelTypes["ErrorAccessDenied"];
5303
+ ["DeleteApplicationResult"]: ModelTypes["EditProjectResponse"] | ModelTypes["ErrorAccessDenied"];
5304
+ ["EditColorsResult"]: ModelTypes["EditProjectResponse"] | ModelTypes["ErrorAccessDenied"];
5305
+ ["EditLogoResult"]: ModelTypes["EditProjectResponse"] | ModelTypes["ErrorAccessDenied"];
5306
+ ["EditNameResult"]: ModelTypes["EditProjectResponse"] | ModelTypes["ErrorAccessDenied"];
5307
+ ["AddDeveloperResult"]: ModelTypes["EditDeveloperResponse"] | ModelTypes["ErrorAccessDenied"];
5308
+ ["DeleteDeveloperResult"]: ModelTypes["EditDeveloperResponse"] | ModelTypes["ErrorAccessDenied"];
5309
+ ["EditDeveloperResult"]: ModelTypes["EditDeveloperResponse"] | ModelTypes["ErrorAccessDenied"];
4954
5310
  ["AppKeyPair"]: {
4955
5311
  pub: string;
4956
5312
  };
@@ -4969,7 +5325,14 @@ export type ModelTypes = {
4969
5325
  id: string;
4970
5326
  name: string;
4971
5327
  logo?: string | undefined;
4972
- origin: string;
5328
+ color?: string | undefined;
5329
+ origin: Array<string>;
5330
+ owner: ModelTypes["Developer"];
5331
+ ownerId: string;
5332
+ developers: Array<ModelTypes["DevelopersOnApplications"]>;
5333
+ users: Array<ModelTypes["ApplicationsOnUsers"]>;
5334
+ createdAt: ModelTypes["DateTime"];
5335
+ updatedAt: ModelTypes["DateTime"];
4973
5336
  };
4974
5337
  ["ApplicationsOnUsers"]: {
4975
5338
  fakeUserId: string;
@@ -5023,6 +5386,22 @@ export type ModelTypes = {
5023
5386
  address: string;
5024
5387
  privateKeyEncrypted: string;
5025
5388
  };
5389
+ ["Developer"]: {
5390
+ id: string;
5391
+ applications: Array<ModelTypes["Application"]>;
5392
+ developersOnApplications: Array<ModelTypes["DevelopersOnApplications"]>;
5393
+ };
5394
+ ["DevelopersOnApplications"]: {
5395
+ developer: ModelTypes["Developer"];
5396
+ developerId: string;
5397
+ app: ModelTypes["Application"];
5398
+ appId: string;
5399
+ createdAt: ModelTypes["DateTime"];
5400
+ updatedAt: ModelTypes["DateTime"];
5401
+ role: ModelTypes["UserRole"];
5402
+ rights: ModelTypes["Rights"];
5403
+ };
5404
+ ["SortByDate"]: SortByDate;
5026
5405
  ["Error"]: ModelTypes["ErrorStripe"] | ModelTypes["ErrorAccessDenied"] | ModelTypes["ErrorNotFound"] | ModelTypes["ErrorUpgradePlan"] | ModelTypes["ErrorLangNotExist"] | ModelTypes["ErrorNotExist"] | ModelTypes["ErrorLimit"] | ModelTypes["ErrorBasic"];
5027
5406
  ["ErrorAccessDenied"]: {
5028
5407
  message: string;
@@ -5382,7 +5761,7 @@ export type ModelTypes = {
5382
5761
  changeUserPlan?: ModelTypes["User"] | undefined;
5383
5762
  };
5384
5763
  ["CreateApplicationResponse"]: {
5385
- createApplication?: string | undefined;
5764
+ createApplication: string;
5386
5765
  };
5387
5766
  ["CreateCryptoWalletResponse"]: {
5388
5767
  createCryptoWallet: ModelTypes["CryptoWallet"];
@@ -5544,6 +5923,21 @@ export type ModelTypes = {
5544
5923
  ["CreatePaymentIntentResponse"]: {
5545
5924
  created?: boolean | undefined;
5546
5925
  };
5926
+ ["RenewAppCodeResponse"]: {
5927
+ renew: boolean;
5928
+ };
5929
+ ["UpdateOriginUrlResponse"]: {
5930
+ update: boolean;
5931
+ };
5932
+ ["EditDeveloperResponse"]: {
5933
+ edited: boolean;
5934
+ };
5935
+ ["EditProjectResponse"]: {
5936
+ edited: boolean;
5937
+ };
5938
+ ["ApplicationsResponse"]: {
5939
+ applications: Array<ModelTypes["Application"] | undefined>;
5940
+ };
5547
5941
  ["BlogResponse"]: {
5548
5942
  blogItems: Array<ModelTypes["BlogItem"]>;
5549
5943
  };
@@ -5790,12 +6184,12 @@ export type ModelTypes = {
5790
6184
  id: string;
5791
6185
  deletedAt?: ModelTypes["DateTime"] | undefined;
5792
6186
  lang: ModelTypes["Lang"];
6187
+ infosId: string;
5793
6188
  cryptoWallets: Array<ModelTypes["CryptoWallet"]>;
5794
6189
  reportSent: Array<ModelTypes["Report"]>;
5795
6190
  godFather?: ModelTypes["User"] | undefined;
5796
6191
  godChildren: Array<ModelTypes["User"]>;
5797
6192
  infos: ModelTypes["UserInfos"];
5798
- infosId: string;
5799
6193
  firstname: string;
5800
6194
  lastname: string;
5801
6195
  email: string;
@@ -5887,8 +6281,13 @@ export type ModelTypes = {
5887
6281
  ["ShareNodeResponse"]: {
5888
6282
  nodes: Array<string>;
5889
6283
  };
6284
+ ["ApplicationsCollaborators"]: {
6285
+ email: string;
6286
+ rights: ModelTypes["Rights"];
6287
+ };
5890
6288
  ["Query"]: {
5891
6289
  appNotifications?: ModelTypes["AppNotificationsResult"] | undefined;
6290
+ applications?: ModelTypes["ApplicationsResult"] | undefined;
5892
6291
  blog?: ModelTypes["BlogResult"] | undefined;
5893
6292
  dbConfig?: ModelTypes["DbConfigResult"] | undefined;
5894
6293
  dbGet?: ModelTypes["DbGetResult"] | undefined;
@@ -5933,7 +6332,6 @@ export type ModelTypes = {
5933
6332
  ["Mutation"]: {
5934
6333
  addFileToHistory?: ModelTypes["AddFileToHistoryResult"] | undefined;
5935
6334
  cancelPayment?: ModelTypes["CancelPaymentResult"] | undefined;
5936
- createApplication?: ModelTypes["CreateApplicationResult"] | undefined;
5937
6335
  createCryptoWallet?: ModelTypes["CreateCryptoWalletResult"] | undefined;
5938
6336
  createDraftMail?: ModelTypes["CreateDraftMailResult"] | undefined;
5939
6337
  createFolder?: ModelTypes["CreateFolderResult"] | undefined;
@@ -5989,6 +6387,16 @@ export type ModelTypes = {
5989
6387
  cancelPaymentIntent?: ModelTypes["CancelPaymentIntentResult"] | undefined;
5990
6388
  confirmPaymentIntent?: ModelTypes["ConfirmPaymentIntentResult"] | undefined;
5991
6389
  createPaymentIntent?: ModelTypes["CreatePaymentIntentResult"] | undefined;
6390
+ renewAppCode?: ModelTypes["RenewAppCodeResult"] | undefined;
6391
+ updateOriginUrl?: ModelTypes["UpdateOriginUrlResult"] | undefined;
6392
+ createApplication?: ModelTypes["CreateApplicationResult"] | undefined;
6393
+ deleteApplication?: ModelTypes["DeleteApplicationResult"] | undefined;
6394
+ editColors?: ModelTypes["EditColorsResult"] | undefined;
6395
+ editLogo?: ModelTypes["EditLogoResult"] | undefined;
6396
+ editName?: ModelTypes["EditNameResult"] | undefined;
6397
+ addDeveloper?: ModelTypes["AddDeveloperResult"] | undefined;
6398
+ deleteDeveloper?: ModelTypes["DeleteDeveloperResult"] | undefined;
6399
+ editDeveloper?: ModelTypes["EditDeveloperResult"] | undefined;
5992
6400
  };
5993
6401
  ["Subscription"]: {
5994
6402
  test: boolean;
@@ -6020,6 +6428,11 @@ export type GraphQLTypes = {
6020
6428
  ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
6021
6429
  ["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
6022
6430
  };
6431
+ ["ApplicationsResult"]: {
6432
+ __typename: "ApplicationsResponse" | "ErrorAccessDenied";
6433
+ ["...on ApplicationsResponse"]: "__union" & GraphQLTypes["ApplicationsResponse"];
6434
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
6435
+ };
6023
6436
  ["BlogResult"]: {
6024
6437
  __typename: "BlogResponse" | "ErrorLangNotExist";
6025
6438
  ["...on BlogResponse"]: "__union" & GraphQLTypes["BlogResponse"];
@@ -6256,11 +6669,6 @@ export type GraphQLTypes = {
6256
6669
  ["...on CancelPaymentResponse"]: "__union" & GraphQLTypes["CancelPaymentResponse"];
6257
6670
  ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
6258
6671
  };
6259
- ["CreateApplicationResult"]: {
6260
- __typename: "CreateApplicationResponse" | "ErrorNotExist";
6261
- ["...on CreateApplicationResponse"]: "__union" & GraphQLTypes["CreateApplicationResponse"];
6262
- ["...on ErrorNotExist"]: "__union" & GraphQLTypes["ErrorNotExist"];
6263
- };
6264
6672
  ["CreateCryptoWalletResult"]: {
6265
6673
  __typename: "CreateCryptoWalletResponse" | "ErrorAccessDenied";
6266
6674
  ["...on CreateCryptoWalletResponse"]: "__union" & GraphQLTypes["CreateCryptoWalletResponse"];
@@ -6581,6 +6989,56 @@ export type GraphQLTypes = {
6581
6989
  ["...on ErrorStripe"]: "__union" & GraphQLTypes["ErrorStripe"];
6582
6990
  ["...on ErrorNotFound"]: "__union" & GraphQLTypes["ErrorNotFound"];
6583
6991
  };
6992
+ ["RenewAppCodeResult"]: {
6993
+ __typename: "RenewAppCodeResponse" | "ErrorAccessDenied";
6994
+ ["...on RenewAppCodeResponse"]: "__union" & GraphQLTypes["RenewAppCodeResponse"];
6995
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
6996
+ };
6997
+ ["UpdateOriginUrlResult"]: {
6998
+ __typename: "UpdateOriginUrlResponse" | "ErrorAccessDenied";
6999
+ ["...on UpdateOriginUrlResponse"]: "__union" & GraphQLTypes["UpdateOriginUrlResponse"];
7000
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
7001
+ };
7002
+ ["CreateApplicationResult"]: {
7003
+ __typename: "CreateApplicationResponse" | "ErrorAccessDenied";
7004
+ ["...on CreateApplicationResponse"]: "__union" & GraphQLTypes["CreateApplicationResponse"];
7005
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
7006
+ };
7007
+ ["DeleteApplicationResult"]: {
7008
+ __typename: "EditProjectResponse" | "ErrorAccessDenied";
7009
+ ["...on EditProjectResponse"]: "__union" & GraphQLTypes["EditProjectResponse"];
7010
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
7011
+ };
7012
+ ["EditColorsResult"]: {
7013
+ __typename: "EditProjectResponse" | "ErrorAccessDenied";
7014
+ ["...on EditProjectResponse"]: "__union" & GraphQLTypes["EditProjectResponse"];
7015
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
7016
+ };
7017
+ ["EditLogoResult"]: {
7018
+ __typename: "EditProjectResponse" | "ErrorAccessDenied";
7019
+ ["...on EditProjectResponse"]: "__union" & GraphQLTypes["EditProjectResponse"];
7020
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
7021
+ };
7022
+ ["EditNameResult"]: {
7023
+ __typename: "EditProjectResponse" | "ErrorAccessDenied";
7024
+ ["...on EditProjectResponse"]: "__union" & GraphQLTypes["EditProjectResponse"];
7025
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
7026
+ };
7027
+ ["AddDeveloperResult"]: {
7028
+ __typename: "EditDeveloperResponse" | "ErrorAccessDenied";
7029
+ ["...on EditDeveloperResponse"]: "__union" & GraphQLTypes["EditDeveloperResponse"];
7030
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
7031
+ };
7032
+ ["DeleteDeveloperResult"]: {
7033
+ __typename: "EditDeveloperResponse" | "ErrorAccessDenied";
7034
+ ["...on EditDeveloperResponse"]: "__union" & GraphQLTypes["EditDeveloperResponse"];
7035
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
7036
+ };
7037
+ ["EditDeveloperResult"]: {
7038
+ __typename: "EditDeveloperResponse" | "ErrorAccessDenied";
7039
+ ["...on EditDeveloperResponse"]: "__union" & GraphQLTypes["EditDeveloperResponse"];
7040
+ ["...on ErrorAccessDenied"]: "__union" & GraphQLTypes["ErrorAccessDenied"];
7041
+ };
6584
7042
  ["AppKeyPair"]: {
6585
7043
  __typename: "AppKeyPair";
6586
7044
  pub: string;
@@ -6602,7 +7060,14 @@ export type GraphQLTypes = {
6602
7060
  id: string;
6603
7061
  name: string;
6604
7062
  logo?: string | undefined;
6605
- origin: string;
7063
+ color?: string | undefined;
7064
+ origin: Array<string>;
7065
+ owner: GraphQLTypes["Developer"];
7066
+ ownerId: string;
7067
+ developers: Array<GraphQLTypes["DevelopersOnApplications"]>;
7068
+ users: Array<GraphQLTypes["ApplicationsOnUsers"]>;
7069
+ createdAt: GraphQLTypes["DateTime"];
7070
+ updatedAt: GraphQLTypes["DateTime"];
6606
7071
  };
6607
7072
  ["ApplicationsOnUsers"]: {
6608
7073
  __typename: "ApplicationsOnUsers";
@@ -6662,6 +7127,24 @@ export type GraphQLTypes = {
6662
7127
  address: string;
6663
7128
  privateKeyEncrypted: string;
6664
7129
  };
7130
+ ["Developer"]: {
7131
+ __typename: "Developer";
7132
+ id: string;
7133
+ applications: Array<GraphQLTypes["Application"]>;
7134
+ developersOnApplications: Array<GraphQLTypes["DevelopersOnApplications"]>;
7135
+ };
7136
+ ["DevelopersOnApplications"]: {
7137
+ __typename: "DevelopersOnApplications";
7138
+ developer: GraphQLTypes["Developer"];
7139
+ developerId: string;
7140
+ app: GraphQLTypes["Application"];
7141
+ appId: string;
7142
+ createdAt: GraphQLTypes["DateTime"];
7143
+ updatedAt: GraphQLTypes["DateTime"];
7144
+ role: GraphQLTypes["UserRole"];
7145
+ rights: GraphQLTypes["Rights"];
7146
+ };
7147
+ ["SortByDate"]: SortByDate;
6665
7148
  ["Error"]: {
6666
7149
  __typename: "ErrorStripe" | "ErrorAccessDenied" | "ErrorNotFound" | "ErrorUpgradePlan" | "ErrorLangNotExist" | "ErrorNotExist" | "ErrorLimit" | "ErrorBasic";
6667
7150
  ["...on ErrorStripe"]: "__union" & GraphQLTypes["ErrorStripe"];
@@ -7104,7 +7587,7 @@ export type GraphQLTypes = {
7104
7587
  };
7105
7588
  ["CreateApplicationResponse"]: {
7106
7589
  __typename: "CreateApplicationResponse";
7107
- createApplication?: string | undefined;
7590
+ createApplication: string;
7108
7591
  };
7109
7592
  ["CreateCryptoWalletResponse"]: {
7110
7593
  __typename: "CreateCryptoWalletResponse";
@@ -7319,6 +7802,26 @@ export type GraphQLTypes = {
7319
7802
  __typename: "CreatePaymentIntentResponse";
7320
7803
  created?: boolean | undefined;
7321
7804
  };
7805
+ ["RenewAppCodeResponse"]: {
7806
+ __typename: "RenewAppCodeResponse";
7807
+ renew: boolean;
7808
+ };
7809
+ ["UpdateOriginUrlResponse"]: {
7810
+ __typename: "UpdateOriginUrlResponse";
7811
+ update: boolean;
7812
+ };
7813
+ ["EditDeveloperResponse"]: {
7814
+ __typename: "EditDeveloperResponse";
7815
+ edited: boolean;
7816
+ };
7817
+ ["EditProjectResponse"]: {
7818
+ __typename: "EditProjectResponse";
7819
+ edited: boolean;
7820
+ };
7821
+ ["ApplicationsResponse"]: {
7822
+ __typename: "ApplicationsResponse";
7823
+ applications: Array<GraphQLTypes["Application"] | undefined>;
7824
+ };
7322
7825
  ["BlogResponse"]: {
7323
7826
  __typename: "BlogResponse";
7324
7827
  blogItems: Array<GraphQLTypes["BlogItem"]>;
@@ -7614,12 +8117,12 @@ export type GraphQLTypes = {
7614
8117
  id: string;
7615
8118
  deletedAt?: GraphQLTypes["DateTime"] | undefined;
7616
8119
  lang: GraphQLTypes["Lang"];
8120
+ infosId: string;
7617
8121
  cryptoWallets: Array<GraphQLTypes["CryptoWallet"]>;
7618
8122
  reportSent: Array<GraphQLTypes["Report"]>;
7619
8123
  godFather?: GraphQLTypes["User"] | undefined;
7620
8124
  godChildren: Array<GraphQLTypes["User"]>;
7621
8125
  infos: GraphQLTypes["UserInfos"];
7622
- infosId: string;
7623
8126
  firstname: string;
7624
8127
  lastname: string;
7625
8128
  email: string;
@@ -7720,9 +8223,14 @@ export type GraphQLTypes = {
7720
8223
  __typename: "ShareNodeResponse";
7721
8224
  nodes: Array<string>;
7722
8225
  };
8226
+ ["ApplicationsCollaborators"]: {
8227
+ email: string;
8228
+ rights: GraphQLTypes["Rights"];
8229
+ };
7723
8230
  ["Query"]: {
7724
8231
  __typename: "Query";
7725
8232
  appNotifications?: GraphQLTypes["AppNotificationsResult"] | undefined;
8233
+ applications?: GraphQLTypes["ApplicationsResult"] | undefined;
7726
8234
  blog?: GraphQLTypes["BlogResult"] | undefined;
7727
8235
  dbConfig?: GraphQLTypes["DbConfigResult"] | undefined;
7728
8236
  dbGet?: GraphQLTypes["DbGetResult"] | undefined;
@@ -7768,7 +8276,6 @@ export type GraphQLTypes = {
7768
8276
  __typename: "Mutation";
7769
8277
  addFileToHistory?: GraphQLTypes["AddFileToHistoryResult"] | undefined;
7770
8278
  cancelPayment?: GraphQLTypes["CancelPaymentResult"] | undefined;
7771
- createApplication?: GraphQLTypes["CreateApplicationResult"] | undefined;
7772
8279
  createCryptoWallet?: GraphQLTypes["CreateCryptoWalletResult"] | undefined;
7773
8280
  createDraftMail?: GraphQLTypes["CreateDraftMailResult"] | undefined;
7774
8281
  createFolder?: GraphQLTypes["CreateFolderResult"] | undefined;
@@ -7824,6 +8331,16 @@ export type GraphQLTypes = {
7824
8331
  cancelPaymentIntent?: GraphQLTypes["CancelPaymentIntentResult"] | undefined;
7825
8332
  confirmPaymentIntent?: GraphQLTypes["ConfirmPaymentIntentResult"] | undefined;
7826
8333
  createPaymentIntent?: GraphQLTypes["CreatePaymentIntentResult"] | undefined;
8334
+ renewAppCode?: GraphQLTypes["RenewAppCodeResult"] | undefined;
8335
+ updateOriginUrl?: GraphQLTypes["UpdateOriginUrlResult"] | undefined;
8336
+ createApplication?: GraphQLTypes["CreateApplicationResult"] | undefined;
8337
+ deleteApplication?: GraphQLTypes["DeleteApplicationResult"] | undefined;
8338
+ editColors?: GraphQLTypes["EditColorsResult"] | undefined;
8339
+ editLogo?: GraphQLTypes["EditLogoResult"] | undefined;
8340
+ editName?: GraphQLTypes["EditNameResult"] | undefined;
8341
+ addDeveloper?: GraphQLTypes["AddDeveloperResult"] | undefined;
8342
+ deleteDeveloper?: GraphQLTypes["DeleteDeveloperResult"] | undefined;
8343
+ editDeveloper?: GraphQLTypes["EditDeveloperResult"] | undefined;
7827
8344
  };
7828
8345
  ["Subscription"]: {
7829
8346
  __typename: "Subscription";
@@ -7861,6 +8378,14 @@ export declare enum PaymentMethod {
7861
8378
  card = "card",
7862
8379
  wire_transfer = "wire_transfer"
7863
8380
  }
8381
+ export declare enum SortByDate {
8382
+ createdAt = "createdAt",
8383
+ createdAt_asc = "createdAt_asc",
8384
+ createdAt_desc = "createdAt_desc",
8385
+ updatedAt = "updatedAt",
8386
+ updatedAt_asc = "updatedAt_asc",
8387
+ updatedAt_desc = "updatedAt_desc"
8388
+ }
7864
8389
  export declare enum FileContentType {
7865
8390
  cloud = "cloud",
7866
8391
  lite = "lite",
@@ -7922,6 +8447,7 @@ type ZEUS_VARIABLES = {
7922
8447
  ["Rights"]: ValueTypes["Rights"];
7923
8448
  ["NodeType"]: ValueTypes["NodeType"];
7924
8449
  ["PaymentMethod"]: ValueTypes["PaymentMethod"];
8450
+ ["SortByDate"]: ValueTypes["SortByDate"];
7925
8451
  ["FileContentType"]: ValueTypes["FileContentType"];
7926
8452
  ["InfuraNetwork"]: ValueTypes["InfuraNetwork"];
7927
8453
  ["MailFileInput"]: ValueTypes["MailFileInput"];
@@ -7937,5 +8463,6 @@ type ZEUS_VARIABLES = {
7937
8463
  ["ConfirmationMethod"]: ValueTypes["ConfirmationMethod"];
7938
8464
  ["Status"]: ValueTypes["Status"];
7939
8465
  ["PayoutType"]: ValueTypes["PayoutType"];
8466
+ ["ApplicationsCollaborators"]: ValueTypes["ApplicationsCollaborators"];
7940
8467
  };
7941
8468
  export {};