@secrecy/lib 1.0.0-dev.7 → 1.0.0-dev.8

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.
@@ -593,6 +593,7 @@ export declare type ValueTypes = {
593
593
  deletedMails?: [{
594
594
  mailType: ValueTypes["MailType"];
595
595
  }, ValueTypes["Mail"]];
596
+ appNotifications?: ValueTypes["UserAppNotifications"];
596
597
  __typename?: true;
597
598
  }>;
598
599
  ["Mutation"]: AliasType<{
@@ -1268,6 +1269,7 @@ export declare type ModelTypes = {
1268
1269
  deletedVFiles: ModelTypes["VFile"][];
1269
1270
  mail?: ModelTypes["Mail"];
1270
1271
  deletedMails: ModelTypes["Mail"][];
1272
+ appNotifications?: ModelTypes["UserAppNotifications"];
1271
1273
  };
1272
1274
  ["Mutation"]: {
1273
1275
  createApplication?: string;
@@ -1883,6 +1885,7 @@ export declare type GraphQLTypes = {
1883
1885
  deletedVFiles: Array<GraphQLTypes["VFile"]>;
1884
1886
  mail?: GraphQLTypes["Mail"];
1885
1887
  deletedMails: Array<GraphQLTypes["Mail"]>;
1888
+ appNotifications?: GraphQLTypes["UserAppNotifications"];
1886
1889
  };
1887
1890
  ["Mutation"]: {
1888
1891
  __typename: "Mutation";
@@ -1936,7 +1939,7 @@ export declare type GraphQLTypes = {
1936
1939
  updateAppNotifications?: GraphQLTypes["UserAppNotifications"];
1937
1940
  };
1938
1941
  };
1939
- export declare enum Lang {
1942
+ export declare const enum Lang {
1940
1943
  fr = "fr",
1941
1944
  en = "en",
1942
1945
  it = "it",
@@ -1953,31 +1956,31 @@ export declare enum Lang {
1953
1956
  hi = "hi",
1954
1957
  ko = "ko"
1955
1958
  }
1956
- export declare enum PlanKind {
1959
+ export declare const enum PlanKind {
1957
1960
  free = "free",
1958
1961
  basic = "basic",
1959
1962
  advanced = "advanced",
1960
1963
  pro = "pro"
1961
1964
  }
1962
- export declare enum UserRole {
1965
+ export declare const enum UserRole {
1963
1966
  user = "user",
1964
1967
  admin = "admin"
1965
1968
  }
1966
- export declare enum MailType {
1969
+ export declare const enum MailType {
1967
1970
  sent = "sent",
1968
1971
  received = "received"
1969
1972
  }
1970
- export declare enum Rights {
1973
+ export declare const enum Rights {
1971
1974
  admin = "admin",
1972
1975
  write = "write",
1973
1976
  read = "read"
1974
1977
  }
1975
- export declare enum FileContentType {
1978
+ export declare const enum FileContentType {
1976
1979
  cloud = "cloud",
1977
1980
  sent_mail = "sent_mail",
1978
1981
  received_mail = "received_mail"
1979
1982
  }
1980
- export declare enum PayInputType {
1983
+ export declare const enum PayInputType {
1981
1984
  secure = "secure",
1982
1985
  classic = "classic"
1983
1986
  }
@@ -5291,6 +5294,14 @@ export declare const Thunder: (fn: FetchFunction) => {
5291
5294
  recipients?: AliasType<any> | undefined;
5292
5295
  __typename?: true | undefined;
5293
5296
  }>] | undefined;
5297
+ appNotifications?: AliasType<{
5298
+ id?: true | undefined;
5299
+ enableAll?: true | undefined;
5300
+ mail?: true | undefined;
5301
+ cloud?: true | undefined;
5302
+ disableAllUntil?: true | undefined;
5303
+ __typename?: true | undefined;
5304
+ }> | undefined;
5294
5305
  __typename?: true | undefined;
5295
5306
  }>, {
5296
5307
  __typename: "Query";
@@ -5500,6 +5511,14 @@ export declare const Thunder: (fn: FetchFunction) => {
5500
5511
  recipients: Array<GraphQLTypes["User"]>;
5501
5512
  } | undefined;
5502
5513
  deletedMails: Array<GraphQLTypes["Mail"]>;
5514
+ appNotifications?: {
5515
+ __typename: "UserAppNotifications";
5516
+ id: string;
5517
+ enableAll: boolean;
5518
+ mail: boolean;
5519
+ cloud: boolean;
5520
+ disableAllUntil?: GraphQLTypes["DateTime"];
5521
+ } | undefined;
5503
5522
  }>;
5504
5523
  mutation: OperationToGraphQL<AliasType<{
5505
5524
  createApplication?: [{
@@ -11448,6 +11467,14 @@ export declare const Chain: (...options: chainOptions) => {
11448
11467
  recipients?: AliasType<any> | undefined;
11449
11468
  __typename?: true | undefined;
11450
11469
  }>] | undefined;
11470
+ appNotifications?: AliasType<{
11471
+ id?: true | undefined;
11472
+ enableAll?: true | undefined;
11473
+ mail?: true | undefined;
11474
+ cloud?: true | undefined;
11475
+ disableAllUntil?: true | undefined;
11476
+ __typename?: true | undefined;
11477
+ }> | undefined;
11451
11478
  __typename?: true | undefined;
11452
11479
  }>, {
11453
11480
  __typename: "Query";
@@ -11657,6 +11684,14 @@ export declare const Chain: (...options: chainOptions) => {
11657
11684
  recipients: Array<GraphQLTypes["User"]>;
11658
11685
  } | undefined;
11659
11686
  deletedMails: Array<GraphQLTypes["Mail"]>;
11687
+ appNotifications?: {
11688
+ __typename: "UserAppNotifications";
11689
+ id: string;
11690
+ enableAll: boolean;
11691
+ mail: boolean;
11692
+ cloud: boolean;
11693
+ disableAllUntil?: GraphQLTypes["DateTime"];
11694
+ } | undefined;
11660
11695
  }>;
11661
11696
  mutation: OperationToGraphQL<AliasType<{
11662
11697
  createApplication?: [{
@@ -17609,6 +17644,14 @@ export declare const Selectors: {
17609
17644
  recipients?: AliasType<any> | undefined;
17610
17645
  __typename?: true | undefined;
17611
17646
  }>] | undefined;
17647
+ appNotifications?: AliasType<{
17648
+ id?: true | undefined;
17649
+ enableAll?: true | undefined;
17650
+ mail?: true | undefined;
17651
+ cloud?: true | undefined;
17652
+ disableAllUntil?: true | undefined;
17653
+ __typename?: true | undefined;
17654
+ }> | undefined;
17612
17655
  __typename?: true | undefined;
17613
17656
  }>>;
17614
17657
  mutation: SelectionFunction<AliasType<{
@@ -23272,6 +23315,14 @@ export declare const Gql: {
23272
23315
  recipients?: AliasType<any> | undefined;
23273
23316
  __typename?: true | undefined;
23274
23317
  }>] | undefined;
23318
+ appNotifications?: AliasType<{
23319
+ id?: true | undefined;
23320
+ enableAll?: true | undefined;
23321
+ mail?: true | undefined;
23322
+ cloud?: true | undefined;
23323
+ disableAllUntil?: true | undefined;
23324
+ __typename?: true | undefined;
23325
+ }> | undefined;
23275
23326
  __typename?: true | undefined;
23276
23327
  }>, {
23277
23328
  __typename: "Query";
@@ -23481,6 +23532,14 @@ export declare const Gql: {
23481
23532
  recipients: Array<GraphQLTypes["User"]>;
23482
23533
  } | undefined;
23483
23534
  deletedMails: Array<GraphQLTypes["Mail"]>;
23535
+ appNotifications?: {
23536
+ __typename: "UserAppNotifications";
23537
+ id: string;
23538
+ enableAll: boolean;
23539
+ mail: boolean;
23540
+ cloud: boolean;
23541
+ disableAllUntil?: GraphQLTypes["DateTime"];
23542
+ } | undefined;
23484
23543
  }>;
23485
23544
  mutation: OperationToGraphQL<AliasType<{
23486
23545
  createApplication?: [{