@secrecy/lib 1.0.0-dev.4 → 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.
- package/lib/client/index.d.ts +9 -8
- package/lib/client/index.js +551 -455
- package/lib/client/types/UserAppNotifications.d.ts +6 -0
- package/lib/client/types/UserAppNotifications.js +2 -0
- package/lib/client/types/index.d.ts +1 -0
- package/lib/client/types/index.js +2 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/worker/sodium.d.ts +2 -2
- package/lib/worker/sodium.js +19 -5
- package/lib/zeus/const.js +38 -3
- package/lib/zeus/index.d.ts +178 -8
- package/lib/zeus/index.js +6 -2
- package/package.json +7 -7
package/lib/zeus/index.d.ts
CHANGED
|
@@ -489,6 +489,14 @@ export declare type ValueTypes = {
|
|
|
489
489
|
date?: true;
|
|
490
490
|
__typename?: true;
|
|
491
491
|
}>;
|
|
492
|
+
["UserAppNotifications"]: AliasType<{
|
|
493
|
+
id?: true;
|
|
494
|
+
enableAll?: true;
|
|
495
|
+
mail?: true;
|
|
496
|
+
cloud?: true;
|
|
497
|
+
disableAllUntil?: true;
|
|
498
|
+
__typename?: true;
|
|
499
|
+
}>;
|
|
492
500
|
["RecurlyInvoices"]: AliasType<{
|
|
493
501
|
pdf?: true;
|
|
494
502
|
date?: true;
|
|
@@ -585,6 +593,7 @@ export declare type ValueTypes = {
|
|
|
585
593
|
deletedMails?: [{
|
|
586
594
|
mailType: ValueTypes["MailType"];
|
|
587
595
|
}, ValueTypes["Mail"]];
|
|
596
|
+
appNotifications?: ValueTypes["UserAppNotifications"];
|
|
588
597
|
__typename?: true;
|
|
589
598
|
}>;
|
|
590
599
|
["Mutation"]: AliasType<{
|
|
@@ -792,6 +801,12 @@ export declare type ValueTypes = {
|
|
|
792
801
|
md5: string;
|
|
793
802
|
order: number;
|
|
794
803
|
}, true];
|
|
804
|
+
updateAppNotifications?: [{
|
|
805
|
+
enableAll?: boolean | null;
|
|
806
|
+
mail?: boolean | null;
|
|
807
|
+
cloud?: boolean | null;
|
|
808
|
+
disableAllUntil?: ValueTypes["DateTime"] | null;
|
|
809
|
+
}, ValueTypes["UserAppNotifications"]];
|
|
795
810
|
__typename?: true;
|
|
796
811
|
}>;
|
|
797
812
|
};
|
|
@@ -1186,6 +1201,13 @@ export declare type ModelTypes = {
|
|
|
1186
1201
|
summary: string;
|
|
1187
1202
|
date: ModelTypes["DateTime"];
|
|
1188
1203
|
};
|
|
1204
|
+
["UserAppNotifications"]: {
|
|
1205
|
+
id: string;
|
|
1206
|
+
enableAll: boolean;
|
|
1207
|
+
mail: boolean;
|
|
1208
|
+
cloud: boolean;
|
|
1209
|
+
disableAllUntil?: ModelTypes["DateTime"];
|
|
1210
|
+
};
|
|
1189
1211
|
["RecurlyInvoices"]: {
|
|
1190
1212
|
pdf: string;
|
|
1191
1213
|
date: ModelTypes["DateTime"];
|
|
@@ -1247,6 +1269,7 @@ export declare type ModelTypes = {
|
|
|
1247
1269
|
deletedVFiles: ModelTypes["VFile"][];
|
|
1248
1270
|
mail?: ModelTypes["Mail"];
|
|
1249
1271
|
deletedMails: ModelTypes["Mail"][];
|
|
1272
|
+
appNotifications?: ModelTypes["UserAppNotifications"];
|
|
1250
1273
|
};
|
|
1251
1274
|
["Mutation"]: {
|
|
1252
1275
|
createApplication?: string;
|
|
@@ -1296,6 +1319,7 @@ export declare type ModelTypes = {
|
|
|
1296
1319
|
emptyCloudTrash?: boolean;
|
|
1297
1320
|
emptyMailTrash?: boolean;
|
|
1298
1321
|
uploadFilePartEnd: boolean;
|
|
1322
|
+
updateAppNotifications?: ModelTypes["UserAppNotifications"];
|
|
1299
1323
|
};
|
|
1300
1324
|
};
|
|
1301
1325
|
export declare type GraphQLTypes = {
|
|
@@ -1787,6 +1811,14 @@ export declare type GraphQLTypes = {
|
|
|
1787
1811
|
summary: string;
|
|
1788
1812
|
date: GraphQLTypes["DateTime"];
|
|
1789
1813
|
};
|
|
1814
|
+
["UserAppNotifications"]: {
|
|
1815
|
+
__typename: "UserAppNotifications";
|
|
1816
|
+
id: string;
|
|
1817
|
+
enableAll: boolean;
|
|
1818
|
+
mail: boolean;
|
|
1819
|
+
cloud: boolean;
|
|
1820
|
+
disableAllUntil?: GraphQLTypes["DateTime"];
|
|
1821
|
+
};
|
|
1790
1822
|
["RecurlyInvoices"]: {
|
|
1791
1823
|
__typename: "RecurlyInvoices";
|
|
1792
1824
|
pdf: string;
|
|
@@ -1853,6 +1885,7 @@ export declare type GraphQLTypes = {
|
|
|
1853
1885
|
deletedVFiles: Array<GraphQLTypes["VFile"]>;
|
|
1854
1886
|
mail?: GraphQLTypes["Mail"];
|
|
1855
1887
|
deletedMails: Array<GraphQLTypes["Mail"]>;
|
|
1888
|
+
appNotifications?: GraphQLTypes["UserAppNotifications"];
|
|
1856
1889
|
};
|
|
1857
1890
|
["Mutation"]: {
|
|
1858
1891
|
__typename: "Mutation";
|
|
@@ -1903,9 +1936,10 @@ export declare type GraphQLTypes = {
|
|
|
1903
1936
|
emptyCloudTrash?: boolean;
|
|
1904
1937
|
emptyMailTrash?: boolean;
|
|
1905
1938
|
uploadFilePartEnd: boolean;
|
|
1939
|
+
updateAppNotifications?: GraphQLTypes["UserAppNotifications"];
|
|
1906
1940
|
};
|
|
1907
1941
|
};
|
|
1908
|
-
export declare enum Lang {
|
|
1942
|
+
export declare const enum Lang {
|
|
1909
1943
|
fr = "fr",
|
|
1910
1944
|
en = "en",
|
|
1911
1945
|
it = "it",
|
|
@@ -1916,33 +1950,37 @@ export declare enum Lang {
|
|
|
1916
1950
|
nl = "nl",
|
|
1917
1951
|
pl = "pl",
|
|
1918
1952
|
ru = "ru",
|
|
1919
|
-
zh = "zh"
|
|
1953
|
+
zh = "zh",
|
|
1954
|
+
ar = "ar",
|
|
1955
|
+
he = "he",
|
|
1956
|
+
hi = "hi",
|
|
1957
|
+
ko = "ko"
|
|
1920
1958
|
}
|
|
1921
|
-
export declare enum PlanKind {
|
|
1959
|
+
export declare const enum PlanKind {
|
|
1922
1960
|
free = "free",
|
|
1923
1961
|
basic = "basic",
|
|
1924
1962
|
advanced = "advanced",
|
|
1925
1963
|
pro = "pro"
|
|
1926
1964
|
}
|
|
1927
|
-
export declare enum UserRole {
|
|
1965
|
+
export declare const enum UserRole {
|
|
1928
1966
|
user = "user",
|
|
1929
1967
|
admin = "admin"
|
|
1930
1968
|
}
|
|
1931
|
-
export declare enum MailType {
|
|
1969
|
+
export declare const enum MailType {
|
|
1932
1970
|
sent = "sent",
|
|
1933
1971
|
received = "received"
|
|
1934
1972
|
}
|
|
1935
|
-
export declare enum Rights {
|
|
1973
|
+
export declare const enum Rights {
|
|
1936
1974
|
admin = "admin",
|
|
1937
1975
|
write = "write",
|
|
1938
1976
|
read = "read"
|
|
1939
1977
|
}
|
|
1940
|
-
export declare enum FileContentType {
|
|
1978
|
+
export declare const enum FileContentType {
|
|
1941
1979
|
cloud = "cloud",
|
|
1942
1980
|
sent_mail = "sent_mail",
|
|
1943
1981
|
received_mail = "received_mail"
|
|
1944
1982
|
}
|
|
1945
|
-
export declare enum PayInputType {
|
|
1983
|
+
export declare const enum PayInputType {
|
|
1946
1984
|
secure = "secure",
|
|
1947
1985
|
classic = "classic"
|
|
1948
1986
|
}
|
|
@@ -5256,6 +5294,14 @@ export declare const Thunder: (fn: FetchFunction) => {
|
|
|
5256
5294
|
recipients?: AliasType<any> | undefined;
|
|
5257
5295
|
__typename?: true | undefined;
|
|
5258
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;
|
|
5259
5305
|
__typename?: true | undefined;
|
|
5260
5306
|
}>, {
|
|
5261
5307
|
__typename: "Query";
|
|
@@ -5465,6 +5511,14 @@ export declare const Thunder: (fn: FetchFunction) => {
|
|
|
5465
5511
|
recipients: Array<GraphQLTypes["User"]>;
|
|
5466
5512
|
} | undefined;
|
|
5467
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;
|
|
5468
5522
|
}>;
|
|
5469
5523
|
mutation: OperationToGraphQL<AliasType<{
|
|
5470
5524
|
createApplication?: [{
|
|
@@ -7899,6 +7953,19 @@ export declare const Thunder: (fn: FetchFunction) => {
|
|
|
7899
7953
|
md5: string;
|
|
7900
7954
|
order: number;
|
|
7901
7955
|
}, true] | undefined;
|
|
7956
|
+
updateAppNotifications?: [{
|
|
7957
|
+
enableAll?: boolean | null | undefined;
|
|
7958
|
+
mail?: boolean | null | undefined;
|
|
7959
|
+
cloud?: boolean | null | undefined;
|
|
7960
|
+
disableAllUntil?: ValueTypes["DateTime"] | null;
|
|
7961
|
+
}, AliasType<{
|
|
7962
|
+
id?: true | undefined;
|
|
7963
|
+
enableAll?: true | undefined;
|
|
7964
|
+
mail?: true | undefined;
|
|
7965
|
+
cloud?: true | undefined;
|
|
7966
|
+
disableAllUntil?: true | undefined;
|
|
7967
|
+
__typename?: true | undefined;
|
|
7968
|
+
}>] | undefined;
|
|
7902
7969
|
__typename?: true | undefined;
|
|
7903
7970
|
}>, {
|
|
7904
7971
|
__typename: "Mutation";
|
|
@@ -8178,6 +8245,14 @@ export declare const Thunder: (fn: FetchFunction) => {
|
|
|
8178
8245
|
emptyCloudTrash?: boolean | undefined;
|
|
8179
8246
|
emptyMailTrash?: boolean | undefined;
|
|
8180
8247
|
uploadFilePartEnd: boolean;
|
|
8248
|
+
updateAppNotifications?: {
|
|
8249
|
+
__typename: "UserAppNotifications";
|
|
8250
|
+
id: string;
|
|
8251
|
+
enableAll: boolean;
|
|
8252
|
+
mail: boolean;
|
|
8253
|
+
cloud: boolean;
|
|
8254
|
+
disableAllUntil?: GraphQLTypes["DateTime"];
|
|
8255
|
+
} | undefined;
|
|
8181
8256
|
}>;
|
|
8182
8257
|
};
|
|
8183
8258
|
export declare const Chain: (...options: chainOptions) => {
|
|
@@ -11392,6 +11467,14 @@ export declare const Chain: (...options: chainOptions) => {
|
|
|
11392
11467
|
recipients?: AliasType<any> | undefined;
|
|
11393
11468
|
__typename?: true | undefined;
|
|
11394
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;
|
|
11395
11478
|
__typename?: true | undefined;
|
|
11396
11479
|
}>, {
|
|
11397
11480
|
__typename: "Query";
|
|
@@ -11601,6 +11684,14 @@ export declare const Chain: (...options: chainOptions) => {
|
|
|
11601
11684
|
recipients: Array<GraphQLTypes["User"]>;
|
|
11602
11685
|
} | undefined;
|
|
11603
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;
|
|
11604
11695
|
}>;
|
|
11605
11696
|
mutation: OperationToGraphQL<AliasType<{
|
|
11606
11697
|
createApplication?: [{
|
|
@@ -14035,6 +14126,19 @@ export declare const Chain: (...options: chainOptions) => {
|
|
|
14035
14126
|
md5: string;
|
|
14036
14127
|
order: number;
|
|
14037
14128
|
}, true] | undefined;
|
|
14129
|
+
updateAppNotifications?: [{
|
|
14130
|
+
enableAll?: boolean | null | undefined;
|
|
14131
|
+
mail?: boolean | null | undefined;
|
|
14132
|
+
cloud?: boolean | null | undefined;
|
|
14133
|
+
disableAllUntil?: ValueTypes["DateTime"] | null;
|
|
14134
|
+
}, AliasType<{
|
|
14135
|
+
id?: true | undefined;
|
|
14136
|
+
enableAll?: true | undefined;
|
|
14137
|
+
mail?: true | undefined;
|
|
14138
|
+
cloud?: true | undefined;
|
|
14139
|
+
disableAllUntil?: true | undefined;
|
|
14140
|
+
__typename?: true | undefined;
|
|
14141
|
+
}>] | undefined;
|
|
14038
14142
|
__typename?: true | undefined;
|
|
14039
14143
|
}>, {
|
|
14040
14144
|
__typename: "Mutation";
|
|
@@ -14314,6 +14418,14 @@ export declare const Chain: (...options: chainOptions) => {
|
|
|
14314
14418
|
emptyCloudTrash?: boolean | undefined;
|
|
14315
14419
|
emptyMailTrash?: boolean | undefined;
|
|
14316
14420
|
uploadFilePartEnd: boolean;
|
|
14421
|
+
updateAppNotifications?: {
|
|
14422
|
+
__typename: "UserAppNotifications";
|
|
14423
|
+
id: string;
|
|
14424
|
+
enableAll: boolean;
|
|
14425
|
+
mail: boolean;
|
|
14426
|
+
cloud: boolean;
|
|
14427
|
+
disableAllUntil?: GraphQLTypes["DateTime"];
|
|
14428
|
+
} | undefined;
|
|
14317
14429
|
}>;
|
|
14318
14430
|
};
|
|
14319
14431
|
export declare const Zeus: {
|
|
@@ -17532,6 +17644,14 @@ export declare const Selectors: {
|
|
|
17532
17644
|
recipients?: AliasType<any> | undefined;
|
|
17533
17645
|
__typename?: true | undefined;
|
|
17534
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;
|
|
17535
17655
|
__typename?: true | undefined;
|
|
17536
17656
|
}>>;
|
|
17537
17657
|
mutation: SelectionFunction<AliasType<{
|
|
@@ -19967,6 +20087,19 @@ export declare const Selectors: {
|
|
|
19967
20087
|
md5: string;
|
|
19968
20088
|
order: number;
|
|
19969
20089
|
}, true] | undefined;
|
|
20090
|
+
updateAppNotifications?: [{
|
|
20091
|
+
enableAll?: boolean | null | undefined;
|
|
20092
|
+
mail?: boolean | null | undefined;
|
|
20093
|
+
cloud?: boolean | null | undefined;
|
|
20094
|
+
disableAllUntil?: ValueTypes["DateTime"] | null;
|
|
20095
|
+
}, AliasType<{
|
|
20096
|
+
id?: true | undefined;
|
|
20097
|
+
enableAll?: true | undefined;
|
|
20098
|
+
mail?: true | undefined;
|
|
20099
|
+
cloud?: true | undefined;
|
|
20100
|
+
disableAllUntil?: true | undefined;
|
|
20101
|
+
__typename?: true | undefined;
|
|
20102
|
+
}>] | undefined;
|
|
19970
20103
|
__typename?: true | undefined;
|
|
19971
20104
|
}>>;
|
|
19972
20105
|
};
|
|
@@ -23182,6 +23315,14 @@ export declare const Gql: {
|
|
|
23182
23315
|
recipients?: AliasType<any> | undefined;
|
|
23183
23316
|
__typename?: true | undefined;
|
|
23184
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;
|
|
23185
23326
|
__typename?: true | undefined;
|
|
23186
23327
|
}>, {
|
|
23187
23328
|
__typename: "Query";
|
|
@@ -23391,6 +23532,14 @@ export declare const Gql: {
|
|
|
23391
23532
|
recipients: Array<GraphQLTypes["User"]>;
|
|
23392
23533
|
} | undefined;
|
|
23393
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;
|
|
23394
23543
|
}>;
|
|
23395
23544
|
mutation: OperationToGraphQL<AliasType<{
|
|
23396
23545
|
createApplication?: [{
|
|
@@ -25825,6 +25974,19 @@ export declare const Gql: {
|
|
|
25825
25974
|
md5: string;
|
|
25826
25975
|
order: number;
|
|
25827
25976
|
}, true] | undefined;
|
|
25977
|
+
updateAppNotifications?: [{
|
|
25978
|
+
enableAll?: boolean | null | undefined;
|
|
25979
|
+
mail?: boolean | null | undefined;
|
|
25980
|
+
cloud?: boolean | null | undefined;
|
|
25981
|
+
disableAllUntil?: ValueTypes["DateTime"] | null;
|
|
25982
|
+
}, AliasType<{
|
|
25983
|
+
id?: true | undefined;
|
|
25984
|
+
enableAll?: true | undefined;
|
|
25985
|
+
mail?: true | undefined;
|
|
25986
|
+
cloud?: true | undefined;
|
|
25987
|
+
disableAllUntil?: true | undefined;
|
|
25988
|
+
__typename?: true | undefined;
|
|
25989
|
+
}>] | undefined;
|
|
25828
25990
|
__typename?: true | undefined;
|
|
25829
25991
|
}>, {
|
|
25830
25992
|
__typename: "Mutation";
|
|
@@ -26104,6 +26266,14 @@ export declare const Gql: {
|
|
|
26104
26266
|
emptyCloudTrash?: boolean | undefined;
|
|
26105
26267
|
emptyMailTrash?: boolean | undefined;
|
|
26106
26268
|
uploadFilePartEnd: boolean;
|
|
26269
|
+
updateAppNotifications?: {
|
|
26270
|
+
__typename: "UserAppNotifications";
|
|
26271
|
+
id: string;
|
|
26272
|
+
enableAll: boolean;
|
|
26273
|
+
mail: boolean;
|
|
26274
|
+
cloud: boolean;
|
|
26275
|
+
disableAllUntil?: GraphQLTypes["DateTime"];
|
|
26276
|
+
} | undefined;
|
|
26107
26277
|
}>;
|
|
26108
26278
|
};
|
|
26109
26279
|
export {};
|